/* ============================================================
   We Love Soho — Web Tokens
   Extends the app tokens with web-scale type, editorial spacing,
   and marketing-site-specific surfaces.
   Loaded after tokens-app.css.
   ============================================================ */

:root {
  /* Web-scale display type tier (the app stops at 40px). */
  --t-display-xxl: clamp(56px, 11vw, 168px);   /* hero headline */
  --t-display-xl-web: clamp(44px, 7.2vw, 112px);  /* secondary hero */
  --t-display-l-web:  clamp(34px, 4.8vw, 72px);   /* manifesto blocks */
  --t-display-m-web:  clamp(26px, 3vw, 44px);     /* section openers */

  /* Editorial body type — runs a bit larger than app body, for marketing. */
  --t-lede:    20px / 30px var(--font-ui);
  --t-lede-l:  22px / 32px var(--font-ui);

  /* Editorial spacing scale — bigger rhythm for web */
  --s-section: clamp(64px, 8vw, 144px);
  --s-section-tight: clamp(48px, 5vw, 88px);

  /* Page horizontal padding — wider on web */
  --page-pad-web: clamp(20px, 4vw, 56px);

  /* Editorial grid */
  --grid-max: 1440px;
  --grid-gap: clamp(20px, 2vw, 32px);

  /* Accent intensity — controlled by tweak panel */
  --accent-quiet:  var(--red-7);  /* default */

  /* Editorial rule (red underline under headlines) */
  --rule-accent-height: 2px;
}

/* ---- Site base ---- */
html, body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  font-feature-settings: 'ss01', 'cv11';
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ---- Editorial type classes (web-scale, additive to app's t-* classes) ---- */
.web-display-xxl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-display-xxl);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.web-display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-display-xl-web);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.web-display-l {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-l-web);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.web-display-m {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-m-web);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.web-lede {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-2);
}

.web-lede-l {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--fg-2);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Editorial accent rule under a headline ---- */
.accent-rule::after {
  content: "";
  display: block;
  width: 56px;
  height: var(--rule-accent-height);
  background: var(--accent);
  margin-top: 20px;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--page-pad-web);
}

/* ---- Hairlines ---- */
.hr-rule {
  height: 1px;
  background: var(--border-1);
  border: 0;
  margin: 0;
}

/* ---- Focus ring (never remove) ---- */
*:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
