/* ==========================================================================
   Orange Octopus Sales Academy — site.css

   One stylesheet, no preprocessor. Read top to bottom:
     1. Tokens      — brand colours, fonts, type scale, spacing (change values here, not below)
     2. Fonts       — @font-face for the self-hosted Barlow files
     3. Base        — resets and defaults for html, body, headings, links, focus rings
     4. Type helpers— .display, .h2, .lead, .eyebrow …
     5. Layout      — .container, .section, .band (colour bands), .split (two columns)
     6. Buttons
     7. Header      — sticky header, desktop nav, mobile menu panel
     8. Sections    — hero, statement, prose, track cards, CTA band, service tiles, seminars
     9. Forms       — inputs, choice pills, errors, status messages
    10. Footer
    11. Page tweaks — small home/members specifics
    12. Motion      — reveal-on-scroll + prefers-reduced-motion override
    13. Print

   Naming: BEM-ish (.block__element--modifier). "on-dark" on a band flips text colours for
   dark backgrounds. Breakpoints: 640 (2-col cards), 768 (splits), 900 (heroes), 1080 (desktop nav).
   Brand rule: the five colour tokens are the brand — do not "refresh" them.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette (from the original site) */
  --orange: #D1592F;
  --orange-dark: #B44A25;
  --ink: #111111;
  --slate: #536878;
  --slate-dark: #45596A;
  --navy: #304254;
  --navy-dark: #26353F;
  --paper: #FEFEFE;
  --cream: #FFF4F0;
  --white: #FFFFFF;

  /* Derived: text, hairlines, shadows */
  --text: var(--ink);
  --text-muted: #4A5560;
  --line: rgba(17, 17, 17, .12);
  --line-strong: rgba(17, 17, 17, .28);
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 2px 8px rgba(17, 17, 17, .05);
  --shadow-md: 0 6px 24px rgba(17, 17, 17, .12);

  /* Type: condensed heavy for headlines, regular Barlow for reading */
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale. clamp() = fluid between phone and desktop without media queries. */
  --text-sm: .9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.1875rem;
  --text-lg: 1.375rem;
  --text-xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --text-display: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);

  /* Spacing and widths */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 1200px;
  --container-wide: 1440px;
  --measure: 62ch;
  --section: clamp(4rem, 8vw, 7rem);
  --section-sm: clamp(2.5rem, 5vw, 4rem);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 72px;
}

/* ---------- 2. Fonts (self-hosted, latin subset, swap so text never waits) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400i.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2"); }

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-family: var(--font-display); font-weight: 800; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .14em; }
a:hover { color: var(--orange-dark); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--white); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: var(--white);
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- 4. Type helpers ---------- */
.display { font-size: var(--text-display); text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.display-2 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.02; }
.h2 { font-size: var(--text-2xl); text-transform: uppercase; line-height: .98; }
.h3 { font-size: var(--text-xl); font-weight: 700; }
.lead { font-size: var(--text-md); line-height: 1.5; max-width: var(--measure); }
.lead--lg { font-size: var(--text-lg); font-weight: 500; }
.eyebrow {
  margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange);
}
.on-dark .eyebrow { color: #F2A98F; }
.measure { max-width: var(--measure); }
.muted { color: var(--text-muted); }
.on-dark .muted { color: rgba(255, 255, 255, .78); }

/* ---------- 5. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section); }
.section--sm { padding-block: var(--section-sm); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head .lead { margin-top: 1rem; }

.band { padding-block: var(--section); }
.band--slate { background: var(--slate); color: var(--white); }
.band--navy { background: var(--navy); color: var(--white); }
.band--ink { background: var(--ink); color: var(--white); }
.band--cream { background: var(--cream); }
.on-dark a:hover { color: #F2A98F; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 5fr 6fr; }
  .split--reverse > :first-child { order: 2; }
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 2rem; }
.actions--start { margin-top: 0; }

/* ---------- 6. Buttons (.btn + one modifier: primary / ghost / light / outline-light) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: .45rem 1.1rem; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: .9rem 2rem; font-size: 1.25rem; }
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); color: var(--orange-dark); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }

.text-link {
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; border-bottom: 2px solid currentColor; padding-bottom: .1rem;
}
.text-link:hover { color: var(--orange-dark); }
.on-dark .text-link:hover { color: #F2A98F; }

/* ---------- 7. Header (sticky; nav collapses to a panel below 1080px) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { height: 52px; width: auto; }

.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__link {
  display: inline-block; padding: .55rem .7rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); position: relative;
}
.site-nav__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__cta { margin-left: .6rem; }

.menu-toggle {
  display: none; align-items: center; gap: .6rem; padding: .5rem .25rem .5rem .6rem;
  background: none; border: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .06em; text-transform: uppercase;
}
.menu-toggle__bars { display: inline-block; width: 24px; height: 18px; position: relative; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 8px; }
.menu-toggle__bars span:nth-child(3) { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (max-width: 1079.98px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 1.5rem var(--gutter) 3rem; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; max-width: 32rem; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__link { display: block; padding: 1rem .25rem; font-size: 1.5rem; }
  .site-nav__link::after { left: .25rem; right: auto; width: 2.5rem; bottom: .7rem; }
  .site-nav__cta { border-bottom: 0 !important; margin: 1.5rem 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 56px; font-size: 1.25rem; }
}

/* ---------- 8. Sections: hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
.hero--compact { padding-block: clamp(4rem, 10vw, 8rem); }
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 6fr 5fr; }
  .hero__inner--even { grid-template-columns: 1fr 1fr; }
}
.hero__kicker { font-size: var(--text-xl); font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin-bottom: 1rem; color: var(--slate); }
/* Small regional / meta line under hero buttons ("Ontario, Canada · Milwaukee, Wisconsin") */
.hero__meta { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.hero__copy .lead { margin-top: 1.25rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero__media--frame::after {
  content: ""; position: absolute; left: -10px; bottom: -10px; width: 42%; height: 14px; background: var(--orange); border-radius: 3px; z-index: -1;
}
.hero__media--cutout img { border-radius: 0; box-shadow: none; }
.hero--cream { background: var(--cream); }
.hero--band { background: var(--navy); color: var(--white); }

/* ---------- 8. Sections: home hero stage (presenter octopus on an orange spotlight) ----------
   Rest state = everything visible, so the page reads fine without JavaScript.
   With JS, site.js adds .is-live to the hero on cue (when the Ink Drop starts draining, or at once
   when there is no splash) and the "performance" keyframes further down run once. */
.home-hero { background: linear-gradient(to bottom, var(--paper), var(--cream)); }
.hero__media--stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-inline: auto; }
.stage__back { position: absolute; inset: 0; transition: transform .35s cubic-bezier(.2, .8, .3, 1); will-change: transform; }
.stage__disc { position: absolute; left: 8%; top: 6%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E8794F, var(--orange) 55%, var(--orange-dark)); }
.stage__beam {
  position: absolute; left: 50%; top: 0; width: 60%; height: 100%; margin-left: -30%; transform-origin: 50% 0; pointer-events: none;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); mix-blend-mode: soft-light;
  background: linear-gradient(to bottom, rgba(255, 244, 220, .9), rgba(255, 244, 220, .25) 55%, transparent 100%);
  animation: stage-beam-sway 6s ease-in-out infinite alternate;
}
.stage__floor { position: absolute; left: 22%; bottom: 1.5%; width: 56%; height: 6%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(17, 17, 17, .28), rgba(17, 17, 17, 0) 70%); }
.stage__clip { position: absolute; inset: 0; overflow: hidden; }
.stage__lift { position: absolute; left: 50%; bottom: 0; width: 62%; transform: translate(-50%, 0); }
.stage__sway { transform-origin: 50% 100%; animation: stage-sway 5.5s ease-in-out infinite alternate; }
.stage__sway img { width: 100%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 18px rgba(17, 17, 17, .3)); }
@keyframes stage-sway { from { transform: rotate(-1.4deg) translateY(0); } to { transform: rotate(1.4deg) translateY(-6px); } }
@keyframes stage-beam-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

/* Word wrappers made by site.js from the h1: .wc clips, .w moves, .mark carries the drawn underline. */
.wc { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.w { display: inline-block; }
.mark { position: relative; display: inline-block; }
.mark svg { position: absolute; left: -.04em; bottom: -.14em; width: calc(100% + .08em); height: .28em; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }

/* JS present but no cue yet: hold the performers out of sight. The 0-second "safety" animations make
   everything visible after 4s regardless, in case site.js never runs (blocked, failed to load). */
.js .home-hero:not(.is-live) .hero__copy > *,
.js .home-hero:not(.is-live) .stage__disc, .js .home-hero:not(.is-live) .stage__beam, .js .home-hero:not(.is-live) .stage__floor { opacity: 0; animation: hero-safety 0s linear 4s forwards; }
.js .home-hero:not(.is-live) .stage__lift { transform: translate(-50%, 105%); animation: hero-safety-lift 0s linear 4s forwards; }
@keyframes hero-safety { to { opacity: 1; } }
@keyframes hero-safety-lift { to { transform: translate(-50%, 0); } }

/* The performance, run once when .is-live lands. Order: eyebrow, kicker, headline words (65ms apart),
   presenter rises (0.55s), underline draws (1.35s), buttons pop (1.45s), regional line (1.75s). */
.home-hero.is-live .hero__copy .eyebrow { opacity: 0; transform: translateX(-14px); animation: hero-slide .5s ease .05s forwards; }
.home-hero.is-live .hero__kicker { opacity: 0; transform: translateY(10px); animation: hero-slide .55s ease .2s forwards; }
.home-hero.is-live .display .w { transform: translateY(110%) rotate(2deg); animation: hero-word .6s cubic-bezier(.2, .9, .3, 1) forwards; animation-delay: calc(.35s + var(--i, 0) * .065s); }
.home-hero.is-live .mark path { stroke-dashoffset: 260; animation: hero-mark .55s ease-out 1.35s forwards; }
.home-hero.is-live .actions .btn { opacity: 0; transform: scale(.88) translateY(8px); animation: hero-pop .45s cubic-bezier(.2, 1.3, .4, 1) forwards; }
.home-hero.is-live .actions .btn:nth-child(1) { animation-delay: 1.45s; }
.home-hero.is-live .actions .btn:nth-child(2) { animation-delay: 1.55s; }
.home-hero.is-live .hero__meta { opacity: 0; animation: hero-fade .5s ease 1.75s forwards; }
.home-hero.is-live .stage__disc { opacity: 0; transform: scale(.6); animation: hero-disc .9s cubic-bezier(.2, 1.2, .3, 1) .2s forwards; }
.home-hero.is-live .stage__beam { opacity: 0; animation: hero-fade 1.2s ease .9s forwards, stage-beam-sway 6s ease-in-out 2.1s infinite alternate; }
.home-hero.is-live .stage__floor { opacity: 0; animation: hero-fade .5s ease 1.2s forwards; }
.home-hero.is-live .stage__lift { transform: translate(-50%, 105%); animation: hero-rise 1s cubic-bezier(.2, .9, .25, 1) .55s forwards; }
@keyframes hero-slide { to { opacity: 1; transform: none; } }
@keyframes hero-word { to { transform: none; } }
@keyframes hero-mark { to { stroke-dashoffset: 0; } }
@keyframes hero-pop { to { opacity: 1; transform: none; } }
@keyframes hero-fade { to { opacity: 1; } }
@keyframes hero-disc { to { opacity: 1; transform: none; } }
@keyframes hero-rise { to { transform: translate(-50%, 0); } }

/* ---------- 8. Sections: home intro "Ink Drop" ----------
   Shown only while <html> has .intro (head.html adds it once per session, never with reduced motion).
   Timeline: logo pops (0.15s) → name fades in (0.6s) → orange blot spreads from the octopus's head
   (1.25s–2.05s) → site.js adds .is-draining: a hole opens from the centre (mask) and the layer goes.
   --blot (set on <html> by head.html) is the scale that makes the 40px blot cover the screen. */
.ink { display: none; }
.intro .ink {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; cursor: pointer; color: var(--white);
  background: radial-gradient(120% 90% at 50% 100%, var(--navy) 0%, var(--navy-dark) 60%, #1B262E 100%);
}
.intro body { overflow: hidden; }
.ink__bubble {
  position: absolute; bottom: -4vh; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .35), rgba(255, 255, 255, .06) 60%, rgba(255, 255, 255, 0) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); animation: ink-rise 8s linear infinite;
}
.ink__bubble:nth-child(1)  { left: 5%;  width: 10px; height: 10px; animation-duration: 7s;   animation-delay: -1s; }
.ink__bubble:nth-child(2)  { left: 13%; width: 22px; height: 22px; animation-duration: 10s;  animation-delay: -6s; }
.ink__bubble:nth-child(3)  { left: 22%; width: 8px;  height: 8px;  animation-duration: 6s;   animation-delay: -3s; }
.ink__bubble:nth-child(4)  { left: 31%; width: 16px; height: 16px; animation-duration: 9s;   animation-delay: -7.5s; }
.ink__bubble:nth-child(5)  { left: 40%; width: 12px; height: 12px; animation-duration: 7.5s; animation-delay: -2s; }
.ink__bubble:nth-child(6)  { left: 48%; width: 26px; height: 26px; animation-duration: 11s;  animation-delay: -4.5s; }
.ink__bubble:nth-child(7)  { left: 57%; width: 9px;  height: 9px;  animation-duration: 6.5s; animation-delay: -5s; }
.ink__bubble:nth-child(8)  { left: 65%; width: 18px; height: 18px; animation-duration: 9.5s; animation-delay: -1.5s; }
.ink__bubble:nth-child(9)  { left: 73%; width: 11px; height: 11px; animation-duration: 7s;   animation-delay: -6.5s; }
.ink__bubble:nth-child(10) { left: 81%; width: 20px; height: 20px; animation-duration: 10s;  animation-delay: -3.5s; }
.ink__bubble:nth-child(11) { left: 89%; width: 7px;  height: 7px;  animation-duration: 6s;   animation-delay: -.5s; }
.ink__bubble:nth-child(12) { left: 95%; width: 15px; height: 15px; animation-duration: 8.5s; animation-delay: -8s; }
@keyframes ink-rise { from { transform: translate(0, 0); } 50% { transform: translate(1.5vw, -55vh); } to { transform: translate(-1vw, -115vh); } }
.ink__stage { position: relative; width: min(64vw, 440px); }
.ink__logo { width: 100%; opacity: 0; transform: scale(.55) translateY(20px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: ink-logo .75s cubic-bezier(.2, 1.5, .4, 1) .15s forwards; }
.ink__name { margin-top: 1.4rem; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: .22em; text-transform: uppercase; color: #F2A98F; opacity: 0; animation: hero-fade .5s ease .6s forwards; }
.ink__blot { position: absolute; left: 24%; top: 16%; width: 40px; height: 40px; margin: -20px 0 0 -20px; background: var(--orange); border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; transform: scale(0); animation: ink-blot .8s cubic-bezier(.55, 0, .25, 1) 1.25s forwards; }
.ink__hint { position: absolute; bottom: calc(1.4rem + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
.ink.is-draining {
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent calc(var(--hole) - 1px), #000 var(--hole));
  mask-image: radial-gradient(circle at 50% 45%, transparent calc(var(--hole) - 1px), #000 var(--hole));
  animation: ink-drain .8s cubic-bezier(.7, 0, .3, 1) forwards, ink-gone .3s linear .55s forwards; /* ink-gone: fade for browsers without @property */
}
@keyframes ink-logo { to { opacity: 1; transform: none; } }
@keyframes ink-blot { to { transform: scale(var(--blot, 80)) rotate(70deg); } }
@keyframes ink-drain { to { --hole: 150vmax; } }
@keyframes ink-gone { to { opacity: 0; } }

/* ---------- 8. Sections: statement band (image + one big line) ---------- */
.statement { padding-block: var(--section); }
.statement__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 768px) { .statement__inner { grid-template-columns: 5fr 7fr; } .statement--reverse .statement__inner > :first-child { order: 2; } }
.statement__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.statement__line { font-size: var(--text-2xl); font-family: var(--font-display); font-weight: 700; line-height: 1.02; text-wrap: balance; }
.statement__line strong { color: var(--orange); font-weight: inherit; }
.band--slate .statement__line strong, .band--navy .statement__line strong { color: #F7B79F; }

/* ---------- 8. Sections: prose band (measured paragraph) ---------- */
.prose { max-width: var(--measure); }
.prose__lead { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.12; margin-bottom: 1.5rem; text-wrap: balance; }
.prose p:not(.prose__lead) { font-size: var(--text-md); }
.prose em { font-style: normal; font-weight: 600; color: var(--orange); }
.on-dark .prose em { color: #F7B79F; }
.prose__rule { width: 4rem; height: 4px; background: var(--orange); border: 0; margin: 0 0 2rem; }

/* ---------- 8. Sections: track cards (partials/track-card.html) ---------- */
.cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.track-card {
  display: flex; flex-direction: column; background: var(--white); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.track-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.track-card__media { aspect-ratio: 4 / 3; background: var(--slate); }
.track-card__media img { width: 100%; height: 100%; object-fit: cover; }
.track-card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.track-card__body .eyebrow { margin-bottom: 0; font-size: .875rem; }
.track-card__title { font-size: var(--text-xl); text-transform: uppercase; }
.track-card__line { color: var(--text-muted); }
.track-card__more {
  margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange);
}
.track-card:hover .track-card__more svg { transform: translateX(3px); }
.track-card__more svg { transition: transform .2s ease; }

/* ---------- 8. Sections: CTA band (partials/cta-band.html) ---------- */
.cta-band { background: var(--orange); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band--navy { background: var(--navy); }
.cta-band--ink { background: var(--ink); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band__title { font-size: var(--text-2xl); text-transform: uppercase; line-height: .98; max-width: 18ch; }
.cta-band__text { margin-top: .75rem; font-size: var(--text-md); max-width: 52ch; color: rgba(255, 255, 255, .92); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.cta-band .btn--light { color: var(--orange-dark); }
.cta-band .btn--light:hover { color: var(--ink); }
.cta-band--navy .btn--light { color: var(--navy); }

/* ---------- 8. Sections: service tiles, custom solutions, seminars (Sneak Peek) ---------- */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: flex; align-items: flex-end; min-height: 10rem; padding: 1.5rem;
  border-radius: var(--radius-lg); color: var(--white); background: var(--slate);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); text-transform: uppercase; line-height: .98;
}
.tile--orange { background: var(--orange); }
.tile--navy { background: var(--navy); }
.tile--ink { background: var(--ink); }
.tile--wide { grid-column: 1 / -1; }
.tile__number { display: block; font-size: .95rem; font-weight: 700; letter-spacing: .12em; opacity: .75; margin-bottom: .35rem; }

.custom { display: grid; gap: 2rem; align-items: start; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid rgba(209, 89, 47, .25); }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr 1.4fr; } }
.custom__title { font-size: var(--text-2xl); text-transform: uppercase; color: var(--orange); }

.seminars { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .seminars { grid-template-columns: repeat(3, 1fr); } }
.seminar { display: flex; flex-direction: column; gap: .75rem; }
.seminar img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.seminar h3 { font-size: var(--text-lg); font-weight: 700; }

/* ---------- 9. Forms (partials/form-*.html; states set by site.js) ---------- */
.form { display: flex; flex-direction: column; gap: 2rem; }
.form__gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: .9rem; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.1; }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field__label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.1; }
.field__hint { font-size: var(--text-sm); color: var(--text-muted); }
.field-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input {
  width: 100%; padding: .8rem 1rem; border: 2px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(209, 89, 47, .2); }
.input[aria-invalid="true"] { border-color: #B3261E; }
textarea.input { resize: vertical; min-height: 7rem; }
.field__error { color: #B3261E; font-weight: 600; font-size: var(--text-sm); }
.field__error::before { content: "↑ "; }
.choices { display: grid; gap: .5rem; }
@media (min-width: 900px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .8rem;
  padding: .8rem 1rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked) { border-color: var(--orange); background: var(--cream); }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice input { margin: .2rem 0 0; width: 1.15rem; height: 1.15rem; accent-color: var(--orange); }
.choice span { line-height: 1.4; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { font-size: var(--text-sm); color: var(--text-muted); }
.form__status { padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 500; border: 2px solid; }
.form__status--error { border-color: #B3261E; color: #7A1A14; background: #FDECEA; }
.form__status--success { border-color: #2E7D32; color: #1B5E20; background: #EAF5EB; }
.form__status a { font-weight: 600; }
.form-card { background: var(--cream); border: 1px solid rgba(209, 89, 47, .22); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.form-card .input, .form-card .choice { background: var(--white); }
.form-success { text-align: left; }
.form-success .display-2 { color: var(--orange); }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__inner { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.2fr 2fr; } }
.site-footer__brand img { width: 160px; height: auto; }
.site-footer__line { margin-top: 1.25rem; max-width: 30ch; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.15; color: rgba(255, 255, 255, .92); }
.site-footer__area { margin-top: .75rem; font-size: var(--text-sm); color: rgba(255, 255, 255, .7); }
.site-footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.site-footer__heading { font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F2A98F; margin-bottom: .9rem; }
.site-footer__nav li + li { margin-top: .5rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--text-sm); color: rgba(255, 255, 255, .7); }
.site-footer__top { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 11. Page tweaks: home ---------- */
.home-hero .display { max-width: 14ch; }
.wordmark-band { padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wordmark-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; text-align: center; }
.wordmark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .95; font-size: var(--text-xl); }
.wordmark span:first-child { color: var(--orange); }
.wordmark span { display: block; }

/* ---------- 11. Page tweaks: members ---------- */
.members-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-muted); }

/* ---------- 12. Motion. .js is added to <html> by head.html; without JS nothing is hidden. ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .48s ease, transform .48s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .track-card:hover { transform: none; }
  /* Home hero: the 0s durations above jump every keyframe to its end state; drop the delays too,
     so the whole hero is simply there. (The Ink Drop never shows: head.html checks this setting.) */
  .home-hero.is-live *, .home-hero.is-live .mark path { animation-delay: 0s !important; }
}

/* ---------- 13. Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; }
}
