@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --gutter: clamp(20px, 5vw, 64px);
  --bg: #F6F4ED;
  --ink: #1B242A;
  --ink-soft: rgba(27, 36, 42, 0.74);
  --ink-faint: rgba(27, 36, 42, 0.68);
  --rule: rgba(27, 36, 42, 0.16);
  --accent: #C1592B;
  --accent-text: #A8481F;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1815;
    --ink: #F1EEE6;
    --ink-soft: rgba(241, 238, 230, 0.74);
    --ink-faint: rgba(241, 238, 230, 0.68);
    --rule: rgba(241, 238, 230, 0.18);
    --accent: #E08355;
    --accent-text: #E08355;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; flex-wrap: wrap; padding: 20px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px);
}
.brand { font-weight: 600; font-size: 17px; letter-spacing: 0.01em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.nav a:not(.cta) { font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav a:not(.cta):hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* calls to action: plain underlined text, uppercase (Feel Good Club voice) */
.cta {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.cta-sm { font-size: 13px; }
.cta-accent { color: var(--accent-text); }

/* type */
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.hero, .page-head { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(64px, 9vw, 120px); }
.page-head { padding-bottom: clamp(40px, 6vw, 72px); padding-top: clamp(64px, 10vw, 128px); }
.hero > *, .page-head > * { max-width: 900px; }
.hero .label, .page-head .label { margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 84px); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }
.big { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; font-weight: 400; }
.soft { color: var(--ink-soft); }
.emph { font-size: 20px; font-weight: 500; color: var(--accent-text); }
.prompt { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-text); }
.meta { font-size: 14px; color: var(--ink-faint); }
.person { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; }

/* layout */
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0 auto; max-width: 1180px; width: calc(100% - 2 * var(--gutter)); }
.section { padding: clamp(72px, 10vw, 140px) var(--gutter); scroll-margin-top: 72px; }
.split { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 56px; max-width: 1180px; margin: 0 auto; }
.col { display: flex; flex-direction: column; gap: 24px; max-width: 700px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; }
.closing { max-width: 1180px; margin: 0 auto; padding: clamp(88px, 14vw, 180px) var(--gutter) clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 32px; }
.closing > * { max-width: 900px; }
.closing h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }

/* legal / long text */
.prose { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
.prose-inner { max-width: 720px; }
.prose h2 { font-size: 22px; font-weight: 500; margin: 48px 0 12px; text-wrap: pretty; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--rule); padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; font-size: 14px; color: var(--ink-faint);
}
.site-footer p { margin: 0; }
.footer-brand { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 4px !important; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.footer-nav a { color: var(--ink-soft); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
}
