/* Debbie Waller: site styles. Tokens from _work/design-plan.md */

@font-face { font-family: 'Literata'; src: url('../fonts/literata.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url('../fonts/atkinson.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url('../fonts/atkinson-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
/* metric-matched fallbacks so nothing jumps when the web fonts arrive */
@font-face { font-family: 'Literata Fallback'; src: local('Georgia'); size-adjust: 105.8%; ascent-override: 111.3%; descent-override: 29.1%; line-gap-override: 0%; }
@font-face { font-family: 'Atkinson Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 800; size-adjust: 97.85%; ascent-override: 100.6%; descent-override: 32.3%; line-gap-override: 0%; }
@font-face { font-family: 'Atkinson Fallback'; src: local('Arial'); font-weight: 200 500; size-adjust: 100.2%; ascent-override: 98.2%; descent-override: 31.5%; line-gap-override: 0%; }

:root {
  --ink: #161A3D;
  --ink-2: #222859;
  --peri: #4C66A8;
  --peri-deep: #3D5592;
  --peri-soft: #8FA3D9;
  --lilac: #8E86D0;
  --mist: #EDF0FA;
  --white: #FFFFFF;
  --dusk: #F8E8DD;
  --glow: #EFA46A;
  --glow-deep: #A9531C;
  --text: #161A3D;
  --muted: #4A4F72;
  --line: rgba(22, 26, 61, .14);

  --display: 'Literata', 'Literata Fallback', Georgia, serif;
  --body: 'Atkinson Next', 'Atkinson Fallback', Arial, sans-serif;

  --r: 8px;          /* surfaces: 12 letters mod 5 = 2 -> medium */
  --rb: 0;           /* buttons: "Debbie" 6 mod 3 = 0 -> square */
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(84px, 10vw, 150px);
  --head-h: 100px;
  --media-cap: min(76vh, 760px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; font-weight: 400; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--peri-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 420; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; display: flow-root; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); line-height: 1.22; }
em { font-style: italic; }
h1 em, h2 em { color: var(--peri); }
ul[role='list'], ol { list-style: none; margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
section { position: relative; isolation: isolate; }

/* SplitText line masks: padded and pulled back by the same amount (frontend-design recipe, tall ascender variant) */
.ln-mask { padding: .3em .15em .5em; margin: -.8em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.3em; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 14px 26px; border: 1.5px solid var(--bg); border-radius: var(--rb); background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--peri); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ink { --bg: var(--ink); }
.btn--glow { --bg: var(--glow); --fg: var(--ink); }
.btn--glow::before { background: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.7); }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid currentColor; padding: 10px 0 6px; min-height: 46px; }
.link-arrow svg { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--glow); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: 28px; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 14px var(--gut); height: var(--head-h); transition: height .4s var(--ease); }
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .site-header__inner { height: 76px; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { flex: 0 0 auto; display: block; padding: 3px 0; }
.brand img { height: 70px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 52px; }
.nav { margin-left: auto; flex: 1 1 auto; display: flex; justify-content: flex-end; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; white-space: nowrap; padding: 12px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav__link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1.5px; background: var(--peri); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__item:hover > .nav__link::after, .nav__item.is-current > .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__toggle { display: grid; place-items: center; width: 24px; height: 44px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--rb); }
.nav__toggle svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__sub { position: absolute; top: 100%; left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: 0 24px 50px -18px rgba(22,26,61,.35), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (any-hover: hover) { .nav__item:not(.no-hover):hover .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.nav__sub a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; border-radius: calc(var(--r) - 4px); font-weight: 500; transition: background .25s, padding .3s var(--ease); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--mist); padding-left: 20px; }
.header-cta { min-height: 48px; padding: 12px 20px; flex: 0 0 auto; }
.burger { display: none; width: 52px; height: 52px; margin-left: auto; border: 1.5px solid var(--ink); border-radius: var(--rb); background: #fff; cursor: pointer; position: relative; }
.burger__bars, .burger__bars::before, .burger__bars::after { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger__bars { top: 50%; margin-top: -1px; }
.burger__bars::before, .burger__bars::after { content: ''; left: 0; right: 0; }
.burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
.burger[aria-expanded='true'] .burger__bars { background: transparent; }
.burger[aria-expanded='true'] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto; padding: calc(var(--head-h) + 10px) var(--gut) 40px; }
.mobile-menu[hidden] { display: none; }
.mm__list { list-style: none; margin: 0; padding: 0; }
.mm__item { border-bottom: 1px solid rgba(255,255,255,.14); }
.mm__link, .mm__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; min-height: 56px; font: 420 1.6rem/1.2 var(--display); color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.mm__toggle svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s; }
.mm__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.mm__sub { list-style: none; margin: 0 0 14px; padding: 0 0 0 4px; }
.mm__sub a { display: block; padding: 10px 0; min-height: 44px; color: var(--peri-soft); text-decoration: none; font-size: 1.1rem; }
.mm__foot { display: grid; gap: 16px; margin-top: 32px; }
.mm__phone { color: #fff; font-size: 1.2rem; }
.menu-open .site-header { background: var(--ink); box-shadow: none; }
.menu-open .brand img { filter: none; }
.menu-open .site-header .brand { background: #fff; border-radius: var(--r); padding: 4px 10px; }
.menu-open .burger { background: #fff; }

@media (max-width: 1340px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  :root { --head-h: 84px; }
  .brand img { height: 56px; }
  .is-scrolled .brand img { height: 48px; }
}
@media (max-width: 520px) { .brand img { height: 50px; } }

/* ---------- shared section bits ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin: 0; }
.sec-head__lede { margin: 0; font-size: 1.15rem; color: var(--muted); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.frame { position: relative; margin: 0; border-radius: var(--r); }
.frame__clip { position: relative; display: block; height: 100%; overflow: clip; border-radius: var(--r); }
.frame img { border-radius: var(--r); width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--peri-soft); border-radius: var(--r); z-index: -1; pointer-events: none; }
.frame figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); padding: 8px 14px; border-radius: calc(var(--r) - 2px); font-size: .9rem; font-weight: 600; }
.calm-line { width: 100%; height: 60px; overflow: visible; }
.calm-line path { fill: none; stroke: var(--peri-soft); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; }
.calm-line path[data-i='1'] { stroke: var(--lilac); opacity: .55; }
.calm-line path[data-i='2'] { stroke: var(--glow); opacity: .6; }
.calm-line path[data-i='3'] { stroke: var(--peri); opacity: .4; }
.sec-line { position: absolute; left: 0; right: 0; bottom: -30px; z-index: 2; pointer-events: none; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: clip; background: linear-gradient(180deg, #F3F4FC 0%, var(--mist) 46%, #F6ECEA 100%); padding: calc(var(--head-h) + 30px) 0 90px; }
.hero::before { content: ''; position: absolute; width: 62vw; height: 62vw; right: -14vw; top: 2vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(239,164,106,.22), rgba(142,134,208,.16) 55%, transparent 72%); animation: glowDrift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glowDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-9vw, 8vh) scale(1.12); } }
.hero__poster, .hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.55) 38%, #000 64%); mask-image: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.55) 38%, #000 64%); }
.hero__scene { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-live .hero__scene { opacity: 1; }
.hero.is-live .hero__poster { opacity: 0; transition: opacity 1.2s ease; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 340px); gap: clamp(32px, 6vw, 110px); align-items: center; }
.hero__title { font-size: clamp(2.9rem, 6.2vw, 6.4rem); line-height: 1.02; font-weight: 400; letter-spacing: -.025em; margin: 0 0 .35em; }
.hero__title em { font-weight: 380; }
.hero__title > span { display: block; }
.hero__lede { font-size: clamp(1.1rem, 1.35vw, 1.22rem); color: var(--muted); max-width: none; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.breath { display: flex; align-items: center; gap: 16px; margin-top: 38px; color: var(--peri-deep); font-weight: 600; font-size: .95rem; }
.breath__word { position: relative; display: inline-block; width: 7.2em; height: 1.5em; }
.breath__word > span { position: absolute; left: 0; top: 0; transition: opacity .6s; }
[data-breath-out] { opacity: 0; }
.breath.is-out [data-breath-in] { opacity: 0; }
.breath.is-out [data-breath-out] { opacity: 1; }
.breath__track { width: min(220px, 40vw); height: 2px; background: rgba(76,102,168,.2); position: relative; overflow: hidden; }
.breath__fill { position: absolute; inset: 0; background: var(--peri); transform-origin: left; transform: scaleX(0); }
.hero__card { margin: 0; position: relative; border-radius: var(--r); background: #fff; padding: 10px 10px 16px; box-shadow: 0 30px 60px -30px rgba(22,26,61,.45); transform-style: preserve-3d; will-change: transform; }
.hero__card .card-clip { display: block; overflow: clip; border-radius: calc(var(--r) - 3px); }
.hero__card img { border-radius: calc(var(--r) - 3px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; width: 100%; }
.hero__card figcaption { padding: 14px 6px 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero__card figcaption strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.hero__hint { position: absolute; right: var(--gut); bottom: 26px; margin: 0; font-size: .88rem; color: var(--muted); }
/* first paint: the headline sits slightly soft and settles. A CSS safety net completes it at 1.5 s if scripts are late. */
.js:not(.rm) .hero__title, .js:not(.rm) .hero__lede, .js:not(.rm) .hero__actions { animation: heroSafe .6s 1.5s both; }
.js:not(.rm) .hero__title { filter: blur(5px); opacity: .55; }
.js:not(.rm) .hero__lede, .js:not(.rm) .hero__actions { opacity: .6; }
.js:not(.rm) .hero__card { clip-path: inset(100% 0 0 0 round 8px); animation: heroCardSafe .8s 1.5s both; }
.hero.is-go .hero__title, .hero.is-go .hero__lede, .hero.is-go .hero__actions, .hero.is-go .hero__card { animation: none; filter: none; opacity: 1; }
.hero.is-go .hero__card { clip-path: none; }
@keyframes heroCardSafe { to { clip-path: inset(0 0 0 0 round 8px); } }
@keyframes heroSafe { to { filter: none; opacity: 1; } }
@media (max-width: 860px) {
  .hero { padding-bottom: 70px; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__card { width: min(300px, 76vw); justify-self: start; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 8px; }
  .hero__card img { aspect-ratio: 1; }
  .hero__card figcaption { padding: 0; }
  .hero__poster, .hero__scene { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.6) 45%, #000 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.6) 45%, #000 70%); }
  .hero__hint { display: none; }
  .hero::before { width: 170vw; height: 170vw; right: -80vw; top: 10vh; }
  .breath { margin-top: 28px; }
}

/* ---------- services ---------- */
.services { background: var(--white); padding: var(--sec) 0 calc(var(--sec) - 20px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.card { perspective: 900px; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--mist); border-radius: var(--r); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s var(--ease), background .4s; }
.card__link:hover { background: #E3E8F8; box-shadow: 0 30px 60px -32px rgba(22,26,61,.5); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: breathe 14s ease-in-out infinite alternate; transition: transform 1s var(--ease); }
.card:nth-child(2n) .card__media img { animation-delay: -5s; }
.card:nth-child(3n) .card__media img { animation-delay: -9s; }
.card__link:hover .card__media img { animation-play-state: paused; transform: scale(1.1); }
@keyframes breathe { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.card__title { font-family: var(--display); font-size: clamp(1.35rem, 1.7vw, 1.7rem); line-height: 1.2; }
.card__text { color: var(--muted); }
.card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--peri-deep); }
.card__more svg { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.card__link:hover .card__more svg { transform: translateX(6px); }
.services__note { margin: 40px 0 0; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- feels ---------- */
.feels { background: var(--mist); padding: clamp(70px, 8vw, 110px) 0; overflow: clip; }
.feels__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.feels__statement { font-family: var(--display); font-size: clamp(1.45rem, 2.3vw, 2.25rem); line-height: 1.35; font-weight: 400; margin: .2em 0 .9em; color: var(--ink); }
.feels__statement .w { display: inline !important; opacity: .2; transition: none; }
.no-js .feels__statement .w, .rm .feels__statement .w { opacity: 1; }
.feels__media { width: min(100%, calc(var(--media-cap) * .72)); justify-self: end; aspect-ratio: 4 / 5; }
.feels__media img { filter: blur(var(--blur, 0px)); transform: scale(var(--zoom, 1)); transition: none; }
.feels__media .frame-clip, .feels__media { overflow: visible; }
.feels__media img { will-change: filter, transform; }
@media (max-width: 860px) { .feels__grid { grid-template-columns: 1fr; } .feels__media { justify-self: start; width: min(100%, 420px); } }

/* ---------- reviews ---------- */
.reviews { background: var(--peri); color: #fff; padding: var(--sec) 0; overflow: clip; }
.reviews h2 { color: #fff; }
.marquee { position: absolute; inset: auto 0 18px; overflow: hidden; pointer-events: none; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--display); font-style: italic; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.32); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reviews__inner { position: relative; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); align-items: start; padding-bottom: clamp(60px, 7vw, 100px); }
.quotes { position: relative; min-height: 300px; }
.quote { margin: 0; position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; }
.quote.is-active { position: relative; opacity: 1; visibility: visible; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.38; margin: 0 0 .8em; }
.quote p::before { content: '\201C'; display: block; font-size: 3.4em; line-height: .6; height: .42em; color: var(--glow); }
.quote figcaption { font-weight: 600; color: rgba(255,255,255,.85); }
.quotes__nav { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.quotes__btn { width: 52px; height: 52px; display: grid; place-items: center; background: transparent; border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--rb); color: #fff; cursor: pointer; transition: background .3s, color .3s; }
.quotes__btn:hover { background: #fff; color: var(--peri); }
.quotes__btn svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.quotes__count { font-weight: 600; min-width: 4.5em; }
.quotes__timer { flex: 1; max-width: 200px; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.quotes__timer span { position: absolute; inset: 0; background: var(--glow); transform-origin: left; transform: scaleX(0); }
.no-js .quote { position: relative; opacity: 1; visibility: visible; margin-bottom: 30px; }
.no-js .quotes__nav { display: none; }
@media (max-width: 860px) { .reviews__inner { grid-template-columns: 1fr; } }

/* ---------- calm minute ---------- */
.calm { background: var(--ink); color: #fff; padding: var(--sec) 0; overflow: clip; }
.calm h2, .calm h3 { color: #fff; }
.calm__waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.calm__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.calm__copy > p { color: rgba(255,255,255,.82); font-size: 1.12rem; }
.pacer { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); margin-top: 30px; flex-wrap: wrap; }
.pacer__ring { position: relative; width: clamp(200px, 22vw, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.pacer__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pacer__track { fill: none; stroke: rgba(143,163,217,.25); stroke-width: 2; }
.pacer__progress { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; }
.pacer__orb { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #AFC0EE, var(--peri) 60%, var(--ink-2)); box-shadow: 0 0 60px rgba(143,163,217,.45); transform: scale(.62); animation: orbIdle 5s ease-in-out infinite alternate; }
.pacer.is-running .pacer__orb { animation: none; }
@keyframes orbIdle { to { transform: scale(.7); } }
.pacer__word { position: relative; font-family: var(--display); font-size: 1.35rem; color: #fff; }
.pacer__side { display: grid; gap: 10px; justify-items: start; }
.pacer__status { margin: 0; font-size: 1.1rem; color: #fff; max-width: 24em; }
.pacer__rounds { margin: 0 0 8px; color: var(--peri-soft); font-weight: 600; }
.audio-card { background: var(--ink-2); border: 1px solid rgba(143,163,217,.25); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); }
.audio-card p { color: rgba(255,255,255,.8); }
.player { display: flex; align-items: center; gap: 18px; margin: 22px 0 20px; }
.player__play { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--glow); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.player__play:hover { transform: scale(1.06); }
.player__play svg { width: 26px; height: 26px; fill: currentColor; }
.player__play .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__meta { flex: 1; display: grid; gap: 8px; }
.player__bar { height: 3px; background: rgba(143,163,217,.3); position: relative; overflow: hidden; border-radius: 2px; }
.player__fill { position: absolute; inset: 0; background: var(--glow); transform-origin: left; transform: scaleX(0); }
.player__time { font-size: .92rem; color: var(--peri-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .calm__grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { background: var(--dusk); padding: var(--sec) 0; overflow: clip; }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 7vw, 120px); align-items: center; }
.about__media { position: relative; padding: 0 0 60px; }
.about__portrait { width: min(88%, calc(var(--media-cap) * .85)); aspect-ratio: 1; }
.about__portrait::after { border-color: var(--glow); }
.about__book { position: absolute; right: 0; bottom: 0; width: clamp(150px, 15vw, 220px); margin: 0; box-shadow: 0 30px 50px -20px rgba(22,26,61,.5); border-radius: 4px; overflow: hidden; transform: rotate(4deg); }
.about__book img { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 30px; list-style: none; padding: 0; border-top: 1px solid rgba(22,26,61,.18); }
.stats li { padding-top: 18px; }
.stats__n { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--peri-deep); }
.stats__l { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; line-height: 1.35; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; } }

/* ---------- steps ---------- */
.steps-sec { background: var(--white); padding: var(--sec) 0; overflow: clip; }
.steps-wrap { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 40px; overflow: visible; }
.steps__path { fill: none; stroke: var(--peri-soft); stroke-width: 2; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.step { position: relative; padding-top: 70px; counter-increment: step; }
.step__dot { position: absolute; top: 12px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--peri); display: grid; place-items: center; }
.step__dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); transform: scale(var(--dot, 0)); transition: transform .5s var(--ease); }
.step.is-on .step__dot::after { --dot: 1; }
.step h3::before { content: counter(step) '. '; color: var(--peri); }
.step p { color: var(--muted); margin: 0; }
.steps-sec__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 54px; }
.steps-sec__phone { display: inline-flex; align-items: center; min-height: 46px; font-weight: 600; color: var(--ink); }
.no-js .step__dot::after, .rm .step__dot::after { --dot: 1; }
@media (max-width: 900px) { .steps__line { display: none; } }

/* ---------- where ---------- */
.where { background: var(--mist); padding: var(--sec) 0; overflow: clip; }
.where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(46px, 7vw, 110px); align-items: center; }
.where__media { aspect-ratio: 5 / 4; width: 100%; max-height: var(--media-cap); }
.where__media img { transform: scale(1.08); }
.where__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 32px; }
.tile { background: #fff; border-radius: var(--r); padding: 20px 22px; border-left: 3px solid var(--glow); }
.tile h3 { font-size: 1.3rem; margin-bottom: .3em; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .where__grid { grid-template-columns: 1fr; } .where__tiles { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 0 0 26px; position: relative; overflow: clip; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; left: -20vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(76,102,168,.35), transparent 70%); animation: glowDrift 18s ease-in-out infinite alternate; pointer-events: none; }
.site-footer__line { height: 70px; margin-top: -2px; }
.site-footer__line path { stroke: var(--peri-soft); opacity: .45; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 50px; padding-bottom: 50px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--glow); text-decoration: underline; }
.sf-logo { display: inline-block; background: #fff; border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; }
.sf-logo img { height: 52px; width: auto; }
.sf-title { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--glow); margin-bottom: 14px; letter-spacing: 0; }
.sf-big { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: .4em; }
.sf-links, .sf-social, .sf-legal { list-style: none; margin: 0; padding: 0; }
.sf-links li { margin-bottom: 4px; }
.sf-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.sf-social { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; }
.sf-social a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-weight: 600; }
.sf-badges { overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.sf-badges__track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; }
.sf-badge { flex: 0 0 auto; background: #fff; border-radius: var(--r); padding: 8px 14px; height: 78px; display: grid; place-items: center; }
.sf-badge img { max-height: 60px; width: auto; }
.sf-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 26px; font-size: .92rem; }
.sf-base p { margin: 0; flex: 1 1 520px; }
.sf-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sf-legal li { display: inline-flex; align-items: center; min-height: 44px; gap: .3em; }
.sf-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- reveal starting states (only with JS and motion on) ---------- */
.js:not(.rm) [data-rise] { opacity: 0; transform: translateY(28px); }
.js:not(.rm) [data-card] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- refinements after looking ---------- */
.reviews__head p { color: rgba(255,255,255,.85); margin-top: 18px; }
.card__line { width: 100%; height: 12px; margin-top: 6px; overflow: visible; }
.card__line path { fill: none; stroke: var(--glow); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.card__link:hover .card__line path, .card__link:focus-visible .card__line path { stroke-dashoffset: 0; }
.steps__flow { fill: none; stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 26; animation: flow 3s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -56; } }
@media (max-width: 900px) {
  .steps::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, var(--glow) 0 3px, transparent 3px 22px), linear-gradient(var(--peri-soft), var(--peri-soft)) 50% / 1px 100% no-repeat; animation: flowDown 2.4s linear infinite; }
  .steps { grid-template-columns: 1fr; padding-left: 48px; }
  .step { padding-top: 6px; }
  .step__dot { left: -48px; top: 6px; }
}
@keyframes flowDown { to { background-position: 0 25px, 50% 0; } }

.reviews__bg { position: absolute; inset: 0; overflow: clip; z-index: 0; }
.reviews__bg img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; opacity: .2; mix-blend-mode: luminosity; }
.reviews .marquee, .reviews .reviews__inner { z-index: 1; }
.steps-sec .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, .7fr); align-items: center; }
.steps-sec__photo { aspect-ratio: 4 / 3; width: 100%; max-height: min(34vh, 300px); }
@media (max-width: 1000px) { .steps-sec .sec-head { grid-template-columns: 1fr 1fr; } .steps-sec__photo { grid-column: 1 / -1; max-height: none; max-width: 520px; } }
@media (max-width: 640px) { .steps-sec .sec-head { grid-template-columns: 1fr; } }
/* the menu waits for its web font so nothing shifts as it arrives (safety net at 1.5 s) */
.js .nav__list { opacity: 0; animation: navSafe .4s 1.5s forwards; }
.fonts-in .nav__list { opacity: 1; animation: none; transition: opacity .5s ease; }
@keyframes navSafe { to { opacity: 1; } }

/* ---------- inner openers: holding (compact, about half a screen) ---------- */
.opener { position: relative; overflow: clip; }
.opener--holding { background: linear-gradient(170deg, #F3F4FC 0%, var(--mist) 55%, #F4EAE8 100%); padding: calc(var(--head-h) + clamp(28px, 4vw, 56px)) 0 clamp(44px, 5vw, 70px); min-height: 50svh; display: flex; align-items: center; }
.opener--holding::before { content: ''; position: absolute; width: 44vw; height: 44vw; left: -12vw; bottom: -26vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(239,164,106,.2), rgba(142,134,208,.12) 60%, transparent 72%); animation: glowDrift 15s ease-in-out infinite alternate; pointer-events: none; }
.opener__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(34px, 6vw, 96px); align-items: center; }
.opener h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.06; margin: 0; }
.opener__line { height: 44px; margin: 12px 0 16px; max-width: 520px; }
.opener__lede { font-size: clamp(1.1rem, 1.3vw, 1.22rem); color: var(--muted); margin-bottom: 1.4em; }
.opener__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.opener__media { aspect-ratio: 4 / 3; width: 100%; max-height: min(52vh, 460px); justify-self: end; }
@media (max-width: 860px) {
  .opener__grid { grid-template-columns: 1fr; }
  .opener__media { max-height: 300px; justify-self: start; }
}

/* ---------- holding body ---------- */
.soon { background: var(--white); padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 9vw, 130px); }
.soon__note { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 10px 56px; margin-bottom: clamp(30px, 4vw, 52px); }
.soon__note h2 { grid-row: span 2; margin: 0; }
.soon__note p { margin: 0 0 .6em; font-size: 1.12rem; }
.soon__note p + p { color: var(--muted); font-size: 1rem; }
.cards--soon .card__media { aspect-ratio: 16 / 10; }
.soon__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.soon__links a { display: flex; align-items: center; min-height: 64px; padding: 14px 20px; background: var(--mist); border-radius: var(--r); font-weight: 600; text-decoration: none; color: var(--ink); border-left: 3px solid var(--glow); }
@media (max-width: 860px) { .soon__note { grid-template-columns: 1fr; } .soon__note h2 { grid-row: auto; } }

/* ---------- legal pages ---------- */
.opener--legal { background: var(--mist); padding: calc(var(--head-h) + 40px) 0 40px; min-height: 32svh; display: flex; align-items: flex-end; }
.opener--legal .opener__line { max-width: none; }
.legal { background: var(--white); padding: clamp(50px, 6vw, 90px) 0 clamp(80px, 9vw, 120px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.legal__body h2 { font-size: clamp(1.5rem, 2vw, 2rem); margin-top: 1.6em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--text); }
.legal__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal__aside { position: sticky; top: calc(var(--head-h) + 20px); }
@media (max-width: 860px) { .legal__grid { grid-template-columns: 1fr; } .legal__aside { position: static; } }
.h3 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); line-height: 1.22; }
.legal__aside .aside-line { height: 40px; margin: 6px 0 18px; }
.legal__aside { padding: 26px 26px 28px; }
.legal__aside p { color: var(--muted); }
.opener__line path { stroke-width: 2; opacity: .85; }
.opener--legal { position: relative; overflow: clip; }
.opener--legal::before { content: ''; position: absolute; width: 50vw; height: 50vw; right: -10vw; top: -28vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(239,164,106,.22), rgba(142,134,208,.14) 60%, transparent 72%); animation: glowDrift 12s ease-in-out infinite alternate; pointer-events: none; }
.opener--legal .wrap { position: relative; }
.legal { position: relative; overflow: clip; isolation: isolate; }
.legal::before { content: ''; position: absolute; z-index: -1; width: 46vw; height: 46vw; right: -16vw; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,163,217,.16), transparent 70%); animation: glowDrift 14s ease-in-out infinite alternate; pointer-events: none; }
