/* Shine Psychotherapy
   Morning light: warm paper, soft greens, and photographs of the sun coming up over the hills.
   Nothing on the site is black. The deepest colours are the moss green of text and buttons and the coffee
   brown of the button on the first screen. */

:root {
  --paper: #fdfbf6;
  --paper-warm: #f6f1e6;
  --paper-sage: #edf1e7;
  --sky: #f7f0e0;
  --ink: #2b3a30;
  --muted: #5f6b61;
  --moss: #3f5a47;
  --moss-dark: #334a3a;
  --sage: #8fa58a;
  --sage-pale: #e2e9dc;
  --sun: #f2b866;
  --sun-pale: #fce9c8;
  --sun-deep: #9a6a1c;
  --line: #dedbcd;
  --line-strong: #bcc0b0;

  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --latin: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 80px;
}

html:lang(ko) {
  --display: "Gowun Batang", "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  --text: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

/* English: the headings keep the serif. Everything that is read at length or pressed (text, menu, buttons,
   forms) is set in the sans the Korean pages use for text; its Latin letters are those of Inter. The face also
   carries Hangul, so the Korean word in the language switch no longer falls back to a system serif. */
html:lang(en) {
  --text: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.16rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:lang(ko) body { font-size: 1.03rem; line-height: 1.8; word-break: keep-all; overflow-wrap: break-word; }
/* the sans stands taller than the serif it replaces, so the English text is set at the size of the Korean text */
html:lang(en) body { font-size: 1.03rem; line-height: 1.68; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3 { line-height: 1.38; letter-spacing: -0.02em; }
p, dl, dd, figure { margin: 0; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sun-pale); border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 0.9em; color: var(--muted); }
.lead { font-size: 1.12em; }

.skip { position: absolute; left: 12px; top: -90px; z-index: 100; padding: 12px 18px; background: var(--moss); color: #fff; }
.skip:focus { top: 0; }


.link { font-weight: 500; color: var(--moss); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.link:hover { text-decoration-color: var(--moss); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 28px;
  border: 1.5px solid var(--moss); border-radius: 6px;
  background: var(--moss); color: #fff;
  font: 500 1.05rem/1.2 var(--text); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
html:lang(ko) .btn { font-size: 1rem; font-weight: 600; }
html:lang(en) .btn { font-size: 1rem; font-weight: 600; }
.btn:hover { background: var(--moss-dark); border-color: var(--moss-dark); }
.btn__arrow { flex: none; width: 19px; height: 12px; transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--small { min-height: 46px; padding: 0 20px; font-size: 0.98rem; }
html:lang(ko) .btn--small { font-size: 0.92rem; }
html:lang(en) .btn--small { font-size: 0.92rem; }
.btn--ghost { background: transparent; color: var(--moss); }
.btn--ghost:hover { background: var(--sage-pale); border-color: var(--moss); }

/* ---------- header ---------- */


/* The header lies over the top of the page with no line under it: a veil of paper that thins downward, so the
   picture below runs on behind the menu. Once the page has moved the veil thickens, to keep the menu readable
   over whatever passes under it, and it still ends in a fade, not a line. */
.site-header { --h: var(--header-h); position: sticky; top: 0; z-index: 40; margin-bottom: calc(-1 * var(--h)); background: linear-gradient(to bottom, rgba(253, 251, 246, 0.84), rgba(253, 251, 246, 0.4)); transition: margin-bottom 0.3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(253, 251, 246, 0.95); opacity: 0; transition: opacity 0.3s; }
.site-header::after { content: ""; position: absolute; inset: 100% 0 auto; height: 34px; background: linear-gradient(to bottom, rgba(253, 251, 246, 0.95), rgba(253, 251, 246, 0)); opacity: 0.42; transition: opacity 0.3s; pointer-events: none; }
.site-header.is-scrolled { --h: 64px; }
.site-header.is-scrolled::before, .site-header.is-scrolled::after, .site-header:has(.mobile-nav:not([hidden]))::before { opacity: 1; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100% - 2 * clamp(16px, 2.6vw, 40px), 1280px); min-height: var(--h); }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* The logo is one block: an antique-gold sun over two lines of land in the brand green, the name, and the
   word under it pulled close. The gold is dark enough to read on the pale header (3.3:1 and 4.5:1). */
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.brand__mark { width: 47px; flex: none; }
.sun__disc { fill: #b98029; }
.sun__rays { fill: none; stroke: var(--sun-deep); stroke-width: 2.4; stroke-linecap: round; }
.sun__land { fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: italic 500 1.72rem/1 var(--latin); letter-spacing: -0.01em; color: var(--moss); }
.brand__sub { margin-top: 1px; font: 500 0.69rem/1 var(--latin); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(63, 90, 71, 0.88); }

.nav { display: none; }
.nav__link { padding: 8px 0; font-size: 1.27rem; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
/* the Korean menu is set in the same serif as the headings. The English menu is set in the sans of the buttons
   beside it, at a size that keeps its letters as tall as they were in the serif. */
html:lang(ko) .nav__link { font-family: var(--display); font-size: 1.29rem; font-synthesis: none; }
html:lang(ko) .lang { font-family: var(--display); font-synthesis: none; }
html:lang(en) .nav__link { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.004em; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--sun); }
/* The last entry of the menu, contact, is the one way out to a conversation: it is set as a solid button in the
   green of the button at the foot of the window, in the sans of the buttons, in both languages. */
.nav { align-items: center; }
.nav__link--cta, html:lang(ko) .nav__link--cta, html:lang(en) .nav__link--cta { margin-left: 6px; padding: 10px 18px; border: 1.5px solid var(--moss); border-radius: 8px; background: var(--moss); color: #fff; font-family: var(--text); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; transition: background-color 0.2s ease, border-color 0.2s ease, translate 0.2s ease; }
.nav__link--cta:hover, .nav__link--cta[aria-current="page"] { border-color: var(--moss-dark); background: var(--moss-dark); translate: 0 -1px; }

/* the language switch is a small pill with a globe: two languages are what this practice is about */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
html:lang(ko) .lang { font-size: 0.96rem; }
.lang__globe { flex: none; width: 16px; height: 16px; margin-right: 3px; color: var(--moss); }
.lang__item { padding: 8px 12px; border-radius: 999px; font-weight: 500; line-height: 1.2; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.lang__item:hover { background: var(--paper-sage); color: var(--moss-dark); }
.lang__item[aria-current="page"] { display: none; }

/* "Client portal", for people who are already clients: a small quiet link at the far end of the header. It shows
   only where the full menu shows; on narrower screens it is an entry of the menu instead. Where the name has a
   second half in brackets, the two halves stand one over the other, to stay narrow beside the menu. */
.site-header__portal { display: none; font-size: 0.84rem; font-weight: 500; line-height: 1.32; color: var(--muted); text-align: right; text-decoration: none; white-space: nowrap; }
.site-header__portal > span { display: block; }
.site-header__portal:hover { color: var(--moss); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

.menu-btn { position: relative; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: none; cursor: pointer; }
.menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn__icon, .menu-btn__icon::before { position: absolute; left: 50%; width: 20px; height: 1.6px; background: var(--moss); transition: transform 0.2s; }
.menu-btn__icon { top: calc(50% - 4px); transform: translateX(-50%); }
.menu-btn__icon::before { content: ""; top: 7px; transform: translateX(-50%); }
.menu-btn[aria-expanded="true"] .menu-btn__icon { transform: translate(-50%, 4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translate(-50%, -7px) rotate(-90deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav__in { display: grid; padding-block: 6px 22px; }
.mobile-nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.3rem; text-decoration: none; }
.mobile-nav__link[aria-current="page"] { color: var(--sun-deep); }
.mobile-nav__link--lang, .mobile-nav__link--portal { font-family: var(--text); font-size: 1rem; color: var(--muted); }
html:lang(en) .mobile-nav__link { font-family: var(--text); font-size: 1.12rem; font-weight: 500; }
html:lang(en) .mobile-nav__link--lang, html:lang(en) .mobile-nav__link--portal { font-size: 1rem; font-weight: 400; }

/* the offer of the other language floats under the header as a small note, so the picture still runs up behind the menu */
.lang-hint { position: absolute; z-index: 39; top: calc(var(--header-h) + 4px); right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); max-width: calc(100% - 2 * var(--gutter)); border: 1px solid rgba(154, 106, 28, 0.22); border-radius: 14px; background: rgba(252, 233, 200, 0.94); box-shadow: 0 14px 30px -22px rgba(63, 90, 71, 0.6); font-size: 0.92rem; }
@media (max-width: 699px) {
  body:has(.lang-hint:not([hidden])) .hero__in { padding-top: calc(clamp(52px, 12vw, 96px) + var(--header-h) + 56px); }
}
.lang-hint__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; width: auto; margin: 0; padding: 8px 16px; }
.lang-hint__go { font-weight: 600; color: var(--moss); }
.lang-hint__close { margin-left: auto; padding: 6px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }

@media (min-width: 560px) {
  .lang__item[aria-current="page"] { display: inline; background: var(--sage-pale); color: var(--moss-dark); }
}
/* On a phone the header holds the logo, the language switch and the menu button side by side,
   so the logo and the switch step down a size instead of running into each other. */
@media (max-width: 430px) {
  .brand { gap: 9px; }
  .brand__mark { width: 40px; }
  .brand__sub { font-size: 0.6rem; letter-spacing: 0.18em; }
}
@media (max-width: 399px) {
  .lang { padding-left: 4px; }
  .lang__globe { display: none; }
  .lang__item { padding-inline: 10px; }
}
@media (max-width: 350px) {
  .site-header__actions { gap: 8px; }
  .brand { gap: 8px; }
  .brand__mark { width: 34px; }
  .brand__name { font-size: 1.5rem; }
  .brand__sub { font-size: 0.54rem; letter-spacing: 0.06em; }
  .menu-btn { width: 42px; height: 42px; }
  /* the three actions at the foot of a very narrow phone stay on one line each */
  .bottom-bar .bottom-bar__item { padding-inline: 4px; font-size: 0.8rem; letter-spacing: -0.02em; }
}
/* The full menu appears once it fits beside the language switch and the button. The menu is set large, so the
   header is allowed to be a little wider than the text column (1280 against 1200). The English header needs
   a little more room than the Korean one. (These widths date from when a button stood beside the language
   switch; the button is gone and the widths are kept.) The last rule is only the fallback for any other language. */
@media (min-width: 1260px) {
  html:lang(ko) .nav { display: flex; gap: clamp(14px, 1.35vw, 20px); }
  html:lang(ko) .menu-btn, html:lang(ko) .mobile-nav { display: none; }
  html:lang(ko) .site-header__portal { display: block; }
}
@media (min-width: 1300px) {
  html:lang(en) .nav { display: flex; gap: clamp(14px, 1.35vw, 20px); }
  html:lang(en) .menu-btn, html:lang(en) .mobile-nav { display: none; }
  html:lang(en) .site-header__portal { display: block; }
}
@media (min-width: 1340px) {
  .nav { display: flex; gap: clamp(14px, 1.35vw, 20px); }
  .menu-btn, .mobile-nav { display: none; }
  .site-header__portal { display: block; }
}

/* ---------- hero: the sun coming up over the hills, photographed, in depth ---------- */

/* --zone is the open strip under the words where the picture shows best: the sun, the ridge, the hills */
/* the words on the photograph: sage for the small line, a warm near-charcoal for the headline, bronze for the
   words picked out (it answers the sun in the logo and in the picture), a dark slate for the sentence under it */
.hero { --hero-tag: #3a5a46; --hero-title: #1e2621; --hero-accent: #7a5230; --hero-lead: #2b332e; --hero-cta: #4a3424; --hero-cta-deep: #3c291b; --hero-cta-ink: #faf8f5; --zone: clamp(300px, 88vw, 420px); position: relative; overflow: clip; background: linear-gradient(to bottom, #fbf7f0 0%, #f3f1ef 52%, #f4e7d6 100%); }
.hero__in { position: relative; z-index: 3; padding-block: calc(clamp(52px, 12vw, 96px) + var(--header-h)) var(--zone); }
.hero__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; --ds: 0.4; }
/* day breaking: the picture opens a shade dimmer and the light comes up (see "daybreak" below) */
.hero__scene::before { content: ""; position: absolute; inset: 0; z-index: 4; background: linear-gradient(to bottom, rgba(96, 88, 96, 0.3), rgba(84, 60, 44, 0.42)); opacity: 0; pointer-events: none; }
/* a breath of paper colour behind the words, and the picture dissolving into the page at the bottom */
.hero__scene::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(253, 250, 244, 0.42) 0%, rgba(253, 250, 244, 0.2) 48%, rgba(253, 250, 244, 0) 64%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 2; height: 96px; background: linear-gradient(to bottom, rgba(253, 251, 246, 0), var(--paper)); pointer-events: none; }

/* Without container units the photograph simply covers the hero. */
.scene__frame { position: absolute; inset: -6% -5% -3%; }
.scene__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 40% 50%; }
@supports (width: 1cqw) {
  /* The sun is pinned to a spot in the hero (--px across, --py down). The photograph is --w wide and is placed
     around that spot; --sx and --sy say where the sun is in the photograph. Nothing is painted over the sun.
     On a phone the photograph sits under the words and its upper sky dissolves into the hero's own pale sky. */
  .scene__frame { --w: max(200cqw, 740px); --sx: 0.497; --sy: 0.505; --px: 0.6; --py: 0.78; --topfade: 42%; inset: auto; width: var(--w); aspect-ratio: 3840 / 2157; left: calc(100cqw * var(--px) - var(--w) * var(--sx)); top: calc(100cqh * var(--py) - var(--w) * 0.5617 * var(--sy)); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--topfade)); mask-image: linear-gradient(to bottom, transparent 0, #000 var(--topfade)); }
}

/* --mx and --my follow the pointer, --sy follows the scroll. The script sets them; the sheets differ in depth. */
.scene-layer { position: absolute; inset: 0; translate: calc(var(--mx, 0) * var(--depth, 0) * -1px) calc(var(--my, 0) * var(--depth, 0) * -0.6px + var(--sy, 0) * var(--drift, 0) * var(--ds, 1) * 1px); will-change: translate; }
.scene-layer--sky { --depth: 4; --drift: 0.14; }


.petals { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
/* a pool of warm light that follows the pointer across the picture */
.hero__light { position: absolute; inset: 0; z-index: 2; background: radial-gradient(520px circle at calc(var(--lx, 70) * 1%) calc(var(--ly, 45) * 1%), rgba(255, 247, 219, 0.7), rgba(255, 247, 219, 0) 70%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.8s; pointer-events: none; }
.hero__scene.is-lit .hero__light { opacity: 1; }

/* the words sit on a photograph of sky and cloud: a faint halo of paper colour keeps every letter clear */
.hero__in { text-shadow: 0 0 22px rgba(253, 250, 244, 0.75), 0 0 3px rgba(253, 250, 244, 0.5); }
/* The one button of the first screen: a solid block in the coffee brown of the headline's second line, with the
   small corner radius of the button in the header and plain sans lettering in a warm white. No arrow and no
   glass: on the pale sky it is the one dark, quiet thing a visitor can press. */
.hero__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 72px; padding: 0 40px; border: 1px solid var(--hero-cta); border-radius: 8px; background: var(--hero-cta); color: var(--hero-cta-ink); font-family: var(--text); font-size: 1.32rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; text-shadow: none; box-shadow: 0 18px 32px -18px rgba(74, 52, 36, 0.72); transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, translate 0.2s; }
html:lang(ko) .hero__cta { font-size: 1.38rem; letter-spacing: -0.02em; }
.hero__cta:hover { translate: 0 -1px; border-color: var(--hero-cta-deep); background: var(--hero-cta-deep); box-shadow: 0 22px 36px -18px rgba(74, 52, 36, 0.8); }
.hero__cta:active { translate: 0 0; }
.hero__cta:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }
/* The label now names the free 15-minute consultation, so it is longer. On a phone it is set a step smaller,
   and where it still runs to two lines they are centred and even. The English label is the longer one, so
   it steps down sooner (below about 500px it would otherwise break with one word left over). */
@media (max-width: 540px) {
  html:lang(en) .hero__cta { min-height: 64px; padding: 10px 24px; font-size: 1.18rem; text-align: center; text-wrap: balance; }
}
@media (max-width: 420px) {
  .hero__cta, html:lang(ko) .hero__cta { min-height: 64px; padding: 10px 24px; font-size: 1.18rem; text-align: center; text-wrap: balance; }
}
.hero__title { max-width: 11.5em; font-size: clamp(2.6rem, 4vw + 1.1rem, 4.5rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.022em; color: var(--hero-title); text-shadow: 0 2px 16px rgba(255, 255, 255, 0.7); }
html:lang(ko) .hero__title { max-width: 13em; font-size: clamp(2.05rem, 4vw + 1rem, 4.3rem); line-height: 1.3; letter-spacing: -0.03em; }
.hero__title strong { font-weight: inherit; color: var(--hero-accent); }
/* in English the words picked out are also set in italic, like the name in the logo */
html:lang(en) .hero__title strong { font-style: italic; }
/* the English headline is two lines of about twenty-four letters each: it needs a little more width to keep them whole,
   and its lines stand a little further apart than the default so the italic second line has air */
html:lang(en) .hero__title { max-width: 13.4em; line-height: 1.16; }
.hero__line { display: block; }
.hero__line--accent { font-style: italic; color: var(--hero-accent); }
html:lang(ko) .hero__line--accent { font-style: normal; }
.hero__lead { max-width: 30em; margin-top: clamp(20px, 2.4vw, 30px); font-size: clamp(1.16rem, 0.5vw + 1.05rem, 1.36rem); font-weight: 450; line-height: 1.65; color: var(--hero-lead); text-shadow: 0 1px 10px rgba(255, 255, 255, 0.75); }
/* the Korean sentence is set in two long lines on a wide screen, so it is allowed to run wider */
/* It is set in the same myeongjo as the headline (Gowun Batang), so the two read as one voice; the
   face is lighter than the sans it replaces, so it runs a size larger. Only the regular weight exists. */
html:lang(ko) .hero__lead { max-width: 46em; font-family: var(--display); font-size: clamp(1.1rem, 0.45vw + 1.02rem, 1.26rem); font-weight: 400; font-synthesis: none; line-height: 1.75; letter-spacing: -0.012em; color: #232b26; }
/* the English sentence is set in the sans of the text: smaller than the serif it replaces, the letters as tall */
html:lang(en) .hero__lead { max-width: 33em; font-size: clamp(1.06rem, 0.4vw + 0.98rem, 1.2rem); line-height: 1.62; }
/* Words the lead picks out (**like this** in the content files) are set heavier. The Korean myeongjo is bundled in
   one weight only, so the browser thickens it for these words; the English sans has real heavier weights. */
.hero__lead strong { font-weight: 700; }
html:lang(ko) .hero__lead strong { font-synthesis: weight; }
html:lang(en) .hero__lead strong { font-weight: 650; }
/* Each sentence of the lead is a span. On a narrow screen they run on as one paragraph. On a wide one each starts
   on a line of its own and its rows are evened out, so no row ends on a stray word or in the middle of a pair. */
@media (min-width: 1100px) {
  .hero__lead-line { display: block; text-wrap: balance; }
  /* where there is room, the words picked out stay together on one row */
  .hero__lead strong { white-space: nowrap; }
  /* the English sentences are long: set one under the other they may run as wide as the Korean ones do */
  html:lang(en) .hero__lead { max-width: 48em; }
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: clamp(28px, 3vw, 42px); }
@media (min-width: 860px) {
  .hero { --zone: clamp(230px, 24vw, 360px); }
  .hero__in { padding-top: calc(clamp(72px, 6.4vw, 112px) + var(--header-h)); }
  .hero__scene { --ds: 1; }
  /* a little more paper colour behind the words. It stops short of the sun and fades out before the hills. */
  .hero__scene::after { background: linear-gradient(to right, rgba(253, 250, 244, 0.7) 0%, rgba(253, 250, 244, 0.5) 30%, rgba(253, 250, 244, 0.16) 50%, rgba(253, 250, 244, 0) 62%); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 86%); mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 86%); }
  .hero::after { height: 110px; }
  /* from here the photograph covers the whole hero: wide enough to set the sun to the right, tall enough to reach the top */
  .scene__frame { --w: max(156cqw, 220cqh); --px: 0.76; --py: 0.585; --topfade: 0%; }
}
@media (min-width: 1200px) {
  .scene__frame { --w: max(134cqw, 220cqh); --px: 0.64; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scene::before { animation: daybreak 3.4s cubic-bezier(0.3, 0.5, 0.3, 1) both; }
  .scene__frame { transform-origin: 49.7% 49%; animation: sun-up 7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__line { animation: line-in 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
  .hero__line:nth-child(1) { animation-delay: 0.08s; }
  .hero__line:nth-child(2) { animation-delay: 0.2s; }
  .hero__lead { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.34s both; }
  .hero__actions { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.44s both; }
  .facts { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }
}
/* the sun comes up: the light rises and the picture settles toward the sun */
@keyframes daybreak { from { opacity: 1; } to { opacity: 0; } }
@keyframes sun-up { from { transform: scale(1.06) translateY(1.4%); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes line-in { from { opacity: 0; translate: 0 36px; filter: blur(7px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* The three facts sit on a sheet of frosted glass that overlaps the hills. */
.facts-band { position: relative; z-index: 3; margin-top: -52px; padding-bottom: clamp(8px, 2vw, 24px); }
.facts { display: grid; padding: 6px clamp(22px, 4vw, 36px); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 18px; background: rgba(255, 254, 250, 0.9); box-shadow: 0 34px 70px -42px rgba(63, 90, 71, 0.7), 0 1px 0 rgba(255, 255, 255, 0.9) inset; }
@supports (backdrop-filter: blur(10px)) {
  .facts { background: rgba(255, 254, 250, 0.62); backdrop-filter: blur(18px) saturate(1.25); }
}
.facts__item { padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.facts__icon { display: block; width: 28px; height: 28px; margin-bottom: 12px; color: var(--sun-deep); }
.facts__item:last-child { border-bottom: 0; }
.facts dt { font-family: var(--display); font-size: 1.45rem; line-height: 1.25; color: var(--moss); }
html:lang(ko) .facts dt { font-size: 1.25rem; }
.facts dd { margin-top: 6px; font-size: 0.92em; color: var(--muted); }
@media (min-width: 860px) {
  .facts-band { margin-top: -104px; }
  .facts { grid-template-columns: repeat(3, 1fr); padding: 8px 14px; }
  .facts__item { padding: 36px 34px 40px; border-bottom: 0; border-left: 1px solid var(--line); }
  .facts__icon { width: 30px; height: 30px; margin-bottom: 14px; }
  .facts__item:first-child { border-left: 0; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--warm { background: var(--paper-warm); }
.section--sage { background: var(--paper-sage); }
.section__title { max-width: 16em; font-size: clamp(1.95rem, 2.2vw + 1.15rem, 3.1rem); }
html:lang(ko) .section__title { font-size: clamp(1.7rem, 1.8vw + 1.05rem, 2.6rem); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__lead { max-width: 34em; margin-top: 16px; color: var(--muted); }
.section__note { max-width: 44em; margin-top: 12px; font-size: 0.9em; color: var(--muted); }
.section__note--top { margin-top: 0; }

/* the first section after the summary card starts further down, so the first screen can breathe */
.voices { padding-top: calc(var(--section) * 1.6); }

/* The section ends on a real sea: a short film of small waves coming in under a pale morning sky, the whole
   width of the page. The water lies below the cards, so nothing moves behind the words; the sky above the
   horizon thins into the page. Until the film plays, and instead of it when a visitor asks for less motion,
   its first frame is shown. --sea is how deep the water stands below the horizon. */
.voices { --sea: max(21.43vw, 222px); position: relative; overflow: clip; padding-bottom: calc(var(--sea) + 48px); }
.voices > .wrap { position: relative; z-index: 1; }
/* the film is 915 rows tall with its horizon on row 525: 390 rows of water, so the box is 915/390 times as tall as the water */
.voices__sea { position: absolute; inset: auto 0 0 0; height: calc(var(--sea) * 2.3462); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 54%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 54%); pointer-events: none; }
.voices__sea-img, .voices__sea-film { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; }
.voices__sea-film { opacity: 0; transition: opacity 1.2s; }
.voices__sea.is-live .voices__sea-film { opacity: 1; }
/* at its foot the water dissolves into the colour of the next section */
.voices__sea::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(246, 241, 230, 0) 70%, rgba(246, 241, 230, 0.6) 90%, var(--paper-warm) 100%); }

/* the guides: paper cards in two columns, each opening where it stands */
.topics { display: grid; gap: 18px; align-items: start; margin-top: clamp(32px, 4vw, 52px); }
.topics__col { display: grid; gap: 18px; align-content: start; }
.topic { border: 1px solid var(--line); border-radius: 16px; background: #fffefa; box-shadow: 0 28px 56px -38px rgba(63, 90, 71, 0.75), 0 1px 0 #fff inset; transition: box-shadow 0.4s; }
.topic:hover, .topic[open] { box-shadow: 0 40px 70px -42px rgba(63, 90, 71, 0.85), 0 1px 0 #fff inset; }
.topic > .fold__sum { padding: 22px 24px 22px 28px; }
.topic > .fold__sum > .fold__icon { grid-row: 1 / span 2; }
.topic__title { font-size: clamp(1.3rem, 0.7vw + 1.12rem, 1.6rem); line-height: 1.25; }
html:lang(ko) .topic__title { font-size: clamp(1.16rem, 0.5vw + 1.04rem, 1.36rem); line-height: 1.45; }
.fold__sum:hover .topic__title { color: var(--moss); }
.clause { display: inline-block; max-width: 100%; }
.topic__lead { margin-top: 4px; font-size: 0.92em; color: var(--muted); }
.topic > .fold__body { display: grid; gap: 12px; padding: 2px 28px 28px; font-size: 0.97em; color: var(--muted); }
.topic__src { font-size: 0.88em; }
.topic__src a { color: var(--moss); }
.topics__note { margin-top: 26px; }
@media (min-width: 860px) {
  .topics { grid-template-columns: 1fr 1fr; gap: 22px 34px; }
  .topics__col { gap: 22px; }
}

/* services */
.services { display: grid; gap: 36px; }
.services__more { position: relative; z-index: 1; margin-top: 22px; }
/* the room: a photograph that lifts toward the pointer, like the portrait */
/* The room is the backdrop of this section, not a picture of its own: the photograph is let through only
   faintly, and nowhere strongly enough to trouble the words. On a wide screen it shows most low on the left,
   where nothing is written, and less under the list; on a phone it stands behind the introduction and is gone
   before the list begins. It dissolves into the paper at the top and bottom. The grey text of the section is
   set a shade darker, so it reads as easily as on plain paper. Where words stand straight on the photograph (the
   introduction, which also travels down the left column as the page moves) it is let through by no more than 16
   in 100: even over a black spot the grey text and the green link keep a contrast of 4.5 to 1. Under the list it
   may show more (28 in 100), because every service stands on a pane of paper colour of its own. */
.services-sec { position: relative; overflow: clip; --muted: #4a554d; }
.services-sec > .wrap { position: relative; z-index: 1; }
.services__bg { position: absolute; inset: 0 0 auto; z-index: 0; height: min(100%, 620px); opacity: 0.16; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 50%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 50%, transparent 100%); pointer-events: none; }
.services__bg-in { position: absolute; inset: 0; overflow: hidden; }
.services__bg img { position: absolute; top: 0; left: 50%; width: auto; max-width: none; height: 100%; translate: -42% 0; }
.services__grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
/* A service is a pane of paper colour, so its words never depend on what the photograph shows behind them.
   The whole pane answers the pointer: it clears, lifts a little, and the round sign fills (see .fold__icon). */
.svc-card { position: relative; border: 1px solid rgba(188, 192, 176, 0.6); border-radius: 12px; background: rgba(255, 253, 249, 0.65); transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease; }
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .svc-card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
.svc-card:focus-within, .svc-card[open] { border-color: var(--line-strong); background: rgba(255, 253, 249, 0.94); box-shadow: 0 26px 50px -36px rgba(63, 90, 71, 0.7); }
.svc-card__name { font-size: clamp(1.5rem, 1vw + 1.2rem, 1.85rem); }
html:lang(ko) .svc-card__name { font-size: clamp(1.3rem, 0.8vw + 1.1rem, 1.55rem); }
.svc-card__text { max-width: 34em; margin-top: 10px; color: var(--muted); text-wrap: pretty; }
html:lang(ko) .svc-card__text { line-height: 1.72; }
/* a condition of a service (who it is for): a small badge, dark bronze on warm beige (6.4 to 1). Fees are not
   repeated on the cards; they stand once in the fees section, after the insurance plans. */
.svc-card__meta { justify-self: start; display: inline-flex; align-items: center; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: #f3e8d2; font-size: 0.84em; font-weight: 600; line-height: 1.5; color: #6f4c14; }
.svc-card > .fold__sum { align-items: start; padding: 22px 22px 22px 24px; }
.svc-card > .fold__sum > .fold__icon { margin-top: 2px; }
.fold__sum:hover .svc-card__name { color: var(--moss); }
.svc-card > .fold__body { padding: 0 24px 24px; }
.svc-card__fee { font-size: 0.92em; font-weight: 500; color: var(--sun-deep); }
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  /* Two cards that share a row end on the same line while every card is closed, even when one has a badge or a
     longer name and the other has not. Once a card is opened the others go back to their own height, so a
     closed card is never stretched beside an open one. (Where :has() is not known, they keep their own height.) */
  .services__grid:not(:has(.svc-card[open])) > li { display: grid; }
  /* An odd service left over at the end is not left alone in a corner: it lies across both columns, name on
     the left, description on the right. (The four before it say who the therapy is for; it says how.) */
  .services__grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .services__grid > li:last-child:nth-child(odd) .fold__sum { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) auto; column-gap: 28px; }
  .services__grid > li:last-child:nth-child(odd) .svc-card__text { grid-column: 2; grid-row: 1 / span 2; margin-top: 2px; }
  .services__grid > li:last-child:nth-child(odd) .fold__icon { grid-column: 3; }
}
@media (min-width: 1000px) {
  .services { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; align-items: start; }
  .services__intro { position: sticky; top: 120px; }
  .services__bg { inset: 0; height: auto; opacity: 0.28; -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.3) 14%, #000 46%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.3) 14%, #000 46%, #000 78%, transparent 100%); }
  .services__bg-in { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.57) 0, rgba(0, 0, 0, 0.57) 39.5%, #000 48%, #000 100%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.57) 0, rgba(0, 0, 0, 0.57) 39.5%, #000 48%, #000 100%); }
  .services__bg img { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; translate: none; }
}

/* steps, over a lake at sunrise */
.steps-sec { position: relative; overflow: clip; background: #f4e4cf; }
/* the picture starts below the top of the section and fades in, so the heading stands against open sky
   and the trees and their reflection come in beneath it */
.steps-sec { padding-bottom: clamp(150px, 42vw, 230px); }
.steps-sec::before { content: ""; position: absolute; inset: 110px 0 -12% 0; background: url(img/lake-2000.webp?v=4373cc9ebc) center 30% / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 120px); mask-image: linear-gradient(to bottom, transparent, #000 120px); translate: 0 calc(var(--p, 0) * -40px); }
.steps-sec::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--paper-warm) 0%, rgba(246, 241, 230, 0.8) 20%, rgba(250, 245, 236, 0.3) 44%, rgba(253, 251, 246, 0.06) 62%, rgba(253, 251, 246, 0.28) 86%, var(--paper) 100%); }
@media (min-width: 1000px) {
  .steps-sec { padding-bottom: var(--section); }
}
.steps-sec__in { position: relative; z-index: 1; display: grid; gap: 36px; }
/* the three steps rest on frosted glass, so they read the same over sky, trees or water */
.steps { display: grid; margin: 0; padding: 4px clamp(18px, 3vw, 34px); list-style: none; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 18px; background: rgba(255, 254, 250, 0.9); box-shadow: 0 34px 70px -44px rgba(63, 90, 71, 0.7), 0 1px 0 rgba(255, 255, 255, 0.9) inset; }
@supports (backdrop-filter: blur(10px)) {
  .steps { background: rgba(255, 254, 250, 0.78); backdrop-filter: blur(16px) saturate(1.2); }
}
.step { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 8px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__n { font-family: var(--latin); font-style: italic; font-size: 1.7rem; line-height: 1.2; color: var(--sun-deep); }
.step__body { display: grid; gap: 8px; }
.step__t { font-size: clamp(1.45rem, 0.8vw + 1.2rem, 1.75rem); }
html:lang(ko) .step__t { font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.45rem); }
.step p { color: var(--muted); }
@media (min-width: 1000px) {
  .steps-sec__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start; }
}

/* The clinicians: the portrait and the panel behind it sit at different depths and tilt with the pointer */
.team { position: relative; overflow: clip; }
.team__in { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
.team__photo, .about__photo { position: relative; max-width: 400px; transform-style: preserve-3d; }
.team__photo::before, .about__photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 10px; background: var(--sage-pale); transform: translateZ(-46px); }
.team__photo img, .about__photo img { position: relative; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 34px 60px -36px rgba(63, 90, 71, 0.8); }
.team__photo::after, .about__photo::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: radial-gradient(circle at calc(var(--gx, 50) * 1%) calc(var(--gy, 50) * 1%), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 55%); opacity: 0; transform: translateZ(1px); transition: opacity 0.35s; pointer-events: none; }
.team__photo:hover::after, .about__photo:hover::after { opacity: 1; }
.team__body { display: grid; gap: 16px; max-width: 36em; }
.team__role { margin-top: -8px; font-weight: 500; color: var(--sun-deep); }
.team__approach { padding-top: 16px; border-top: 1px solid var(--line-strong); font-size: 0.92em; color: var(--muted); }
.team__approach-label { font-weight: 600; color: var(--ink); }
.team__body .link { justify-self: start; }
/* the second clinician stands under the first, the other way round: words on the left, portrait on the right
   (on a phone the portrait comes first, as it does above). The pale card behind the portrait leans the other way too. */
.team__in--flip { margin-top: clamp(72px, 9vw, 128px); }
.team__in--flip .team__photo::before { inset: 22px 22px -18px -18px; }
/* the second heading can be longer (more letters after the name, and a title before it when one is set): it may use
   the whole column, so that it stays on one line where there is room; the paragraphs keep their measure */
.team__in--flip .team__body { max-width: none; }
.team__in--flip .team__body > :not(h2) { max-width: 36em; }
/* The clinicians' names are pictures, not text (tools/prepare-names.py), so that a search does not find them.
   Each picture holds the name alone, drawn in the heading's own face, size, spacing and colour, and stands in the
   heading like a word. The numbers, printed by the tool, put its letters on the baseline of the text beside it
   without making the line taller. */
.name-img { display: inline-block; width: auto; max-width: 100%; vertical-align: baseline; object-fit: contain; object-position: 0 50%; }
/* the comma after a name stays on the line of the name */
.name-wrap, .cred { white-space: nowrap; }
html:lang(en) .name-img { height: 1.5em; margin: -0.285em 0 -0.515em; }
html:lang(ko) .name-img { height: 1.78em; margin: -0.625em 0 -0.455em; }
@media (min-width: 860px) {
  .team__in { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 88px; }
  .team__in--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .team__in--flip .team__photo { order: 2; justify-self: end; }
}

/* fees */
.fees { display: grid; gap: 40px; }
.price { border-top: 1px solid var(--line-strong); }
.price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price__row::before { content: ""; order: 2; flex: 1; min-width: 24px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-0.3em); }
.price__name { order: 1; font-weight: 500; }
.price__amount { order: 3; font-family: var(--latin); font-size: 1.4rem; color: var(--moss); }
.price__note { order: 4; flex-basis: 100%; margin-top: 2px; font-size: 0.86em; color: var(--muted); }
.plans__h { margin-bottom: 10px; font-family: var(--text); font-size: 0.92em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plans__list { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-family: var(--latin); font-size: 1.28rem; }
.plans__note { margin-top: 10px; font-size: 0.9em; color: var(--muted); }
.fees__intro .link { display: inline-block; margin-top: 18px; }
@media (min-width: 1000px) {
  /* the insurance plans come first, the fees for when insurance does not apply after them */
  .fees { grid-template-columns: minmax(0, 4fr) minmax(0, 3.6fr) minmax(0, 4.4fr); column-gap: 60px; }
}

/* starting-point guide */
.guide__in { display: grid; gap: 18px; }
.guide__intro .section__lead { max-width: 40em; }
.guide__form { display: grid; gap: 26px; }
.guide__q { min-width: 0; margin: 0; padding: 0; border: 0; }
.guide__q legend { margin-bottom: 12px; padding: 0; font-family: var(--display); font-size: 1.32rem; }
html:lang(ko) .guide__q legend { font-size: 1.16rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); font-size: 0.95em; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.chip:hover span { border-color: var(--moss); }
.chip input:checked + span { background: var(--moss); border-color: var(--moss); color: #fff; }
.chip input:focus-visible + span { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(63, 90, 71, 0.24); }
.guide__result { display: grid; gap: 12px; padding: 28px clamp(20px, 3vw, 34px); border-radius: 10px; background: var(--paper); border-left: 4px solid var(--sun); }
.guide__result-title { font-size: 1.6rem; color: var(--moss); }
html:lang(ko) .guide__result-title { font-size: 1.35rem; }
.guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 8px; }

/* questions */
/* ---------- folds: parts of the page that open with one click ---------- */
.fold__sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; list-style: none; cursor: pointer; }
.fold__sum::-webkit-details-marker { display: none; }
.fold__sum > * { grid-column: 1; }
.fold__sum > .fold__icon { grid-column: 2; grid-row: 1; }
.fold__icon { position: relative; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--moss); border-radius: 50%; transition: background-color 0.25s ease, border-color 0.25s ease, scale 0.25s ease; }
.fold__icon::before, .fold__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--moss); transform: translate(-50%, -50%); transition: transform 0.2s, background-color 0.25s ease; }
.fold__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.fold[open] > .fold__sum .fold__icon { background: var(--sun-pale); }
.fold[open] > .fold__sum .fold__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.fold__body { overflow: hidden; }
.fold__body h4 { margin: 6px 0 0; font-family: var(--text); font-size: 0.95em; font-weight: 600; letter-spacing: 0; color: var(--ink); }
/* "read more": a quiet line of text with a small plus; it reads "close" while it is open */
.fold--more > .fold__sum { display: inline-flex; gap: 12px; padding: 8px 0; font-weight: 500; color: var(--moss); }
.fold--more > .fold__sum .fold__open, .fold--more > .fold__sum .fold__shut { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.fold--more > .fold__sum:hover .fold__open, .fold--more > .fold__sum:hover .fold__shut { text-decoration-color: var(--moss); }
.fold--more > .fold__sum .fold__icon { width: 24px; height: 24px; }
.fold--more > .fold__sum .fold__icon::before, .fold--more > .fold__sum .fold__icon::after { width: 10px; }
.fold__shut, .fold[open] > .fold__sum .fold__open { display: none; }
.fold[open] > .fold__sum .fold__shut { display: inline; }
.fold--more > .fold__body { padding-top: 14px; }
.guide__fold > .fold__body { display: grid; gap: 30px; padding-top: 22px; }
.faq-teaser__more { margin-top: 18px; }
.faq-teaser__more > .fold__body { margin-top: 12px; padding-top: 0; }

.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.faq__sum { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; }
.faq__sum::-webkit-details-marker { display: none; }
.faq__q { font-size: clamp(1.25rem, 0.5vw + 1.12rem, 1.45rem); line-height: 1.3; }
html:lang(ko) .faq__q { font-size: clamp(1.1rem, 0.4vw + 1.02rem, 1.25rem); line-height: 1.5; }
.faq__sum:hover .faq__q { color: var(--moss); }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--moss); border-radius: 50%; transition: background-color 0.25s ease, border-color 0.25s ease, scale 0.25s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--moss); transform: translate(-50%, -50%); transition: transform 0.2s, background-color 0.25s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--sun-pale); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-width: 44em; padding: 0 48px 26px 0; color: var(--muted); }

/* Everything that opens says so when the pointer is over any part of its heading, not only over the sign: the
   round sign fills with the green of the buttons, its cross turns white and it grows a little. Only where there
   is a pointer that can hover, so a touch does not leave the sign filled. */
@media (hover: hover) {
  .fold__sum:hover .fold__icon, .fold[open] > .fold__sum:hover .fold__icon, .faq__sum:hover .faq__icon, .faq__item[open] .faq__sum:hover .faq__icon { border-color: var(--moss); background: var(--moss); scale: 1.08; }
  .fold__sum:hover .fold__icon::before, .fold__sum:hover .fold__icon::after, .faq__sum:hover .faq__icon::before, .faq__sum:hover .faq__icon::after { background: #fff; }
  .svc-card:hover { border-color: var(--line-strong); background: rgba(255, 253, 249, 0.94); box-shadow: 0 26px 50px -36px rgba(63, 90, 71, 0.7); translate: 0 -2px; }
}
.fold__sum:focus-visible .fold__icon, .faq__sum:focus-visible .faq__icon { border-color: var(--moss); background: var(--moss); }
.fold__sum:focus-visible .fold__icon::before, .fold__sum:focus-visible .fold__icon::after, .faq__sum:focus-visible .faq__icon::before, .faq__sum:focus-visible .faq__icon::after { background: #fff; }
.faq-teaser .section__head { display: grid; gap: 0; justify-items: start; }
.faq-teaser .section__head .link { margin-top: 18px; }
@media (min-width: 1000px) {
  .faq-teaser { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; align-items: start; }
  .faq-teaser .section__head { margin-bottom: 0; }
  .faq-teaser .section__head .link { margin-top: 20px; }
}

/* contact band: the sun over misty mountains. The photograph fades in from the page above; on wide screens the
   sun stands in the open space above the two columns, on phones a slice without the sun is used. */
.band { position: relative; overflow: clip; padding-block: clamp(64px, 8vw, 112px); background: linear-gradient(to bottom, var(--paper) 0, #faf0e0 96px); }
.band::before { content: ""; position: absolute; inset: 0; background: url(img/hills-side-1100.webp?v=4373cc9ebc) 70% 100% / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, transparent 8.4%, #000 calc(8.4% + 120px)); mask-image: linear-gradient(to bottom, transparent 8.4%, #000 calc(8.4% + 120px)); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(253, 251, 246, 0.42) 0%, rgba(253, 251, 246, 0.3) 46%, rgba(253, 251, 246, 0.14) 100%); }
.band__in { position: relative; z-index: 1; display: grid; gap: 40px; }
.band__title { font-size: clamp(2.2rem, 3vw + 1.1rem, 3.6rem); }
html:lang(ko) .band__title { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); }
.band__lead { max-width: 28em; margin: 14px 0 28px; color: var(--muted); }
.band__list { border-top: 1px solid var(--line-strong); }
.band__row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.band__row dt { padding-top: 0.2em; font-size: 0.86em; color: var(--muted); }
.band__row a { color: var(--moss); }
.band__phone { font-family: var(--latin); font-size: 1.9rem; line-height: 1.2; text-decoration: none; }
/* The two ways to start, under the lead: the booking button with a line about it, then the quieter text-message
   button with its caution. The second button is solid paper with a green edge, so it reads as the second choice
   and stays clear on the photograph. */
.band__cta { display: grid; gap: 10px; justify-items: start; }
.band__cta + .band__cta { margin-top: 26px; }
.band__cta .btn--ghost { background: var(--paper); }
.band__cta .btn--ghost:hover { background: var(--sage-pale); }
.band__note { max-width: 34em; font-size: 0.88em; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
@media (min-width: 720px) {
  .band__row { grid-template-columns: 6em minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .band::before { background: url(img/hills-3000.webp?v=4373cc9ebc) 47.8% 84% / auto 150% no-repeat; }
  .band::after { background: linear-gradient(to bottom, rgba(253, 251, 246, 0.14) 0%, rgba(253, 251, 246, 0.26) 30%, rgba(253, 251, 246, 0.14) 100%); }
  .band__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 88px; align-items: start; }
  .band__list { margin-top: 88px; } /* room for the branch that hangs in above it */
}

.site-footer { padding-block: 56px 28px; background: var(--paper-warm); color: var(--muted); border-top: 1px solid var(--line); font-size: 0.92em; }
.site-footer a { color: var(--ink); text-decoration-color: var(--line-strong); }
.site-footer a:hover { color: var(--moss); text-decoration-color: var(--moss); }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__brand { display: grid; gap: 14px; max-width: 28em; justify-items: start; }
.site-footer__crisis { margin-top: 18px; font-size: 0.84em; }
.site-footer__h { margin-bottom: 12px; font-family: var(--text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun-deep); }
html:lang(ko) .site-footer__h { font-size: 0.84rem; letter-spacing: 0.06em; }
.site-footer__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9em; }
@media (min-width: 860px) {
  .site-footer__grid { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); column-gap: 48px; }
}

/* ---------- inner pages ---------- */

/* the same sunrise, drawn in close: the sun sits on the ridge to the right of the title */
.page-head { position: relative; overflow: clip; background: #ece7e2; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; background: url(img/dawn-1600.webp?v=4373cc9ebc) 32% 52% / max(140%, 1000px) auto no-repeat; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(252, 247, 240, 0.9) 0%, rgba(252, 247, 240, 0.62) 46%, rgba(252, 247, 240, 0.12) 100%); }
.page-head__in { position: relative; z-index: 1; padding-block: calc(clamp(56px, 8vw, 116px) + var(--header-h)) clamp(48px, 6vw, 88px); }
.page-head__title { max-width: 13em; font-size: clamp(2.4rem, 3.8vw + 1.1rem, 4.4rem); line-height: 1.05; letter-spacing: -0.02em; }
html:lang(ko) .page-head__title { font-size: clamp(2rem, 3vw + 1rem, 3.5rem); line-height: 1.32; }
.page-head__lead { max-width: 33em; margin-top: 18px; font-size: clamp(1.14rem, 0.4vw + 1.05rem, 1.3rem); color: var(--muted); }
html:lang(ko) .page-head__lead { font-size: clamp(1.03rem, 0.3vw + 0.98rem, 1.14rem); }
.page-head__lead a { font-weight: 500; color: var(--moss); }
.page-head--solo { min-height: 56vh; border-bottom: 0; }

.prose { display: grid; gap: 16px; align-content: start; max-width: 42em; }
.prose--wide { max-width: 50em; }
.prose h2 { margin-top: 8px; font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.3rem); }
html:lang(ko) .prose h2 { font-size: clamp(1.45rem, 1.2vw + 1.05rem, 1.95rem); }
.prose h3 { margin-top: 10px; font-family: var(--text); font-size: 1em; font-weight: 600; letter-spacing: 0; }
.prose a { color: var(--moss); text-decoration-color: var(--sun-deep); }
.prose .section__title { margin-top: 0; }

.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }

.notice-box { display: grid; gap: 10px; padding: 20px 22px; border-radius: 0 10px 10px 0; background: var(--paper-warm); border-left: 4px solid var(--sun); font-size: 0.94em; }
.section--warm .notice-box { background: var(--paper); }
.notice-box--crisis { margin-top: 28px; }
.notice-box a { color: var(--moss); }

.deflist { border-top: 1px solid var(--line-strong); }
.deflist__row { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deflist dt { padding-top: 0.15em; font-size: 0.88em; color: var(--muted); }
.deflist a { color: var(--moss); }
.hours { display: grid; gap: 4px; margin-bottom: 6px; }
.hours__row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
html:lang(ko) .hours__row { grid-template-columns: 3.5em minmax(0, 1fr); }

/* services page */
.svc { padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.svc__in { display: grid; gap: 22px; }
.svc__title { font-size: clamp(1.95rem, 2vw + 1.2rem, 2.8rem); }
html:lang(ko) .svc__title { font-size: clamp(1.65rem, 1.6vw + 1.1rem, 2.3rem); }
.svc__fee { margin-top: 10px; font-weight: 500; color: var(--sun-deep); }
@media (min-width: 1000px) {
  .svc__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; }
}

/* about page */
.about__in { display: grid; gap: 40px; align-items: start; }
.about__photo { max-width: 420px; }
.about__grid { display: grid; gap: 28px; }
.approach { border-top: 1px solid var(--line-strong); }
.approach__row { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.approach dt { font-family: var(--display); font-size: 1.4rem; line-height: 1.3; color: var(--moss); }
html:lang(ko) .approach dt { font-size: 1.2rem; }
.approach dd { color: var(--muted); }
.approach__also { color: var(--muted); }
.approach a { color: var(--moss); }
@media (min-width: 860px) {
  .about__in { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 88px; }
}
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; }
  .approach__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 32px; align-items: baseline; }
}

/* fees page */
.fees-page { display: grid; gap: 56px; }
.fees-page__col { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) {
  .fees-page { grid-template-columns: 1fr 1fr; column-gap: 96px; }
}

/* resources page */
.guides { display: grid; margin-top: 28px; border-top: 1px solid var(--line-strong); }
.guide-card { display: grid; gap: 12px; align-content: start; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.guide-card__title { font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.25rem); }
html:lang(ko) .guide-card__title { font-size: clamp(1.45rem, 1.2vw + 1.05rem, 1.9rem); }
.guide-card__lead { font-family: var(--display); font-style: italic; font-size: 1.24rem; color: var(--sun-deep); }
html:lang(ko) .guide-card__lead { font-style: normal; font-size: 1.1rem; }
.guide-card h3 { margin-top: 8px; font-family: var(--text); font-size: 0.92em; font-weight: 600; letter-spacing: 0; }
.guide-card p, .guide-card li { color: var(--muted); }
.guide-card p.guide-card__lead { color: var(--sun-deep); }
.guide-card__src { margin-top: 6px; font-size: 0.86em; }
.guide-card a { color: var(--moss); }
@media (min-width: 1000px) {
  .guides { grid-template-columns: 1fr 1fr; column-gap: 80px; }
}

/* contact page */
.contact { display: grid; gap: 56px; }
.contact__info { display: grid; gap: 24px; align-content: start; }
.contact__phone { font-family: var(--latin); font-size: 2rem; line-height: 1.2; text-decoration: none; }
@media (min-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start; }
}

/* the notices the law asks for: one fold at the foot of the page, in the footer's colour */
.notices { padding-block: 26px; background: var(--paper-warm); border-top: 1px solid var(--line); }
.notices__fold > .fold__sum { padding: 4px 0; }
.notices__title { font-family: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.notices__fold > .fold__body { max-width: 46em; gap: 0; padding: 24px 0 8px; font-size: 0.95em; }
.notices__sec { display: grid; gap: 14px; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.notices__sec:last-child { margin-bottom: 0; border-bottom: 0; }

/* ---------- quick actions and quick answers ---------- */

.bottom-bar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.35fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line-strong); }
.bottom-bar__item { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 8px; border: 0; border-left: 1px solid var(--line); background: none; font: 500 0.98rem/1.2 var(--text); color: var(--moss); text-align: center; text-decoration: none; cursor: pointer; }
html:lang(ko) .bottom-bar__item { font-size: 0.9rem; font-weight: 600; }
html:lang(en) .bottom-bar__item { font-size: 0.9rem; font-weight: 600; }
.bottom-bar__item:first-child { border-left: 0; }
.bottom-bar__item--main { background: var(--moss); color: #fff; }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

.qa-launch { display: none; }

.qa { position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; flex-direction: column; max-height: min(84vh, 640px); background: var(--paper); border-top: 1px solid var(--line-strong); border-radius: 16px 16px 0 0; box-shadow: 0 -18px 50px rgba(63, 90, 71, 0.22); overflow: hidden; }
.qa__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; background: var(--paper-sage); border-bottom: 1px solid var(--line); }
.qa__title { font-size: 1.3rem; color: var(--moss); }
html:lang(ko) .qa__title { font-size: 1.15rem; }
.qa__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 1.8rem; line-height: 1; color: var(--moss); cursor: pointer; }
.qa__close:hover { background: var(--sage-pale); }
.qa__scroll { display: grid; gap: 14px; align-content: start; padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; }
.qa__note { font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.qa__note a { color: var(--moss); font-weight: 600; }
.qa__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qa__chip { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); font: 500 0.94rem var(--text); color: var(--moss); cursor: pointer; }
html:lang(ko) .qa__chip { font-size: 0.88rem; }
html:lang(en) .qa__chip { font-size: 0.88rem; }
.qa__chip:hover { border-color: var(--moss); background: var(--sage-pale); }
.qa__log { display: grid; gap: 12px; }
.qa__msg { padding: 12px 15px; border-radius: 14px; font-size: 0.98rem; line-height: 1.55; }
html:lang(ko) .qa__msg { font-size: 0.93rem; line-height: 1.7; }
html:lang(en) .qa__msg { font-size: 0.93rem; line-height: 1.6; }
.qa__msg--you { justify-self: end; max-width: 85%; background: var(--moss); color: #fff; border-bottom-right-radius: 4px; }
.qa__msg--site { background: var(--paper-sage); border-bottom-left-radius: 4px; }
.qa__msg--site a { color: var(--moss); }
.qa__msg--crisis { background: var(--sun-pale); border: 1.5px solid var(--sun-deep); }
.qa__msg-q { margin-bottom: 4px; font-weight: 600; }
.qa__msg-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-weight: 600; }
.qa__msg-actions a { color: var(--moss); }
.qa__form { display: flex; gap: 8px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.qa__form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 6px; background: #fff; font-size: 1rem; }
/* The one text field on the site answers the keyboard in the green of the site: the border turns green and a soft
   ring of the same green lies round it. The ring is drawn by box-shadow, so no browser outline is needed on top. */
.qa__form input { transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.qa__form input:focus-visible { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(63, 90, 71, 0.22); }

@media (min-width: 860px) {
  .bottom-bar { display: none; }
  body { padding-bottom: 0; }
  .qa-launch { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--moss); color: #fff; font: 500 1.02rem var(--text); cursor: pointer; box-shadow: 0 14px 34px -12px rgba(63, 90, 71, 0.6); }
  html:lang(ko) .qa-launch { font-size: 0.95rem; font-weight: 600; }
  html:lang(en) .qa-launch { font-size: 0.95rem; font-weight: 600; }
  .qa-launch__icon { width: 22px; height: 22px; }
  .qa-launch:hover { background: var(--moss-dark); }
  .qa { inset: auto 24px 24px auto; width: 410px; max-height: min(76vh, 640px); border: 1px solid var(--line-strong); border-radius: 16px; }
  .qa__form { padding-bottom: 12px; }
}

/* ---------- depth and motion ---------- */

/* corner decoration: a real blossoming branch that drifts a little as the page scrolls */
.deco { position: absolute; z-index: 0; height: auto; max-width: none; pointer-events: none; user-select: none; }
.deco--team { top: -4px; right: -16vw; width: min(540px, 96vw); rotate: 4deg; translate: 0 calc(var(--p, 0) * -50px); opacity: 0.8; }
.deco--band { top: -6px; right: -12vw; z-index: 1; width: min(440px, 62vw); translate: 0 calc(var(--p, 0) * -20px); }
@media (min-width: 860px) {
  .deco--team { right: -70px; translate: 0 calc(var(--p, 0) * -70px); opacity: 1; }
}
@media (min-width: 900px) {
  .deco--band { top: 6px; right: -60px; width: 520px; translate: 0 calc(var(--p, 0) * -36px); }
}

/* blossoms out of focus at the corner of the questions, as if they hung close to the lens */
.guide { position: relative; overflow: clip; }
.guide__in { position: relative; z-index: 1; }
.soft-bloom { position: absolute; z-index: 0; top: -46px; right: -150px; width: 400px; height: auto; max-width: none; translate: 0 calc(var(--p, 0) * -60px); opacity: 0.8; pointer-events: none; user-select: none; }

@media (min-width: 860px) {
  .page-head::before { background-position: 13% 52%; background-size: 140% auto; }
}

/* phones get the smaller copies of the background photographs */
@media (max-width: 700px) {
  .steps-sec::before { background-image: url(img/lake-1200.webp?v=4373cc9ebc); }

  .page-head::before { background-image: url(img/dawn-1000.webp?v=4373cc9ebc); }
}

/* quiet backgrounds drift against the scroll */
.page-head::before { inset: -9% 0; translate: 0 calc(var(--p, 0) * -34px); }
.page-head .petals { z-index: 1; }
.page-head__in { z-index: 2; }

.band::before { inset: -10% 0; translate: 0 calc(var(--p, 0) * -44px); }
.band .petals { z-index: 1; }
.band__in { z-index: 2; }

/* buttons have a little body: they lift, and light crosses them */
.btn { position: relative; overflow: hidden; box-shadow: 0 16px 28px -18px rgba(51, 74, 58, 0.95), 0 1px 0 rgba(255, 255, 255, 0.2) inset; transition: background-color 0.15s, border-color 0.15s, color 0.15s, translate 0.2s, box-shadow 0.2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0) 68%); translate: -120% 0; transition: translate 0.8s ease; pointer-events: none; }
.btn:hover { translate: 0 -2px; box-shadow: 0 22px 32px -18px rgba(51, 74, 58, 0.95), 0 1px 0 rgba(255, 255, 255, 0.2) inset; }
.btn:hover::after { translate: 120% 0; }
.btn:active { translate: 0 0; }
.btn--ghost { box-shadow: none; }

.chip span { transition: background-color 0.15s, border-color 0.15s, color 0.15s, translate 0.15s, box-shadow 0.2s; }
.chip:hover span { translate: 0 -1px; box-shadow: 0 10px 18px -14px rgba(63, 90, 71, 0.9); }
.chip:active span { translate: 0 1px; }

/* header settles once the page moves */
.site-header__in { transition: min-height 0.3s; }
.brand .sun__disc, .brand .sun__rays { transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.brand:hover .sun__disc, .brand:hover .sun__rays { translate: 0 -3px; }

/* things arrive as they are scrolled to; the script adds .reveal only to what starts below the fold */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.soft-bloom.reveal, .deco.reveal { transition: opacity 1.4s ease; }

/* tilt toward the pointer */
[data-tilt] { transform: perspective(1000px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-tilt].is-tilting { transition: transform 0.08s linear; }

.faq__a { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .brand .sun__disc, .brand .sun__rays { animation: logo-rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .guide__result:not([hidden]) { animation: result-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; transform-origin: 50% 0; }
  .qa:not([hidden]) { animation: panel-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .mobile-nav:not([hidden]), .lang-hint:not([hidden]) { animation: drop-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .qa__msg { animation: rise-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes logo-rise { from { translate: 0 9px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes result-in { from { opacity: 0; transform: perspective(900px) rotateX(-14deg) translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; translate: 0 26px; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes drop-in { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }

/* ?still on the address settles every animation at its end, for screenshots and print */
.is-still *, .is-still *::before, .is-still *::after { animation-delay: -90s !important; animation-iteration-count: 1 !important; animation-play-state: paused !important; transition: none !important; }

/* a soft cross-fade between pages, where the browser supports it */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; }
}

/* ---------- print ---------- */

@media print {
  .site-header, .lang-hint, .bottom-bar, .qa, .qa-launch, .hero__scene, .guide, .petals, .deco, .soft-bloom, .services__bg, .hero__light { display: none !important; }
  .reveal { opacity: 1 !important; translate: none !important; }
  body { padding: 0; font-size: 11pt; }
  .hero, .page-head, .band, .steps-sec { background: #fff; }
  .page-head::before, .page-head::after, .band::before, .band::after, .steps-sec::before, .steps-sec::after, .voices__sea { display: none; }
}
