/* ==========================================================================
   Kitchen ENVY Reno - homepage concept
   Design language: Warm Editorial. Display: Prata. Body: Mulish.
   Palette: taken from the Kitchen ENVY logo (black wordmark + amber ENVY).
   ========================================================================== */

:root {
  /* Ground: their black, warmed and deepened so photography sits on it */
  --ink: #15120e;
  --ink-2: #221c15;
  --ink-3: #2e261d;

  /* Light grounds */
  --cream: #f6f1e8;
  --warm-white: #fcfaf6;

  /* Their logo amber, exact, plus a deeper cousin that is safe as text on light */
  --amber: #ffbd59;
  --amber-fill: #f0a733;
  --amber-ink: #6f4708;

  /* Type colors */
  --text-dark: #191510;
  --text-body: #4b4237;
  --text-muted: #6e6354;
  --text-light: #f6f1e8;
  --text-light-muted: #c3b9a8;

  /* Hairlines */
  --rule-light: rgba(25, 21, 16, 0.14);
  --rule-dark: rgba(246, 241, 232, 0.16);

  /* Type */
  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: min(90%, 1100px);
  --wrap-wide: min(94%, 1440px);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;

  /* One spacing rhythm, used everywhere */
  --band: clamp(4.5rem, 9vw, 9rem);
  --band-tight: clamp(3rem, 6vw, 5.5rem);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

figure { margin: 0; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.012em;
  line-height: 1.1;
}

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber-fill);
  outline-offset: 3px;
  border-radius: 2px;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }

.band { padding-block: var(--band); }
.band-tight { padding-block: var(--band-tight); }

.on-dark { background: var(--ink); color: var(--text-light-muted); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--text-light); }
.on-dark-2 { background: var(--ink-2); color: var(--text-light-muted); }
.on-dark-2 h2, .on-dark-2 h3 { color: var(--text-light); }
.on-cream { background: var(--cream); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Kicker. One named element, used for section openings only.
   -------------------------------------------------------------------------- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-ink);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}
.kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule-light);
  max-width: 120px;
}
.on-dark .kicker,
.on-dark-2 .kicker { color: var(--amber); }
.on-dark .kicker::after,
.on-dark-2 .kicker::after { background: var(--rule-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: 0 0 auto;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__dot { transform: scale(1.7); }

.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--ink-3); }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-fill); }

.btn--ghost { border-color: var(--rule-light); color: var(--text-dark); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.on-dark .btn--ghost,
.on-dark-2 .btn--ghost { border-color: var(--rule-dark); color: var(--text-light); }
.on-dark .btn--ghost:hover,
.on-dark-2 .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn--sm { padding: 0.65rem 1.15rem; min-height: 44px; font-size: 0.7rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber-ink);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.textlink:hover { border-bottom-color: currentColor; }
.on-dark .textlink, .on-dark-2 .textlink { color: var(--amber); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.nav.is-stuck {
  background: var(--warm-white);
  border-bottom-color: var(--rule-light);
}
.nav__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img {
  width: auto;
  height: 20px;
  max-width: 250px;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  padding-block: 0.7rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.nav__links a:hover { border-bottom-color: var(--amber-fill); }
.nav__cta { display: inline-flex; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.burger span {
  display: block;
  position: relative;
  width: 24px; height: 1.5px;
  background: var(--text-dark);
}
.burger span::before,
.burger span::after {
  content: ""; position: absolute; left: 0;
  width: 24px; height: 1.5px; background: var(--text-dark);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* Mobile drawer. Close control lives INSIDE the drawer so it shares its
   stacking context and can never be painted over by the panel. */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1.15rem var(--gutter) 2.5rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.mnav.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.5s var(--ease-out), visibility 0s linear 0s;
}
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; }
.mnav__top img { width: auto; height: 18px; max-width: 200px; object-fit: contain; }
.mnav__close {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; padding: 0;
  color: var(--cream);
}
.mnav__close svg { width: 20px; height: 20px; }
.mnav__links {
  list-style: none; margin: auto 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.mnav__links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  color: var(--cream);
  text-decoration: none;
  padding-block: 0.5rem;
}
.mnav__links a:hover { color: var(--amber); }
.mnav__foot { border-top: 1px solid var(--rule-dark); padding-top: 1.4rem; }
.mnav__foot a { display: block; color: var(--text-light-muted); text-decoration: none; padding-block: 0.6rem; }
.mnav__foot .btn { margin-top: 0.7rem; width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Hero. Split. minmax(0,Nfr) on both tracks so the display face can never
   starve the photograph.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--cream);
  height: 100vh;
  height: 100svh;
  min-height: 40rem;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)) clamp(1.75rem, 4.5vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}
.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 1.6rem;
}
.hero h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.014em;
  max-width: 15ch;
  margin: 0 0 1.5rem;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.18vw, 1.15rem);
  color: var(--text-body);
  max-width: 46ch;
  margin: 0 0 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
}
.hero__tag {
  position: absolute;
  left: 0; bottom: clamp(1.5rem, 5vh, 3.25rem);
  max-width: 100%;
  background: var(--ink);
  color: var(--text-light-muted);
  padding: 0.85rem 1.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__tag b { color: var(--amber); font-weight: 700; }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.intro h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  line-height: 1.16;
  max-width: 16ch;
}
.intro__body { font-size: 1.0625rem; }
.intro__body p { max-width: 60ch; }
.intro__proof {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.intro__proof img { width: 132px; height: auto; flex: 0 0 auto; }
.intro__proof p {
  margin: 0;
  font-size: 0.9375rem;
  max-width: 34ch;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   Full bleed statement
   -------------------------------------------------------------------------- */
.bleed {
  position: relative;
  min-height: clamp(28rem, 68vh, 44rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.bleed__img {
  position: absolute; inset: -8% 0;
  width: 100%; height: 116%;
  object-fit: cover;
}
.bleed::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10, 8, 6, 0.9) 0%, rgba(10, 8, 6, 0.78) 32%, rgba(10, 8, 6, 0) 68%),
    linear-gradient(to top, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.45) 34%, rgba(10, 8, 6, 0) 72%);
}
.bleed__inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.bleed p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.6rem);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--cream);
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}
.bleed p em { font-style: normal; color: var(--amber); }

/* --------------------------------------------------------------------------
   Services. Full-width 50/50 panels, alternating side.
   -------------------------------------------------------------------------- */
.services { background: var(--cream); padding-block: var(--band); }
.services__head {
  width: var(--wrap);
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: end;
}
.services__head h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  line-height: 1.16;
  max-width: 22ch;
}
.services__head p { max-width: 44ch; margin: 0; }

.svc {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}
.svc + .svc { border-top: 1px solid var(--rule-light); }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; overflow: hidden; }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__no {
  position: absolute;
  top: 0; left: 0;
  background: var(--cream);
  color: var(--amber-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 0.6rem 1rem;
}
.svc__text { padding-block: clamp(0.5rem, 2vw, 1.5rem); }
.svc__text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}
.svc__lead {
  font-size: 1.075rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.svc__text p { max-width: 52ch; }
.svc__list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}
.svc__list li {
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

/* --------------------------------------------------------------------------
   The selections. Signature moment: an editorial materials board.
   -------------------------------------------------------------------------- */
.sel { background: var(--ink); padding-block: var(--band); }
.sel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.sel__head h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  line-height: 1.16;
  max-width: 15ch;
}
.sel__head p { max-width: 46ch; margin: 0; }

.board {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
}
/* align-items:start matters: a stretched grid item plus height:100% on the
   image makes the image consume the whole row, which pushed the caption out
   of the figure and onto the neighbouring photograph. */
.board__item { position: relative; display: block; }
.board__item img { width: 100%; height: auto; object-fit: cover; }
.board__item:nth-child(1) { grid-row: span 2; }
.board__item:nth-child(1) img { aspect-ratio: 3 / 4; }
.board__item:nth-child(2) img,
.board__item:nth-child(3) img,
.board__item:nth-child(4) img { aspect-ratio: 4 / 3; }
.board__item:nth-child(4) { grid-column: span 2; }
.board__item:nth-child(4) img { aspect-ratio: 21 / 9; }
.board__cap {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule-dark);
  margin-top: 0.85rem;
}
.board__cap span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  flex: 0 0 auto;
}
.board__cap p { margin: 0; font-size: 0.9375rem; color: var(--text-light-muted); }

/* --------------------------------------------------------------------------
   Work gallery
   -------------------------------------------------------------------------- */
.work { background: var(--warm-white); padding-block: var(--band); }
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.work__head h2 { font-size: clamp(1.85rem, 3.1vw, 2.85rem); line-height: 1.16; }

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  max-width: 100%;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.filters button:hover { color: var(--text-dark); border-color: var(--text-muted); }
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.work__item { position: relative; overflow: hidden; background: var(--cream); }
.work__item img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.work__item:hover img { transform: scale(1.035); }
.work__item.is-wide { grid-column: span 2; }
.work__item.is-wide img { aspect-ratio: 8 / 5; }
.work__item[hidden] { display: none; }
.work__empty {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.work__empty[hidden] { display: none; }
.work__note {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process { background: var(--ink-2); padding-block: var(--band); }
.process__head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.process__head h2 { font-size: clamp(1.85rem, 3.1vw, 2.85rem); line-height: 1.16; max-width: 18ch; }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule-dark);
}
.step:last-child { border-bottom: 1px solid var(--rule-dark); }
.step__no {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--amber);
}
.step h3 { grid-column: 2; grid-row: 1; }
.step > p:last-child { grid-column: 3; grid-row: 1; }
.step h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.2; }
.step p { margin: 0; color: var(--text-light-muted); max-width: 56ch; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team { background: var(--cream); padding-block: var(--band); }
.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.team__intro h2 { font-size: clamp(1.85rem, 3.1vw, 2.85rem); line-height: 1.16; max-width: 14ch; }
.team__intro p { margin-top: 1.25rem; max-width: 42ch; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); max-width: 30rem; }
.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.02);
}
.person h3 { font-size: 1.3rem; margin-top: 1rem; }
.person p {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Studio / contact
   -------------------------------------------------------------------------- */
.studio { background: var(--ink); padding-block: var(--band); }
.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}
.studio h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.13; max-width: 13ch; }
.studio__lead { margin-top: 1.4rem; max-width: 44ch; }
.studio__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.details { display: grid; gap: 0; }
.detail {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--rule-dark);
  align-items: baseline;
}
.detail:last-of-type { border-bottom: 1px solid var(--rule-dark); }
.detail dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.detail dd { margin: 0; color: var(--text-light); font-size: 1rem; }
.detail dd a { display: inline-block; text-decoration: none; border-bottom: 1px solid var(--rule-dark); padding-block: 0.45rem; }
.detail dd a:hover { border-bottom-color: var(--amber); }
.detail dd small { display: block; color: var(--text-light-muted); font-size: 0.875rem; margin-top: 0.3rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot { background: #100e0b; color: var(--text-light-muted); padding-block: clamp(2.75rem, 5vw, 4rem) 2rem; }
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-dark);
}
.foot__logo img { width: auto; height: 19px; max-width: 230px; object-fit: contain; }
.foot__tag { margin-top: 1.1rem; font-size: 0.9375rem; max-width: 30ch; }
.foot h4 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a, .foot ul span { display: block; text-decoration: none; padding-block: 0.4rem; font-size: 0.9375rem; }
.foot ul a:hover { color: var(--amber); }
.foot__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.err {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.err__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 12rem);
  line-height: 1;
  color: rgba(255, 189, 89, 0.22);
  margin-bottom: 0.4rem;
}
.err h1 { color: var(--text-light); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.err p { color: var(--text-light-muted); max-width: 46ch; margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .hero__eyebrow,
html.js .hero h1,
html.js .hero__sub,
html.js .hero__actions,
html.js .hero__tag { opacity: 0; }
html.js .hero__media img { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .hero__eyebrow,
  html.js .hero h1,
  html.js .hero__sub,
  html.js .hero__actions,
  html.js .hero__tag { opacity: 1; transform: none; }
  html.js .hero__media img { transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__links { gap: 1.05rem; }
  .nav__links a { font-size: 0.72rem; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .board__item:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .board__item:nth-child(1) img { aspect-ratio: 16 / 9; }
  .board__item:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
  }
  .hero__text {
    padding: calc(var(--nav-h) + clamp(2.5rem, 9vw, 4rem)) var(--gutter) clamp(2.25rem, 7vw, 3rem);
  }
  .hero h1 { max-width: 18ch; }
  .hero__media { min-height: 0; }
  .hero__media img { aspect-ratio: 4 / 3; height: auto; }

  .intro__grid,
  .sel__head,
  .team__grid,
  .studio__grid { grid-template-columns: minmax(0, 1fr); }
  .intro h2, .sel__head h2, .team__intro h2, .studio h2 { max-width: 22ch; }

  .services__head { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc--flip .svc__media { order: 0; }

  .step { grid-template-columns: 3rem minmax(0, 1fr); }
  .step h3 { grid-column: 2; grid-row: 1; }
  .step > p:last-child { grid-column: 2; grid-row: 2; margin-top: 0.5rem; }

  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__logo { grid-column: span 2; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero__eyebrow { font-size: 0.64rem; letter-spacing: 0.13em; }
  .services__head { grid-template-columns: minmax(0, 1fr); }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .work__item.is-wide { grid-column: span 1; }
  .work__item.is-wide img { aspect-ratio: 4 / 3; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .board__item:nth-child(1),
  .board__item:nth-child(4) { grid-column: span 1; }
  .board__item:nth-child(4) img { aspect-ratio: 16 / 9; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .person h3 { font-size: 1.1rem; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .foot__logo { grid-column: span 1; }
  .hero__actions .btn,
  .studio__actions .btn { flex: 1 1 auto; justify-content: center; }
}
