@font-face { font-family: 'Newsreader'; src: url(vendor/fonts/newsreader-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(vendor/fonts/figtree-latin-wght-normal.woff2) format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --linen: #F2EEE9; --mist: #DCE3DD; --clay: #C9B8A8; --ink: #2E3A3A; --green: #9FB1A8;
  --serif: 'Newsreader', Georgia, serif; --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --m: clamp(20px, 2.4vw, 36px);
  --soft: cubic-bezier(.45, .05, .25, 1);
  --orb: min(64svh, 40vw);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { background: var(--linen); color: var(--ink); font: 400 18px/1.55 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 40px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; }

/* the slow shapes */
.field { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.field i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); will-change: transform; }
.s1 { width: 62vw; height: 62vw; left: -18vw; top: -24vw; background: var(--mist); }
.s2 { width: 48vw; height: 48vw; right: -12vw; top: 8vh; background: var(--clay); opacity: .42; }
.s3 { width: 54vw; height: 54vw; left: 18vw; bottom: -30vw; background: var(--green); opacity: .34; }
.s4 { width: 34vw; height: 34vw; right: 10vw; bottom: -8vw; background: var(--mist); }

/* the circle */
.stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; left: 50%; top: 50%; width: var(--orb); height: var(--orb); margin: calc(var(--orb) / -2) 0 0 calc(var(--orb) / -2); pointer-events: auto; transition: transform 1.8s var(--soft), opacity 1.2s var(--soft); }
body:not([data-at="hero"]) .orb { transform: translateX(-25vw) scale(1.12); }
.breath { position: absolute; inset: 0; will-change: transform; transform: scale(.82); -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); background: var(--mist); } /* taste-skill-ignore: the soft mask is the brief, no hard edges anywhere */
.breath img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--soft); }
.breath img.on { opacity: 1; }
.word { position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); letter-spacing: -.01em; text-align: center; pointer-events: none; transition: opacity 1.2s var(--soft); }
.word span { grid-area: 1 / 1; opacity: 0; transition: opacity 1.2s var(--soft); padding: 0 12%; }
.word span.on { opacity: 1; }
body:not([data-at="hero"]) .word { opacity: 0; }
.ring { position: absolute; inset: -7%; transform: rotate(-90deg); opacity: 0; transition: opacity 1.2s var(--soft); pointer-events: none; }
.ring circle { fill: none; stroke: var(--ink); stroke-width: .35; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.guided .ring { opacity: .8; }
.stop { position: absolute; left: 50%; bottom: 5svh; transform: translateX(-50%); padding: 12px 30px; min-height: 48px; border-radius: 40px; background: var(--ink); color: var(--linen); opacity: 0; visibility: hidden; pointer-events: auto; transition: opacity 1.2s var(--soft), visibility 0s 1.2s; }
.guided .stop { opacity: 1; visibility: visible; transition: opacity 1.2s var(--soft), visibility 0s; }

/* the bar */
.bar { position: fixed; z-index: 5; left: 0; right: 0; top: 0; padding: 18px var(--m); display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: opacity 1.2s var(--soft); }
.bar::before { content: ""; position: absolute; z-index: -1; left: -60px; right: -60px; top: -60px; height: 150px; background: var(--linen); filter: blur(22px); opacity: .94; transition: opacity 1.2s var(--soft); }
body[data-at="hero"] .bar::before { opacity: 0; }
.mark { font: 400 24px/1 var(--serif); text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
.bar nav a:not(.btn) { text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 30px; border-radius: 40px; background: var(--ink); color: var(--linen); text-decoration: none; transition: transform .9s var(--soft), background .9s var(--soft); }
.btn:hover { transform: scale(1.04); background: #3D4D4C; }
.btn:active { transform: scale(.97); }
.btn.small { min-height: 44px; padding: 8px 22px; }
.link { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-underline-offset .9s var(--soft); }
.link:hover { text-underline-offset: 8px; }

.chapter { position: fixed; z-index: 5; left: var(--m); bottom: 18px; font-size: 16px; transition: opacity 1.2s var(--soft); }
.progress { position: fixed; z-index: 6; left: 0; top: 0; height: 3px; width: 100%; background: var(--green); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* first screen */
main { position: relative; z-index: 2; pointer-events: none; }
main a, main button, main fieldset, main dl, main p, main h1, main h2, main h3 { pointer-events: auto; }
.hero { height: 100svh; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) var(--orb) minmax(0, 1fr); gap: 3vw; align-items: center; padding: 0 var(--m); transition: opacity 1.4s var(--soft); }
h1 { font-size: clamp(52px, 5.1vw, 84px); line-height: 1; grid-column: 1; }
.hero-side { grid-column: 3; max-width: 22em; justify-self: end; }
.hero-side p { font-size: 20px; }
.hero-act { margin-top: 26px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.guided .hero, .guided .bar, .guided .chapter { opacity: 0; pointer-events: none; }
.guided main { pointer-events: none; }
.guided main * { pointer-events: none; }

/* the reading column */
.read { margin-left: 50vw; padding: 0 var(--m) 0 clamp(32px, 5vw, 88px); }
.steps { list-style: none; padding: 0; }
.block { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; max-width: 34em; padding: 56px 0; }
.lead { min-height: 84svh; }
h2 { font-size: clamp(40px, 3.6vw, 56px); max-width: 13em; }
h3 { font-size: clamp(32px, 2.7vw, 42px); line-height: 1.08; }
.block > p, .block h2 + p, .block h3 + p { margin-top: 20px; font-size: 20px; }
.inl { display: none; }
.ways, .qs { margin-top: 30px; }
dt { font: 400 24px/1.15 var(--serif); }
dd { margin: 6px 0 0; }
.ways div + div, .qs div + div { margin-top: 26px; }
.ready { font-family: var(--serif); font-size: 24px !important; line-height: 1.25; }
#contact { min-height: 100svh; }
fieldset { border: 0; padding: 0; margin-top: 30px; }
legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 50px; padding: 10px 26px; border-radius: 40px; background: var(--mist); transition: background .9s var(--soft), color .9s var(--soft), transform .9s var(--soft); }
.chip:hover { transform: scale(1.04); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--linen); }
#form > .btn { margin-top: 36px; background: var(--ink); }
.done { margin-top: 30px; padding: 40px 44px; border-radius: 48px; background: var(--mist); animation: arrive 1.6s var(--soft) both; }
.done p { margin-top: 14px; }
.done .link { margin-top: 18px; }
.done .quiet { margin-top: 26px; font-size: 16px; }
@keyframes arrive { from { opacity: 0; transform: scale(.97); } }

.foot { min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 52px; }
.sos { font: 400 24px/1.2 var(--serif); }
.name { margin-top: 28px; font: 400 clamp(64px, 8.6vw, 136px)/.95 var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.small { margin-top: 18px; font-size: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* entrance */
.js .block > *, .js .foot > * { opacity: 0; transform: translateY(20px); transition: opacity 1.6s var(--soft), transform 1.6s var(--soft); }
.js .block > *:nth-child(2) { transition-delay: .09s; }
.js .block > *:nth-child(3) { transition-delay: .18s; }
.js .block > *:nth-child(4) { transition-delay: .27s; }
.js .in > * { opacity: 1; transform: none; }

.cursor { position: fixed; z-index: 9; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--green); opacity: 0; pointer-events: none; filter: blur(3px); }
.cursor i { display: none; }

@media (max-width: 900px) {
  :root { --orb: min(86vw, 46svh); }
  body { font-size: 17px; }
  .bar nav a:not(.btn) { display: none; }
  .mark { font-size: 21px; }
  .orb { top: 86px; margin-top: 0; }
  body:not([data-at="hero"]) .orb { transform: none; opacity: 0; pointer-events: none; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; height: 100svh; min-height: 640px; padding-bottom: 54px; }
  h1 { font-size: 52px; max-width: 6em; }
  .hero-side { justify-self: auto; max-width: none; }
  .hero-side p { font-size: 18px; }
  .hero-act { margin-top: 16px; }
  .read { margin: 0; padding: 0 var(--m); }
  .block { min-height: 0; padding: 64px 0; }
  .lead { min-height: 0; }
  h2 { font-size: 38px; }
  h3 { font-size: 30px; }
  .inl { display: block; width: 72vw; margin: 0 auto 24px; -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); } /* taste-skill-ignore: soft mask, no hard edges */
  .block > p, .block h2 + p, .block h3 + p { font-size: 18px; }
  .done { padding: 28px; border-radius: 36px; }
  .foot { min-height: 0; padding: 40px 0 70px; }
  .name { font-size: 21vw; }
  .chapter { display: none; }
  .stop { bottom: 8svh; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { transition: opacity 1.2s; }
  body:not([data-at="hero"]) .orb { transition: none; }
  .field i { will-change: auto; }
  .breath { transform: none !important; }
  .js .block > *, .js .foot > * { transform: none; }
}
