/* Ufuoma Muwhen, website prototype. Goava Studio, November 2026. */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("../fonts/PPNeueMontreal-Medium.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  /* Foma's palette, carried over from the current site */
  --paper: #FAFAFA;
  --mist: #EDEDED;
  --lime: #C6FB53;
  --ink: #1D201C;
  --stone: #585958;
  --njy: #FFCC00;
  /* working shades */
  --ink-2: #272B26;
  --ink-soft: #B9BCB6;
  --line: #D6D7D4;
  --line-strong: #858884;
  --line-ink: rgba(250, 250, 250, .16);
  --placeholder: #6B6E6A;
  /* type */
  --display: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  /* layout idea: paper and charcoal pages, with lime used as a marker that underlines and circles what matters */
  --page: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 9vw, 128px);
  --r-sm: 6px;
  --r-btn: 999px;
  --r-md: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; } /* the ring follows each control's own shape, pills included */
.section-ink :focus-visible, .site-footer :focus-visible, .menu :focus-visible, .feature-photo :focus-visible, .about-hero :focus-visible { outline-color: var(--lime); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: var(--r-btn); text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(720px + 2 * var(--gutter)); }
.section { padding: var(--sec) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-lime { background: var(--lime); color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow { font: 500 14px/1.25 var(--text); color: var(--stone); margin-bottom: 16px; }
.section-ink .eyebrow, .site-footer .eyebrow, .feature-photo .eyebrow { color: var(--ink-soft); }
.section-lime .eyebrow { color: var(--ink); }
.page-title { font-size: clamp(44px, 7.2vw, 104px); line-height: .96; letter-spacing: -.015em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.012em; }
.h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -.008em; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; }
.statement { font: 500 clamp(26px, 3.25vw, 46px)/1.16 var(--display); letter-spacing: 0; text-wrap: pretty; }
.statement .lead-label {
  display: inline-block;
  width: var(--indent, 25%);
  font: 500 14px/1 var(--text);
  letter-spacing: 0;
  color: var(--stone);
  vertical-align: baseline;
}
.section-ink .statement .lead-label { color: var(--ink-soft); }
.aside { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--stone); }
.section-ink .aside { color: var(--ink-soft); }
.lime-text { color: var(--lime); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--stone); }
.section-ink .muted { color: var(--ink-soft); }
.prose-copy p + p { margin-top: 16px; }

/* The lime marker: hand-drawn underline and circle */
.marked { position: relative; display: inline-block; white-space: nowrap; }
.marked > svg { position: absolute; left: -3%; width: 106%; bottom: -.16em; height: .32em; overflow: visible; pointer-events: none; }
.marked.circled > svg { left: -9%; width: 118%; top: -16%; bottom: auto; height: 132%; }
.marked > svg path {
  fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) .5s forwards;
}
.marked.circled > svg path { stroke-width: 3.2; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Buttons and links ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font: 500 15px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn > span { text-box: trim-both cap alphabetic; }
.btn .i { flex: none; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:hover .i-out { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #B8F03C; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-line-light { border-color: rgba(250, 250, 250, .55); color: var(--paper); background: transparent; }
.btn-line-light:hover { border-color: var(--paper); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-sm::after { content: ""; position: absolute; inset: -2px 0; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1 var(--text); text-decoration: none; white-space: nowrap;
  padding: 14px 0;
}
.link > span { text-box: trim-both cap alphabetic; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: currentColor; }
.link .i { transition: transform .3s var(--ease); }
.link::after { content: ""; position: absolute; top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); left: 0; right: 0; }
.prose a, .muted a, .ab-bio a, .connect-side a { padding: 6px 0; }
.link:hover .i-arrow { transform: translateX(3px); }
.link:hover .i-out { transform: translate(2px, -2px); }
.i { display: block; width: 14px; height: 12px; }
.i-out { width: 11px; height: 11px; }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }
.section-ink .icon-btn { border-color: rgba(250, 250, 250, .45); color: var(--paper); }
.section-ink .icon-btn:hover { border-color: var(--paper); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.icon-btn svg { width: 14px; height: 12px; }

.tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: 999px; font: 500 13px/1 var(--text); white-space: nowrap;
  background: var(--paper); color: var(--ink);
}
.tag > span { text-box: trim-both cap alphabetic; }

.socials { display: flex; list-style: none; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background-color .3s var(--ease); }
.socials a:hover { background: rgba(29, 32, 28, .08); }
.site-footer .socials a:hover, .menu .socials a:hover { background: rgba(250, 250, 250, .1); }
.socials svg { width: 20px; height: 20px; display: block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--lime); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(29, 32, 28, .12); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav-main { display: flex; gap: 0; justify-self: start; margin-left: -12px; }
.nav-main a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font: 500 15px/1 var(--text); text-decoration: none; }
.nav-main a > span { text-box: trim-both cap alphabetic; }
.nav-main a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.wordmark { font: 500 23px/1 var(--display); letter-spacing: 0; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; height: 44px; }
.wordmark > span { text-box: trim-both cap alphabetic; }
.nav-tools { justify-self: end; display: flex; align-items: center; gap: 12px; margin-right: -2px; }
.nav-tools .socials { margin-right: 4px; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 14px; margin-right: -14px; border: 0; background: transparent; font: 500 15px/1 var(--text); }
.menu-btn > span { text-box: trim-both cap alphabetic; }
.menu-btn svg { width: 22px; height: 10px; display: block; }

@media (max-width: 1099px) {
  .site-header .bar { grid-template-columns: 1fr auto; }
  .nav-main, .nav-tools { display: none; }
  .wordmark { justify-self: start; font-size: 21px; }
  .menu-btn { display: inline-flex; justify-self: end; }
}

/* Full-screen menu (tablet and phone) */
.menu {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(-100%); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s linear .55s;
  overflow-y: auto;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.menu-top .wordmark { color: var(--paper); }
.menu-close { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; margin-right: -14px; border: 0; background: transparent; color: var(--paper); font: 500 15px/1 var(--text); }
.menu-close > span { text-box: trim-both cap alphabetic; }
.menu-close svg { width: 14px; height: 14px; display: block; }
.menu-links { list-style: none; margin-top: clamp(24px, 6vh, 56px); display: grid; gap: 4px; }
.menu-links a { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0; font: 500 clamp(40px, 11vw, 64px)/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.menu-links a[aria-current="page"] { color: var(--lime); }
.menu-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 20px; }
.menu-foot .btn-row .btn { flex: 1 1 200px; }
.menu-foot .socials { margin-left: -12px; }

/* ---------- Home: hero ---------- */
/* Same size curve as the live site (168.6px at 1440, 115px at 768), capped so "Changemaker" stays on one line on phones */
.hero { --fs: min(calc(53.6px + 7.99vw), calc((min(100vw, 1600px) - 2 * var(--gutter)) / 5.9)); background: var(--mist); padding-top: clamp(64px, 8.3vw, 128px); text-align: center; overflow: hidden; }
.hero-title { font-size: var(--fs); line-height: .8; letter-spacing: -.03em; position: relative; z-index: 2; text-wrap: nowrap; }
.hero-title .line { display: block; white-space: nowrap; }
/* Splt.js markup from the live site: one inline-block per letter; app.js plays the original Anime.js settings */
.hero-title .char { display: inline-block; vertical-align: top; }
.hero-title .reveal { display: inherit; vertical-align: inherit; }
.hero-portrait {
  position: relative; z-index: 1;
  width: max(43.6vw, min(calc(100vw - 2 * var(--gutter)), 360px));
  max-width: calc(100vw - 2 * var(--gutter)); /* 43.6vw wide like the live site, never wider than the page */
  aspect-ratio: 628 / 735;
  margin: calc(var(--fs) * -0.187) auto 0; /* as on the live site: the photo's top edge runs through the lower half of "Changemaker" (81% of the way down its capitals) */
  border-radius: var(--r-lg); overflow: hidden; background: #ddd;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Home: intro */
.intro { background: var(--mist); padding: clamp(64px, 8vw, 112px) 0 var(--sec); }
.rule { border: 0; border-top: 1px solid var(--line); margin: clamp(40px, 5vw, 64px) 0; }
.section-ink .rule { border-top-color: var(--line-ink); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-copy { max-width: 60ch; }
.intro-copy p + p { margin-top: 16px; }
.card { background: var(--paper); border-radius: var(--r-md); padding: 24px; }
.session-card { display: grid; gap: 0; justify-self: end; width: min(100%, 440px); }
.session-card .eyebrow { margin-bottom: 12px; text-box: trim-both cap alphabetic; }
.session-title { font: 500 26px/1.15 var(--display); letter-spacing: -.008em; text-box: trim-both cap alphabetic; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 16px 0 24px; font-size: 15px; color: var(--stone); }
.facts li { white-space: nowrap; text-box: trim-both cap alphabetic; }
.facts li:not(:last-child)::after { content: "·"; margin: 0 10px; }
.session-card .btn { width: 100%; }

/* Feature photo band (NotJustYou) */
.feature-photo { position: relative; display: flex; align-items: flex-end; min-height: clamp(480px, 50vw, 720px); background: var(--ink); color: var(--paper); overflow: hidden; }
.feature-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 32, 28, .92) 0%, rgba(29, 32, 28, .62) 34%, rgba(29, 32, 28, 0) 72%); }
.feature-photo .wrap { position: relative; z-index: 1; padding-top: 160px; padding-bottom: clamp(40px, 6vw, 80px); }
.feature-copy { max-width: 600px; }
.feature-copy h2 { margin-bottom: 20px; }
.feature-copy p.body { max-width: 52ch; margin-bottom: 28px; color: rgba(250, 250, 250, .9); }

/* Writing rail */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(28px, 3vw, 40px); flex-wrap: wrap; }
.row-head .eyebrow { margin-bottom: 12px; }
.row-tools { display: flex; align-items: center; gap: 12px; }
.writing .statement { margin-bottom: clamp(56px, 7vw, 96px); }
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 3.35);
  gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail-card { scroll-snap-align: start; text-decoration: none; color: inherit; display: grid; gap: 16px; align-content: start; }
.rail-card .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.rail-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rail-card:hover .ph img { transform: scale(1.035); }
.rail-card .rc-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.rail-card h3 { font-size: 21px; line-height: 1.2; letter-spacing: 0; color: var(--lime); }
.rail-card time { flex: none; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.rail-card .cat { font-size: 13px; color: var(--ink-soft); margin-bottom: -8px; }

/* Series callout */
.series-callout {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  background: var(--lime); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.2vw, 40px);
}
.series-callout .eyebrow { color: var(--ink); margin-bottom: 12px; text-box: trim-both cap alphabetic; }
.series-card .eyebrow, .njy-block .eyebrow, .form-card .field:first-child label { text-box: trim-both cap alphabetic; }
.series-callout h2 { margin-bottom: 16px; }
.series-callout p.body { max-width: 46ch; margin-bottom: 24px; }
.part-list { list-style: none; display: grid; border-top: 1px solid rgba(29, 32, 28, .24); }
.part-list li { border-bottom: 1px solid rgba(29, 32, 28, .24); }
.part-list a { display: grid; grid-template-columns: 76px minmax(0, 1fr) 14px; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; text-decoration: none; }
.part-list .pn { font: 500 13px/1 var(--text); white-space: nowrap; text-box: trim-both cap alphabetic; }
.part-list .pt { font: 500 16px/1.3 var(--text); text-box: trim-both cap alphabetic; }
.part-list .i { justify-self: end; transition: transform .3s var(--ease); }
.part-list a:hover .i { transform: translateX(3px); }

/* Life lately (Instagram) */
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile .play { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(29, 32, 28, .62); display: grid; place-items: center; }
.ig-tile .play svg { width: 10px; height: 12px; margin-left: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 112px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.footer-blurb { font: 500 clamp(22px, 2.2vw, 28px)/1.25 var(--display); letter-spacing: -.008em; max-width: 30ch; margin-bottom: 20px; }
.footer-top .socials { margin-left: -12px; }
.footer-cta { justify-self: end; display: grid; gap: 16px; align-content: start; }
.footer-cta .eyebrow { margin: 0; }
.giant-name {
  font: 500 calc((min(100vw, calc(var(--page) + 2 * var(--gutter))) - 2 * var(--gutter)) / 7.2)/.82 var(--display);
  letter-spacing: -.02em; white-space: nowrap;
  margin: clamp(56px, 8vw, 112px) 0 clamp(28px, 4vw, 44px);
}
.giant-name .gl { display: inline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--line-ink); padding-top: 20px; font-size: 14px; color: var(--ink-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin-left: -10px; }
.footer-nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.credit a { text-decoration: none; display: inline-flex; align-items: center; height: 44px; }
.credit a:hover { color: var(--paper); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font: 500 14px/1.2 var(--text); }
.field .opt { font-weight: 400; color: var(--stone); }
.input {
  width: 100%; height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink); font-size: 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input::placeholder { color: var(--placeholder); }
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 251, 83, .9); }
textarea.input { height: auto; min-height: 148px; padding: 14px 20px; line-height: 1.5; resize: vertical; border-radius: 24px; }
select.input { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231D201C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 12px 8px; }
.on-ink .input, .site-footer .input { background: var(--ink-2); border-color: rgba(250, 250, 250, .42); color: var(--paper); }
.on-ink .input::placeholder, .site-footer .input::placeholder { color: #A7AAA4; }
.on-ink .input:hover, .site-footer .input:hover { border-color: var(--paper); }
.on-ink .input:focus, .site-footer .input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 251, 83, .35); }
.form-grid { display: grid; gap: 20px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 14px; color: var(--stone); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; }
form.is-done .form-fields { display: none; }
form.is-done .form-done { display: block; }
.proto-note { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--stone); }
.site-footer .proto-note { color: var(--ink-soft); }

/* ---------- About ---------- */
.about-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(104px, 13vw, 184px) 0; text-align: center; }
.about-hero .mosaic { position: absolute; inset: -2px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; }
.about-hero .mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .34; }
.about-hero .hero-inner { position: relative; }
.about-hero .tag { margin-bottom: 28px; }
.about-hero .page-title { max-width: 14ch; margin: 0 auto; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.split > .eyebrow { grid-column: 1; grid-row: 1; }
.split-text { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; justify-content: center; }
.split-text > :first-child { text-box: trim-start cap alphabetic; }
.split > .split-photo { grid-column: 2; grid-row: 2; }
.split-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); min-height: 420px; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio .h2 { margin-bottom: 28px; }
.bio .prose-copy { max-width: 60ch; }
.bio .link { margin-top: 12px; margin-bottom: -14px; }

.moments { list-style: none; border-top: 1px solid var(--line-strong); }
.moments li { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 12px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.moments .m-kind { font: 500 14px/1.3 var(--text); color: var(--stone); white-space: nowrap; }
.moments .m-text { font: 500 clamp(20px, 2vw, 26px)/1.25 var(--display); letter-spacing: 0; text-wrap: pretty; }
.moments .link { padding: 0; }

.best-life-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.best-life-head p { max-width: 52ch; }
.worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.world { display: grid; grid-template-rows: auto 1fr; background: var(--mist); border-radius: var(--r-lg); overflow: hidden; }
.world .ph { aspect-ratio: 4 / 5; overflow: hidden; } /* portrait, as on the live site */
.world .ph img { width: 100%; height: 100%; object-fit: cover; }
.world .w-body { display: flex; flex-direction: column; padding: 20px; }
.world .w-body > p:not(.eyebrow) { text-box: trim-both cap alphabetic; }
.world .eyebrow { margin-bottom: 12px; text-box: trim-both cap alphabetic; }
.world h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.008em; margin-bottom: 12px; text-box: trim-both cap alphabetic; }
.world p { font-size: 15px; line-height: 1.55; color: var(--stone); }
.world .socials { margin: auto 0 -12px -12px; padding-top: 16px; }

.njy-block { background: var(--njy); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.njy-block .h2 { margin-bottom: 24px; }
.njy-block .eyebrow { color: var(--ink); }
.njy-block p.body { max-width: 54ch; }
.njy-block p.body + p.body { margin-top: 16px; }
.njy-block .btn { margin-top: 28px; }
.programs { list-style: none; border-top: 1px solid rgba(29, 32, 28, .3); align-self: start; }
.programs li { border-bottom: 1px solid rgba(29, 32, 28, .3); }
.programs a { display: grid; grid-template-columns: minmax(0, 1fr) 12px; gap: 16px; align-items: center; padding: 18px 0; text-decoration: none; }
.programs .p-name { display: block; font: 500 21px/1.2 var(--display); letter-spacing: 0; }
.programs .p-desc { display: block; font-size: 15px; line-height: 1.45; margin-top: 4px; }
.programs .i-out { transition: transform .3s var(--ease); }
.programs a:hover .i-out { transform: translate(2px, -2px); }

/* ---------- Consulting ---------- */
.consult-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.consult-hero .split-photo { min-height: 520px; }
.consult-hero .page-title { margin-bottom: 24px; }
.consult-hero .lede { max-width: 34ch; margin-bottom: 24px; }
.price-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 32px; }
.price-row li { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(29, 32, 28, .08); font: 500 14px/1 var(--text); white-space: nowrap; }
.price-row li > span { text-box: trim-both cap alphabetic; }
.price-row li.strong { background: var(--ink); color: var(--lime); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.step { background: var(--ink-2); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; align-content: start; }
.step-num { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 600 18px/1 var(--display); text-align: center; text-box: trim-both cap alphabetic; padding-top: calc((44px - 1cap) / 2); }
.step h3 { font-size: 26px; line-height: 1.1; letter-spacing: -.008em; text-box: trim-both cap alphabetic; }
.step p { color: var(--ink-soft); font-size: 16px; text-box: trim-both cap alphabetic; }

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit { background: var(--paper); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; align-content: start; }
.fit h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.008em; text-box: trim-both cap alphabetic; }
.fit p { color: var(--stone); text-box: trim-both cap alphabetic; }
.expect { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.expect li { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.expect .ex-k { display: block; font: 500 26px/1.1 var(--display); letter-spacing: -.008em; margin-bottom: 8px; }
.expect .ex-v { display: block; font-size: 15px; color: var(--stone); }

.cta-band { padding: clamp(64px, 8vw, 112px) 0; }
.cta-band .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 14ch; }

/* ---------- Connect ---------- */
.connect-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.connect-head p { max-width: 48ch; }
.mosaic-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 13vw, 180px); gap: 12px;
  grid-template-areas: "a b c" "a b d" "a e d" "f e g" "f h h";
}
.mosaic-grid figure:nth-child(1) { grid-area: a; } .mosaic-grid figure:nth-child(2) { grid-area: b; }
.mosaic-grid figure:nth-child(3) { grid-area: c; } .mosaic-grid figure:nth-child(4) { grid-area: d; }
.mosaic-grid figure:nth-child(5) { grid-area: e; } .mosaic-grid figure:nth-child(6) { grid-area: f; }
.mosaic-grid figure:nth-child(7) { grid-area: g; } .mosaic-grid figure:nth-child(8) { grid-area: h; }
.mosaic-grid figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.mosaic-grid img { width: 100%; height: 100%; object-fit: cover; }
.connect-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.connect-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; align-content: start; }
.connect-side .socials { margin-left: -12px; }
.form-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
.form-card .form-done h3 { font-size: 30px; letter-spacing: -.008em; margin-bottom: 12px; }

/* ---------- Blog ---------- */
.masthead { padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 80px); }
.mast-title {
  font: 500 calc((min(100vw, calc(var(--page) + 2 * var(--gutter))) - 2 * var(--gutter)) / 7.25)/.9 var(--display);
  letter-spacing: -.02em; white-space: nowrap; margin-bottom: clamp(28px, 3.5vw, 44px);
}
.mast-lede { max-width: 46ch; }

.series-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.series-card { background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.series-card.lime { background: var(--lime); color: var(--ink); }
.series-card .eyebrow { margin-bottom: 12px; }
.series-card.lime .eyebrow { color: var(--ink); }
.series-card h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.02; letter-spacing: -.012em; margin-bottom: 12px; }
.series-card p.body { max-width: 48ch; margin-bottom: 24px; }
.series-card:not(.lime) p.body { color: var(--ink-soft); }
.series-card .part-list { margin-top: 4px; }
.series-card:not(.lime) .part-list, .series-card:not(.lime) .part-list li { border-color: var(--line-ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3vw, 40px); }
.filter { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font: 500 15px/1 var(--text); text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.filter > span { text-box: trim-both cap alphabetic; }
.filter .count { color: var(--stone); font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--ink); }
.filter[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter[aria-current="true"] .count { color: var(--lime); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px) 24px; }
.post-card { display: grid; gap: 16px; align-content: start; text-decoration: none; color: inherit; }
.post-card .ph { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .ph img { transform: scale(1.035); }
.post-card .pc-meta { display: flex; flex-wrap: wrap; gap: 0; font-size: 13px; color: var(--stone); }
.post-card .pc-meta span { white-space: nowrap; }
.post-card .pc-meta span:not(:last-child)::after { content: "·"; margin: 0 8px; }
.post-card h3 { font-size: 23px; line-height: 1.18; letter-spacing: -.008em; margin-top: -4px; }
.post-card p { font-size: 15px; line-height: 1.55; color: var(--stone); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------- Post ---------- */
.post-head { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(28px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; color: var(--stone); margin-bottom: 20px; }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.post-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.012em; margin-bottom: 24px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--stone); }
.post-meta img { flex: none; }
.post-meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.post-meta .pm-items { display: flex; flex-wrap: wrap; }
.post-meta .pm-items span { white-space: nowrap; }
.post-meta .pm-items span:not(:last-child)::after { content: "·"; margin: 0 8px; }
.post-meta strong { color: var(--ink); font-weight: 500; }
.post-hero { margin: 0 auto; max-width: calc(1040px + 2 * var(--gutter)); padding: 0 var(--gutter); }
.post-hero .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

/* closed it is a pill; opening rounds it into a card while the list unfolds */
.series-box { margin: clamp(36px, 4vw, 56px) 0 0; border: 1px solid var(--line-strong); border-radius: 29px; transition: border-radius .3s var(--ease); }
.series-box[open]:not(.is-closing), .series-box.is-open { border-radius: var(--r-lg); }
.series-box summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 24px; cursor: pointer; min-height: 56px; }
.series-box summary::-webkit-details-marker { display: none; }
.series-box .sb-title { font: 500 15px/1.3 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.series-box .sb-where { color: var(--stone); font-weight: 400; }
.series-box .sb-short { display: none; }
@media (max-width: 599px) { /* the pill keeps to one line on phones: the series goes by its short name */
  .series-box .sb-name { display: none; }
  .series-box .sb-short { display: inline; }
}
.series-box .chev { width: 12px; height: 8px; transition: transform .3s var(--ease); }
.series-box[open] .chev { transform: rotate(180deg); }
.series-box ol { list-style: none; border-top: 1px solid var(--line); padding: 4px 24px 12px; }
.series-box li a, .series-box li .here { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; text-decoration: none; font-size: 15px; line-height: 1.4; }
.series-box li .pn { font-size: 13px; color: var(--stone); white-space: nowrap; }
.series-box li a:hover .pt { text-decoration: underline; text-underline-offset: 3px; }
.series-box li .here .pt { font-weight: 600; }
.series-box li .here .pt::after { content: "You’re here"; margin-left: 8px; font-size: 12px; font-weight: 500; background: var(--lime); padding: 2px 8px; border-radius: 999px; vertical-align: 1px; }

.prose { font-size: 18px; line-height: 1.7; padding: clamp(32px, 4vw, 48px) 0 0; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.012em; margin-top: 56px; }
.prose h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.008em; margin-top: 48px; }
.prose h4 { font-size: 21px; line-height: 1.25; letter-spacing: 0; margin-top: 36px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--stone); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lime); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.prose strong { font-weight: 600; }
.post-figure { margin: 40px 0; }
.post-figure img { border-radius: var(--r-lg); width: 100%; }
.post-figure figcaption { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--stone); }

.succeed-card { margin: clamp(48px, 6vw, 72px) 0 0; background: var(--lime); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.succeed-card .eyebrow { color: var(--ink); margin-bottom: 12px; text-box: trim-both cap alphabetic; }
.succeed-card p.body { max-width: 46ch; font-size: 17px; text-box: trim-both cap alphabetic; }

.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box .ab-name { font: 500 19px/1.2 var(--display); letter-spacing: 0; text-box: trim-both cap alphabetic; }
.author-box .ab-bio { font-size: 15px; color: var(--stone); margin-top: 10px; text-box: trim-both cap alphabetic; }

.series-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.series-nav a { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-md); text-decoration: none; align-content: start; transition: border-color .3s var(--ease); }
.series-nav a:hover { border-color: var(--ink); }
.series-nav .sn-k { font-size: 13px; color: var(--stone); text-box: trim-both cap alphabetic; }
.series-nav .sn-t { font: 500 18px/1.25 var(--display); letter-spacing: 0; text-box: trim-both cap alphabetic; }
.series-nav .next { text-align: right; grid-column: 2; }

.comments { margin-top: clamp(56px, 6vw, 80px); }
.comments .h3 { margin-bottom: 8px; }
.comment-list { list-style: none; margin-top: 24px; }
.comment { padding: 20px 0; border-top: 1px solid var(--line); }
.comment.reply { margin-left: clamp(20px, 5vw, 48px); }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.ch-who { display: inline-flex; align-items: center; gap: 8px; }
.comment-name { font-weight: 600; font-size: 16px; text-box: trim-both cap alphabetic; }
.comment-badge { font-size: 12px; font-weight: 500; line-height: 1; background: var(--lime); padding: 5px 9px; border-radius: 999px; }
.comment-badge > span { display: block; text-box: trim-both cap alphabetic; }
.comment-date { font-size: 14px; color: var(--stone); }
.comment p { font-size: 16px; line-height: 1.6; }
.comment.pending { opacity: .75; }
.comment-form { margin-top: 32px; padding: 24px; background: var(--mist); border-radius: var(--r-lg); }
.comment-form .h3 { font-size: 22px; margin-bottom: 20px; text-box: trim-both cap alphabetic; }

.post { padding-bottom: var(--sec); }
.related { padding: var(--sec) 0; }

/* ---------- 404 ---------- */
.not-found { padding: clamp(96px, 14vw, 200px) 0; text-align: center; }
.not-found .page-title { margin-bottom: 20px; }
.not-found p { max-width: 44ch; margin: 0 auto 32px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--lime); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 12px; height: 14px; }

/* ---------- Motion for interactions ---------- */
/* Filters: one ink pill slides to the chosen filter */
.filters { position: relative; }
/* The active pill is a window onto an ink copy of the row: wherever it travels, the words inside it turn light, frame by frame */
.filters-ink { position: absolute; z-index: 2; inset: 0; display: flex; flex-wrap: wrap; gap: 8px; background: var(--ink); pointer-events: none; visibility: hidden; clip-path: inset(0 100% 100% 0 round 999px); transition: clip-path .5s var(--ease); }
.filters-ink .filter { border-color: transparent; color: var(--paper); }
.filters-ink .count { color: var(--lime); }
.filters.has-pill .filters-ink { visibility: visible; }
.filters.has-pill .filter[aria-current="true"] { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.filters.has-pill .filter[aria-current="true"] .count { color: var(--stone); }
.filter { transition: border-color .25s var(--ease); }
/* Shared-element transitions for the post grid and page changes (browsers without them just swap) */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
::view-transition-old(root) { animation: .28s cubic-bezier(.4, 0, 1, 1) both vt-out; }
::view-transition-new(root) { animation: .42s cubic-bezier(.22, .61, .36, 1) .06s both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.site-header { view-transition-name: site-header; }
:root.vt-filter::view-transition-old(root) { display: none; }
:root.vt-filter::view-transition-new(root) { animation: none; }
:root.vt-filter::view-transition-group(*) { animation-duration: .55s; }
:root.vt-filter::view-transition-old(post-filters) { display: none; } /* the row stays live, so its pill keeps sliding */
:root.vt-filter::view-transition-new(post-filters) { animation: none; }
/* the heading swaps words without stretching: old words fade out, new ones rise in, both at their own size */
:root.vt-filter::view-transition-old(posts-title), :root.vt-filter::view-transition-new(posts-title) { width: auto; height: auto; }
:root.vt-filter::view-transition-old(posts-title) { animation: .2s cubic-bezier(.4, 0, 1, 1) both vt-out; }
:root.vt-filter::view-transition-new(posts-title) { animation: .4s cubic-bezier(.22, .61, .36, 1) .12s both vt-in; }
/* Menu links arrive one after another */
.menu-links li { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.menu.is-open .menu-links li { opacity: 1; transform: none; }
.menu.is-open .menu-links li:nth-child(1) { transition-delay: .14s; }
.menu.is-open .menu-links li:nth-child(2) { transition-delay: .18s; }
.menu.is-open .menu-links li:nth-child(3) { transition-delay: .22s; }
.menu.is-open .menu-links li:nth-child(4) { transition-delay: .26s; }
.menu.is-open .menu-links li:nth-child(5) { transition-delay: .30s; }
.menu-foot { opacity: 0; transition: opacity .45s var(--ease); }
.menu.is-open .menu-foot { opacity: 1; transition-delay: .34s; }
/* Thank-you states and new comments ease in */
form.is-done .form-done { animation: fade-up .5s var(--ease) both; }
.comment.pending { animation: fade-up .5s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.series-box { overflow: hidden; }
.series-box .chev { transition: transform .35s var(--ease); }

/* Live site: send errors, busy buttons, and a headline that waits for its letters */
.form-error { font-size: 15px; line-height: 1.5; color: #B42318; }
.form-error a { color: inherit; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.js .hero-title:not(.is-split) .line { visibility: hidden; }
.js-late .hero-title .line { visibility: visible; }

/* ---------- Page transitions ---------- */
#app { min-height: 60vh; }
#app.is-entering > * { animation: enter .55s var(--ease) both; }
@keyframes enter { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .rail { grid-auto-columns: calc((100% - 24px) / 2.3); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .worlds { grid-template-columns: 1fr 1fr; }
  /* tablets: the third card spans both columns, photo beside its text */
  .worlds .world:last-child { grid-column: span 2; grid-template-columns: calc(50% - 12px) minmax(0, 1fr); grid-template-rows: auto; } /* photo lines up with the card above */
}
@media (max-width: 899px) {
  .intro-grid, .split, .footer-top, .best-life-head, .njy-block, .connect-head, .connect-form-wrap, .series-grid, .series-callout { grid-template-columns: minmax(0, 1fr); }
  .session-card { justify-self: stretch; width: 100%; }
  .split { grid-template-rows: auto; }
  .split > .eyebrow, .split-text, .split > .split-photo { grid-column: 1; grid-row: auto; }
  .split-photo { min-height: 0; aspect-ratio: 4 / 5; order: -1; margin-bottom: 32px !important; }
  .split > .eyebrow { order: 0; }
  .bio .split-photo { aspect-ratio: 3 / 2; }
  .consult-hero .split-photo { min-height: 0; aspect-ratio: 4 / 5; order: 0; margin: 40px 0 0 !important; }
  .connect-side { position: static; }
  .moments li { grid-template-columns: 1fr; gap: 8px; }
  .moments .link { justify-self: start; }
  .fit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  body { font-size: 16px; }
  .statement .lead-label { display: block; width: auto; margin-bottom: 16px; line-height: 1.25; }
  .rail { grid-auto-columns: 78%; gap: 16px; }
  .feature-photo { display: block; min-height: 0; }
  .feature-photo > img { position: relative; aspect-ratio: 4 / 3; height: auto; }
  .feature-photo::after { display: none; }
  .feature-photo .wrap { padding-top: 32px; padding-bottom: 56px; }
  .post-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .worlds { grid-template-columns: minmax(0, 1fr); }
  .card, .session-card, .fit, .step, .form-card, .comment-form { padding: 20px; }
  .world .w-body { padding: 20px; }
  .worlds .world:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .expect { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .expect li:last-child { grid-column: span 2; } /* the longest note gets the full width */
  .form-2 { grid-template-columns: 1fr; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; gap: 8px; grid-template-areas: "a b" "a b" "c d" "e d" "e f" "g f" "h h"; }
  /* phones: four photos in two rows, so every face can sit above or below the headline */
  .about-hero .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .about-hero .mosaic img:nth-child(3), .about-hero .mosaic img:nth-child(4) { display: none; }
  .succeed-card { grid-template-columns: 1fr; }
  .succeed-card .btn { justify-self: stretch; }
  .series-nav { grid-template-columns: 1fr; }
  .series-nav .next { grid-column: 1; }
  .giant-name { font-size: calc((100vw - 2 * var(--gutter)) / 3.7); line-height: .86; white-space: normal; }
  .giant-name .gl { display: block; white-space: nowrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .row-head .row-tools .link { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 359px) {
  .hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .marked > svg path { stroke-dashoffset: 0; }
}
