/* ==========================================================================
   Nothrim Labs — site styles
   Brand: green #0E683C, yellow #FDCE2F, taken from the Nothrim Labs mark.
   ========================================================================== */

:root {
  --green-900: #072b1a;
  --green-800: #0a4529;
  --green:     #0e683c;
  --green-600: #17824c;
  --green-300: #7cc39a;
  --yellow:    #fdce2f;
  --yellow-soft: #fef3c8;

  --ink:    #0f1512;
  --ink-70: #3c4842;
  --muted:  #5f6d65;
  --paper:  #f8f6f0;
  --paper-2:#ffffff;
  --sand:   #efece2;

  --line:      rgba(15, 21, 18, 0.12);
  --line-soft: rgba(15, 21, 18, 0.07);

  --wrap: 1160px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15,21,18,.05), 0 6px 20px -12px rgba(15,21,18,.18);
  --shadow:    0 2px 4px rgba(15,21,18,.04), 0 18px 44px -24px rgba(15,21,18,.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }        /* the UA default is 1em 40px, which throws off every card */
blockquote { margin: 0; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- layout helpers ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.measure { max-width: 760px; }

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper-2); }
@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .wrap { padding: 0 20px; }
}

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- type ---------- */

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--yellow); flex: none;
}
.eyebrow--plain::before { display: none; }
/* keeps product names cased as written (infraUS, anhik.ai) */
.eyebrow--exact { text-transform: none; letter-spacing: .01em; font-size: 13.5px; }

.display   { font-size: clamp(2.5rem, 6.2vw, 4.15rem); letter-spacing: -0.035em; }
.h2        { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
.h3        { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.h4        { font-size: 1.12rem; letter-spacing: -0.015em; }

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.58;
  color: var(--ink-70);
  max-width: 62ch;
}
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.55; }
.tiny  { font-size: 13px; line-height: 1.5; color: var(--muted); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; font-family: var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-800); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(15,21,18,.03); }
.btn--light { background: var(--yellow); color: var(--ink); }
.btn--light:hover { background: #ffd94f; }
.btn--sm { padding: 9px 18px; font-size: 14.5px; }
.btn .arr { transition: transform .16s ease; }
.btn:hover .arr { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15.5px;
  color: var(--green); text-decoration: none;
  border-bottom: 1.5px solid rgba(14,104,60,.28);
  padding-bottom: 2px;
  transition: border-color .16s ease, gap .16s ease;
}
.link:hover { border-color: var(--green); gap: 11px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 246, 240, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: block; }
.brand b {
  display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; line-height: 1; color: var(--ink);
}
.brand-text > span {
  display: block; font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-70);
  transition: background .15s ease, color .15s ease;
}
.nav a:not(.btn):hover { background: rgba(15,21,18,.05); color: var(--ink); }
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); font-weight: 600; background: rgba(14,104,60,.09); }
.nav > .btn { display: none; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px; flex: none;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ink); position: relative; transition: background .15s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -26px rgba(15,21,18,.5);
    padding: 10px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 12px; border-radius: var(--r-sm); font-size: 16.5px; }
  .nav > .btn { display: inline-flex; margin-top: 10px; justify-content: center; }
}

/* ---------- hero ---------- */

.hero { padding: 76px 0 84px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 40%;
  height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253,206,47,.22), transparent 72%);
  pointer-events: none; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: 24px; font-size: clamp(2.1rem, 4.3vw, 3.3rem); }
.hero .lede { margin-bottom: 30px; }

.hero-note {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted);
}
.hero-note b { color: var(--ink); font-weight: 600; }

/* photo mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 74px;
  gap: 12px;
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--sand); box-shadow: var(--shadow-sm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m1 { grid-column: 1 / 4; grid-row: 1 / 4; }
.mosaic .m2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.mosaic .m3 { grid-column: 4 / 7; grid-row: 3 / 6; }
.mosaic .m4 { grid-column: 1 / 4; grid-row: 4 / 6; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mosaic { grid-auto-rows: 64px; }
}

/* ---------- logo strip ---------- */

.logostrip { padding-top: 34px; padding-bottom: 34px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.logostrip-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.logostrip .label {
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; flex: none;
}
.logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logos span {
  display: flex; align-items: center; justify-content: center;
  height: 68px; width: 142px; padding: 12px 16px;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 14px;
}
.logos img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- generic grids ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- approach cards ---------- */

.approach { border-top: 1px solid var(--line); padding-top: 24px; }
.approach .num {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--green); letter-spacing: .08em; margin-bottom: 14px;
}
.approach h3 { margin-bottom: 12px; font-size: 1.24rem; }
.approach p { color: var(--ink-70); font-size: 16px; }

/* ---------- project cards ---------- */

.pcard {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.pcard-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); position: relative; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard .tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.pcard h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pcard p { color: var(--ink-70); font-size: 15.5px; margin-bottom: 18px; }
.pcard .go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--green);
}
.pcard:hover .go .arr { transform: translateX(3px); }
.go .arr { transition: transform .18s ease; }

.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard-media { aspect-ratio: 21 / 9; }
@media (max-width: 620px) { .pcard--wide { grid-column: span 1; } }

/* ---------- long project rows ---------- */

.prow {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  gap: 56px; align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line-soft);
}
.prow:first-of-type { border-top: 0; padding-top: 20px; }
.prow--flip .prow-text { order: 2; }
@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; gap: 34px; padding: 46px 0; }
  .prow--flip .prow-text { order: 0; }
}
.prow h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 14px; }
.prow .lede { margin-bottom: 22px; font-size: 1.03rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chip {
  font-size: 13px; font-weight: 500; color: var(--ink-70);
  background: rgba(15,21,18,.045); border: 1px solid var(--line-soft);
  padding: 5px 12px; border-radius: 999px;
}

.shot {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--paper-2);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot figcaption {
  font-size: 13px; color: var(--muted); padding: 11px 15px;
  border-top: 1px solid var(--line-soft); background: var(--paper-2);
}

.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 520px) { .shot-pair { grid-template-columns: 1fr; } }

/* phone frame */
.phone {
  border-radius: 26px; overflow: hidden;
  border: 6px solid #14181a; background: #14181a;
  box-shadow: var(--shadow); margin: 0;
}
.phone img { width: 100%; border-radius: 20px; }
.phone-row {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  align-items: start;
}
.phone-row--2 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- numbers ---------- */

.numbers { background: var(--green-900); color: #fff; }
.numbers .eyebrow { color: var(--yellow); }
.numbers .eyebrow::before { background: var(--yellow); }
.numbers h2 { color: #fff; }
.numbers .lede { color: rgba(255,255,255,.72); }
.nlist { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; margin-top: 48px; }
@media (max-width: 860px) { .nlist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.nitem { padding: 28px 26px; background: rgba(255,255,255,.045); }
.nitem .n {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -.03em;
  color: var(--yellow); margin-bottom: 12px;
}
.nitem .k { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.nitem .s { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- page hero (inner pages) ---------- */

.phero { padding: 66px 0 44px; }
.phero .display { font-size: clamp(2.3rem, 5.2vw, 3.6rem); margin-bottom: 22px; }
.phero .lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); }

.meta {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r);
  overflow: hidden; margin-top: 40px;
}
@media (max-width: 760px) { .meta { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.meta div { background: var(--paper); padding: 18px 20px; }
.meta dt { font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.meta dd { margin: 0; font-size: 15.5px; font-weight: 500; }
.meta dd a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(14,104,60,.3); word-break: break-word; }
.meta dd a:hover { border-color: var(--green); }

.hero-banner {
  border-radius: var(--r-lg); overflow: hidden; margin-top: 44px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); background: var(--sand);
}
.hero-banner img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- prose blocks ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 34px 0 12px; }
.prose p { color: var(--ink-70); }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--ink-70);
}
.prose ul li::before {
  content: ""; position: absolute; left: 3px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--yellow);
}
.prose strong { color: var(--ink); font-weight: 600; }

/* steps */
.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.step { background: var(--paper-2); padding: 26px 28px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 10px; } }
.step .idx {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow-soft); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.step .h4 { margin-bottom: 8px; }
.step p { color: var(--ink-70); font-size: 15.5px; }

/* fact list */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; gap: 20px; } }
.fact { border-left: 2px solid var(--yellow); padding-left: 18px; }
.fact .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.fact p { font-size: 15px; color: var(--ink-70); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.gallery .shot { display: flex; flex-direction: column; height: 100%; }
.gallery .shot figcaption { margin-top: auto; }
.gallery--nocaps { align-items: start; }
/* photo galleries mix portrait and landscape, so normalise the crop */
.gallery--photos .shot img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.gallery--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 800px) { .gallery--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .gallery--3 { grid-template-columns: 1fr; } }

/* recognition list */
.reclist { border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.recitem {
  display: grid; grid-template-columns: 168px 1fr; gap: 22px;
  padding: 20px 26px; border-top: 1px solid var(--line-soft);
}
.recitem:first-child { border-top: 0; }
.recitem .badge {
  align-self: start; justify-self: start; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); background: rgba(14,104,60,.09);
  padding: 5px 11px; border-radius: 999px; margin-top: 3px;
}
.recitem .h4 { margin-bottom: 3px; }
@media (max-width: 560px) {
  .recitem { grid-template-columns: 1fr; gap: 10px; }
}

/* pull quote */
.pull {
  border-left: 3px solid var(--green); padding: 6px 0 6px 26px;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.34; letter-spacing: -.02em; color: var(--ink);
}
.pull cite { display: block; font-family: var(--font-body); font-size: 14px; font-style: normal; color: var(--muted); margin-top: 14px; letter-spacing: 0; font-weight: 500; }

/* ---------- team ---------- */

.person { text-align: left; }
.person .ph {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sand); margin-bottom: 18px;
}
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person h3 { font-size: 1.15rem; margin-bottom: 4px; }
.person .role { font-size: 14.5px; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.person .note { font-size: 14px; color: var(--muted); }

/* ---------- partner grid ---------- */

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
@media (max-width: 820px) { .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.pgrid > div {
  background: var(--paper-2); min-height: 158px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 26px 20px; text-align: center;
}
.pgrid .mark { height: 68px; display: flex; align-items: center; justify-content: center; }
.pgrid img { max-height: 68px; max-width: 175px; width: auto; object-fit: contain; }
.pgrid span { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA ---------- */

.cta { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: 56px 48px; }
@media (max-width: 700px) { .cta { padding: 38px 26px; } }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.82); max-width: 56ch; }
.cta .btn--light { margin-top: 8px; }
.cta-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 40px; align-items: center; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; gap: 26px; } }
.cta-list { list-style: none; margin: 0; padding: 0; }
.cta-list li {
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 15px; color: rgba(255,255,255,.9);
}
.cta-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 34px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand b { color: #fff; }
.site-footer .brand span { color: rgba(255,255,255,.5); }
.site-footer .foot-h { color: #fff; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; font-family: var(--font-body); line-height: 1.4; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--yellow); }
.footer-about { max-width: 34ch; margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Visual layer: hero lockup, isometric diagram, flows, viewers, motion
   ========================================================================== */

/* ---------- hero brand lockup ---------- */

.hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.hero-brand img { width: 64px; height: 64px; flex: none; }
.hero-brand .wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; line-height: 1; letter-spacing: -0.03em; color: var(--ink);
}
.hero-brand .kicker {
  display: block; margin-top: 6px;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
@media (max-width: 620px) {
  .hero-brand img { width: 44px; height: 44px; }
  .hero-brand .wordmark { font-size: 21px; }
}

/* ---------- isometric layer diagram ---------- */

/* The stack is drawn in 3D, so the raised top plane projects upwards well
   beyond the flat box. --lift is how far it rises; the insets below leave
   room for that projection so nothing spills out of the container. */
.iso {
  --lift: 186px;
  position: relative;
  aspect-ratio: 1 / 0.92;
  max-width: 520px;
  margin-left: auto;
  perspective: 1250px;
  perspective-origin: 50% 46%;
}
.iso-stage {
  position: absolute; inset: 27% 14% 7%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-40deg);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.iso-plane {
  position: absolute; inset: 0;
  border-radius: 10px;
  transform-style: preserve-3d;
  animation: isoFloat 7s ease-in-out infinite;
}
.iso-plane--sat   { --z: var(--lift); animation-delay: 0s; }
.iso-plane--model { --z: calc(var(--lift) * 0.5); animation-delay: -2.3s; }
.iso-plane--place { --z: 0px;   animation-delay: -4.6s; }

@keyframes isoFloat {
  0%, 100% { transform: translateZ(var(--z)); }
  50%      { transform: translateZ(calc(var(--z) + 9px)); }
}

.iso-face {
  position: absolute; inset: 0;
  border-radius: 10px; overflow: hidden;
  background: var(--paper-2);
  border: 1px solid rgba(15,21,18,.14);
  box-shadow: 0 26px 46px -26px rgba(7,43,26,.5);
}
/* the middle layer sits over the map, so let a little of it through */
.iso-plane--model .iso-face { background: rgba(255,255,255,.72); backdrop-filter: blur(1px); }

/* satellite raster */
.iso-cells { display: grid; grid-template-columns: repeat(16, 1fr); width: 100%; height: 100%; }
.iso-cells i { display: block; aspect-ratio: 1; }
.iso-cells i.pulse { animation: cellPulse 4.5s ease-in-out infinite; }
@keyframes cellPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* analysis mesh */
.iso-mesh { width: 100%; height: 100%; display: block; }
.iso-mesh .edge { stroke: var(--green-600); stroke-width: 1.1; opacity: .5; }
.iso-mesh .node { fill: var(--green); }
.iso-mesh .node.hot { fill: var(--yellow); }
.iso-mesh .sweep {
  stroke: var(--yellow); stroke-width: 2; fill: none;
  stroke-dasharray: 60 460; animation: meshSweep 5s linear infinite;
}
@keyframes meshSweep { to { stroke-dashoffset: -520; } }

/* the place */
.iso-map { width: 100%; height: 100%; display: block; }
.iso-map .block { fill: rgba(15,21,18,.13); }
.iso-map .road  { stroke: rgba(15,21,18,.2); stroke-width: 3.4; }
.iso-map .green { fill: rgba(23,130,76,.55); }
.iso-map .pin   { fill: var(--green); animation: pinPop 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinPop { 0%,70%,100% { transform: scale(1); } 80% { transform: scale(1.5); } }

/* corner posts tying the planes together */
.iso-post {
  position: absolute; width: 1px; height: 168px; bottom: 0;
  background: linear-gradient(to top, rgba(14,104,60,0), rgba(14,104,60,.4));
  transform-origin: bottom center; transform: rotateX(-90deg);
}
.iso-post--a { left: 0;  top: 0; }
.iso-post--b { right: 0; top: 0; }
.iso-post--c { left: 0;  bottom: 0; }
.iso-post--d { right: 0; bottom: 0; }

/* flat labels, drawn over the 3D scene so they stay readable */
.iso-labels { position: absolute; inset: 0; pointer-events: none; }
.iso-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 6px 13px 6px 9px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(6px);
  animation: tagIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}
.iso-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.iso-tag.t1 { top: 4%;  right: 0;   animation-delay: .35s; }
.iso-tag.t1 i { background: var(--yellow); }
.iso-tag.t2 { top: 44%; left: 0;    animation-delay: .55s; }
.iso-tag.t3 { bottom: 9%; right: 3%; animation-delay: .75s; }
@keyframes tagIn { to { opacity: 1; transform: none; } }

/* The lift is a pixel value, so it needs stepping down as the column narrows. */
@media (max-width: 1200px) { .iso { --lift: 150px; } }
@media (max-width: 900px) {
  .iso { --lift: 138px; max-width: 400px; margin: 8px auto 0; }
}
@media (max-width: 520px) {
  .iso { --lift: 118px; max-width: 340px; }
}
@media (max-width: 520px) {
  .iso-tag { font-size: 11.5px; padding: 5px 10px 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .iso-plane, .iso-cells i.pulse, .iso-mesh .sweep, .iso-map .pin { animation: none; }
  .iso-plane { transform: translateZ(var(--z)); }
  .iso-tag { opacity: 1; transform: none; animation: none; }
}

/* ---------- process flow ---------- */

.flow { display: grid; gap: 0; grid-auto-flow: column; grid-auto-columns: 1fr; }
.flow-step { position: relative; padding: 0 22px 0 0; }
.flow-step:last-child { padding-right: 0; }

.flow-rail { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.flow-dot {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line);
  color: var(--green);
}
.flow-dot svg { width: 17px; height: 17px; }
.flow-line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.flow-step:last-child .flow-line { display: none; }
.flow-line::after {
  content: ""; position: absolute; top: -1.5px; left: -30%;
  width: 30%; height: 4px; border-radius: 4px; background: var(--yellow);
  animation: flowRun 3.4s cubic-bezier(.5,0,.5,1) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes flowRun { 0% { left: -32%; } 55%, 100% { left: 104%; } }

.flow h4, .flow .h4 { margin-bottom: 7px; font-size: 1.02rem; }
.flow p { font-size: 14.5px; color: var(--ink-70); line-height: 1.55; }

@media (max-width: 860px) {
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 26px; }
  .flow-step { padding: 0 0 0 48px; }
  .flow-rail { position: absolute; left: 0; top: 0; flex-direction: column; height: 100%; align-items: flex-start; margin: 0; }
  .flow-line { width: 1px; height: auto; flex: 1; min-height: 26px; }
  .flow-line::after { top: -30%; left: -1.5px; width: 4px; height: 30%; animation-name: flowRunV; }
  @keyframes flowRunV { 0% { top: -32%; } 55%, 100% { top: 104%; } }
}
@media (prefers-reduced-motion: reduce) { .flow-line::after { animation: none; opacity: .5; left: 0; width: 100%; } }

/* ---------- interactive screenshot viewer ---------- */

.viewer { display: grid; gap: 18px; }
.viewer-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.viewer-tab {
  appearance: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-70);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.viewer-tab:hover { border-color: var(--ink); color: var(--ink); }
.viewer-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.viewer-stage {
  position: relative; border-radius: var(--r);
  border: 1px solid var(--line-soft); background: var(--paper-2);
  box-shadow: var(--shadow); overflow: hidden;
}
.viewer-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.viewer-panel[data-active] { position: relative; opacity: 1; visibility: visible; }
.viewer-panel img { width: 100%; display: block; }
.viewer-cap {
  padding: 13px 17px; border-top: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--muted); background: var(--paper-2);
}
.viewer-cap b { color: var(--ink); font-weight: 600; }
.viewer--phone .viewer-stage { max-width: 300px; margin: 0 auto; border-radius: 26px; border: 6px solid #14181a; background: #14181a; }
.viewer--phone .viewer-cap { display: none; }
.viewer--phone .viewer-tabs { justify-content: center; }

/* ---------- pointer tilt ---------- */

.tilt { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear; }
@media (prefers-reduced-motion: reduce) { .tilt { transform: none !important; } }

/* ---------- staggered reveal ---------- */

.js .stagger > * { opacity: 0; transform: translateY(16px); }
.js .stagger.in > * {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .stagger > *, .js .stagger.in > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- count-up numerals ---------- */

.count { font-variant-numeric: tabular-nums; }

/* ---------- field photo band ---------- */

.fieldband { overflow: hidden; }
.fieldstrip { display: flex; gap: 16px; width: max-content; animation: drift 46s linear infinite; }
.fieldband:hover .fieldstrip { animation-play-state: paused; }
.fieldstrip figure {
  width: 300px; flex: none; border-radius: var(--r); overflow: hidden;
  background: var(--sand); box-shadow: var(--shadow-sm);
}
.fieldstrip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@keyframes drift { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .fieldstrip { animation: none; } }

/* ---------- self-drawing SVG diagrams ---------- */

/* Wide diagrams keep their proportions and scroll sideways on small screens
   rather than shrinking their labels into illegibility. */
.dgm-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
.dgm-scroll::after {
  content: "Swipe to see the whole diagram";
  display: block; margin-top: 10px;
  font-size: 12.5px; color: var(--muted);
}
@media (min-width: 800px) { .dgm-scroll::after { display: none; } }
.dgm { width: 100%; min-width: 660px; height: auto; display: block; }
@media (min-width: 800px) { .dgm { min-width: 0; } }
.dgm text { font-family: var(--font-body); fill: var(--ink-70); }
.dgm .lbl { font-size: 13px; font-weight: 600; fill: var(--ink); }
.dgm .invert { font-size: 12.5px; font-weight: 600; fill: #fff; }
.dgm .mid { text-anchor: middle; }
.dgm .sub { font-size: 11.5px; fill: var(--muted); }
.dgm .stroke { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.dgm .faint  { fill: none; stroke: var(--line); stroke-width: 1.4; }
.dgm .fill-y { fill: var(--yellow); }
.dgm .fill-g { fill: var(--green); }
.dgm .fill-soft { fill: rgba(14,104,60,.09); }

.js .draw .stroke, .js .draw .drawme {
  stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600);
}
.js .draw.in .stroke, .js .draw.in .drawme {
  animation: drawIn 1.5s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 140ms);
}
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.js .draw .pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; }
.js .draw.in .pop {
  animation: popIn .5s cubic-bezier(.34,1.4,.64,1) forwards;
  animation-delay: calc(.25s + var(--i, 0) * 110ms);
}
@keyframes popIn { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .js .draw .stroke, .js .draw .drawme { stroke-dashoffset: 0; }
  .js .draw .pop { opacity: 1; transform: none; }
}

/* ---------- spectrogram canvas ---------- */

.spectro {
  width: 100%; aspect-ratio: 16 / 7; display: block;
  border-radius: var(--r); background: #0d1512;
  border: 1px solid var(--line-soft);
}
.spectro-hint {
  display: block; margin-top: 11px;
  font-size: 13px; color: var(--muted);
}

/* ==========================================================================
   ATMOSPHERIC LAYER
   The dawn-over-the-delta treatment: sky, grain, near-monochrome type, and
   the scroll-driven sections that carry the home page. Brand green survives
   here only as a small accent; the palette does the talking instead.
   ========================================================================== */

:root {
  --night:  #0c1618;
  --dusk:   #1d2f31;
  --slate:  #47585a;
  --haze:   #8fa09d;
  --amber:  #e5a163;
  --blush:  #efc8a6;
  --cream:  #f8f2e6;
  --shell:  #fbf8f2;

  --on-dark:      rgba(255,255,255,.94);
  --on-dark-soft: rgba(255,255,255,.62);
  --on-dark-line: rgba(255,255,255,.14);

  --ease-out: cubic-bezier(.22,.72,.24,1);
  --ease-soft: cubic-bezier(.4,0,.15,1);
}

/* ---------- grain ----------
   One generated noise tile, reused wherever a surface would otherwise look
   like flat CSS. Kept as a data URI so the page still has no extra requests. */

.grain,
.grain-fixed::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.grain {
  position: absolute; inset: 0;
  opacity: .16; mix-blend-mode: overlay; pointer-events: none; z-index: 4;
}

/* ==========================================================================
   The sky
   ========================================================================== */

.hero-sky {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  /* pulled up under the transparent header */
  margin-top: -82px; padding-top: 82px;
  color: var(--on-dark);
}

.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Reading scrim. The sky is at its lightest exactly where the copy sits, so
   this keeps the contrast honest without darkening the whole scene. */
.hero-sky::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(102deg, rgba(7,15,20,.74) 0%, rgba(7,15,20,.46) 32%, rgba(7,15,20,.06) 58%, transparent 72%);
}
@media (max-width: 900px) {
  .hero-sky::before { background: linear-gradient(to bottom, rgba(7,15,20,.5) 0%, rgba(7,15,20,.62) 55%, rgba(7,15,20,.2) 88%, transparent 100%); }
}

.sky-grad {
  position: absolute; inset: 0;
  /* Night holds most of the frame; the dawn only breaks in the bottom third,
     which is what keeps the headline sitting on dark sky rather than on haze. */
  background: linear-gradient(
    to bottom,
    #09131a 0%,
    #0d1d24 22%,
    #1a3138 41%,
    #3f4c48 56%,
    #7f7259 67%,
    #b98f63 76%,
    #dfa872 84%,
    #f0c9a1 92%,
    #f8f2e6 100%
  );
}

/* the sun, just under the horizon line */
.sky-sun {
  position: absolute; left: 50%; bottom: 8%;
  width: min(720px, 88vw); aspect-ratio: 1;
  transform: translate(-50%, 50%);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255,236,196,.95) 0%,
    rgba(253,206,47,.42) 22%,
    rgba(229,161,99,.28) 42%,
    rgba(229,161,99,0) 68%
  );
  filter: blur(2px);
}

.sky-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-art .stars { opacity: .8; }
.sky-art .cloud ellipse { fill: currentColor; }
.sky-art .cloud--far  { color: #55636b; opacity: .5;  transform: translateX(var(--px-far, 0px)); }
.sky-art .cloud--mid  { color: #c79a72; opacity: .55; transform: translateX(var(--px-mid, 0px)); }
.sky-art .cloud--near { color: #f6dcb9; opacity: .5;  transform: translateX(var(--px-near, 0px)); }
.sky-art .cloud { transition: transform .6s linear; will-change: transform; }

@keyframes cloudDrift { to { transform: translateX(var(--drift, 60px)); } }
.js .sky-art .cloud--far  { animation: cloudDrift 190s ease-in-out infinite alternate; --drift: 70px; }
.js .sky-art .cloud--mid  { animation: cloudDrift 140s ease-in-out infinite alternate; --drift: -90px; }
.js .sky-art .cloud--near { animation: cloudDrift 100s ease-in-out infinite alternate; --drift: 120px; }

/* ---------- the land plane ---------- */

.sky-land {
  position: absolute; left: 50%; bottom: -12%;
  width: 200%; height: 50%;
  opacity: .42;
  transform: translateX(-50%);
  perspective: 620px;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, #000 66%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 34%, #000 66%, transparent 96%);
}
.land-plane {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 5px;
  opacity: .55;
  transform: rotateX(74deg) translateZ(var(--land-z, 0px));
  transform-origin: 50% 0%;
  transition: transform .5s var(--ease-out);
}
.land-plane .cell {
  display: block;
  background: rgba(255,255,255,calc(var(--o, .1) * .55));
  border-radius: 2px;
}
.land-plane .cell.lit  { background: rgba(124,195,154,.7); box-shadow: 0 0 18px rgba(124,195,154,.55); }
.land-plane .cell.warm { background: rgba(253,206,47,.6);  box-shadow: 0 0 16px rgba(253,206,47,.4); }
.js .land-plane .cell.lit,
.js .land-plane .cell.warm { animation: cellBreathe 6s ease-in-out infinite; }
.land-plane .cell:nth-child(3n)  { animation-delay: -1.7s; }
.land-plane .cell:nth-child(5n)  { animation-delay: -3.4s; }
@keyframes cellBreathe { 0%,100% { opacity: 1; } 50% { opacity: .38; } }

/* the warm wash where the land meets the sun */
.sky-haze {
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(to top, rgba(248,242,230,.9), rgba(240,201,161,.28) 42%, transparent 100%);
  z-index: 3;
}

/* ==========================================================================
   Hero content
   ========================================================================== */

.hero-sky > .wrap { position: relative; z-index: 5; padding-top: 4vh; padding-bottom: 12vh; }
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-visual { position: relative; }
.js .hero-visual { animation: fadeUp 1.4s var(--ease-out) .5s both; }
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { display: none; }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--on-dark-soft);
}
.pill i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex: none;
  box-shadow: 0 0 0 3px rgba(253,206,47,.2);
}
.js .pill { animation: fadeUp .9s var(--ease-out) both; }

.hero-sky .display {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: .97;
  letter-spacing: -.045em;
  font-weight: 500;
  max-width: 13ch;
  color: #fff;
  text-shadow: 0 2px 40px rgba(10,20,24,.35);
}

/* word-by-word mask reveal — the boxes are inline, the container is not, so
   applying this to a heading must not change how that heading lays out. */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word > span { display: inline-block; }
.js .word > span { transform: translateY(105%); }
.js .words.in .word > span {
  transform: none;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.hero-sky .hero-lede {
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  max-width: 46ch;
  color: rgba(255,255,255,.78);
}
.js .hero-sky .hero-lede,
.js .hero-sky .btn-row { animation: fadeUp 1s var(--ease-out) both; }
.js .hero-sky .hero-lede { animation-delay: .55s; }
.js .hero-sky .btn-row   { animation-delay: .7s; }
.hero-sky .btn-row { margin-top: 34px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.btn--cream { background: var(--cream); color: var(--night); }
.btn--cream:hover { background: #fff; }
.btn--outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.btn--outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 5;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(19,26,25,.5); font-weight: 600;
}
.scroll-cue span { display: block; width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(19,26,25,.4), transparent); }
.js .scroll-cue { animation: fadeUp 1s var(--ease-out) 1.1s both; }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* header over the sky */
.site-header--over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--over .brand b { color: #fff; }
.site-header--over .brand-text > span { color: rgba(255,255,255,.5); }
.site-header--over .nav a:not(.btn) { color: rgba(255,255,255,.75); }
.site-header--over .nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.1); }
.site-header--over .header-cta .btn--primary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.site-header--over .header-cta .btn--primary:hover { background: rgba(255,255,255,.2); }
.site-header--over .nav-toggle { border-color: rgba(255,255,255,.3); }
.site-header--over .nav-toggle span,
.site-header--over .nav-toggle span::before,
.site-header--over .nav-toggle span::after { background: #fff; }
/* once scrolled past the sky it becomes an ordinary bar again */
.site-header--over.is-past { background: rgba(251,248,242,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header--over.is-past .brand b { color: var(--ink); }
.site-header--over.is-past .brand-text > span { color: var(--muted); }
.site-header--over.is-past .nav a:not(.btn) { color: var(--ink-70); }
.site-header--over.is-past .nav a:not(.btn):hover { color: var(--ink); background: rgba(15,21,18,.05); }
.site-header--over.is-past .header-cta .btn--primary { background: var(--night); color: #fff; border-color: transparent; }
.site-header--over.is-past .header-cta .btn--primary:hover { background: var(--dusk); }
.site-header--over.is-past .nav-toggle { border-color: var(--line); }
.site-header--over.is-past .nav-toggle span,
.site-header--over.is-past .nav-toggle span::before,
.site-header--over.is-past .nav-toggle span::after { background: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .js .sky-art .cloud, .js .land-plane .cell.lit, .js .land-plane .cell.warm { animation: none; }
  .js .word > span { transform: none; }
  .js .pill, .js .hero-sky .hero-lede, .js .hero-sky .btn-row, .js .scroll-cue { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   Atmospheric sections
   ========================================================================== */

.band { position: relative; padding: clamp(80px, 11vh, 140px) 0; }
.band--shell { background: var(--shell); }
.band--night {
  background: var(--night); color: var(--on-dark);
  isolation: isolate;
}
.band--night::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(90% 120% at 12% 0%, rgba(229,161,99,.16), transparent 60%),
              radial-gradient(70% 100% at 92% 100%, rgba(23,130,76,.18), transparent 62%);
}
.band--night > .wrap { position: relative; z-index: 2; }
.band--night .grain { z-index: 1; opacity: .1; }

/* section labels — the eyebrow, restated for the atmospheric pages */
.tagline {
  display: flex; align-items: center; gap: 11px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 26px;
}
.tagline::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; flex: none; }
.band--night .tagline { color: rgba(255,255,255,.45); }

.title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.02; letter-spacing: -.038em; font-weight: 500;
  max-width: 18ch; margin: 0;
}
/* Linear's two-tone heading: the claim, then the qualifier stepped back. It
   reads as one running sentence, so it needs a wider measure and a step down
   in size from a stacked title. */
.title--run {
  max-width: 26ch;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.14;
}
.band--night .title { color: #fff; }

/* ==========================================================================
   Marquee of supporter logos
   ========================================================================== */

.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--shell);
  padding: 30px 0 34px;
  display: flex; flex-direction: column; gap: 22px;
}
.marquee-label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0;
}

/* The track is wider than the page and slides left, so it needs its own
   clipping context — otherwise it runs out under the label. */
.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 20px;
  width: max-content; padding: 0 36px;
}
.js .marquee-track { animation: marquee 58s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* A uniform slot per supporter. Without it the square boxed logos read twice
   as heavy as the wide wordmarks sitting next to them. */
.sup {
  display: flex; align-items: center; justify-content: center;
  height: 84px; min-width: 200px; padding: 0 24px; flex: none;
}
/* These marks are boxed art on solid colour, not flat monochrome wordmarks —
   desaturating them turns each one into a grey rectangle, so they run in
   colour and the surrounding type carries the monochrome instead. */
.marquee-track img {
  width: auto; max-width: 194px; object-fit: contain;
  opacity: .88; transition: opacity .3s ease, transform .3s ease;
}
.sup:hover img { opacity: 1; transform: scale(1.04); }

/* Supporters with no logo file yet still belong in the row. */
.sup-word {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  letter-spacing: -.02em; line-height: 1.15; color: var(--ink-70);
  text-align: center; transition: color .3s ease;
}
.sup:hover .sup-word { color: var(--ink); }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 700px) {
  .sup { height: 60px; min-width: 150px; padding: 0 16px; }
  .marquee-track img { max-height: 44px !important; max-width: 138px; }
  .sup-word { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .js .marquee-track { animation: none; } }

/* ==========================================================================
   Showcase — five projects against one sticky pane
   ========================================================================== */

.showcase { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(40px, 6vw, 88px); align-items: start; }

.showcase-list { display: grid; }
.showcase-item {
  text-decoration: none; color: inherit;
  min-height: 46vh; padding: 40px 0;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--on-dark-line);
  opacity: .34;
  transition: opacity .5s var(--ease-soft);
}
.showcase-item:first-child { border-top: 0; }
.showcase-item.is-active { opacity: 1; }
.showcase-item .idx {
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em;
  color: rgba(255,255,255,.4); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.showcase-item .idx::after {
  content: ""; height: 1px; flex: 1; background: currentColor; opacity: .35;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.showcase-item.is-active .idx::after { transform: scaleX(1); }
.showcase-item h3 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.04em; font-weight: 500;
  color: #fff; margin: 0 0 14px;
}
.showcase-item .one {
  font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.5;
  color: rgba(255,255,255,.66); max-width: 34ch; margin: 0;
}
.showcase-item .go {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--yellow);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.showcase-item.is-active .go { opacity: 1; transform: none; }
.showcase-item:hover .go .arr { transform: translateX(4px); }

.showcase-pane {
  position: sticky; top: 96px;
  aspect-ratio: 16 / 11;
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--on-dark-line);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9);
}
.showcase-fig {
  position: absolute; inset: 0; margin: 0;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center; padding: 22px;
  opacity: 0; transform: scale(1.04);
  transition: opacity .8s var(--ease-soft), transform 1.4s var(--ease-out);
}
.showcase-fig.is-active { opacity: 1; transform: none; }
.showcase-fig img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 7px;
  box-shadow: 0 18px 44px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.09);
}

/* A portrait capture is a phone, so it gets a handset frame rather than
   floating as a tall sliver in a landscape window. */
.showcase-fig--phone img {
  max-height: 100%;
  border-radius: 18px;
  border: 5px solid #12181a;
  box-shadow: 0 22px 50px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.14);
}
.showcase-fig figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

.showcase-inline { display: none; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 0; }
  .showcase-pane { display: none; }
  .showcase-item { min-height: 0; opacity: 1; padding: 34px 0; }
  .showcase-item .go { opacity: 1; transform: none; }
  .showcase-item .idx::after { transform: scaleX(1); }
  .showcase-inline {
    display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center; margin: 22px 0 0;
    border-radius: 14px; padding: 16px;
    aspect-ratio: 16/10;
    background: rgba(255,255,255,.03); border: 1px solid var(--on-dark-line);
  }
  .showcase-inline img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; border-radius: 6px;
  }
  .showcase-inline--phone { aspect-ratio: 4/3; }
  .showcase-inline--phone img { border-radius: 14px; border: 4px solid #12181a; }
}

/* ==========================================================================
   Method — sticky heading, progress rail, four rules
   ========================================================================== */

.method { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.method-head { position: sticky; top: 120px; }

.method-steps { position: relative; padding-left: 46px; }
.method-rail {
  position: absolute; left: 0; top: 14vh; bottom: 14vh; width: 1px;
  background: var(--line);
}
.method-rail::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 3px; border-radius: 3px;
  height: var(--progress, 0%);
  background: linear-gradient(to bottom, var(--amber), var(--green-600));
  transition: height .18s linear;
}
.mstep {
  position: relative; padding: 34px 0;
  min-height: 28vh;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line-soft);
  opacity: .38; transition: opacity .5s var(--ease-soft);
}
.mstep:first-child { border-top: 0; }
.mstep.is-active { opacity: 1; }
.mstep::before {
  content: ""; position: absolute; left: -50px; top: 50%; margin-top: -4.5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--shell); border: 1.5px solid var(--line);
  transition: background .4s ease, border-color .4s ease, transform .4s var(--ease-out);
}
.mstep.is-active::before { background: var(--amber); border-color: var(--amber); transform: scale(1.35); }
.mstep .n {
  font-size: 12px; font-weight: 600; letter-spacing: .2em;
  color: var(--slate); margin-bottom: 12px;
  transition: color .4s ease;
}
.mstep.is-active .n { color: var(--amber); }
.mstep h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.03em; font-weight: 500;
  margin: 0; max-width: 22ch;
}
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; gap: 40px; }
  .method-head { position: static; }
  .method-steps { padding-left: 34px; }
  .mstep { min-height: 0; padding: 30px 0; }
  .mstep::before { left: -38px; }
  .method-rail { top: 22px; bottom: 22px; }
}

/* ==========================================================================
   Figures — the numbers band
   ========================================================================== */

.figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--on-dark-line); margin-top: 56px; }
@media (max-width: 780px) { .figures { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.figure {
  background: var(--night); padding: 34px 26px 30px;
  position: relative; overflow: hidden;
}
.figure .v {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.5rem); line-height: 1; letter-spacing: -.045em;
  background: linear-gradient(120deg, #fff 20%, var(--blush) 70%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.figure .l { font-size: 14.5px; color: rgba(255,255,255,.72); line-height: 1.45; }

/* ==========================================================================
   Partner wall
   ========================================================================== */

.wall { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 820px) { .wall { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.wall > div {
  background: var(--shell); min-height: 140px;
  display: grid; place-items: center; padding: 26px;
  transition: background .3s ease;
}
.wall > div:hover { background: #fff; }
.wall img {
  max-height: 52px; max-width: 148px; width: auto; object-fit: contain;
  opacity: .78; filter: grayscale(1) contrast(1.15); transition: opacity .3s ease, filter .3s ease;
}
.wall > div:hover img { opacity: 1; filter: none; }

/* ==========================================================================
   Closing call
   ========================================================================== */

.closing { position: relative; overflow: hidden; padding: clamp(90px, 14vh, 170px) 0; background: var(--night); color: var(--on-dark); isolation: isolate; }
.closing::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 150%; z-index: 0;
  background: radial-gradient(50% 55% at 50% 100%, rgba(229,161,99,.34), transparent 70%),
              radial-gradient(40% 50% at 20% 90%, rgba(23,130,76,.28), transparent 70%);
}
.closing > .wrap { position: relative; z-index: 2; text-align: center; }
.closing h2 {
  font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.045em;
  font-weight: 500; color: #fff; margin: 0 auto; max-width: 16ch;
}
.closing p { margin: 24px auto 0; max-width: 44ch; color: rgba(255,255,255,.66); font-size: 1.05rem; }
.closing .btn-row { justify-content: center; margin-top: 38px; }

/* ---------- upgraded reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); }
.js .reveal.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; filter: none; transition: none; }
  .mstep, .showcase-item { opacity: 1; }
}

/* ==========================================================================
   The isometric stack, dressed for the sky

   The scene was built for a paper background. Over the night sky it reads
   better as lit glass: translucent faces, luminous edges, dark tag pills.
   ========================================================================== */

.hero-visual .iso { max-width: 100%; margin: 0 auto; --lift: 168px; }

.hero-visual .iso-face {
  background: rgba(190, 214, 210, .1);
  border-color: rgba(255, 255, 255, .26);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 30px 60px -30px rgba(0,0,0,.85),
    0 0 44px -14px rgba(180, 220, 205, .3);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.hero-visual .iso-plane--model .iso-face { background: rgba(214, 236, 230, .17); }
.hero-visual .iso-plane--place .iso-face { background: rgba(26, 44, 46, .5); }

/* the raster reads as light through glass rather than ink on paper */
.hero-visual .iso-cells { mix-blend-mode: screen; opacity: .74; }
.hero-visual .iso-mesh .edge { stroke: rgba(190, 235, 210, .72); opacity: .85; }
.hero-visual .iso-mesh .node { fill: #a8e6c2; }
.hero-visual .iso-mesh .node.hot { fill: var(--yellow); }
.hero-visual .iso-map .block { fill: rgba(255,255,255,.24); }
.hero-visual .iso-map .road  { stroke: rgba(255,255,255,.34); }
.hero-visual .iso-map .green { fill: rgba(124,195,154,.5); }
.hero-visual .iso-map .pin   { fill: var(--yellow); }
.hero-visual .iso-post {
  background: linear-gradient(to top, rgba(168,230,194,0), rgba(168,230,194,.5));
}

.hero-visual .iso-tag {
  background: rgba(12, 22, 24, .58);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -14px rgba(0,0,0,.9);
}
.hero-visual .iso-tag i { background: #a8e6c2; }
.hero-visual .iso-tag.t1 i { background: var(--yellow); }

@media (max-width: 1200px) { .hero-visual .iso { --lift: 138px; } }

/* ==========================================================================
   The work — Linear-flavoured surface craft

   Hairline rules instead of boxes, a mono figure label per row, and a framed
   pane with its own chrome. The sticky behaviour is unchanged.
   ========================================================================== */

/* Two-tone heading: the claim in full strength, the qualifier stepped back.
   The step-back colour has to follow the band it sits on. */
.title .dim { color: rgba(19,26,25,.38); }
.band--night .title .dim, .closing .title .dim { color: rgba(255,255,255,.42); }

.showcase { position: relative; }
/* the rule between the list and the pane */
@media (min-width: 901px) {
  .showcase-list {
    border-right: 1px solid transparent;
    border-image: linear-gradient(to bottom, transparent, rgba(255,255,255,.14) 12%, rgba(255,255,255,.14) 88%, transparent) 1;
    padding-right: clamp(20px, 2.5vw, 40px);
  }
}

.showcase-item { position: relative; padding: 40px 34px 40px 22px; }
.showcase-item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--amber), var(--green-600));
  transform: translateY(-50%);
  transition: height .55s var(--ease-out);
}
.showcase-item.is-active::before { height: 54%; }
/* a soft spotlight behind the live row */
.showcase-item::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 0% 50%, rgba(229,161,99,.09), transparent 70%);
  opacity: 0; transition: opacity .55s var(--ease-soft);
}
.showcase-item.is-active::after { opacity: 1; }
.showcase-item:hover h3 { color: #fff; }

/* FIG 0.1 — the mono index Linear uses to label a figure */
.showcase-item .idx {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.34);
}
.showcase-item.is-active .idx { color: rgba(255,255,255,.6); }
.showcase-item .idx .fig { color: var(--amber); }

/* ---------- the pane, with window chrome ---------- */

.showcase-pane {
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 40px 90px -50px rgba(0,0,0,.95);
  padding-bottom: 42px;   /* room for the caption bar */
}
.showcase-fig { inset: 0 0 42px 0; }
.showcase-fig figcaption { display: none; }

.pane-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  border-top: 1px solid var(--on-dark-line);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.pane-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; margin-right: 9px; box-shadow: 0 0 0 3px rgba(229,161,99,.16); }
.pane-bar .left { display: flex; align-items: center; min-width: 0; }
.pane-bar .name { color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 900px) {
  .showcase-item { padding: 34px 0; }
  .showcase-item::before, .showcase-item::after { display: none; }
}

/* ==========================================================================
   Inner pages — the same philosophy, at page scale

   Every page now opens on a compressed sky, alternates night and shell bands,
   and uses the FIG/hairline vocabulary from the home page's work section.
   ========================================================================== */

/* ---------- the compact page hero ---------- */

.phero-sky {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 62vh; overflow: hidden;
  margin-top: -82px; padding: 140px 0 clamp(44px, 7vh, 84px);
  color: var(--on-dark);
}
.sky--band .sky-grad {
  background: linear-gradient(
    to bottom,
    #09131a 0%, #0d1d24 26%, #1a3138 48%, #46504a 64%,
    #96805f 76%, #cf9a6b 87%, #ecc39a 96%, #f8f2e6 100%
  );
}
.sky--band .sky-sun { bottom: 2%; width: min(620px, 80vw); }
.sky--band .sky-haze { height: 34%; }
.phero-sky::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(96deg, rgba(7,15,20,.78) 0%, rgba(7,15,20,.5) 38%, rgba(7,15,20,.12) 66%, transparent 80%);
}
.phero-sky > .wrap { position: relative; z-index: 5; }

.phero-sky .tagline { color: rgba(255,255,255,.5); }
.phero-sky .display {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: .99; letter-spacing: -.045em; font-weight: 500;
  color: #fff; max-width: 16ch; margin: 0;
  text-shadow: 0 2px 40px rgba(10,20,24,.35);
}
.phero-sky .lede {
  margin: 24px 0 0; max-width: 52ch;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}
.js .phero-sky .lede { animation: fadeUp 1s var(--ease-out) .45s both; }
.js .phero-sky .tagline { animation: fadeUp .9s var(--ease-out) both; }

@media (max-width: 900px) {
  .phero-sky { min-height: 54vh; padding-top: 120px; }
  .phero-sky::before { background: linear-gradient(to bottom, rgba(7,15,20,.5), rgba(7,15,20,.66) 60%, rgba(7,15,20,.2)); }
}

/* ---------- the meta strip under a project hero ---------- */

.metastrip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--line-soft);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 760px) { .metastrip { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.metastrip > div { background: var(--shell); padding: 22px 24px; }
.metastrip dt {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--haze); margin-bottom: 9px;
}
.metastrip dd { margin: 0; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.metastrip dd a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(14,104,60,.3); word-break: break-word; }
.metastrip dd a:hover { border-color: var(--green); }

/* ---------- FIG rows: the work list at page scale ---------- */

.figrow {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(48px, 7vh, 86px) 0;
  border-top: 1px solid var(--line-soft);
}
.band--night .figrow { border-top-color: var(--on-dark-line); }
.figrow:first-child { border-top: 0; }
.figrow--flip .figrow-text { order: 2; }
@media (max-width: 900px) {
  .figrow { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; }
  .figrow--flip .figrow-text { order: 0; }
}
.figlabel {
  display: flex; align-items: center; gap: 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--haze); margin: 0 0 18px;
}
.band--night .figlabel { color: rgba(255,255,255,.4); }
.figlabel .fig { color: var(--amber); }
.figlabel::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .3; }
.figrow h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.04em; font-weight: 500;
  margin: 0 0 14px;
}
.band--night .figrow h2 { color: #fff; }
.figrow .one { font-size: 1.05rem; line-height: 1.55; color: var(--ink-70); margin: 0 0 22px; max-width: 40ch; }
.band--night .figrow .one { color: rgba(255,255,255,.66); }

/* ---------- the framed product window, reusable ---------- */

.frame {
  position: relative; margin: 0;
  aspect-ratio: 16 / 11; border-radius: 14px;
  background: rgba(12,22,24,.04);
  border: 1px solid var(--line-soft);
  padding: 20px 20px 42px;
  display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center;
  box-shadow: 0 30px 70px -46px rgba(7,15,20,.7);
}
.band--night .frame,
.closing .frame {
  background: rgba(255,255,255,.03);
  border-color: var(--on-dark-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 40px 90px -50px rgba(0,0,0,.95);
}
.frame img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 7px;
  box-shadow: 0 16px 40px -22px rgba(0,0,0,.7), 0 0 0 1px rgba(15,21,18,.08);
}
.band--night .frame img { box-shadow: 0 18px 44px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.09); }
.frame--phone img { border-radius: 18px; border: 5px solid #12181a; }
.frame-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; border-top: 1px solid var(--line-soft);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.band--night .frame-bar { border-top-color: var(--on-dark-line); color: rgba(255,255,255,.5); }
.frame-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; margin-right: 9px; }
.frame-bar .left { display: flex; align-items: center; min-width: 0; }
.frame-bar .name { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band--night .frame-bar .name { color: rgba(255,255,255,.8); }

/* ---------- notes: the short prose column that replaced the essays ---------- */

.notes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }
.note h3 {
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 10px;
}
.band--night .note h3 { color: #fff; }
.note p { font-size: 15.5px; line-height: 1.6; color: var(--ink-70); margin: 0; }
.band--night .note p { color: rgba(255,255,255,.62); }
.note { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.band--night .note { border-top-color: var(--on-dark-line); }

/* ---------- team, at the new scale ---------- */

.people { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
@media (max-width: 820px) { .people { grid-template-columns: 1fr; max-width: 420px; } }
.people .person { border-top: 1px solid var(--on-dark-line); padding-top: 22px; }
.people .ph { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); margin-bottom: 18px; }
.people .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1) contrast(1.05); transition: filter .4s ease; }
.people .person:hover .ph img { filter: none; }
.people h3 { font-size: 1.1rem; font-weight: 500; color: #fff; margin: 0 0 5px; letter-spacing: -.02em; }
.people .role { font-size: 13.5px; color: var(--amber); margin: 0 0 8px; font-weight: 500; }
.people .note-line { font-size: 13.5px; color: rgba(255,255,255,.5); margin: 0; line-height: 1.5; }

/* ---------- recognition rows ---------- */

.recs { border-top: 1px solid var(--on-dark-line); }
.rec {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--on-dark-line);
}
@media (max-width: 700px) { .rec { grid-template-columns: 1fr; gap: 6px; } }
.rec .badge {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
}
.rec .what { font-size: 1.02rem; color: #fff; font-weight: 500; }
.rec .who { font-size: 13.5px; color: rgba(255,255,255,.45); }

/* ---------- step grid: Linear's hairline-divided card row ---------- */

.stepgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stepgrid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.stepgrid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 980px) { .stepgrid, .stepgrid--3, .stepgrid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .stepgrid, .stepgrid--3, .stepgrid--5 { grid-template-columns: 1fr; } }

.stepcell { padding: 0 26px; border-left: 1px solid var(--line-soft); }
.band--night .stepcell { border-left-color: var(--on-dark-line); }
.stepgrid > .stepcell:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 980px) {
  .stepcell { padding: 26px 22px; border-top: 1px solid var(--line-soft); }
  .band--night .stepcell { border-top-color: var(--on-dark-line); }
  .stepgrid > .stepcell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stepgrid > .stepcell:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 560px) {
  .stepcell, .stepgrid > .stepcell:first-child { border-left: 0; padding: 24px 0; border-top: 1px solid var(--line-soft); }
  .band--night .stepcell { border-top-color: var(--on-dark-line); }
  .stepgrid > .stepcell:first-child { border-top: 0; padding-top: 0; }
}

.stepcell .figlabel { margin-bottom: 14px; }
.stepcell h3 {
  font-size: 1.06rem; font-weight: 600; letter-spacing: -.015em;
  margin: 0 0 9px; line-height: 1.3;
}
.band--night .stepcell h3 { color: #fff; }
.stepcell p { font-size: 14.5px; line-height: 1.55; color: var(--ink-70); margin: 0; }
.band--night .stepcell p { color: rgba(255,255,255,.58); }

/* ---------- the tabbed viewer, on a night band ---------- */

.band--night .viewer-tab {
  background: rgba(255,255,255,.05); border-color: var(--on-dark-line);
  color: rgba(255,255,255,.66);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 11.5px; letter-spacing: .06em; border-radius: 8px;
}
.band--night .viewer-tab:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.band--night .viewer-tab[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--night); }
.band--night .viewer-stage {
  background: rgba(255,255,255,.03); border-color: var(--on-dark-line);
  border-radius: 14px; padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 40px 90px -50px rgba(0,0,0,.95);
}
.band--night .viewer-panel img { border-radius: 7px; box-shadow: 0 18px 44px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.09); }
.band--night .viewer-cap {
  background: transparent; border-top-color: var(--on-dark-line);
  color: rgba(255,255,255,.55); padding: 14px 2px 2px;
}
.band--night .viewer-cap b { color: #fff; }
.band--night .viewer--phone .viewer-stage { border: 5px solid #12181a; background: #12181a; border-radius: 22px; padding: 0; }

/* ---------- the hand-built diagrams, on a night band ---------- */

.band--night .dgm text { fill: rgba(255,255,255,.62); }
.band--night .dgm .lbl { fill: #fff; }
.band--night .dgm .sub { fill: rgba(255,255,255,.42); }
.band--night .dgm .stroke { stroke: var(--green-300); }
.band--night .dgm .faint { stroke: var(--on-dark-line); }
.band--night .dgm .fill-g { fill: var(--green-300); }
.band--night .dgm .fill-soft { fill: rgba(255,255,255,.06); }
.band--night .dgm .invert { fill: var(--night); }
.band--night .dgm-scroll::after { color: rgba(255,255,255,.4); }

/* ---------- next-project row ---------- */

.nextrow {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  text-decoration: none; color: inherit;
}
@media (max-width: 820px) { .nextrow { grid-template-columns: 1fr; } }
.nextrow h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; color: #fff; margin: 0 0 12px; }
.nextrow .one { color: rgba(255,255,255,.6); margin: 0 0 20px; font-size: 1.02rem; }
.nextrow .frame { transition: transform .4s var(--ease-out); }
.nextrow:hover .frame { transform: translateY(-4px); }

/* ---------- footer, aligned to the night bands ---------- */

.site-footer { background: var(--night); position: relative; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 100% at 15% 0%, rgba(229,161,99,.09), transparent 62%);
}
.site-footer > .wrap { position: relative; z-index: 2; }
.site-footer .foot-h {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: .16em; color: rgba(255,255,255,.4); font-weight: 500;
}
.site-footer a:hover { color: var(--amber); }
