/* sooon.org, draft 01.
   Palette and type scale from sooonLOGO & BRAND/BRAND.md. Do not invent values here. */

@font-face { font-family: "Poppins"; font-weight: 300; src: url("assets/fonts/Poppins-Light.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 400; src: url("assets/fonts/Poppins-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: italic; src: url("assets/fonts/Poppins-Italic.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 500; src: url("assets/fonts/Poppins-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 600; src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 700; src: url("assets/fonts/Poppins-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 800; src: url("assets/fonts/Poppins-ExtraBold.ttf") format("truetype"); font-display: swap; }

:root {
  /* brand palette (BRAND.md) */
  --navy: #1E3A5F;
  --pink: #FF7A9C;
  --soft-pink: #FFE6EC;
  --ivory: #FFF6F2;
  --gray: #6B7280;
  --white: #FFFFFF;
  --navy-deep: #142840; /* futures-report tokens: only for the dark band */

  /* web type scale (BRAND.md) */
  --h1: 64px; --h1-lh: 72px;
  --h2: 36px; --h2-lh: 44px;
  --h3: 24px; --h3-lh: 32px;
  --body: 16px; --body-lh: 24px;
  --btn: 14px; --btn-lh: 20px;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: var(--body); line-height: var(--body-lh);
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: var(--h2); line-height: var(--h2-lh); font-weight: 600; }
h3 { font-size: var(--h3); line-height: var(--h3-lh); font-weight: 700; }
.pink { color: var(--pink); }
.muted { color: var(--gray); }
.lead { font-size: 20px; line-height: 30px; font-weight: 300; max-width: 720px; }
.label {
  font-size: var(--btn); line-height: var(--btn-lh); font-weight: 600;
  letter-spacing: .015em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 16px;
}
.label.light, h2.light { color: var(--white); }
.label.light { color: var(--pink); }

section { padding: 120px var(--pad); max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }

/* draft helpers */
.draft-ribbon {
  position: fixed; bottom: 16px; right: 16px; z-index: 60;
  background: var(--navy); color: var(--white); font-size: 12px; line-height: 16px;
  padding: 8px 12px; border-radius: 999px; opacity: .9;
}
.draft-note {
  display: inline-block; margin-top: 12px; font-size: 12px; line-height: 16px;
  background: #FFF1B8; color: var(--navy); padding: 4px 10px; border-radius: 4px;
}

/* buttons */
.btn {
  display: inline-block; text-decoration: none;
  font-size: var(--btn); line-height: var(--btn-lh); font-weight: 600;
  letter-spacing: .015em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--pink);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-ghost { color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 8px 18px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  background: rgba(255, 246, 242, .86); backdrop-filter: blur(10px);
  border-top: 4px solid var(--navy);
}
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 8px; font-size: 12px; font-weight: 600; color: var(--gray); }
.lang span { cursor: default; }
.lang a { text-decoration: none; color: var(--gray); }
.lang a:hover { color: var(--pink); }
.lang span[title] { opacity: .45; }
.lang .lang-on { color: var(--navy); border-bottom: 2px solid var(--pink); }

/* phone menu button (added by main.js) */
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
.site-header.open .menu-btn span:first-child { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn span:last-child { transform: translateY(-6px) rotate(-45deg); }
.js-intro .site-header.open .logo img { opacity: 1; }

/* 0. intro: the giant word that gains its third o and shrinks into the logo */
.intro { max-width: none; min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 40px; padding-bottom: 36px; }
.giant {
  margin: 0; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap; font-size: var(--gsize, 22vw);
}
.g-o { display: inline-block; overflow: hidden; vertical-align: top; max-width: 0; color: var(--pink); transition: max-width 1.3s var(--ease); }
.giant.grown .g-o { max-width: .72em; }
.giant-slot { display: none; }
.js-intro .giant-slot { display: block; height: var(--gh, 22vw); }
.js-intro .giant { position: fixed; left: 0; top: 0; z-index: 55; transform-origin: 0 0; pointer-events: none; will-change: transform, opacity; visibility: hidden; }
.js-intro .giant.ready { visibility: visible; }
.site-header.open ~ main .giant { opacity: 0 !important; }
.js-intro .logo img { opacity: var(--logo, 0); transition: opacity .25s; }
.intro-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: 28px; border-top: 1px solid rgba(30, 58, 95, .18); padding-top: 18px; }
.intro-tag { font-size: var(--h3); line-height: var(--h3-lh); font-weight: 500; }
.intro-tag strong { color: var(--pink); font-weight: 700; }
.intro-meta { font-size: var(--btn); font-weight: 600; letter-spacing: .015em; text-transform: uppercase; color: var(--gray); }

/* 1. hero statement */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding-top: 140px; }
.eyebrow { font-size: var(--btn); font-weight: 600; letter-spacing: .015em; text-transform: uppercase; color: var(--gray); margin-bottom: 24px; }
.hero-title { font-size: clamp(36px, 5.4vw, var(--h1)); line-height: 1.125; font-weight: 800; letter-spacing: -.01em; margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.big-title { font-size: clamp(36px, 5vw, var(--h1)); line-height: 1.125; font-weight: 700; letter-spacing: -.01em; margin-bottom: 20px; }

/* hero mosaic: the brand's squares, appearing one by one like signals */
.mosaic {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 100%; max-width: 420px; justify-self: end;
}
.mosaic i { aspect-ratio: 1; border-radius: 4px; background: var(--soft-pink); opacity: 0; animation: blink 7s ease-in-out infinite; }
.mosaic i.p { background: var(--pink); }
.mosaic i.n { background: var(--navy); }
.mosaic i.w { background: var(--white); }
@keyframes blink { 0%, 100% { opacity: 0; transform: scale(.6); } 25%, 70% { opacity: 1; transform: scale(1); } }
@media (max-width: 860px) { .mosaic { display: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.three .reveal:nth-child(2) { transition-delay: .12s; }
.three .reveal:nth-child(3) { transition-delay: .24s; }

/* 2. manifesto */
.manifesto { text-align: left; }
.statement { font-size: clamp(32px, 5vw, var(--h1)); line-height: 1.125; font-weight: 700; letter-spacing: -.01em; max-width: 980px; }
.statement + .statement { margin-top: 8px; }
.statement.small { font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; font-weight: 600; margin-top: 24px; }
.underlined { position: relative; display: inline-block; font-style: italic; }
.scribble { position: absolute; left: -4%; bottom: -10px; width: 108%; height: 22px; overflow: visible; }
.scribble path { fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s var(--ease) .5s; }
.statement.in .scribble path { stroke-dashoffset: 0; }
.kicker { margin: 80px 0 24px; font-size: var(--h3); line-height: var(--h3-lh); font-weight: 500; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--soft-pink); border-radius: 18px; padding: 28px; min-height: 180px; }
.card .num, .why .num { display: block; color: var(--pink); font-weight: 800; font-size: var(--h3); margin-bottom: 18px; }
.card p { font-size: 18px; line-height: 28px; font-weight: 500; }
.untangle { margin: 70px 0 10px; }
.untangle svg { width: 100%; height: auto; overflow: visible; }
.tangle-path, .tangle-head { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tangle-path { stroke-dasharray: var(--len, 2400); stroke-dashoffset: calc(var(--len, 2400) * (1 - var(--p, 0))); }
.tangle-head { stroke: var(--pink); stroke-width: 4; opacity: var(--head, 0); transition: opacity .3s; }

/* 3. authority: two sides, one team */
.authority { text-align: center; }
.authority .label { text-align: center; }
.authority h2 { max-width: 760px; margin: 0 auto; }
.auth-grid { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; gap: 24px; margin: 48px 0 48px; }
.auth-join { align-self: center; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { padding: 7px 0 7px 28px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 4px; border-radius: 2px; background: var(--pink); }
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.cred { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid rgba(30, 58, 95, .12); border-radius: 22px; padding: 16px 26px 16px 16px; text-align: left; font-size: 15px; line-height: 22px; font-weight: 600; }
.cred-who { display: block; font-size: 12px; line-height: 16px; letter-spacing: .015em; text-transform: uppercase; color: var(--gray); font-weight: 600; margin-bottom: 2px; }
.cred-badge { width: 84px; height: 84px; }
.cred-iftf { width: 84px; height: auto; padding: 0 4px; }
.cred-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--white); }
.cred-mark.g { background: var(--navy); }
.cred-mark.f { background: var(--pink); }
.authority .draft-note { margin-top: 18px; }
.disclaimer { max-width: 680px; margin: 18px auto 0; font-size: 12px; line-height: 18px; color: var(--gray); }
.auth { background: var(--white); border-radius: 22px; padding: 40px 34px; box-shadow: 0 20px 50px rgba(30, 58, 95, .07); text-align: left; }
.auth-time { font-size: 48px; line-height: 56px; font-weight: 800; color: var(--pink); letter-spacing: -.01em; margin-bottom: 14px; }
.auth h3 { margin-bottom: 10px; }
.auth-join { display: flex; justify-content: center; }
.auth-join span { display: block; width: 100%; height: 3px; background: linear-gradient(90deg, var(--pink), var(--navy)); border-radius: 3px; position: relative; }
.auth-join span::before, .auth-join span::after { content: ""; position: absolute; top: -6px; width: 15px; height: 15px; border-radius: 50%; }
.auth-join span::before { left: -6px; background: var(--pink); }
.auth-join span::after { right: -6px; background: var(--navy); }
.auth-line { font-size: 20px; line-height: 30px; max-width: 760px; margin: 0 auto; }
.auth-line strong { font-weight: 600; }

/* 4. services */
.services { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.sticky-col { position: sticky; top: 130px; }
.fill-title {
  font-size: clamp(36px, 5vw, var(--h1)); line-height: 1.125; font-weight: 700; letter-spacing: -.01em; margin-bottom: 20px;
  background: linear-gradient(90deg, var(--navy) 0 calc(var(--fill, 0) * 100%), rgba(30, 58, 95, .18) calc(var(--fill, 0) * 100%) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.service-list { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 36px 0; border-top: 1px solid rgba(30, 58, 95, .18); }
.service:last-child { border-bottom: 1px solid rgba(30, 58, 95, .18); }
.snum { font-weight: 600; color: var(--pink); padding-top: 28px; }
.tag { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .015em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.tag-ai { background: var(--navy); color: var(--white); }
.tag-fs { background: var(--soft-pink); color: var(--pink); }
.verb { color: var(--pink); min-width: 92px; }
.service h3 { margin-bottom: 12px; }
.service p + p { margin-top: 14px; }
.note { font-size: 14px; line-height: 20px; color: var(--gray); border-left: 3px solid var(--pink); padding-left: 12px; }
.offers { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; line-height: 18px; font-weight: 600; background: var(--soft-pink); color: var(--navy); padding: 6px 12px; border-radius: 999px; }

/* 5. method */
.method h2 { max-width: 760px; margin-bottom: 40px; }
.tracks svg { width: 100%; height: auto; overflow: visible; }
.trk { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.8s var(--ease); }
.t1 { stroke: var(--pink); }
.t2 { stroke: var(--navy); transition-delay: .2s; }
.t3 { stroke: var(--navy); transition-delay: 1.4s; }
.tracks.in .trk { stroke-dashoffset: 0; }
.node circle { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.node.big circle { fill: var(--pink); stroke: var(--pink); }
.node text { font-family: "Poppins"; font-weight: 700; font-size: 22px; text-anchor: middle; fill: var(--navy); }
.node.big text { fill: var(--white); font-size: 26px; }
.node { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .5s, transform .6s var(--ease); }
.tracks.in .node { opacity: 1; transform: none; }
.tracks.in .n2, .tracks.in .n3 { transition-delay: .6s; }
.tracks.in .n4 { transition-delay: 1.2s; }
.tracks.in .n5 { transition-delay: 1.9s; }
.trk-label { font-family: "Poppins"; font-size: 15px; font-weight: 600; fill: var(--gray); }
.phases { margin-top: 48px; border-top: 1px solid rgba(30, 58, 95, .18); }
.phase { border-bottom: 1px solid rgba(30, 58, 95, .18); }
.phase summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.phase summary::-webkit-details-marker { display: none; }
.pl { width: 40px; height: 40px; border-radius: 50%; background: var(--soft-pink); color: var(--pink); display: grid; place-items: center; font-weight: 800; flex: none; }
.plus { margin-left: auto; width: 18px; height: 18px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
.phase[open] .plus::after { transform: rotate(0); }
.phase p { padding: 0 0 8px 58px; max-width: 760px; }
.deliv { font-size: 14px; color: var(--gray); padding-bottom: 24px !important; }

/* sector numbers */
.method .lead { margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 20px; }
.source { font-size: 13px; line-height: 20px; color: var(--gray); margin-bottom: 40px; }
.source a { color: var(--gray); }
.ai-line { margin-top: 56px; max-width: 720px; color: var(--gray); }
.stat { border-top: 3px solid var(--pink); padding-top: 18px; }
.stat .big { display: block; font-size: 96px; line-height: 96px; font-weight: 800; color: var(--pink); letter-spacing: -.02em; margin-bottom: 10px; }
.stat span:last-child { font-weight: 500; }
.callout { margin: 0 0 40px; background: var(--navy); color: var(--white); border-radius: 18px; padding: 32px 36px; font-size: 20px; line-height: 30px; max-width: 860px; }
.callout-label { display: block; color: var(--pink); font-size: var(--btn); font-weight: 600; text-transform: uppercase; letter-spacing: .015em; margin-bottom: 8px; }
.results { padding-left: 0; list-style: none; max-width: 760px; }
.results li { padding: 10px 0 10px 30px; position: relative; }
.results li::before { content: ""; position: absolute; left: 0; top: 19px; width: 16px; height: 4px; background: var(--pink); border-radius: 2px; }

/* 7. future, the one dark band */
.future {
  max-width: none; position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-deep);
  padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2)); padding-right: max(var(--pad), calc((100vw - var(--wrap)) / 2));
}
.future::before { /* soft passage from the ivory page into the future */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 90px;
  background: linear-gradient(var(--ivory), rgba(255, 246, 242, .35) 40%, rgba(20, 40, 64, 0)); z-index: 1; pointer-events: none;
}
.future-bg {
  position: absolute; inset: 0; background: url("assets/future.jpg") right center / cover no-repeat; opacity: .38;
  mask-image: linear-gradient(90deg, transparent 15%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 75%);
  transform: translateY(calc(var(--par, 0) * 1px));
}
.future > *:not(.future-bg) { position: relative; z-index: 2; }
.gibson { margin: 60px 0 120px; max-width: 900px; }
.gibson p { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; font-weight: 300; font-style: italic; }
.gibson cite { display: block; margin-top: 18px; font-style: normal; color: var(--pink); font-weight: 600; }
.future h2 { margin-bottom: 56px; }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ctitle { font-size: 22px !important; line-height: 28px !important; }
.c-policy { background: var(--pink); color: var(--white); }
.c-policy .bar { background: var(--white); }
.c-literacy { background: var(--white); color: var(--navy); }
.book:nth-child(4) .cover { animation-delay: -3s; }
.book { margin: 0; perspective: 1100px; }
.cover {
  aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; padding: 26px 24px; display: flex; flex-direction: column;
  position: relative; transform: rotateY(-18deg) rotateX(4deg); transform-style: preserve-3d;
  box-shadow: -14px 24px 40px rgba(0, 0, 0, .45), inset 6px 0 0 rgba(255, 255, 255, .12);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
  animation: float 6s ease-in-out infinite;
}
.book:nth-child(2) .cover { animation-delay: -2s; }
.book:nth-child(3) .cover { animation-delay: -4s; }
.book:hover .cover { transform: rotateY(0) rotateX(0) translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); animation-play-state: paused; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.cover .bar { width: 64px; height: 10px; background: var(--pink); margin-bottom: auto; }
.ctype { font-size: 12px; font-weight: 600; letter-spacing: .015em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.ctitle { font-size: 26px; line-height: 32px; font-weight: 700; }
.c-signals { background: var(--ivory); color: var(--navy); }
.c-futures { background: linear-gradient(160deg, var(--navy) 0%, #2b4f7d 100%); color: var(--white); }
.c-after { background: var(--soft-pink); color: var(--navy); }
.book figcaption { margin-top: 22px; font-size: 15px; line-height: 23px; color: rgba(255, 255, 255, .78); }
.book figcaption strong { display: block; color: var(--white); margin-bottom: 4px; }
.signal-card { margin-top: 90px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 18px; padding: 30px 34px; max-width: 640px; backdrop-filter: blur(6px); }
.signal-card p:not(.label) { font-size: 18px; line-height: 28px; }

/* 8. about */
.motto { font-size: clamp(32px, 5vw, var(--h1)); line-height: 1.125; font-weight: 800; letter-spacing: -.01em; margin-bottom: 64px; }
.motto span { display: inline-block; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why h3 { margin-bottom: 10px; }
.founder { display: flex; gap: 28px; align-items: center; margin-top: 80px; padding: 28px; background: var(--soft-pink); border-radius: 22px; max-width: 820px; }
.portrait { width: 120px; height: 120px; border-radius: 50%; border: 2px dashed var(--pink); display: grid; place-items: center; color: var(--pink); font-size: 13px; font-weight: 600; flex: none; }
.founder .draft-note { margin: 0 0 10px; }

/* 9. close */
.close { text-align: center; padding-top: 160px; padding-bottom: 160px; }
.closing { font-size: clamp(44px, 8vw, 96px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: 28px; }
.close .lead { margin: 0 auto 44px; }
.mail { font-size: clamp(22px, 3vw, 32px); font-weight: 600; text-decoration: none; border-bottom: 3px solid var(--pink); padding-bottom: 4px; display: inline-block; }
.mail:hover { color: var(--pink); }

/* footer: the soft pink band of the brand */
.site-footer { background: var(--soft-pink); padding: 48px var(--pad); display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; }
.flogo { height: 30px; width: auto; grid-row: span 2; }
.clock { font-size: 15px; font-weight: 500; }
#clock { color: var(--pink); font-weight: 600; }
.fmeta { font-size: 13px; color: var(--gray); }
.fmeta a { text-decoration: none; }

@media (max-width: 1100px) { .shelf { grid-template-columns: repeat(2, 1fr); max-width: 640px; } }

/* phones and small tablets */
@media (max-width: 860px) {
  section { padding-top: 80px; padding-bottom: 80px; }
  .main-nav { display: none; }
  .menu-btn { display: flex; padding: 13px 8px; }
  .site-header.open .main-nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); padding: 8px var(--pad) 20px; box-shadow: 0 24px 40px rgba(30, 58, 95, .12);
  }
  .site-header.open .main-nav a { padding: 14px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid rgba(30, 58, 95, .12); }
  .site-header.open .main-nav a::after { display: none; }
  .header-right { gap: 12px; }
  .lang { font-size: 13px; gap: 10px; }
  .three, .stats, .why, .shelf { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .intro { min-height: 64vh; }
  .intro-tag { font-size: 18px; line-height: 26px; }
  .snum { padding-top: 26px; }
  .verb { min-width: 0; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-join { height: 40px; }
  .auth-join span { width: 3px; height: 100%; background: linear-gradient(var(--pink), var(--navy)); }
  .auth-join span::before { left: -6px; top: -6px; }
  .auth-join span::after { left: -6px; right: auto; top: auto; bottom: -6px; }
  .services { grid-template-columns: 1fr; gap: 24px; }
  .sticky-col { position: static; }
  .service { grid-template-columns: 44px 1fr; }
  .phase p { padding-left: 0; }
  .shelf { gap: 56px; max-width: 360px; }
  .cover { width: 240px; }
  .stat .big { font-size: 72px; line-height: 76px; }
  .founder { flex-direction: column; align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; }
  .flogo { grid-row: auto; }
  .draft-ribbon { font-size: 11px; }
}

@media (max-width: 430px) { .header-right .btn-small { display: none; } }

/* people who asked their device for less movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; opacity: 1; }
  .g-o { max-width: .72em; }
  .scribble path, .trk { stroke-dashoffset: 0; }
  .node { opacity: 1; transform: none; }
  .tangle-path { stroke-dashoffset: 0; }
  .tangle-head { opacity: 1; }
  .fill-title { --fill: 1; }
}
