/* ============================================================
   ONYX GROUP — core styles
   Stage 1: foundation + hero
   ============================================================ */

:root {
  --bg:      #0A0A0B;
  --surface: #141416;
  --text:    #F2F0EC;
  --muted:   #8A8A86;
  --accent:  #D6A651;   /* Onyx gold (sampled from logo) */
  --gold-hi: #E7BD69;   /* gold highlight */
  --gold-lo: #996927;   /* gold shadow */
  --silver:  #A8A8A8;   /* "GROUP" silver */
  --gold-gradient: linear-gradient(180deg, #F0CB7E 0%, #D6A651 45%, #A8742C 100%);
  --line:    rgba(255, 255, 255, 0.09);

  --font-display: 'Inter Tight', sans-serif;
  --font-serif:   'Instrument Serif', serif;
  --font-body:    'Inter', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 5vw, 4rem);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.nav__emblem {
  height: 44px;
  width: auto;
  /* fade the square edges of the JPG so it melts into the page */
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 70%, transparent 100%);
  transition: transform .5s var(--ease);
}
.nav__logo:hover .nav__emblem { transform: rotate(-8deg) scale(1.05); }

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Michroma', var(--font-display);
}
.nav__onyx {
  font-size: 1.15rem;
  letter-spacing: .12em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.nav__group {
  font-size: .52rem;
  letter-spacing: .62em;
  color: var(--silver);
  margin-top: .35rem;
}

.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  color: var(--text) !important;
  border: 1px solid var(--line);
  padding: .55rem 1.3rem;
  border-radius: 100px;
  transition: all .3s var(--ease);
}
.nav__cta:hover { background: var(--accent); border-color: var(--accent); color: #0A0A0B !important; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__burger span:first-child { top: 4px; }
.nav__burger span:last-child { bottom: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* top padding keeps content clear of the fixed navbar on short screens */
  padding: 8.5rem clamp(1.25rem, 5vw, 4rem) 7.5rem;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(214,166,81, 0.10) 0%, transparent 45%),
    radial-gradient(100% 100% at 10% 100%, rgba(214,166,81, 0.06) 0%, transparent 50%),
    var(--bg);
}

/* ---------- scroll video (active only when body has .has-video) ---------- */
.hero__video, .hero__shade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.hero__video { object-fit: cover; }
.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.45) 55%, rgba(10,10,11,.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.has-video .hero__video, .has-video .hero__shade { opacity: 1; }
.has-video .hero-wrap { height: 300vh; }          /* scroll distance for the video */
.has-video .hero { position: sticky; top: 0; height: 100vh; min-height: 0; }
.hero__scroll { transition: opacity .5s var(--ease); }

/* captions over the video (opacity driven by main.js) */
.hero__story { display: none; }
.has-video .hero__story {
  display: grid;
  position: absolute; z-index: 2;
  left: clamp(1.25rem, 5vw, 4rem);
  top: 50%; transform: translateY(-50%);
  max-width: min(640px, 60vw);
  pointer-events: none;
}
.story { grid-area: 1 / 1; opacity: 0; }
.story .section__title { font-size: clamp(2.2rem, 5vw, 4.4rem); }

/* never let hero content spill up under the navbar */
.hero { justify-content: safe center; }

/* portrait screens (phones): aim the crop at the building, captions at the bottom */
@media (max-aspect-ratio: 1/1) {
  .hero__video { object-position: 70% 50%; }
  .hero__shade {
    background: linear-gradient(0deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.55) 45%, rgba(10,10,11,.25) 100%);
  }
  .has-video .hero__story {
    top: auto; bottom: 10vh; transform: none;
    right: clamp(1.25rem, 5vw, 4rem); max-width: none;
  }
}

/* short screens: tighten the hero so it fits */
@media (max-height: 640px) {
  .hero { padding-top: 6.5rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 4.2rem); margin-bottom: 1.2rem; }
  .hero__sub { display: none; }
  .hero__eyebrow { margin-bottom: 1rem; }
  .hero__scroll { display: none; }
}

/* subtle film grain for depth (pure CSS, no image) */
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner { position: relative; z-index: 2; max-width: 1100px; }

.hero__eyebrow {
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 2rem;
}
.hero__title span { display: block; }
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-right: .08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 48ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2.6rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .98rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: all .35s var(--ease);
}
.btn--primary { background: var(--accent); color: #0A0A0B; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(214,166,81,.28); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-3px); }

/* scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--accent), transparent);
  transform-origin: top;
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.4); opacity: .4; }
  50%      { transform: scaleY(1);  opacity: 1;  }
}

/* ============================================================
   REVEAL ANIMATION (on load)
   ============================================================ */
.reveal {
  opacity: 0;
  translate: 0 26px;
  animation: reveal 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal { to { opacity: 1; translate: 0 0; } }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 70px;
}
.section--alt { background: var(--surface); }

.section__head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__eyebrow {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 1; letter-spacing: -0.045em;
}
.section__title em, .about em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__lead { margin-top: 1.4rem; max-width: 52ch; color: var(--muted); font-size: 1.1rem; }

/* split head: title left, lead right (aligned to the title's baseline) */
.section__head--split {
  max-width: none;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end;
}
.section__head--split .section__lead { margin-top: 0; justify-self: end; max-width: 38ch; }

h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; }

/* ---------- scroll reveal (classes added by main.js) ---------- */
.sr {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 1.1s var(--ease), translate 1.1s var(--ease);
  transition-delay: var(--sd, 0s);
}
.sr.in { opacity: 1; translate: 0 0; }

/* ---------- process (lifecycle) ---------- */
.process {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.process__step { padding: 2rem 1.5rem 2rem 0; position: relative; }
.process__step::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .8s var(--ease);
}
.process__step:hover::before { width: 100%; }
.process__num { display: block; color: var(--accent); font-size: .85rem; margin-bottom: 1rem; }
.process__step h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.process__step p { color: var(--muted); font-size: .95rem; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: rgba(214,166,81,.45); transform: translateY(-6px); }

/* card photo: sits behind the text with a dark fade for legibility */
.card { position: relative; overflow: hidden; isolation: isolate; }
.card:has(.card__img) { min-height: 420px; }
.card__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .6;
  transition: scale 1.2s var(--ease), opacity .6s var(--ease);
}
.card:has(.card__img)::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,10,11,.95) 10%, rgba(10,10,11,.35) 60%, rgba(10,10,11,.15) 100%);
}
.card:hover .card__img { scale: 1.06; opacity: .8; }
.card:has(.card__img) p { color: #C9C7C2; }
.card__tag { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: auto; }
.card__title { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.card p { color: var(--muted); }

/* ---------- supplies: list left, image right ---------- */
.supplies {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.supplies__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
}
.supplies__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.supplies__media:hover img { scale: 1.04; }
/* narrower column: description sits under each name */
.supplies .supply__row { grid-template-columns: 60px 1fr; row-gap: .4rem; }
.supplies .supply__row p { grid-column: 2; }

/* ---------- supplies list ---------- */
.supply { list-style: none; border-top: 1px solid var(--line); }
.supply__row {
  display: grid; grid-template-columns: 80px 1fr 1fr; align-items: baseline; gap: 1.5rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.supply__row:hover { padding-left: 1rem; }
.supply__row h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); transition: color .4s var(--ease); }
.supply__row:hover h3 { color: var(--accent); }
.supply__num { color: var(--accent); font-size: .85rem; }
.supply__row p { color: var(--muted); }

/* ---------- work ---------- */
.work { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }

/* office project: slider + 2 photos on top, wide photo + info below */
.project.project--office { grid-template-columns: 1.15fr 1fr 1fr; }
.ba.ba--portrait { aspect-ratio: 4 / 5; }
.project__shot {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
}
.project__info--span { grid-column: span 2; }
.project__frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; }
/* wide panorama: full-width photo, info below in two columns */
.project.project--wide { grid-template-columns: 1fr; }
.project--wide .project__frame { aspect-ratio: 1550 / 664; }
.project--wide .project__info {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: end;
}
.project--wide .project__title { margin-bottom: 0; }

/* mirrored layout: info left, photo right (desktop only) */
.project.project--flip { grid-template-columns: 1fr 1.6fr; }
.project--flip .project__frame { order: 2; }
.project__frame .project__shot { transition: scale 1.2s var(--ease); }
.project__frame:hover .project__shot { scale: 1.04; }
.project { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.25rem; align-items: stretch; }
.ba.ba--tall { aspect-ratio: auto; }   /* stretches to match the wide slider's height */
.ba__caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  padding: .5rem 1rem; border-radius: 100px;
  background: rgba(10,10,11,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

/* before/after slider */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label {
  position: absolute; top: 1.2rem; z-index: 2;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 100px;
  background: rgba(10,10,11,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba__label--before { left: 1.2rem; }
.ba__label--after { right: 1.2rem; color: var(--accent); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 2px; translate: -50% 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(214,166,81,.6);
  pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #0A0A0B; font-size: 1.3rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  transition: scale .3s var(--ease);
}
.ba:hover .ba__handle span { scale: 1.08; }
/* invisible range input covers the image: gives drag, touch and keyboard for free */
.ba__range {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  touch-action: pan-y; /* vertical swipes still scroll the page on phones */
}

.project__night {
  width: 100%; height: 100%; min-height: 260px; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
}
.project__info {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.project__info .section__eyebrow { margin-bottom: .8rem; }

/* project number (01, 02 …) fills the top of each card */
.work { counter-reset: project; }
.project { counter-increment: project; }
.project__info {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(214,166,81,.09), transparent 60%),
    var(--surface);
}
.project__info::before {
  content: counter(project, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214,166,81,.55);
  margin-bottom: auto; padding-bottom: 1.5rem;
}
.project--wide .project__info::before { display: none; }

/* "Discuss a similar project" link (added by main.js) */
.project__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.6rem; align-self: flex-start;
  font-weight: 600; font-size: .95rem; color: var(--accent);
  border-bottom: 1px solid rgba(214,166,81,.35); padding-bottom: .25rem;
  transition: gap .35s var(--ease), border-color .35s var(--ease);
}
.project__cta:hover { gap: .9rem; border-color: var(--accent); }
.project--wide .project__cta { grid-column: 2; margin-top: 0; }
.project__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; margin-bottom: 1rem; }
.project__info > p:not(.section__eyebrow) { color: var(--muted); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.about__body p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); margin-bottom: 1.4rem; }
.about__body p:first-child { color: var(--text); }

/* stats row under the about text */
.stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(1rem, 3vw, 2.5rem);
}
.stats > div { padding: 2rem 1.5rem 0 0; }
.stats dt {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .7rem;
}
.stats dd { color: var(--muted); max-width: 26ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.contact__info { list-style: none; margin-top: 2.5rem; }
.contact__info li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact__info span {
  display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .3rem;
}

.contact__info a { color: var(--text); font-size: 1.15rem; transition: color .3s var(--ease); }
.contact__info a:hover { color: var(--accent); }
.contact__info .contact__wa {
  display: inline-block; margin-left: .8rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: #25D366; border: 1px solid rgba(37,211,102,.35);
  padding: .25rem .7rem; border-radius: 100px;
  vertical-align: middle;
}
.contact__info .contact__wa:hover { background: #25D366; color: #0A0A0B; }

/* floating WhatsApp button */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.3rem 0 1rem;
  border-radius: 100px;
  background: #25D366; color: #fff;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37,211,102,.35); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form label { display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1rem;
  transition: border-color .3s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; border: 0; cursor: pointer; margin-top: .4rem; }
.form__note { color: var(--accent); font-size: .9rem; }

/* ---------- footer ---------- */
.footer {
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  background: radial-gradient(80% 120% at 0% 100%, rgba(214,166,81,.06), transparent 60%), var(--bg);
  color: var(--muted);
}
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer__brand p { margin-top: 1.4rem; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); margin-bottom: .4rem;
}
.footer__col a { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.8rem; font-size: .85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .nav__burger { display: block; z-index: 2; }
  .nav__logo { position: relative; z-index: 2; }

  /* full-screen mobile menu */
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 1.4rem;
    padding: 0 clamp(1.25rem, 8vw, 3rem);
    background:
      radial-gradient(100% 70% at 100% 0%, rgba(214,166,81,.12), transparent 60%),
      var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav__links a {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: -0.04em;
    color: var(--text);
    opacity: 0; translate: 0 24px;
    transition: opacity .6s var(--ease), translate .6s var(--ease);
  }
  .nav__links .nav__cta { font-size: 1.1rem; letter-spacing: 0; margin-top: 1.2rem; padding: .9rem 1.8rem; }

  .menu-open { overflow: hidden; }
  /* the blurred bar would trap the full-screen menu inside it */
  .menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .menu-open .nav__links { opacity: 1; visibility: visible; }
  .menu-open .nav__links a { opacity: 1; translate: 0 0; }
  .menu-open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .menu-open .nav__links a:nth-child(5) { transition-delay: .2s; }

  /* burger turns into an X */
  .menu-open .nav__burger span:first-child { top: 9px; rotate: 45deg; }
  .menu-open .nav__burger span:last-child { bottom: 9px; rotate: -45deg; }
  .hero__title { font-size: clamp(2.6rem, 14vw, 5rem); }
  .hero__eyebrow { font-size: .68rem; letter-spacing: .16em; }
  .stats { grid-template-columns: 1fr; }
  /* phones: round icon-only WhatsApp button */
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  /* phones: text sits just under the navbar, video fills the space below */
  .hero { justify-content: flex-start; padding-top: 7.5rem; }
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .cards, .project, .project.project--office, .project.project--flip, .about, .contact, .supplies { grid-template-columns: 1fr; }
  .supplies__media { aspect-ratio: 4 / 5; }
  .section__head--split { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section__head--split .section__lead { justify-self: start; }
  .card:has(.card__img) { min-height: 340px; }
  .project--flip .project__frame { order: 0; }
  .project--wide .project__frame { aspect-ratio: 16 / 10; }
  .project--wide .project__info { grid-template-columns: 1fr; gap: 1rem; }
  .project--wide .project__cta { grid-column: auto; }
  .project__shot { aspect-ratio: 4 / 5; height: auto; }
  .project__frame .project__shot { aspect-ratio: auto; height: 100%; }
  .project__info--span { grid-column: auto; }
  .ba.ba--tall { aspect-ratio: 3 / 4; }
  .project__night { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .supply__row { grid-template-columns: 50px 1fr; }
  .supply__row p { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .sr { animation: none; transition: none; opacity: 1; translate: 0 0; }
  .hero__scroll-line { animation: none; }
}
