/* === WET ROLLER DESIGN SYSTEM v2 — "Blueprint" ===
   Spec (source of truth): dna/brand/design.md (v2). Shipped via
   https://github.com/starrows/wetroller-site/issues/6.

   ADDITIVE layer: loads AFTER wet-roller.css (v1 base, untouched) AND after
   the page's inline <style>, so it wins ties. Retokens :root, then overrides
   the loud v1 pieces (colored bands, ink card borders) into the quiet
   hairline/dashed language. ROLLBACK = in index.html: remove this
   file's <link>, revert the small .hl/.chips HTML deltas, AND restore the v1
   Google Fonts link (Vina Sans + Space Grotesk + Inter 400/500/700 +
   JetBrains Mono) — v2 loads only Inter + Geist Mono.

   Palette contract — one job per hue, never swapped:
     marigold #F8C000 = ACTION (buttons, play, focus)
     pink     #FF90E8 = EDITORIAL (headline highlights, kickers)
     teal     #4ACFBE = FEEDBACK only (success states; unused on this page) */

:root {
  /* COLOR — marigold accent (sampled from the value icons: #F8C000 family),
     warm near-black ink, hairline structure */
  --color-accent: #F8C000;
  --color-accent-deep: #B38A00;
  --color-accent-text: #806000;
  /* EDITORIAL accent — pink (the original brand signature). Headline marker
     highlights + kickers + chip markers. Never on anything you press. */
  --color-pop: #FF90E8;
  --color-pop-deep: #B8449E;
  --color-pop-text: #A3237F;
  /* FEEDBACK accent — teal, RESERVED for success/confirmation states only.
     Defined so system surfaces can use it; intentionally unused on this page. */
  --color-success-v2: #4ACFBE;
  --color-success-v2-deep: #125E56;
  --color-success-v2-text: #167067;
  /* ACTION color — buttons + play controls ONLY. Editorial accent (marigold)
     stays on highlights/kickers/icons. Variant switch = these four lines. */
  --color-action: #F8C000;
  --color-action-ink: #0F0F0E;
  --shadow-action: 4px 4px 0 0 var(--color-ink);
  --shadow-action-hover: 6px 6px 0 0 var(--color-ink);
  --color-accent-ink: #0F0F0E;
  --color-ink: #0F0F0E;
  --color-ink-muted: #6E6D64;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F7F2E6;
  --color-surface-raised: #FBF8F0;
  --color-divider: #E7DFCB;
  --color-hairline: #E7DFCB;
  --color-hairline-strong: #D9CDAF;
  --color-control-border: #8F8672;   /* form controls: 3.6:1 on white, 3.4:1 on raised (WCAG 1.4.11) */
  --color-focus: #B38A00;   /* action-deep: 3.2:1 on white — fill marigold fails as a ring */
  --color-warning: #F8C000;        /* v1 yellow CTAs become the marigold accent */
  --color-success: #FFFFFF;        /* v1 teal CTAs become white/secondary */
  --color-success-surface: #F9F9F6;

  /* TYPE — one family, weight 500 does the work */
  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* SHAPE — buttons square; structure gently rounded */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --border-width: 1px;
  --border-width-thick: 2px;

  /* SHADOWS — unchanged (ink, hard) + accent shadow for highlights */
  --shadow-accent: 4px 4px 0 0 var(--color-accent-deep);
}

/* ---------- Base type ---------- */
body { color: var(--color-ink); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.025em; }

.display {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

/* Marker highlight — the signature move */
.hl {
  background: var(--color-pop);
  color: var(--color-ink);
  box-shadow: 4px 4px 0 0 var(--color-pop-deep);
  padding: 0 0.12em;
  white-space: nowrap;
}

/* Kicker label (replaces pills as section labels) */
.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-pop-text);
  margin-bottom: var(--space-3);
}

/* ---------- Sections: dashed hairline dividers, quiet backgrounds ---------- */
.band {
  border-bottom: 1px dashed var(--color-hairline);
  background: var(--color-surface);
}
.band--accent { background: var(--color-surface); }
.band--alt { background: var(--color-surface-alt); }
.band--warn { background: var(--color-surface); border-top: 1px dashed var(--color-hairline); }
/* dark media band stays dark but hairline-separated */
.scrollvid { border-bottom: 1px dashed var(--color-hairline); }

/* ---------- Nav: white + hairline, quiet ---------- */
.nav {
  border-bottom: 1px solid var(--color-hairline);
  padding: 6px 0;
}
.nav__cta { border-radius: 0; }

/* ---------- Buttons: SQUARE + hard shadow (the keeper) ---------- */
.btn {
  border-radius: 0;
  font-weight: 500;
  border-width: 2px;
}
/* primary CTAs = action color */
.btn--warn {
  background: var(--color-action);
  color: var(--color-action-ink);
  box-shadow: var(--shadow-action);
}
.btn--warn:not(.btn--ghost):hover { box-shadow: var(--shadow-action-hover); }
.btn--warn:not(.btn--ghost):active { box-shadow: 0 0 0 0 transparent; }
/* secondary CTA = teal (the reserved feedback hue, promoted to secondary
   action per founder test 2026-08-22). Ink text: 10:1. */
.btn--success { background: var(--color-success-v2); color: var(--color-ink); }

/* ---------- Cards: hairline + dashed, NO shadow, no ink borders ---------- */
.card,
.value,
.testimonial,
.cta {
  border: 1px dashed var(--color-hairline-strong);
  box-shadow: none;
  border-radius: var(--radius-md);
  background: var(--color-surface-raised);
}
.value { transition: border-color 150ms; }
.value:hover { border-color: var(--color-accent); }
.value__title { font-weight: 500; letter-spacing: -0.02em; }
.value__desc { color: var(--color-ink-muted); }

/* hero CTA card gets the solid treatment (it's the interactive object) */
.cta { border-style: solid; border-color: var(--color-hairline-strong); }
.cta__label { font-weight: 500; }
.cta__unit-label { font-weight: 500; }

/* inputs: hairline resting, ink on focus, lime hard-shadow focus kept */
.cta__input, .cta__unit-input, .input {
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-md);
}
.cta__input:focus, .cta__input:focus-visible,
.cta__unit-input:focus, .cta__unit-input:focus-visible {
  border-color: var(--color-ink);
  box-shadow: 2px 2px 0 0 var(--color-focus);
}
.cta__suggest { border: 1px solid var(--color-hairline-strong); box-shadow: 4px 4px 0 0 rgba(15,15,14,0.08); }
.cta__divider { color: var(--color-ink-muted); letter-spacing: 0.18em; }
.cta__fineprint { color: var(--color-ink-muted); }

/* ---------- Testimonials ---------- */
.testimonial { overflow: hidden; }
.testimonial__photo { border-bottom: 1px solid var(--color-hairline); }
.testimonial__quote { color: var(--color-ink); }
.testimonial__role { color: var(--color-ink-muted); }
.testimonial__avatar {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
}
.testimonial__play::before {
  background: var(--color-action);       /* pressable = action color */
  border-radius: 0;                      /* square play button */
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.pill--ghost {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-pop-text);
  padding: 0;
}

/* section headers */
.section-head h2 { font-weight: 500; letter-spacing: -0.03em; }
.section-head__sub { color: var(--color-ink-muted); }

/* ---------- Brokers strip ---------- */
.brokers { border-bottom: 1px dashed var(--color-hairline); }
/* the label shrink-wraps to ~426px at the left edge upstream, so its
   text-align:center centers within that box, not the page — force full width */
.brokers__label { display: block; width: 100%; max-width: none; text-align: center; color: var(--color-pop-text); letter-spacing: 0.22em; font-family: var(--font-body); font-weight: 500; font-size: 0.6875rem; }
.broker { color: var(--color-ink-muted); border-left-color: var(--color-hairline); }
/* brand-font overrides now all resolve to Inter/Geist via tokens — fine */

.tcarousel__hint { color: var(--color-ink-muted); letter-spacing: 0.18em; }

/* ---------- Video frame ---------- */
@media (min-width: 800px) {
  .scrollvid__video {
    border: 1px solid var(--color-hairline-strong);
    box-shadow: 4px 4px 0 0 var(--color-pop-deep);
    border-radius: var(--radius-md);
  }
}

/* ---------- Footer: ink-black band for the inverse (color) mark ---------- */
.footer {
  background: var(--color-ink);
  color: #fff;
}
.footer__social { color: #fff; }
.footer__social:hover { color: var(--color-pop); }         /* editorial pink on black */
.footer__contact a { color: #fff; }
.footer__contact a:hover { color: var(--color-pop); border-bottom-color: var(--color-pop); }
.footer__legal { color: rgba(255,255,255,0.6); }
.footer__address { color: rgba(255,255,255,0.6); }
.footer__address a:hover { color: var(--color-pop); border-bottom-color: var(--color-pop); }

/* ---------- Modal buttons: square to match ---------- */
.vmodal__btn { border-radius: 0; border-width: 2px; }
.vmodal__sound[data-on="true"] { background: var(--color-accent); }

/* ---------- Hero blueprint framing ---------- */
.hero { position: relative; }
.hero .lead { color: var(--color-ink-muted); font-weight: 400; }

/* dashed vertical rails at the container edges, desktop only */
@media (min-width: 1240px) {
  .hero .container { position: relative; }
  .hero .container::before,
  .hero .container::after {
    content: "";
    position: absolute;
    top: calc(-1 * var(--space-7));
    bottom: calc(-1 * var(--space-8));
    width: 0;
    border-left: 1px dashed var(--color-hairline);
  }
  .hero .container::before { left: 0; }
  .hero .container::after { right: 0; }
}

/* hero grid children must be allowed to shrink below min-content at narrow
   viewports, or the chips/CTA overflow the 320px screen */
.hero__layout > * { min-width: 0; }
.value > * { min-width: 0; }
/* the 96px-icon grid overflows a 320px viewport (pre-existing v1 trait);
   shrink the icon column on small phones */
@media (max-width: 420px) {
  .value { grid-template-columns: 56px 1fr; gap: var(--space-3); padding: var(--space-4); }
  .value__icon { width: 56px; height: 56px; }
}

/* trust chip row under the hero fineprint */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: var(--text-sm); font-weight: 500; color: var(--color-ink);
}
.chip::before { content: "▪"; color: var(--color-pop); font-size: 9px; line-height: 1; }
