/* Thriving Wolves, concept D ("Morph"): safety orange, ink, cream.
   Shared by the homepage and every inner page. Built by build_d.py. */
:root {
  --orange: #ff5714;
  --orange-2: #ff6a2b;
  --ink: #160904;
  --cream: #fff1e5;
  --paper: #fff6ee;
  --ink-soft: rgba(22, 9, 4, .66);
  --rule: rgba(22, 9, 4, .22);
  --wide: "Syne", "Arial Black", sans-serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --pad: clamp(20px, 4vw, 56px);
  --h1: clamp(42px, 6.2vw, 104px);
  --h2: clamp(30px, 4.4vw, 68px);
  --h3: clamp(20px, 1.7vw, 25px);
  --bar-h: 76px;
  /* names the old pages use in inline styles, mapped onto the D palette */
  --text: var(--ink);
  --text-dim: rgba(22, 9, 4, .74);
  --text-mute: rgba(22, 9, 4, .62);
  --gold: var(--orange);
  --gold-2: #b33600;
  --gold-soft: rgba(255, 87, 20, .28);
  --border: var(--rule);
  --danger: #b00020;
  --success: #17703a;
  color-scheme: light;
}
@media (min-width: 1200px) { :root { --gut: 32px; --gut-r: 32px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--orange); -webkit-text-size-adjust: 100%; }
body { background: var(--orange); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
::selection { background: var(--ink); color: var(--orange); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; text-transform: uppercase; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.bar { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gut-r) 16px var(--gut); transition: background .3s, box-shadow .3s; }
.bar.is-scrolled, .page-inner .bar { background: var(--orange); box-shadow: 0 1.5px 0 var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--wide); font-weight: 800; font-size: 15px; text-transform: lowercase; letter-spacing: -.01em; white-space: nowrap; }
.brand img, .ink-mark { width: 26px; height: 26px; filter: brightness(0) saturate(100%) invert(5%) sepia(40%) saturate(2000%) hue-rotate(350deg); }
.bar .nav { display: flex; gap: 4px; padding: 5px; border: 1.5px solid var(--ink); border-radius: 99px; }
.bar .nav a { padding: 7px 13px; border-radius: 99px; font-size: 13.5px; font-weight: 500; transition: background .3s, color .3s; }
.bar .nav a:hover, .bar .nav a[aria-current="page"] { background: var(--ink); color: var(--orange); }
.bar-cta { display: flex; align-items: center; gap: 8px; }
.signin { font-size: 14px; font-weight: 600; padding: 0 10px; height: 42px; display: inline-flex; align-items: center; }
.signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .3s; }
.pill:hover { transform: translateY(-2px); }
.pill .sm { display: none; }
.menu-btn { display: none; height: 42px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
@media (max-width: 1080px) { .bar .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }
@media (max-width: 560px) { .signin { display: none; } .pill .lg { display: none; } .pill .sm { display: inline; } .pill { padding: 0 15px; } .brand { font-size: 14px; } }
@media (max-width: 440px) { .bar { gap: 8px; } .brand { font-size: 12.5px; gap: 7px; } .brand img { width: 22px; height: 22px; } .menu-btn { padding: 0 13px; } .pill { padding: 0 13px; } .bar-cta { gap: 6px; } }
@media (max-width: 340px) { .bar .brand span { display: none; } }

.menu { position: fixed; inset: 0; z-index: 35; background: var(--ink); color: var(--orange); padding: calc(var(--bar-h) + 24px) var(--gut-r) 40px var(--gut); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.menu a { font-family: var(--wide); font-weight: 800; font-size: clamp(34px, 9vw, 60px); line-height: 1.08; letter-spacing: -.035em; }
.menu a[aria-current="page"] { color: var(--cream); }
.menu .menu-ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.menu .menu-ctas a { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; height: 48px; padding: 0 22px; border-radius: 99px; display: inline-flex; align-items: center; border: 1.5px solid var(--orange); }
.menu .menu-ctas a.on { background: var(--orange); color: var(--ink); }
body.menu-open .bar { background: var(--ink); box-shadow: none; color: var(--orange); }
body.menu-open .bar .brand img { filter: none; }
body.menu-open .bar .pill { background: var(--orange); color: var(--ink); }
body.menu-open .menu-btn { border-color: var(--orange); }
body.menu-open { overflow: hidden; }

/* ---------- buttons, shared bits ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 99px; background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 15.5px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--ghost, .btn--outline { background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .arrow, .arrow { width: 16px; height: 16px; flex: none; }
.ghost { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; }
.ghost:hover { background: var(--ink); color: var(--orange); }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; border: 1.5px solid currentColor; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-dim); }
em.serif, h1 em, h2 em { font-style: normal; color: var(--orange); padding: 0 .07em; background: linear-gradient(var(--ink), var(--ink)) 0 62% / 100% .86em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1:has(em), h2:has(em) { line-height: 1 !important; }
.cta-band h2 em { color: var(--ink); background-image: linear-gradient(var(--orange), var(--orange)); }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* dotted wolf: the point cloud's static cousin, used as a CSS accent */
.dotwolf { -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 7px 7px; aspect-ratio: 400 / 406; }

/* ---------- homepage: morph stage ---------- */
.morph { position: relative; height: 520vh; }
.pin { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; }
#pts { position: absolute; inset: 0; width: 100%; height: 100%; }
.pts-fallback { display: none; position: absolute; left: 50%; top: 44%; width: min(56vw, 46vh); transform: translate(-50%, -50%); }
.no-gl .pts-fallback { display: block; }
.no-gl #pts { display: none; }
.stage-cap { position: absolute; z-index: 2; left: var(--gut); right: var(--gut-r); bottom: calc(34px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; pointer-events: none; }
.caps { position: relative; height: 230px; }
.cap { position: absolute; left: 0; bottom: 0; max-width: 800px; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.cap h1, .cap h2 { font-family: var(--wide); font-weight: 800; font-size: clamp(30px, 4.2vw, 64px); line-height: .95; letter-spacing: -.035em; }
.cap p { margin-top: 14px; font-size: 16px; line-height: 1.5; max-width: 46ch; color: var(--ink-soft); }
.cap .acts { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.meter { display: grid; gap: 10px; justify-items: end; }
.meter .row { display: flex; gap: 6px; }
.meter .row i { width: 34px; height: 4px; border-radius: 4px; background: var(--rule); overflow: hidden; position: relative; }
.meter .row i b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.meter .row i:first-child b { transform: scaleX(1); }
.meter .lbl { min-width: 160px; text-align: right; }
@media (max-width: 760px) { .stage-cap { grid-template-columns: 1fr; gap: 18px; } .meter { justify-items: start; } .meter .lbl { text-align: left; } .caps { height: 290px; } .cap p { font-size: 15px; } }
/* reduced motion: no scroll-driven morph, one still frame plus the facts laid out */
.facts { display: none; padding: 0 var(--gut-r) 8vh var(--gut); grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); margin: 0 var(--gut-r) 0 var(--gut); padding: 0; }
.facts > div { padding: 26px 24px 26px 0; border-bottom: 1.5px solid var(--ink); }
.facts h2 { font-family: var(--wide); font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); line-height: 1; letter-spacing: -.03em; }
.facts p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; max-width: 36ch; }
.still .morph { height: auto; }
.still .pin { position: relative; }
.still .cap:not([data-i="0"]) { display: none; }
.still .meter { display: none; }
.still .facts { display: grid; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* tapes */
.tapes { position: relative; padding: 16vh 0; overflow: hidden; }
.tape { display: flex; white-space: nowrap; padding: 20px 0; font-family: var(--wide); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 6vw, 96px); letter-spacing: -.03em; line-height: 1; will-change: transform; }
.tape span { display: inline-flex; align-items: center; gap: .4em; padding-right: .4em; }
.tape span i { font-style: normal; font-family: var(--mono); font-size: .22em; letter-spacing: 0; border: 1.5px solid currentColor; border-radius: 99px; padding: .5em .9em; }
.tape.t1 { background: var(--ink); color: var(--orange); transform: rotate(-3deg) translateX(-10%); width: 130%; }
.tape.t2 { background: var(--cream); color: var(--ink); transform: rotate(2deg) translateX(-10%); width: 130%; margin-top: -10px; }
.tape a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

/* home: why + models + two sides */
.hsec { padding: 10vh var(--gut-r) 0 var(--gut); }
.hhead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: end; margin-bottom: 40px; }
.hhead h2 { font-family: var(--wide); font-weight: 800; font-size: var(--h2); line-height: .92; letter-spacing: -.045em; }
.hhead p { color: var(--ink-soft); font-size: 17px; max-width: 46ch; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.why > div { padding: 26px 28px 30px 0; border-bottom: 1.5px solid var(--ink); }
.why > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1.5px solid var(--ink); }
.why .n { display: block; margin-bottom: 26px; }
.why h3 { font-family: var(--wide); font-weight: 700; font-size: var(--h3); letter-spacing: -.02em; line-height: 1.1; }
.why p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; border: 1.5px solid var(--ink); min-height: 300px; transition: background .3s, color .3s; }
.model:hover { background: var(--ink); color: var(--orange); }
.model:hover p { color: var(--cream); }
.model b { font-family: var(--wide); font-weight: 800; font-size: clamp(38px, 4.4vw, 68px); line-height: .9; letter-spacing: -.045em; margin-top: auto; }
.model b small { font-size: .3em; letter-spacing: 0; font-family: var(--mono); font-weight: 400; margin-left: .3em; }
.model p { color: var(--ink-soft); font-size: 15px; }
.model.on { background: var(--ink); color: var(--orange); }
.model.on p { color: rgba(255, 241, 229, .8); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side { padding: clamp(26px, 3vw, 44px); border-radius: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.side.pub { background: var(--ink); color: var(--orange); }
.side.adv { background: var(--cream); }
.side h3 { font-family: var(--wide); font-weight: 800; font-size: clamp(30px, 3.6vw, 54px); line-height: .94; letter-spacing: -.04em; }
.side p { font-size: 16px; max-width: 44ch; }
.side.pub p { color: rgba(255, 241, 229, .82); }
.side.adv p { color: var(--ink-soft); }
.side .acts { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.side.pub .pill { background: var(--orange); color: var(--ink); }
.side.pub .ghost { border-color: var(--orange); }
.side.pub .ghost:hover { background: var(--orange); color: var(--ink); }
@media (max-width: 900px) { .hhead, .sides, .models { grid-template-columns: 1fr; } .why { grid-template-columns: 1fr 1fr; } .why > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .why > div:nth-child(2n) { padding-left: 22px; border-left: 1.5px solid var(--ink); } .model { min-height: 0; } .model b { margin-top: 18px; } .side { min-height: 0; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why > div:nth-child(2n) { padding-left: 0; border-left: 0; } .why .n { margin-bottom: 12px; } }

/* join */
.join { padding: 14vh var(--gut-r) 0 var(--gut); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.join h2 { font-family: var(--wide); font-weight: 800; font-size: clamp(46px, 8vw, 140px); line-height: .88; letter-spacing: -.05em; }
.join ol { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); counter-reset: s; }
.join li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1.5px solid var(--ink); counter-increment: s; }
.join li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; padding-top: 6px; }
.join li b { display: block; font-family: var(--wide); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.join li span { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } .join li { grid-template-columns: 44px 1fr; } }
.magnet { position: relative; display: grid; place-items: center; width: clamp(180px, 22vw, 300px); aspect-ratio: 1; margin: 12vh auto 0; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--wide); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; transition: background .3s, color .3s; }
.magnet:hover { background: var(--cream); color: var(--ink); }

/* ---------- inner pages ---------- */
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut-r) 0 var(--gut); }
.paper { background: var(--paper); }
.page-hero { position: relative; overflow: hidden; background: var(--orange); padding: calc(var(--bar-h) + clamp(44px, 8vw, 110px)) 0 clamp(48px, 7vw, 96px); border-bottom: 1.5px solid var(--ink); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container > * { max-width: 900px; }
.page-hero .container > h1 { max-width: 1180px; overflow-wrap: normal; }
.page-hero h1 { font-family: var(--wide); font-weight: 800; font-size: var(--h1); line-height: .9; letter-spacing: -.05em; }
.page-hero p { margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 46ch; color: var(--ink-soft); }
.page-hero .container > p { max-width: 50ch; }
.page-hero .hero__ctas { justify-content: flex-start !important; }
.page-hero .eyebrow { display: flex; }
.page-hero::after { content: ""; position: absolute; right: var(--gut-r); bottom: -6%; width: clamp(200px, 23vw, 360px); aspect-ratio: 400 / 406; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 7px 7px; opacity: .9; }
.page-legal .page-hero { background: var(--ink); color: var(--orange); }
.page-legal .page-hero p { color: rgba(255, 241, 229, .78); }
.page-legal .page-hero::after { background-image: radial-gradient(circle, var(--orange) 1.3px, transparent 1.8px); opacity: .55; }
.page-legal .breadcrumbs a:hover { color: var(--cream); }
@media (max-width: 1100px) { .page-hero::after { width: 200px; opacity: .25; } }
@media (max-width: 640px) { .page-hero::after { width: 150px; right: -20px; bottom: -14px; opacity: .2; } }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; flex-wrap: wrap; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs .sep { opacity: .5; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section[style*="padding-top"] { padding-top: 0 !important; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 900px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2, .grid-2 h2, .signup-success h2 { font-family: var(--wide); font-weight: 800; font-size: var(--h2); line-height: .94; letter-spacing: -.045em; }
.section-head .lead { margin-top: 18px; max-width: 60ch; }
h3, h4, h5 { font-family: var(--wide); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.card { padding: 28px; border: 1.5px solid var(--ink); border-radius: 22px; background: transparent; display: flex; flex-direction: column; gap: 10px; transition: background .3s; }
.card:hover { background: var(--cream); }
.card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.card__icon svg { width: 21px; height: 21px; }
.card__title { font-size: var(--h3); }
.card__body { color: var(--text-dim); font-size: 15.5px; }
.vertical { position: relative; padding: 26px; border: 1.5px solid var(--ink); border-radius: 22px; display: flex; flex-direction: column; gap: 10px; transition: background .3s, color .3s; }
a.vertical:hover { background: var(--ink); color: var(--orange); }
a.vertical:hover p, a.vertical:hover .vertical__meta { color: var(--cream); }
.vertical__tag { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 99px; padding: 5px 11px; }
.vertical__num { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; opacity: .75; }
.vertical__title { font-family: var(--wide); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.02; letter-spacing: -.03em; }
.vertical p { color: var(--text-dim); font-size: 15.5px; }
.vertical__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 16px; border-top: 1.5px solid var(--rule); font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--text-dim); }
.vertical__meta b { display: block; font-family: var(--wide); font-size: 19px; text-transform: none; color: inherit; letter-spacing: -.02em; }
a.vertical:hover .vertical__meta { border-color: rgba(255, 241, 229, .3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-chip { height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; }
.filter-chip:hover { background: var(--cream); }
.filter-chip.is-active { background: var(--ink); color: var(--orange); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1.5px solid var(--ink); }
.feature-row.reverse > :first-child { order: 2; }
.feature-row__num { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.feature-row__title { font-family: var(--wide); font-weight: 800; font-size: clamp(28px, 3.2vw, 48px); line-height: .96; letter-spacing: -.04em; margin-top: 14px; }
.feature-row .lead { max-width: 52ch; }
.feature-row__media { border-radius: 22px; overflow: hidden; background: var(--orange); border: 1.5px solid var(--ink); aspect-ratio: 4 / 3; }
.feature-row__media img, .post__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse > :first-child { order: 0; } }
.checks { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); }
.checks li[style]::before { content: none; }
.checks li[style] { padding-left: 0; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { padding: 28px; border-radius: 22px; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; gap: 22px; }
.quote__icon { color: var(--orange); }
.quote__text { font-size: 17px; line-height: 1.5; }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.quote__author .who { font-weight: 600; }
.quote__author .role { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--orange); }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }

.faq { border-top: 1.5px solid var(--ink); max-width: 960px; }
.faq-item { border-bottom: 1.5px solid var(--ink); }
.faq-item__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--wide); font-weight: 700; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.02em; }
.faq-item__q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-item__q .ic svg { width: 16px; height: 16px; }
.faq-item.is-open .ic { transform: rotate(45deg); background: var(--ink); color: var(--orange); }
.faq-item__a { display: none; padding: 0 0 24px; max-width: 70ch; color: var(--text-dim); }
.faq-item.is-open .faq-item__a { display: block; }

.timeline { border-top: 1.5px solid var(--ink); }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 6px 30px; padding: 26px 0; border-bottom: 1.5px solid var(--ink); }
.timeline-item .yr { grid-row: span 2; font-family: var(--wide); font-weight: 800; font-size: clamp(36px, 4vw, 60px); line-height: .9; letter-spacing: -.04em; }
.timeline-item h4 { font-size: var(--h3); }
.timeline-item p { color: var(--text-dim); max-width: 64ch; }
@media (max-width: 640px) { .timeline-item { grid-template-columns: 1fr; } .timeline-item .yr { grid-row: auto; } }

.cta-band { background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(32px, 5vw, 72px); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: end; }
.cta-band h2 { font-family: var(--wide); font-weight: 800; font-size: var(--h2); line-height: .94; letter-spacing: -.045em; color: var(--orange); }
.cta-band .lead { color: rgba(255, 241, 229, .78); }
.cta-band .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.cta-band .btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.cta-band .btn--ghost:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 14px; }
.post { display: flex; flex-direction: column; gap: 16px; }
.post__media { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--orange); border: 1.5px solid var(--ink); }
.post__meta { display: flex; gap: 8px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; }
.post__meta .cat { background: var(--ink); color: var(--orange); padding: 2px 8px; border-radius: 99px; }
.post__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.12; margin-top: 10px; }
.post:hover .post__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post__excerpt { color: var(--text-dim); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .03em; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }
.input, .select, .textarea, .newsletter input { width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--ink); background: #fff; font-size: 16px; transition: box-shadow .2s; }
.textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23160904' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; }
.input:focus, .select:focus, .textarea:focus, .newsletter input:focus { outline: none; box-shadow: 0 0 0 4px var(--orange); }
.input::placeholder, .textarea::placeholder { color: rgba(22, 9, 4, .4); }
.form-note { font-size: 14px; }
.form-section { font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding-top: 18px; margin-top: 6px; border-top: 1.5px solid var(--ink); }
.form-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.agree-line { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); }
.agree-line input, .flex-between input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink) !important; flex: none; margin-top: 3px; }
.agree-line a, .alt a, .signup-success__hint a, .fallback-note a, .contact-info a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-grid h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; border-top: 1.5px solid var(--ink); }
.contact-info .item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1.5px solid var(--ink); }
.contact-info .ic, .fallback-note__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.contact-info .ic svg, .fallback-note__icon svg { width: 18px; height: 18px; }
.contact-info h5, .fallback-note h5 { font-family: var(--mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.contact-info a, .contact-info p { font-size: 16px; overflow-wrap: anywhere; }
.fallback-note { display: flex; gap: 16px; margin-top: 28px; padding: 20px; border-radius: 18px; background: var(--cream); border: 1.5px dashed var(--ink); }
.fallback-note p { font-size: 15px; color: var(--text-dim); overflow-wrap: anywhere; }

/* auth (sign in / apply) */
.auth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 100svh; padding-top: var(--bar-h); }
.auth__aside { background: var(--ink); color: var(--orange); padding: clamp(36px, 5vw, 80px) var(--pad); display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; --text-dim: rgba(255, 241, 229, .8); --gold-soft: var(--orange); }
.auth__aside > * { position: relative; z-index: 1; max-width: 520px; }
.auth__aside::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: min(60%, 360px); aspect-ratio: 400 / 406; -webkit-mask: url(../img/mark.png) center / contain no-repeat; mask: url(../img/mark.png) center / contain no-repeat; background: radial-gradient(circle, var(--orange) 1.3px, transparent 1.8px) 0 0 / 7px 7px; opacity: .35; }
.auth__aside h2 { font-family: var(--wide); font-weight: 800; font-size: clamp(34px, 4vw, 62px); line-height: .94; letter-spacing: -.045em; }
.auth__aside .lead { color: rgba(255, 241, 229, .8); }
.auth__aside .badge { align-self: flex-start; }
.auth__aside .checks li { color: var(--cream) !important; }
.quote-mini { margin-top: 36px; padding: 22px; border-radius: 18px; border: 1.5px solid rgba(255, 87, 20, .5); color: rgba(255, 241, 229, .86); font-size: 15.5px; line-height: 1.55; }
.quote-mini b { color: var(--orange); }
.auth__main { background: var(--paper); padding: clamp(36px, 5vw, 80px) var(--pad); }
.form-wrap { max-width: 620px; }
.form-wrap > h1 { font-family: var(--wide); font-weight: 800; font-size: clamp(38px, 4.6vw, 72px); line-height: .92; letter-spacing: -.045em; }
.form-wrap .meta { color: var(--text-dim); margin: 14px 0 30px; }
.form-wrap h3 { font-size: 24px; }
.alt { margin-top: 26px; padding-top: 20px; border-top: 1.5px solid var(--rule); font-size: 15px; }
.login-error { background: #fff !important; }
.signup-success { display: grid; gap: 4px; }
.signup-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.signup-success__icon svg { width: 28px; height: 28px; }
.signup-success__list { list-style: none; display: grid; gap: 10px; margin: 24px 0; padding: 20px; border-radius: 18px; background: var(--cream); border: 1.5px solid var(--ink); }
.signup-success__list li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.signup-success__list .check { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); }
.signup-success__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-success__hint { margin-top: 18px; font-size: 14.5px; color: var(--text-dim); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; min-height: 0; } .auth__main { order: -1; } }

/* legal */
.legal > .container { max-width: 800px !important; }
.legal { font-size: 17px; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; line-height: 1.7; }
.legal b, .legal strong { color: var(--ink); }
.legal h2 { font-family: var(--wide); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; letter-spacing: -.03em; margin: 52px 0 14px; padding-top: 18px; border-top: 1.5px solid var(--ink); scroll-margin-top: calc(var(--bar-h) + 16px); }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal ul, .legal ol { padding-left: 1.3rem; margin-bottom: 16px; }
.legal ul li::marker { color: var(--orange); }
.legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--gold-2); overflow-wrap: anywhere; }
.legal .toc { background: var(--cream); border: 1.5px solid var(--ink); border-radius: 18px; padding: 22px 26px; margin: 28px 0 8px; }
.legal .toc h3 { margin: 0 0 12px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.legal .toc ol { columns: 2; column-gap: 32px; margin: 0; }
.legal .toc li { margin-bottom: 6px; break-inside: avoid; font-size: 15px; }
.legal .toc a { color: var(--ink); text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 16px 0 26px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--text-dim); }
.legal tr:last-child td { border-bottom: 0; }
.legal th { font-family: var(--mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: var(--cream); border-bottom: 1.5px solid var(--ink); }
@media (max-width: 620px) { .legal .toc ol { columns: 1; } }

/* 404 */
.lost { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--bar-h) + 40px) 0 60px; overflow: hidden; }
.lost .container { position: relative; z-index: 1; }
.lost .container > * { max-width: 760px; }
.lost .num { font-family: var(--wide); font-weight: 800; font-size: clamp(96px, 17vw, 260px); line-height: .8; letter-spacing: -.06em; }
.lost h1 { font-family: var(--wide); font-weight: 800; font-size: var(--h2); line-height: .94; letter-spacing: -.045em; margin-top: 18px; }
.lost p { margin-top: 16px; max-width: 48ch; color: var(--ink-soft); font-size: 18px; }
.lost .dotwolf { position: absolute; right: var(--gut-r); top: 50%; transform: translateY(-50%); width: clamp(160px, 28vw, 420px); }
@media (max-width: 1200px) and (min-width: 761px) { .lost .dotwolf { opacity: .35; } }
@media (max-width: 760px) { .lost .dotwolf { top: auto; bottom: 30px; transform: none; width: 140px; opacity: .3; } }

/* ---------- footer ---------- */
.foot { margin-top: clamp(80px, 12vh, 140px); padding: 0 var(--gut-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gut); border-top: 1.5px solid var(--ink); background: var(--orange); }
.page-inner .foot { margin-top: 0; }
.page-home .foot-top, body:has(.cta-band) .foot-top { display: none; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 56px); border-bottom: 1.5px solid var(--ink); }
.foot-big { font-family: var(--wide); font-weight: 800; font-size: clamp(40px, 7vw, 116px); line-height: .88; letter-spacing: -.05em; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr .8fr 1.4fr; gap: 30px; padding: 40px 0; }
.foot-grid h5 { font-family: var(--mono); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 7px; font-size: 15px; }
.foot-grid ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p, .foot-news p { font-size: 14.5px; color: var(--ink-soft); max-width: 36ch; }
.newsletter { display: flex; gap: 6px; margin-top: 14px; padding: 5px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--cream); max-width: 380px; }
.newsletter input { height: 42px; border: 0; border-radius: 99px; background: transparent; padding: 0 14px; font-size: 15px; }
.newsletter input:focus { box-shadow: none; }
.newsletter:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.newsletter button { flex: none; height: 42px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 14px; cursor: pointer; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.foot-bottom a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand, .foot-news { grid-column: span 3; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-news { grid-column: span 2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tape.t1, .tape.t2 { transform: rotate(0) translateX(-4%); }
  .tape.t2 { margin-top: 10px; }
}

/* phones: long single words in titles must fit the column */
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 560px) {
  :root { --h1: clamp(28px, 8.2vw, 48px); --h2: clamp(28px, 8vw, 44px); }
  .lost .num { font-size: 25vw; }
}
