/* Solaris Spire website styles. */

:root {
  --paper: #FAF6F1; --tint: #F3EDE7; --white: #FFFFFF;
  --ink: #13100D; --muted: #4F4943; --line: #D0C9C2; --line-strong: #89827A;
  --terra: #B44833; --terra-text: #B44833; --on-terra: #FAF6F1; --on-btn: #FFFFFF;
  --display: "Besley", Georgia, "Times New Roman", serif;
  --display-w: 400; --display-track: -0.02em; --display-scale: 0.86; --wordmark-w: 600;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px); --max: 1200px;
  --arc: clamp(36px, 7vw, 112px);
  --pad: clamp(64px, 8.5vw, 128px);
  /* Type scale. Fixed sizes for labels and interface text, fluid sizes for reading text and headings. */
  --label: 0.875rem; --small: 0.9375rem; --ui: 1rem; --dense: 1.0625rem;
  --step-0: clamp(1.0625rem, 0.99rem + 0.3vw, 1.25rem);
  --step-1: clamp(1.25rem, 1.12rem + 0.6vw, 1.625rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.7vw, 3.75rem);
  --step-4: clamp(2.6rem, 1.4rem + 5vw, 5.5rem);
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: var(--step-0); line-height: 1.55; font-variant-numeric: lining-nums; overflow-x: hidden; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: calc(var(--step-4) * var(--display-scale)); }
h2 { font-size: calc(var(--step-3) * var(--display-scale)); max-width: 22ch; }
h3 { font-size: calc(var(--step-2) * var(--display-scale)); line-height: 1.14; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 999px; --focus: var(--terra); }
.skip:focus { top: 12px; }
.eyebrow { font-size: var(--label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-text); margin: 0 0 1.1rem; }
.lede { font-size: var(--step-1); line-height: 1.4; max-width: 46ch; margin-top: 1.4rem; }
.small { font-size: var(--small); color: var(--muted); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 0.6em; min-height: 48px; padding: 0 1.5em; border-radius: 999px; background: var(--terra); color: var(--on-btn); font-weight: 600; font-size: var(--ui); line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.btn:hover { transform: translateY(-2px); }
.btn .arrow, .link-arrow .arrow { display: inline-block; transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(5px); }
.btn--paper { background: var(--paper); color: var(--ink); }
.link-arrow { display: inline-block; padding: 12px 0; font-weight: 600; font-size: var(--ui); line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.link-arrow .arrow { margin-left: 0.3em; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 2rem; }
.round { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 1.125rem/1 var(--text); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.round:hover { background: var(--terra); border-color: var(--terra); color: var(--on-btn); }

/* Header and logo */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; position: relative; }
.logo { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ink); }
.logo-w { display: inline-block; font-family: var(--display); font-weight: var(--wordmark-w); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; --mark: var(--terra); transform-origin: 0 100%; }
.logo-w .lg { display: inline-block; white-space: pre; clip-path: inset(-0.5em 0 -0.5em 0); }
.logo-w .sun { display: inline-block; width: var(--sun, 0.48em); height: var(--sun, 0.48em); border-radius: 50%; background: var(--mark); margin: 0 0.035em; position: relative; top: var(--sun-drop, 0.012em); transform-origin: 50% 100%; }
.logo-w .needle { display: inline-block; width: 0.2em; height: var(--needle-h, 0.8em); margin: 0 0.05em; vertical-align: baseline; transform-origin: 50% 100%; overflow: visible; }
.logo-w .needle path { fill: var(--mark); }
.js .site-header .logo-w { visibility: hidden; }
.js .site-header .logo-w.is-ready { visibility: visible; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a:not(.btn) { font-size: var(--ui); text-decoration: none; padding: 12px 2px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px; background: none; border: 0; font: inherit; font-size: var(--ui); font-weight: 600; color: var(--ink); cursor: pointer; }
.menu-toggle i { display: block; width: 22px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: height 0.2s; }
.menu-toggle[aria-expanded="true"] i { height: 2px; border-bottom-color: transparent; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn) { font-size: 1.375rem; font-family: var(--display); padding: 14px 0; width: 100%; }
  .nav .btn { margin-top: 14px; }
}

/* Sections, with curved tops that bulge into the section above */
.section { position: relative; z-index: 1; padding: var(--pad) 0 calc(var(--pad) + var(--arc)); background: var(--bg, var(--paper)); }
.section.on-tint { --bg: var(--tint); }
.section.on-terra { --bg: var(--terra); color: var(--on-terra); --focus: var(--on-terra); }
.section.on-terra .eyebrow { color: var(--on-terra); }
.arc-top::before { content: ""; position: absolute; z-index: -1; left: var(--arc-x, 50%); top: calc(var(--arc) * -1); width: 130vw; height: calc(var(--arc) * 2); translate: -50% 0; border-radius: 50%; background: var(--bg, var(--paper)); }
.arc-left { --arc-x: 38%; } .arc-right { --arc-x: 62%; }
.section--last { padding-bottom: var(--pad); }
.section .wrap > .link-arrow { margin-top: 1.2rem; color: var(--terra-text); }

/* Hero: a giant sun whose top edge curves across the banner */
/* The top padding keeps the first line of text inside the sun at every width: the sun's edge at the left margin is never more than 4vw below --sun-top. */
.hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: calc(var(--sun-top) + clamp(52px, 6.2vw, 84px)) 0 calc(var(--arc) + clamp(48px, 7vw, 104px)); color: var(--on-terra); --focus: var(--on-terra); --sun-w: max(170vw, 900px); --sun-x: 30%; --sun-top: clamp(26px, 3.4vw, 48px); --gap: clamp(14px, 2.4vw, 34px); }
.hero-sun { position: absolute; z-index: -2; left: var(--sun-x); top: var(--sun-top); width: var(--sun-w); aspect-ratio: 1; border-radius: 50%; background: var(--terra); translate: -50% var(--py, 0px); }
.hero-orbit { position: absolute; z-index: -1; left: var(--sun-x); top: calc(var(--sun-top) - var(--gap)); width: calc(var(--sun-w) + 2 * var(--gap)); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--terra) 40%, transparent); translate: -50% var(--py, 0px); rotate: 12deg; }
.hero-orbit span { position: absolute; left: 50%; top: 0; width: clamp(16px, 2vw, 26px); aspect-ratio: 1; border-radius: 50%; background: var(--terra); translate: -50% -50%; }
.hero .eyebrow { color: var(--on-terra); }
.hero h1 { font-size: calc(var(--step-4) * 0.8); max-width: 11em; }
.hero .lede { max-width: 42ch; }
.hero .btn { background: var(--paper); color: var(--ink); }
.js .hero-sun { animation: sunrise 1.5s cubic-bezier(.2,.8,.2,1) both; }
.js .hero-orbit { animation: orbit 20s ease-in-out 0.6s infinite alternate both; }
.js .hero-inner > * { animation: up 1s cubic-bezier(.2,.8,.2,1) both; }
.js .hero-inner > :nth-child(1) { animation-delay: 0.25s; } .js .hero-inner > :nth-child(2) { animation-delay: 0.37s; }
.js .hero-inner > :nth-child(3) { animation-delay: 0.5s; } .js .hero-inner > :nth-child(4) { animation-delay: 0.62s; }
@keyframes sunrise { from { transform: translateY(20%); } to { transform: none; } }
@keyframes orbit { from { rotate: 6deg; } to { rotate: var(--orbit-to, 34deg); } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero { --orbit-to: 24deg; } }

/* Testimonials: a rolling row. Rows are shared across every item so figures, quotations and names line up. */
.tcar { margin-top: clamp(40px, 5.5vw, 72px); --edge: max(var(--gutter), calc((100% - var(--max)) / 2)); --per: 3; }
.tcar-track { list-style: none; margin: 0; padding: 4px var(--edge) 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / var(--per)); grid-template-rows: auto auto auto 1fr auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tcar-track::-webkit-scrollbar { display: none; }
.js .tcar-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent); }
.tcar-track:focus-visible { outline-offset: -2px; }
.tm { position: relative; grid-row: span 5; display: grid; grid-template-rows: subgrid; scroll-snap-align: start; padding: 2px clamp(20px, 2.8vw, 44px) 4px clamp(24px, 2.6vw, 40px); }
.tm::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--terra); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tm > * { margin: 0; max-width: none; }
.tm-tag { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-text); padding-bottom: 1.1rem; }
.tm-fig { align-self: end; font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(var(--step-3) * 0.92 * var(--display-scale)); line-height: 1.05; color: var(--terra-text); white-space: nowrap; }
.tm-cap { font-size: var(--small); line-height: 1.4; color: var(--muted); padding-top: 0.45rem; }
.tm-fig--words { grid-row: span 2; align-self: end; font-size: calc(var(--step-1) * 1.12 * var(--display-scale)); line-height: 1.22; color: var(--ink); white-space: normal; text-wrap: balance; }
.tm blockquote { font-size: var(--dense); line-height: 1.55; padding-top: 1.3rem; }
.tm blockquote p { margin: 0; max-width: none; }
.tm-who { padding-top: 1.4rem; font-size: var(--small); line-height: 1.4; color: var(--muted); }
.tm-who strong { display: block; font-size: var(--ui); font-weight: 600; color: var(--ink); }
/* An item is either a typical situation, in our own words, or a client's approved quotation. */
.tm-sit { grid-row: span 2; align-self: end; font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(var(--step-1) * 1.12 * var(--display-scale)); line-height: 1.22; text-wrap: balance; }
.tm-sit-body { font-size: var(--dense); line-height: 1.55; padding-top: 1.3rem; color: var(--muted); }
.tm[data-status="situation"] .tm-who::before { content: "Typical buyer"; display: block; font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.tm-who a { display: inline-block; margin-top: 0.35rem; color: var(--terra-text); text-underline-offset: 0.25em; }
.tcar-ctl { display: none; align-items: center; gap: 14px 22px; margin-top: clamp(28px, 3.6vw, 44px); }
.js .tcar-ctl { display: flex; }
.tcar-line { position: relative; flex: 1; height: 1.5px; background: var(--line-strong); }
.tcar-sun { position: absolute; left: calc(8px + var(--p, 0) * (100% - 16px)); top: 50%; width: 16px; aspect-ratio: 1; border-radius: 50%; background: var(--terra); translate: -50% -50%; transition: left 0.5s cubic-bezier(.2,.8,.2,1); }
.tcar-count { margin: 0; font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tcar-btns { display: flex; gap: 8px; }
.ico-pause { display: block; width: 12px; height: 14px; border-inline: 4px solid currentColor; }
[data-pause][aria-pressed="true"] .ico-pause { width: 13px; border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); translate: 1px 0; }
@media (max-width: 1000px) { .tcar { --per: 2; } }
@media (max-width: 640px) {
  .tcar { --per: 1.12; }
  .tcar-ctl { flex-wrap: wrap; }
  .tcar-line { flex-basis: 100%; margin-bottom: 6px; }
  .tcar-btns { margin-left: auto; }
}

/* Marquee */
.marquee { overflow: hidden; margin-top: clamp(48px, 7vw, 96px); padding-block: 0.2em; }
.marquee ul { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; }
.marquee li { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--step-2) * var(--display-scale)); letter-spacing: var(--display-track); line-height: 1.3; }
.marquee li::after { content: ""; width: 0.3em; aspect-ratio: 1; border-radius: 50%; background: var(--dot, var(--terra)); margin-inline: 0.7em; }
.on-terra .marquee { --dot: var(--on-terra); }
.marquee ul.is-ready { flex-wrap: nowrap; width: max-content; padding: 0; animation: marquee var(--dur, 60s) linear infinite; }
.marquee--rev ul.is-ready { animation-direction: reverse; }
.marquee:hover ul.is-ready { animation-play-state: paused; }
.marquee.is-ready-wrap { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* What we build: columns divided by needles. Headings and text share rows across the columns. */
.fits { list-style: none; padding: 0; margin: clamp(44px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fits--three { grid-template-columns: repeat(3, 1fr); }
.fits li { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; padding: 4px clamp(16px, 2.4vw, 36px) 8px clamp(24px, 2.6vw, 40px); }
.fits li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--terra); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; }
.fits h3 { padding-bottom: 0.6rem; }
.fits p { margin: 0; color: var(--muted); }
.js .fits li[data-reveal]::before { scale: 1 0; transition: scale 1s cubic-bezier(.2,.8,.2,1) 0.1s; }
.js .fits li.is-in::before { scale: 1 1; }
@media (max-width: 960px) { .fits { grid-template-columns: 1fr 1fr; margin-bottom: -44px; } .fits li { margin-bottom: 44px; } }
@media (max-width: 860px) { .fits--three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fits { grid-template-columns: 1fr; } }

/* How it works: four stages along the sun's path. Each stage's parts share rows across the columns. */
.track { position: relative; margin-top: clamp(44px, 6vw, 80px); }
.track-line { position: absolute; left: 0; top: 0; width: 100%; height: 200px; overflow: visible; max-width: none; }
.track-line path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.track-line--v { display: none; }
.stages { list-style: none; margin: 0; padding: 232px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stage { display: grid; grid-row: span 5; grid-template-rows: subgrid; padding-right: clamp(16px, 2.6vw, 44px); }
.stage > * { margin: 0; }
.stage .num { font-size: var(--label); font-weight: 600; letter-spacing: 0.1em; color: var(--terra-text); padding-bottom: 0.5rem; }
.stage h3 { padding-bottom: 0.6rem; }
.stage .get { font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 1.3rem 0 0.6rem; }
.dots { list-style: none; margin: 0; padding: 0; font-size: var(--dense); }
.dots li { position: relative; padding-left: 1.15em; margin-bottom: 0.4em; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 0.42em; aspect-ratio: 1; border-radius: 50%; background: var(--terra); }
.node { position: absolute; display: none; width: 14px; aspect-ratio: 1; border-radius: 50%; background: var(--bg, var(--paper)); box-shadow: 0 0 0 1.5px var(--terra); translate: -50% -50%; transition: background 0.35s; }
.js .node { display: block; }
.stage.is-done .node { background: var(--terra); }
.track-sun { position: absolute; display: none; left: 0; top: 170px; width: clamp(26px, 3vw, 38px); aspect-ratio: 1; border-radius: 50%; background: var(--terra); translate: -50% -50%; z-index: 2; }
.js .track-sun { display: block; }
.track-end { position: absolute; right: 0; top: 186px; margin: 0; font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.track.is-handed .track-end { color: var(--terra-text); }
@media (max-width: 900px) {
  .track-line--h { display: none; }
  .track-line--v { display: block; width: 48px; height: 100%; }
  .stages { grid-template-columns: 1fr; padding: 0 0 0 68px; row-gap: 48px; }
  .stage { display: block; padding-right: 0; }
  .track-end { position: static; margin: 36px 0 0 68px; padding-bottom: 6px; }
  .track-sun { top: 0; left: 20px; }
}

/* Commitments */
.commit { list-style: none; counter-reset: c; margin: clamp(44px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 40px) clamp(32px, 6vw, 96px); }
.commit li { counter-increment: c; display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--step-1) * 1.12 * var(--display-scale)); line-height: 1.28; letter-spacing: var(--display-track); padding-top: 1.1rem; border-top: 1.5px solid color-mix(in srgb, var(--on-terra) 40%, transparent); }
.commit li::before { content: counter(c, decimal-leading-zero); font-family: var(--text); font-size: var(--label); font-weight: 600; letter-spacing: 0.1em; }
.commit + p { margin-top: clamp(36px, 4.5vw, 64px); max-width: 56ch; }
@media (max-width: 760px) { .commit { grid-template-columns: 1fr; } }

/* Offers: three spires of rising height. Names, descriptions, lists, prices and links share rows. */
.offers { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 64px); }
.offer { display: grid; grid-row: span 6; grid-template-rows: subgrid; --h: 72px; }
.offer:nth-child(2) { --h: 124px; } .offer:nth-child(3) { --h: 176px; }
.offer > * { margin: 0; }
.offer .spire { align-self: end; width: 14px; height: var(--h); margin-bottom: 22px; background: var(--terra); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; }
.js .offer[data-reveal] .spire { scale: 1 0; transition: scale 1.1s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0s) + 0.15s); }
.js .offer.is-in .spire { scale: 1 1; }
.offer .what { color: var(--muted); padding: 0.7rem 0 1.2rem; }
.offer .price { padding-top: 1.6rem; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--step-2) * var(--display-scale)); letter-spacing: var(--display-track); line-height: 1.1; }
.offer .price small { display: block; font-family: var(--text); font-size: var(--label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.offer .link-arrow { margin-top: 0.6rem; justify-self: start; color: var(--terra-text); }
.offers-note { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .offers { grid-template-columns: 1fr; row-gap: 60px; }
  .offer { display: flex; flex-direction: column; }
  .offer .spire { align-self: flex-start; height: calc(var(--h) * 0.55); }
  .offer .link-arrow { align-self: flex-start; }
}

/* FAQ */
.faq { margin-top: clamp(36px, 5vw, 64px); max-width: 860px; }
.faq details { border-top: 1.5px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1.5px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; padding: 1.2rem 0; font-family: var(--display); font-weight: var(--display-w); font-size: calc(var(--step-1) * 1.12 * var(--display-scale)); line-height: 1.28; letter-spacing: var(--display-track); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.72em; aspect-ratio: 1; margin-top: 0.3em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--terra); transition: background 0.25s; }
.faq details[open] summary::after { background: var(--terra); }
.faq details > p { margin: 0 0 1.3rem; max-width: 64ch; }
.faq a { color: var(--terra-text); text-underline-offset: 0.25em; }

/* Contact and footer */
.contact h2 { max-width: 18ch; }
.contact .small { color: var(--on-terra); margin-top: 1.4rem; }
.contact .mail { margin: 1.6rem 0 0; font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(var(--step-2) * var(--display-scale)); line-height: 1.2; overflow-wrap: anywhere; }
.contact .actions { margin-top: 1.4rem; }
.link-button { background: none; border: 0; color: inherit; font-family: inherit; cursor: pointer; }
.link-button[hidden] { display: none; }
.site-footer { position: relative; z-index: 1; background: var(--tint); padding: clamp(44px, 6vw, 72px) 0; font-size: var(--ui); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 48px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-footer nav a { text-decoration: none; padding: 12px 0; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.site-footer .small { flex-basis: 100%; margin: 0; }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 0.9s ease var(--d, 0s), translate 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Inner pages */
.js [data-enter] { animation: up 1s cubic-bezier(.2,.8,.2,1) 0.15s both; }
@media (prefers-reduced-motion: reduce) { .js [data-enter] { animation: none; } }
.page-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: clamp(64px, 9vw, 130px) 0 calc(var(--arc) + clamp(48px, 6vw, 90px)); }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -18vw; top: -34vw; width: 62vw; aspect-ratio: 1; border-radius: 50%; background: var(--tint); }
.page-hero h1 { font-size: calc(var(--step-3) * 1.18 * var(--display-scale)); max-width: 18ch; }
.crumb { margin: 0 0 1.6rem; }
.crumb a { display: inline-block; padding: 12px 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait { margin: 0; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 14%; }
.record { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.record li { border-top: 1.5px solid var(--line-strong); padding: 0.9rem 0; color: var(--muted); }
.record li:last-child { border-bottom: 1.5px solid var(--line-strong); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }
.prose { max-width: 760px; }
.prose h2 { font-size: calc(var(--step-2) * 1.15 * var(--display-scale)); margin: clamp(48px, 6vw, 80px) 0 1rem; line-height: 1.14; max-width: none; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: calc(var(--step-1) * 1.08 * var(--display-scale)); margin: 2rem 0 0.5rem; line-height: 1.25; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--terra-text); text-underline-offset: 0.25em; }
.keypoints { list-style: none; padding: 0 0 0 clamp(24px, 3vw, 36px); margin: 2rem 0 0; position: relative; }
.keypoints::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--terra); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.keypoints li { font-size: var(--step-1); line-height: 1.35; margin-bottom: 0.6em; max-width: 52ch; }
.toc { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; font-size: var(--ui); }
.toc a { display: inline-flex; min-height: 48px; align-items: center; text-underline-offset: 0.25em; }
.table-scroll { overflow-x: auto; margin: 1.2rem 0 1.6rem; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--ui); }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-top: 1.5px solid var(--line-strong); }
thead th { border-top: 0; font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 600; }
dl.gloss { margin: 1rem 0 0; }
dl.gloss dt { font-weight: 600; margin-top: 1rem; }
dl.gloss dd { margin: 0.2rem 0 0; max-width: 68ch; }
.meta { font-size: var(--small); color: var(--muted); margin-top: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-sun, .js .hero-orbit, .js .hero-inner > * { animation: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .js .fits li[data-reveal]::before, .js .offer[data-reveal] .spire { scale: 1 1; transition: none; }
  .marquee ul.is-ready { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
  .marquee ul.is-ready [aria-hidden="true"] { display: none; }
  .marquee.is-ready-wrap { -webkit-mask-image: none; mask-image: none; }
  .btn, .btn .arrow, .link-arrow .arrow, .round, .tcar-sun { transition: none; }
  [data-pause] { display: none; }
}
@media print { .site-header, .tcar-ctl { display: none; } }
