/* ============================================================
   ORBITAL Wall & Ceilings — site styles
   Palette: ink black, coral, warm off-white. One accent, used once per view.
   Motif: a heavy horizontal bar with things hanging from it (the logo).
   ============================================================ */

:root {
  --ink: #121411;
  --ink-2: #1d1f1c;
  --ink-soft: #2a2c29;
  --coral: #f26949;
  --coral-deep: #d9573a;
  --paper: #f4f3f0;
  --paper-2: #ebe9e4;
  --line: #d6d3cc;
  --muted: #6b6b66;
  --on-dark-muted: #a8a7a1;
  --white: #fbfbf9;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-wordmark: "Archivo Black", "Archivo", Impact, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-tag: "Jost", "Futura", "Century Gothic", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-drop: cubic-bezier(.34, 1.4, .64, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, picture, video { display: block; max-width: 100%; }
.hero__media picture, .process__bg picture, .hang-card__media picture, .work-card__media picture, .contact__media picture, .commit__media picture { height: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

/* ---------- Logo (SVG symbol) ---------- */
.logo { display: block; height: 100%; width: auto; }
.lg-ink { fill: currentColor; }
.lg-coral { fill: var(--coral); }
.logo--full { aspect-ratio: 444 / 183; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  color: var(--paper);
  transition: background-color .45s, color .45s, box-shadow .45s, transform .5s var(--ease-out);
}
.nav__inner { height: 100%; width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav__logo { height: 54px; display: block; color: inherit; }   /* tall enough for WALL & CEILINGS to stay legible */
.nav__links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--coral); transition: right .35s var(--ease-out); }
.nav__links a:not(.nav__cta):hover::after, .nav__links a.is-active::after { right: 0; }
.nav__cta { padding: 11px 20px !important; border: 1.5px solid currentColor; border-radius: 2px; transition: background-color .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }

.nav.is-solid { background: rgba(244, 243, 240, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 rgba(18, 20, 17, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open { color: var(--ink); background: var(--paper); }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease-out), top .35s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 2px;
  font-family: var(--font-display); font-weight: 600; font-stretch: 100%; font-size: 15px; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn--coral { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.btn--coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn--ghost { color: var(--paper); border-color: rgba(251, 251, 249, .55); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(251, 251, 249, .08); }
.btn--block { width: 100%; }
.text-link { display: inline-block; margin-top: 28px; font-weight: 600; padding-bottom: 3px; border-bottom: 2px solid var(--coral); transition: border-color .3s, color .3s; }
.text-link:hover { color: var(--coral-deep); }

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 56ch; }
.section-head--light p { color: var(--on-dark-muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head--row p { margin-top: 0; max-width: 40ch; text-align: right; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: -8% 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,20,17,.55) 0%, rgba(18,20,17,.05) 30%, rgba(18,20,17,.15) 55%, rgba(18,20,17,.86) 100%),
    linear-gradient(90deg, rgba(18,20,17,.45) 0%, rgba(18,20,17,0) 60%); }
.hero__inner { position: relative; z-index: 2; width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: calc(var(--nav-h) + 40px) 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__copy { padding-bottom: 72px; max-width: 880px; }
.hero__title { font-size: clamp(42px, 7vw, 104px); font-weight: 900; letter-spacing: -0.03em; line-height: .96; }
.hero__lede { margin-top: 28px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 20px); color: rgba(251, 251, 249, .82); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scope { padding-bottom: 80px; display: grid; gap: 10px; font-family: var(--font-tag); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(251, 251, 249, .7); text-align: right; }
.hero__scope li { padding-right: 18px; position: relative; }
.hero__scope li::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: rgba(251,251,249,.35); transform: translateY(-50%); }
.hero__scope li:first-child::after { background: var(--coral); }

/* the ceiling rail at the bottom of the hero: the logo's bar + dot, with the hero "hanging" beneath */
.hero__rail { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 12px; background: var(--paper); }
.hero__rail-dot { position: absolute; right: var(--gutter); top: -22px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }

/* staged hero reveal, triggered by JS on load */
.hero__title, .hero__lede, .hero__actions, .hero__scope { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.hero.is-live .hero__title { opacity: 1; transform: none; }
.hero.is-live .hero__lede { opacity: 1; transform: none; transition-delay: .15s; }
.hero.is-live .hero__actions { opacity: 1; transform: none; transition-delay: .3s; }
.hero.is-live .hero__scope { opacity: 1; transform: none; transition-delay: .45s; }

/* ---------- Statement ---------- */
.statement { padding: clamp(88px, 11vw, 160px) 0 clamp(72px, 9vw, 130px); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.statement__title { font-size: clamp(36px, 5vw, 68px); font-weight: 800; letter-spacing: -0.025em; }
.statement__body { padding-top: 14px; font-size: 18px; color: #3a3b38; }
.statement__body p + p { margin-top: 22px; }

/* ---------- Services — hanging cards ---------- */
.services { padding: 0 0 clamp(80px, 10vw, 150px); background: var(--paper); }
.hang-row { position: relative; padding-top: 18px; }
.hang-row + .hang-row { margin-top: clamp(72px, 8vw, 120px); }
.hang-bar { position: absolute; top: 0; left: 0; right: 0; height: 12px; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
.hang-bar__dot { position: absolute; right: -24px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--coral); opacity: 0; transition: opacity .4s .9s; }
.hang-row.in-view .hang-bar { transform: scaleX(1); }
.hang-row.in-view .hang-bar__dot { opacity: 1; }
.hang-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.hang-card { position: relative; padding-top: var(--wire, 64px); opacity: 0; transform: translateY(-34px); transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-drop); }
.hang-row.in-view .hang-card { opacity: 1; transform: none; }
.hang-row.in-view .hang-card:nth-child(1) { transition-delay: .55s; }
.hang-row.in-view .hang-card:nth-child(2) { transition-delay: .7s; }
.hang-row.in-view .hang-card:nth-child(3) { transition-delay: .85s; }
.hang-card__wire { position: absolute; left: 50%; top: -6px; width: 2px; height: calc(var(--wire, 64px) + 6px); margin-left: -1px; background: var(--ink); }
.hang-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.hang-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hang-card:hover .hang-card__media img { transform: scale(1.04); }
.hang-card h3 { margin-top: 26px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.hang-card p { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 42ch; }

/* ---------- Process (dark) ---------- */
.process { position: relative; padding: clamp(96px, 12vw, 170px) 0; color: var(--paper); background: var(--ink-2); overflow: hidden; }
.process__bg { position: absolute; inset: -10% 0; z-index: 0; opacity: .5; }
.process__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.process::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(29,31,28,.96) 0%, rgba(29,31,28,.8) 45%, rgba(29,31,28,.35) 100%); }
.process__inner { position: relative; z-index: 2; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(251,251,249,.18); }
.step { padding: 32px 28px 0 0; border-top: 3px solid transparent; margin-top: -1px; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(251,251,249,.14); }
.step__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--coral); }
.step h3 { margin-top: 44px; font-size: 24px; font-weight: 700; }
.step p { margin-top: 14px; color: var(--on-dark-muted); font-size: 16px; }

/* ---------- Work ---------- */
.work { padding: clamp(88px, 11vw, 160px) 0 clamp(56px, 7vw, 100px); }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.work-card { grid-column: span 2; display: block; color: var(--ink); }
.work-card--wide { grid-column: span 4; }
.work-card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.work-card--wide .work-card__media { aspect-ratio: 16 / 9; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out), filter .6s; }
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__caption { padding: 18px 0 8px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: baseline; }
.work-card__sector { font-family: var(--font-tag); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); position: relative; padding-left: 14px; }
.work-card__sector::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--coral); }
.work-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.work-card p { grid-column: 2; margin-top: 4px; font-size: 15px; color: var(--muted); }
.work__note { margin-top: 40px; font-size: 14px; color: var(--muted); font-style: italic; }

/* ---------- Work: footer row with the link to the full portfolio page ---------- */
.work__foot { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.work__foot .work__note { margin-top: 0; }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }

/* ---------- Work: a 5-photo reel of featured jobs, then the rest of the field photos in a grid with a lightbox ---------- */
.showcase { --dur: 6.5s; }

/* Stage */
.reel { position: relative; aspect-ratio: 16 / 9; max-height: 80vh; width: 100%; overflow: hidden; background: var(--ink); color: var(--paper); touch-action: pan-y; container-type: size; }
.reel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.reel__slide.is-active { opacity: 1; z-index: 1; }
.reel__slide.is-leaving { z-index: 0; }
/* The pan is a pure, constant-speed translate: no scale animation (which makes the browser re-render the photo mid-move and
   shimmer on fine lines) and no easing (which crawls at sub-pixel speed near the ends). The photo is sized to cover the frame
   (--ar = its width / height), enlarged by --size to leave room to drift, and --fx/--tx (across) and --from/--to (down) say where
   in its overflow the view starts and ends: 0 = left/top edge, 1 = right/bottom edge. Tuned so every slide moves 35-55 px/s. */
.reel__slide img { position: absolute; left: 0; top: 0; max-width: none; width: calc(max(100cqw, 100cqh * var(--ar, 1.3333)) * var(--size, 1)); height: auto;
  transform: translate3d(calc(var(--fx, .5) * (100cqw - 100%)), calc(var(--from, .5) * (100cqh - 100%)), 0); will-change: transform; backface-visibility: hidden; }
.reel__slide.is-active img, .reel__slide.is-leaving img { animation: reel-pan calc(var(--dur) + 1.4s) linear forwards; }
@keyframes reel-pan {
  from { transform: translate3d(calc(var(--fx, .5) * (100cqw - 100%)), calc(var(--from, .5) * (100cqh - 100%)), 0); }
  to   { transform: translate3d(calc(var(--tx, .5) * (100cqw - 100%)), calc(var(--to, .5) * (100cqh - 100%)), 0); }
}
@keyframes reel-pan-phone {
  from { transform: translate3d(calc(.3 * (100cqw - 100%)), calc(.1 * (100cqh - 100%)), 0); }
  to   { transform: translate3d(calc(.7 * (100cqw - 100%)), calc(.9 * (100cqh - 100%)), 0); }
}
.reel__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 20, 17, .28) 0%, rgba(18, 20, 17, 0) 24%, rgba(18, 20, 17, 0) 46%, rgba(18, 20, 17, .86) 100%); }

.reel__caption { position: absolute; z-index: 1; left: clamp(20px, 3.2vw, 48px); bottom: clamp(22px, 3.4vw, 48px); right: 210px; max-width: 640px;
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.reel__slide.is-active .reel__caption { opacity: 1; transform: none; transition-delay: .35s; }
.reel__sector { font-family: var(--font-tag); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--paper); position: relative; padding-left: 16px; }
.reel__sector::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--coral); }
.reel__title { margin-top: 12px; font-size: clamp(30px, 3.9vw, 54px); color: var(--white); }
.reel__line { margin-top: 10px; font-size: 17px; color: var(--on-dark-muted); max-width: 46ch; }

.reel__controls { position: absolute; z-index: 2; right: clamp(20px, 3.2vw, 48px); bottom: clamp(22px, 3.4vw, 48px); display: flex; align-items: center; gap: 8px; }
.reel__count { font-family: var(--font-tag); font-size: 12px; letter-spacing: .22em; color: var(--on-dark-muted); margin-right: 10px; }
.reel__count b { font-weight: 400; color: var(--white); }
.reel__btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--paper); border: 1px solid rgba(251, 251, 249, .38); background: rgba(18, 20, 17, .5);
  transition: border-color .25s, color .25s, background .25s; }   /* no backdrop blur: it would re-render over the moving photo every frame */
.reel__btn:hover { border-color: var(--coral); color: var(--coral); }
.reel__btn svg { width: 18px; height: 18px; }
.reel__btn .i-play { display: none; }
.is-user-paused .reel__btn[data-reel="pause"] .i-pause { display: none; }
.is-user-paused .reel__btn[data-reel="pause"] .i-play { display: block; }

/* Chapter row under the stage: doubles as progress and navigation */
.reel__chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); margin-top: 18px; }
.reel__chapter { text-align: left; padding-top: 14px; position: relative; color: var(--muted); transition: color .3s; }
.reel__chapter:hover, .reel__chapter.is-active { color: var(--ink); }
.reel__track { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); overflow: hidden; }
.reel__fill { position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.reel__chapter.is-done .reel__fill { transform: scaleX(1); background: var(--ink); }
.reel__chapter.is-active .reel__fill { animation: chapter-fill var(--dur) linear forwards; }
@keyframes chapter-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel__num { display: block; font-family: var(--font-tag); font-size: 12px; letter-spacing: .22em; }
.reel__name { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 16px; line-height: 1.2; }

.is-paused .reel__fill, .is-paused .reel__slide img { animation-play-state: paused !important; }

/* Grid of the remaining photos */
.fieldwork { margin-top: clamp(64px, 8vw, 112px); }
.fieldwork__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; margin-bottom: clamp(18px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.fieldwork__head h3 { font-size: clamp(24px, 2.6vw, 34px); }
.fieldwork__head p { font-size: 15px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.shot { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); color: var(--white); }
.shot--wide { grid-column: span 2; aspect-ratio: auto; }
.shot--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }   /* portfolio lead photo: 2 x 2 cells */
.shot--tall { grid-row: span 2; aspect-ratio: auto; }   /* narrow vertical photo: 1 column x 2 rows */
.shot picture { position: absolute; inset: 0; }   /* no intrinsic height, so wide tiles take the row height set by the 3:4 tiles */
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out), filter .6s; }
.shot:hover img { transform: scale(1.04); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(180deg, rgba(18, 20, 17, 0), rgba(18, 20, 17, .82));
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot__cap .reel__sector { font-size: 11px; }
.shot__cap span:last-child { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--paper); }
.shot__zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(18, 20, 17, .45); opacity: 0; transition: opacity .3s; }
.shot:hover .shot__zoom { opacity: 1; }
.shot__zoom svg { width: 16px; height: 16px; }

.shot--cta { grid-column: span 2; aspect-ratio: auto; background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.shot--cta::before { content: ""; position: absolute; left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); top: 0; height: 6px; background: var(--paper); }
.shot--cta::after { content: ""; position: absolute; top: 6px; left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); height: 26px;   /* the logo's hanger wires */
  background: linear-gradient(var(--paper), var(--paper)) 22% 0 / 2px 100% no-repeat, linear-gradient(var(--paper), var(--paper)) 78% 0 / 2px 100% no-repeat; }
.shot__kicker { font-family: var(--font-tag); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 28px; }
.shot__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.04; letter-spacing: -0.015em; color: var(--white); max-width: 16ch; }
.shot--cta .btn { align-self: flex-start; }
.shot--cta:hover .btn { background: var(--coral-deep); border-color: var(--coral-deep); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0d0b; color: var(--paper); }
.lightbox::backdrop { background: #0c0d0b; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox__stage { position: relative; min-height: 0; }
.lightbox__stage img { position: absolute; top: 64px; left: 72px; width: calc(100% - 144px); height: calc(100% - 76px); object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 72px 28px; }
.lightbox__bar p { font-size: 16px; color: var(--paper); }
.lightbox__bar .reel__sector { display: inline-block; margin-bottom: 6px; }
.lightbox .reel__btn { position: absolute; }
.lightbox [data-lb="close"] { top: 14px; right: 14px; }
.lightbox [data-lb="prev"] { left: 14px; top: 50%; margin-top: -22px; }
.lightbox [data-lb="next"] { right: 14px; top: 50%; margin-top: -22px; }

@media (max-width: 900px) {
  .reel__name { font-size: 14px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .shot--wide { aspect-ratio: 4 / 3; }
  .shot--feature { grid-row: auto; aspect-ratio: 3 / 4; }   /* nothing beside it on two columns to set its height */
  .shot--cta { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 700px) {
  .reel { aspect-ratio: 4 / 5; max-height: none; }
  /* Tall photos nearly fit a 4:5 frame, so on phones every photo is enlarged and drifts corner to corner at about 20-27 px/s */
  .reel__slide img { width: calc(max(100cqw, 100cqh * var(--ar, 1.3333)) * 1.35); }
  .reel__slide.is-active img, .reel__slide.is-leaving img { animation-name: reel-pan-phone; }
  .reel__caption { right: 20px; bottom: 84px; }
  .reel__line { font-size: 15px; }
  .reel__controls { left: 20px; right: auto; bottom: 22px; }
  .reel__name { display: none; }
  .reel__chapters { gap: 6px; }
  .fieldwork__head { flex-direction: column; gap: 4px; }
  .shot__cap { opacity: 1; transform: none; padding: 36px 12px 10px; }
  .shot__cap span:last-child { display: none; }
  .lightbox__stage img { top: 60px; left: 12px; width: calc(100% - 24px); height: calc(100% - 68px); }
  .lightbox__bar { padding: 12px 16px 22px; }
  .lightbox [data-lb="prev"], .lightbox [data-lb="next"] { top: auto; bottom: 18px; margin: 0; }
  .lightbox [data-lb="prev"] { left: auto; right: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__slide, .reel__caption { transition: none !important; }
  .reel__slide img { animation: none !important; transform: translate3d(calc((var(--fx, .5) + var(--tx, .5)) / 2 * (100cqw - 100%)), calc((var(--from, .5) + var(--to, .5)) / 2 * (100cqh - 100%)), 0); }
  .reel__chapter.is-active .reel__fill { animation: none; transform: scaleX(1); }
}
  

/* ---------- Secondary pages (work.html): solid nav from the top, page head, gallery, CTA band ---------- */
.nav.nav--solid { background: rgba(244, 243, 240, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 rgba(18, 20, 17, .08); }
.page-head { padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px); }
.page-head__bar { position: relative; height: 12px; background: var(--ink); margin-bottom: clamp(36px, 5vw, 64px); }
.page-head__dot { position: absolute; right: -24px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--coral); }
.page-head__eyebrow { font-family: var(--font-tag); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.page-head__title { margin-top: 18px; max-width: 18ch; font-size: clamp(36px, 5.4vw, 74px); font-weight: 800; letter-spacing: -0.025em; }
.page-head__lede { margin-top: 24px; max-width: 56ch; font-size: 19px; color: var(--muted); }
.gallery { padding: clamp(16px, 3vw, 40px) 0 clamp(72px, 9vw, 130px); }
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); }
.cta-band p { margin-top: 14px; max-width: 52ch; color: var(--on-dark-muted); font-size: 17px; }

/* ---------- Sectors ---------- */
.sectors { padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 11vw, 160px); }
.sectors__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sectors__lead h2 { font-size: clamp(34px, 4.2vw, 52px); }
.sectors__lead p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 34ch; }
.sectors__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--ink); }
.sectors__list li { padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; }
.sectors__list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .3s, border-color .3s; }
.sectors__list li:hover::after { background: var(--coral); border-color: var(--coral); }

/* ---------- Commitments ---------- */
.commit { padding: 0 0 clamp(88px, 11vw, 160px); }
.commit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.commit__media { position: relative; }
.commit__media::before { content: ""; position: absolute; left: 12%; right: 12%; top: -12px; height: 12px; background: var(--ink); }
.commit__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.commit__body h2 { font-size: clamp(32px, 3.8vw, 48px); }
.commit__list { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.commit__list div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.commit__list dt { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.commit__list dd { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--ink); color: var(--paper); }
.contact__media { position: relative; min-height: 420px; }
.contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,17,0) 60%, rgba(18,20,17,.6) 100%); }
.contact__panel { padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 110px); max-width: 860px; }
.contact__panel h2 { font-size: clamp(36px, 4.4vw, 56px); }
.contact__lede { margin-top: 18px; color: var(--on-dark-muted); font-size: 18px; max-width: 50ch; }
.form { margin-top: 44px; display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; letter-spacing: .04em; color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--paper); background: rgba(251,251,249,.04);
  border: 1px solid rgba(251,251,249,.22); border-radius: 2px; padding: 14px 16px;
  transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f4f3f0' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: rgba(251,251,249,.07); }
.field input::placeholder, .field textarea::placeholder { color: rgba(251,251,249,.35); }
.form__status { min-height: 1.4em; font-size: 15px; color: var(--coral); }
.form__status a { color: inherit; text-decoration: underline; }
.form__trap { display: none; }   /* spam trap: bots tick it, people never see it */
.contact__direct { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(251,251,249,.16); display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px; font-size: 15px; }   /* auto columns: the long email gets the room it needs */
.contact__direct span { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-tag); color: var(--on-dark-muted); margin-bottom: 8px; }
.contact__direct a:hover { color: var(--coral); }
.contact__direct a:not([href^="mailto:"]) { white-space: nowrap; }   /* keep the phone number and address lines whole */
@media (max-width: 1100px) { .contact__direct { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 56px; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: clamp(56px, 7vw, 96px) 0 32px; border-top: 12px solid var(--ink); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.logo--footer { height: 88px; color: var(--ink); }
.footer__brand p { margin-top: 24px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer__nav { display: grid; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.footer__nav a:hover { color: var(--coral-deep); }
.footer__meta { color: var(--muted); font-size: 15px; display: grid; gap: 12px; }
.footer__legal { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Scroll reveals (quiet: opacity only, single use per element) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hang-grid { gap: 22px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .commit__grid { grid-template-columns: minmax(0, 1fr); }
  .commit__media { max-width: 560px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__logo { height: 46px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; padding: 40px var(--gutter);
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--paper); color: var(--ink);
    font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s, transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: 24px; font-size: 18px; padding: 16px 24px !important; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__scope { display: none; }
  .hero__copy { padding-bottom: 64px; }
  .statement__grid, .sectors__grid { grid-template-columns: minmax(0, 1fr); }
  .hang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hang-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; }
  .work-card, .work-card--wide { grid-column: span 3; }
  .work-card--wide .work-card__media { aspect-ratio: 4 / 3; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .section-head--row p { text-align: left; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__media { min-height: 280px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(40px, 12vw, 56px); }
  .hero__actions .btn { width: 100%; }
  .hang-grid { grid-template-columns: minmax(0, 1fr); }
  .hang-card:nth-child(3) { max-width: none; }
  .hang-card { padding-top: 40px !important; }
  .hang-card__wire { height: 46px; }
  .hang-card__media { aspect-ratio: 16 / 11; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step { border-left: 0; padding-left: 0; }
  .work-card, .work-card--wide { grid-column: 1 / -1; }
  .work-card__caption { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .work-card p { grid-column: 1; }
  .sectors__list { grid-template-columns: minmax(0, 1fr); }
  .commit__list div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .contact__direct { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { flex-direction: column; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title, .hero__lede, .hero__actions, .hero__scope, .hang-card, .hang-bar, .hang-bar__dot, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hang-card__media img, .work-card__media img { transition: none; }
}
