/* One L1fe brand system, preview of 23 Oct 2026. Tokens first, then base, then shared parts. */
@font-face { font-family: 'Archivo'; font-weight: 300 800; font-stretch: 100% 125%; font-display: swap; src: url('fonts/archivo-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 300 700; font-display: swap; src: url('fonts/fraunces-latin.woff2') format('woff2'); }

:root {
  /* ground */
  --paper: #F3F1EA;
  --paper-2: #E9E6DC;
  --card: #FBFAF6;
  --ink: #13201C;
  --ink-2: #4A5651;
  --ink-3: #5C6762;
  --line: #D6D1C4;
  /* key: the Twin, the brand, every action */
  --green: #31796D;
  --green-ink: #22594F;
  --green-deep: #0E2A24;
  --green-soft: #D5E6DF;
  --mint: #BFE3D6;
  /* plates: one per source, used only to mark where a reading comes from */
  --wear: #2F4BD8;
  --lab: #E4572E;
  --food: #E0A11B;
  --train: #CF3F78;
  --record: #6B7A75;
  /* type */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 104%; font-weight: 720; letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 62px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.015em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
:focus-visible { outline: 3px solid var(--wear); outline-offset: 3px; border-radius: 4px; }

/* wordmark: the 1 is the mark */
.wordmark { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark b { color: var(--green); font-weight: 800; }

/* the registration 1: five plates, one key */
.mark1 { position: relative; display: inline-block; font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1; color: var(--green); }
.mark1 i { position: absolute; inset: 0; font-style: normal; mix-blend-mode: multiply; opacity: .9; }
.mark1 i:nth-child(1) { color: var(--wear); transform: translate(-.07em, -.04em); }
.mark1 i:nth-child(2) { color: var(--lab); transform: translate(.07em, -.05em); }
.mark1 i:nth-child(3) { color: var(--food); transform: translate(-.05em, .06em); }
.mark1 i:nth-child(4) { color: var(--train); transform: translate(.06em, .05em); }
.mark1 i:nth-child(5) { color: var(--record); transform: translate(0, -.08em); }
.mark1 span { position: relative; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--green-ink); }
.btn.ghost { background: transparent; color: var(--ink); padding: 0 6px; min-height: 44px; border-radius: 0; box-shadow: inset 0 -2px 0 var(--ink); }
.btn.ghost:hover { color: var(--green-ink); box-shadow: inset 0 -2px 0 var(--green); }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.site-head nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.site-head nav a { text-decoration: none; color: var(--ink-2); }
.site-head nav a:hover { color: var(--ink); }
.site-head .btn { min-height: 42px; padding: 0 18px; font-size: 14px; color: #fff; }
@media (max-width: 860px) { .site-head nav a:not(.btn) { display: none; } }

/* preview ribbon: makes clear this is not the live site */
.ribbon { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-align: center; padding: 7px var(--gutter); }
.ribbon a { color: var(--mint); }

/* source chips */
.src { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.src::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--c, var(--green)); flex: none; }

/* footer */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--ink-2); }
.site-foot .wrap { display: grid; gap: 18px; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-foot a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
