/* luminescence · V2
   One typeface, one weight: Neue Haas Grotesk Display 65 Medium.
   Contents: tokens · base · header · layout · type · components · pages · motion */

/* ---------- Font ---------- */
@font-face {
  font-family: "NHG Display";
  src: url("/assets/fonts/NHaasGroteskDSPro-65Md.woff2") format("woff2");
  font-weight: 100 900; /* one weight serves every weight: no faux bold */
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #000;
  --grey: #c2c2c2;        /* large secondary headings, as in the design */
  --grey-text: #a3a3a3;   /* body copy in grey, a touch darker than the design for legibility */
  --line: #d9d9d9;
  --field: #f2f2f2;
  --nav-active: #d4d4d4;
  --periwinkle: #8ea6d2;
  --aqua: #a2eae7;
  --white: #fff;

  --gutter: clamp(16px, 1.25vw, 24px);
  --header-h: 46px;
  --max: 1920px;

  --fs-nav: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  --fs-body: clamp(1rem, 0.93rem + 0.25vw, 1.1875rem);
  --fs-lead: clamp(1.125rem, 0.98rem + 0.55vw, 1.5rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --fs-acc: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
  --fs-display: clamp(3.25rem, 1.6rem + 6.4vw, 8rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "NHG Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  font-size: var(--fs-body);
  line-height: 1.3;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4, strong, b, th { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 3px; }
::selection { background: var(--aqua); color: var(--ink); }

.skip-link { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 12px; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  transition: background-color 0.4s var(--ease-out);
}
/* once the page scrolls, content softly blurs away underneath */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px;
  background: linear-gradient(var(--white), rgba(255, 255, 255, 0));
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: var(--fs-nav);
}
.site-header__brand { display: flex; align-items: baseline; gap: 1.6em; white-space: nowrap; }
.logo sup { font-size: 0.55em; position: relative; top: -0.05em; margin-left: 1px; }
.clock { font-variant-numeric: tabular-nums; min-width: 5.2em; }
.nav__list { display: flex; gap: 6px; }
.nav__list a { display: block; padding: 3px 7px; border-radius: 2px; transition: background-color 0.25s var(--ease-out); }
.nav__list a:hover { background: var(--field); }
.nav__list a[aria-current="page"] { background: var(--nav-active); }
.nav-toggle { display: none; }

/* Home: header sits on white above the hero graphic */
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-items: center; width: 40px; height: 40px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease-out); }
  .nav-toggle span { position: relative; transform: translateY(-3px); }
  .nav-toggle span::before { content: ""; position: absolute; top: 6px; }
  .nav-open .nav-toggle span { transform: translateY(0) rotate(45deg); }
  .nav-open .nav-toggle span::before { transform: translateY(-6px) rotate(-90deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--white);
    padding: 24px var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list a { font-size: var(--fs-acc); padding: 2px 0; letter-spacing: -0.03em; background: none !important; }
  .nav__list a[aria-current="page"] { color: var(--grey); }
}

main { padding-top: var(--header-h); }

/* ---------- Type ---------- */
.display { font-size: var(--fs-display); line-height: 0.95; letter-spacing: -0.045em; }
.h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.03em; }
.h2--grey { color: var(--grey); }
.h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.25; letter-spacing: -0.015em; }
.grey { color: var(--grey-text); }
.text { color: var(--grey-text); max-width: 40em; }
.text p + p { margin-top: 1em; }
.kicker { font-size: var(--fs-body); color: var(--ink); }
.small { font-size: 0.875rem; }
.text-link { display: inline-block; position: relative; }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.8em 1.3em; border-radius: 999px;
  background: var(--ink); color: var(--white); border: 0; cursor: pointer;
  font-size: var(--fs-body); line-height: 1;
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.button::before {
  content: ""; width: 0.6em; height: 0.6em; border-radius: 50%;
  background: radial-gradient(circle, var(--aqua) 30%, rgba(162, 234, 231, 0) 72%);
  transform: scale(1.4); transition: transform 0.5s var(--ease-out);
}
.button:hover::before { transform: scale(2.2); }
.button:active { transform: scale(0.98); }

/* ---------- Graphics ---------- */
.graphic { position: relative; overflow: hidden; background: var(--periwinkle); }
.graphic--aqua { background: var(--aqua); }
.graphic > img { width: 100%; height: 100%; object-fit: cover; }
.graphic > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s var(--ease-out); }
.graphic.is-live > canvas { opacity: 1; }
/* film grain over the blurry shape, like the printed artwork */
.graphic::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("/assets/img/v2/grain.png") 0 0 / 300px 300px repeat;
  mix-blend-mode: overlay; opacity: 0.22; /* about the strength of the V1 grain */
}
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1; }
.ratio-wide { aspect-ratio: 16 / 7; }

/* ---------- Page head ---------- */
.page-head { padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(36px, 5vw, 80px); }
.page-head .lead { margin-top: clamp(16px, 2vw, 28px); max-width: 30em; }

/* ---------- Accordion (Coaching) ---------- */
.accs { border-top: 0; }
.acc { border-bottom: 1px solid var(--line); }
.acc__heading { margin: 0; }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px);
  padding: clamp(10px, 1.2vw, 18px) 0 clamp(8px, 1vw, 14px);
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--fs-acc); line-height: 1.05; letter-spacing: -0.035em;
}
.acc__icon {
  position: relative; flex: none;
  width: clamp(30px, 2.6vw, 46px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--periwinkle) 0 38%, rgba(142, 166, 210, 0.55) 52%, rgba(142, 166, 210, 0) 72%);
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 36%; height: 2px; margin: -1px 0 0 -18%;
  background: var(--ink); border-radius: 1px; transition: transform 0.5s var(--ease-out);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__btn:hover .acc__icon { transform: scale(1.18); filter: saturate(1.4); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc.is-open .acc__icon { transform: scale(1.08); }
.acc__label { transition: transform 0.6s var(--ease-out); }
.acc__btn:hover .acc__label { transform: translateX(4px); }

.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.8s var(--ease-in-out);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { min-height: 0; overflow: hidden; overflow: clip; }
.acc__content {
  padding: clamp(56px, 7vw, 120px) 0 clamp(64px, 8vw, 140px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.acc.is-open .acc__content { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s; }
/* deep link on load: open instantly */
.acc-instant .acc__panel, .acc-instant .acc__content { transition: none !important; }
/* without JS everything is simply open */
html:not(.js) .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__content { opacity: 1; transform: none; }

/* Page-load entrance: headings settle in one after another */
.intro > * { animation: settle 0.9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Section blocks inside panels ---------- */
.block-head { max-width: 46em; }
.block-head .h2 + .text, .block-head .h2 + .lead { margin-top: clamp(18px, 2vw, 32px); }
.block-head .text { color: var(--grey-text); }
.mt-xl { margin-top: clamp(64px, 9vw, 160px); }
.mt-l { margin-top: clamp(40px, 5vw, 88px); }
.mt-m { margin-top: clamp(24px, 3vw, 48px); }

.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 40px; }
.split__l { grid-column: 1 / span 5; }
.split__r { grid-column: 7 / -1; }
@media (max-width: 900px) { .split__l, .split__r { grid-column: 1 / -1; } }

/* Lined list (benefits, steps, qualifications) */
.lined { max-width: 34em; }
.lined li { border-bottom: 1px solid var(--line); padding: 0.55em 0 0.45em; color: var(--grey); font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  aspect-ratio: 1.12; padding: clamp(14px, 1.4vw, 22px);
  border-radius: clamp(14px, 1.4vw, 22px);
  background: linear-gradient(180deg, #f2f2f2 0%, #f2f2f2 28%, #dfe5f0 60%, var(--periwinkle) 100%);
}
.stat__num { font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem); line-height: 1.25; max-width: 22em; }
.stat__src { white-space: nowrap; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { aspect-ratio: auto; min-height: 220px; } }

/* "Who it's for" slider */
.slider { max-width: 640px; }
.slider__track { display: grid; }
.slider__slide {
  grid-area: 1 / 1;
  opacity: 0; transform: translateX(36px); visibility: hidden;
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), visibility 0s 0.8s;
}
.slider__slide.is-past { transform: translateX(-36px); }
.slider__slide.is-current { opacity: 1; transform: none; visibility: visible; transition-delay: 0.15s, 0.15s, 0s; }
html:not(.js) .slider__slide { position: static; opacity: 1; transform: none; visibility: visible; grid-area: auto; margin-bottom: 32px; }
.slider__num { font-size: var(--fs-body); }
.slider__title { color: var(--grey); font-size: var(--fs-h3); letter-spacing: -0.02em; margin-top: 4px; }
.slider__text { color: var(--grey-text); margin-top: clamp(16px, 2vw, 28px); max-width: 30em; }
.slider { max-width: 760px; }
.slider__nav { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px); margin-top: clamp(28px, 3vw, 48px); }
.slider__bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* each segment is a tab: progress line on top, its name underneath */
.slider__bar {
  position: relative; padding: 14px 0 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--grey); font-size: 0.875rem; line-height: 1.2;
  transition: color 0.3s var(--ease-out);
}
.slider__bar::before, .slider__bar::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px;
}
.slider__bar::before { background: var(--line); transition: background-color 0.3s var(--ease-out); }
.slider__bar::after { background: var(--periwinkle); transform: scaleX(var(--p, 0)); transform-origin: left; }
.slider__bar:hover { color: var(--ink); }
.slider__bar:hover::before { background: #c8c8c8; }
.slider__bar[aria-current="true"] { color: var(--ink); }
.slider__label { display: block; padding-right: 8px; }
.slider__arrows { display: flex; gap: 8px; margin-top: -10px; }
.slider__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}
.slider__arrow svg { width: 16px; height: 16px; }
.slider__arrow:hover { border-color: var(--periwinkle); background: #eef1f8; }
.slider__arrow:active { transform: scale(0.94); }
@media (max-width: 600px) {
  .slider__nav { flex-direction: column; }
  .slider__bars { width: 100%; }
  .slider__label { font-size: 0.75rem; }
  .slider__arrows { margin-top: 0; }
}

/* Steps (How it works) */
.how { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.how__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 24px); }
.how__steps { grid-column: 7 / -1; }
.step { border-bottom: 1px solid var(--line); padding: 0.9em 0 1.1em; }
.step:first-child { padding-top: 0; }
.step h3 { color: var(--grey); font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
.step sup { font-size: 0.45em; margin-left: 0.15em; top: -0.9em; position: relative; vertical-align: baseline; }
.step p { color: var(--grey-text); margin-top: 0.5em; max-width: 30em; }
@media (max-width: 900px) {
  .how__media, .how__steps { grid-column: 1 / -1; }
  .how__media { position: relative; top: auto; max-width: 420px; }
}

/* Offers (Ways to work together) */
.offer { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 28px; align-items: start; }
.offer + .offer { margin-top: clamp(72px, 9vw, 160px); }
.offer__media { grid-column: 1 / span 4; }
.offer__body { grid-column: 6 / span 6; }
.offer__title { color: var(--grey); font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; margin-top: 6px; }
.offer__text { color: var(--grey-text); margin-top: clamp(24px, 3vw, 48px); max-width: 32em; }
.offer__fit { margin-top: clamp(28px, 3vw, 48px); }
.offer__fit .lined { margin-top: 10px; }
.offer__fit .lined li { font-size: var(--fs-lead); }
.offer__note {
  display: inline-block; margin-top: 28px; padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), #c9d6ee); font-size: 0.9375rem;
}
@media (max-width: 900px) {
  .offer__media { grid-column: 1 / span 8; max-width: 420px; }
  .offer__body { grid-column: 1 / -1; }
}

.cta-row { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Get in touch (end of page) ---------- */
.site-end { padding: clamp(96px, 12vw, 220px) 0 18px; }
.site-end__title { font-size: var(--fs-acc); letter-spacing: -0.035em; line-height: 1.05; }
.site-end__text { color: var(--grey-text); font-size: var(--fs-lead); line-height: 1.25; margin-top: 10px; max-width: 30em; }
.site-end__mail { margin-top: 18px; font-size: var(--fs-lead); }
.site-end__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(48px, 5vw, 80px); color: var(--grey); font-size: 0.875rem;
}
.site-end__bottom ul { display: flex; gap: 20px; }
.site-end__bottom a:hover { color: var(--ink); }
.credit { flex-basis: 100%; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Home ---------- */
.page-home main { padding-top: var(--header-h); }
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: grid; align-items: center;
  color: var(--ink);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg.graphic > img { object-position: 50% 45%; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  padding-block: clamp(40px, 6vw, 96px);
}
.hero__mark { grid-column: 1 / span 5; align-self: baseline; padding-top: clamp(48px, 11vh, 200px); font-size: 0; line-height: 0; }
/* inline, so its bottom edge (= the letters' baseline) sits on the line's baseline */
.hero__mark .mark { display: inline-block; vertical-align: baseline; width: 100%; max-width: 640px; height: auto; overflow: visible; }
/* wordmark and the first line of the tagline share one baseline */
.hero__copy { grid-column: 7 / -1; align-self: baseline; padding-top: clamp(48px, 11vh, 200px); }
.hero__tag { font-size: clamp(2.5rem, 1.4rem + 4vw, 5.75rem); line-height: 0.95; letter-spacing: -0.045em; }
.hero__copy .lead { margin-top: clamp(40px, 7vh, 120px); max-width: 26em; }
.hero__link { display: inline-block; margin-top: 18px; color: var(--white); font-size: var(--fs-lead); }
.hero__copy .lead + .hero__link + .lead { margin-top: clamp(32px, 5vh, 72px); }
@media (max-width: 900px) {
  .hero__mark, .hero__copy { grid-column: 1 / -1; padding-top: 0; }
  .hero__mark { padding-top: 24px; }
  .hero__copy { margin-top: clamp(28px, 5vh, 56px); }
  .hero__copy .lead { margin-top: 28px; }
  .hero__copy .lead + .hero__link + .lead { margin-top: 28px; }
  .hero__mark .mark { max-width: 84%; }
}

/* Coming soon: the home hero, with a quiet label at the bottom */
.page-soon .hero__copy .lead.soon__name { margin-top: clamp(32px, 5vh, 72px); }
.soon__mark {
  position: absolute; left: var(--gutter); bottom: clamp(16px, 3vh, 32px); z-index: 2;
  font-size: var(--fs-lead); letter-spacing: -0.01em; color: var(--white);
}
.soon__mark::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.5em; border-radius: 50%;
  background: var(--white); vertical-align: 0.1em; animation: soon-pulse 10s ease-in-out infinite;
}
/* the dot breathes with the graphics: 4s in, 6s out */
@keyframes soon-pulse { 0% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(0.6); opacity: 0.5; } }

/* ---------- About & Speaker ---------- */
.about-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 32px; padding-top: clamp(40px, 6vw, 110px); }
.about-head__title { grid-column: 1 / span 5; }
.about-head__text { grid-column: 7 / -1; }
.portrait { grid-column: 1 / span 6; margin-top: clamp(48px, 6vw, 96px); }
.portrait img { width: 100%; height: auto; filter: grayscale(1); }
.about-what { grid-column: 7 / -1; align-self: end; }
.quals { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 20px; margin-top: clamp(80px, 10vw, 180px); }
.quals__label { grid-column: 1 / span 5; color: var(--grey-text); }
.quals__list { grid-column: 7 / -1; }
.qual { border-bottom: 1px solid var(--line); padding: 0.7em 0 0.8em; }
.qual h3 { color: var(--grey); font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
.qual p { color: var(--grey-text); margin-top: 0.35em; }
.about-graphic { width: min(100%, 440px); margin-top: clamp(64px, 8vw, 140px); }
.big-quote {
  margin-top: clamp(32px, 4vw, 64px); max-width: 17em;
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 6rem); line-height: 1.02; letter-spacing: -0.045em;
  color: var(--grey); transition: color 1.6s var(--ease-out);
}
.big-quote.is-typing { color: var(--ink); }
.tw-word { display: inline-block; white-space: pre; }
.js .big-quote[data-type]:not(.is-in) { opacity: 0; }
.tw-char { opacity: 0; }
.tw-char.is-on { opacity: 1; }
.tw-char.is-caret { box-shadow: 0.05em 0 0 0 currentColor; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { box-shadow: 0.05em 0 0 0 transparent; } }
@media (max-width: 900px) {
  .about-head__title, .about-head__text, .portrait, .about-what, .quals__label, .quals__list { grid-column: 1 / -1; }
}

.keynote-band { position: relative; margin-top: clamp(64px, 8vw, 140px); min-height: clamp(360px, 46vw, 760px); display: grid; align-items: center; }
.keynote-band .graphic { position: absolute; inset: 0; }
.keynote-band__title { position: relative; z-index: 1; font-size: clamp(2.5rem, 1.2rem + 5vw, 7.25rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 13em; }
.keynote-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 32px; margin-top: clamp(56px, 7vw, 120px); }
.keynote-body__title { grid-column: 1 / span 5; }
.keynote-body__text { grid-column: 7 / -1; }
@media (max-width: 900px) { .keynote-body__title, .keynote-body__text { grid-column: 1 / -1; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 48px; padding-top: clamp(48px, 8vw, 150px); }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro .h2 { margin-top: clamp(40px, 5vw, 80px); }
.contact__intro .text { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.25; }
.contact__links { margin-top: 28px; display: grid; gap: 6px; font-size: var(--fs-lead); }
.form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); align-content: start; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-lead); }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--field); padding: 14px;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea { min-height: clamp(220px, 28vw, 440px); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #eef1f8; box-shadow: inset 0 -2px 0 var(--periwinkle); }
.field[data-invalid] input, .field[data-invalid] textarea { box-shadow: inset 0 -2px 0 #c0392b; }
.field__error { color: #b03a2e; font-size: 0.875rem; min-height: 1em; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__submit { background: none; border: 0; padding: 0; cursor: pointer; font-size: var(--fs-lead); position: relative; }
.form__submit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.form__submit:hover::after { transform: scaleX(1); transform-origin: left; }
.form__status { color: var(--grey-text); }
.form__privacy { grid-column: 1 / -1; color: var(--grey-text); font-size: 0.875rem; }
.form__privacy a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .contact__intro, .form { grid-column: 1 / -1; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: clamp(56px, 7vw, 120px); }
.post { grid-column: span 4; }
.post--wide { grid-column: span 8; }
.post a { display: block; }
.post__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--field); }
.post--wide .post__media { aspect-ratio: 16 / 10; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post a:hover .post__media img { transform: scale(1.04); }
.post__meta { margin-top: 14px; color: var(--grey-text); font-size: 0.9375rem; }
.post__title { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.025em; margin-top: 4px; }
.post__excerpt { color: var(--grey-text); margin-top: 10px; max-width: 30em; }
.post__more { margin-top: 14px; display: inline-block; }
@media (max-width: 900px) { .post, .post--wide { grid-column: span 6; } }
@media (max-width: 600px) { .post, .post--wide { grid-column: 1 / -1; } }

.article-head { padding-top: clamp(40px, 6vw, 110px); max-width: 1200px; }
.article-head .crumbs { color: var(--grey-text); }
.article-head .crumbs a:hover { color: var(--ink); }
.article-head h1 { margin-top: 16px; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 6.5rem); line-height: 0.98; letter-spacing: -0.045em; }
.article-head .meta { margin-top: 20px; color: var(--grey-text); }
.article-cover { margin-top: clamp(40px, 5vw, 80px); overflow: hidden; aspect-ratio: 16 / 8; background: var(--field); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 32px; margin-top: clamp(48px, 6vw, 100px); }
.article__aside { grid-column: 1 / span 3; color: var(--grey-text); display: grid; gap: 20px; align-content: start; font-size: 0.9375rem; }
.article__aside a:hover { color: var(--ink); }
.article__body { grid-column: 5 / span 7; }
@media (max-width: 900px) { .article__aside, .article__body { grid-column: 1 / -1; } }

.prose { font-size: var(--fs-lead); line-height: 1.38; max-width: 34em; }
.prose :where(p, ul, ol, blockquote, h2, h3, figure, article) + :where(p, ul, ol, blockquote, h2, h3, figure, article) { margin-top: 1em; }
.prose p, .prose li { color: #4d4d4d; }
.prose h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; margin-top: 1.4em; }
.prose blockquote { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; color: var(--grey); }
.prose blockquote p { color: inherit; }
.prose ul { list-style: none; }
.prose ul li { border-bottom: 1px solid var(--line); padding: 0.4em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose--legal { font-size: var(--fs-body); }
.prose--legal h2 { font-size: var(--fs-h3); margin-top: 2em; }
.prose--legal h2:first-child { margin-top: 0; }

/* ---------- Scroll reveals ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rise.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 80ms); }
.js .stagger.is-in > * { opacity: 1; transform: none; }

/* ---------- Cursor: a black dot that opens into a ring over clickable things ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 10003; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity 0.3s var(--ease-out);
}
.cursor.is-visible { opacity: 1; }
.cursor::before {
  content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--ink); box-sizing: border-box;
  transition: transform 0.45s var(--ease-out), background-color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.cursor.is-hover::before { transform: scale(3.4); background: rgba(0, 0, 0, 0); border-width: 0.45px; }
.cursor.is-down::before { transform: scale(0.75); }
.cursor.is-hover.is-down::before { transform: scale(2.8); }
.cursor.is-text::before { opacity: 0; }
.cursor.is-leaving::before { transform: scale(1); background: var(--ink); opacity: 1; }

/* ---------- Breath page transition (see transition.js) ---------- */
.breath { position: fixed; inset: 0; z-index: 10002; pointer-events: none; }
.breath.is-blocking { pointer-events: auto; }
.breath canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the same film grain as the graphics, fading in and out with the veil */
.breath::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/img/v2/grain.png") 0 0 / 300px 300px repeat;
  mix-blend-mode: overlay; opacity: calc(var(--grain, 0) * 0.22);
}
.breath--plain { background: var(--periwinkle); opacity: 0; }

/* the page softly loses focus behind the glow, and finds it again on arrival */
main, .site-end { transition: filter 0.9s var(--ease-out); }
.site-header { transition: background-color 0.4s var(--ease-out), filter 0.9s var(--ease-out); }
html.is-inhaling main, html.is-inhaling .site-end, html.is-inhaling .site-header { filter: blur(10px); transition-duration: 0.6s; }
html.breath-in main, html.breath-in .site-end, html.breath-in .site-header { filter: blur(10px); transition: none; }

/* arriving: covered by the glow from the very first paint until transition.js takes over
   (a CSS approximation of the shader's full-breath frame) */
html.breath-in::after {
  content: ""; position: fixed; inset: 0; z-index: 10001;
  background: radial-gradient(circle at 50% 50%, #a8ece7 0, #a3d8e0 50vmin, #9dc4da 80vmin, #95a9d1 125vmin);
  /* safety net: if the script never runs, the veil still lifts after a moment */
  animation: breath-safety 0.5s 2.5s forwards;
}
@keyframes breath-safety { to { opacity: 0; visibility: hidden; } }
html.breath-in .intro > * { animation-play-state: paused; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rise, .js .stagger > *, .js .big-quote[data-type]:not(.is-in) { opacity: 1; transform: none; }
  .tw-char { opacity: 1; }
}
