/* ==========================================================================
   Sentrius Labs — DRAFT (SemiconBio-inspired, light/minimal)
   Faithful emulation: white ground, grotesque sans, mono numeric labels,
   polygon line decorations, sliding-arrow hovers, four-card grid.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f3f0;          /* warm off-white section */
  --bg-ink: #0c0d0e;          /* inverted (dark) section */
  --ink: #0c0d0e;             /* primary text */
  --ink-soft: #34363a;        /* secondary text */
  --muted: #7a7d82;           /* labels, captions */
  --line: rgba(12, 13, 14, 0.12);
  --line-strong: rgba(12, 13, 14, 0.24);
  --accent: #c9772f;          /* Sentrius warm accent, used sparingly */
  --accent-deep: #a85f20;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Shared type helpers -------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.plain::before { display: none; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
.display {
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h-sec { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.03em; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn .arw { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover .arw { transform: translateX(6px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* On dark sections */
.on-ink .btn { background: #fff; color: var(--ink); border-color: #fff; }
.on-ink .btn:hover { background: transparent; color: #fff; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(72px, 12vh, 150px) 0 clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; overflow: hidden; border-radius: 3px; }
.hero-media {
  position: relative;
  transform: scale(1.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-alt);
}

/* ---- Full-bleed video hero ------------------------------------------------ */
.hero--full {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero--full .hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: scale(1.12);   /* oversize so parallax never reveals an edge */
}
.hero--full .hero-video {
  width: 100%; height: 100%;
  aspect-ratio: auto;
  border: none; border-radius: 0;
  object-fit: cover;
}
.hero--full .ph--fill { width: 100%; height: 100%; border: none; border-radius: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.93) 34%, rgba(255,255,255,0.62) 56%, rgba(255,255,255,0.18) 78%, rgba(255,255,255,0) 92%),
    linear-gradient(0deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 32%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: clamp(48px, 9vh, 96px);
  padding-bottom: clamp(48px, 9vh, 96px);
}
.hero--full .hero-copy { max-width: 620px; }
/* Keep the lede within the bright zone + add a soft white halo so text stays
   legible over darker frames of the video. */
.hero--full .hero-copy .lede { max-width: 38ch; }
.hero--full .hero-copy h1,
.hero--full .hero-copy .lede {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}
.ph--fill { width: 100%; height: 100%; }

/* Shorter full-bleed hero for section pages (Who / What / Why / Contact) */
.hero--page { min-height: clamp(360px, 56vh, 600px); align-items: flex-end; }
.hero--page .hero-inner {
  padding-top: clamp(96px, 16vh, 160px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.hero--page .eyebrow { margin-bottom: 20px; }
.hero--page h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: -0.035em;
  max-width: 18ch;
}

/* Faint polygon line decoration */
.poly {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.poly svg { display: block; width: 100%; height: 100%; }
.poly line, .poly polygon, .poly path, .poly circle {
  stroke: var(--line-strong);
  fill: none;
  vector-effect: non-scaling-stroke;
}
.poly--hero-tr { top: -40px; right: -60px; width: 380px; height: 380px; }
.poly--hero-bl { bottom: -80px; left: -80px; width: 300px; height: 300px; opacity: 0.35; }

/* ==========================================================================
   Image placeholders (each = one Runway asset). Replace bg with real image.
   ========================================================================== */
.ph {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, #f6f5f2 0%, #ecebe6 100%);
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
}
.ph::before {  /* faint grid texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  z-index: 0;
}
.ph::after {  /* corner ticks */
  content: "";
  position: absolute; inset: 14px;
  border: 1px dashed var(--line-strong);
  z-index: 0;
}
.ph-tag {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  justify-content: flex-end;
}
.ph-tag .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 2px;
}
.ph-tag .desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  max-width: 34ch;
}
.ph-tag .dim {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.ph--hero { aspect-ratio: 4 / 3; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--card { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1 / 1; }

/* ==========================================================================
   Ticker / field-note band
   ========================================================================== */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.band-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.band-inner .flag {
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.band-inner .msg { color: var(--ink-soft); }
.band-inner a { margin-left: auto; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.band-inner a:hover { color: var(--accent); }
.band-inner a .arw { display: inline-block; margin-left: 4px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.band-inner a:hover .arw { transform: translateX(4px); }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { color: var(--ink-soft); margin-top: 20px; font-size: 18px; }

/* Three-column feature */
.feature-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.feature {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.feature .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.feature h3 { font-size: 21px; margin-bottom: 12px; }
.feature p { color: var(--ink-soft); font-size: 16px; }

/* Statement (inverted) */
.statement {
  background: var(--bg-ink);
  color: #fff;
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.statement .eyebrow { color: rgba(255,255,255,0.6); }
.statement .eyebrow::before { background: var(--accent); }
.statement h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 22px 0 0;
}
.statement-sub {
  color: rgba(255,255,255,0.62);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  max-width: 34ch;
  margin: 26px 0 0;
}
.statement .poly line, .statement .poly polygon, .statement .poly path {
  stroke: rgba(255,255,255,0.16);
}
.statement .poly--hero-tr { opacity: 1; }

/* ==========================================================================
   Applications / product cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.card:hover { border-color: var(--ink); }
.card .ph { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.card:hover .ph { transform: translateY(-4px); }
.card-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-alt);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card-img { transform: translateY(-4px); }
.card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.card h3 { font-size: 18px; line-height: 1.2; }
.card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.card .arw {
  font-family: var(--mono);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  color: var(--muted);
}
.card:hover .arw { transform: translateX(6px); color: var(--accent); }

/* Split feature (image + copy), e.g. Aether hardware */
.split-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-alt);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-copy .eyebrow { margin-bottom: 20px; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.split-copy .btn { margin-top: 14px; }

/* Brandmark row */
.brandmark {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.brandmark img { height: 34px; width: auto; opacity: 0.85; transition: opacity 0.2s ease; }
.brandmark a:hover img { opacity: 1; }

/* ==========================================================================
   Closing CTA band
   ========================================================================== */
.cta-band {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: 28px; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 34px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-ink);
  color: rgba(255,255,255,0.72);
  padding: clamp(56px, 7vw, 88px) 0 40px;
}
.footer a { color: rgba(255,255,255,0.72); transition: color 0.2s ease; }
.footer a:hover { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

/* ==========================================================================
   Content pages (who / what / why / contact)
   ========================================================================== */
.page-hero {
  padding: clamp(80px, 12vh, 150px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -0.035em; }
.article { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.article .lede {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 30ch;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 62ch);
  gap: clamp(24px, 5vw, 72px);
}
.article-grid .side { }
.article-grid .side .eyebrow { position: sticky; top: 100px; }
.article .body p { color: var(--ink-soft); margin-bottom: 22px; font-size: 17px; line-height: 1.7; }
.article .body p strong { color: var(--ink); }
.article .body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.article .body a:hover { color: var(--accent); }
.figure { margin: 36px 0; }

/* ---- Product showcase (What page: Aether) --------------------------------- */
.showcase-wrap { margin: clamp(28px, 4vw, 52px) 0 clamp(6px, 1vw, 12px); }
.showcase-wrap .eyebrow { margin-bottom: 20px; }
.showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(14px, 1.6vw, 22px);
}
.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.shot img { display: block; width: 100%; height: auto; }
.showcase--pair { grid-template-columns: 1fr 1fr; align-items: start; }
.showcase--trio { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
.showcase--trio .shot img { aspect-ratio: 1 / 1; object-fit: cover; }
.shot--feature { grid-row: 1 / 3; }
.shot--feature img { height: 100%; object-fit: cover; }
.shot-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 2px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.shot-cap--accent { border-color: var(--accent); color: var(--accent-deep); }
@media (max-width: 760px) {
  .showcase { grid-template-columns: 1fr; }
  .shot--feature { grid-row: auto; }
  .shot--feature img { height: auto; object-fit: contain; }
}
.figure figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Product blocks (What page: Aether / Quantag) ------------------------- */
.product { scroll-margin-top: 90px; }
.product + .product { margin-top: clamp(56px, 8vw, 104px); }
.product-masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding-top: clamp(30px, 4.5vw, 56px);
  margin-bottom: clamp(26px, 3.5vw, 44px);
  border-top: 2px solid var(--ink);
}
.product-id .eyebrow { margin-bottom: 16px; }
.product-name {
  font-size: clamp(30px, 4.6vw, 56px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.product-tag {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.4;
  max-width: 42ch;
}
.product-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.product-status--live { color: var(--accent-deep); border-color: var(--accent); }
.product-status--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Quantag brand panel — dark ground to match the logo's native artwork */
.brandpanel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  background: var(--bg-ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: clamp(22px, 3.4vw, 38px) clamp(24px, 3.6vw, 44px);
  margin: 4px 0 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brandpanel:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -24px rgba(12, 13, 14, 0.55);
}
.brandpanel-logo { height: clamp(38px, 5vw, 58px); width: auto; }
.brandpanel-cta {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0722a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brandpanel-cta .arw { transition: transform 0.25s ease; }
.brandpanel:hover .brandpanel-cta .arw { transform: translateX(5px); }
@media (max-width: 620px) {
  .brandpanel { justify-content: center; text-align: center; }
}

/* Closing note */
.whats-next {
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: clamp(30px, 4.5vw, 52px);
  border-top: 1px solid var(--line);
}
.pager {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pager a { color: var(--ink-soft); }
.pager a:hover { color: var(--accent); }

/* ==========================================================================
   Team grid (who page)
   ========================================================================== */
.team {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.team-head { margin-bottom: clamp(32px, 4vw, 48px); }
.team-head .eyebrow { margin-bottom: 18px; }
.team-head h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.member { display: flex; flex-direction: column; gap: 16px; }
.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-alt);
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.4s ease;
}
.member:hover .member-photo { filter: grayscale(0); }
/* Monogram fallback for members without a portrait yet */
.member-photo--mono {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
}
.member-photo--mono span {
  font-family: var(--mono);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.member-name { font-size: 19px; line-height: 1.2; }
.member-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -6px;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-3 { grid-template-columns: 1fr; gap: 8px; }
  .feature { border-top: none; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid .side .eyebrow { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links .nav-link { display: none; }
  .cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* Stronger, more even scrim so overlaid copy stays readable full-width */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.68) 45%, rgba(255,255,255,0.88) 100%);
  }
  .hero--full { min-height: 78vh; }
  .hero--full .hero-copy { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card .ph, .card .arw, .band-inner a .arw { transition: none !important; }
}
