/* =========================================================
   Science Olympiad at Ohio State — prototype stylesheet
   Everything visual is driven by the tokens in :root, so the
   whole site can be recolored / re-fonted from one place.
   (In WordPress this file becomes Appearance → Custom CSS.)
   ========================================================= */

:root {
  /* Brand */
  --red: #BA0C2F;
  --red-dark: #8E0A24;
  --red-tint: #FBECEF;
  --second: #2B2F35;            /* secondary color (charcoal) — swapped by palette */

  /* Neutrals */
  --ink: #1B1E23;
  --muted: #5A6270;
  --line: #E2E5EA;
  --surface: #F4F5F7;
  --white: #FFFFFF;

  /* Type */
  --font-head: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Header geometry (desktop). --bs scales the center badge (shrinks on scroll / mobile) */
  --bar-h-open: 78px;
  --bar-h: var(--bar-h-open);
  --bar-h-scrolled: 64px;
  --bs-open: 1;
  --bs: var(--bs-open);
  --hdr-t: .5s cubic-bezier(.4, 0, .2, 1);   /* expand/shrink timing: smooth in and out */

  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Palette options (prototype design panel) */
[data-palette="navy"]     { --second: #14294A; }
[data-palette="teal"]     { --second: #0C4E5A; }
[data-palette="plum"]     { --second: #3B1E47; }

/* Font options (headings + body) */
[data-font="serif"]      { --font-head: "Source Serif 4", Georgia, serif; --font-body: "Source Sans 3", system-ui, sans-serif; }
[data-font="sans"]       { --font-head: "Manrope", system-ui, sans-serif; --font-body: "Source Sans 3", system-ui, sans-serif; }
[data-font="grotesk"]    { --font-head: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; }
[data-font="classic"]    { --font-head: "Libre Baskerville", Georgia, serif; --font-body: "Source Sans 3", system-ui, sans-serif; }
[data-font="athletic"]   { --font-head: "Barlow Semi Condensed", system-ui, sans-serif; --font-body: "Barlow", system-ui, sans-serif; }
[data-font="fraunces"]   { --font-head: "Fraunces", Georgia, serif; --font-body: "Inter", system-ui, sans-serif; }
[data-font="montserrat"] { --font-head: "Montserrat", system-ui, sans-serif; --font-body: "Open Sans", system-ui, sans-serif; }
[data-font="sans"] :is(h1, h2, h3), [data-font="grotesk"] :is(h1, h2, h3), [data-font="montserrat"] :is(h1, h2, h3) { letter-spacing: -.02em; }
[data-font="classic"] :is(h1, h2, h3) { font-weight: 700; letter-spacing: -.01em; }
[data-font="athletic"] :is(h1, h2, h3) { font-weight: 700; }

/* Size matching between fonts (prototype only).
   Fonts run at different natural widths, so the same px size wraps onto a different
   number of lines. font-size-adjust rescales each font so its average letter width
   matches IBM Plex (measured in the browser), so a title or paragraph breaks the same
   way whichever font is picked. Once the team picks a font, its sizes get baked into
   the real CSS and this block goes away. */
[data-font="serif"]      { --fsa-head: .5588; --fsa-body: .525; }
[data-font="sans"]       { --fsa-head: .5717; --fsa-body: .525; }
[data-font="grotesk"]    { --fsa-head: .5002; --fsa-body: .5177; }
[data-font="classic"]    { --fsa-head: .496;  --fsa-body: .525; }
[data-font="athletic"]   { --fsa-head: .6187; --fsa-body: .5303; }
[data-font="fraunces"]   { --fsa-head: .5864; --fsa-body: .5177; }
[data-font="montserrat"] { --fsa-head: .5149; --fsa-body: .5156; }
body *:not(.proto-dock, .proto-dock *) { font-size-adjust: var(--fsa-body, none) !important; }
body :is(h1, h2, h3, .mm-row a, .inv-c__count b, .inv-c__count i, .pt__title, .stat__num, .footer__name, .faq__item summary, .page-next__link span),
body :is(h1, h2, h3, .mm-row a, .inv-c__count b, .inv-c__count i, .pt__title, .stat__num, .footer__name, .faq__item summary, .page-next__link span) * { font-size-adjust: var(--fsa-head, none) !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 70%, white); outline-offset: 2px; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); height: 3px; }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 4px; border: 2px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* Paired buttons: the first is "active" (filled, with an arrow). Hovering or focusing
   the other one hands the filled style + arrow to it; leaving restores the default.
   In Divi: give the column holding the two Button modules the class btn-duo. */
.btn-duo { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-duo > .btn .icon { width: 0; opacity: 0; margin-left: -10px; transition: width .25s var(--ease), opacity .2s, margin .25s var(--ease), transform .25s var(--ease); }
.btn-duo:not(:has(> .btn:not(:first-child):is(:hover, :focus-visible))) > .btn:first-child .icon,
.btn-duo > .btn:not(:first-child):is(:hover, :focus-visible) .icon { width: 1em; opacity: 1; margin-left: 0; }
/* on a dark background (hero): white fill vs. white outline */
.btn-duo--dark > .btn { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-duo--dark:not(:has(> .btn:not(:first-child):is(:hover, :focus-visible))) > .btn:first-child,
.btn-duo--dark > .btn:not(:first-child):is(:hover, :focus-visible) { background: #fff; border-color: #fff; color: var(--ink); }
/* on a light background (cards): red fill vs. dark outline */
.btn-duo--light > .btn { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-duo--light:not(:has(> .btn:not(:first-child):is(:hover, :focus-visible))) > .btn:first-child,
.btn-duo--light > .btn:not(:first-child):is(:hover, :focus-visible) { background: var(--red); border-color: var(--red); color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--red); text-decoration: none;
}
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
/* One message + one link */
.announce { background: var(--red); color: #fff; font-size: 15px; }
.announce__inner { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 0; text-align: center; }
.ann { margin: 0; line-height: 1.45; }
.ann a { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); white-space: nowrap; }
.ann a:hover { border-color: #fff; }
.ann a .icon { transition: transform .25s var(--ease); }
.ann a:hover .icon { transform: translateX(3px); }


/* =========================================================
   HEADER — rectangle bar + center logo badge
   A double drop-shadow on the whole header draws one hairline
   + soft shadow around the combined bar + badge outline.
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  filter: drop-shadow(0 1px 0 var(--line)) drop-shadow(0 8px 14px rgba(16, 24, 40, .07));
}
.bar { background: var(--white); }
.bar__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--bar-h); transition: height var(--hdr-t);
}
.nav__list { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__list--left { justify-self: end; margin-right: 52px; }
.nav__list--right { justify-self: start; margin-left: 52px; }

.nav__item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 12px 2px;
  font: 600 16px/1 var(--font-body); letter-spacing: .01em; color: var(--ink); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__item:hover .nav__link::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__caret {
  display: grid; place-items: center; width: 24px; height: 24px; padding: 0;
  background: none; border: 0; border-radius: 4px; color: var(--muted); cursor: pointer;
}
.nav__caret .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__item:hover .nav__caret .icon, .nav__item.is-open .nav__caret .icon { transform: rotate(180deg); color: var(--red); }

/* Dropdown — opens AWAY from the center logo:
   left-side tabs extend leftward, right-side tabs extend rightward */
.dropdown {
  position: absolute; top: calc(100% + 16px); right: 0;
  width: 320px; padding: 8px; list-style: none; margin: 0;
  background: var(--white); border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); border-radius: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}
.nav__list--right .dropdown { right: auto; left: 0; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; } /* hover bridge */
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.dropdown li + li { border-top: 1px solid var(--line); }   /* faint dividers */
.dropdown a { display: block; padding: 12px 14px; border-radius: 4px; text-decoration: none; transition: background-color .15s; }
.dropdown a strong { display: block; font-weight: 600; font-size: 16px; color: var(--ink); transition: color .15s; }
.dropdown a span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--surface); }
.dropdown a:hover strong { color: var(--red); }

/* Center badge: an arc (the bottom part of a circle, diameter --d) that hangs 128px from
   the top of the bar, with a thin red outline and the logo centered inside. The rest of the
   circle is cut off at the bar's top edge.
   Arc = 65% of a 196px circle. "Arc, ends inward" (data-badge="arc60", prototype
   "Undecided" panel) = 73% of a 176px circle, so the ends curve further in.
   Every size is "desktop px x --bs", so one number shrinks it on scroll and on phones.
   The badge's slot in the bar keeps its full width when shrunk, so the tabs don't slide.
   In Divi: an Image module in the Theme Builder header + this CSS. */
.badge {
  --d: 196px; --logo: 92px; --logo-top: 8px;
  position: relative; display: block; height: var(--bar-h);
  width: calc(var(--d) * var(--bs-open));
  clip-path: polygon(-40px 0, calc(100% + 40px) 0, calc(100% + 40px) 400px, -40px 400px);
  transition: height var(--hdr-t);
}
[data-badge="arc60"] .badge { --d: 176px; }
.badge::before {
  content: ""; position: absolute; left: 50%; translate: -50% 0; box-sizing: border-box;
  width: calc(var(--d) * var(--bs)); height: calc(var(--d) * var(--bs)); top: calc((128px - var(--d)) * var(--bs));
  background: var(--white); border: 2px solid var(--red); border-radius: 50%;
  transition: width var(--hdr-t), top var(--hdr-t), height var(--hdr-t);
}
.badge img {
  position: absolute; left: 50%; top: calc(var(--logo-top) * var(--bs)); width: calc(var(--logo) * var(--bs)); height: auto;
  transform: translateX(-50%); transition: width var(--hdr-t), top var(--hdr-t), transform .35s var(--ease);
}
.badge:hover img { transform: translateX(-50%) scale(1.04); }

/* Shrink on scroll: the badge gets smaller but still hangs below the bar.
   The bar gets shorter, and a matching bottom margin keeps the page below from jumping up. */
.site-header { transition: margin-bottom var(--hdr-t); }
.site-header.is-scrolled { --bar-h: var(--bar-h-scrolled); --bs: .7; margin-bottom: calc(var(--bar-h-open) - var(--bar-h-scrolled)); }

/* Top bar tab spacing (desktop) */
@media (min-width: 981px) {
  .nav__link { font-size: 17.5px; }
  .nav__list { gap: 62px; }
  .nav__list--left { margin-right: 44px; }   /* the arc is wide at the top, so the tabs sit fairly close to it */
  .nav__list--right { margin-left: 44px; }
}
/* On narrower laptops the leftmost tab sits near the screen edge, so its dropdown opens rightward instead */
@media (min-width: 981px) and (max-width: 1199px) {
  .nav__list--left .nav__item:first-child .dropdown { right: auto; left: 0; }
}

/* Mobile-only header controls */
.menu-toggle, .bar-register { display: none; }

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: var(--white); padding: var(--menu-top, 150px) 24px 40px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open, .menu-open body { overflow: hidden; }
.mm-list { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; }
.mm-item { border-bottom: 1px solid var(--line); }
.mm-row { display: flex; align-items: center; justify-content: space-between; }
.mm-row a { flex: 1; padding: 18px 0; font: 600 24px/1.2 var(--font-head); text-decoration: none; color: var(--ink); }
.mm-row a[aria-current="page"] { color: var(--red); }
.mm-row button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; }
.mm-row button .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.mm-row button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm-sub { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 2px; }
.mm-sub[hidden] { display: none; }
.mm-sub a { display: block; padding: 10px 14px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 500; }
.mm-sub a:hover { color: var(--red); border-color: var(--red); }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: min(80vh, 740px); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: kenburns 16s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--second) 92%, transparent) 0%, color-mix(in srgb, var(--second) 62%, transparent) 46%, color-mix(in srgb, var(--second) 10%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--second) 55%, transparent) 0%, transparent 40%);
}
.hero__content { padding: 96px 0 176px; max-width: 660px; }
.hero h1 { color: #fff; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.03; margin-bottom: 22px; }
.hero__lead { font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; }
.hero__scroll .icon { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Hero button options (prototype "Undecided" panel) */
.hb-scroll { display: none; }
[data-hero="none"] .hb-duo, [data-hero="scroll"] .hb-duo { display: none; }
[data-hero="scroll"] .hb-scroll { display: inline-flex; }
[data-hero="none"] .hero__lead { margin-bottom: 0; }

/* =========================================================
   VARIANT SWITCHING (prototype "Compare options")
   ========================================================= */
.v { display: none; }
[data-paths="columns"] .v--paths-columns, [data-paths="photo"] .v--paths-photo { display: block; }
.section + .section { padding-top: 0; }
/* Gray band, to separate a section from its neighbors (Divi: section background color) */
.section--surface { background: var(--surface); }
.section + .section--surface, .section--surface + .section { padding-top: 104px; }

/* =========================================================
   HOME — INVITATIONAL CARD (centered)
   ========================================================= */
.inv-c {
  position: relative; z-index: 5; margin: -120px auto 0; max-width: 1000px;
  background: var(--white); border-radius: 8px; text-align: center; overflow: hidden;
  box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 30px 60px -28px rgba(16, 24, 40, .35);
}
.inv-c > :not(.inv-c__foot) { padding-inline: 56px; }
.inv-c__kicker { display: block; padding-top: 52px; font: 700 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.inv-c h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; }
.inv-c__sub { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 18px; box-sizing: content-box; }
.inv-c__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 0; padding: 0 !important; border-top: 1px solid var(--line); }
.inv-c__facts > div { padding: 24px 16px; }
.inv-c__facts > div + div { border-left: 1px solid var(--line); }
.inv-c__facts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.inv-c__facts dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.inv-c__foot { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 34px 32px 44px; background: var(--surface); border-top: 1px solid var(--line); }
.inv-c__count { display: inline-flex; align-items: flex-start; gap: 16px; }
.inv-c__count span { display: grid; justify-items: center; min-width: 64px; }
.inv-c__count b { font: 600 42px/1 var(--font-head); font-variant-numeric: tabular-nums; color: var(--ink); }
.inv-c__count small { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.inv-c__count i { font: 400 34px/1 var(--font-head); font-style: normal; color: color-mix(in srgb, var(--muted) 50%, transparent); }
.inv-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }

/* =========================================================
   HOME — "START HERE" · Columns / Photo tiles
   ========================================================= */
.paths-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.pc { padding: 32px 36px 8px 0; }
.pc + .pc { padding-left: 36px; border-left: 1px solid var(--line); }
.pc__who { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.pc h3 { font-size: 24px; margin-bottom: 12px; }
.pc p { color: var(--muted); margin-bottom: 18px; }
.paths-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc > :last-child { margin-bottom: 0; }

/* Centered opening section (Get Involved pages): eyebrow, heading and text centered in a narrow column */
.intro-center { max-width: 820px; margin-inline: auto; text-align: center; }
.intro-center .eyebrow { justify-content: center; }
.intro-center .lead { margin-inline: auto; }
.intro-center__more { color: var(--muted); max-width: 640px; margin: 0 auto; }
.intro-center__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 36px; }

/* Open table: ruled rows under a 2px rule, no box (the open alternative to cards) */
.table--open { border-top: 2px solid var(--ink); font-size: 17px; }
.table.table--open th { background: none; padding: 14px 24px 12px 0; }
.table.table--open td { padding: 22px 24px 22px 0; color: var(--muted); }
.table.table--open td:first-child { color: var(--ink); font: 600 20px/1.3 var(--font-head); }
.table.table--open tr:last-child td { border-bottom: 1px solid var(--line); }
.table--open td p { margin: 0 0 10px; }
.table--open td p:last-child { margin: 0; }

.paths-photo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pt { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; max-height: 460px; width: 100%; color: #fff; text-decoration: none; background: var(--second); }
.pt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pt::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, color-mix(in srgb, var(--second) 92%, transparent) 0%, color-mix(in srgb, var(--second) 40%, transparent) 45%, transparent 75%); }
.pt:hover img { transform: scale(1.06); }
.pt__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; display: grid; gap: 6px; }
.pt__who { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pt__title { font: 600 25px/1.2 var(--font-head); }
.pt__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
.pt__link .icon { transition: transform .25s var(--ease); }
.pt:hover .pt__link .icon { transform: translateX(4px); }

/* Staggered intro for hero text */
.hero-in { opacity: 0; transform: translateY(16px); animation: heroIn .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Round icon disc (used on the Contact page) */
.path-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red-tint); color: var(--red); margin-bottom: 22px; }
.path-card__icon .icon { width: 26px; height: 26px; }

/* =========================================================
   HOME — ABOUT SNIPPET
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.framed { position: relative; isolation: isolate; margin: 0 0 22px 22px; }
.framed::before { content: ""; position: absolute; inset: 0; transform: translate(-22px, 22px); border: 2px solid var(--red); border-radius: var(--radius); z-index: -1; }
.framed img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.split p { color: var(--muted); font-size: 18px; }

/* =========================================================
   HOME — IMPACT BAND
   ========================================================= */
.impact { position: relative; overflow: hidden; background: var(--second); color: #fff; padding: 84px 0; }
.impact .container { position: relative; }
/* dotted texture (a nod to the dots in the logo), drifting left to right */
.impact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15;
  background-image: radial-gradient(circle, #fff 1.3px, transparent 1.9px);
  background-size: 24px 24px;
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, .2) 0%, #000 65%);
  animation: dotsDrift 3s linear infinite;   /* moves exactly one dot-spacing, so it loops seamlessly */
}
@keyframes dotsDrift { from { background-position: 0 0; } to { background-position: 24px 0; } }
.impact h2 { color: #fff; }
.impact .section-head p { color: rgba(255,255,255,.78); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { position: relative; padding: 8px 28px; border-left: 1px solid rgba(255, 255, 255, .2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font: 600 clamp(44px, 5vw, 60px)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: color-mix(in srgb, var(--red) 55%, white); }
.stat__label { display: block; margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.45; }

/* =========================================================
   HOME — GALLERY MOSAIC
   ========================================================= */
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mosaic figure:nth-child(1) { grid-row: 1 / 3; }
.mosaic figure:nth-child(4) { grid-column: 2 / 4; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.mosaic figure:hover figcaption, .mosaic figure:focus-within figcaption { transform: none; }

/* =========================================================
   INNER PAGES — page hero + sticky section bar
   ========================================================= */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 128px 0 56px; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--second) 92%, transparent), color-mix(in srgb, var(--second) 55%, transparent)); }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 60px); margin-bottom: 12px; }
.page-hero p { max-width: 620px; font-size: 19px; color: rgba(255,255,255,.9); margin: 0; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.subnav { position: sticky; top: var(--bar-h-scrolled); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: block; white-space: nowrap; padding: 20px 0 18px; font-weight: 600; font-size: 15.5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--red); }
.subnav a.is-active::after { transform: scaleX(1); }

.page-section { padding: 88px 0; scroll-margin-top: 130px; border-bottom: 1px solid var(--line); }
.page-section:nth-of-type(even) { background: var(--surface); }
.page-section p.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.todo { margin-top: 28px; padding: 28px; border: 2px dashed var(--line); border-radius: 8px; color: var(--muted); background: var(--white); }
.todo strong { color: var(--ink); }

/* =========================================================
   INNER PAGES — shared building blocks
   Every subtab page is built from these. Each maps to one Divi
   module (noted per block), so the WordPress port stays simple.
   Page-only styles go in assets/pages/<page>.css instead.
   ========================================================= */

/* Long-form text column (Divi: Text module, max width set on the row) */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 720px; }

/* Two columns of content side by side (Divi: a row with 2 columns) */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }

/* Key facts: label + value pairs in a ruled grid (Divi: Text modules in columns) */
.kv { display: grid; grid-template-columns: repeat(var(--kv-cols, 3), minmax(0, 1fr)); column-gap: 32px; margin: 0; border-top: 2px solid var(--ink); }
.kv > div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.kv--2 { --kv-cols: 2; } .kv--4 { --kv-cols: 4; }
.kv dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.kv dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.kv dd small { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* Cards: icon (optional), title, text, link (Divi: Blurb module) */
.cards { display: grid; grid-template-columns: repeat(var(--cards-cols, 3), minmax(0, 1fr)); gap: 24px; }
.cards--2 { --cards-cols: 2; } .cards--4 { --cards-cols: 4; }
.card { display: flex; flex-direction: column; padding: 30px 30px 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red-tint); color: var(--red); margin-bottom: 18px; }
.card__icon .icon { width: 22px; height: 22px; }
.card__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card > :last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; }

/* Numbered steps (Divi: Blurb modules with the number as the "icon", or a Text module) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(var(--steps-cols, 3), minmax(0, 1fr)); gap: 32px; }
.steps--4 { --steps-cols: 4; } .steps--2 { --steps-cols: 2; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 600 18px/1 var(--font-head); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 56px; right: -18px; height: 1px; background: var(--line); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
/* Prototype-only comparison (Undecided panel: "Numbered steps"): centered steps on every page */
html[data-steps="center"] .steps li { text-align: center; }
html[data-steps="center"] .steps li::before { left: 50%; transform: translateX(-50%); }
html[data-steps="center"] .steps li:not(:last-child)::after { left: calc(50% + 29px); right: calc(-50% - 3px); }

/* FAQ / expandable rows (Divi: Toggle or Accordion module) */
.faq { border-top: 2px solid var(--ink); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 19px/1.35 var(--font-head); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq__item summary:hover { color: var(--red); }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h3 { font-size: 15px; font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }

/* Notice box (Divi: Text module with a CSS class) */
.callout { position: relative; padding: 22px 26px 22px 28px; background: var(--surface); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: 4px; }
.callout--info { border-left-color: var(--second); }

/* Files and links to download (Divi: Text module list, or Button modules) */
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a, .doc-list .doc-list__row { display: flex; align-items: center; gap: 16px; padding: 16px 4px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { background: var(--surface); }
.doc-list a:hover .doc-list__name { color: var(--red); }
.doc-list__icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); background: var(--red-tint); color: var(--red); }
.doc-list__icon .icon { width: 18px; height: 18px; }
.doc-list__name { flex: 1; font-weight: 600; }
.doc-list__meta { flex: none; font-size: 14px; color: var(--muted); }

/* Time-ordered list: schedule or timeline (Divi: Text module) */
.schedule { list-style: none; margin: 0; padding: 0; max-width: 880px; border-top: 2px solid var(--ink); }
.schedule li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.schedule time, .schedule .schedule__when { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.schedule strong { display: block; }
.schedule p { margin: 4px 0 0; color: var(--muted); }

/* Data table (Divi: Text module containing a table) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }

/* Closing call to action (Divi: a section with a background color + Text + Buttons) */
.cta-band { background: var(--second); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 600px; }

/* Previous / next subtab links at the bottom of each subtab page (built by site.js) */
.page-next { border-top: 1px solid var(--line); }
.page-next .container { display: flex; justify-content: space-between; gap: 24px; }
.page-next__link { display: grid; gap: 4px; padding: 28px 0; text-decoration: none; }
.page-next__link small { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.page-next__link span { font: 600 21px/1.25 var(--font-head); color: var(--ink); transition: color .2s; }
.page-next__link--prev span::before { content: "← "; color: var(--red); }
.page-next__link--next { text-align: right; margin-left: auto; }
.page-next__link--next span::after { content: " →"; color: var(--red); }
.page-next__link:hover span { color: var(--red); }

@media (max-width: 980px) {
  .cols-2 { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cards--4 { --cards-cols: 2; }
  .steps, .steps--4 { --steps-cols: 2; }
  .steps li::after { display: none; }
  .kv--4 { --kv-cols: 2; }
}
@media (max-width: 640px) {
  .cards, .cards--2, .cards--4 { --cards-cols: 1; }
  .steps, .steps--2, .steps--4 { --steps-cols: 1; row-gap: 28px; }
  .kv, .kv--2, .kv--4 { --kv-cols: 1; }
  .kv > div { padding: 16px 0; }
  .schedule li { grid-template-columns: 1fr; gap: 4px; }
  .faq__item summary { font-size: 17.5px; }
  .faq__a { padding-right: 0; }
  .lead { font-size: 18px; }
  .cta-band { padding: 48px 0; }
  .page-next__link span { font-size: 18px; }
}

/* Contact page cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.contact-card .path-card__icon { margin-bottom: 18px; }
.contact-card p { color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: color-mix(in srgb, var(--second) 72%, #000); color: rgba(255, 255, 255, .8); font-size: 16px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; padding: 72px 0 56px; }
.footer__brand { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; text-decoration: none; color: #fff; }
.footer__disc { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.footer__disc img { width: 50px; }
.footer__name { font: 600 19px/1.25 var(--font-head); }
.site-footer h4 { margin: 4px 0 16px; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255,255,255,.62); }

/* =========================================================
   SCROLL REVEALS (only when JS is running)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-clip img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.75, 0, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal-clip.is-in img { clip-path: inset(0 0 0 0); }
.js .reveal-clip::before { opacity: 0; transform: translate(0, 0); transition: opacity .6s .7s, transform .8s .7s var(--ease); }
.js .reveal-clip.is-in::before { opacity: 1; transform: translate(-22px, 22px); }

/* =========================================================
   PROTOTYPE-ONLY: image labels, placeholder notes, design panel
   ========================================================= */
/* (every labeled element is already position: relative/absolute) */
[data-notes="on"] [data-img-label]::after {
  content: "IMAGE · " attr(data-img-label);
  position: absolute; top: 12px; left: 12px; z-index: 3; max-width: calc(100% - 24px);
  padding: 5px 9px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff;
  font: 600 11.5px/1.3 var(--font-body); letter-spacing: .04em; pointer-events: none;
}
[data-notes="on"] .hero__media[data-img-label]::after, [data-notes="on"] .page-hero__media[data-img-label]::after { top: auto; bottom: 16px; left: auto; right: 16px; }
[data-notes="on"] .hero__media[data-img-label]::after { bottom: auto; top: 96px; }
.placeholder-note { display: none; }
[data-notes="on"] .placeholder-note {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 3px;
  background: #FFE9A8; color: #5C4200; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}

.proto-dock { position: fixed; left: 18px; bottom: 18px; z-index: 250; display: flex; gap: 8px; }
.design-fab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--font-body); box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.design-fab--alt { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0,0,0,.18); }
.design-fab[aria-expanded="true"] { outline: 3px solid color-mix(in srgb, var(--red) 60%, white); outline-offset: 2px; }
.proto-dock--right { left: auto; right: 18px; }
.proto-dock--right .design-panel { left: auto; right: 18px; }
.design-fab--undecided { background: #FFE9A8; color: #5C4200; }
.menu-open .proto-dock { display: none; }
.design-panel {
  position: fixed; left: 18px; bottom: 70px; width: 340px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 18px;
  background: #fff; border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.25); font: 400 14px/1.4 "Source Sans 3", system-ui, sans-serif; color: #1B1E23;
}
.design-panel[hidden] { display: none; }
.design-panel h5 { margin: 0 0 4px; font-size: 16px; }
.design-panel .dp-note { margin: 0 0 6px; color: #5A6270; font-size: 12.5px; line-height: 1.4; }
.design-panel .dp-label { display: block; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5A6270; margin: 16px 0 8px; }
.design-panel button { font-family: inherit; color: inherit; }
/* Option name row: the name, an optional "Global" tag, and an (i) button that opens a short description */
.design-panel .dp-head { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
.design-panel .dp-head .dp-label { margin: 0; }
.design-panel .dp-tag { padding: 2px 7px; border-radius: 999px; background: #EEF0F3; color: #3D434C; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.design-panel .dp-tag--page { background: #fff; box-shadow: inset 0 0 0 1px #C9CED6; color: #5A6270; font-weight: 600; }
.design-panel .dp-info-btn { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: auto; padding: 0; border: 1.5px solid #8A919C; border-radius: 50%; background: #fff; cursor: pointer; font: italic 700 11px/1 Georgia, serif; color: #5A6270; }
.design-panel .dp-info-btn:hover, .design-panel .dp-info-btn[aria-expanded="true"] { border-color: #1B1E23; background: #1B1E23; color: #fff; }
.design-panel .dp-info { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid #E8B100; background: #FFF8E0; border-radius: 0 6px 6px 0; }
.design-panel .dp-info[hidden] { display: none; }
.design-panel .dp-info p { margin: 0; font-size: 13px; line-height: 1.45; color: #3D434C; }
.design-panel .dp-show { margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; color: #5C4200; text-decoration: underline; text-underline-offset: 3px; }
/* The part of the page an option changes, outlined for a moment after "Show me" */
.proto-spot { animation: proto-spot 2.8s ease both; }
@keyframes proto-spot {
  0%, 75% { outline: 4px solid #E8B100; outline-offset: -4px; }
  100% { outline: 4px solid transparent; outline-offset: -4px; }
}
.dp-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dp-swatch { padding: 0; border: 2px solid #E2E5EA; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.dp-swatch[aria-pressed="true"] { border-color: #1B1E23; }
.dp-swatch .chips { display: flex; height: 30px; }
.dp-swatch .chips i { flex: 1; }
.dp-swatch span { display: block; padding: 4px 0; font-size: 11.5px; font-weight: 600; }
.dp-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dp-fonts button { display: grid; gap: 2px; text-align: left; padding: 8px 10px; border: 2px solid #E2E5EA; border-radius: 6px; background: #fff; cursor: pointer; }
.dp-font-head { font-size: 15px; font-weight: 600; line-height: 1.2; }
.dp-font-body { font-size: 12px; color: #5A6270; }
.dp-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-seg button { flex: 1 1 auto; padding: 8px 10px; border: 2px solid #E2E5EA; border-radius: 6px; background: #fff; cursor: pointer; font-weight: 600; font-size: 13px; }
.dp-fonts button[aria-pressed="true"], .dp-seg button[aria-pressed="true"] { border-color: #1B1E23; background: #F4F5F7; }
.dp-reset { margin-top: 18px; width: 100%; padding: 9px; border: 1px dashed #A9B0BA; border-radius: 6px; background: none; cursor: pointer; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__list { gap: 28px; }
  .nav__list--left { margin-right: 36px; }
  .nav__list--right { margin-left: 36px; }
  .split { gap: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --bar-h-open: 64px; --bar-h-scrolled: 60px; --bs-open: .76; }
  .site-header.is-scrolled { --bs: .6; }
  .nav__list { display: none; }
  .menu-toggle {
    display: inline-flex; justify-self: start; align-items: center; gap: 10px;
    height: 42px; padding: 0 14px 0 10px; background: none; border: 1px solid var(--line); border-radius: 999px;
    font: 600 15px/1 var(--font-body); color: var(--ink); cursor: pointer;
  }
  .menu-toggle__bars { position: relative; width: 18px; height: 12px; }
  .menu-toggle__bars i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
  .menu-toggle__bars i:nth-child(1) { top: 0; }
  .menu-toggle__bars i:nth-child(2) { top: 5px; }
  .menu-toggle__bars i:nth-child(3) { top: 10px; }
  .menu-open .menu-toggle__bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle__bars i:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle__bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
  .bar-register { display: inline-flex; justify-self: end; padding: 11px 16px; font-size: 15px; }

  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 200px 200px; }
  .mosaic figure:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .mosaic figure:nth-child(4) { grid-column: 1 / 3; }
  .contact-grid { grid-template-columns: 1fr; max-width: 620px; }
  .paths-cols { grid-template-columns: 1fr; }
  .pc, .pc + .pc { padding: 28px 0 24px; border-left: 0; }
  .pc + .pc { border-top: 1px solid var(--line); }
  .paths-photo { grid-template-columns: 1fr; max-width: 520px; }
  .pt { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .table--open thead { display: none; }
  .table--open, .table--open tbody, .table--open tr, .table--open td { display: block; }
  .table--open tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .table.table--open td, .table.table--open tr:last-child td { padding: 0; border: 0; }
  .table--open td + td { margin-top: 8px; }
  .container { width: min(100% - 32px, 1200px); }
  .announce { font-size: 14px; }
  .announce .hide-sm { display: none; }
  .ann a { margin-left: 6px; }
  .menu-toggle__text { display: none; }
  .menu-toggle { padding: 0 12px; }
  .section { padding: 76px 0; }
  .section + .section--surface, .section--surface + .section { padding-top: 76px; }
  .hero { min-height: 0; }
  .hero__content { padding: 80px 0 140px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 4px 16px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .mosaic figure:nth-child(n) { grid-column: auto; grid-row: auto; }
  .mosaic figcaption { transform: none; }
  .page-hero { padding: 96px 0 44px; }
  [data-notes="on"] .hero__media[data-img-label]::after { top: auto; bottom: 104px; right: 12px; left: auto; max-width: 70%; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .design-panel { left: 12px; right: 12px; width: auto; }
  .proto-dock { left: 12px; bottom: 12px; }
  .proto-dock--right { left: auto; right: 12px; }
  .design-fab { padding: 10px 13px; font-size: 13px; }
  .inv-c > :not(.inv-c__foot) { padding-inline: 22px; }
  .inv-c__kicker { padding-top: 36px; }
  .inv-c__sub { font-size: 16.5px; }
  .inv-c__facts { grid-template-columns: 1fr; }
  .inv-c__facts > div { padding: 16px 10px; }
  .inv-c__facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .inv-c__facts dd { font-size: 16px; }
  .inv-c__foot { padding: 28px 20px 32px; }
  .inv-c__count { gap: 8px; }
  .inv-c__count span { min-width: 48px; }
  .inv-c__count b { font-size: 30px; }
  .inv-c__count i { font-size: 26px; }
  .inv-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-in, .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .reveal-clip img { clip-path: none !important; }
  .js .reveal-clip::before { opacity: 1 !important; transform: translate(-22px, 22px) !important; }
}
