/* ============================================================
   THE HUMAN × TECH — shared styles
   Brand: tech blue #364aff, human yellow #edf2a2, accent orange #e58d51
   Type: Area Inktrap (sans), Tiempos Headline (serif, licensed web
   files go in /fonts; Source Serif 4 stands in until then)
   ============================================================ */

@font-face { font-family: 'Area Inktrap'; src: url('/fonts/area-inktrap-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Area Inktrap'; src: url('/fonts/area-inktrap-medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Area Inktrap'; src: url('/fonts/area-inktrap-semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Area Inktrap'; src: url('/fonts/area-inktrap-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Area Inktrap'; src: url('/fonts/area-inktrap-extrabold.woff') format('woff'); font-weight: 800; font-display: swap; }
/* When the Tiempos Headline web licence is in place, add its files here:
@font-face { font-family: 'Tiempos Headline'; src: url('/fonts/tiempos-headline-light-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('/fonts/tiempos-headline-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
*/

:root {
  --blue: #364aff; --blue-deep: #2233d9;
  --yellow: #edf2a2; --orange: #e58d51;
  --ink: #0b0d24; --paper: #f6f7e9; --paper-2: #eef0dc; --white: #ffffff;
  --sans: 'Area Inktrap', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Tiempos Headline', 'Source Serif 4', Georgia, serif;
  --max: 1240px; --r-lg: 28px; --r-md: 18px;

  /* light theme (default) */
  --bg: var(--paper); --fg: var(--ink); --muted: #3b3e5c; --soft: #5b5e78;
  --line: rgba(11,13,36,0.12); --card: var(--white); --accent: var(--blue);
}
body.theme-dark {
  --bg: #090b1c; --fg: #ffffff; --muted: rgba(255,255,255,0.76); --soft: rgba(255,255,255,0.62);
  --line: rgba(255,255,255,0.14); --card: #12152e; --accent: var(--yellow);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-alt { background: var(--paper-2); }
body.theme-dark .section-alt { background: #0e1126; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.todo { background: #ffe9a8; color: var(--ink); padding: 0 4px; border-radius: 4px; font-style: normal; }

/* type */
.serif { font-family: var(--serif); }
.it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
.display { font-weight: 600; font-size: clamp(60px, 11vw, 140px); line-height: 0.92; letter-spacing: -0.045em; }
.display .it { display: block; font-size: 1.08em; line-height: 0.95; color: var(--accent); }
.h2 { font-weight: 600; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 .it { color: var(--accent); }
.h3 { font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 580px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 48px; }
.section-head .lede { max-width: 440px; font-size: 17px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 28px; border-radius: 999px; font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, opacity .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; color: var(--fg); }
.btn-outline-yellow { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* announcement bar */
.announce { display: block; background: var(--blue); color: var(--white); text-decoration: none; font-size: 15px; text-align: center; padding: 12px 20px; line-height: 1.4; }
.announce b { color: var(--yellow); font-weight: 600; }
.announce u { text-underline-offset: 4px; font-weight: 600; margin-left: 8px; white-space: nowrap; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; color: var(--fg); white-space: nowrap; }
.logo svg { width: 24px; height: 20px; color: var(--blue); flex-shrink: 0; }
body.theme-dark .logo svg { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--fg); }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; border-bottom: 0; }
}

/* hero (workshop) */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.hero-note { padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: 560px; }
.hero-note a { color: var(--blue); font-weight: 600; }
.hero-art { position: relative; min-height: 560px; }
.hero-x { position: absolute; width: 112%; max-width: 680px; height: auto; right: -10%; top: -16%; transform: rotate(-14deg); pointer-events: none; }
.session-card { position: absolute; left: -24px; bottom: -36px; width: min(380px, 100%); background: var(--white); color: var(--ink); border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(11,13,36,0.35), 0 0 0 1px rgba(11,13,36,0.06); display: flex; flex-direction: column; gap: 16px; z-index: 2; }
.session-card h2 { font-size: 17px; font-weight: 600; }
.session-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.session-opt { text-align: left; padding: 14px 16px; border-radius: 16px; cursor: pointer; background: var(--paper); color: var(--ink); border: 1.5px solid rgba(11,13,36,0.15); font-family: var(--sans); }
.session-opt strong { display: block; font-size: 19px; letter-spacing: -0.02em; }
.session-opt span { display: block; font-size: 14px; margin-top: 2px; }
.session-opt[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
@media (max-width: 980px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-x { position: relative; width: 74%; max-width: 380px; right: auto; top: auto; margin: 8px auto -36px; }
  .session-card { position: relative; left: auto; bottom: auto; width: 100%; max-width: 440px; }
}

/* ticker */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; height: 54px; display: flex; align-items: center; }
body.theme-dark .ticker { background: var(--yellow); color: var(--ink); }
.ticker-track { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; font-size: 17px; font-weight: 500; animation: ticker 42s linear infinite; }
.ticker-track svg { width: 18px; height: 15px; color: var(--orange); flex-shrink: 0; }
body.theme-dark .ticker-track svg { color: var(--blue); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* logo strip */
.logos { padding: 36px 0 0; }
.logos p { text-align: center; font-size: 15px; color: var(--soft); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--fg); opacity: 0.55; }

/* quotes: sound familiar */
.familiar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.familiar-grid blockquote { margin: 0; padding: 26px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.familiar-after { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 48px; font-size: 19px; color: var(--muted); }

/* program */
.program { display: grid; gap: 16px; }
.part { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.part p { max-width: 760px; }
.part:last-child { border-bottom: 1px solid var(--line); }
.part-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 56px; line-height: 1; color: var(--blue); }
.part p { color: var(--muted); margin-top: 10px; }
.part-leave { align-self: start; background: var(--yellow); color: var(--ink); border-radius: var(--r-md); padding: 18px 20px; font-size: 16px; }
.part-leave b { display: block; font-size: 14px; margin-bottom: 4px; }
@media (max-width: 860px) { .part { grid-template-columns: 1fr; gap: 12px; } .part-num { font-size: 44px; } }
.program-note { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 48px; margin-top: 40px; color: var(--muted); }

/* playbook example */
.playbook { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.playbook-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 24px 50px -28px rgba(11,13,36,0.4), 0 0 0 1px rgba(11,13,36,0.06); transform: rotate(0.6deg); }
.playbook-card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin: 22px 0 8px; }
.playbook-card h3:first-child { margin-top: 0; }
.playbook-card ul { margin: 0; padding-left: 20px; font-family: var(--serif); font-size: 18px; line-height: 1.45; }
.playbook-card li + li { margin-top: 8px; }
.playbook-card p { font-family: var(--serif); font-size: 18px; line-height: 1.45; }
.playbook-card .paste { margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-family: var(--sans); font-size: 15px; }
.small-note { font-size: 14px; color: var(--soft); margin-top: 12px; }
@media (max-width: 860px) { .playbook { grid-template-columns: 1fr; } .playbook-card { transform: none; padding: 26px; } }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ba > div { padding: 22px 28px; border-top: 1px solid var(--line); font-size: 17px; }
.ba .ba-h { border-top: 0; font-weight: 700; font-size: 15px; }
.ba .after { background: var(--blue); color: var(--white); border-top-color: rgba(255,255,255,0.2); }
.ba .before { background: var(--card); color: var(--muted); }
@media (max-width: 640px) { .ba > div { padding: 16px; font-size: 15px; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.quote footer { font-size: 15px; color: var(--soft); }

/* host / founder */
.host { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.host-photo { position: relative; border-radius: 32px; overflow: hidden; background: var(--blue); aspect-ratio: 4 / 5; }
.host-photo img.portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.host-photo img.lines { position: absolute; width: 300%; max-width: none; left: -100%; top: -30%; opacity: 0.35; }
.host-photo .tag { position: absolute; right: 18px; top: 20px; transform: rotate(4deg); padding: 9px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.host-copy { display: flex; flex-direction: column; gap: 24px; }
.host-copy .role { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; color: var(--accent); }
.host-copy .bio { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats strong { display: block; font-size: 32px; letter-spacing: -0.03em; }
.stats span { font-size: 14px; color: var(--soft); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.team-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.team-card svg { width: 32px; height: 27px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.team-card b { color: var(--fg); }
.team-card a { color: var(--blue); font-weight: 600; }
@media (max-width: 900px) { .host { grid-template-columns: 1fr; gap: 36px; } .host-photo { max-width: 460px; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fit */
.fit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.fit > div { border-radius: var(--r-lg); padding: 34px; }
.fit .yes { background: var(--yellow); color: var(--ink); }
.fit .no { background: var(--card); border: 1px solid var(--line); }
.fit h3 { margin-bottom: 14px; }
.fit ul { margin: 0; padding-left: 20px; font-size: 17px; }
.fit li + li { margin-top: 10px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } .fit > div { padding: 26px; } }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.tier-base { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(11,13,36,0.08); }
.tier-plus { background: var(--blue); color: var(--white); box-shadow: 0 30px 60px -24px rgba(54,74,255,0.6); }
.tier-team { background: var(--ink); color: var(--white); }
.tier .badge { position: absolute; top: -14px; left: 36px; padding: 6px 14px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price strong { font-size: 58px; letter-spacing: -0.045em; line-height: 1; }
.price s { font-size: 16px; opacity: 0.7; }
.tier-plus .price strong { color: var(--yellow); }
.tier ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.tier li { padding: 12px 0; border-top: 1px solid rgba(11,13,36,0.1); }
.tier li:last-child { border-bottom: 1px solid rgba(11,13,36,0.1); }
.tier-plus li, .tier-team li { border-color: rgba(255,255,255,0.22) !important; }
.tier .serif { font-size: 19px; line-height: 1.45; }
.tier .btn { margin-top: auto; width: 100%; }
.tier-team p { color: rgba(255,255,255,0.8); }
.tiers-foot { margin-top: 28px; color: var(--muted); font-size: 15px; max-width: 900px; }
.session-line { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.session-line span { padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } .tier { padding: 30px 26px; } }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 700px; }

/* close */
.close { background: var(--blue); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.close .lines { position: absolute; width: 1600px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.35; pointer-events: none; }
.close .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.close .h2 .it { color: var(--yellow); }
.close p { max-width: 600px; font-size: 19px; color: rgba(255,255,255,0.85); }
.close .ps { font-size: 15px; }

/* footer */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 14px; color: var(--soft); font-weight: 600; }
.footer-grid a { display: block; text-decoration: none; padding: 5px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer .tagline { margin-top: 14px; color: var(--muted); max-width: 300px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { text-decoration: none; }
.footer-bottom .legal-links a:hover { color: var(--accent); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* page hero (inner pages) */
.page-hero { padding: 80px 0 56px; position: relative; overflow: hidden; }
.page-hero .lede { margin-top: 24px; }
@media (max-width: 640px) { .page-hero { padding: 48px 0 40px; } }

/* newsletter */
.nl-signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--blue); color: var(--white); border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.nl-signup .lines { position: absolute; width: 1400px; max-width: none; right: -500px; top: -300px; opacity: 0.35; pointer-events: none; }
.nl-signup > * { position: relative; }
.nl-signup p { color: rgba(255,255,255,0.85); margin-top: 14px; }
.nl-embed { background: var(--white); border-radius: 20px; padding: 18px; min-height: 120px; }
@media (max-width: 860px) { .nl-signup { grid-template-columns: 1fr; padding: 30px 24px; gap: 28px; } }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform .2s ease; }
.post:hover { transform: translateY(-3px); }
.post-img { aspect-ratio: 16 / 9; background: var(--yellow) url('/images/hxt-icon.svg') center / 72px no-repeat; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-date { font-size: 14px; color: var(--soft); }
.post h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.post p { font-size: 15px; color: var(--muted); }
.post .more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 15px; }
@media (max-width: 980px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* about */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.mission .serif { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.mission-body { display: flex; flex-direction: column; gap: 18px; color: var(--muted); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; gap: 24px; } }

/* forms */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid rgba(11,13,36,0.18); border-radius: 12px; padding: 13px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--blue) 30%, transparent); border-color: var(--blue); }
.form .btn { justify-self: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } .form { grid-template-columns: 1fr; padding: 22px; } }

/* organizations (dark) */
.org-hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
.org-hero .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 75% 40%, rgba(54,74,255,0.5), transparent 70%), radial-gradient(circle at 88% 62%, rgba(229,141,81,0.2), transparent 32%); pointer-events: none; }
.org-hero .lines { position: absolute; width: 1600px; max-width: none; right: -520px; top: -260px; opacity: 0.18; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%); }
.org-hero .container { position: relative; display: flex; flex-direction: column; gap: 28px; }
.org-hero .display { font-size: clamp(48px, 7.6vw, 104px); max-width: 1000px; }
.org-hero .display .it { display: inline; font-size: 1em; color: var(--yellow); }
.pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pstat { padding: 26px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pstat strong { font-size: 48px; letter-spacing: -0.04em; color: var(--yellow); line-height: 1; }
.pstat small { color: var(--soft); font-size: 13px; margin-top: auto; }
@media (max-width: 980px) { .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pstats { grid-template-columns: 1fr; } }
.punch { margin-top: 40px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; max-width: 900px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { padding: 32px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16px; }
.service li + li { margin-top: 6px; }
.service .best { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.service .best b { color: var(--fg); display: block; margin-bottom: 4px; }
.service a.link { margin-top: auto; color: var(--yellow); font-weight: 600; text-decoration: none; }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; } }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.path q { font-family: var(--serif); font-size: 21px; line-height: 1.4; quotes: '“' '”'; }
.path .who { font-size: 15px; color: var(--soft); }
.path .route { margin-top: auto; font-weight: 600; color: var(--yellow); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: m; }
.method > div { padding: 28px; border-top: 2px solid var(--yellow); }
.method .n { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; color: var(--yellow); line-height: 1; margin-bottom: 14px; }
.method p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 980px) { .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } .method > div { padding: 22px 0; } }
.eu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 48px; border-radius: var(--r-lg); background: var(--yellow); color: var(--ink); }
.eu ul { margin: 0; padding-left: 20px; }
.eu li + li { margin-top: 8px; }
.eu .lede { color: #2a2d4a; }
.eu .h2 .it { color: var(--blue); }
@media (max-width: 860px) { .eu { grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; } }
.cta-band { text-align: center; }
.cta-band .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band p { max-width: 620px; color: var(--muted); font-size: 19px; }

/* simple message pages */
.message { min-height: 70vh; display: flex; align-items: center; }
.message .container { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.steps { margin: 0; padding-left: 22px; color: var(--muted); }
.steps li + li { margin-top: 10px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- round 2 additions ---- */

/* scrolling logo strip */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; width: max-content; gap: 56px; padding-right: 56px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; opacity: 0.6; animation: ticker 48s linear infinite; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 20px; gap: 12px 32px; } }

/* organizations hero: struck phrase + typewriter */
.org-h1 .strike { position: relative; color: var(--soft); white-space: nowrap; }
.org-h1 .strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: 0.08em; background: var(--yellow); border-radius: 2px; transform-origin: left center; transform: scaleX(0); animation: strike 0.7s 0.5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes strike { to { transform: scaleX(1); } }
.org-h1 .type-line { display: block; min-height: 1.05em; }
.org-h1 .caret { display: inline-block; width: 0.06em; height: 0.8em; margin-left: 0.06em; background: var(--yellow); vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 640px) { .org-h1 .type-line { min-height: 2.1em; } }
@media (prefers-reduced-motion: reduce) { .org-h1 .strike::after { animation: none; transform: scaleX(1); } .org-h1 .caret { animation: none; } }

/* section head with the text under the title */
.section-head.stacked { flex-direction: column; align-items: flex-start; gap: 18px; }
.section-head.stacked .lede { max-width: 720px; font-size: clamp(17px, 1.5vw, 19px); }

/* tiers extras */
.price .cur { font-size: 13px; font-weight: 600; opacity: 0.7; align-self: flex-start; margin-top: 8px; }
.tier .value { opacity: 0.75; white-space: nowrap; }
.waitlist { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px; border-radius: var(--r-lg); background: var(--yellow); color: var(--ink); }
.waitlist p { margin-top: 8px; color: #2a2d4a; }
.waitlist .nl-embed { min-height: 90px; }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; padding: 24px; gap: 20px; } }

/* team entry offer */
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding: 48px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.entry-body { display: flex; flex-direction: column; gap: 24px; color: var(--muted); font-size: 18px; }
@media (max-width: 860px) { .entry { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; } }

/* legal pages */
.legal { max-width: 760px; color: var(--muted); }
.legal h2 { font-size: 22px; font-weight: 600; color: var(--fg); margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal li + li { margin-top: 8px; }
.legal b { color: var(--fg); font-weight: 600; }
.legal a { color: var(--blue); }
.draft-note { margin-bottom: 28px !important; padding: 14px 18px; border-radius: 12px; background: #ffe9a8; color: var(--ink); font-size: 15px; }

/* logo band: company names in the ticker style */
.logo-band { height: 64px; }
.logo-band .ticker-track { font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: -0.015em; gap: 40px; padding-right: 40px; animation-duration: 50s; }
.logos .bio a, .bio a { color: var(--blue); }
.host-copy .bio + .bio { margin-top: -10px; }

/* testimonial carousel: one quote at a time, slides on its own */
.carousel { max-width: 920px; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.cq { flex: 0 0 100%; margin: 0; padding: 48px 56px; display: flex; align-items: center; min-height: 260px; }
.cq blockquote { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; }
.carousel-controls { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.cdots { display: flex; gap: 8px; }
.cdot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--fg); opacity: .25; cursor: pointer; transition: width .3s ease, opacity .3s ease, background .3s ease; }
.cdot[aria-current="true"] { width: 28px; opacity: 1; background: var(--blue); }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--fg); background: transparent; color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, color .2s ease; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 640px) { .cq { padding: 30px 24px; min-height: 340px; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
