/* =========================================================
   BLKWLF CUSTOMS — site styles
   Palette pulled from the brushed-steel logo + the brass
   inlays / timber / stone of The Keystone.
   ========================================================= */

:root {
  /* surfaces */
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* text */
  --text: #eeebe6;
  --muted: #a7a39c;
  --dim: #7d7a75;

  /* light "bone" sections */
  --bone: #ece8e1;
  --bone-2: #e2ddd4;
  --ink: #141414;
  --ink-muted: #55524d;

  /* brand */
  --brass: #c9a464;
  --brass-hi: #e0c48f;
  --brass-ink: #0a0a0b;
  --timber: #a8683f;
  --steel: linear-gradient(180deg, #ffffff 0%, #d8dadf 38%, #8a8d95 55%, #c9ccd2 72%, #f4f5f7 100%);

  /* type */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* spacing (spacious marketing scale) */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --max: 1320px;
  --radius: 18px;
  --radius-sm: 10px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 800ms;

  /* layers */
  --z-header: 40;
  --z-menu: 60;
  --z-lightbox: 100;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--brass-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--brass-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 28px; height: 28px; stroke-width: 1.5; }

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.steel {
  color: #dcdde1;
  background: var(--steel);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-stretch: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0 0 10px; letter-spacing: 0; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; margin: 0; }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  touch-action: manipulation;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-brass { background: var(--brass); color: var(--brass-ink); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #2a2a2a; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.04em;
  padding-block: 10px; border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.link-arrow:hover { border-color: var(--brass); color: var(--brass-hi); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 10, 11, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100px; }
.brand { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.brand img { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.14)); }
.brand-mark { height: 78px; width: auto; }
.brand-word { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.brand-tag {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 0.47rem; line-height: 1.2;
  letter-spacing: 0.3em; text-transform: uppercase; color: #cfd0d4; white-space: nowrap;
  padding-left: 0.3em; /* balance the trailing letter-spacing so lines sit centred */
}
.brand-tag span:first-child { padding-bottom: 4px; border-bottom: 1px solid rgba(201, 164, 100, 0.7); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color var(--t-fast);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { --h: 46px; padding: 0 20px; font-size: 0.85rem; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-strong);
  align-items: center; justify-content: center;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.mobile-menu nav { margin-top: 32px; flex: 1; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.6rem;
}
.mobile-menu .btn { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 60px; overflow: hidden; isolation: isolate;
}
.hero::before {
  /* the spotlight glow from the logo */
  content: ""; position: absolute; z-index: -1; inset: -20% 30% 20% -20%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.hero-title .serif { display: block; font-size: 0.7em; line-height: 1.05; margin-top: 0.08em; color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); }
.hero-copy .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--brass); }

.hero-media {
  position: relative; justify-self: end; width: 100%; max-width: 470px;
  aspect-ratio: 9 / 16; max-height: calc(100svh - 170px);
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; background: var(--surface);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Home hero, desktop/tablet: full-bleed drone video running off the right edge
   behind an angled cut. (Phones use the full-screen version further down.) */
@media (min-width: 861px) {
  .hero .hero-grid { grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr); }
  .hero .hero-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 50vw;
    max-width: none; max-height: none; aspect-ratio: auto;
    border-radius: 0; box-shadow: none; z-index: -1;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero .hero-media video { object-position: 50% 62%; }
  .hero .hero-media::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0.8) 0, rgba(10, 10, 11, 0) 160px), linear-gradient(90deg, rgba(10, 10, 11, 0.55), transparent 45%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6)); }
  .hero .media-caption { left: 26%; right: var(--gutter); bottom: 28px; }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.65));
}
.media-caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-size: 0.82rem; letter-spacing: 0.06em;
}
.media-caption strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.02em; }
.media-caption span { color: rgba(255, 255, 255, 0.78); }

/* Home hero slideshow: crossfading project photos with a slow push-in */
.hero-slides .hs-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; will-change: opacity, transform;
}
.hero-slides .hs-slide.is-active { opacity: 1; z-index: 1; }
.hero-slides .hs-slide.is-active, .hero-slides .hs-slide.is-leaving { animation: hs-push 8s linear forwards; }
.hero-slides.is-paused .hs-slide { animation-play-state: paused; }
@keyframes hs-push { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-slides::after { z-index: 1; }
.hero-slides .media-caption { z-index: 3; }
.hs-caption strong, .hs-caption span { transition: opacity 0.5s ease; }
.hs-caption.is-swapping strong, .hs-caption.is-swapping span { opacity: 0; }
.hs-ctrl { display: flex; align-items: center; gap: 14px; color: inherit; }
.hs-dots { display: flex; gap: 2px; color: inherit; }
.hs-dot {
  width: 26px; height: 24px; padding: 10px 2px; border: 0; background: transparent; cursor: pointer;
}
.hs-dot::before { content: ""; display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); transition: background-color 0.3s; }
.hs-dot[aria-current="true"]::before { background: var(--brass-hi); }
.hs-dot:hover::before { background: rgba(255, 255, 255, 0.8); }
@media (max-width: 860px) { .hs-dots { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slides .hs-slide { transition-duration: 0.01s; }
  .hero-slides .hs-slide.is-active, .hero-slides .hs-slide.is-leaving { animation: none; }
}
.video-toggle {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color var(--t-fast);
}
.video-toggle:hover { background: rgba(0, 0, 0, 0.7); }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* services ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  display: flex; align-items: center; gap: 32px; padding: 22px 16px 22px 0; margin-right: 16px;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.06em; color: var(--muted);
  white-space: nowrap;
}
.ticker li::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { max-width: 46ch; }

/* manifesto */
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.manifesto-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-img figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 10, 11, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text);
}
.statement { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; }
.statement .serif { color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); }
.manifesto-body { margin-top: 32px; color: var(--muted); max-width: 56ch; }
.signoff { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.signoff p { margin: 0; }
.signoff-photo {
  width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 4px var(--bg), 0 0 0 5px rgba(201, 164, 100, 0.45);
  filter: saturate(0.85);
}
.signoff-name { display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; line-height: 1.1; color: var(--text); }
.signoff-role { display: block; margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-hi); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.pillar { padding: 24px 24px 0 0; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; color: var(--brass); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.about-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); margin-top: clamp(72px, 9vw, 128px); padding-top: 48px; border-top: 1px solid var(--line); }
.about-col { color: var(--muted); max-width: 54ch; }
.about-h { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.12; color: var(--text); margin: 0 0 20px; text-wrap: balance; }
.about-pull { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; color: var(--brass-hi); }
.about-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; letter-spacing: 0.04em; color: var(--brass-hi); border-bottom: 1px solid rgba(201, 164, 100, 0.4); padding-bottom: 4px; transition: color var(--t-fast), border-color var(--t-fast); }
.about-link .icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.about-link:hover { color: var(--text); border-color: var(--text); }
.about-link:hover .icon { transform: translateX(3px); }
.about-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(72px, 9vw, 128px); }
.about-story-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; }
.about-story-title .serif { color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); }
.about-story-body { margin-top: 28px; color: var(--muted); max-width: 60ch; }
.about-word { margin: 0; padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); position: sticky; top: 120px; }
.about-word blockquote { margin: 0 0 28px; font-family: "Manrope", var(--font-body); font-style: normal; font-weight: 300; font-size: clamp(1.02rem, 1.35vw, 1.1rem); line-height: 1.75; letter-spacing: 0; color: var(--text); }
.about-word .signoff { margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* featured project bento */
.feature { background: var(--bg-2); border-block: 1px solid var(--line); }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(220px, 24vw, 340px));
}
.bento-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bento-item:hover img { transform: scale(1.04); }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }
.bento-tag {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 10, 11, 0.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.feature-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 48px; }
.spec-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.spec-list li { padding: 18px 20px 0 0; }
.spec-list dt, .spec-k { display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.spec-v { color: var(--text); font-weight: 500; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 460px; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  isolation: isolate; transition: border-color var(--t-med);
}
.service:hover { border-color: var(--line-strong); }
.service-img { position: absolute; inset: 0; z-index: -2; }
.service-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: grayscale(0.4); transition: opacity var(--t-slow) var(--ease-out), transform 1.2s var(--ease-out), filter var(--t-slow); }
.service:hover .service-img img { opacity: 0.6; transform: scale(1.05); filter: grayscale(0); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0.2) 0%, rgba(10, 10, 11, 0.92) 70%); }
.service-body { margin-top: auto; padding: 26px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 26px 26px 0;
  border: 1px solid var(--line-strong); color: var(--brass-hi); background: rgba(10, 10, 11, 0.5);
}
.service p { color: #c4c0b9; font-size: 0.95rem; margin: 0; }

/* process (bone section) */
.bone { background: var(--bone); color: var(--ink); }
.bone .eyebrow { color: #8a6a33; }
.bone .lede { color: var(--ink-muted); }
.bone .display { color: var(--ink); }
.bone .serif { color: #8a6a33; -webkit-text-fill-color: #8a6a33; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.step { position: relative; padding: 32px 22px 0 0; border-top: 1px solid rgba(20, 20, 20, 0.2); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(20, 20, 20, 0.45); margin-bottom: 22px;
}
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; transform: rotate(45deg); background: #8a6a33; }
/* keep every step's number, title and copy on shared rows so they line up */
@supports (grid-template-rows: subgrid) {
  .steps { grid-template-rows: auto auto 1fr; }
  .step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .step::before { grid-row: 1; }
  .step h3 { align-self: start; }
}
.bone :focus-visible { outline-color: #14140f; }

/* Google reviews */
.btn-ghost-ink { border-color: rgba(20, 20, 20, 0.3); color: var(--ink); }
.btn-ghost-ink:hover { border-color: var(--ink); background: rgba(20, 20, 20, 0.05); }
.reviews-body { display: grid; grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.rv-summary {
  display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius);
  background: var(--bone-2); position: sticky; top: 120px;
}
.rv-google { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 1px 0 rgba(20, 20, 20, 0.08); }
.rv-score strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.rv-score span { color: var(--ink-muted); }
.rv-score .rv-big { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.rv-stars { display: inline-flex; gap: 2px; color: #b8862f; font-size: 1rem; letter-spacing: 0; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-actions .btn[hidden] { display: none; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.rv-card { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px; border-radius: var(--radius); background: #f6f3ec; border: 1px solid rgba(20, 20, 20, 0.08); }
.rv-card blockquote { margin: 0; color: var(--ink); line-height: 1.6; }
.rv-card figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--ink-muted); }
.rv-card figcaption strong { color: var(--ink); }
.rv-card blockquote p { margin: 0 0 0.7em; }
.rv-card blockquote p:last-child { margin-bottom: 0; }
.rv-card blockquote.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.rv-more { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; font: inherit; font-size: 0.88rem; font-weight: 600; color: #8a6a33; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-author { color: inherit; text-decoration: none; }
.rv-author:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.rv-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--ink-muted); }
.rv-empty {
  grid-column: 1 / -1; display: grid; place-content: center; text-align: center; gap: 6px; min-height: 220px; padding: 32px;
  border: 1px dashed rgba(20, 20, 20, 0.22); border-radius: var(--radius); color: var(--ink-muted);
}
.rv-empty p { margin: 0; }
.rv-empty-title { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); }
@media (max-width: 860px) {
  .reviews-body { grid-template-columns: 1fr; }
  .rv-summary { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .rv-actions { width: 100%; }
}
.step p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }
.process-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding: 28px 32px; border-radius: var(--radius); background: var(--bone-2); }
.process-foot p { margin: 0; font-size: 1.1rem; max-width: 52ch; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; }
.gallery-item[hidden] { display: none; }
.gallery-btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; position: relative;
}
.gallery-btn img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease-out), opacity var(--t-med); }
.gallery-item.is-wide .gallery-btn img { aspect-ratio: 4 / 5; }
.gallery-btn:hover img { transform: scale(1.04); }
.gallery-btn::after {
  content: attr(data-label); position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 10, 11, 0.7); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.gallery-btn:hover::after, .gallery-btn:focus-visible::after { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox); width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, 0.96); color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lb-count { font-size: 0.85rem; letter-spacing: 0.14em; color: var(--muted); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; }
.lb-stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: var(--radius-sm); }
.lb-caption { text-align: center; padding: 16px var(--gutter) 24px; color: var(--muted); font-size: 0.95rem; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); transition: background-color var(--t-fast);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--text); }
.contact-list a:hover { color: var(--brass-hi); }
.contact-list .icon { color: var(--brass); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; }
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a7a39c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201, 164, 100, 0.25); }
.field [aria-invalid="true"] { border-color: #ef8a7a; }
.field-error { color: #f3a093; font-size: 0.85rem; min-height: 0; }
.field-hint { color: var(--dim); font-size: 0.82rem; }
.field-label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; }
.field-optional { font-weight: 400; color: var(--dim); letter-spacing: 0; }
/* file upload: plans & inspiration */
.field .dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 26px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 0.95rem; font-weight: 400; letter-spacing: 0; cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.dropzone .icon { color: var(--brass-hi); }
.dropzone strong { color: var(--text); font-weight: 600; }
.dz-browse { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }
.dropzone:hover, .dropzone.is-over { border-color: var(--brass); background: rgba(201, 164, 100, 0.06); }
.dropzone:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201, 164, 100, 0.25); }
.dz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dz-list:empty { display: none; }
.dz-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.88rem;
}
.dz-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-size { color: var(--dim); font-size: 0.8rem; white-space: nowrap; }
.dz-remove {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; line-height: 1;
}
.dz-remove:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-foot small { color: var(--dim); max-width: 40ch; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(201, 164, 100, 0.12); border: 1px solid rgba(201, 164, 100, 0.4); }
.form-status[hidden] { display: none; }
.form-status.is-error { background: rgba(220, 90, 70, 0.12); border-color: rgba(220, 90, 70, 0.5); }
.form-status:focus { outline: none; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

/* footer */
.site-footer { background: #050506; border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-logo { width: 220px; margin-bottom: 20px; }
.footer-grid h3 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); transition: color var(--t-fast); }
.footer-grid li a:hover { color: var(--text); }
.footer-about { color: var(--muted); max-width: 36ch; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.82rem; }
/* Watch it rise: drag-to-build slider */
.rise-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rise-copy .lede { margin-top: 22px; }
.rise-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 4px; }
.rise-steps button {
  width: 100%; display: flex; align-items: flex-start; gap: 18px; text-align: left; padding: 14px 16px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast);
}
.rise-steps button:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.rise-steps button[aria-current="step"] { background: rgba(201, 164, 100, 0.08); color: var(--text); }
.rs-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.16em; color: var(--brass-hi); padding-top: 3px; }
.rs-text strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; }
.rs-text span { display: block; font-size: 0.92rem; margin-top: 2px; }
.rise-viewer { width: 100%; max-width: min(560px, calc((100svh - 230px) * 0.8)); justify-self: end; }
.rise-stage {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #111;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
}
.rise-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; will-change: opacity; }
.rise-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 22%, transparent 80%, rgba(0, 0, 0, 0.35)); }
.rise-label {
  position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 10, 11, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.rl-num { color: var(--brass-hi); font-weight: 700; }
.rise-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(10, 10, 11, 0.6); border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.4s;
  animation: rise-nudge 2.4s ease-in-out infinite;
}
.rise-hint.is-gone { opacity: 0; animation: none; }
@keyframes rise-nudge { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 8px)); } }
.rise-track { margin-top: 20px; }
.rise-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
  --fill: 0%;
}
.rise-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brass) var(--fill), rgba(255, 255, 255, 0.18) var(--fill)); }
.rise-range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.rise-range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--brass); }
.rise-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: 50%;
  background: var(--brass-hi); border: 4px solid #0a0a0b; box-shadow: 0 0 0 1px var(--brass), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.rise-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--brass-hi); border: 4px solid #0a0a0b; box-shadow: 0 0 0 1px var(--brass); }
.rise-range:focus-visible { outline: none; }
.rise-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--brass-hi), 0 6px 18px rgba(0, 0, 0, 0.5); }
.rise-ticks { position: relative; height: 1.2em; margin: 6px 13px 0; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.rise-ticks span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.rise-ticks span:first-child { transform: none; margin-left: -13px; }
.rise-ticks span:last-child { transform: translateX(-100%); margin-left: 13px; }
.rise-caption { margin: 14px 0 0; font-size: 0.82rem; color: var(--dim); }
.rise-caption a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rise-caption a:hover { color: var(--brass-hi); }
@media (max-width: 600px) { .rise-ticks .rt-minor { display: none; } }
@media (max-width: 860px) {
  .rise-grid { grid-template-columns: 1fr; }
  .rise-viewer { justify-self: stretch; max-width: none; order: 2; }
  .rise-steps { display: none; }   /* the labelled slider below the photo does this job on small screens */
}
@media (max-width: 600px) { .rise-ticks { font-size: 0.6rem; letter-spacing: 0.08em; } }
@media (prefers-reduced-motion: reduce) { .rise-hint { animation: none; } }

/* footer verse: a quiet signature above the legal line */
.footer-verse { margin: 80px auto 0; max-width: 40rem; text-align: center; }
.footer-verse blockquote {
  margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.3; color: #cfd0d4;
}
.footer-verse blockquote p { margin: 0; }
.footer-verse figcaption {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-hi);
}
.footer-verse figcaption::before, .footer-verse figcaption::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.footer-verse abbr { text-decoration: none; border: 0; }
@media (max-width: 600px) { .footer-verse { margin-top: 56px; } .footer-verse blockquote { font-size: 1.3rem; } }

/* ---------- case study page ---------- */
.cs-hero { padding-top: 140px; padding-bottom: 40px; }
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cs-hero-grid > div:first-child { container-type: inline-size; }
.cs-title { font-size: clamp(2.4rem, 6vw, 6rem); }
/* size to the title's own column so the longest word ("KEYSTONE" ≈ 7.2em wide) always fits */
@supports (font-size: 1cqi) { .cs-title { font-size: min(6.5rem, 13.2cqi); } }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; }
.breadcrumb a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: var(--text); }
.cs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.cs-facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.cs-facts dt { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cs-facts dd { margin: 4px 0 0; font-weight: 500; }
.cs-feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; margin-top: 48px; }
.cs-feature .hero-media { max-width: none; justify-self: stretch; max-height: 86svh; border-radius: var(--radius); }
.cs-feature-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.cs-feature-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.cs-feature--pair { grid-template-columns: 1fr; }
.cs-feature--pair .cs-feature-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.cs-feature--pair .gallery-btn { aspect-ratio: 3 / 4; max-height: 86svh; }
@media (max-width: 600px) { .cs-feature--pair .cs-feature-stack { gap: 8px; } }
.chapter { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.chapter-copy { position: sticky; top: 120px; align-self: start; }
.chapter-copy .display { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 20px; }
.chapter-copy p { color: var(--muted); }
.chapter-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chapter-imgs .gallery-btn img { aspect-ratio: 3 / 4; }
.chapter-imgs .span-2 { grid-column: span 2; }
.chapter-imgs .span-2 img { aspect-ratio: 4 / 3; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@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; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 380px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-foot { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { height: 80px; }
  .brand { gap: 10px; }
  .brand-mark { height: 56px; }
  .brand-word { height: 32px; }
  .brand-text { gap: 3px; }
  .brand-tag { font-size: 0.4rem; letter-spacing: 0.24em; gap: 3px; }
  .brand-tag span:first-child { padding-bottom: 3px; }
  .nav-cta .btn { display: none; }

  /* hero: drone video becomes the full-bleed background */
  .hero { align-items: flex-end; padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media {
    position: absolute; inset: 0; z-index: -2; max-width: none; max-height: none; aspect-ratio: auto;
    border-radius: 0; box-shadow: none;
  }
  .hero-media::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0.5) 22%, rgba(10, 10, 11, 0.86) 52%, var(--bg) 100%); }
  .media-caption { top: 92px; bottom: auto; left: var(--gutter); right: var(--gutter); }
  .media-caption > div { display: none; }
  .media-caption { justify-content: flex-end; }
  .hero::before { display: none; }

  .manifesto-grid, .contact-grid, .cs-hero-grid, .chapter, .cs-feature { grid-template-columns: 1fr; }
  .manifesto-img { aspect-ratio: 4 / 3; }
  .chapter-copy { position: static; }
  .pillars, .spec-list, .about-duo, .about-story { grid-template-columns: 1fr; }
  .about-word { position: static; }
  .pillar, .pillar + .pillar { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 200px; }
  .bento-item.tall { grid-row: span 2; }
  .bento-item.wide { grid-column: span 2; }
  .cs-feature .hero-media { position: relative; z-index: auto; aspect-ratio: 9 / 16; max-height: 80svh; border-radius: var(--radius); }
  .cs-feature .hero-media .media-caption { top: auto; bottom: 16px; }
  .cs-feature .hero-media .media-caption > div { display: block; }
  .cs-feature .hero-media .media-caption { justify-content: space-between; }

  /* build journey: vertical timeline (slim line + brass diamonds) */
  .steps { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
  .step, .step:last-child {
    display: block; grid-row: auto; grid-column: auto; border-top: 0;
    margin-left: 5px; padding: 0 0 40px 34px;
    background: linear-gradient(rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.2)) no-repeat 0 0 / 1px 100%;
  }
  .step:first-child { background-position: 0 22px; }
  .step:last-child { padding-bottom: 0; background-size: 1px 22px; }
  .step::after { top: 18px; left: -4px; }
  .step::before { font-size: 2.6rem; margin-bottom: 14px; }
  .step h3 { margin-bottom: 8px; }
  .step p { max-width: 46ch; }
  .process-foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 48px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .services-grid, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-foot .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .bento { grid-auto-rows: 160px; gap: 10px; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lightbox[open] { grid-template-rows: auto 1fr 120px; }
  .lb-caption { padding-top: 76px; }
  .process-foot { padding: 22px; }
  .chapter-imgs { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* =========================================================
   PROJECT HIGHLIGHTS (home) + PROJECT FILM PAGE (equinox)
   ========================================================= */
.projects { display: grid; gap: clamp(28px, 4vw, 56px); }
.ph {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "media info" "strip strip";
  gap: 14px; padding: 14px; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 -30px 80px -30px rgba(0, 0, 0, 0.95);
}
.ph-media { grid-area: media; position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; isolation: isolate; }
.ph-media video { width: 100%; height: 100%; object-fit: cover; }
.ph-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0, transparent 26%, transparent 62%, rgba(0, 0, 0, 0.7) 100%); }
.ph-num { position: absolute; top: 16px; left: 20px; z-index: 2; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.22em; color: var(--brass-hi); }
.ph-badge { position: absolute; top: 12px; right: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 11, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph-controls { position: absolute; left: 16px; right: 18px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.ph-film-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.ph-progress { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.ph-progress i { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.ph-info { grid-area: info; display: flex; flex-direction: column; padding: clamp(8px, 1.6vw, 24px); min-width: 0; }
.ph-info .eyebrow { margin-bottom: 16px; }
.ph-title { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.ph-title .serif { display: block; font-size: 0.6em; line-height: 1.1; margin-top: 0.1em; color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); }
.ph-info > p { color: var(--muted); margin: 18px 0 0; max-width: 46ch; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ph-tags li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ph-actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.ph-strip { grid-area: strip; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ph-strip .gallery-btn img { aspect-ratio: 4 / 3; }
.ph-more {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.ph-more strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: 0; color: var(--brass-hi); }
.ph-more:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--brass); color: var(--text); }
/* still-image project card (renders, no film) */
.ph-still { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; }
.ph-still img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 60%; border-radius: 0; transition: transform 1.6s var(--ease, ease); }
.ph-still:hover img, .ph-still:focus-visible img { transform: scale(1.03); }
.ph--stills .ph-controls { pointer-events: none; justify-content: flex-end; }
/* still-photo cards: let the main photo fill the full height of the text column (no empty gap beneath it) */
@media (min-width: 861px) { .ph--stills .ph-media { aspect-ratio: auto; min-height: clamp(320px, 30vw, 460px); } }
@media (prefers-reduced-motion: reduce) { .ph-still img { transition: none; } .ph-still:hover img { transform: none; } }

/* project film page: full-screen hero film */
.film-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; padding: 120px 0 clamp(28px, 4vw, 48px); }
.film-media { position: absolute; inset: 0; z-index: -1; margin: 0; background: #000; }
.film-media video, .film-media img { width: 100%; height: 100%; object-fit: cover; }
.film-media.is-still img { animation: still-push 18s ease-out both; }
@keyframes still-push { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .film-media.is-still img { animation: none; } }
.film-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 11, 0.8) 0, rgba(10, 10, 11, 0) 190px), linear-gradient(0deg, var(--bg) 0, rgba(10, 10, 11, 0.6) 30%, rgba(10, 10, 11, 0) 60%); }
.film-hero .breadcrumb { margin-bottom: 12px; }
.film-title { font-size: clamp(3rem, 13vw, 12rem); line-height: 0.86; }
/* fit the longest title word ("EQUINOX" ≈ 6em wide) to its column on every screen */
:has(> .film-title) { container-type: inline-size; }
@supports (font-size: 1cqi) { .film-title { font-size: min(12rem, 15.6cqi); } }
.film-title .serif { display: block; font-size: 0.4em; line-height: 1.1; margin-top: 0.12em; color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); }
.film-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line-strong); }
.film-facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; }
.film-facts dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.film-facts dd { margin: 4px 0 0; font-weight: 500; }
.film-ctrl { display: flex; align-items: center; gap: 14px; width: min(340px, 100%); position: static; }

.eq-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.eq-intro .statement { margin: 0; }
.eq-intro .statement .serif { color: var(--brass-hi); }
.eq-intro p { color: var(--muted); }

/* highlights reel: full-bleed horizontal film strip */
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.reel-nav { display: flex; gap: 10px; }
.reel-nav .icon-btn[disabled] { opacity: 0.3; cursor: default; }
.reel {
  --inset: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  padding: 0 var(--inset) 6px; scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel .gallery-btn { flex: 0 0 auto; scroll-snap-align: start; height: clamp(280px, 64vh, 660px); aspect-ratio: 4 / 3; width: auto; max-width: 86vw; border-radius: var(--radius); }
.reel .gallery-btn.is-portrait { aspect-ratio: 3 / 4; }
.reel .gallery-btn img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.reel .gallery-btn::after { opacity: 1; transform: none; left: 16px; bottom: 16px; }

/* chapters with landscape photography */
.chapter-imgs.is-landscape .gallery-btn img { aspect-ratio: 4 / 3; }
.chapter-imgs.is-landscape .span-2 img { aspect-ratio: 16 / 9; }
.chapter-imgs.is-landscape .gallery-btn.is-portrait img { aspect-ratio: 3 / 4; }
.chapter-copy .ch-count { display: inline-block; margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

/* next project */
.next-project { position: relative; display: flex; align-items: flex-end; min-height: clamp(360px, 60vh, 620px); border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.next-project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.35) 70%), linear-gradient(0deg, rgba(10, 10, 11, 0.6), transparent 50%); }
.next-project:hover img { transform: scale(1.04); }
.next-project-inner { padding: clamp(24px, 5vw, 64px); }
.next-project .display { font-size: clamp(2.4rem, 7vw, 6rem); }
.next-project .serif { display: block; font-size: 0.5em; color: var(--brass-hi); -webkit-text-fill-color: var(--brass-hi); margin-top: 0.1em; }
.next-project .link-arrow { margin-top: 24px; }

@media (max-width: 1100px) {
  .ph { grid-template-columns: 1fr; grid-template-areas: "media" "info" "strip"; position: relative; top: auto; }
  .ph-info { padding: 8px 8px 4px; }
}
@media (max-width: 860px) {
  .ph-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; }
  .ph-strip::-webkit-scrollbar { display: none; }
  .ph-strip > * { flex: 0 0 44%; scroll-snap-align: start; }
  .ph-more { aspect-ratio: 4 / 3; }
  .eq-intro { grid-template-columns: 1fr; }
  .film-hero { min-height: 92svh; }
  .reel-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .ph { padding: 10px; }
  .ph-media { aspect-ratio: 4 / 3; }
  .ph-strip > * { flex-basis: 62%; }
  .film-facts { gap: 12px 28px; }
  .reel .gallery-btn { height: 56vh; }
}

/* Equinox film is 4:3 footage pillarboxed inside a 16:9 frame: crop the black bars, then cover the box */
.crop-43 { container-type: size; }
.crop-43 .v-inner { position: absolute; left: 50%; top: 50%; width: max(100cqw, 133.334cqh); height: max(100cqh, 75cqw); transform: translate(-50%, -50%); overflow: hidden; }
.crop-43 .v-inner video { position: absolute; top: 0; left: -16.667%; width: 133.334%; height: 100%; max-width: none; object-fit: contain; }

/* ---------- project highlights: "grow" scroll effect ----------
   main.js sets --p from 0 to 1 as each project scrolls into view; the card scales up,
   fades in and its corners tighten. No --p (no JS) = fully shown. */
.projects { gap: clamp(56px, 8vw, 120px); }
.projects .ph {
  transform: scale(calc(0.84 + 0.16 * var(--p, 1)));
  opacity: calc(0.35 + 0.65 * var(--p, 1));
  border-radius: calc(var(--radius) + 6px + (1 - var(--p, 1)) * 40px);
  transform-origin: 50% 0;
}
/* ---------- build story film (project page) ---------- */
.story-section { border-top: 1px solid var(--line); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 14px; align-items: start; }
.story-player { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0d0f12; box-shadow: 0 40px 100px -40px #000, 0 0 0 1px var(--line); }
.story-player video { width: 100%; height: 100%; object-fit: contain; background: #0d0f12; }
.story-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px;
  border: 0; padding: 0; color: var(--text); background: linear-gradient(180deg, rgba(10, 10, 11, 0.15), rgba(10, 10, 11, 0.55));
  transition: background-color var(--t-med), opacity var(--t-med);
}
.story-play-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brass); color: var(--brass-ink); box-shadow: 0 0 0 10px rgba(201, 164, 100, 0.2);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.story-play-icon .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.story-play:hover .story-play-icon { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(201, 164, 100, 0.16); }
.story-play-text { display: flex; flex-direction: column; text-align: left; }
.story-play-text strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: 0.01em; }
.story-play-text span { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.story.is-playing .story-play { opacity: 0; pointer-events: none; }

.story-chapters { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.story-chapters button {
  position: relative; width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 10px 14px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted); text-align: left; overflow: hidden; transition: background-color var(--t-fast), color var(--t-fast);
}
.story-chapters button:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.sc-time { flex: none; min-width: 34px; padding-top: 2px; font-size: 0.78rem; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--dim); }
.sc-text { display: flex; flex-direction: column; gap: 2px; }
.sc-text strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em; color: inherit; }
.sc-text small { font-size: 0.8rem; color: var(--dim); }
.story-chapters button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.story-chapters button[aria-current="true"] { background: rgba(201, 164, 100, 0.1); color: var(--text); }
.story-chapters button[aria-current="true"] .sc-time { color: var(--brass-hi); }

@media (max-width: 1100px) {
  .story { grid-template-columns: 1fr; }
  .story-chapters { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .story-chapters::-webkit-scrollbar { display: none; }
  .story-chapters li { flex: 0 0 min(240px, 70vw); scroll-snap-align: start; }
  .story-chapters button { height: 100%; }
}
@media (max-width: 600px) {
  .story-play { flex-direction: column; gap: 12px; }
  .story-play-text { text-align: center; }
  .story-play-icon { width: 64px; height: 64px; }
}
