@font-face { font-family: "Mont"; src: url("fonts/Mont-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("fonts/Mont-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("fonts/Mont-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("fonts/Mont-Heavy.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --burgundy: #5D3536;
  --ivory: #F1F1E8;
  --taupe: #B3937F;
  --lavender: #A7A7C1;
  --cream: #EDD89F;
  --charcoal: #343434;
  --navy: #22334a;
  --base: #2b1b1c;
  --line: rgba(241, 241, 232, .72);
  --muted: rgba(241, 241, 232, .66);

  --font-display: "Mont", "Montserrat", system-ui, sans-serif; /* brand font: Mont (Fontfabric); Montserrat stands in until the licensed Mont .woff2 files are in fonts/ */
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --section-pad: clamp(48px, 6vw, 88px);
  --nav-h: 72px; /* fixed header height; section tops clear it */
  --section-pad-top: max(var(--section-pad), calc(var(--nav-h) + 8px));
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-wipe: cubic-bezier(.77, 0, .18, 1);
  --grid: linear-gradient(rgba(241, 241, 232, .08) 1px, transparent 1px) 0 0 / 20px 20px,
          linear-gradient(90deg, rgba(241, 241, 232, .08) 1px, transparent 1px) 0 0 / 20px 20px,
          linear-gradient(rgba(241, 241, 232, .14) 1px, transparent 1px) 0 0 / 100px 100px,
          linear-gradient(90deg, rgba(241, 241, 232, .14) 1px, transparent 1px) 0 0 / 100px 100px,
          var(--navy);
}
/* Short screens (13-14" laptops, phones): tighter section padding so each section reads as one screen */
@media (max-height: 900px) {
  :root { --section-pad: clamp(32px, 5vh, 56px); }
  @supports (height: 1svh) { :root { --section-pad: clamp(32px, 5svh, 56px); } }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ivory);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.symbols { position: absolute; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ivory); color: var(--base); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.eyebrow {
  font: 500 .75rem/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(1.25rem, min(3.5vw, 3.5svh), 3rem); max-width: 1100px; }
.section-head h2 { font-size: clamp(2.1rem, min(5vw, 7.5svh), 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; }

/* Pills and links */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid currentColor; text-decoration: none;
  font: 600 .9rem/1 var(--font-body); white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
  background: transparent; color: inherit; cursor: pointer;
}
.pill:hover { background: var(--ivory); color: var(--base); }
.pill--solid { background: var(--ivory); color: var(--base); border-color: var(--ivory); }
.pill--solid:hover { background: var(--cream); border-color: var(--cream); }
.link-arrow { font-weight: 600; text-underline-offset: 6px; }
.link-arrow::after { content: " \2192"; }

/* 1. Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 14px var(--gutter);
  background: linear-gradient(rgba(43, 27, 28, .6), rgba(43, 27, 28, 0));
  transition: background-color .3s var(--ease-out), backdrop-filter .3s;
}
.nav.is-solid { background: rgba(43, 27, 28, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__logo { display: block; padding: 8px 0; }
.nav__logo img { width: 96px; height: auto; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 0; opacity: .85; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav .pill { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: .85rem; }
  .nav__toggle {
    display: inline-flex; order: 3; min-height: 40px; padding: 0 14px; border-radius: 999px;
    border: 1px solid rgba(241, 241, 232, .4); background: transparent; color: inherit;
    font: 500 .85rem/1 var(--font-body); cursor: pointer; align-items: center;
  }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--base); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(241, 241, 232, .12); }
}

/* 2. Hero */
.hero__stage {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; background: var(--navy);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.hero__drawing, .hero__photo { position: absolute; inset: 0; }
.plan { width: 100%; height: 100%; display: block; }
.plan__lines { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: square; }
.plan__labels { fill: var(--ivory); font: 500 15px var(--font-mono); letter-spacing: .18em; }
.hero__photo { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 70%; }
.tag {
  position: absolute; top: 100px;
  font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 10px; border: 1px solid currentColor; border-radius: 2px; white-space: nowrap;
  transition: opacity .3s var(--ease-out);
}
.hero__stage.is-scrolled .tag { opacity: 0; }
.tag--drawing { right: var(--gutter); color: var(--ivory); background: rgba(34, 51, 74, .8); }
.tag--photo { left: var(--gutter); color: var(--ivory); background: rgba(43, 27, 28, .55); }
.hero__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px;
  background: var(--ivory); transform: translateX(-.5px); pointer-events: none;
}
.hero__knob {
  position: absolute; top: 50%; left: clamp(32px, var(--pos), calc(100% - 32px));
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ivory); color: var(--base); font-size: 1.4rem; line-height: 1;
  cursor: ew-resize; touch-action: none; z-index: 3;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease-out);
}
.hero__knob:hover, .hero__stage.is-dragging .hero__knob { transform: scale(1.08); }
.hero__range {
  position: absolute; left: 50%; top: 50%; width: 1px; height: 1px;
  opacity: 0; margin: 0; pointer-events: none;
}
.hero__range:focus-visible + .hero__knob { outline: 3px solid var(--cream); outline-offset: 4px; }
.hero__copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 120px var(--gutter) clamp(28px, 6vh, 64px);
  background: linear-gradient(to top, rgba(43, 27, 28, .9) 0%, rgba(43, 27, 28, .5) 50%, transparent);
  pointer-events: none;
}
.hero__copy > * { pointer-events: auto; }
.hero__copy h1 { font-size: clamp(2rem, 5.6vw - 12px, 6rem); font-weight: 400; line-height: 1; letter-spacing: -.01em; }
.hero__copy h1 span { display: block; }
.hero__copy h1 span + span { color: var(--cream); }
.hero__copy p { margin-top: 1.25rem; max-width: 52ch; color: rgba(241, 241, 232, .86); }
.hero__actions { margin-top: 1.75rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero__copy { padding-right: calc(50% + 48px); }
}

@media (max-width: 600px) {
  .hero__stage { min-height: 640px; }
  .hero__copy { background: linear-gradient(to top, rgba(43, 27, 28, .96) 0%, rgba(43, 27, 28, .82) 62%, transparent); }
  .hero__copy p { font-size: .95rem; }
  .tag { top: 92px; font-size: .6875rem; padding: 6px 8px; }
  .tag--drawing { top: 132px; }
  .hero__knob { top: 34%; }
}

/* 3. Giant wordmark */
.mark { background: var(--ivory); color: var(--charcoal); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.mark__word { display: block; width: 100%; height: auto; overflow: visible; }
.mark__fill {
  fill: var(--burgundy);
  transform-box: fill-box; transform-origin: right center;
  transition: transform .9s var(--ease-wipe);
}
.mark__word:hover .mark__fill, .mark__word.is-revealed .mark__fill { transform: scaleX(0); }
.mark__line {
  margin-top: clamp(16px, 2.5vw, 32px);
  font: 500 clamp(.72rem, 1.3vw, 1rem)/1.4 var(--font-mono);
  letter-spacing: .32em; text-transform: uppercase; color: var(--burgundy);
}
.mark__body {
  margin-top: clamp(32px, 4.5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem;
  border-top: 1px solid rgba(52, 52, 52, .2); padding-top: 2rem;
}
.mark__body .eyebrow { color: var(--burgundy); }
.mark__copy { max-width: 66ch; }
.mark__copy > p + p { margin-top: 1.1em; }
.mark__copy > .mark__text { margin-bottom: 1.6rem; }
.mark__text { font: 400 clamp(1.2rem, 2.1vw, 1.85rem)/1.35 var(--font-display); letter-spacing: -.005em; max-width: 36ch; }
.mark__close { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(52, 52, 52, .2); }
.mark__sign { margin-top: .35rem; font-weight: 700; color: var(--burgundy); }
@media (max-width: 700px) { .mark__body { grid-template-columns: 1fr; gap: .5rem; } }
@media (min-width: 901px) {
  .mark__body { margin-top: clamp(24px, 4svh, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .mark__copy { max-width: none; columns: 2; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .mark__copy > * { break-inside: avoid; }
  .mark__copy > .mark__text { column-span: all; }
  .mark__close { margin-top: 1.1em; }
}
@media (max-height: 900px) {
  .mark { padding-block: clamp(28px, 5svh, 56px); }
  .mark__line { margin-top: clamp(12px, 2.5svh, 32px); }
  .mark__body { padding-top: 1.25rem; }
  .mark__copy { font-size: .95rem; }
}
@media (max-width: 900px) {
  .mark { padding-block: clamp(24px, 4svh, 40px); }
  .mark__line { margin-top: 12px; }
  .mark__body { margin-top: 20px; padding-top: 1rem; }
  .mark__copy { font-size: .9375rem; line-height: 1.5; }
  .mark__copy > p + p { margin-top: .8em; }
  .mark__copy > .mark__text { margin-bottom: 1rem; font-size: 1.15rem; }
  .mark__close { margin-top: 1.1rem; padding-top: 1rem; }
}

/* 4. Marquee */
.marquee { position: relative; background: var(--burgundy); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(241, 241, 232, .15); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track, .marquee.is-offscreen .marquee__track { animation-play-state: paused; }
.marquee__toggle {
  position: absolute; right: var(--gutter); top: 50%; margin-top: -16px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%; padding: 0; cursor: pointer;
  box-shadow: 0 0 0 10px var(--burgundy), -24px 0 24px 14px var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  background: var(--burgundy); color: var(--ivory); border: 1px solid rgba(241, 241, 232, .5);
}
.marquee__toggle:hover { border-color: var(--ivory); }
.marquee__icon { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.marquee__toggle[aria-pressed="true"] .marquee__icon {
  width: 0; height: 0; border: 0; margin-left: 3px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor;
}
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  font: 800 clamp(1.4rem, 3.2vw, 2.6rem)/1 var(--font-display); text-transform: uppercase;
  letter-spacing: .01em; white-space: nowrap; padding-right: .9em;
}
.marquee__list li::after { content: "\2726"; color: var(--cream); font-size: .55em; vertical-align: middle; padding-left: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Showreel band */
.reel { position: relative; background: var(--base); }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 2560 / 540; object-fit: cover; }
.reel__toggle {
  position: absolute; right: var(--gutter); bottom: 12px;
  width: 32px; height: 32px; border-radius: 50%; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43, 27, 28, .6); color: var(--ivory); border: 1px solid rgba(241, 241, 232, .5);
}
.reel__toggle:hover { border-color: var(--ivory); }
.reel__icon { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.reel__toggle[aria-pressed="true"] .reel__icon {
  width: 0; height: 0; border: 0; margin-left: 3px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor;
}

/* Shared: blueprint layer over photos */
.media { position: relative; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 5; }
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 1.6s var(--ease-out);
}
.bp {
  position: absolute; inset: 0; background: var(--grid);
  clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-wipe);
}
.bp svg { position: absolute; inset: 10% 8%; width: 84%; height: 80%; fill: none; stroke: var(--line); stroke-width: 1.5; }
.bp::after { /* scan line at the wipe edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cream);
}
.bp__label {
  position: absolute; left: 14px; bottom: 14px;
  font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory);
}
.is-revealed .bp { clip-path: inset(0 0 100% 0); }
.is-revealed .media img { transform: scale(1); }

/* 5. Approach */
.approach { background: var(--ivory); color: var(--charcoal); padding: var(--section-pad-top) 0 var(--section-pad); }
.approach .eyebrow { color: var(--burgundy); }
.approach :focus-visible { outline-color: var(--burgundy); }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); counter-reset: none; }
.phase__body { padding-top: 1.5rem; }
.phase__num { font: 500 .8rem/1 var(--font-mono); letter-spacing: .14em; color: var(--burgundy); }
.phase h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-top: .6rem; }
.phase__by { margin-top: .4rem; font-weight: 600; color: var(--burgundy); }
.tasks { margin-top: 1.25rem; border-top: 1px solid rgba(52, 52, 52, .2); }
.tasks li { padding: .6rem 0; border-bottom: 1px solid rgba(52, 52, 52, .12); font-size: .95rem; }
@media (max-width: 900px) {
  .phases { grid-template-columns: 1fr; gap: 40px; }
  .phases .media { aspect-ratio: 4 / 3; }
  .media--plan img { object-position: 50% 70%; }
  .media--launch img { object-position: 50% 65%; }
}
/* Laptops: lede beside the heading, photo band takes the height that is left over */
@media (min-width: 901px) {
  .approach .section-head {
    max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 96px); align-items: end;
  }
  .approach .section-head .eyebrow, .approach .section-head h2 { grid-column: 1; }
  .approach .lede { grid-column: 2; grid-row: 1 / 3; margin-top: 0; justify-self: end; max-width: 64ch; font-size: clamp(1rem, 1.2vw, 1.125rem); }
  .phases .media { aspect-ratio: auto; height: clamp(110px, calc(100vh - 620px), 400px); height: clamp(110px, calc(100svh - 620px), 400px); }
  .phase__body { padding-top: 1rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: baseline; }
  .phase__body > :not(.phase__num) { grid-column: 1 / -1; }
  .phase .phase__body > h3 { grid-column: 2; margin-top: 0; }
  .phase h3 { font-size: clamp(1.75rem, min(3.4vw, 5.5svh), 3rem); }
  .tasks { margin-top: .9rem; }
  .tasks li { padding: .35rem 0; font-size: .9rem; line-height: 1.4; }
}

/* Phones: cards in a sideways swipe row (also used by Selected work) */
.swipe__dots { display: none; }
@media (max-width: 900px) {
  .swipe {
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-block: 10px; margin-block: -10px; /* keeps card focus rings unclipped */
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe:focus-visible { outline-offset: -2px; }
  .swipe > .phases, .swipe > .work__grid { display: flex; gap: 12px; padding: 0 var(--gutter); }
  .swipe > .phases::after, .swipe > .work__grid::after { content: ""; flex: 0 0 max(0px, calc(var(--gutter) - 12px)); } /* end gutter */
  .swipe .phase, .swipe .project { scroll-snap-align: start; }
  .swipe .phase { flex: 0 0 min(85%, 420px); }
  .swipe__dots {
    display: flex; align-items: center; gap: 8px; padding: 14px var(--gutter) 0;
    font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; color: var(--muted);
  }
  .approach .swipe__dots { color: var(--burgundy); }
  .swipe__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
  .swipe__dot.is-active { opacity: 1; transform: scale(1.35); }
  .swipe__count { margin-left: 6px; }

  .approach .lede { margin-top: 1rem; font-size: .9375rem; line-height: 1.5; }
  .phases .media { aspect-ratio: auto; height: clamp(88px, 13vh, 180px); height: clamp(88px, 13svh, 180px); }
  .phase__body { padding-top: .75rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .6rem; align-items: baseline; }
  .phase__body > :not(.phase__num) { grid-column: 1 / -1; }
  .phase .phase__body > h3 { grid-column: 2; margin-top: 0; }
  .phase h3 { font-size: 1.75rem; }
  .phase__by { margin-top: .15rem; font-size: .9rem; }
  .tasks { margin-top: .6rem; }
  .tasks li { padding: .25rem 0; font-size: .875rem; line-height: 1.35; }
}

/* 6. Ecosystem */
.eco { background: var(--ivory); color: var(--charcoal); padding: var(--section-pad-top) 0 var(--section-pad); position: relative; }
.eco .eyebrow { color: var(--burgundy); }
.eco :focus-visible { outline-color: var(--burgundy); }
#eco-title span { display: block; }
.eco__list { border-top: 1px solid rgba(52, 52, 52, .2); }
.eco__row {
  display: grid; grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem 2rem; align-items: start;
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  border-bottom: 1px solid rgba(52, 52, 52, .2);
  scroll-margin-top: 72px;
}
.eco__idx { font: 500 .8rem/1 var(--font-mono); color: var(--agency); padding-top: 1.2em; letter-spacing: .14em; }
.eco__name {
  font-size: clamp(2.8rem, 8vw, 7.5rem); font-weight: 800; line-height: .95; letter-spacing: -.025em;
  transition: color .35s var(--ease-out), transform .5s var(--ease-out);
}
.eco__name small { display: block; font: 500 clamp(.8rem, 1.2vw, 1rem)/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; margin-top: .9rem; color: var(--agency); }
.eco__text { padding-top: .6rem; color: rgba(52, 52, 52, .82); max-width: 44ch; }
.eco__kind { font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--agency); }
.eco__head { font: 700 1.35rem/1.25 var(--font-display); letter-spacing: -.01em; color: var(--charcoal); margin: .6rem 0 .8rem; }
.eco__inline { display: none; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cursor-media {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(260px, 26vw, 400px); aspect-ratio: 4 / 3;
  pointer-events: none; opacity: 0; overflow: hidden; border-radius: 2px;
  transition: opacity .3s var(--ease-out);
  box-shadow: 0 24px 60px rgba(52, 52, 52, .3);
}
.cursor-media img { width: 100%; height: 100%; object-fit: cover; }
.cursor-media.is-on { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .eco__row:hover .eco__name { color: var(--agency); transform: translateX(12px); }
}
@media (hover: none), (pointer: coarse) {
  .eco__inline { display: block; }
  .cursor-media { display: none; }
}
@media (max-width: 800px) {
  .eco__row { grid-template-columns: 1fr; gap: 1rem; }
  .eco__idx { padding-top: 0; }
}
.eco__more { display: none; }
@media (min-width: 901px) {
  .eco .section-head h2 { font-size: clamp(2.1rem, min(4.6vw, 5.8svh), 4.25rem); }
  .eco__row { grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1.3fr); padding-block: clamp(12px, 2.2svh, 48px); }
  .eco__name { font-size: clamp(2.8rem, min(8vw, 10.5svh), 7.5rem); }
  .eco__text { max-width: 62ch; padding-top: .3rem; }
  .eco__head { margin: .4rem 0 .5rem; }
  .eco__desc { font-size: .9375rem; line-height: 1.55; }
}
/* Phones: compact rows; the longer paragraph opens on tap */
@media (max-width: 900px) {
  #eco-title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .eco__row {
    position: relative; grid-template-columns: minmax(0, 1fr) 64px; gap: .35rem 1rem;
    grid-template-areas: "idx thumb" "name thumb" "text text";
    padding-block: 18px; padding-right: calc(var(--gutter) + 28px);
  }
  .eco__idx { grid-area: idx; }
  .eco__name { grid-area: name; font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .eco__name small { margin-top: .35rem; font-size: .72rem; }
  .eco__text { grid-area: text; padding-top: .25rem; }
  .eco__head { font-size: 1.05rem; margin: .3rem 0 0; }
  .eco__desc { display: none; margin-top: .5rem; font-size: .9375rem; line-height: 1.55; }
  .eco__row.is-open .eco__desc { display: block; }
  .eco__inline { grid-area: thumb; display: block; width: 64px; height: 64px; aspect-ratio: 1; align-self: start; }
  .eco__more {
    display: block; position: absolute; inset: 0; width: 100%; padding: 0; margin: 0;
    background: transparent; border: 0; color: var(--agency); cursor: pointer;
  }
  .eco__more:focus-visible { outline-offset: -3px; }
  .eco__more::after { /* chevron at the right edge */
    content: ""; position: absolute; right: var(--gutter); bottom: 26px; width: 9px; height: 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .3s var(--ease-out);
  }
  .eco__more[aria-expanded="true"]::after { transform: translateY(4px) rotate(-135deg); }
}

/* 7. Work */
.work { padding: var(--section-pad-top) 0 var(--section-pad); border-top: 1px solid rgba(241, 241, 232, .12); }
.work__legend { font-size: .85rem; color: var(--muted); max-width: 46ch; }
.hint-hover { display: none; color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .hint-hover { display: inline; } }
.chip-demo { display: inline-block; padding: 2px 8px; border: 1px solid var(--muted); border-radius: 999px; font-size: .75rem; }
.chip-demo--tbc { border-style: dashed; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); }
.project { outline-offset: 6px; }
.project h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.01em; margin-top: 1.25rem; }
.project p { margin-top: .5rem; color: var(--muted); font-size: .95rem; max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.tags li { font: 500 .7rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid rgba(241, 241, 232, .5); border-radius: 999px; }
.tags li.tbc { border-style: dashed; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .project:hover .bp, .project:focus-within .bp, .project:focus-visible .bp { clip-path: inset(0 0 100% 0); }
  .project:hover .media img, .project:focus-visible .media img { transform: scale(1); }
}
@media (max-width: 1000px) { .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }
/* Laptops: drawing beside the text so 3 x 2 cards fit one screen */
@media (min-width: 901px) {
  .work__grid { row-gap: clamp(20px, 3.5svh, 56px); }
  .project {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto 1fr;
    column-gap: clamp(14px, 1.4vw, 24px); align-items: start;
  }
  .project > .media { grid-row: 1 / -1; }
  .project > :not(.media) { grid-column: 2; }
  .project h3 { margin-top: 0; font-size: clamp(1.15rem, 1.5vw, 1.6rem); }
  .project p { margin-top: .4rem; font-size: .875rem; line-height: 1.5; }
  .project .tags { margin-top: .75rem; gap: 6px; }
}
@media (max-width: 900px) {
  .work .section-head--row { gap: .75rem; }
  .swipe .project { flex: 0 0 min(80%, 380px); }
  .project .media { aspect-ratio: auto; height: clamp(170px, 30vh, 300px); height: clamp(170px, 30svh, 300px); }
  .project h3 { margin-top: .9rem; }
  .project p { margin-top: .35rem; font-size: .9rem; line-height: 1.5; }
  .project .tags { margin-top: .7rem; }
}

/* 7b. Work: All projects index (rendered by main.js from projects.js) */
.index { margin-top: clamp(24px, min(5vw, 4svh), 72px); padding: 0 var(--gutter); }
.index [hidden] { display: none; }
.index__title { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.index__toggle {
  display: flex; align-items: baseline; gap: .75rem; width: 100%; min-height: 44px;
  padding: 1rem 0; border: 0; border-bottom: 1px solid rgba(241, 241, 232, .2);
  background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.index__count { font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.index__chevron {
  flex: none; align-self: center; margin-left: auto; width: .45em; height: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg); transition: transform .35s var(--ease-out);
}
.index__toggle[aria-expanded="true"] .index__chevron { transform: translateY(25%) rotate(-135deg); }
.index__toggle:hover .index__chevron { color: var(--cream); }
.index__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem;
  padding: 1.25rem 0 1.5rem;
}
.index__views, .index__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.index__btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line); background: transparent; color: var(--ivory);
  font: 500 .9rem/1 var(--font-body); transition: background-color .2s, color .2s;
}
.index__btn:hover { border-style: solid; }
.index__btn[aria-pressed="true"] { background: var(--ivory); color: var(--base); border: 1px solid var(--ivory); }
.index__filters { display: grid; gap: .75rem; }
.index__filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.index__label { min-width: 3rem; font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.index__list { border-top: 1px solid rgba(241, 241, 232, .2); }
.index__row {
  display: grid; align-items: center; gap: .5rem 1.5rem;
  grid-template-columns: 3rem minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr);
  padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid rgba(241, 241, 232, .2);
}
.index__row:focus { outline: none; }
.index__row:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.index__idx { font: 500 .8rem/1 var(--font-mono); letter-spacing: .14em; color: var(--muted); }
.index__name {
  display: flex; align-items: center; gap: 12px;
  font: 700 clamp(1.2rem, 2.2vw, 1.85rem)/1.1 var(--font-display); letter-spacing: -.01em;
  transition: color .3s var(--ease-out), transform .45s var(--ease-out);
}
.index__thumb { display: none; flex: none; width: 48px; height: 60px; object-fit: cover; background: var(--navy); }
.index__meta { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.index__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.index__tag {
  font: 500 .7rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px;
  background: var(--ivory); color: var(--agency); border: 1px solid var(--agency);
}
.index__tag.tbc { border-style: dashed; }
.index__tag--revol { --agency: var(--burgundy); }
.index__tag--bbl { --agency: #5E5E80; }
.index__tag--be-bold { --agency: #7A5A47; }
.index__tag--xflow { --agency: #7A6118; }
.cursor-media--index { width: clamp(200px, 18vw, 300px); aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

.index__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 24px); }
.index__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.index__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.index__tile-name { margin-top: .9rem; font: 700 1.05rem/1.25 var(--font-display); }
.index__tile-type { margin-top: .3rem; font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.index__empty { padding: 2.5rem 0; border-bottom: 1px solid rgba(241, 241, 232, .2); color: var(--muted); }
.index__clear {
  font: inherit; color: var(--ivory); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.index__clear:hover { color: var(--cream); }
.index__more { margin-top: 2rem; }

@media (hover: hover) and (pointer: fine) {
  .index__row:hover .index__name { color: var(--cream); transform: translateX(10px); }
  .index__tile:hover .index__photo img { transform: scale(1.04); }
}
@media (hover: none), (pointer: coarse) {
  .index__thumb { display: block; }
}
@media (max-width: 1000px) { .index__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .index__row {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    grid-template-areas: "idx name" ". meta" ". tags";
    gap: .6rem 1rem;
  }
  .index__idx { grid-area: idx; }
  .index__name { grid-area: name; }
  .index__meta { grid-area: meta; }
  .index__tags { grid-area: tags; }
  .index__meta:empty { display: none; }
}
@media (max-width: 600px) { .index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 8. Team (rendered by main.js from team.js) */
.team { background: var(--ivory); color: var(--charcoal); padding: var(--section-pad-top) 0 var(--section-pad); }
.team [hidden] { display: none; }
.team .eyebrow { color: var(--burgundy); }
.team :focus-visible { outline-color: var(--burgundy); }

.portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #E2D9CC; }
.portrait > img, .portrait__ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.portrait__ph { display: flex; align-items: flex-end; justify-content: center; }
.portrait__ph svg { width: 58%; height: auto; fill: rgba(93, 53, 54, .14); }
.portrait__label {
  position: absolute; left: 12px; top: 12px;
  font: 500 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(52, 52, 52, .62);
}

.founder {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end;
  gap: clamp(28px, 5vw, 88px); padding: 0 var(--gutter); margin-bottom: clamp(40px, 5vw, 72px);
}
.founder__photo { max-width: 520px; }
.founder__body { padding-bottom: clamp(0px, 2vw, 24px); }
.founder__quote { margin: 0; }
.founder__quote p { font: 400 clamp(1.8rem, 3.8vw, 3.6rem)/1.1 var(--font-display); letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.founder__name { margin-top: clamp(1.75rem, 3vw, 2.75rem); padding-top: 1.25rem; border-top: 1px solid rgba(52, 52, 52, .2); font-size: 1.25rem; font-weight: 700; }
.founder__role { margin-top: .5rem; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }

.team__bar { display: flex; justify-content: flex-end; align-items: center; min-height: 1px; margin: 0 var(--gutter) clamp(20px, 2.5vw, 32px); border-top: 1px solid rgba(52, 52, 52, .2); }
.team__arrows { display: flex; gap: 8px; padding-top: 16px; }
.team__arrow {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--charcoal); border: 1px solid rgba(52, 52, 52, .45);
  font: 400 1.1rem/1 var(--font-body);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.team__arrow:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.team__arrow[aria-disabled="true"] { cursor: default; opacity: .35; background: transparent; color: var(--charcoal); border-color: rgba(52, 52, 52, .45); }

.team__scroller {
  --per: 4.25; --gap: clamp(12px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scroll-behavior: smooth;
  scrollbar-width: none;
}
.team__scroller::-webkit-scrollbar { display: none; }
.team__scroller:focus-visible { outline-offset: -2px; }
.team__list { display: flex; gap: var(--gap); padding: 0 var(--gutter) 4px; }
.team__list::after { content: ""; flex: 0 0 max(0px, calc(var(--gutter) - var(--gap))); } /* end gutter: flex padding-end is not scrollable */
.member { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.member__photo { aspect-ratio: 3 / 4; }
.member__name { margin-top: 1rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 700; letter-spacing: -.005em; }
.member__role { margin-top: .3rem; font-size: .92rem; color: rgba(52, 52, 52, .82); }
.member__tag {
  display: inline-block; margin-top: .75rem; padding: 6px 9px; border-radius: 999px;
  font: 500 .68rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--agency); border: 1px solid var(--agency);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.member__tag--revol { --agency: var(--burgundy); }
.member__tag--bbl { --agency: #5E5E80; }
.member__tag--be-bold { --agency: #7A5A47; }
.member__tag--xflow { --agency: #7A6118; }

@media (hover: hover) and (pointer: fine) {
  .member:hover .portrait > *, .founder__photo:hover > * { transform: scale(1.03); }
  .member:hover .member__tag { background: var(--agency); color: var(--ivory); }
}
@media (max-width: 1000px) { .team__scroller { --per: 2.6; } }
@media (max-width: 767px) {
  .team__arrows { display: none; }
  .team__bar { border-top: 0; margin-bottom: 0; }
}
@media (max-width: 700px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: none; }
}
@media (max-width: 600px) { .team__scroller { --per: 1.5; } }
/* Laptops: founder portrait sized to the screen on the left; quote and the member row share the right column */
@media (min-width: 901px) {
  .team {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    column-gap: clamp(28px, 4vw, 72px); padding-left: var(--gutter);
  }
  .team > .section-head { grid-column: 1 / -1; padding-left: 0; }
  .founder { display: contents; }
  .founder__photo {
    grid-column: 1; grid-row: 2 / 4; max-width: none; aspect-ratio: 4 / 5;
    height: clamp(300px, calc(100vh - var(--section-pad-top) - var(--section-pad) - 140px), 620px);
    height: clamp(300px, calc(100svh - var(--section-pad-top) - var(--section-pad) - 140px), 620px);
  }
  .founder__body { grid-column: 2; grid-row: 2; padding: 0 var(--gutter) 0 0; }
  .founder__quote p { font-size: clamp(1.6rem, min(3.4vw, 5.2svh), 3.6rem); max-width: 22ch; }
  .founder__name { margin-top: clamp(.9rem, 2svh, 2rem); padding-top: .9rem; }
  .team__row { grid-column: 2; grid-row: 3; align-self: end; min-width: 0; margin-top: clamp(8px, 2svh, 40px); }
  .founder[hidden] ~ .team__row { grid-column: 1 / -1; }
  .team__bar { margin: 0 var(--gutter) clamp(8px, 1.5svh, 32px) 0; }
  .team__arrows { padding-top: 8px; }
  .team__list { padding-left: 0; }
  .team__scroller { --ph: clamp(150px, calc(100vh - 610px), 380px); scroll-padding-inline: 0 var(--gutter); }
  @supports (height: 1svh) { .team__scroller { --ph: clamp(150px, calc(100svh - 610px), 380px); } }
  .member { flex-basis: max(150px, calc(var(--ph) * .75)); } /* vertical portraits (3:4 when there is room), width follows the height left on screen */
  .member__photo { aspect-ratio: auto; height: var(--ph); }
  .member__name { margin-top: .6rem; }
  .member__role { margin-top: .15rem; }
  .member__tag { margin-top: .4rem; }
}
/* Phones: portrait capped by screen height so photo, quote and name fit one screen */
@media (max-width: 700px) {
  .founder { gap: 20px; margin-bottom: 32px; }
  .founder__photo { width: auto; height: min(calc((100vw - 2 * var(--gutter)) * 1.25), 46vh); height: min(calc((100vw - 2 * var(--gutter)) * 1.25), 46svh); aspect-ratio: 4 / 5; justify-self: start; }
  .founder__quote p { font-size: clamp(1.5rem, 7vw, 2rem); }
  .founder__name { margin-top: 1rem; padding-top: .9rem; }
}

/* 9. Contact */
.contact {
  background: var(--grid); padding: var(--section-pad-top) var(--gutter) var(--section-pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 96px);
  scroll-margin-top: 0;
}
.contact h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.contact__details { margin-top: 2.5rem; display: grid; gap: 1rem; }
.contact__details li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-top: 1px solid rgba(241, 241, 232, .2); padding-top: 1rem; }
.contact__details span { font: 500 .72rem/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__details a { text-underline-offset: 4px; }
.sheet {
  position: relative; border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem;
  background: rgba(34, 51, 74, .6);
}
.chips { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend, .field label {
  font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 0; margin-bottom: .75rem;
}
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px dashed var(--line); font-size: .9rem; transition: background-color .2s, color .2s;
}
.chips input:checked + span { background: var(--ivory); color: var(--navy); border-style: solid; }
.chips input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 3px; }
.field { display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .35rem; }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--font-body); color: var(--ivory); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; resize: vertical;
}
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom: 2px solid var(--cream); }
.sheet__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sheet__note { font: 500 .8rem/1.4 var(--font-mono); color: var(--cream); }
.sheet__privacy { width: 100%; font-size: .8rem; color: var(--muted); }
.field__error { margin-top: .4rem; font: 500 .75rem/1.4 var(--font-mono); color: var(--cream); }
.chips .field__error { width: 100%; margin-top: 0; }
.field [aria-invalid="true"] { border-bottom-color: var(--cream); }
.sheet__done { grid-column: 1 / -1; align-self: start; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.3; }
.sheet__done:focus { outline: none; }
/* Honeypot field: off-screen for people, still in the DOM for bots */
.sheet__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.titleblock {
  grid-column: 1 / -1; align-self: end; display: grid; grid-template-columns: repeat(3, auto); justify-content: end;
  font: 500 .7rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.titleblock span { border: 1px solid rgba(241, 241, 232, .35); padding: 8px 10px; margin-left: -1px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sheet { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .titleblock span { padding: 8px; margin: -1px 0 0 -1px; letter-spacing: .08em; }
  .titleblock span:first-child { grid-column: 1 / -1; }
  .contact__details li { grid-template-columns: 5.5rem 1fr; }
}
@media (max-height: 900px) and (min-width: 901px) {
  .contact h2 { font-size: clamp(2.5rem, min(6vw, 9svh), 5.25rem); }
  .contact__details { margin-top: 1.75rem; }
  .sheet { gap: 1.1rem 2rem; }
}
/* Phones: tighter form so it fits about one screen */
@media (max-width: 900px) {
  .contact { gap: 24px; }
  .contact h2 { font-size: clamp(2.2rem, 10vw, 2.75rem); }
  .contact__details { margin-top: 1.25rem; gap: .35rem; }
  .contact__details li { padding-top: .4rem; }
  .sheet { padding: 16px; gap: .75rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field:first-of-type { grid-column: 1 / -1; }
  .chips { gap: 8px; }
  .chips legend { margin-bottom: .5rem; }
  .chips span { min-height: 40px; padding: 0 12px; font-size: .85rem; }
  .field input, .field textarea { padding: 6px 0; }
  .field textarea { height: 3.5rem; }
  .titleblock { display: none; }
}

/* 10. Footer */
.footer {
  padding: 48px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem;
  border-top: 1px solid rgba(241, 241, 232, .12);
}
.footer__mark { font: 700 .9rem/1 var(--font-body); letter-spacing: .4em; }
.footer__group { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__group a { text-decoration: none; color: var(--muted); }
.footer__group a:hover { color: var(--ivory); }
.footer__note { width: 100%; font-size: .8rem; color: var(--muted); }

/* Reduced motion: no marquee, no wipes, finished states */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; width: auto; padding: 0 var(--gutter); }
  .marquee__list { flex-wrap: wrap; row-gap: .6rem; }
  .marquee__list[aria-hidden="true"], .marquee__toggle { display: none; }
  .bp { display: none; }
  .media img { transform: none; transition: none; }
  .mark__fill, .mark__word:hover .mark__fill, .mark__word.is-revealed .mark__fill { transform: none; transition: none; }
  .eco__name, .hero__knob, .cursor-media { transition: none; }
  .index__name, .index__photo img, .index__chevron { transition: none; }
  .index__row:hover .index__name, .index__tile:hover .index__photo img { transform: none; }
  .team__scroller { scroll-behavior: auto; }
  .portrait > img, .portrait__ph, .member__tag, .team__arrow { transition: none; }
  .member:hover .portrait > *, .founder__photo:hover > * { transform: none; }
  .swipe__dot, .eco__more::after { transition: none; }
}
