/* ============================================================================
   SCRILLA Financial
   Forest grounds, copper accent, cream light. Cabinet Grotesk display + Archivo text.
   Built on the client's own visual language (productowner/ drafts), elevated.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Helvetica Neue"), local("Arial");
  size-adjust: 101%; ascent-override: 87.8%; descent-override: 21%; line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  /* forest ramp, anchored on the logo's exact #194E48 */
  --forest-950: #071A16;
  --forest-900: #0B2620;
  --forest-850: #0F332B;
  --forest-800: #124038;
  --forest-700: #194E48;   /* THE BRAND, sampled from the logo art */
  --forest-600: #24645C;

  /* copper: the client's accent, warmed and brightened so it sings on forest */
  --copper-600: #A85F2C;
  --copper-500: #C87B3E;
  --copper-400: #DE9553;
  --copper-300: #EDB77F;

  /* cream / sand */
  --cream: #FBF6EC;
  --cream-2: #F4EBDA;
  --sand: #E7D9BF;

  --ink: #10302A;
  --ink-soft: #3D5F58;
  --on-dark: #F4EFE4;
  --on-dark-soft: #B9CFC7;

  --line: rgba(25, 78, 72, 0.16);
  --line-dark: rgba(244, 239, 228, 0.16);

  --font-display: "Cabinet Grotesk", "Archivo", system-ui, sans-serif;
  --font-sans: "Archivo", "Archivo Fallback", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --pad: 20px;
  --sec: 88px;
  --wrap: 1220px;

  --shadow-card: 0 1px 2px rgba(7,26,22,.06), 0 12px 32px -12px rgba(7,26,22,.22);
  --shadow-lift: 0 2px 4px rgba(7,26,22,.08), 0 26px 60px -18px rgba(7,26,22,.38);
}
@media (min-width: 768px)  { :root { --pad: 32px; --sec: 116px; } }
@media (min-width: 1100px) { :root { --pad: 40px; --sec: 148px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-weight: 400; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
ul { list-style: none; }
::selection { background: var(--copper-500); color: #fff; }
:focus-visible { outline: 3px solid var(--copper-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--forest-700); color: var(--on-dark);
  padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
h1.display { font-size: clamp(2.75rem, 7.2vw, 5.5rem); }
h2.display { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 0.98; letter-spacing: -0.03em; }
h3 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.4375rem; line-height: 1.18; letter-spacing: -0.022em;
}
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }
.on-dark .lede, .sec--forest .lede, .hero .lede, .cta .lede { color: var(--on-dark-soft); }
p { max-width: 62ch; }
.copper { color: var(--copper-500); }
.tm { font-size: .52em; vertical-align: .46em; letter-spacing: 0; margin-left: .04em; }
em.copper { font-style: normal; }

.eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--copper-600);
}
.sec--forest .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--copper-300); }

.num {
  font-family: var(--font-display);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1.0625rem;
  border-radius: var(--pill); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s, color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn--copper { background: var(--copper-500); color: #fff; box-shadow: 0 10px 26px -10px rgba(200,123,62,.8); }
.btn--copper:hover { background: var(--copper-400); box-shadow: 0 16px 34px -12px rgba(200,123,62,.9); }
.btn--forest { background: var(--forest-700); color: var(--on-dark); }
.btn--forest:hover { background: var(--forest-800); }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(244,239,228,.45); }
.btn--ghost:hover { background: rgba(244,239,228,.12); box-shadow: inset 0 0 0 1.5px rgba(244,239,228,.85); }
.btn--ghost-dark { background: transparent; color: var(--forest-700); box-shadow: inset 0 0 0 1.5px rgba(25,78,72,.32); }
.btn--ghost-dark:hover { background: rgba(25,78,72,.07); box-shadow: inset 0 0 0 1.5px var(--forest-700); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 62px; padding: 0 40px; font-size: 1.125rem; }
.btn--quiet {
  background: transparent; color: var(--on-dark); padding: 0 8px; min-height: 62px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  text-decoration-color: rgba(244,239,228,.4);
}
.btn--quiet:hover { color: var(--copper-300); text-decoration-color: var(--copper-300); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--pill);
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.pill--dark { background: rgba(244,239,228,.12); color: var(--on-dark); }
.pill--copper { background: rgba(200,123,62,.16); color: var(--copper-600); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-400); flex: none; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--forest-950); color: var(--on-dark); }
.announce__in {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 14px; min-height: 46px; padding-block: 10px; text-align: center;
}
.announce p { font-size: .875rem; color: var(--on-dark-soft); max-width: none; margin: 0; }
.announce a {
  font-size: .875rem; font-weight: 600; color: var(--copper-300); text-decoration: none;
  border-bottom: 1px solid rgba(237,183,127,.45); padding-bottom: 1px;
}
.announce a:hover { color: var(--copper-400); border-color: var(--copper-400); }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-400); flex: none; }
@media (max-width: 560px) { .announce__dot { display: none; } }

/* ---------- Provenance marquee ---------- */
.prov { background: var(--forest-950); color: var(--on-dark); padding-block: clamp(38px, 5vw, 58px); }
.prov__label {
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--copper-300);
  text-align: center; max-width: none; margin: 0 auto clamp(24px, 3vw, 34px);
  padding-inline: var(--pad);
}
.mq {
  overflow: hidden;
  /* the strip runs out rather than stopping at a hard edge */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq__track {
  display: flex; align-items: center; gap: clamp(32px, 5vw, 68px);
  width: max-content; will-change: transform;
}
.mq__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem); letter-spacing: -.035em;
  color: var(--on-dark); white-space: nowrap;
}
.mq__dot span {
  display: block; width: 15px; height: 15px; background: var(--copper-400); opacity: .85;
  -webkit-mask: url("../scrilla-mark.svg") center/contain no-repeat;
  mask: url("../scrilla-mark.svg") center/contain no-repeat;
}

/* ---------- The number ---------- */
.bignum { background: var(--forest-950); color: var(--on-dark); padding-block: clamp(64px, 9vw, 112px); }
.bignum__in { text-align: center; }
.bignum .eyebrow { display: block; max-width: none; margin: 0 auto 20px; }
.bignum__n {
  font-size: clamp(6rem, 19vw, 15rem); color: var(--copper-400);
  line-height: .82; margin-bottom: clamp(18px, 2.6vw, 30px);
}
.bignum__h { margin: 0 auto; max-width: 17ch; font-size: clamp(1.75rem, 4vw, 3.1rem); }
.bignum__row {
  display: grid; gap: 26px; margin-top: clamp(44px, 6vw, 70px);
  padding-top: clamp(34px, 4vw, 46px); border-top: 1px solid rgba(244,239,228,.14);
  text-align: left;
}
@media (min-width: 720px) { .bignum__row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px; } }
.fact__k {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.75rem; letter-spacing: -.035em; color: var(--on-dark);
}
.fact__l { display: block; margin-top: 8px; font-size: .9063rem; line-height: 1.5; color: var(--on-dark-soft); max-width: 26ch; }

/* ---------- Safeguards ----------
   2x2, each cell a centred column: hairline, icon, heading, body. The rule sits
   above each cell and stops at the column edge, so the two columns read as two
   separate lists rather than one table. */
/* the trailing row's own bottom padding would stack on the section padding */
.safeguards { display: grid; gap: 0 clamp(40px, 6vw, 88px); margin-bottom: clamp(-34px, -2.9vw, -24px); }
@media (min-width: 720px) { .safeguards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.safe {
  text-align: center;
  padding: clamp(27px, 3.2vw, 37px) 0 clamp(24px, 2.9vw, 34px);
}
.safe__i { display: block; margin: 0 auto clamp(14px, 1.6vw, 19px); color: var(--copper-400); }
.safe h3 { margin-bottom: 14px; }
.safe p {
  font-size: .9688rem; line-height: 1.6; color: var(--on-dark-soft);
  max-width: 34ch; margin-inline: auto; text-wrap: pretty;
}

/* ---------- Nav ----------
   A floating rounded bar rather than a full-bleed band: inset from the page
   edges, links centred, CTA right. It rides over the hero, so the hero is
   pulled up by --nav-h and pads itself back down. */
:root { --nav-h: 84px; }
@media (max-width: 767px) { :root { --nav-h: 76px; } }

.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 12px var(--pad);
  background: transparent;
}
.nav__in {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  min-height: 60px; padding: 8px 8px 8px 20px;
  background: rgba(251,246,236,.94);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-radius: var(--pill);
  /* the inset hairline keeps the bar defined once it sits over cream sections */
  box-shadow: inset 0 0 0 1px rgba(25,78,72,.09),
              0 1px 2px rgba(7,26,22,.05),
              0 16px 40px -14px rgba(7,26,22,.36);
}
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; grid-column: 1; }
/* pinned, or it auto-places into the empty 1fr column once the links hide */
.nav__cta { grid-column: 3; justify-self: end; }
.nav__mark {
  width: 28px; height: 28px; flex: none; background: var(--forest-700);
  -webkit-mask: url("../scrilla-mark.svg") center/contain no-repeat;
  mask: url("../scrilla-mark.svg") center/contain no-repeat;
}
.nav__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1875rem; letter-spacing: -0.03em; color: var(--forest-700);
}
.nav__word span { font-weight: 500; color: var(--ink-soft); }

.nav__links { display: none; gap: 30px; justify-content: center; grid-column: 2; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .9688rem; color: var(--ink-soft); }
.nav__links a:hover { color: var(--copper-600); }
@media (min-width: 940px) { .nav__links { display: flex; } }
@media (max-width: 520px) { .nav__cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate;
  min-height: min(94svh, 900px);
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
  display: grid; place-items: center; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 82% at 50% 46%, rgba(7,26,22,.34) 0%, rgba(7,26,22,.72) 58%, rgba(7,26,22,.92) 100%),
    linear-gradient(180deg, rgba(7,26,22,.62) 0%, rgba(7,26,22,0) 26%);
}
/* the mark sits behind the type at scale, as watermark rather than ornament */
.hero__mark {
  position: absolute; z-index: -1; left: 50%; top: 47%;
  width: min(72vw, 860px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-4deg);
  background: var(--on-dark); opacity: .032; pointer-events: none;
  -webkit-mask: url("../scrilla-mark.svg") center/contain no-repeat;
  mask: url("../scrilla-mark.svg") center/contain no-repeat;
}
.hero__in { padding-block: clamp(96px, 14vh, 168px); }
.hero h1 { margin: 0 auto; max-width: 14ch; }
.hero__sub {
  margin: clamp(20px, 3vh, 30px) auto 0;
  font-size: clamp(1.0625rem, 1.55vw, 1.375rem); line-height: 1.5;
  color: var(--on-dark-soft); max-width: 40ch;
}
.hero .btn { margin-top: clamp(30px, 4.4vh, 44px); }
.hero__note {
  margin: clamp(24px, 3.4vh, 36px) auto 0;
  font-size: .8125rem; line-height: 1.6; color: rgba(185,207,199,.72); max-width: 52ch;
}

/* ---------- Facts band ---------- */
.facts { background: var(--forest-950); color: var(--on-dark); padding-block: clamp(40px, 6vw, 64px); }
.facts__in { display: grid; gap: 34px 28px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 860px) { .facts__in { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; } }
.fact__n { display: block; font-size: clamp(2.3rem, 3.7vw, 3.25rem); color: var(--copper-400); }
.fact__l { display: block; margin-top: 12px; font-size: .875rem; line-height: 1.5; color: var(--on-dark-soft); max-width: 22ch; }

/* ---------- Section furniture ---------- */
.sec { padding-block: var(--sec); }
.sec--cream { background: var(--cream); }
/* A light section dissolves into the dark one above or below it instead of
   cutting. Both stops carry the SAME rgb with different alpha: fading to the
   keyword `transparent` interpolates through rgba(0,0,0,0) and greys out. */
.sec--cream, .sec--cream2 {
  position: relative;
  --fade: clamp(180px, 24vw, 360px);
  --fade-top-rgb: 7 26 22; --fade-top-a: 0;
  --fade-bot-rgb: 7 26 22; --fade-bot-a: 0;
}
.sec--cream::before, .sec--cream::after,
.sec--cream2::before, .sec--cream2::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--fade);
  pointer-events: none; z-index: 0;
}
.sec--cream::before, .sec--cream2::before {
  top: 0;
  background: linear-gradient(180deg,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * 1))    0%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .951)) 15.5%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .825)) 29%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .648)) 41.2%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .45))  52.9%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .259)) 64.7%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .104)) 77.5%,
    rgb(var(--fade-top-rgb) / calc(var(--fade-top-a) * .013)) 91.9%,
    rgb(var(--fade-top-rgb) / 0)                              100%);
}
.sec--cream::after, .sec--cream2::after {
  bottom: 0;
  background: linear-gradient(0deg,
    rgb(var(--fade-bot-rgb) / var(--fade-bot-a)),
    rgb(var(--fade-bot-rgb) / 0));
}
.sec--cream > *, .sec--cream2 > * { position: relative; z-index: 1; }
.sec--cream2 { background: var(--cream-2); }
.sec--forest { background: var(--forest-900); color: var(--on-dark); }
.sec--forest h2, .sec--forest h3 { color: var(--on-dark); }
.sec__head {
  max-width: 54ch; margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.sec__head .eyebrow { display: block; margin-bottom: 16px; }
.sec__head h2 { margin-bottom: 20px; text-wrap: balance; }
/* both carry their own max-width, so they need auto margins to sit centred */
.sec__head .lede, .sec__head p { margin-inline: auto; text-wrap: pretty; }

/* ---------- Grids + image tiles ---------- */
.grid-2 { display: grid; gap: 22px; }
.sec--forest .grid-2 { gap: 40px 48px; }
.grid-3 { display: grid; gap: 22px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
                             .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
                             .grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); } }

.tile {
  position: relative; overflow: hidden; border-radius: 0;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark); isolation: isolate;
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
            transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,26,22,.06) 20%, rgba(7,26,22,.84) 88%);
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
  .tile:hover img { transform: scale(1.045); }
}
.tile__body { padding: 26px; }
.tile__k { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em;
           text-transform: uppercase; color: var(--copper-300); }
.tile h3 { margin: 10px 0 8px; color: var(--on-dark); }
.tile p { font-size: .9375rem; color: var(--on-dark-soft); max-width: none; }
.tile--tall { min-height: 400px; }

/* flat colour cards */
.card { border-radius: 0; padding: 28px; background: #fff; box-shadow: var(--shadow-card); }

/* ---------- Steps: two per row, each its own colour, square, unshadowed ---------- */
.steps { display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.step {
  border-radius: 0;
  box-shadow: none;
  padding: clamp(32px, 4.4vw, 56px);
  min-height: clamp(280px, 26vw, 380px);
  display: flex; flex-direction: column;
  color: var(--on-dark);
}
.step--1 { background: #124038; }
.step--2 { background: #C87B3E; }
.step--3 { background: #2B7A63; }
.step--4 { background: #8A3F16; }
.step .card__n {
  font-size: clamp(2.6rem, 4.4vw, 3.9rem); color: rgba(251,246,236,.42);
  margin-bottom: auto;
}
.step h3 {
  color: var(--on-dark); margin-bottom: 14px;
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
}
.step p { color: rgba(244,239,228,.86); font-size: clamp(.9688rem, 1.15vw, 1.0625rem); max-width: 40ch; }
.card--sand { background: var(--sand); box-shadow: none; }
.card--cream { background: var(--cream); box-shadow: none; }
.card--forest { background: var(--forest-800); color: var(--on-dark); }
.card--forest h3 { color: var(--on-dark); }
.card--copper { background: var(--copper-500); color: #fff; }
.card--copper h3 { color: #fff; }
.card__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.1rem; line-height: 1; color: var(--copper-500);
  display: block; margin-bottom: 16px; letter-spacing: -.04em;
}
.card--forest .card__n { color: var(--copper-300); }
.card--copper .card__n { color: rgba(255,255,255,.6); }
.card h3 + p { margin-top: 10px; }
.card p { color: var(--ink-soft); font-size: .9688rem; }
.card--forest p { color: var(--on-dark-soft); }
.card--copper p { color: rgba(255,255,255,.92); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; }
                            .split--flip .split__media { order: 2; } }
.split__media { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-lift); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1rem; }
.checks svg { margin-top: 4px; color: var(--copper-500); flex: none; }
.sec--forest .checks svg { color: var(--copper-400); }

/* ---------- CHILLA ----------
   Contained and quiet: a stated claim on the left, the facts as hairline rows
   on the right, one small photograph under them. No bleed, no columns of ticks. */
.chilla { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
@media (min-width: 940px) { .chilla { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 104px); } }

.chilla__lead .eyebrow { display: block; margin-bottom: 16px; }
.chilla__lead h2 { max-width: 14ch; margin-bottom: 14px; }
/* the acronym is a definition, not a headline */
.chilla__def {
  font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--copper-300); margin-bottom: 20px;
}
.chilla__lead .lede { margin-bottom: clamp(28px, 3.4vw, 38px); }

.chilla__list { border-top: 1px solid var(--line-dark); margin-bottom: clamp(32px, 4vw, 44px); }
.chilla__list li {
  padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 1rem; line-height: 1.5; color: var(--on-dark-soft); max-width: 46ch;
}

.chilla__fig { margin: 0; }
.chilla__fig img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.chilla__fig figcaption {
  margin-top: 12px; font-family: var(--font-mono); font-size: .625rem;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(185,207,199,.66);
}

/* ---------- Record / timeline ----------
   Large cards: gradient ground, display-scale year, photograph bleeding out of the
   lower half. Grounds stay inside the forest ramp for the two historical entries;
   the subject is a massacre and a displacement, and a bright card would read as
   decoration. Copper is reserved for the entry about now. */
.record { display: grid; gap: 20px; }
@media (min-width: 760px)  { .record { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1120px) { .record { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; } }

.rec {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 0; min-height: 450px;
  padding: 34px 32px 26px;
  display: flex; flex-direction: column; color: var(--on-dark);
}
.rec--tulsa { background: linear-gradient(145deg, #0C2E27 0%, #1D6355 52%, #43A98C 100%); }
.rec--hayti { background: linear-gradient(145deg, #10382F 0%, #2B7A63 50%, #62C2A0 100%); }
.rec--now   { background: linear-gradient(145deg, #8A3F16 0%, #C87B3E 48%, #F0B96A 100%); }

.rec__copy { position: relative; z-index: 2; }
.rec__y {
  display: block; font-size: clamp(3rem, 5.4vw, 4rem); line-height: .9;
  color: var(--copper-300); margin-bottom: 14px;
}
.rec--now .rec__y { color: var(--cream); }
.rec h3 { font-size: 1.3125rem; margin-bottom: 12px; color: var(--on-dark); }
.rec p  { font-size: .9375rem; line-height: 1.55; color: rgba(244,239,228,.84); max-width: 34ch; }

/* the photograph anchors the lower half and dissolves upward into the ground */
.rec__img {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  width: 100%; height: 54%; object-fit: cover;
  opacity: .58; mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 58%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 58%, #000 100%);
}
/* keeps the source line legible where it crosses the photograph */
.rec::after {
  content: ""; position: absolute; z-index: 1; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(6,20,17,.62));
  pointer-events: none;
}
.rec--now .rec__img { opacity: .5; }

.rec__src {
  position: relative; z-index: 2; margin-top: auto; padding-top: 22px;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(244,239,228,.66); max-width: none;
  border: 0;
}

.rec__cta {
  display: inline-flex; align-items: center; margin-top: 20px;
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid rgba(251,246,236,.55);
  font-size: .9375rem; font-weight: 600; color: var(--cream); text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rec__cta:hover { background: var(--cream); color: #7A421F; border-color: var(--cream); }

@media (max-width: 759px) { .rec { min-height: 410px; padding: 28px 24px 22px; } }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1fr 1.25fr; } }
.quote {
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.3; letter-spacing: -.025em;
  max-width: 21ch;
}
.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.sec--forest .tl { border-color: var(--line-dark); }
.tl__y { font-family: var(--font-mono); font-weight: 500; font-size: .9375rem; color: var(--copper-600); }
.sec--forest .tl__y { color: var(--copper-300); }
.tl p { font-size: .9688rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(7,26,22,.95) 18%, rgba(16,48,42,.8) 100%); }
.cta__in { text-align: center; padding-block: clamp(72px, 10vw, 132px); }
.cta h2 { margin: 18px auto 20px; max-width: 17ch; }
.cta .lede { margin: 0 auto; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.cta__fine { margin: 26px auto 0; font-size: .8125rem; color: var(--on-dark-soft); max-width: 54ch; }
.cta__mark {
  position: absolute; right: -90px; bottom: -110px; width: 460px; height: 460px; z-index: -1;
  background: var(--copper-400); opacity: .1; pointer-events: none;
  -webkit-mask: url("../scrilla-mark.svg") center/contain no-repeat;
  mask: url("../scrilla-mark.svg") center/contain no-repeat;
}

/* ---------- Waitlist dialog ---------- */
.wl {
  /* the global reset zeroes margin, which kills the UA rule that centres a dialog */
  margin: auto;
  border: 0; padding: 0; max-width: min(100% - 32px, 480px); width: 100%;
  border-radius: var(--r-xl); background: var(--cream); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(7,26,22,.6);
  overflow: visible;
}
.wl::backdrop { background: rgba(7,26,22,.62); backdrop-filter: blur(4px); }
.wl__panel { position: absolute; top: 14px; right: 14px; z-index: 2; }
.wl__x {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(25,78,72,.08); color: var(--forest-700);
  transition: background-color .18s ease;
}
.wl__x:hover { background: rgba(25,78,72,.16); }
.wl__body { padding: clamp(28px, 5vw, 40px); }
.wl__body h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 1.875rem); line-height: 1.08;
  letter-spacing: -.03em; color: var(--forest-700);
  max-width: 15ch; margin-bottom: 12px;
}
.wl__intro { font-size: .9688rem; color: var(--ink-soft); margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .8125rem; font-weight: 600;
  letter-spacing: .01em; color: var(--forest-700); margin-bottom: 7px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; min-height: 50px; padding: 0 15px;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(25,78,72,.2);
  border-radius: var(--r-sm); transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus-visible {
  outline: none; border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(200,123,62,.24);
}
.field input[aria-invalid="true"] { border-color: #B4442C; }
.field__hint { font-size: .8125rem; color: var(--ink-soft); margin-top: 6px; }
.field__err { font-size: .8125rem; color: #B4442C; margin-top: 6px; font-weight: 500; }

.field--check {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 11px;
  align-items: start; margin: 22px 0 24px;
}
.field--check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--copper-500); }
.field--check label { font-size: .875rem; font-weight: 400; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.field--check .field__err { grid-column: 1 / -1; margin-top: 0; }

.wl__submit { width: 100%; }
.wl__submit[aria-busy="true"] { opacity: .72; pointer-events: none; }
.wl__fine { font-size: .8125rem; line-height: 1.55; color: var(--ink-soft); margin-top: 16px; }
.wl__status { font-size: .875rem; font-weight: 500; margin-top: 12px; color: #B4442C; }
.wl__status:empty { display: none; }

.wl__done { text-align: center; }
.wl__tick { color: var(--copper-500); margin: 4px auto 16px; display: block; }
.wl__done h3 { color: var(--forest-700); margin-bottom: 10px; }
.wl__done p { font-size: .9375rem; color: var(--ink-soft); margin: 0 auto 22px; max-width: 34ch; }
.wl__done a { color: var(--copper-600); }

@media (prefers-reduced-motion: no-preference) {
  .wl[open] { animation: wl-in .26s cubic-bezier(.2,.7,.3,1); }
  @keyframes wl-in { from { opacity: 0; transform: translateY(10px) scale(.99); } }
}

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px);
  z-index: 90; width: 48px; height: 48px;
  display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%;
  background: var(--forest-700); color: var(--on-dark);
  box-shadow: 0 2px 6px rgba(7,26,22,.2), 0 14px 32px -12px rgba(7,26,22,.6);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.3,1), background-color .18s ease;
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--copper-500); }
@media (prefers-reduced-motion: reduce) { .totop { transition: opacity .01ms; transform: none; } }

/* ---------- Footer ---------- */
.foot { background: var(--forest-950); color: var(--on-dark); padding-top: clamp(56px, 7vw, 84px); padding-bottom: 40px; }
.foot h4 {
  font-family: var(--font-mono); font-weight: 500; font-size: .6875rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--copper-300); margin-bottom: 18px;
}
.foot p { font-size: .9063rem; color: var(--on-dark-soft); }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--copper-300); }

/* entity + regulatory status, given the prominent slot */
.foot__statement { padding-bottom: clamp(36px, 5vw, 52px); border-bottom: 1px solid var(--line-dark); }
.foot__mark { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.foot__mark .nav__mark { background: var(--on-dark); }
.foot__mark .nav__word { color: var(--on-dark); }
.foot__mark .nav__word span { color: var(--on-dark-soft); }
.foot__statement p { max-width: 74ch; }
.foot__statement strong { color: var(--on-dark); font-weight: 600; }

/* link columns */
.foot__cols {
  display: grid; gap: 40px 32px;
  padding-block: clamp(36px, 5vw, 56px);
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px; } }
.foot__list { display: grid; gap: 12px; }
.foot__list li { font-size: .9063rem; }
.foot__list a { border-bottom: 1px solid rgba(244,239,228,.24); padding-bottom: 1px; }
.foot__list a:hover { border-color: var(--copper-300); }
/* legal documents are not linked until they exist */
.foot__list--muted li { color: var(--on-dark-soft); }

.foot__contact p { margin-bottom: 12px; }
.foot__contact a { border-bottom: 1px solid rgba(237,183,127,.45); color: var(--copper-300); padding-bottom: 1px; }
.foot__place { line-height: 1.55; }
.foot__note { font-size: .8125rem; color: rgba(185,207,199,.66); max-width: 30ch; }

.foot__risk { padding-block: clamp(30px, 4vw, 42px); border-top: 1px solid var(--line-dark); }
.foot__risk p { max-width: 84ch; }

.foot__colophon { padding-bottom: clamp(26px, 3.5vw, 36px); }
.foot__colophon p { font-size: .8125rem; line-height: 1.65; color: rgba(185,207,199,.7); max-width: 84ch; }
.foot__colophon a { color: var(--copper-300); border-bottom: 1px solid rgba(237,183,127,.45); }

.foot__base {
  padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; color: rgba(185,207,199,.6);
}

/* ---------- Motion ---------- */
[data-rise] { opacity: 0; transform: translateY(18px); }
.js [data-rise].in { animation: rise .72s cubic-bezier(.2,.75,.3,1) forwards; }
.js [data-rise].now, [data-rise].now { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .tile:hover img { transform: none; }
}
