/* =========================================================
   Pacific Building Solutions — Stylesheet
   v1 · 2026-05-08
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0e1116;       /* deep ink */
  --bg-soft:   #14181f;
  --ink:       #f4efe6;       /* warm ivory */
  --ink-muted: #a8a39a;
  --ink-dim:   #8f8a82;
  --rule:      #2a2e36;
  --gold:      #c89a4a;       /* construction-amber accent */
  --gold-soft: #d8b16d;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max:        1320px;
  --pad:        clamp(20px, 5vw, 56px);
  --radius:     2px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

/* ---------- Type ---------- */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h-mega {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h-large {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { position: relative; }
section + section { margin-top: clamp(32px, 5vw, 72px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(14,17,22,.55), rgba(14,17,22,0));
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14,17,22,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--rule);
}
.nav__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav__brand-mark::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.nav__brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
  margin-left: 18px;
}
.nav__menu {
  display: flex; gap: 28px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity .25s var(--ease);
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease);
}
.nav__menu a:hover::after { right: 0; }
.nav__cta {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 11px 20px;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }
.nav__burger { display: none; }

@media (max-width: 1180px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 30px; height: 22px; align-items: flex-end; justify-content: center;
  }
  .nav__burger span {
    display: block; height: 1.5px; background: var(--ink);
  }
  .nav__burger span:nth-child(1) { width: 22px; }
  .nav__burger span:nth-child(2) { width: 30px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  padding: 30px var(--pad);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { font-size: 22px; }
.drawer__menu {
  margin-top: 60px;
  display: flex; flex-direction: column; gap: 22px;
}
.drawer__menu a {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: clamp(40px, 7vw, 100px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.hero__slide.is-active img {
  animation: kenburns 14s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(14,17,22,.55) 0%, rgba(14,17,22,.18) 30%, rgba(14,17,22,.92) 100%),
    linear-gradient(to right, rgba(14,17,22,.62) 0%, rgba(14,17,22,0) 55%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 28px; color: var(--gold-soft); }
.hero__title { max-width: 14ch; margin: 0; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; }
.js .hero__line > span {
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.js .hero.is-ready .hero__line > span { transform: translateY(0); opacity: 1; }
.hero.is-ready .hero__line:nth-child(1) > span { transition-delay: 0.15s; }
.hero.is-ready .hero__line:nth-child(2) > span { transition-delay: 0.30s; }
.hero.is-ready .hero__line:nth-child(3) > span { transition-delay: 0.45s; }
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__caption {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__caption::before {
  content: ""; display: inline-block; width: 36px; height: 1px; background: var(--ink-muted);
}
.hero__meta {
  position: absolute; bottom: clamp(40px,7vw,100px); right: var(--pad);
  z-index: 2;
  display: flex; gap: 50px;
  text-align: left;
}
.hero__meta-item .h-eyebrow { color: var(--ink-muted); }
.hero__meta-item .num {
  font-family: var(--serif);
  font-size: clamp(32px,3.6vw,46px);
  line-height: 1;
  margin-top: 10px;
  display: inline-flex; align-items: flex-start;
}
.hero__meta-item .num sup {
  font-size: 0.45em;
  margin-left: 2px;
  color: var(--gold-soft);
  font-feature-settings: "sups";
}
.hero__scroll {
  position: absolute; left: var(--pad); bottom: 30px; z-index: 2;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 60px; background: linear-gradient(to bottom, var(--ink-muted), transparent);
  animation: scrollPulse 2.6s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); transform-origin: top; opacity: .35; }
  50%     { transform: scaleY(0.55); opacity: 1; }
}
@media (max-width: 1280px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero__meta { position: static; z-index: 2; margin: 40px var(--pad) 0; gap: 28px 40px; flex-wrap: wrap; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .hero__title { max-width: none; font-size: clamp(42px, 12vw, 64px); }
  .hero__caption { font-size: 11px; line-height: 1.7; flex-wrap: wrap; }
  .hero__meta { gap: 20px 28px; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  overflow: hidden;
  padding: 22px 0;
  margin-top: 0 !important;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set {
  display: flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  white-space: nowrap;
  font-style: italic;
  color: var(--ink);
}
.marquee__dot {
  color: var(--gold);
  font-size: 0.5em;
  font-style: normal;
}
.marquee__item { color: var(--ink); opacity: 0.92; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
section + .marquee, .marquee + section { margin-top: 0 !important; }

/* ---------- Intro / Manifesto ---------- */
.manifesto { padding: clamp(80px, 10vw, 140px) 0; }
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.manifesto__heading p { margin: 0 0 22px 0; }
.manifesto__heading h2 { margin: 0; }
.manifesto__heading h2 em { color: var(--gold-soft); font-style: italic; }
.manifesto__body p {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--ink);
}
.manifesto__body p:first-child { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; }
.manifesto__body p + p { color: var(--ink-muted); }
.manifesto__body p:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin-top: 36px;
}
@media (max-width: 800px) { .manifesto__grid { grid-template-columns: 1fr; } }

/* ---------- Capabilities strip ---------- */
.caps {
  padding: clamp(40px, 5vw, 70px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.caps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule);
}
.caps__cell {
  position: relative;
  background: var(--bg);
  padding: 32px clamp(18px, 2vw, 30px) clamp(60px, 5vw, 70px);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s var(--ease);
  cursor: pointer;
  min-height: 280px;
}
.caps__cell:hover { background: var(--bg-soft); }
.caps__cell::after {
  content: "→";
  position: absolute; bottom: 22px; right: 22px;
  font-size: 16px;
  color: var(--ink-muted);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}
.caps__cell:hover::after { opacity: 1; transform: translateX(0); color: var(--gold); }
.caps__num { font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: 0.06em; }
.caps__title { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); margin: 8px 0 0; }
.caps__desc { font-size: 13px; color: var(--ink-muted); line-height: 1.55; margin: 0; }
.caps__cred {
  position: absolute; bottom: 22px; left: clamp(18px, 2vw, 30px);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 1100px) { .caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .caps__grid { grid-template-columns: 1fr; } }

/* Hero counter sub units (m²) */
.hero__meta-item .num sub {
  font-size: 0.4em;
  margin-left: 4px;
  color: var(--gold-soft);
  vertical-align: baseline;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__title { max-width: 18ch; }
.section-head__link {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head__link::after {
  content: "→"; transition: transform .3s var(--ease);
}
.section-head__link:hover { color: var(--ink); }
.section-head__link:hover::after { transform: translateX(4px); }
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Audience selector (Build with PBS) ---------- */
.audience { padding: clamp(60px, 9vw, 120px) 0; }
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.aud-card {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3vw, 44px);
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.aud-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold) 0%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.aud-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: #181c24;
}
.aud-card:hover::before { transform: scaleX(1); }
.aud-card__num {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.aud-card__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  margin: 0;
}
.aud-card__title em { color: var(--gold-soft); font-style: italic; }
.aud-card__copy {
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.aud-card__cta {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  transition: color .3s var(--ease), letter-spacing .3s var(--ease);
}
.aud-card:hover .aud-card__cta { color: var(--gold-soft); letter-spacing: 0.24em; }
.aud-card__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.aud-card__chips li {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
@media (max-width: 1000px) { .audience__grid { grid-template-columns: 1fr; } }

/* ---------- Workshops teaser (homepage) ---------- */
.wshop-teaser { padding: clamp(60px, 8vw, 100px) 0; }
.wshop-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.wshop-teaser__copy h2 { margin: 14px 0 22px; }
.wshop-teaser__copy h2 em { color: var(--gold-soft); font-style: italic; }
.wshop-teaser__copy p { color: var(--ink-muted); max-width: 50ch; line-height: 1.6; }
.wshop-teaser__cta {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: padding-right .3s var(--ease), border-color .3s var(--ease);
}
.wshop-teaser__cta:hover { padding-right: 8px; border-color: var(--gold-soft); color: var(--gold-soft); }
.wshop-teaser__list { display: flex; flex-direction: column; }
.wshop-teaser__list li {
  display: flex; align-items: baseline; gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.01em;
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.wshop-teaser__list li:last-child { border-bottom: 1px solid var(--rule); }
.wshop-teaser__list li:hover { padding-left: 12px; color: var(--gold-soft); }
.wshop-teaser__list li span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
}
@media (max-width: 800px) { .wshop-teaser__inner { grid-template-columns: 1fr; } }

/* ---------- Projects grid ---------- */
.projects { padding: clamp(60px, 9vw, 120px) 0; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px clamp(20px, 3vw, 40px);
}
.project {
  position: relative;
  display: block;
  background: transparent;
}
.project--lg  { grid-column: span 8; }
.project--md  { grid-column: span 4; }
.project--md2 { grid-column: span 6; }
.project--md3 { grid-column: span 6; }
@media (max-width: 900px) {
  .project--lg, .project--md, .project--md2, .project--md3 { grid-column: span 12; }
}
.project__index {
  position: absolute; top: 14px; left: 14px;
  z-index: 3;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: rgba(14,17,22,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px;
  border: 1px solid rgba(244,239,230,.18);
}
.project__stamp {
  position: absolute; top: 14px; right: 14px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(14,17,22,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px;
  border: 1px solid rgba(200,154,74,.35);
}
.project__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(135deg, #15191f 0%, #0c0f14 100%);
  padding: 24px;
  letter-spacing: -0.005em;
}
.project__placeholder em { color: var(--gold-soft); font-style: italic; }
.project__placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(244,239,230,.025) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.project__placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,154,74,.08) 0%, transparent 60%);
  pointer-events: none;
}
.project__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-soft);
}
.project--lg .project__img,
.project--md2 .project__img,
.project--md3 .project__img {
  aspect-ratio: 16/10;
}
.project__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,17,22,.55) 0%, rgba(14,17,22,0) 35%);
  opacity: 0; transition: opacity .5s var(--ease);
  z-index: 2;
}
.project:hover .project__img::after { opacity: 1; }
.project__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter .6s var(--ease);
  filter: brightness(0.88) saturate(0.95);
}
.project:hover .project__img img { transform: scale(1.06); filter: brightness(1.02) saturate(1.05); }
.project__caption {
  padding: 22px 4px 4px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--rule);
  margin-top: 0;
  padding-top: 22px;
}
.project__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  margin: 0;
}
.project__meta {
  display: block;
  margin-top: 8px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
}
.project__view {
  flex-shrink: 0;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
  transition: color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.project:hover .project__view { color: var(--gold-soft); transform: translateX(4px); }

/* ---------- Productions ---------- */
.prods {
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
}
.prods::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(200,154,74,.05) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(200,154,74,.04) 0%, transparent 60%);
  pointer-events: none;
}
.prods > .wrap { position: relative; z-index: 1; }
.prods__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  max-width: 56ch;
  color: var(--ink);
  margin: 0 0 clamp(40px, 6vw, 70px);
}
.prods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
@media (max-width: 1000px) { .prods__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .prods__grid { grid-template-columns: 1fr; } }

.prod {
  position: relative;
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.prod:hover { border-color: var(--gold); transform: translateY(-4px); }

.prod__media {
  position: relative;
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, #15191f 0%, #0c0f14 100%);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.prod__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(244,239,230,.025) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.prod__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(200,154,74,.08) 0%, transparent 60%);
  pointer-events: none;
}
/* If a child <img> is inserted as src, it covers the placeholder */
.prod__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 2;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.prod:hover .prod__media img { transform: scale(1.1); }

.prod__placeholder {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  text-align: center;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 24px;
  opacity: 0.85;
}
.prod__placeholder::after {
  content: "";
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
}

.prod__caption {
  padding: 22px clamp(20px, 2vw, 28px) 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.prod__year {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.prod__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  margin: 0;
  letter-spacing: -0.005em;
}
.prod__role {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.prods__capability {
  margin-top: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-top: 50px;
  border-top: 1px solid var(--rule);
}
.prods__capability-col p:not(.h-eyebrow) {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  margin: 14px 0 0;
  color: var(--ink);
}
@media (max-width: 700px) { .prods__capability { grid-template-columns: 1fr; } }

/* ---------- Donor-funded callout ---------- */
.donor {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(135deg, rgba(200,154,74,.04) 0%, transparent 50%),
    var(--bg);
}
.donor__copy h2 { margin: 18px 0 28px; }
.donor__copy h2 em { color: var(--gold-soft); font-style: italic; }
.donor__copy .lede { color: var(--ink); margin: 0 0 60px; }
.donor__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 0 0 50px;
}
.donor__stat {
  background: var(--bg);
  padding: 36px clamp(20px, 2vw, 32px);
  display: flex; flex-direction: column; gap: 10px;
}
.donor__stat .h-eyebrow { color: var(--gold); }
.donor__num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
  display: inline-flex; align-items: baseline;
  margin-top: 8px;
}
.donor__num sup { font-size: 0.5em; color: var(--gold-soft); margin-left: 2px; }
.donor__num sub { font-size: 0.4em; color: var(--gold-soft); margin-left: 4px; vertical-align: baseline; }
.donor__stat p { font-size: 13px; line-height: 1.55; color: var(--ink-muted); margin: 8px 0 0; }
.donor__partners { padding-top: 30px; border-top: 1px solid var(--rule); }
.donor__partners .h-eyebrow { display: block; margin-bottom: 18px; }
.donor__partners ul {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.donor__partners ul li {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--ink);
  position: relative;
  padding-right: 24px;
}
.donor__partners ul li::after {
  content: "·";
  position: absolute; right: 8px; color: var(--gold);
}
.donor__partners ul li:last-child::after { content: ""; }
.donor__cta {
  display: inline-block;
  margin-top: 36px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: padding-right .3s var(--ease), color .3s var(--ease);
}
.donor__cta:hover { padding-right: 8px; color: var(--gold-soft); border-color: var(--gold-soft); }
@media (max-width: 800px) { .donor__stats { grid-template-columns: 1fr; } }

/* ---------- Developments full-bleed ---------- */
.devs {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.devs__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.devs__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.devs__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,17,22,.95) 0%, rgba(14,17,22,.45) 60%, rgba(14,17,22,.85) 100%);
}
.devs__inner { position: relative; z-index: 1; }
.devs__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.devs__copy h2 { margin: 18px 0 26px; }
.devs__list {
  margin-top: 36px;
  display: flex; flex-direction: column;
}
.devs__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  gap: 30px;
}
.devs__item:last-child { border-bottom: 1px solid var(--rule); }
.devs__item-name { font-family: var(--serif); font-size: clamp(22px,2.2vw,30px); }
.devs__item-meta {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted);
  text-align: right;
}
.devs__item-meta strong { display: block; color: var(--gold); margin-top: 6px; letter-spacing: 0.18em; }
.devs__visual { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.devs__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s var(--ease);
}
.devs__visual:hover img { transform: scale(1.08); }
.devs__visual-stamp {
  position: absolute; bottom: 18px; left: 18px;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(14,17,22,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid rgba(244,239,230,.15);
}
@media (max-width: 900px) { .devs__layout { grid-template-columns: 1fr; } }

/* ---------- Upcoming ---------- */
.upcoming { padding: clamp(60px, 9vw, 120px) 0; }
.upcoming__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 50px);
}
.upcoming-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.upcoming-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.upcoming-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.upcoming-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,17,22,.0) 0%, rgba(14,17,22,.6) 100%);
}
.upcoming-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85) saturate(.95);
  transform: scale(1.04);
  transition: transform 1.6s var(--ease), filter .8s var(--ease);
}
.upcoming-card:hover .upcoming-card__img img { transform: scale(1.1); filter: brightness(.95) saturate(1.05); }
.upcoming-card__body {
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.upcoming-card__tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.upcoming-card__title { font-family: var(--serif); font-size: clamp(28px,3.4vw,44px); line-height: 1.05; margin: 0; }
.upcoming-card__copy { color: var(--ink-muted); max-width: 42ch; line-height: 1.55; margin: 0; }
.upcoming-card__stats {
  display: flex; gap: 36px; padding-top: 22px; border-top: 1px solid var(--rule); margin-top: auto;
}
.upcoming-card__stat .label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.upcoming-card__stat .val { font-family: var(--serif); font-size: 24px; margin-top: 8px; }
.upcoming-card__cta {
  margin-top: 18px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s var(--ease), letter-spacing .3s var(--ease);
}
.upcoming-card:hover .upcoming-card__cta { color: var(--gold-soft); letter-spacing: 0.24em; }
@media (max-width: 800px) { .upcoming__grid { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.cta-strip__eyebrow { color: var(--gold-soft); margin-bottom: 24px; }
.cta-strip h2 { max-width: 18ch; margin: 0 auto 36px; }
.cta-strip__btn {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 18px 40px; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cta-strip__btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- Footer ---------- */
.foot {
  background: #0a0c11;
  border-top: 1px solid var(--rule);
  padding: clamp(60px, 8vw, 100px) 0 30px;
}
.foot__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 60px; border-bottom: 1px solid var(--rule);
}
.foot__brand .nav__brand-mark { font-size: 30px; }
.foot__brand p { color: var(--ink-muted); max-width: 38ch; margin-top: 22px; font-size: 14px; line-height: 1.7; }
.foot__col h4 {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-muted);
  margin: 0 0 22px;
}
.foot__col ul li { padding: 7px 0; font-size: 14px; }
.foot__col ul li a {
  opacity: 0.78;
  position: relative;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.foot__col ul li a:hover { opacity: 1; color: var(--gold-soft); }
.foot__bot {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 12px; color: var(--ink-dim);
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .foot__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot__brand { grid-column: span 2; }
  .foot__bot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- AI concierge stub ---------- */
.bot-trigger {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 90;
  background: var(--ink);
  color: #0e1116;
  padding: 14px 24px 14px 20px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.bot-trigger:hover { transform: translateY(-2px); background: var(--gold); }
.bot-trigger .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  animation: dot 1.8s infinite var(--ease);
  box-shadow: 0 0 0 0 var(--gold);
}
.bot-trigger:hover .dot { background: #0e1116; box-shadow: none; }
@keyframes dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,154,74,.5); }
  50%     { opacity: 0.4; box-shadow: 0 0 0 8px rgba(200,154,74,0); }
}

.bot-panel {
  position: fixed; bottom: 90px; right: 24px;
  z-index: 91;
  width: min(380px, calc(100vw - 48px));
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  padding: 22px;
  transform: translateY(20px) scale(.96);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.bot-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.bot-panel__head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.bot-panel__title { font-family: var(--serif); font-size: 20px; }
.bot-panel__close { color: var(--ink-muted); font-size: 18px; }
.bot-panel__msg {
  font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin: 8px 0 18px;
}
.bot-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bot-panel__chip {
  font-size: 12px; padding: 8px 12px;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--ink);
  transition: border-color .2s var(--ease);
}
.bot-panel__chip:hover { border-color: var(--gold); }
.bot-panel__input {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--rule); padding-top: 16px;
}
.bot-panel__input input {
  flex: 1; background: transparent; border: 0; color: var(--ink);
  font: inherit; font-size: 14px; outline: none;
}
.bot-panel__input input::placeholder { color: var(--ink-dim); }
.bot-panel__send { color: var(--gold); font-size: 18px; }

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero (smaller than homepage hero) ---------- */
.phero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: flex-end;
  padding: 160px 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  filter: brightness(.6) saturate(.95);
}
.phero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(14,17,22,.55) 0%, rgba(14,17,22,.2) 35%, rgba(14,17,22,.95) 100%),
    linear-gradient(to right, rgba(14,17,22,.55) 0%, rgba(14,17,22,0) 60%);
}
.phero__inner { position: relative; z-index: 2; }
.phero__crumb { color: var(--ink-muted); margin-bottom: 24px; }
.phero__crumb a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.phero__crumb a:hover { border-color: var(--gold); }
.phero__title {
  margin: 0 0 28px;
  max-width: 16ch;
}
.phero__title em { color: var(--gold-soft); font-style: italic; }
.phero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  max-width: 56ch;
  color: var(--ink);
}

.nav__menu a.is-current { opacity: 1; color: var(--gold-soft); }
.nav__menu a.is-current::after { right: 0; }

/* ---------- Prose section (history, policy) ---------- */
.prose { padding: clamp(80px, 10vw, 140px) 0; }
.prose__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.prose__heading p { margin: 0 0 22px 0; }
.prose__heading h2 { margin: 0; }
.prose__heading h2 em { color: var(--gold-soft); font-style: italic; }
.prose__body p {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  margin: 0 0 24px;
  color: var(--ink);
}
.prose__body p + p { color: var(--ink-muted); }
.prose__body p:last-child { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); border-left: 2px solid var(--gold); padding-left: 22px; margin-top: 36px; }
@media (max-width: 800px) { .prose__grid { grid-template-columns: 1fr; } }

/* ---------- Stat block ---------- */
.stats { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule);
}
.stats__cell {
  background: var(--bg);
  padding: 32px clamp(18px, 2vw, 30px);
  display: flex; flex-direction: column; gap: 10px;
}
.stats__cell--accent { background: var(--bg-soft); }
.stats__num {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--ink);
  margin-top: 6px;
}
.stats__num sub { font-size: 0.35em; color: var(--gold-soft); margin-left: 4px; vertical-align: baseline; }
.stats__num--text { font-size: clamp(28px, 3vw, 42px); }
.stats__num--text em { color: var(--gold-soft); font-style: italic; }
.stats__cell p { font-size: 13px; line-height: 1.55; color: var(--ink-muted); margin: 8px 0 0; }
@media (max-width: 1000px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Duo (culture + approach) ---------- */
.duo { padding: clamp(80px, 10vw, 140px) 0; }
.duo__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
.duo__col p:not(.h-eyebrow) {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 22px 0 0;
}
.duo__title { margin: 18px 0 0; }
.duo__title em { color: var(--gold-soft); font-style: italic; }
@media (max-width: 800px) { .duo__grid { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.partners__lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  max-width: 70ch;
  color: var(--ink-muted);
  margin: 0 0 60px;
}
.partners__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 50px);
}
.partners__group p.h-eyebrow { color: var(--gold); margin-bottom: 18px; }
.partners__group ul li {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.partners__group ul li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .partners__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .partners__grid { grid-template-columns: 1fr; } }

/* ---------- Archive (selected works list) ---------- */
.archive { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.archive__list { display: flex; flex-direction: column; }
.archive__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  gap: 30px;
  transition: padding .3s var(--ease);
}
.archive__row:first-child { border-top: 1px solid var(--rule); }
.archive__row:hover { padding-left: 12px; }
.archive__name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
}
.archive__loc {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Workshops ---------- */
.works { padding: clamp(60px, 9vw, 120px) 0; }
.work {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--rule);
}
.work:first-child { border-top: 0; padding-top: 0; }
.work__num {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
}
.work__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.work--rev .work__inner { grid-template-columns: 0.9fr 1.1fr; direction: rtl; }
.work--rev .work__inner > * { direction: ltr; }
.work__copy h2 { margin: 0 0 28px; }
.work__copy h2 em { color: var(--gold-soft); font-style: italic; }
.work__copy p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 18px;
  max-width: 56ch;
}
.work__copy p:first-of-type { color: var(--ink); }
.work__copy p em { font-style: italic; color: var(--gold-soft); }
.work__bullets {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.work__bullets li {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.work__bullets li::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
  flex-shrink: 0;
}
.work__visual { aspect-ratio: 4/5; overflow: hidden; }
.work__media {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, #15191f 0%, #0c0f14 100%);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.work__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(244,239,230,.025) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.work__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,154,74,.1) 0%, transparent 60%);
  pointer-events: none;
}
.work__media--text span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 5.5vw, 88px);
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.85;
}
.work__media--text::after {
  content: "";
  position: absolute;
  bottom: 18%; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px; background: var(--gold);
  z-index: 1;
}
@media (max-width: 900px) {
  .work__inner, .work--rev .work__inner { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- Procedures (safety) ---------- */
.procs { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.procs__lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  max-width: 64ch;
  color: var(--ink-muted);
  margin: 0 0 60px;
}
.procs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.procs__cell {
  background: var(--bg);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 180px;
  transition: background .3s var(--ease);
}
.procs__cell:hover { background: var(--bg-soft); }
.procs__num {
  font-family: var(--serif); font-size: 13px; color: var(--gold);
  letter-spacing: 0.08em;
}
.procs__title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.25;
  margin: 0;
}
@media (max-width: 1000px) { .procs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .procs__grid { grid-template-columns: 1fr; } }

/* ---------- Pull quote ---------- */
.pullq { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.pullq__inner { max-width: 900px; margin: 0 auto; }
.pullq p.h-eyebrow { color: var(--gold-soft); margin-bottom: 30px; }
.pullq__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Static (non-link) cards: no "clickable" cues */
div.project, div.prod, div.upcoming-card { cursor: default; }
div.prod:hover, div.upcoming-card:hover { transform: none; border-color: var(--rule); }
div.project:hover .project__img img { transform: scale(1.04); filter: brightness(0.88) saturate(0.95); }

/* ---------- Accessibility & form helpers ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: #0e1116; padding: 10px 16px; font-size: 14px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.form-status { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.form-status.is-error { color: #f0a58a; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.h-eyebrow { font-size: 12px; }

/* hero stats: label above number */
.hero__meta-item { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Careers: vacancies ---------- */
.vacancies { padding: clamp(60px, 8vw, 110px) 0 clamp(20px, 3vw, 40px); }
.vac-list { display: grid; gap: 20px; }
.vac-empty { color: var(--ink-muted); font-size: 16px; line-height: 1.7; max-width: 64ch; border: 1px dashed var(--rule); padding: 28px; margin: 0; }
.vac-empty a { color: var(--gold); border-bottom: 1px solid rgba(200,154,74,.4); }
.vac-card { background: var(--bg-soft); border: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px); transition: border-color .3s var(--ease); }
.vac-card:hover { border-color: rgba(200,154,74,.55); }
.vac-card__co { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.vac-card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; margin: 10px 0 14px; }
.vac-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.vac-meta li { font-size: 12px; letter-spacing: .06em; color: var(--ink); padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; }
.vac-summary { color: var(--ink-muted); line-height: 1.7; max-width: 72ch; margin: 18px 0 0; }
.vac-details { margin-top: 18px; border-top: 1px solid var(--rule); }
.vac-details summary { cursor: pointer; padding: 14px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); list-style: none; }
.vac-details summary::-webkit-details-marker { display: none; }
.vac-details summary::after { content: " +"; color: var(--gold); }
.vac-details[open] summary::after { content: " −"; }
.vac-detail { margin: 6px 0 18px; }
.vac-detail h4 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; margin: 0 0 8px; }
.vac-detail ul { padding-left: 18px; margin: 0; }
.vac-detail li { color: var(--ink-muted); line-height: 1.7; font-size: 15px; }
.vac-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.vac-close { font-size: 13px; color: var(--ink-muted); }
.vac-close.is-soon { color: var(--gold-soft); }
.btn-apply { background: var(--gold); color: #0e1116; border: 0; padding: 14px 26px; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn-apply:hover { background: var(--gold-soft); transform: translateY(-1px); }
.vac-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: rgba(200,154,74,.1); border: 1px solid rgba(200,154,74,.45); padding: 16px 20px; font-size: 15px; }
.vac-banner[hidden] { display: none; }
.vac-banner strong { color: var(--gold-soft); font-weight: 600; }
.vac-banner button { background: none; border: 0; color: var(--ink-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ---------- Team tiles ---------- */
.team { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.team__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(18px, 2vw, 28px); }
.member { background: var(--bg-soft); border: 1px solid var(--rule); padding: 18px 18px 22px; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.member:hover { border-color: var(--gold); transform: translateY(-4px); }
.member__photo { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(200,154,74,.18), transparent 60%), var(--bg); border: 1px solid var(--rule); }
.member__photo span { font-family: var(--serif); font-size: clamp(44px, 4vw, 60px); color: var(--gold-soft); letter-spacing: .02em; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; margin: 0 0 6px; }
.member__role { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); line-height: 1.6; margin: 0; }
@media (max-width: 1100px) { .team__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .team__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .member { padding: 12px 12px 16px; } .member__role { letter-spacing: .1em; } }
