/* Brownsview Media — Design Three: Seen in Full Color */

:root {
  --cocoa: #2b1712;
  --cocoa-deep: #1c0f0c;
  --cream: #fff4df;
  --cream-soft: #f8ebcf;
  --marigold: #f4b63c;
  --cobalt: #3858d6;
  --coral: #f15a45;
  --blush: #f3b8c1;
  --ink: #2b1712;
  --ink-dim: rgba(43, 23, 18, 0.72);
  --cream-dim: rgba(255, 244, 223, 0.72);
  --gutter: clamp(1rem, 3.5vw, 2.75rem);
  --max: 1320px;
  --header-h: calc(3.65rem + env(safe-area-inset-top, 0px));
  --safe-x: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --radius-btn: 0.15rem;
  --shadow-soft: 0 18px 50px -28px rgba(20, 8, 4, 0.55);
  /* Motion tokens (editorial, not bouncy) */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-enter: 700ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  overflow-x: clip;
  max-width: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Kill horizontal rubber-band scroll from oversized kids */
body > * {
  max-width: 100%;
}

#work,
#about,
#services,
#contact,
#top,
#main {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-stage.is-ready .hero-split-cocoa,
  .hero-stage.is-ready .hero-split-cream,
  .hero-stage.is-ready .hero-giant,
  .hero-stage.is-ready .hero-portrait,
  .hero-stage.is-ready .hero-issue,
  .hero-stage.is-ready .hero-copy,
  .hero-stage.is-ready .hero-rail,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ---------- Motion system ---------- */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-word {
  from {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-portrait-in {
  from {
    opacity: 0;
    transform: translate3d(28px, 12px, 0) scale(1.04);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes menu-link-in {
  from {
    opacity: 0;
    transform: translate3d(-16px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--dur-enter) var(--ease-out-expo),
    transform var(--dur-enter) var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 140ms;
}
.reveal-delay-3 {
  transition-delay: 200ms;
}

/* Hero entrance choreography */
.hero-stage .hero-split-cocoa,
.hero-stage .hero-split-cream,
.hero-stage .hero-giant,
.hero-stage .hero-portrait,
.hero-stage .hero-issue,
.hero-stage .hero-copy > *,
.hero-stage .hero-rail {
  opacity: 0;
}

.hero-stage.is-ready .hero-split-cocoa {
  animation: hero-rise 620ms var(--ease-out-expo) both;
}

.hero-stage.is-ready .hero-split-cream {
  animation: hero-rise 620ms var(--ease-out-expo) 60ms both;
}

.hero-stage.is-ready .hero-giant-line--top {
  animation: hero-word 780ms var(--ease-out-expo) 120ms both;
}

.hero-stage.is-ready .hero-giant-line--bottom {
  animation: hero-word 780ms var(--ease-out-expo) 200ms both;
}

.hero-stage.is-ready .hero-giant {
  opacity: 1;
}

.hero-stage.is-ready .hero-portrait {
  animation: hero-portrait-in 900ms var(--ease-out-expo) 180ms both;
}

.hero-stage.is-ready .hero-issue {
  animation: hero-rise 500ms var(--ease-out-quart) 360ms both;
}

/* Parent copy children start at opacity 0 — must restore the wrappers, not only nested spans */
.hero-stage.is-ready .hero-title {
  opacity: 1;
  animation: hero-rise 620ms var(--ease-out-expo) 280ms both;
}

.hero-stage.is-ready .hero-title-plain {
  animation: none;
  opacity: 1;
}

.hero-stage.is-ready .hero-title-accent {
  animation: none;
  opacity: 1;
}

.hero-stage.is-ready .hero-meta {
  animation: hero-rise 620ms var(--ease-out-expo) 360ms both;
}

.hero-stage.is-ready .hero-ctas {
  opacity: 1;
  animation: hero-rise 620ms var(--ease-out-expo) 420ms both;
}

.hero-stage.is-ready .hero-copy .btn,
.hero-stage.is-ready .hero-copy .text-link {
  opacity: 1;
}

.hero-stage.is-ready .hero-copy {
  opacity: 1;
}

.hero-stage.is-ready .hero-rail {
  animation: hero-rise 700ms var(--ease-out-expo) 520ms both;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--marigold) 28%, transparent);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--marigold);
  color: var(--cocoa);
  font-weight: 700;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: 1rem;
}

/* Fine print grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  /* Stay under interactive UI (header/menu) so taps always work */
  z-index: 5;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.09  0 0 0 0 0.07  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding:
    max(0.7rem, env(safe-area-inset-top, 0px))
    var(--safe-x)
    0.7rem;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--cocoa) 8%, transparent);
  transition:
    background var(--dur-med) var(--ease-out-quart),
    border-color var(--dur-med) var(--ease-out-quart),
    box-shadow var(--dur-med) var(--ease-out-quart);
}

.site-header.is-solid {
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  box-shadow: 0 10px 30px -22px rgba(20, 8, 4, 0.45);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--cocoa);
}

.wordmark-logo {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--marigold) 75%, transparent);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.nav-open .wordmark-text {
  color: var(--cream);
}

.site-nav--desktop {
  display: none;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav--desktop a {
  position: relative;
  padding: 0.35rem 0;
}

.site-nav--desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav--desktop a:hover::after,
.site-nav--desktop a:focus-visible::after {
  transform: scaleX(1);
}

/* Mobile drawer — sibling of header, not trapped by backdrop-filter */
.site-nav--mobile {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.35rem;
  padding:
    calc(var(--header-h) + 1.5rem)
    var(--safe-x)
    max(2rem, env(safe-area-inset-bottom, 0px));
  background: var(--cocoa);
  color: var(--cream);
  font-size: clamp(1.85rem, 9vw, 2.85rem);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -10px, 0);
  transition:
    opacity var(--dur-med) var(--ease-out-expo),
    transform var(--dur-med) var(--ease-out-expo),
    visibility 0s linear var(--dur-med);
}

.site-nav--mobile a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
}

.site-nav--mobile a:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 6px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-bars {
  width: 1.35rem;
  height: 2px;
  background: var(--cocoa);
  box-shadow:
    0 -6px 0 var(--cocoa),
    0 6px 0 var(--cocoa);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .site-header {
  z-index: 210;
  background: var(--cocoa);
  border-bottom-color: color-mix(in srgb, var(--cream) 12%, transparent);
}

body.nav-open .site-nav--mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--dur-med) var(--ease-out-expo),
    transform var(--dur-med) var(--ease-out-expo),
    visibility 0s linear 0s;
}

body.nav-open .site-nav--mobile a {
  animation: menu-link-in 420ms var(--ease-out-expo) both;
}

body.nav-open .site-nav--mobile a:nth-child(1) {
  animation-delay: 60ms;
}
body.nav-open .site-nav--mobile a:nth-child(2) {
  animation-delay: 110ms;
}
body.nav-open .site-nav--mobile a:nth-child(3) {
  animation-delay: 160ms;
}
body.nav-open .site-nav--mobile a:nth-child(4) {
  animation-delay: 210ms;
}

body.nav-open .menu-toggle,
body.nav-open .wordmark {
  color: var(--cream);
  transition: color var(--dur-fast) var(--ease-out-quart);
}

body.nav-open .menu-bars {
  background: var(--cream);
  box-shadow:
    0 -6px 0 var(--cream),
    0 6px 0 var(--cream);
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition:
    transform var(--dur-fast) var(--ease-out-quart),
    background var(--dur-med) var(--ease-out-quart),
    color var(--dur-med) var(--ease-out-quart),
    border-color var(--dur-med) var(--ease-out-quart),
    box-shadow var(--dur-med) var(--ease-out-quart);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--marigold);
  color: var(--cocoa);
  border: 2px solid var(--marigold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: color-mix(in srgb, var(--marigold) 88%, white);
  box-shadow: 0 14px 28px -16px oklch(0.55 0.12 85 / 0.7);
}

.btn-primary--large {
  min-height: 56px;
  padding-inline: 1.75rem;
  font-size: 0.85rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--cocoa);
  border: 2px solid var(--cocoa);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--cocoa);
  color: var(--cream);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.15rem;
}

.text-link--cream {
  color: var(--cream);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--cream);
}

.hero-stage {
  position: relative;
  min-height: min(86svh, 900px);
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-split {
  position: absolute;
  inset: 0;
  display: grid;
  /* True 50/50 cocoa | cream field */
  grid-template-columns: 1fr 1fr;
  z-index: 0;
}

.hero-split-cocoa {
  background: var(--cocoa);
}

.hero-split-cream {
  background: var(--cream);
}

.hero-giant {
  position: absolute;
  z-index: 1;
  left: 0;
  right: auto;
  top: clamp(1.1rem, 3.2vh, 2.4rem);
  margin: 0;
  padding: 0 var(--gutter);
  width: min(58%, 52rem);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12.5vw, 11rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  /* Left stack: BROWNSVIEW + MEDIA aligned; head can still cover the right edge of BROWNSVIEW */
  text-align: left;
}

.hero-giant-line {
  display: block;
  white-space: nowrap;
  text-align: left;
}

.hero-giant-line--top {
  color: color-mix(in srgb, var(--cream) 94%, white);
}

.hero-giant-line--bottom {
  /* MEDIA sits fully on the cocoa half, left-aligned under BROWNSVIEW */
  color: color-mix(in srgb, var(--cream) 94%, white);
  margin-top: -0.03em;
  width: auto;
  max-width: 100%;
}

/* BROWNSVIEW can still dual-tone where it crosses into the cream half */
@supports (background-clip: text) {
  .hero-giant-line--top {
    background: linear-gradient(
      90deg,
      var(--cream) 0%,
      var(--cream) 78%,
      var(--cocoa) 78%,
      var(--cocoa) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-giant-line--bottom {
    /* Solid cream fill — stays left on cocoa, never centered under the face */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--cream);
  }
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  /* Full right half — head overlaps the giant wordmark center */
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-portrait img,
.hero-portrait-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 8%;
  filter: none;
  mix-blend-mode: normal;
  mask-image: none;
}

/* Desktop default: cutout over type; full photo hidden until mobile */
.hero-portrait-img--full {
  display: none;
}

.hero-portrait-img--cutout {
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.hero-issue {
  position: absolute;
  z-index: 3;
  top: clamp(5.5rem, 18vh, 10rem);
  right: var(--gutter);
  padding: 0.4rem 0.65rem;
  background: var(--cobalt);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 28rem;
  padding:
    0
    var(--gutter)
    clamp(1.5rem, 4vh, 2.5rem);
  color: var(--cream);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title-plain {
  display: block;
}

.hero-title-accent {
  display: block;
  color: var(--marigold);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  font-size: 1.05em;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1.25rem;
  max-width: 36ch;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
}

.hero-meta-line {
  display: block;
}

.hero-meta-line--place {
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta strong,
.hero-place {
  color: var(--marigold);
}

.hero-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(5.5rem, 8rem);
  border-top: 1px solid color-mix(in srgb, var(--cocoa) 14%, transparent);
  background: var(--cocoa-deep);
}

.hero-rail-item {
  margin: 0;
  min-height: 110px;
  overflow: hidden;
  border-right: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
}

.hero-rail-item img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  max-height: 160px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.5s ease;
}

.hero-rail-item:hover img {
  transform: scale(1.04);
}

.hero-folio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: var(--marigold);
  color: var(--cocoa);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.hero-folio-slash {
  opacity: 0.45;
  font-size: 0.75em;
}

/* ---------- Stories ---------- */
.stories {
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
  background: var(--cream);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 1.75rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-kicker--cream {
  color: var(--marigold);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.stories-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.story {
  position: relative;
  overflow: hidden;
  background: var(--cream-soft);
}

/* Full-card tap target → business Instagram (mobile-friendly) */
.story--linked {
  cursor: pointer;
}

.story-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

/* Keep real CTAs / secondary links above the hit layer */
.story--linked .story-cta,
.story--linked .story-biz-link,
.story--linked .story-links {
  position: relative;
  z-index: 3;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.15rem 0 0.35rem;
}

.story-biz-link {
  font-size: 0.78rem;
  color: var(--cocoa);
  border-bottom-color: color-mix(in srgb, var(--cocoa) 45%, transparent);
}

.story-biz-handle {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--cocoa) 72%, transparent);
}

.story-meta--cocoa .story-biz-handle {
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

.story-feature {
  display: grid;
  grid-template-columns: 1fr;
}

.story-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  overflow: hidden;
  background: var(--cocoa);
}

/* Always fill the frame — never letterbox. Aspect lives on the container only. */
.story-media img,
.story-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease;
}

.story-media video {
  display: block;
  pointer-events: none;
}

/* Default mobile/small: tall reel frame */
.story-media--video {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  width: 100%;
}

/* Local makers + craft reels: zoom so portrait media fills the frame */
.story-half .story-media img,
.story-half .story-media video {
  object-position: center 28%;
  transform: scale(1.14);
  transform-origin: center center;
}

@media (hover: hover) {
  .story:hover .story-media img,
  .story:hover .story-media video {
    transform: scale(1.06);
  }

  .story-half:hover .story-media img,
  .story-half:hover .story-media video {
    transform: scale(1.18);
  }
}

.story {
  transition: transform var(--dur-med) var(--ease-out-quart);
}

@media (hover: hover) {
  .story-half:hover {
    transform: translateY(-3px);
  }
}

.story-media--bw img {
  filter: grayscale(1) contrast(1.06);
}

.story-feature .story-media {
  aspect-ratio: 5 / 4;
  max-height: 480px;
}

.story-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem 1.65rem;
}

.story-panel--marigold {
  background: var(--marigold);
  color: var(--cocoa);
}

.story-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-cobalt {
  background: var(--cobalt);
  color: #fff;
}

.story-place {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-place--on-dark {
  color: var(--marigold);
}

.story-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.story-blurb {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--cocoa) 82%, transparent);
}

.story-half {
  display: grid;
  grid-template-columns: 1fr;
}

.story-meta {
  padding: 1.25rem 1.2rem 1.4rem;
  background: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--cocoa) 10%, transparent);
}

.story-meta--cocoa {
  background: var(--cocoa);
  color: var(--cream);
  border-top: 0;
}

.story-meta--cocoa .story-blurb {
  color: var(--cream-dim);
}

.stories-more {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  display: flex;
  justify-content: flex-end;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--cocoa);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
}

.manifesto-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2rem;
  align-items: end;
}

.manifesto-quote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 6.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.manifesto-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marigold);
}

.manifesto-byline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1rem;
}

.manifesto-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marigold);
}

.manifesto-lane {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.manifesto-body {
  margin: 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cream-dim);
}

.team-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 34rem;
}

.team-lane {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  min-height: 72px;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--cream) 4%, transparent);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--dur-med) var(--ease-out-quart),
    background var(--dur-med) var(--ease-out-quart),
    transform var(--dur-fast) var(--ease-out-quart);
}

.team-lane:hover,
.team-lane:focus-visible {
  border-color: color-mix(in srgb, var(--marigold) 70%, transparent);
  outline: none;
}

.team-lane.is-active {
  border-color: var(--marigold);
  background: color-mix(in srgb, var(--marigold) 12%, transparent);
}

.team-lane-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.team-lane-role {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.team-profile {
  margin-top: 1rem;
  max-width: 38ch;
  min-height: 4.5rem;
}

.team-panel[hidden] {
  display: none;
}

.team-panel-bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--cream-dim);
}

.team-swipe-hint {
  display: none;
  margin: 0.85rem 0 0;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}

.team-gallery {
  margin: 0;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.team-gallery-track {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--cream) 6%, transparent);
}

.team-slide {
  margin: 0;
  display: none;
  position: relative;
}

.team-slide.is-active {
  display: block;
}

.team-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  /* Keep IG brand frames as-is (color + type from their posts) */
  filter: none;
  display: block;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.team-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 28%, transparent);
  transition:
    background var(--dur-fast) var(--ease-out-quart),
    transform var(--dur-fast) var(--ease-out-quart);
}

.team-dot.is-active {
  background: var(--marigold);
  transform: scale(1.15);
}

@media (min-width: 640px) {
  .team-picker {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 819px) {
  .team-swipe-hint {
    display: block;
  }

  .team-gallery-track {
    overflow: hidden;
  }

  .team-slide {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(12%, 0, 0);
    pointer-events: none;
    transition:
      opacity var(--dur-med) var(--ease-out-expo),
      transform var(--dur-med) var(--ease-out-expo);
  }

  .team-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .team-gallery.is-swiping .team-slide {
    transition: none;
  }
}

.services-band {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--marigold);
  color: var(--cocoa);
  padding: 0.55rem var(--gutter) 0.85rem;
}

.services-item {
  position: relative;
  display: block;
  padding: 0.55rem 2rem 0.75rem 0;
  border-bottom: 3px solid color-mix(in srgb, var(--cocoa) 88%, transparent);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-med) var(--ease-out-quart);
}

.services-item:last-child {
  border-bottom: 0;
}

.services-item:hover,
.services-item:focus-visible {
  outline: none;
  background: color-mix(in srgb, var(--cocoa) 6%, transparent);
}

.services-item:focus-visible {
  box-shadow: inset 0 0 0 2px var(--cocoa);
}

/* Slide in from the left when revealed */
.services-item.reveal {
  opacity: 0;
  transform: translate3d(-56px, 0, 0);
}

.services-item.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.services-item.reveal-delay-1 {
  transition-delay: 120ms;
}

.services-item.reveal-delay-2 {
  transition-delay: 240ms;
}

.services-line {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  border-bottom: 0;
}

.services-note {
  margin: 0.35rem 0 0;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--cocoa) 78%, transparent);
}

.services-go {
  position: absolute;
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  opacity: 0.55;
  transition:
    transform var(--dur-med) var(--ease-out-quart),
    opacity var(--dur-med) var(--ease-out-quart);
}

.services-item:hover .services-go,
.services-item:focus-visible .services-go {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem var(--gutter) 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.45rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

.proof-accent {
  color: var(--marigold);
}

.proof-dot {
  opacity: 0.35;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cocoa-deep);
  color: var(--cream);
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  border-top: 1px solid color-mix(in srgb, var(--cream) 8%, transparent);
}

.contact-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.contact-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.contact-lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--cream-dim);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-bottom: 2rem;
}

.contact-place {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marigold);
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  gap: 1.25rem;
  padding:
    2rem
    var(--gutter)
    max(2rem, env(safe-area-inset-bottom));
  background: var(--cocoa);
  color: var(--cream-dim);
  border-top: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.footer-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--marigold) 70%, transparent);
}

.footer-brand-copy {
  min-width: 0;
}

.footer-wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-tag {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 48ch;
}

.footer-legal {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-legal-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--marigold) 45%, transparent);
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus-visible,
.footer-legal-nav a[aria-current="page"] {
  color: var(--marigold);
  border-bottom-color: var(--marigold);
}

/* ---------- Legal pages ---------- */
.legal-page {
  background: var(--cream);
  color: var(--cocoa);
}

.legal-main {
  padding:
    calc(var(--header-h) + 2rem)
    var(--safe-x)
    clamp(3rem, 8vw, 5rem);
}

.legal-doc {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.legal-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.legal-updated {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 58%, transparent);
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.legal-doc p,
.legal-doc li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--cocoa) 88%, transparent);
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc a {
  color: var(--cocoa);
  border-bottom: 1px solid color-mix(in srgb, var(--marigold) 70%, transparent);
  font-weight: 600;
}

.legal-doc a:hover,
.legal-doc a:focus-visible {
  color: color-mix(in srgb, var(--cocoa) 80%, var(--marigold));
  border-bottom-color: var(--marigold);
}

.legal-place {
  margin-top: 2rem !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marigold) !important;
}

.footer-credit {
  color: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, var(--marigold) 70%, transparent);
  font-weight: 650;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--marigold);
  border-bottom-color: var(--marigold);
}

/* ---------- Desktop ---------- */
@media (min-width: 820px) {
  .menu-toggle {
    display: none;
  }

  .site-nav--desktop {
    display: flex;
  }

  .site-nav--mobile {
    display: none !important;
  }

  .hero-stage {
    min-height: min(88svh, 920px);
  }

  .hero-portrait {
    width: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
  }

  .hero-portrait-img--full {
    display: none;
  }

  .hero-portrait-img--cutout {
    display: block;
    object-fit: contain;
    object-position: 62% 100%;
    /* Keep cutout mostly on cream half so left-aligned MEDIA stays fully visible */
    width: 104%;
    max-width: none;
    height: 102%;
    margin-left: -2%;
    margin-bottom: -1%;
  }

  .hero-giant {
    top: clamp(1.1rem, 3vh, 2.25rem);
    left: 0;
    width: min(54%, 48rem);
    font-size: clamp(4.6rem, 10.2vw, 9.25rem);
    letter-spacing: -0.04em;
    text-align: left;
    padding-left: var(--gutter);
    padding-right: 0;
  }

  /* Desktop: ensure primary hero CTA row is left-aligned + visible */
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem 1.35rem;
  }

  .hero-copy .btn {
    width: auto;
    max-width: none;
  }

  .hero-giant-line--top,
  .hero-giant-line--bottom {
    text-align: left;
  }

  .hero-giant-line--bottom {
    /* Full MEDIA word, left aligned under BROWNSVIEW */
    max-width: none;
  }

  .hero-copy {
    padding-bottom: clamp(2rem, 5vh, 3.5rem);
  }

  .hero-rail-item {
    min-height: 140px;
  }

  .hero-rail-item img {
    min-height: 140px;
    max-height: 180px;
    object-position: center center;
  }

  .story-feature {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.95fr);
    min-height: 0;
    align-items: stretch;
  }

  .story-feature .story-media {
    aspect-ratio: auto;
    max-height: none;
    min-height: 100%;
    height: 100%;
  }

  .story-feature .story-media img {
    min-height: 100%;
    height: 100%;
    object-position: center center;
  }

  .stories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feature feature"
      "half-a half-b";
    gap: 1.15rem;
  }

  .story-feature {
    grid-area: feature;
  }

  .story-half:nth-of-type(2) {
    grid-area: half-a;
  }

  .story-half:nth-of-type(3) {
    grid-area: half-b;
  }

  .story-half {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .story-half .story-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    min-height: 360px;
  }

  /*
   * Desktop: video card must match Local makers frame size.
   * 9/16 + max-height was shrinking the box to a narrow strip
   * with empty cream beside it.
   */
  .story-half--video .story-media,
  .story-half .story-media--video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    min-height: 360px;
  }

  .story-half--video .story-media video,
  .story-half .story-media--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
  }

  .story-half:hover .story-media--video video {
    transform: scale(1.06);
  }

  .manifesto-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 1rem;
  }

  .manifesto-photo img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer-note {
    grid-column: 1 / -1;
  }

  /* Desktop work pages: airier hero + wider grid */
  .work-main {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .work-hero {
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .work-title {
    white-space: normal;
    font-size: clamp(3.5rem, 7vw, 5.75rem);
  }

  .work-lede {
    margin-left: 0;
    max-width: 42ch;
  }

  .work-service-nav {
    justify-content: flex-start;
  }

  .partner-crumb {
    justify-content: flex-start;
  }

  .work-cta {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .work-cta .btn {
    width: auto;
    max-width: none;
  }

  /* Partner feature meet: desktop balance */
  .feature-meet-copy {
    text-align: left;
  }

  .feature-meet-copy .feature-title,
  .feature-meet-copy .feature-body {
    margin-left: 0;
  }

  .feature-meet-copy .partner-actions {
    align-items: flex-start;
    flex-direction: row;
  }

  .partner-actions .btn {
    width: auto;
    max-width: none;
  }

  /* Services band: fuller desktop presence */
  .services-band {
    padding: 1rem clamp(1.5rem, 4vw, 3rem) 1.25rem;
  }

  .services-line {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
  }

  .contact-inner {
    text-align: left;
  }

  .contact-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .contact-actions .btn {
    width: auto;
    max-width: none;
  }

  .contact-lede {
    margin-left: 0;
  }
}

@media (min-width: 1100px) {
  .hero-giant {
    font-size: clamp(5.5rem, 10.8vw, 10rem);
  }

  .hero-portrait {
    width: 50%;
    height: 100%;
  }

  .hero-portrait-img--cutout {
    width: 106%;
    margin-left: -3%;
    height: 103%;
    object-position: 60% 100%;
  }

  .hero-giant {
    width: min(52%, 50rem);
    font-size: clamp(5rem, 9.8vw, 9.75rem);
  }

  .stories-grid {
    gap: 1.15rem;
  }
}

/* ---------- Phones & narrow tablets (iPhone first) ---------- */
@media (max-width: 819px) {
  :root {
    --gutter: 1.15rem;
  }

  .hero,
  .stories,
  .manifesto,
  .contact,
  .site-footer,
  .work-main,
  .partner-body,
  .partner-frames,
  .feature-meet,
  .feature-quote,
  .feature-close,
  .legal-main {
    overflow-x: clip;
    max-width: 100%;
  }

  .stories-grid,
  .work-grid,
  .partner-frames-grid,
  .manifesto-grid {
    max-width: 100%;
    min-width: 0;
  }

  .story,
  .work-tile,
  .partner-frame-item {
    max-width: 100%;
    min-width: 0;
  }

  .story-media img,
  .story-media video,
  .work-tile img,
  .work-tile video {
    max-width: none; /* absolute cover still needs freedom inside overflow:hidden parent */
  }

  .services-line {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-meta,
  .section-title,
  .work-title,
  .contact-title {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .wordmark-logo {
    width: 2.35rem;
    height: 2.35rem;
  }

  .wordmark-text {
    font-size: 0.62rem;
  }

  .hero {
    /* Full-bleed photo under fixed header */
    padding-top: 0;
  }

  .hero-stage {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .hero-split {
    display: none;
  }

  /* Remove double-branding + rail on phones — portrait fills the frame */
  .hero-giant,
  .hero-issue,
  .hero-rail {
    display: none;
  }

  .hero-portrait {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    right: auto;
    bottom: auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }

  .hero-portrait-img--cutout {
    display: none;
  }

  .hero-portrait-img--full {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    mix-blend-mode: normal;
    filter: none;
    mask-image: none;
  }

  .hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    max-width: none;
    width: 100%;
    margin: 0;
    padding:
      5.5rem
      var(--safe-x)
      max(1.35rem, calc(0.85rem + env(safe-area-inset-bottom, 0px)));
    background: linear-gradient(
      to top,
      oklch(0.12 0.02 40 / 0.96) 0%,
      oklch(0.12 0.02 40 / 0.78) 42%,
      oklch(0.12 0.02 40 / 0.18) 78%,
      transparent 100%
    );
  }

  .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    line-height: 1.05;
    margin-bottom: 0.55rem;
    text-shadow: 0 2px 18px oklch(0.1 0.02 40 / 0.45);
  }

  .hero-title-accent {
    font-size: 1.02em;
  }

  .hero-meta {
    margin-bottom: 1rem;
    font-size: clamp(1.05rem, 4.2vw, 1.2rem);
    line-height: 1.35;
    max-width: none;
    color: color-mix(in srgb, var(--cream) 92%, transparent);
  }

  .hero-meta-line--place {
    font-size: clamp(0.95rem, 3.6vw, 1.05rem);
    letter-spacing: 0.14em;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-copy .btn,
  .hero-ctas .btn {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-ctas .text-link {
    justify-content: center;
  }

  .stories {
    padding:
      2.75rem
      var(--safe-x)
      3rem;
  }

  .story-media {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 280px;
  }

  .story-media--video {
    aspect-ratio: 9 / 16;
    max-height: none;
    min-height: 360px;
  }

  .story-feature .story-media {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 320px;
  }

  /* Stronger fill on mobile — no letterboxing from child aspect-ratio */
  .story-half .story-media img,
  .story-half .story-media video {
    transform: scale(1.12);
    object-position: center 28%;
  }

  .section-title {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 0.92;
    max-width: 10ch;
  }

  .section-kicker {
    font-size: 0.72rem;
  }

  .story-panel {
    padding: 1.25rem 1.1rem 1.4rem;
    gap: 0.65rem;
  }

  .story-num {
    font-size: clamp(2.6rem, 14vw, 3.6rem);
  }

  .story-name {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }

  .story-blurb {
    font-size: 0.92rem;
    max-width: none;
  }

  .story-media img,
  .story-media video {
    /* Fill parent only — do not re-impose aspect-ratio on the media */
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    object-fit: cover;
  }

  .story-meta {
    padding: 1.1rem 1.05rem 1.25rem;
  }

  .stories-more {
    justify-content: center;
    margin-top: 1.35rem;
  }

  .stories-more .text-link {
    min-height: 44px;
    justify-content: center;
  }

  .story-panel .btn,
  .story-cta {
    width: 100%;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .story-panel {
    align-items: center;
    text-align: center;
  }

  .story-links {
    justify-content: center;
  }

  .story-meta {
    text-align: center;
  }

  .partner-actions,
  .work-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .partner-actions .btn,
  .work-cta .btn {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }

  .partner-actions .text-link,
  .work-cta .text-link {
    justify-content: center;
  }

  .partner-body-inner {
    text-align: center;
  }

  .partner-focus {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .feature-meet-copy {
    text-align: center;
  }

  .feature-meet-copy .feature-title,
  .feature-meet-copy .feature-body {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-meet-copy .partner-actions {
    align-items: center;
  }

  .work-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .work-service-nav {
    justify-content: center;
  }

  .work-hero {
    text-align: center;
  }

  .work-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .partner-crumb {
    justify-content: center;
  }

  .manifesto {
    padding-top: 2.75rem;
  }

  .manifesto-grid {
    padding: 0 var(--safe-x);
    gap: 1.5rem;
  }

  .manifesto-quote {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .manifesto-body {
    font-size: 1rem;
    max-width: none;
  }

  .manifesto-photo img {
    aspect-ratio: 4 / 5;
    max-height: 420px;
    width: 100%;
    object-fit: cover;
  }

  .services-band {
    margin-top: 2rem;
    padding: 0.35rem var(--safe-x) 0.65rem;
  }

  .services-item {
    padding: 0.55rem 0 0.65rem;
    border-bottom-width: 2px;
  }

  .services-line {
    font-size: clamp(2rem, 10.5vw, 3.25rem);
    padding: 0;
  }

  .services-note {
    font-size: 0.88rem;
  }

  .proof-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.15rem var(--safe-x) 1.5rem;
    font-size: 1.05rem;
  }

  .proof-dot {
    display: none;
  }

  .contact {
    padding:
      3.25rem
      var(--safe-x)
      max(3.25rem, calc(2rem + env(safe-area-inset-bottom, 0px)));
  }

  .contact-title {
    font-size: clamp(2.6rem, 13vw, 3.75rem);
    line-height: 0.94;
    margin-bottom: 1rem;
  }

  .contact-lede {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .contact-inner {
    text-align: center;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .contact-actions .btn {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .contact-actions .text-link {
    justify-content: center;
    min-height: 44px;
  }

  .contact-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    gap: 1.1rem;
    padding:
      1.75rem
      var(--safe-x)
      max(1.75rem, env(safe-area-inset-bottom, 0px));
  }

  .footer-nav {
    gap: 0.65rem 1rem;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Extra-tight iPhones (SE / mini) */
@media (max-width: 390px) {
  :root {
    --gutter: 1rem;
  }

  .wordmark-text {
    display: none;
  }

  .hero-stage {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-title {
    font-size: 2.45rem;
  }

  .services-line {
    font-size: 1.85rem;
  }
}

/* ---------- Partner name-only heroes (NADINE / LAZARO behind head) ---------- */
.partner-hero-cover--name .hero-copy,
.partner-hero-cover--name .hero-issue,
.partner-hero-cover--name .hero-rail {
  display: none !important;
}

.hero-giant--partner {
  z-index: 1;
  top: 46%;
  left: 0;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: none;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  font-size: clamp(3.5rem, 12vw, 9.5rem);
  font-weight: inherit;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  pointer-events: none;
}

.hero-giant-line--name {
  display: block;
  width: 100%;
  color: color-mix(in srgb, var(--cream) 96%, white);
  white-space: nowrap;
  text-align: center;
}

/* Dual-tone at the cocoa|cream split so the full name always reads */
@supports (background-clip: text) {
  .hero-giant--partner .hero-giant-line--name {
    background: linear-gradient(
      90deg,
      var(--cream) 0%,
      var(--cream) 50%,
      var(--cocoa) 50%,
      var(--cocoa) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.partner-hero-cover--name .hero-stage {
  align-items: stretch;
  /* Compact by default — not a full-viewport takeover */
  min-height: min(58svh, 520px);
  overflow: hidden;
}

.partner-hero-cover--compact .hero-stage {
  min-height: min(52svh, 480px);
}

.partner-hero-cover--name .hero-portrait {
  z-index: 2;
}

/* Page chrome above compact heroes */
.partner-page-crumb {
  max-width: var(--max);
  margin: 0 auto;
  padding:
    calc(var(--header-h) + 1rem)
    var(--safe-x)
    0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 55%, transparent);
}

.partner-page-crumb a {
  color: var(--coral);
  border-bottom: 1px solid color-mix(in srgb, var(--coral) 40%, transparent);
}

.partner-page .hero.partner-hero-cover {
  /* Hero no longer needs header offset — crumb sits above */
  padding-top: 0;
}

/* About blocks under heroes */
.partner-about {
  background: var(--cream);
  color: var(--cocoa);
  padding:
    clamp(2.25rem, 5vw, 4rem)
    var(--safe-x)
    clamp(2.5rem, 6vw, 4rem);
}

.partner-about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.partner-about-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  overflow: hidden;
  background: var(--cocoa);
}

.partner-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.partner-about .partner-switch {
  max-width: var(--max);
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--cocoa) 12%, transparent);
}

.partner-quote {
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--safe-x);
}

.partner-quote .feature-quote-text {
  font-size: clamp(1.45rem, 4.5vw, 2.4rem);
  max-width: 22ch;
}

/*
 * Desktop partner heroes:
 * Full name (NADINE / LAZARO) lives on the cocoa half so every letter reads.
 * Cutout figure sits on the cream half and overlaps the split slightly.
 * Heroes stay compact — about content sits below in view.
 */
@media (min-width: 820px) {
  .partner-hero-cover--name .hero-stage,
  .partner-hero-cover--compact .hero-stage {
    min-height: min(48svh, 460px);
    max-height: 520px;
  }

  .partner-about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }

  .partner-about-copy {
    text-align: left;
  }

  .partner-about-copy .partner-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .partner-about-copy .partner-focus {
    margin-left: 0;
    text-align: left;
  }

  .partner-hero-cover--name .hero-giant,
  .partner-hero-cover--name .hero-giant--partner {
    display: block !important;
    position: absolute;
    left: 0;
    right: auto;
    top: 48%;
    width: min(48%, 36rem);
    max-width: 48%;
    transform: translateY(-50%);
    text-align: left;
    font-size: clamp(3.75rem, 7.2vw, 7.25rem);
    letter-spacing: -0.05em;
    padding: 0 0 0 clamp(1.25rem, 3.5vw, 2.75rem);
    z-index: 1;
    opacity: 1;
  }

  .partner-hero-cover--name .hero-giant-line--name {
    white-space: nowrap;
    overflow: visible;
    text-align: left;
    width: auto;
    /* Solid cream on cocoa — no dual-tone clipping */
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--cream) !important;
  }

  .partner-hero-cover--name .hero-portrait {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 54%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
  }

  .partner-hero-cover--name .hero-portrait-img--full {
    display: none !important;
  }

  .partner-hero-cover--name .hero-portrait-img--cutout {
    display: block !important;
    width: auto !important;
    max-width: min(92%, 580px) !important;
    height: 105% !important;
    max-height: none !important;
    margin: 0 auto !important;
    margin-left: -6% !important;
    margin-bottom: -2% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-portrait {
    width: 54%;
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-portrait-img--cutout {
    max-width: min(94%, 600px) !important;
    height: 100% !important;
    margin-left: -4% !important;
    object-position: center bottom !important;
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-giant--partner {
    font-size: clamp(3.5rem, 6.8vw, 6.75rem);
  }
}

@media (min-width: 1100px) {
  .partner-hero-cover--name .hero-giant--partner {
    font-size: clamp(4.5rem, 7.5vw, 8rem);
    width: min(46%, 40rem);
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-giant--partner {
    font-size: clamp(4.25rem, 7vw, 7.5rem);
  }
}

/* Mobile: full name BEHIND cutout — entire word visible, figure on top */
@media (max-width: 819px) {
  .partner-hero-cover--name .hero-stage {
    min-height: 100svh;
    min-height: 100dvh;
    display: block;
    overflow: hidden;
  }

  .partner-hero-cover--name .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* Beat the global .hero-giant { display: none } on phones */
  .partner-hero-cover--name .hero-giant,
  .partner-hero-cover--name .hero-giant--partner {
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    bottom: auto;
    transform: translateY(-50%);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0.35rem;
    z-index: 1;
    text-align: center;
    overflow: visible;
    /* Size so 6-letter names (NADINE / LAZARO) fit one line */
    font-size: clamp(2.6rem, 16.5vw, 4.5rem);
    letter-spacing: -0.055em;
    line-height: 0.85;
    pointer-events: none;
  }

  .partner-hero-cover--name .hero-giant-line--name {
    display: block;
    width: 100%;
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    text-align: center;
  }

  /* Dual-tone across the cocoa|cream split so every letter reads */
  @supports (background-clip: text) {
    .partner-hero-cover--name .hero-giant--partner .hero-giant-line--name {
      background: linear-gradient(
        90deg,
        var(--cream) 0%,
        var(--cream) 50%,
        var(--cocoa) 50%,
        var(--cocoa) 100%
      );
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }

  .partner-hero-cover--name .hero-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
  }

  .partner-hero-cover--name .hero-portrait-img--full {
    display: none !important;
  }

  .partner-hero-cover--name .hero-portrait-img--cutout {
    display: block !important;
    width: auto;
    max-width: none;
    height: 92%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 auto;
  }

  /* Lazaro: head/shoulders cutout (not full seated body) — name behind head */
  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-giant,
  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-giant--partner {
    top: 32%;
    font-size: clamp(2.7rem, 16.5vw, 4.5rem);
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-portrait-img--cutout {
    display: block !important;
    height: 88%;
    width: auto;
    max-width: 110%;
    object-fit: contain;
    object-position: center bottom;
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-portrait-img--full {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .partner-hero-cover--name .hero-giant--partner {
    font-size: clamp(2.35rem, 15.5vw, 3.6rem);
    letter-spacing: -0.06em;
  }

  .partner-hero-cover--lazaro.partner-hero-cover--name .hero-giant--partner {
    font-size: clamp(2.4rem, 15.5vw, 3.8rem);
  }
}

/* ---------- Lazaro feature page ---------- */
.feature-quote {
  background: var(--cocoa);
  color: var(--cream);
  padding:
    clamp(2.5rem, 7vw, 4.5rem)
    var(--safe-x);
  text-align: center;
}

.feature-quote-text {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cream);
}

.feature-meet {
  background: var(--cream);
  color: var(--cocoa);
  padding:
    clamp(2.5rem, 7vw, 5rem)
    var(--safe-x);
}

.feature-meet-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.feature-meet-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  background: var(--cocoa);
}

.feature-meet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.feature-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.feature-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cocoa);
  max-width: 14ch;
}

.feature-body {
  margin: 0 0 1.15rem;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cocoa) 86%, transparent);
}

.feature-role {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.feature-place {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--cocoa) 62%, transparent);
}

.feature-frames {
  background: var(--cream-soft, #f3ebe0);
}

.feature-close {
  background: var(--marigold);
  color: var(--cocoa);
  padding:
    clamp(2.5rem, 6vw, 4rem)
    var(--safe-x);
  text-align: center;
}

.feature-close-line {
  margin: 0 auto 1.35rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.feature-close .text-link {
  color: var(--cocoa);
  border-bottom-color: color-mix(in srgb, var(--cocoa) 45%, transparent);
}

@media (min-width: 820px) {
  .feature-meet-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
  }

  .feature-meet-media {
    max-height: 640px;
  }
}

/* ---------- Partner about pages ---------- */
.partner-hero-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marigold);
}

/* Lazaro cutout: match Nadine — contain, bottom-anchored on cream half */
.partner-hero-cover--lazaro .hero-portrait-img--cutout {
  object-fit: contain;
  object-position: center bottom;
}

/* Mobile: face-first hero crop (dedicated image + top-left lock) */
@media (max-width: 819px) {
  .partner-hero-cover--lazaro .hero-portrait-img--full {
    object-fit: cover;
    object-position: center top;
  }
}

/*
 * Company home hero (duo panel) — DESKTOP ONLY.
 * Never apply these without a min-width gate: they were crushing mobile
 * (copy max-width 42%, cutout forced visible over full-bleed).
 */
.hero-portrait--company {
  overflow: hidden;
}

@media (min-width: 820px) {
  /* Opaque duo as clean right panel */
  .hero-portrait--company {
    width: 52%;
  }

  .hero-portrait--company .hero-portrait-img--full {
    display: none !important;
  }

  .hero-portrait--company .hero-portrait-img--cutout {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    object-fit: cover !important;
    object-position: center 16% !important;
  }

  /* Wordmark stays fully on cocoa half */
  .hero:has(.hero-portrait--company) .hero-giant {
    width: min(44%, 32rem);
    max-width: 44%;
    font-size: clamp(2.75rem, 5.2vw, 6.25rem);
    letter-spacing: -0.045em;
    top: clamp(1.25rem, 3.5vh, 2.5rem);
    overflow: visible;
  }

  .hero:has(.hero-portrait--company) .hero-giant-line--top,
  .hero:has(.hero-portrait--company) .hero-giant-line--bottom {
    color: var(--cream);
    white-space: nowrap;
    max-width: 100%;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }

  /* Left copy stack — desktop column only */
  .hero:has(.hero-portrait--company) .hero-copy {
    max-width: min(40%, 26rem);
    padding:
      0
      var(--gutter)
      clamp(1.75rem, 4.5vh, 3rem);
    text-align: left;
  }

  .hero:has(.hero-portrait--company) .hero-title {
    font-size: clamp(1.65rem, 2.5vw, 2.55rem);
    line-height: 1.02;
  }

  .hero:has(.hero-portrait--company) .hero-title-accent {
    white-space: nowrap;
    font-size: 1.02em;
  }

  .hero:has(.hero-portrait--company) .hero-meta {
    font-size: 0.92rem;
  }

  .hero:has(.hero-portrait--company) .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .hero:has(.hero-portrait--company) .hero-ctas .btn {
    width: auto;
    max-width: none;
  }

  .hero:has(.hero-portrait--company) .hero-issue {
    top: clamp(5.5rem, 14vh, 8rem);
    right: clamp(1rem, 3vw, 2rem);
  }

  .hero:has(.hero-portrait--company) .hero-stage {
    min-height: min(88svh, 900px);
  }
}

@media (min-width: 1100px) {
  .hero:has(.hero-portrait--company) .hero-giant {
    font-size: clamp(3.25rem, 5.5vw, 7rem);
    width: min(42%, 36rem);
  }

  .hero:has(.hero-portrait--company) .hero-title {
    font-size: clamp(1.85rem, 2.4vw, 2.75rem);
  }
}

/* Mobile home hero — lock full-bleed duo, ignore company desktop panel rules */
@media (max-width: 819px) {
  .hero-portrait--company {
    width: 100% !important;
    inset: 0 !important;
    right: auto !important;
  }

  .hero-portrait--company .hero-portrait-img--cutout {
    display: none !important;
  }

  .hero-portrait--company .hero-portrait-img--full {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    margin: 0 !important;
  }

  .hero:has(.hero-portrait--company) .hero-copy {
    max-width: none !important;
    width: 100% !important;
    text-align: center;
    padding:
      5.5rem
      var(--safe-x)
      max(1.35rem, calc(0.85rem + env(safe-area-inset-bottom, 0px))) !important;
  }

  .hero:has(.hero-portrait--company) .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem) !important;
    line-height: 1.05 !important;
  }

  .hero:has(.hero-portrait--company) .hero-title-accent {
    white-space: normal;
    font-size: 1.02em;
  }

  .hero:has(.hero-portrait--company) .hero-meta {
    font-size: clamp(1.05rem, 4.2vw, 1.2rem) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero:has(.hero-portrait--company) .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero:has(.hero-portrait--company) .hero-ctas .btn {
    width: 100%;
    max-width: 20rem;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.team-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marigold);
  border-bottom: 1px solid color-mix(in srgb, var(--marigold) 55%, transparent);
  padding-bottom: 0.1rem;
}

.team-panel-link:hover,
.team-panel-link:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.team-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.team-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-body {
  background: var(--cream);
  color: var(--cocoa);
  padding:
    clamp(2.5rem, 6vw, 4.5rem)
    var(--safe-x)
    clamp(2rem, 5vw, 3.5rem);
}

.partner-body-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.partner-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 55%, transparent);
}

.partner-crumb a {
  color: var(--coral);
  border-bottom: 1px solid color-mix(in srgb, var(--coral) 40%, transparent);
}

.partner-crumb a:hover,
.partner-crumb a:focus-visible {
  color: var(--cocoa);
  border-bottom-color: var(--cocoa);
}

.partner-body-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.partner-body-lead {
  margin: 0 0 1.25rem;
  max-width: 42ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cocoa) 85%, transparent);
}

.partner-focus {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
}

.partner-focus li {
  position: relative;
  padding: 0.65rem 0.85rem 0.65rem 1.15rem;
  border-left: 3px solid var(--marigold);
  background: color-mix(in srgb, var(--cocoa) 5%, transparent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cocoa);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.partner-actions--center {
  justify-content: center;
  margin-top: 1.75rem;
}

.partner-frames {
  background: var(--cream-soft, #f3ebe0);
  padding:
    clamp(2.25rem, 5vw, 3.75rem)
    var(--safe-x)
    clamp(2.5rem, 6vw, 4rem);
}

.partner-frames-head {
  max-width: var(--max);
  margin: 0 auto 1.35rem;
}

.partner-frames-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.partner-frame-item {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cocoa);
}

.partner-frame-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}

@media (hover: hover) {
  .partner-frame-item:hover img {
    transform: scale(1.04);
  }
}

.partner-switch {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.partner-switch--pad {
  padding:
    0
    var(--safe-x)
    clamp(2.5rem, 6vw, 3.5rem);
  background: var(--cream);
}

.partner-body .partner-switch {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--cocoa) 12%, transparent);
}

.partner-switch-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 55%, transparent);
}

.partner-switch-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--cocoa) 14%, transparent);
  background: var(--cream);
  color: inherit;
  transition:
    border-color var(--dur-med) var(--ease-out-quart),
    transform var(--dur-fast) var(--ease-out-quart);
}

/* Text-only cross-link (no other partner photo on the page) */
.partner-switch-card--text {
  grid-template-columns: 1fr auto;
}

.partner-switch-card img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.partner-switch-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-switch-card em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 62%, transparent);
}

.partner-switch-arrow {
  font-size: 1.25rem;
  color: var(--coral);
}

.partner-switch-card:hover,
.partner-switch-card:focus-visible {
  border-color: var(--marigold);
  outline: none;
  transform: translateY(-2px);
}

@media (min-width: 820px) {
  .partner-frames-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }

  .partner-frames-grid--pair {
    grid-template-columns: 1fr 1fr;
    max-width: 52rem;
  }
}

.partner-frames-grid--pair {
  grid-template-columns: 1fr 1fr;
}

/* Landscape phones: still full-bleed photo with compact overlay */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .hero-stage {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-portrait {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-portrait img {
    object-position: center 22%;
  }

  .hero-copy {
    padding:
      2.5rem
      var(--safe-x)
      max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-meta {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

  .hero-meta-line--place {
    font-size: 0.9rem;
  }

  .hero-rail {
    display: none;
  }
}

/* ---------- Work service pages (photography / videography / design) ---------- */
.work-page {
  background: var(--cream);
  color: var(--cocoa);
}

.work-main {
  padding:
    calc(var(--header-h) + 1.5rem)
    var(--safe-x)
    clamp(3rem, 8vw, 5rem);
}

.work-hero {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.work-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  /* Fluid size so long titles (VIDEOGRAPHY) stay on one line on phones */
  font-size: clamp(1.85rem, 9.2vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--cocoa);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}

@media (max-width: 819px) {
  .work-title {
    /* Fit full word edge-to-edge without orphan letter wrap */
    font-size: clamp(1.7rem, 8.6vw, 2.55rem);
    letter-spacing: -0.05em;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .work-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    letter-spacing: -0.055em;
  }
}

.work-lede {
  margin: 0 0 1.25rem;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--cocoa) 82%, transparent);
}

.work-service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 0.5rem;
}

.work-service-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cocoa) 55%, transparent);
  border-bottom: 2px solid transparent;
}

.work-service-nav a:hover,
.work-service-nav a:focus-visible {
  color: var(--cocoa);
  outline: none;
}

.work-service-nav a[aria-current="page"] {
  color: var(--cocoa);
  border-bottom-color: var(--marigold);
}

.work-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.work-tile {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cocoa);
}

.work-tile--wide {
  grid-column: 1 / -1;
  aspect-ratio: 5 / 4;
  max-height: 420px;
}

.work-tile--video {
  aspect-ratio: 9 / 16;
  max-height: none;
}

/* Featured reel: full content width, true 9:16 — no letterboxing on phones */
.work-tile--video.work-tile--wide {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  max-height: none;
  justify-self: stretch;
}

.work-tile img,
.work-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.work-tile--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.85rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, oklch(0.12 0.02 40 / 0.88), transparent);
}

.work-cta {
  max-width: var(--max);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

/* Guarantee service cards are always tappable */
.services-band {
  position: relative;
  z-index: 2;
}

.services-item {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--cocoa) 12%, transparent);
}

@media (max-width: 819px) {
  .work-tile--video.work-tile--wide {
    width: 100%;
    max-width: 100%;
    /* Scale to phone width; height follows 9:16 (roughly full-screen reel) */
    aspect-ratio: 9 / 16;
    max-height: min(82svh, 760px);
    min-height: min(68svh, 560px);
  }
}

@media (min-width: 820px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .work-tile--wide {
    grid-column: span 2;
    max-height: 480px;
  }

  .work-tile--video.work-tile--wide {
    grid-column: 1 / -1;
    max-width: 420px;
    max-height: none;
    min-height: 0;
    margin-inline: 0;
    justify-self: start;
  }
}
