/* ==========================================================================
   iTeraCare Clinic — "Living Green"
   White and mint, with deep-green moments; one typeface (Sora); one moving
   idea: terahertz-like wave contours that drift behind the page.
   Every colour is a token. No hex literal appears below the :root block.
   ========================================================================== */

@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  /* green scale */
  --mint-50: #F2F8F4;
  --mint-100: #E3F0E8;
  --mint-200: #CDE5D7;
  --mint-300: #A8D5BC;
  --green-400: #3FA67A;
  --green-500: #2C8A63;
  --green-600: #1F6B50;
  --green-700: #17563F;
  --green-800: #123D2F;
  --green-900: #0B261D;

  /* roles */
  --ground: #FFFFFF;
  --surface: #FFFFFF;
  --stone: var(--mint-50);
  --stone-2: var(--mint-100);
  --ink: #10251C;
  --ink-2: #2E443A;
  --muted: #56695F;
  --line: #D5E6DC;
  --line-soft: #E6F0EA;
  --accent: var(--green-600);
  --accent-2: var(--green-700);
  --accent-soft: var(--mint-100);
  --on-accent: #FFFFFF;
  --deep: var(--green-800);
  --on-deep: #EAF4EE;
  --on-deep-muted: #A9C9B8;
  --on-deep-2: #CFE3D7;
  --danger: #A33A2A;
  --shadow: 11 38 29;
  --glow: rgb(63 166 122 / .35);

  /* type: Sora everywhere */
  --serif: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: var(--serif);
  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(.95rem, .93rem + .12vw, 1.04rem);
  --step-1: clamp(1.1rem, 1.03rem + .35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + .8vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.7vw, 2.8rem);
  --step-4: clamp(2.2rem, 1.6rem + 3vw, 4.1rem);
  --step-5: clamp(2.6rem, 1.7rem + 4.6vw, 5.6rem);

  /* space */
  --gut: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(40px, 5vw, 76px);
  --radius: 10px;
  --radius-lg: 20px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;

  /* the wave contour, as a mask (colour comes from tokens, never the SVG) */
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3'%3E%3Cpath d='M-40 110C160 40 300 190 520 120S880 40 1060 130 1300 190 1480 90'/%3E%3Cpath d='M-40 170C160 100 300 250 520 180S880 100 1060 190 1300 250 1480 150'/%3E%3Cpath d='M-40 230C160 160 300 310 520 240S880 160 1060 250 1300 310 1480 210'/%3E%3Cpath d='M-40 290C160 220 300 370 520 300S880 220 1060 310 1300 370 1480 270'/%3E%3Cpath d='M-40 350C160 280 300 430 520 360S880 280 1060 370 1300 430 1480 330'/%3E%3Cpath d='M-40 410C160 340 300 490 520 420S880 340 1060 430 1300 490 1480 390'/%3E%3Cpath d='M-40 470C160 400 300 550 520 480S880 400 1060 490 1300 550 1480 450'/%3E%3Cpath d='M-40 530C160 460 300 610 520 540S880 460 1060 550 1300 610 1480 510'/%3E%3C/g%3E%3C/svg%3E");
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; text-wrap: balance; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* --------------------------------------------------------- typography */

.display { font-family: var(--serif); font-weight: 600; font-size: var(--step-4); line-height: 1.04; letter-spacing: -.035em; }
/* Sora has no italic: emphasis is a lighter weight in a green gradient. */
.display em, .statement em { font-style: normal; font-weight: 300; background: linear-gradient(100deg, var(--green-600), var(--green-400) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display--hero { font-size: var(--step-5); letter-spacing: -.045em; line-height: 1; }
.eyebrow { font: 600 var(--step--1)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.statement { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.2; letter-spacing: -.03em; max-width: 26ch; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .display { font-size: var(--step-4); max-width: 16ch; }
.prose { max-width: 66ch; font-size: var(--step-0); }
.prose h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-2); line-height: 1.2; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.prose h3 { font-weight: 700; font-size: var(--step-0); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: var(--step-1); }

/* ------------------------------------------------------------ buttons */

.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .96rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn--sm { --h: 44px; padding: 0 1.2em; font-size: .9rem; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--on-deep); color: var(--deep); }
.btn--line-light { border-color: color-mix(in srgb, var(--on-deep) 45%, transparent); color: var(--on-deep); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
  .btn--line:hover { background: var(--ink); color: var(--ground); }
  .btn--light:hover { background: var(--surface); color: var(--deep); }
  .btn--line-light:hover { border-color: var(--on-deep); color: var(--on-deep); }
  .btn:hover .icon-arrow { transform: translateX(4px); }
}
.btn:active { transform: scale(.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--accent); min-height: 44px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(4px); } }
.icon { width: 20px; height: 20px; flex: none; }

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

/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body.nav-open .site-header::before { background: var(--ground); }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(150px, 14vw, 186px); height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink-2); display: inline-block; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } .nav a:hover::after { transform: scaleX(1); } }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cart { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .75rem; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 10px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: .9rem; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-book { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; margin: 0;
    background: var(--ground); padding: 28px var(--gut) 40px; overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 8vw, 2.5rem); letter-spacing: -.04em; color: var(--ink); padding: 14px 0; display: block; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav-extra { display: block; margin-top: 36px; color: var(--muted); font-size: .95rem; }
  .nav .nav-phone { display: inline-flex; align-items: center; gap: 10px; padding: 0; font: 600 1.15rem/1.2 var(--sans); letter-spacing: 0; color: var(--ink); text-decoration: none; min-height: 44px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}

/* --------------------------------------------------------------- hero */

.hero { padding-block: clamp(28px, 5vw, 64px) var(--section); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-copy .eyebrow { margin-bottom: 1.8rem; }
.hero-copy .display--hero { margin-bottom: clamp(20px, 3vw, 36px); }
.hero-copy .lede { margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 2.4rem 0 0; padding: 0; color: var(--muted); font-size: var(--step--1); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-media img.is-active { opacity: 1; }
.hero-media figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--step--1); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img.is-active { animation: kenburns 14s linear both; }
}
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.07); } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-media { aspect-ratio: auto; height: min(78vh, 780px); min-height: 520px; }
}

/* ------------------------------------------------------ wave (signature) */

.wave-mark { width: 120px; height: 12px; overflow: visible; color: var(--accent); margin-bottom: clamp(28px, 4vw, 48px); }
.wave-mark path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .1s; }
.wave-mark.is-in path, .no-motion .wave-mark path { stroke-dashoffset: 0; }

.site-main { position: relative; }
.site-main > * { position: relative; z-index: 1; }

/* -------------------------------------------------------------- intro */

.intro .statement { margin-bottom: clamp(48px, 7vw, 96px); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.facts dt { font-family: var(--serif); font-size: var(--step-2); letter-spacing: -.01em; line-height: 1.1; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--muted); font-size: var(--step--1); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ devices */

.devices-band { background: var(--stone); }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.split-head .section-head { margin: 0; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.devices-band { overflow-x: clip; }
.rail::-webkit-scrollbar { display: none; }
.rail .rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 68vw); gap: 16px; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2)); width: max-content; }
.rail .rail-track > li { scroll-margin-inline: var(--gut); }
@media (min-width: 700px) { .rail .rail-track { grid-auto-columns: minmax(260px, 40vw); } }
@media (min-width: 1100px) {
  .rail { overflow: visible; }
  .rail .rail-track { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding-inline: 0; margin-inline: auto; width: min(100% - 2 * var(--gut), var(--max)); }
}
.device-card { scroll-snap-align: start; }
.device-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.device-stage { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; margin-bottom: 18px; border-radius: var(--radius); background: radial-gradient(120% 80% at 50% 88%, var(--stone-2), var(--surface) 70%); overflow: hidden; }
.device-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 14px; border-radius: 50%; background: rgb(var(--shadow) / .16); filter: blur(10px); }
/* Absolutely placed in a fixed-aspect stage: the image's own intrinsic size
   (which srcset/sizes can inflate) never decides the layout. */
.device-stage img { position: absolute; inset: 0; z-index: 1; margin: auto; width: 72%; height: 76%; object-fit: contain; transition: transform .8s var(--ease); }
.device-card h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-1); letter-spacing: -.01em; margin-bottom: 6px; }
.device-card p { color: var(--muted); font-size: var(--step--1); line-height: 1.5; margin-bottom: 12px; }
.device-card .price { margin-top: auto; }
@media (hover: hover) { .device-card a:hover .device-stage img { transform: translateY(-6px) rotate(-2deg); } .device-card a:hover h3 { color: var(--accent); } }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price del { color: var(--muted); font-weight: 400; font-size: .9em; }
.price ins { text-decoration: none; }

/* -------------------------------------------------------- visit steps */

.steps-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.steps-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.steps-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { grid-row: span 2; font-family: var(--serif); font-weight: 300; color: var(--accent); font-size: var(--step-1); line-height: 1.2; }
.steps h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-2); letter-spacing: -.01em; line-height: 1.15; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); max-width: 48ch; }
@media (min-width: 960px) {
  .steps-grid { grid-template-columns: .9fr 1fr; align-items: start; }
  .sticky-figure { position: sticky; top: calc(var(--header-h) + 32px); height: min(80vh, 760px); aspect-ratio: auto; }
}

/* ------------------------------------------------------- studio bleed */

.studio-bleed figure { margin: 0; position: relative; height: clamp(360px, 82vh, 900px); overflow: hidden; background: var(--stone); }
.studio-bleed img { position: absolute; left: 0; width: 100%; height: 118%; top: -9%; object-fit: cover; will-change: transform; }
.studio-bleed figcaption { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 36px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--surface); font-size: var(--step--1); font-weight: 500; text-shadow: 0 1px 12px rgb(var(--shadow) / .5); }
.studio-bleed figcaption a { color: inherit; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgb(var(--shadow) / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: none; }

/* ------------------------------------------------------------- voices */

.voices-grid { display: grid; gap: clamp(32px, 4vw, 56px); margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .voices-grid { grid-template-columns: repeat(3, 1fr); } }
.voice { margin: 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.voice blockquote { margin: 0 0 20px; font-family: var(--serif); font-weight: 600; font-size: var(--step-1); line-height: 1.4; letter-spacing: -.005em; }
.voice blockquote p::before { content: "“"; }
.voice blockquote p::after { content: "”"; }
.voice figcaption { font-weight: 600; font-size: var(--step--1); }
.voice figcaption span { font-weight: 400; color: var(--muted); margin-left: 6px; }
.voices-video { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .voices-video { grid-template-columns: 1fr 1fr auto; } }

.video { margin: 0; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--deep); cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--ground) 92%, transparent); color: var(--accent); transition: transform .4s var(--ease); }
.video-play .icon { width: 22px; height: 22px; margin-left: 3px; }
@media (hover: hover) { .video-facade:hover img { opacity: 1; transform: scale(1.03); } .video-facade:hover .video-play { transform: scale(1.06); } }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.video figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

/* -------------------------------------------------------- recognition */

.recognition { background: var(--surface); }
.recog-list li { border-top: 1px solid var(--line); }
.recog-list li:last-child { border-bottom: 1px solid var(--line); }
.recog-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; text-decoration: none; color: inherit; }
.recog-year { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.recog-title { grid-column: 1; font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; letter-spacing: -.01em; }
.recog-body { grid-column: 1; color: var(--muted); max-width: 60ch; }
.recog-list .icon { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 22px; height: 22px; color: var(--accent); transition: transform .35s var(--ease); }
@media (min-width: 900px) { .recog-list a { grid-template-columns: 140px 1fr auto; } .recog-year { grid-row: 1 / span 2; padding-top: .5em; } .recog-title, .recog-body { grid-column: 2; } .recog-list .icon { grid-column: 3; } }
@media (hover: hover) { .recog-list a:hover .recog-title { color: var(--accent); } .recog-list a:hover .icon { transform: translateX(6px); } }

/* ---------------------------------------------------------- book/form */

.book { background: var(--stone); }
.book-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) { .book-grid { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.book .lede { margin-bottom: 2.2rem; }
.where-list { display: grid; gap: 18px; margin-bottom: 26px; }
.where-list > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.where-list .icon { margin-top: 3px; color: var(--accent); }
.where-list p { margin: 0; }
.where-list a { font-weight: 600; }
.map-facade { position: relative; border-radius: var(--radius); overflow: hidden; }
.map-facade iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.35) sepia(.08); }

.book-form { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 var(--line-soft), 0 30px 60px -40px rgb(var(--shadow) / .25); }
.form-grid { display: grid; gap: 22px 20px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide, .field--textarea { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ground); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[type="file"] { padding: 10px; min-height: 0; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.tel { display: flex; align-items: stretch; }
.tel-prefix { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--stone); font-weight: 600; color: var(--ink-2); }
.tel input { border-radius: 0 var(--radius) var(--radius) 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.form-note { margin: 0; font-size: var(--step--1); color: var(--muted); }
.form-error { margin: 0 0 22px; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--danger) 9%, var(--surface)); color: var(--danger); font-weight: 600; font-size: var(--step--1); }
.form-done { padding: 12px 0; }
.form-done .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 18px; }
.form-done-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; letter-spacing: -.01em; }
.form-done a { color: var(--accent); font-weight: 600; }

/* ------------------------------------------------------------- footer */

.site-footer { background: var(--deep); color: var(--on-deep); padding-block: clamp(40px, 5vw, 64px) 28px; position: relative; z-index: 1; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer .btn--light { color: var(--deep); }
@media (hover: hover) { .site-footer .btn--light:hover { color: var(--deep); text-decoration: none; } .site-footer .btn:hover { text-decoration: none; } }
@media (hover: hover) { .site-footer a:hover { color: var(--surface); text-decoration: underline; } }
.footer-top { display: grid; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto; align-items: center; } }
.footer-title { font-size: var(--step-2); margin-bottom: 6px; }
.footer-lede > p:not(.footer-title) { color: var(--on-deep-muted); max-width: 48ch; margin: 0; font-size: var(--step--1); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; font-size: var(--step--1); }
.footer-contact a { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; }
.footer-contact .icon { width: 14px; height: 14px; }
.footer-label { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 12px; font-weight: 600; }
.footer-visit p:not(.footer-label) { margin-bottom: 26px; line-height: 1.7; }
.footer-visit .muted { color: var(--on-deep-muted); }
.footer-visit a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.footer-visit .icon { width: 16px; height: 16px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 30px; }
@media (min-width: 900px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-deep); font-size: .95rem; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-base { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); color: var(--on-deep-muted); font-size: var(--step--1); }
.footer-base img { width: 160px; opacity: .9; }
.footer-base p { margin: 0; }
.footer-disclaimer { max-width: 80ch; }
.careers-email-note { margin-top: 10px; font-size: .92rem; }
.careers-email-note a { color: var(--green-700); text-underline-offset: 3px; }
@media (min-width: 900px) { .footer-base { grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; } .footer-disclaimer { grid-column: 2; } }

.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 30px -10px rgb(var(--shadow) / .5); transition: transform .35s var(--ease), background-color .25s var(--ease); }
.wa-float .icon { width: 26px; height: 26px; }
@media (hover: hover) { .wa-float:hover { transform: translateY(-3px); background: var(--accent-2); color: var(--on-accent); } }
body.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------- page heads */

.page-hero { padding-block: clamp(28px, 4vw, 48px) 28px; }
.page-hero .display { font-size: var(--step-4); max-width: 24ch; }
.page-hero .lede { margin-top: clamp(20px, 3vw, 32px); max-width: 44ch; }
.page-hero--split { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .page-hero--split { grid-template-columns: 1.1fr 1fr; } }
.page-figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.page-figure img { width: 100%; height: 100%; object-fit: cover; }
.page-figure--portrait { aspect-ratio: 4 / 5; }
.page-figure--tall { aspect-ratio: 2 / 3; }
@media (min-width: 960px) { .page-figure--portrait, .page-figure--tall { max-height: 78vh; } }
.spaced-top { margin-top: clamp(40px, 5vw, 72px); }
.spaced-sm { margin-top: 10px; }
.card a { color: var(--ink); }
.card .link-arrow { color: var(--accent); }
a.card { text-decoration: none; transition: border-color .3s var(--ease), transform .4s var(--ease); }
@media (hover: hover) { a.card:hover { border-color: var(--accent); transform: translateY(-2px); } a.card:hover h3 { color: var(--accent); } }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: inherit; }
.crumbs--top { padding-top: clamp(20px, 3vw, 36px); }
.fine { font-size: var(--step--1); }
.actions--spaced { margin-top: 2rem; }
.band { background: var(--stone); }
.band-surface { background: var(--surface); }
.two-col { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } .two-col--wide-right { grid-template-columns: .8fr 1.2fr; } }

/* ------------------------------------------------------ devices page */

.lineup { display: grid; gap: clamp(64px, 9vw, 140px); }
.lineup-item { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .lineup-item { grid-template-columns: 1fr 1fr; }
  .lineup-item:nth-child(even) .device-stage { order: 2; }
}
.lineup-item .device-stage { aspect-ratio: 1; margin: 0; }
.lineup-item .device-stage img { height: 78%; }
.lineup-item h2 { font-family: var(--serif); font-weight: 600; font-size: var(--step-3); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 10px; }
.lineup-for { color: var(--muted); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.lineup-item .price { font-size: var(--step-1); margin: 8px 0 26px; }
.saving { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 700; margin-left: 4px; vertical-align: middle; }

.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: var(--step--1); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--line); }
.spec-table th { width: 34%; font-weight: 600; color: var(--muted); padding-right: 16px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--line); }

.compare-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.compare { width: 100%; min-width: 880px; border-collapse: collapse; font-size: var(--step--1); background: var(--surface); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-0); background: var(--stone); position: sticky; top: 0; }
.compare tbody th { font-weight: 600; color: var(--muted); width: 160px; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; min-width: 140px; background: var(--surface); box-shadow: 1px 0 var(--line-soft); }
.compare thead th:first-child { z-index: 2; background: var(--stone); }
.compare tbody th a { color: var(--accent); text-decoration: none; }

/* ----------------------------------------------------- single product */

.product-hero { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(28px, 4vw, 56px) var(--section); }
@media (min-width: 960px) { .product-hero { grid-template-columns: 1.1fr 1fr; align-items: start; } .product-hero .device-stage { position: sticky; top: calc(var(--header-h) + 24px); } }
.product-hero .device-stage { aspect-ratio: 1; margin: 0; }
.product-hero .device-stage img { height: 80%; }
.product-summary h1 { font-size: var(--step-4); margin-bottom: 14px; }
.product-summary .price { font-size: var(--step-2); margin: 10px 0 28px; font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; }
.product-summary .price del { font-family: var(--sans); font-size: .5em; }
.product-summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.product-summary .quantity { display: none; }
.product-summary .single_add_to_cart_button { min-height: 54px; padding: 0 1.8em; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font: 600 .96rem/1 var(--sans); cursor: pointer; }
@media (hover: hover) { .product-summary .single_add_to_cart_button:hover { background: var(--accent-2); } }
.product-assure { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: var(--step--1); color: var(--ink-2); }
.product-assure li { display: flex; gap: 10px; align-items: flex-start; }
.product-assure .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.gallery-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.gallery-strip img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }

/* ------------------------------------------------------------ journal */

.journal-list { display: grid; gap: 0; }
.journal-item { border-top: 1px solid var(--line); }
.journal-item:last-child { border-bottom: 1px solid var(--line); }
.journal-item a { display: grid; gap: 8px 32px; padding: clamp(24px, 3vw, 40px) 0; text-decoration: none; color: inherit; }
@media (min-width: 900px) { .journal-item a { grid-template-columns: 180px 1fr auto; align-items: baseline; } }
.journal-meta { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.journal-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; letter-spacing: -.01em; }
.journal-excerpt { grid-column: 2; color: var(--muted); margin: 6px 0 0; max-width: 64ch; }
.journal-item .icon { color: var(--accent); transition: transform .35s var(--ease); }
@media (hover: hover) { .journal-item a:hover .journal-title { color: var(--accent); } .journal-item a:hover .icon { transform: translateX(6px); } }

.article-head { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.article-head .display { font-size: var(--step-4); max-width: 20ch; }
.article-meta { margin-top: 24px; color: var(--muted); font-size: var(--step--1); }
.article-body { padding-bottom: var(--section); }
.article-body .prose { margin-inline: auto; }
.article-body .prose > p:first-child { font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; }
.article-note { max-width: 66ch; margin: 48px auto 0; padding: 20px 22px; border-radius: var(--radius); background: var(--stone); font-size: var(--step--1); color: var(--ink-2); }

/* -------------------------------------------------------------- faq */

.faq-group { display: grid; gap: 20px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .faq-group { grid-template-columns: 280px 1fr; gap: 48px; } }
.faq-group h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-2); letter-spacing: -.01em; line-height: 1.15; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--accent); transition: transform .35s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* ----------------------------------------------------------- gallery */

.masonry { columns: 1; column-gap: 14px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry figure { break-inside: avoid; margin: 0 0 14px; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .9s var(--ease); }
@media (hover: hover) { .masonry button:hover img { transform: scale(1.03); } }
.masonry figcaption { font-size: var(--step--1); color: var(--muted); padding: 8px 2px 0; }
.lightbox { border: 0; padding: 0; max-width: min(96vw, 1600px); max-height: 94vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgb(var(--shadow) / .88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: var(--radius); }
.lightbox p { color: var(--on-deep); text-align: center; margin: 12px 0 0; font-size: var(--step--1); }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--ground); cursor: pointer; }

/* ------------------------------------------------- cards / info blocks */

.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-soft); }
.card h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-1); margin-bottom: 8px; letter-spacing: -.005em; }
.card p { margin: 0; color: var(--muted); }
.card .icon { color: var(--accent); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ticks .icon { color: var(--accent); margin-top: 3px; width: 20px; height: 20px; }

.bank-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line-soft); padding: clamp(24px, 4vw, 48px); max-width: 720px; }
.bank-card dl { display: grid; margin: 0; }
.bank-card dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 640px) { .bank-card dl > div { grid-template-columns: 200px 1fr auto; align-items: center; gap: 16px; } }
.bank-card dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.bank-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.copy-btn { justify-self: start; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: .8rem; font-weight: 600; cursor: pointer; }
.copy-btn[data-copied] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.notice { padding: 16px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: var(--step--1); font-weight: 600; margin-top: 22px; }

.leaders { display: grid; gap: 20px; }
@media (min-width: 800px) { .leaders { grid-template-columns: 1fr 1fr; } }
.leader { padding: clamp(24px, 3vw, 40px); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line-soft); }
.leader-mono { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 22px; }
.leader h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: var(--step-2); letter-spacing: -.01em; }
.leader .role { color: var(--muted); font-size: var(--step--1); margin: 4px 0 18px; }
.leader blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--serif); font-weight: 300; color: var(--accent); font-size: var(--step-1); }
.timeline p { margin: 0; }

.roles { list-style: none; margin: 0; padding: 0; }
.roles li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: var(--step-1); }
.roles li:last-child { border-bottom: 1px solid var(--line); }
.roles span { font-family: var(--sans); font-size: var(--step--1); color: var(--muted); }

.photo-pair { display: grid; gap: 14px; }
@media (min-width: 700px) { .photo-pair { grid-template-columns: 1.4fr 1fr; } }
.photo-pair figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* WooCommerce cart / checkout inside the page shell */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: var(--step--1); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; color: var(--accent); }
.shop-shell .button, .shop-shell button.button, .shop-shell .checkout-button, .shop-shell #place_order { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent); font: 600 .95rem/1 var(--sans); cursor: pointer; text-decoration: none; }
.shop-shell table { width: 100%; border-collapse: collapse; }
.shop-shell th, .shop-shell td { padding: 14px 8px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.shop-shell input.input-text, .shop-shell select, .shop-shell textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; font-size: 16px; }

/* ------------------------------------------------------------ reveal */

/* Visible by default. JS adds .reveal-armed only once it can guarantee the
   reveal will fire, so a script failure never leaves content hidden. */
.reveal-armed .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal-armed .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-armed .reveal { opacity: 1; transform: none; }
  .wave-mark path { stroke-dashoffset: 0; }
}

/* Compact layouts and product presentation. */
.hero-grid { align-items: center; }
.hero { padding-block: 28px 48px; }
.section-head { margin-bottom: 28px; }
.section-head .display { max-width: 24ch; }
.steps li { padding-block: 18px; }
.steps p { margin-bottom: 0; }
.steps h3 { font-size: var(--step-2); }
.page-hero .lede { margin-top: 18px; margin-bottom: 0; max-width: 58ch; }
.lineup { gap: 64px; }
.site-footer { padding-top: 56px; }
.footer-top { padding-bottom: 36px; }
.footer-title { font-size: var(--step-2); }
.footer-nav { padding-block: 32px; }
.brand-gallery { padding-top: 0; }
.brand-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brand-photos figure { margin: 0; overflow: hidden; }
.brand-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.brand-photos figcaption { padding-top: 10px; font-size: var(--step--1); color: var(--muted); }
.carousel-ready .carousel-stage { display: grid; perspective: 1000px; }
.carousel-ready [data-slide] { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.9); }
.carousel-motion [data-slide] { transition: opacity .65s ease, transform .9s var(--ease); }
.carousel-ready [data-slide].is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 0; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; cursor: pointer; font-size: .85rem; }
.carousel-controls button:hover { background: var(--accent-soft); }
.review-carousel { max-width: 860px; margin-inline: auto; }
.review-carousel .voice { text-align: center; padding: 28px 16px; border: 0; margin: 0; }
.review-carousel .voice blockquote { font-size: var(--step-2); }
.review-carousel .voices-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
.intro .statement { max-width: 52ch; }
.studio-bleed figure { height: clamp(300px, 48vh, 500px); }
.review-carousel .voice figcaption { margin-top: 24px; }
@media (max-width: 699px) {
  .brand-photos { grid-template-columns: 1fr; gap: 22px; }
  .brand-photos img { max-height: 320px; }
  .hero-grid { gap: 24px; }
  .hero-copy .lede { margin-bottom: 22px; }
  .hero-facts { margin-top: 24px; }
}
@media (max-width: 959px) {
  .header-actions { margin-left: auto; }
}

.first-session-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.first-session figure { margin: 0; }
.first-session img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.first-session .display { font-size: var(--step-3); margin-bottom: 24px; }
.first-session p:not(.eyebrow) { color: var(--ink-2); }
.first-session .btn { margin-top: 8px; }
.about-hero { align-items: center; gap: 48px; }
.about-hero .display { font-size: var(--step-3); }
.about-exterior { max-height: 440px; width: min(100%, 340px); justify-self: center; background: transparent; }
.about-exterior img { height: 440px; object-fit: contain; }
.leader-photo { width: 100%; height: 360px; object-fit: cover; object-position: center 24%; border-radius: var(--radius); margin-bottom: 20px; }
.leader { padding: 20px; }
.leader .role { margin-bottom: 0; }
.hero-device { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(430px, 46vw, 570px); overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 50%, var(--mint-100) 0%, var(--mint-50) 42%, transparent 74%); perspective: 900px; }
.hero-device-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-device-rings span { position: absolute; width: min(86%, 520px); aspect-ratio: 1; border: 1.5px solid color-mix(in srgb, var(--green-400) 60%, transparent); border-radius: 50%; box-shadow: 0 0 26px var(--glow); opacity: 0; animation: device-wave 6s ease-out infinite; }
.hero-device-rings span:nth-child(2) { animation-delay: 2s; }
.hero-device-rings span:nth-child(3) { animation-delay: 4s; }
.hero-device-link { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.hero-device-link img { width: auto; height: clamp(340px, 38vw, 470px); max-width: 48%; object-fit: contain; filter: drop-shadow(18px 22px 22px rgb(var(--shadow) / .22)); transform-origin: 50% 55%; animation: device-turn 6s ease-in-out infinite alternate; }
@keyframes device-wave { 0% { transform: scale(.28); opacity: .78; } 75%, 100% { transform: scale(1.27); opacity: 0; } }
@keyframes device-turn { from { transform: translateY(8px) rotateY(-13deg) rotate(-2deg); } to { transform: translateY(-8px) rotateY(13deg) rotate(2deg); } }
.carousel-dots { display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.carousel-controls .carousel-dot { display: grid; place-items: center; min-width: 32px; min-height: 44px; padding: 0; border: 0; background: transparent; }
.carousel-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .3s var(--ease), background-color .3s var(--ease); }
.carousel-dot.is-active::before { width: 12px; height: 12px; background: var(--accent); }
.studio-preview { padding-block: 40px 56px; background: var(--stone); }
.studio-preview-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); }
.studio-preview figure { margin: 0; width: 100%; max-width: 440px; }
.studio-preview img { width: 100%; height: clamp(300px, 30vw, 410px); object-fit: cover; object-position: center 56%; border-radius: var(--radius); }
.studio-preview .display { font-size: var(--step-3); margin-bottom: 20px; }
.studio-preview-copy > p:not(.eyebrow) { max-width: 48ch; color: var(--ink-2); }
.studio-preview .btn { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .hero-device-rings span, .hero-device-link img { animation: none; } .hero-device-rings span { opacity: .24; transform: scale(.75); } }
@media (max-width: 799px) {
  .first-session-grid { grid-template-columns: 1fr; gap: 0; }
  .first-session-grid { gap: 24px; }
  .about-exterior img { height: 340px; }
  .leader-photo { height: 320px; }
  .studio-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .studio-preview figure { max-width: 100%; }
  .studio-preview img { height: 320px; }
  .hero-device { min-height: 350px; }
  .hero-device-link img { height: 285px; }
  .hero-grid { gap: 8px; }
  .hero-facts { display: none; }
  .hero-copy .lede { font-size: 1rem; line-height: 1.5; }
  .carousel-controls { gap: 4px; }
  .carousel-controls [data-prev], .carousel-controls [data-next] { display: none; }
}
/* Decorative waves stay behind the hero, never behind a translucent text layer. */
.hero { position: relative; isolation: isolate; overflow: hidden; }

@keyframes hero-waves { to { transform: translate3d(0, 18px, 0); } }
.hero-grid { position: relative; z-index: 1; }

.issue-section { background: var(--mint-50); padding-block: clamp(44px, 5vw, 68px); }
.issue-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.issue-heading .section-head { margin: 0; }
.issue-heading .display { max-width: none; font-size: var(--step-3); }
.issue-heading > p { max-width: 31ch; margin: 0 0 4px; color: var(--muted); }
.issue-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.issue-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 104px; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); font-weight: 600; line-height: 1.35; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.issue-card .icon { width: 18px; height: 18px; flex: none; color: var(--accent); }
.issue-card:hover, .issue-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px -22px rgb(var(--shadow) / .35); }
.issue-card:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; }
.issue-dialog { width: min(92vw, 510px); max-height: min(88vh, 740px); padding: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 90px rgb(var(--shadow) / .25); }
.issue-dialog::backdrop { background: rgb(var(--shadow) / .54); backdrop-filter: blur(4px); }
.issue-dialog-inner { position: relative; padding: clamp(24px, 4vw, 38px); }
.issue-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--stone); color: var(--ink); cursor: pointer; }
.issue-dialog-close .icon { width: 20px; height: 20px; }
.issue-dialog .display { max-width: 10ch; margin: 8px 0 12px; font-size: var(--step-3); }
.issue-dialog-summary { margin: 0 0 22px; color: var(--ink-2); }
.issue-dialog-summary strong { color: var(--accent); }
.issue-dialog .form-grid { grid-template-columns: 1fr; gap: 16px; }
.issue-dialog .form-foot { margin-top: 20px; }
.issue-dialog .form-note { font-size: .8rem; }
@media (max-width: 1099px) { .issue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .issue-heading { display: block; } .issue-heading > p { margin-top: 12px; } .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .issue-card { min-height: 86px; padding: 14px; } }
@media (max-width: 420px) { .issue-grid { grid-template-columns: 1fr; } .issue-card { min-height: 62px; } }
@media (prefers-reduced-motion: reduce) { .hero-background-waves { animation: none; } .issue-card { transition: none; } }

/* ==========================================================================
   Living Green — bands, patterns, glow and small motions
   ========================================================================== */

/* Wave contours drift slowly; reduced motion holds them still. */
@keyframes wave-drift { from { transform: translate3d(-2%, -10px, 0); } to { transform: translate3d(2%, 10px, 0); } }
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3%, -4%, 0) scale(1.08); } 100% { transform: translate3d(-2%, 3%, 0) scale(.96); } }

.band--white { background: var(--surface); }
.band--mint { position: relative; isolation: isolate; background: var(--mint-50); }
.band--mint::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--mint-300) 1px, transparent 1.6px); background-size: 22px 22px; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent); mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent); }

/* Deep green: flips the text tokens, so every component inside just works. */
.band--deep { position: relative; isolation: isolate; overflow: hidden; background-color: var(--green-800); background-image: radial-gradient(120% 90% at 85% 0%, var(--green-700), var(--green-800) 55%, var(--green-900)); color: var(--on-deep);
  --ink: var(--on-deep); --ink-2: var(--on-deep-2); --muted: var(--on-deep-muted);
  --line: color-mix(in srgb, var(--on-deep) 18%, transparent); --line-soft: color-mix(in srgb, var(--on-deep) 12%, transparent);
  --accent: var(--mint-300); --accent-2: var(--mint-200); --accent-soft: color-mix(in srgb, var(--mint-300) 16%, transparent); --on-accent: var(--green-900);
  --surface-glass: color-mix(in srgb, var(--on-deep) 7%, transparent); }
.band--deep::before, .site-footer::before { content: ""; position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none; background: var(--green-400);
  -webkit-mask: var(--waves) center / 100% 100% no-repeat; mask: var(--waves) center / 100% 100% no-repeat; opacity: .16; }
@media (prefers-reduced-motion: no-preference) { .band--deep::before, .site-footer::before, .page-hero::after, .article-head::after { animation: wave-drift 22s ease-in-out infinite alternate; } }
.band--deep .eyebrow { color: var(--mint-300); }
.band--deep .display em, .band--deep .statement em { background-image: linear-gradient(100deg, var(--mint-200), var(--mint-300) 55%, var(--green-400)); }
.band--deep a:not(.btn) { color: var(--mint-200); }

/* Hero: mint aurora behind the device, contours across the band. */
.hero::before { content: ""; position: absolute; z-index: 0; inset: -20% -10% auto auto; width: min(70vw, 900px); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mint-300) 55%, transparent), color-mix(in srgb, var(--mint-100) 40%, transparent) 55%, transparent); filter: blur(10px); }
@media (prefers-reduced-motion: no-preference) { .hero::before, .book::before { animation: aurora 18s ease-in-out infinite alternate; } }
.hero { background: linear-gradient(180deg, var(--surface), var(--mint-50)); }
.hero-device { background: radial-gradient(circle at 50% 52%, var(--surface) 0%, var(--mint-50) 40%, transparent 72%); }
.hero-device-link img { filter: drop-shadow(18px 26px 26px rgb(var(--shadow) / .28)); }

/* Stats under the hero copy — real numbers only. */
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px clamp(20px, 3vw, 40px); margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats dt { font-weight: 700; font-size: var(--step-2); letter-spacing: -.04em; line-height: 1; color: var(--green-600); font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 6px 0 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 599px) { .hero-stats { grid-template-columns: repeat(2, auto); } }

/* Buttons: a quiet sheen on hover. */
.btn--primary { position: relative; overflow: hidden; box-shadow: 0 10px 24px -14px var(--glow); }
.btn--primary::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 38%, transparent), transparent); opacity: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .btn--primary:hover::after { opacity: 1; left: 130%; transition: left .8s var(--ease), opacity .2s; } }
.band--deep .btn--line { border-color: color-mix(in srgb, var(--on-deep) 50%, transparent); color: var(--on-deep); }
@media (hover: hover) { .band--deep .btn--line:hover { background: var(--on-deep); color: var(--green-900); } }

/* Lift + glow on everything you can click into. */
.card, .jcard, .issue-card, .device-card a { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) {
  a.card:hover, .jcard:hover, .device-card a:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px var(--glow); }
}

/* Concerns: cards fill green. */
.issue-card { background: var(--surface); border-color: var(--line); }
.issue-card:hover, .issue-card:focus-visible { background: var(--green-600); border-color: var(--green-600); color: var(--on-accent); box-shadow: 0 20px 40px -24px var(--glow); }
.issue-card:hover .icon, .issue-card:focus-visible .icon { color: var(--on-accent); transform: translateX(3px); }

/* Devices on deep green: each cut-out sits on a lit white disc. */
.devices-band .device-stage { background: radial-gradient(circle closest-side at 50% 54%, var(--surface) 0%, color-mix(in srgb, var(--surface) 80%, transparent) 58%, color-mix(in srgb, var(--mint-300) 18%, transparent) 78%, transparent); border-radius: var(--radius-lg); }
.devices-band .device-stage::after { background: rgb(var(--shadow) / .3); }
.devices-band .device-card p { color: var(--muted); }
.devices-band .price del { color: var(--muted); }

/* First session: two photos, stacked with an offset. */
.first-session-photos { position: relative; display: grid; grid-template-columns: 1fr .62fr; align-items: end; gap: 14px; }
.first-session-photos img { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.first-session-photos figure { margin: 0; }
.first-session-photos figure:first-child img { aspect-ratio: 4 / 3.2; }
.first-session-photos figure:last-child img { aspect-ratio: 3 / 4; transform: translateY(24px); box-shadow: 0 24px 50px -30px rgb(var(--shadow) / .45); }
.first-session-badge { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--green-600); font-weight: 700; font-size: var(--step--1); box-shadow: 0 10px 24px -16px var(--glow); }
.first-session .display em { font-weight: 300; }

/* Journal cards (home, journal page, "more from the journal"). */
.jcards { display: grid; gap: 18px; }
@media (min-width: 700px) { .jcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .jcards { grid-template-columns: repeat(3, 1fr); } }
.jcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); }
.jcard-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-100); }
.jcard-thumb svg, .jcard-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .jcard:hover .jcard-thumb svg, .jcard:hover .jcard-thumb img { transform: scale(1.05); } .jcard:hover .jcard-title { color: var(--green-600); } }
.jcard-tag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--green-700); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jcard-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.jcard-meta { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.jcard-title { margin: 0; font-weight: 600; font-size: var(--step-1); line-height: 1.3; letter-spacing: -.025em; transition: color .3s var(--ease); }
.jcard-excerpt { margin: 0; color: var(--muted); font-size: var(--step--1); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcard-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 600; font-size: var(--step--1); }
.jcard-more .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
@media (hover: hover) { .jcard:hover .jcard-more .icon { transform: translateX(4px); } }
.jcard--featured { grid-column: 1 / -1; }
@media (min-width: 900px) { .jcard--featured { flex-direction: row; } .jcard--featured .jcard-thumb { flex: 1.25; aspect-ratio: auto; min-height: 360px; } .jcard--featured .jcard-body { flex: 1; padding: clamp(28px, 4vw, 48px); justify-content: center; } .jcard--featured .jcard-title { font-size: var(--step-3); letter-spacing: -.04em; } .jcard--featured .jcard-excerpt { -webkit-line-clamp: 5; font-size: var(--step-0); } }
.pt-bg { fill: var(--mint-100); } .pt-bg2 { fill: var(--mint-50); }
.pt-a { stroke: var(--green-400); } .pt-b { stroke: var(--green-600); } .pt-c { stroke: var(--mint-300); }
.pt-orb { fill: var(--surface); opacity: .7; }
.pt-deep .pt-bg { fill: var(--green-800); } .pt-deep .pt-bg2 { fill: var(--green-700); } .pt-deep .pt-c { stroke: var(--green-500); } .pt-deep .pt-orb { fill: var(--mint-300); opacity: .18; }
.journal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.journal-head .section-head { margin: 0; }

/* Recognition as a compact strip of badges. */
.recog-strip { display: grid; gap: 14px; }
@media (min-width: 800px) { .recog-strip { grid-template-columns: repeat(3, 1fr); } }
.recog-badge { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.recog-badge .recog-year { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 8px; border-radius: 16px; background: var(--mint-100); color: var(--green-700); font-weight: 700; font-size: .8rem; letter-spacing: -.01em; }
.recog-badge .recog-title { font-weight: 600; font-size: var(--step-0); line-height: 1.35; letter-spacing: -.02em; }
.recog-badge .icon { color: var(--green-600); transition: transform .35s var(--ease); }
@media (hover: hover) { .recog-badge:hover { border-color: var(--green-400); box-shadow: 0 20px 40px -28px var(--glow); } .recog-badge:hover .icon { transform: translateX(4px); } }

/* Reviews on deep green. */
.voices.band--deep .review-carousel .voice blockquote { font-weight: 300; letter-spacing: -.03em; }
.voices.band--deep .voice blockquote p::before, .voices.band--deep .voice blockquote p::after { color: var(--mint-300); }
.voices.band--deep .video figcaption { color: var(--on-deep-muted); }
.voices.band--deep .carousel-controls button { border-color: var(--line); color: var(--on-deep); }
.voices.band--deep .carousel-dot.is-active::before { background: var(--mint-300); }

/* Booking band: soft aurora behind the form. */
.book { position: relative; isolation: isolate; overflow: hidden; }
.book::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: min(60vw, 760px); aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--mint-300) 50%, transparent), transparent); }
.book-form { border: 1px solid var(--line-soft); box-shadow: 0 30px 70px -44px var(--glow); }

/* Page heroes and article heads become full-bleed mint bands with contours. */
.page-hero, .article-head { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 88px) clamp(36px, 5vw, 64px); margin-bottom: clamp(16px, 3vw, 36px); }
.page-hero::before, .article-head::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -2; background: linear-gradient(180deg, var(--mint-50), var(--mint-100) 70%, var(--surface)); }
.page-hero::after, .article-head::after { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background: var(--mint-300);
  -webkit-mask: var(--waves) center / 100% 100% no-repeat; mask: var(--waves) center / 100% 100% no-repeat; opacity: .55; }
.page-hero .display, .article-head .display { max-width: 22ch; }

/* Footer: deepest green with the contours. */
.site-footer { background: var(--green-900); overflow: hidden; isolation: isolate; }
.site-footer::before { opacity: .1; }

/* Reading progress on articles. */
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--green-400), var(--green-600)); pointer-events: none; }

/* Header: a mint hairline and a green nav underline. */
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav a::after { background: var(--green-400); height: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .band--deep::before, .site-footer::before, .page-hero::after, .article-head::after, .hero::before, .book::before { animation: none !important; }
  .btn--primary::after { display: none; }
}

/* ---------------------------------------------------------- our goal */
.goal-grid { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (min-width: 960px) { .goal-grid { grid-template-columns: 1.1fr 1fr; } }
.goal .display { font-size: var(--step-4); max-width: 14ch; }
.goal-copy .wave-mark { margin-bottom: 22px; }
.goal-copy .lede { max-width: 40ch; color: var(--ink); margin-bottom: 1rem; }
.goal-copy p:not(.lede) { max-width: 52ch; color: var(--ink-2); margin: 0; }

/* ------------------------------------------- concerns / free session */
.issue-heading .display { max-width: 20ch; }
.issue-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 34ch; }
.issue-cta p { margin: 0; color: var(--ink-2); }
@media (max-width: 699px) { .issue-cta { margin-top: 16px; } }

/* ------------------------------------------------ videos, balanced */
.voices-video { grid-template-columns: 1fr; gap: 20px; max-width: 1100px; margin-inline: auto; }
@media (min-width: 760px) { .voices-video { grid-template-columns: 1fr 1fr; } }
.voices-more { display: flex; justify-content: center; margin: clamp(24px, 3vw, 36px) 0 0; }

/* -------------------------------------------- thank-you, with a tick */
.form-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(12px, 3vw, 28px) 8px; outline: none; }
.tick { width: 76px; height: 76px; margin-bottom: 20px; overflow: visible; }
.tick-ring { fill: var(--mint-100); stroke: var(--green-500); stroke-width: 2.5; stroke-dasharray: 190; stroke-dashoffset: 190; transform-origin: 50% 50%; }
.tick-mark { fill: none; stroke: var(--green-600); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
@media (prefers-reduced-motion: no-preference) {
  .tick-ring { animation: tick-ring .7s var(--ease) forwards, tick-pop .5s var(--ease) .65s; }
  .tick-mark { animation: tick-mark .45s var(--ease) .5s forwards; }
}
@media (prefers-reduced-motion: reduce) { .tick-ring, .tick-mark { stroke-dashoffset: 0; } }
@keyframes tick-ring { to { stroke-dashoffset: 0; } }
@keyframes tick-mark { to { stroke-dashoffset: 0; } }
@keyframes tick-pop { 50% { transform: scale(1.08); } }
.form-done .form-done-title { font-size: var(--step-2); font-weight: 600; letter-spacing: -.03em; margin: 0 0 8px; }
.form-done .form-done-sub { font-size: var(--step-0); color: var(--ink-2); margin: 0 0 18px; }
.form-done .form-done-alt { font-size: var(--step--1); margin: 0; }
.btn.is-busy { opacity: .7; pointer-events: none; }

/* ---------------------------------------- journal card picture kinds */
.jcard-thumb--doc { display: grid; place-items: center; background: linear-gradient(160deg, var(--mint-100), var(--mint-50)); }
.jcard-thumb--doc img { inset: 12% 10%; width: 80%; height: 76%; object-fit: contain; filter: drop-shadow(0 14px 22px rgb(var(--shadow) / .22)); transform: rotate(-2deg); }
@media (hover: hover) { .jcard:hover .jcard-thumb--doc img { transform: rotate(0) scale(1.04); } }
.jcard-thumb--photo img { object-fit: cover; }
.award-art {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 8% 90%, #94c5ae 0%, transparent 58%), radial-gradient(ellipse at 95% 5%, #f0e8c9 0%, transparent 62%), linear-gradient(145deg, #e7f1e8, #d6e9dc 55%, #c0dccb);
}
.award-art::after {
  content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .65);
  border-radius: 18px; pointer-events: none;
}
.award-art-halo {
  position: absolute; width: 115%; aspect-ratio: 1; left: -60%; top: -20%;
  border: 1px solid rgb(255 255 255 / .5); border-radius: 50%;
  box-shadow: 0 0 0 36px rgb(255 255 255 / .09), 0 0 0 74px rgb(255 255 255 / .07);
}
.award-art-text {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #153f32;
  padding: 28px 12%; gap: 14px;
}
.award-art-emblem {
  position: relative; display: block; flex-shrink: 0; width: clamp(48px, 7vw, 78px); aspect-ratio: 1;
  color: #86713c; border-radius: 50%; background: rgb(255 255 255 / .24);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .8), 0 6px 18px rgb(48 79 52 / .07);
}
.award-art-emblem svg { position: static; display: block; width: 100%; height: 100%; }
.award-art-sub { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #486451; font-weight: 600; }
.award-art-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; max-width: 12ch; text-wrap: balance; }
.jcard--featured .award-art-title { font-size: clamp(2rem, 4vw, 3.65rem); }
.award-art-rule { width: 38px; height: 1px; margin-top: 4px; background: #a2905e; }
@media (max-width: 699px) {
  .award-art-text { gap: 10px; padding-block: 22px; }
  .award-art-emblem { width: 46px; }
  .award-art::after { inset: 12px; border-radius: 12px; }
}

/* -------------------------------------------- compact page heading */
.page-hero--compact { padding-block: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 32px); margin-bottom: 0; }
.page-hero--compact .display { font-size: var(--step-4); }
.page-hero--compact + .lineup { padding-top: clamp(16px, 3vw, 32px); }

/* ---------------------------------------------------- tighter rhythm */
.section--tight { padding-block: clamp(24px, 3vw, 44px); }
.page-hero, .article-head { padding-block: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 40px); margin-bottom: 0; }
.page-hero + .section, .page-hero + .article-body, .page-hero + .lineup, .page-hero + .booking-page { padding-top: clamp(20px, 3vw, 36px); }
.section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.article-body { padding-bottom: clamp(36px, 5vw, 64px); }
.lineup { gap: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.voices .review-carousel .voice { padding-block: 12px; }
.voices-grid { margin-bottom: 0; }
.voices-video { margin-top: clamp(24px, 3vw, 40px); }

/* ------------------------------------ one line + one action, every page */
.cta-strip { padding-block: clamp(32px, 4vw, 56px); }
.cta-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.cta-strip-line { margin: 0; font-weight: 600; font-size: var(--step-2); letter-spacing: -.035em; line-height: 1.2; max-width: 26ch; }
.cta-strip-line em { font-style: normal; font-weight: 300; background: linear-gradient(100deg, var(--green-600), var(--green-400) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ booking */
.booking-dialog { width: min(94vw, 520px); max-height: min(92vh, 780px); padding: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 90px rgb(var(--shadow) / .28); }
.booking-dialog::backdrop { background: rgb(var(--shadow) / .55); backdrop-filter: blur(4px); }
.booking-dialog-inner { position: relative; padding: clamp(22px, 4vw, 34px); }
.bk-head .display { font-size: var(--step-3); margin: 4px 0 16px; }
.bk-head { padding-right: 48px; }
.bk-head .eyebrow { margin-bottom: 0; }
.booking-card { max-width: 560px; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 30px 70px -44px var(--glow); }
.booking-page { padding-bottom: clamp(36px, 5vw, 64px); }

.booking-form fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.bk-legend { padding: 0; margin-bottom: 12px; font-weight: 600; font-size: var(--step-0); letter-spacing: -.02em; }
.bk-picked { font-weight: 400; color: var(--muted); }
.bk-steps { display: none; }
.is-stepped .bk-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; counter-reset: bk; }
.bk-steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: border-color .3s var(--ease), color .3s var(--ease); }
.bk-steps li.is-on { border-top-color: var(--green-400); color: var(--ink-2); }
.bk-steps li.is-current { border-top-color: var(--green-600); color: var(--green-700); }
.bk-month + .bk-month { margin-top: 18px; }
.is-stepped .bk-month + .bk-month { margin-top: 0; }
.bk-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-month-name { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.bk-nav { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.is-stepped .bk-nav { display: grid; place-items: center; }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-wd { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 0; }
.bk-day, .bk-time { position: relative; }
.bk-day input, .bk-time input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-day label { display: grid; place-items: center; aspect-ratio: 1; min-height: 40px; border-radius: 12px; font-weight: 600; font-size: .92rem; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.bk-day input:not(:disabled) + label { background: var(--mint-50); color: var(--ink); }
.bk-day input:disabled + label { color: color-mix(in srgb, var(--muted) 45%, transparent); cursor: default; text-decoration: line-through; text-decoration-color: transparent; }
.bk-day.is-today label { box-shadow: inset 0 0 0 1.5px var(--green-400); }
@media (hover: hover) { .bk-day input:not(:disabled) + label:hover { background: var(--mint-100); transform: translateY(-1px); } }
.bk-day input:checked + label, .bk-time input:checked + label { background: var(--green-600); color: var(--on-accent); }
.bk-day input:focus-visible + label, .bk-time input:focus-visible + label { outline: 2px solid var(--green-400); outline-offset: 2px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bk-time label { display: grid; place-items: center; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) { .bk-time input:not(:disabled) + label:hover { border-color: var(--green-400); background: var(--mint-50); } }
.bk-time input:disabled + label { opacity: .35; cursor: default; }
.bk-back { display: none; margin-top: 12px; padding: 0; min-height: 44px; border: 0; background: none; color: var(--green-600); font-weight: 600; cursor: pointer; }
.is-stepped .bk-back { display: inline-flex; align-items: center; }
.bk-summary { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--mint-50); color: var(--green-700); font-weight: 600; }
.booking-form .form-foot { margin-top: 16px; }
.booking-form .form-note { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .bk-day label, .bk-time label, .bk-steps li { transition: none; } }

.page-hero--compact { padding-bottom: clamp(12px, 2vw, 22px); }
.page-hero--compact + .section, .page-hero--compact + .lineup, .page-hero--compact + .booking-page, .page-hero--compact + .article-body { padding-top: clamp(12px, 2vw, 24px); }
@media (max-width: 599px) { .cta-strip-inner .actions { width: 100%; } .cta-strip-inner .btn { flex: 1; } .booking-dialog-inner { padding: 20px 16px; } }

/* Lay the picker out as a stepper before site.js runs, so nothing jumps. */
.js [data-booking]:not(.is-stepped) [data-bk-step="2"], .js [data-booking]:not(.is-stepped) [data-bk-step="3"], .js [data-booking]:not(.is-stepped) .bk-month ~ .bk-month { display: none; }
.js .bk-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.js .bk-nav { display: grid; place-items: center; }

.voices .section-head { text-align: center; margin-inline: auto; }
.voices .section-head .display { margin-inline: auto; }
.bk-summary { display: flex; flex-direction: column; gap: 4px; }
.bk-where { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: var(--step--1); color: var(--muted); }
.bk-where .icon { width: 14px; height: 14px; color: var(--green-500); }
.bk-times { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* ---------------------------------------------------------------- silk */
/* Hair-thin lines forming one twisting ribbon, over layered soft light. */
@keyframes silk-float { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(-1.6%, 1.4%, 0) rotate(-.6deg); } 100% { transform: translate3d(1.2%, -1%, 0) rotate(.4deg); } }
@keyframes glow-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(4%, -5%, 0) scale(1.12); } }
.silk { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.silk-svg { position: absolute; inset: -6% -3%; width: 106%; height: 112%; max-width: none; }
.silk-ribbon { transform-origin: 50% 50%; }
.silk-l { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: var(--o); }
.silk-ribbon--back { opacity: .6; }
.silk-ribbon--front { opacity: .95; }
.silk-glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.silk-grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .silk-ribbon--back { animation: silk-float 28s ease-in-out infinite alternate; }
  .silk-ribbon--front { animation: silk-float 20s ease-in-out infinite alternate-reverse; }
  .silk-glow { animation: glow-drift 22s ease-in-out infinite alternate; }
  .silk-glow--b { animation-duration: 30s; animation-direction: alternate-reverse; }
}

/* On white (hero) */
.silk--light .silk-s0 { stop-color: var(--mint-300); stop-opacity: 0; }
.silk--light .silk-s1 { stop-color: var(--green-500); stop-opacity: .9; }
.silk--light .silk-s2 { stop-color: var(--green-400); stop-opacity: .75; }
.silk--light .silk-glow--a { width: 62vw; height: 62vw; right: -18vw; top: -30vw; background: var(--mint-200); opacity: .55; }
.silk--light .silk-glow--b { width: 48vw; height: 48vw; left: -20vw; bottom: -26vw; background: var(--mint-100); opacity: .9; }
.silk--light .silk-glow--c { width: 24vw; height: 24vw; right: 14vw; top: 22%; background: var(--surface); opacity: .55; filter: blur(50px); }

/* On deep green (devices) */
.silk--deep .silk-s0 { stop-color: var(--mint-200); stop-opacity: 0; }
.silk--deep .silk-s1 { stop-color: var(--mint-200); stop-opacity: .6; }
.silk--deep .silk-s2 { stop-color: var(--green-400); stop-opacity: .8; }
.silk--deep .silk-glow--a { width: 60vw; height: 60vw; right: -16vw; top: -28vw; background: var(--green-500); opacity: .45; }
.silk--deep .silk-glow--b { width: 50vw; height: 50vw; left: -22vw; bottom: -30vw; background: var(--green-600); opacity: .5; }
.silk--deep .silk-glow--c { width: 36vw; height: 20vw; left: 30%; top: 38%; background: var(--mint-300); opacity: .12; }
.silk--deep .silk-grain { mix-blend-mode: overlay; opacity: .12; }

.hero::before { display: none; }
/* The device sits in a soft pool of light; the silk shows through around it. */
.hero .hero-device { background: radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--surface) 92%, transparent) 0%, color-mix(in srgb, var(--surface) 55%, transparent) 34%, transparent 62%); }
.hero .hero-grid { position: relative; z-index: 1; }
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--mint-50) 100%); }
.band--silk::before { display: none; }
.band--silk > .wrap, .band--silk > .rail { position: relative; z-index: 1; }
@media (max-width: 699px) { .silk-svg { inset: -10% -40%; width: 180%; height: 120%; } }
@media (prefers-reduced-motion: reduce) { .silk-ribbon, .silk-glow { animation: none !important; } }

/* ------------------------------------------------ footer: policies + follow */
.site-footer .footer-nav { grid-template-columns: repeat(2, max-content); gap: 24px clamp(48px, 10vw, 140px); }

/* ------------------------------------------------------ mint navbar */
/* A light green bar so the colour logo (navy + red) reads clearly. */
.site-header {
  --ink: var(--green-900); --ink-2: var(--green-800); --muted: var(--green-700);
  --line: color-mix(in srgb, var(--green-900) 14%, transparent); --line-soft: color-mix(in srgb, var(--green-900) 10%, transparent);
  --accent: var(--green-600); --accent-2: var(--green-700); --on-accent: var(--surface);
  --ground: var(--mint-200);
  color: var(--green-900);
}
.site-header::before { background: color-mix(in srgb, var(--mint-200) 94%, transparent); }
body.nav-open .site-header::before { background: var(--mint-200); }
.site-header.is-scrolled { border-bottom-color: color-mix(in srgb, var(--green-900) 10%, transparent); box-shadow: 0 10px 30px -20px rgb(var(--shadow) / .45); }
.site-header a:hover { color: var(--green-600); }
.nav a { color: var(--green-800); }
.nav a[aria-current="page"], .nav a:hover { color: var(--green-600); }
.nav a::after { background: var(--green-600); }
.site-header .btn--primary { background: var(--green-600); color: var(--surface); box-shadow: none; }
@media (hover: hover) { .site-header .btn--primary:hover { background: var(--green-700); color: var(--surface); } }
.nav-toggle { color: var(--green-900); }
@media (max-width: 959px) {
  .nav { background: var(--mint-200); }
  .nav a { color: var(--green-900); }
  .nav a[aria-current="page"] { color: var(--green-600); }
  .nav .nav-phone { color: var(--green-900); }
}

/* ---------------------------------------- footer: groups in single rows */
/* Footer: Policies · Follow · Reach us — three columns, links two by two. */
.site-footer { padding-top: 8px; }
.site-footer .footer-nav { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 28px; }
.site-footer .footer-nav > div { padding-block: 16px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent); }
.site-footer .footer-nav > div:last-child { border-bottom: 0; }
.site-footer .footer-nav .footer-label { margin: 0 0 8px; }
.site-footer .footer-nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 28px; }
.site-footer .footer-nav .footer-reach ul { grid-template-columns: 1fr; }
.site-footer .footer-nav a { min-height: 40px; font-size: .9rem; }
.site-footer .footer-nav .icon { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .site-footer .footer-nav { grid-template-columns: auto auto 1fr; }
  .site-footer .footer-nav > div { padding: 0 clamp(24px, 4vw, 56px); border-bottom: 0; border-left: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
  .site-footer .footer-nav > div:first-child { padding-left: 0; border-left: 0; }
  .site-footer .footer-nav > div:last-child { padding-right: 0; }
}

/* ------------------------- device presentation: glass case, not a glow disc */
.devices-band .device-stage {
  background:
    radial-gradient(ellipse 70% 38% at 50% 0%, color-mix(in srgb, var(--mint-200) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--on-deep) 9%, transparent), color-mix(in srgb, var(--on-deep) 2%, transparent) 70%);
  border: 1px solid color-mix(in srgb, var(--mint-300) 20%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-deep) 18%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.devices-band .device-stage::after { left: 26%; right: 26%; bottom: 8%; height: 10px; background: rgb(var(--shadow) / .55); filter: blur(8px); }
@media (hover: hover) { .devices-band .device-card a:hover .device-stage { border-color: color-mix(in srgb, var(--mint-300) 45%, transparent); } }

/* Hero: the device floats over the silk in a soft column of light. */
.hero .hero-device { background: none; overflow: visible; }
.hero .hero-device-rings { display: none; }
.hero .hero-device::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 4%; width: min(42%, 260px); height: 86%; transform: translateX(-50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 0%, transparent), color-mix(in srgb, var(--surface) 85%, transparent) 45%, color-mix(in srgb, var(--surface) 0%, transparent));
  border-radius: 999px; filter: blur(28px); }
.hero .hero-device::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 17%; width: 26%; height: 14px; transform: translateX(-50%); border-radius: 50%; background: rgb(var(--shadow) / .22); filter: blur(10px); }
.hero .hero-device-link { z-index: 1; }

/* Desktop: the hero fills the first screen, content centred in it. */
@media (min-width: 900px) and (min-height: 600px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; }
}

/* Header: the real (colour) logo on a white plate, so it reads on the green bar. */
:root { --header-h: 84px; }
@media (max-width: 899px) { :root { --header-h: 70px; } }
.site-header .brand { padding: 0; background: none; }
.site-header .brand img { width: clamp(190px, 17vw, 250px); }
@media (max-width: 420px) { .site-header .brand img { width: 176px; } }

/* ------------------------- hero: a little more life */
/* Light travels along the silk threads, toward the device. */
.silk-pulse { fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .07 1; stroke-dashoffset: .07; opacity: 0; }
.silk--light .silk-pulse { stroke: var(--green-400); }
.silk--deep .silk-pulse { stroke: var(--mint-200); }
@keyframes silk-pulse { 0% { stroke-dashoffset: .07; opacity: 0; } 8% { opacity: .95; } 80% { opacity: .9; } 100% { stroke-dashoffset: -1; opacity: 0; } }
/* Motes of light rise around the device. */
.hero-motes { position: absolute; inset: 8% 10% 14%; z-index: 0; pointer-events: none; }
.hero-motes span { position: absolute; left: var(--x); bottom: 0; width: var(--s); height: var(--s); border-radius: 50%; background: var(--green-400); box-shadow: 0 0 10px 2px var(--glow); opacity: 0; }
@keyframes mote-rise { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 15% { opacity: .85; } 70% { opacity: .5; } 100% { transform: translate3d(14px, -340px, 0) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .silk-pulse { animation: silk-pulse var(--t, 8s) cubic-bezier(.45, 0, .35, 1) var(--d, 0s) infinite; }
  .hero-motes span { animation: mote-rise 8s ease-out var(--d) infinite; }
  .hero .silk-ribbon--back { animation-duration: 16s; }
  .hero .silk-ribbon--front { animation-duration: 11s; }
  .hero .silk-glow { animation-duration: 12s; }
  .hero .hero-device::before { animation: light-breathe 5s ease-in-out infinite alternate; }
}
@keyframes light-breathe { from { opacity: .7; transform: translateX(-50%) scaleY(.94); } to { opacity: 1; transform: translateX(-50%) scaleY(1.04); } }

/* Hero: one line on where the devices come from. */
.hero-origin { display: flex; align-items: center; gap: 10px; margin: -.6rem 0 1.8rem; font-size: var(--step--1); font-weight: 500; color: var(--green-700); }
.hero-origin-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-400) 20%, transparent); }

/* Hero: the silk fades out behind the copy so the text stays crisp. */
.hero .silk-svg { -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 62%); }
@media (max-width: 899px) {
  .hero .silk-svg { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, #000 72%); mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, #000 72%); }
}

/* Contact: the form alone, compact. */
.contact-page { padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero--compact + .contact-page { padding-top: clamp(12px, 2vw, 24px); }
.contact-card { max-width: 720px; }

/* ------------------------- home: scroll-triggered motion */
/* Armed by JS only (html.fx-armed); without it everything is simply visible. */
.fx-armed [data-fx] { transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx-armed [data-fx="rise"]:not(.fx-in) { opacity: 0; transform: translate3d(0, 34px, 0); }
.fx-armed [data-fx="card"]:not(.fx-in) { opacity: 0; transform: translate3d(0, 44px, 0) scale(.96); }
.fx-armed [data-fx="pop"]:not(.fx-in) { opacity: 0; transform: translate3d(0, 16px, 0) scale(.92); }
.fx-armed [data-fx="blur"]:not(.fx-in) { opacity: 0; filter: blur(10px); transform: translate3d(0, 20px, 0); }
.fx-armed [data-fx="wipe"]:not(.fx-in) { clip-path: inset(0 0 100% 0 round var(--radius-lg)); }
.fx-armed [data-fx="wipe"] { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.fx-armed [data-fx="wipe"] img { transition: transform 1.6s var(--ease); }
.fx-armed [data-fx="wipe"]:not(.fx-in) img { transform: scale(1.12); }
/* Headline accents draw in once the heading lands. */
.fx-armed [data-fx] .display em, .fx-armed .display[data-fx] em { display: inline-block; transition: clip-path 1.1s var(--ease) .25s, opacity .6s ease .25s; }
.fx-armed [data-fx]:not(.fx-in) .display em, .fx-armed .display[data-fx]:not(.fx-in) em { clip-path: inset(0 100% 0 0); opacity: .2; }
.fx-armed [data-fx].fx-in .display em, .fx-armed .display[data-fx].fx-in em { clip-path: inset(-10% -4% -10% 0); }
/* Scroll-linked drift (set from JS as --py). */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .fx-armed [data-fx] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  [data-parallax] { transform: none; }
}

/* ------------------------- performance */
/* Paused when off screen (JS toggles .is-offscreen). */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }
/* Put the moving layers on the GPU; drop the costly blend and backdrop blur. */
.silk-ribbon, .silk-glow, .hero-motes span, .hero-device-link img { will-change: transform; }
.silk-grain { mix-blend-mode: normal; opacity: .035; }
.silk--deep .silk-grain { mix-blend-mode: normal; opacity: .05; }
.devices-band .device-stage { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* The bar is near-opaque, so its blur only cost a repaint on every scroll frame. */
.site-header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--mint-200); }
/* Phones: fewer moving parts. */
@media (max-width: 699px) {
  .silk-ribbon--back, .silk-glow--b, .silk-glow--c { animation: none !important; }
  .hero-motes span:nth-child(n+5) { display: none; }
}

/* Home: customer videos, two at a time, stepping through all of them. */
.video-rotator { max-width: 1100px; margin: clamp(24px, 3vw, 40px) auto 0; overflow: hidden; }
.video-rotator-track { display: flex; gap: 20px; transition: transform .9s var(--ease); will-change: transform; }
.video-rotator-track > .video { flex: 0 0 100%; margin: 0; }
@media (min-width: 760px) { .video-rotator-track > .video { flex-basis: calc(50% - 10px); } }
.video-rotator.is-moving .video { pointer-events: none; }
.video-rotator-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.video-rotator-controls > button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-deep) 30%, transparent); background: transparent; color: var(--on-deep); font: inherit; cursor: pointer; }
@media (hover: hover) { .video-rotator-controls > button:hover { background: color-mix(in srgb, var(--on-deep) 12%, transparent); } }
.video-rotator-dots { display: flex; gap: 8px; }
.video-rotator-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--on-deep) 35%, transparent); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.video-rotator-dots button[aria-current="true"] { width: 22px; background: var(--mint-300); }
.video-rotator-dots button::after { content: ""; position: absolute; inset: -12px; }
.video-rotator-dots button { position: relative; }

/* About: the MD's introduction, first thing after the hero. */
.about-intro-grid { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
@media (min-width: 900px) { .about-intro-grid { grid-template-columns: .8fr 1.2fr; } }
.about-intro .video { margin: 0; }

/* ------------------------- how it works */
.hiw-split { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .hiw-split { grid-template-columns: 1fr 1.1fr; } .hiw-split--flip { grid-template-columns: 1.1fr 1fr; } }
.hiw-split p { color: var(--ink-2); max-width: 56ch; }
.hiw-figure { margin: 0; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--mint-50)); }
.hiw-art { display: block; width: 100%; height: auto; font-family: inherit; }
.hiw-band { fill: var(--mint-100); }
.hiw-band.is-on { fill: var(--mint-300); }
.hiw-label { fill: var(--muted); font-size: 15px; font-weight: 500; }
.hiw-label.is-on { fill: var(--green-800); font-weight: 700; }
.hiw-note { fill: var(--green-600); font-size: 14px; font-weight: 600; }
.hiw-axis { fill: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hiw-wave { fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; }
.hiw-skin { fill: var(--mint-300); }
.hiw-tissue { fill: var(--mint-50); stroke: var(--mint-200); }
.hiw-cell { fill: var(--surface); stroke: var(--mint-300); stroke-width: 1.5; }
.hiw-water { fill: var(--green-400); }
.hiw-device { fill: var(--green-800); }
.hiw-device-tip { fill: var(--green-500); }
.hiw-emit { fill: none; stroke: var(--green-500); stroke-width: 2; stroke-linecap: round; }
.hiw-emit.soft { opacity: .55; } .hiw-emit.soft2 { opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .hiw-emit { animation: hiw-emit 2.4s ease-in-out infinite; }
  .hiw-emit.soft { animation-delay: .3s; } .hiw-emit.soft2 { animation-delay: .6s; }
  .hiw-water { animation: hiw-water 3s ease-in-out infinite alternate; }
}
@keyframes hiw-emit { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes hiw-water { to { transform: translateY(-2px); } }
.hiw-cards { display: grid; gap: 16px; margin-top: clamp(20px, 3vw, 36px); }
@media (min-width: 800px) { .hiw-cards { grid-template-columns: repeat(3, 1fr); } }
.hiw-card { padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); }
.hiw-card h3 { margin: 16px 0 6px; font-size: var(--step-1); }
.hiw-card p { margin: 0; color: var(--ink-2); }
.hiw-icon { width: 52px; height: 52px; fill: none; stroke: var(--green-600); stroke-width: 2.2; stroke-linecap: round; }
.hiw-icon .soft { opacity: .45; } .hiw-icon .fill { fill: var(--green-600); stroke: none; }
.hiw-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 10px; }
.hiw-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.hiw-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--green-500); border-bottom: 2px solid var(--green-500); transform: rotate(-45deg); }
.hiw-session { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: clamp(20px, 3vw, 36px); align-items: center; }
@media (min-width: 900px) { .hiw-session { grid-template-columns: 1fr 1fr; } }
.hiw-photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.hiw-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hiw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hiw-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.hiw-steps li:last-child { border-bottom: 0; }
.hiw-steps span { font-weight: 700; color: var(--green-500); font-size: var(--step-1); }
.hiw-steps h3 { margin: 0 0 4px; font-size: var(--step-0); }
.hiw-steps p { margin: 0; color: var(--ink-2); }
.hiw-safety { display: grid; gap: 16px; margin-top: clamp(20px, 3vw, 36px); }
@media (min-width: 800px) { .hiw-safety { grid-template-columns: repeat(3, 1fr); } }
.hiw-safe-card { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--mint-50); border: 1px solid var(--line-soft); }
.hiw-safe-card h3 { margin: 0; font-size: var(--step-1); }
.hiw-safe-card--care { background: var(--surface); border-color: var(--mint-300); }
.hiw-safe-card--care li::before { border: 0; width: 10px; height: 2px; top: .7em; transform: none; background: var(--green-700); }
.hiw-note-line { margin: clamp(20px, 3vw, 32px) 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: var(--step--1); max-width: 80ch; }

/* Home: customer videos in their own light section, controls in the header. */
.stories-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.stories-head .section-head { margin: 0; }
.stories-nav { display: flex; align-items: center; gap: 10px; }
.stories-nav .link-arrow { margin-right: 10px; }
.rot-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 1.05rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
@media (hover: hover) { .rot-btn:hover { background: var(--green-600); border-color: var(--green-600); color: var(--surface); } }
.stories .video-rotator { max-width: none; margin-top: clamp(20px, 3vw, 32px); }
.stories .video figcaption { color: var(--ink-2); }
.rot-progress { height: 2px; margin-top: 22px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.rot-progress span { display: block; height: 100%; background: var(--green-500); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
/* Hero device: display only, no link. */
.hero-device-link { cursor: default; }

/* Concerns: one centred axis — heading, cards, then the button. */
.issue-heading--center { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.issue-heading--center .section-head { margin: 0 0 12px; }
.issue-heading--center > p { margin: 0 auto; max-width: 52ch; color: var(--ink-2); }
.issue-section .issue-grid { margin-top: clamp(24px, 3vw, 36px); }
.issue-section .issue-card { text-align: left; }
.issue-cta-center { display: flex; justify-content: center; margin: clamp(24px, 3vw, 36px) 0 0; }

/* Concerns: ten tabs, two even rows of five; heading truly centred. */
.issue-heading--center .section-head, .issue-heading--center .display { margin-inline: auto; text-align: center; }
.issue-section .issue-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 999px) { .issue-section .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .issue-section .issue-card { min-height: 64px; padding: 12px 14px; } }
@media (max-width: 420px) { .issue-section .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .issue-section .issue-card { font-size: .9rem; } }

/* Footer: three equal, centred columns; base row centred to match. */
@media (min-width: 900px) {
  .site-footer .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .site-footer .footer-nav > div, .site-footer .footer-nav > div:first-child, .site-footer .footer-nav > div:last-child { padding-inline: clamp(16px, 3vw, 40px); text-align: center; }
  .site-footer .footer-nav ul { justify-content: center; justify-items: center; }
  .site-footer .footer-base { grid-template-columns: auto auto; justify-content: center; }
}
@media (max-width: 899px) {
  .site-footer .footer-nav > div { text-align: center; }
  .site-footer .footer-nav ul { justify-content: center; justify-items: center; }
  .site-footer .footer-base { justify-items: center; text-align: center; }
}

/* Booking modal: quick alternatives under the calendar. */
.bk-alt { margin-top: 16px; }
.bk-alt-label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font-size: var(--step--1); }
.bk-alt-label::before, .bk-alt-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.bk-alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-alt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.bk-alt-btn .icon { width: 18px; height: 18px; }
.bk-alt-btn--wa { color: #fff; border-color: #128C4A; background: #128C4A; }
@media (hover: hover) { .bk-alt-btn:hover { border-color: var(--green-600); color: var(--green-700); text-decoration: none; } .bk-alt-btn--wa:hover { background: var(--green-600); color: var(--surface); } }

/* About: the event photo shown whole — every face in frame. */
.moments-figure { margin-block: 0; }
.moments-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-lg); }
.moments-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: var(--step--1); }

/* Navbar: "How it works" — same box as its neighbours, the text itself glows softly. */
.nav a.nav-feature { color: var(--green-700); font-weight: 600; text-shadow: 0 0 14px color-mix(in srgb, var(--green-400) 55%, transparent); }
.nav a.nav-feature[aria-current="page"] { color: var(--green-800); }
@media (hover: hover) { .nav a.nav-feature:hover { color: var(--green-600); } }
@media (prefers-reduced-motion: no-preference) { .nav a.nav-feature { animation: nav-glow 3.2s ease-in-out infinite alternate; } }
@keyframes nav-glow { from { text-shadow: 0 0 6px color-mix(in srgb, var(--green-400) 25%, transparent); } to { text-shadow: 0 0 16px color-mix(in srgb, var(--green-400) 70%, transparent); } }

/* How it works: photo + spectrum strip, six-step journey, promise row. */
.hiw-figure--strip { margin-top: clamp(20px, 3vw, 32px); padding: 10px clamp(16px, 3vw, 32px); }
.hiw-figure--strip .hiw-art { max-height: 170px; margin-inline: auto; }
.hiw-spectrum-sec .hiw-photo img { aspect-ratio: 4 / 3; }
.hiw-journey { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 600px) { .hiw-journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .hiw-journey { grid-template-columns: repeat(3, 1fr); } }
.hiw-step { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .hiw-step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px var(--glow); } }
.hiw-step-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint-50); }
.hiw-step-media img, .hiw-step-media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hiw-step-body { padding: 18px 20px 22px; }
.hiw-step-no { display: block; font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; color: var(--green-500); margin-bottom: 6px; }
.hiw-step-body h3 { margin: 0 0 6px; font-size: var(--step-1); }
.hiw-step-body p { margin: 0; color: var(--ink-2); }
.hiw-promise { padding-block: clamp(8px, 2vw, 16px) clamp(28px, 4vw, 48px); }
.hiw-promise-row { list-style: none; margin: 0; padding: clamp(18px, 3vw, 26px) clamp(12px, 2vw, 20px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 8px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--mint-50); }
@media (min-width: 700px) { .hiw-promise-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .hiw-promise-row { grid-template-columns: repeat(6, 1fr); } .hiw-promise-row li + li { border-left: 1px solid var(--line-soft); } }
.hiw-promise-row li { display: grid; justify-items: center; text-align: center; gap: 4px; padding-inline: 8px; }
.hiw-promise-row strong { font-size: .95rem; color: var(--green-800); }
.hiw-promise-row span { font-size: var(--step--1); color: var(--muted); }
.hiw-ic { width: 34px; height: 34px; margin-bottom: 6px; fill: none; stroke: var(--green-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: bigger, and all five devices take turns (JS picks the next at random). */
.hero .hero-device { min-height: clamp(480px, 52vw, 680px); }
.hero .hero-device-link { position: relative; display: block; width: 100%; height: clamp(400px, 42vw, 560px); }
.hero .hero-device-link img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: none; object-fit: contain; opacity: 0; scale: .96; transition: opacity 1s var(--ease), scale 1s var(--ease); }
/* Wide devices (patch, rejuvenator) sit smaller so all five feel the same size. */
.hero .hero-device-link img[src*="rejuvenator"], .hero .hero-device-link img[src*="patch"] { width: 78%; height: 70%; }
.hero .hero-device-link img.is-active { opacity: 1; scale: 1; }
@media (max-width: 899px) { .hero .hero-device { min-height: 360px; } .hero .hero-device-link { height: 330px; } }

/* How it works: a first screen that lands complete — copy left, photo right, all above the fold. */
.hiw-hero { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: clamp(20px, 3vw, 40px); }
@media (min-width: 960px) { .hiw-hero { grid-template-columns: 1fr 1.05fr; min-height: calc(100svh - var(--header-h) - 40px); max-height: 820px; } }
.hiw-hero .lede { max-width: 46ch; }
.hiw-hero-photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--mint-50); }
.hiw-hero-photo img { display: block; width: 100%; height: min(calc(100svh - var(--header-h) - 120px), 620px); min-height: 280px; object-fit: cover; }
@media (max-width: 959px) { .hiw-hero-photo img { height: auto; aspect-ratio: 4 / 3; } }

/* About: a first screen that lands complete — photo fills its column. */
@media (min-width: 960px) { .about-hero { align-items: center; min-height: min(calc(100svh - var(--header-h) - 60px), 640px); } }
.about-hero .about-exterior { border-radius: var(--radius-lg); }
.about-hero .about-exterior img { display: block; width: 100%; height: min(calc(100svh - var(--header-h) - 140px), 560px); min-height: 260px; object-fit: cover; }
@media (max-width: 959px) { .about-hero .about-exterior img { height: auto; aspect-ratio: 4 / 3; } }

/* Visit: heading and booking card on one centred axis. */
.page-key-visit .page-hero--compact { text-align: center; }
.booking-page .booking-card { margin-inline: auto; }

/* Shared atmosphere: a continuous field of drifting colour and refracted light. */
.itc .site-main { isolation: isolate; }
.itc .site-main > .process-atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #f5f8ee; --process-shift: 0px; --process-return: 0px; --process-turn: 0deg; }
.itc .hiw-hero::before,
.itc .hiw-hero::after,
.itc .hiw-visit::before,
.itc .site-footer::before { display: none; }
.itc .hiw-visit { background: transparent; }
.process-colour { position: absolute; width: 85vmax; height: 78vmax; filter: blur(48px); transform: translate3d(0, var(--process-shift), 0); }
.process-colour span { display: block; width: 100%; height: 100%; border-radius: 44% 56% 63% 37% / 55% 43% 57% 45%; }
.process-colour--jade { left: -38vmax; top: -38vmax; }
.process-colour--jade span { background: radial-gradient(ellipse at 52% 55%, #7dc6a2 0%, #b0dbc0 36%, transparent 69%); }
.process-colour--sun { right: -37vmax; top: -20vmax; transform: translate3d(var(--process-return), var(--process-return), 0); }
.process-colour--sun span { background: radial-gradient(ellipse, #edcf91 0%, #f4e6b9 32%, transparent 67%); }
.process-colour--mint { right: -25vmax; bottom: -46vmax; transform: translate3d(0, var(--process-return), 0); }
.process-colour--mint span { background: radial-gradient(ellipse, #85c6be 0%, #c6e9d5 35%, transparent 68%); }
.process-light { position: absolute; width: 96vmax; height: 60vmax; border-radius: 50%; opacity: .65; filter: blur(12px); background: conic-gradient(from 35deg, transparent 0deg, #fff8dcaa 64deg, #ffffffed 86deg, transparent 116deg, transparent 230deg, #ffffffbb 269deg, transparent 300deg); -webkit-mask: radial-gradient(ellipse, transparent 48%, #000 53%, #000 56%, transparent 65%); mask: radial-gradient(ellipse, transparent 48%, #000 53%, #000 56%, transparent 65%); }
.process-light--one { left: -30vmax; top: -5vmax; transform: translate3d(0, var(--process-return), 0) rotate(calc(-28deg + var(--process-turn))); }
.process-light--two { right: -43vmax; bottom: -12vmax; opacity: .5; transform: translate3d(0, var(--process-shift), 0) rotate(calc(36deg - var(--process-turn))); }
.process-atmosphere-veil { position: absolute; inset: 0; background: linear-gradient(90deg, #ffffff12, #ffffff55 48%, #ffffff16); }
@media (prefers-reduced-motion: no-preference) {
  .process-colour span { animation: process-breathe 18s ease-in-out infinite alternate; }
  .process-colour--sun span { animation-duration: 23s; animation-delay: -9s; }
  .process-colour--mint span { animation-duration: 21s; animation-delay: -5s; }
}
@keyframes process-breathe { from { transform: translate3d(-3%, -2%, 0) rotate(-8deg) scale(.94); } to { transform: translate3d(6%, 5%, 0) rotate(9deg) scale(1.08); } }
.itc.is-background-paused .process-colour span { animation-play-state: paused; }
@media (max-width: 599px) { .process-colour { filter: blur(30px); } .process-light { filter: blur(8px); } }
@media print { .process-atmosphere { display: none; } }

/* How it works: spacious, photographed steps revealed as the visitor scrolls. */
.hiw-hero-copy .lede { max-width: 46ch; }
.hiw-visit-intro { max-width: 58ch; margin: 20px 0 clamp(48px, 7vw, 100px); color: var(--ink-2); font-size: var(--step-1); line-height: 1.65; }
.hiw-story { list-style: none; padding: 0; margin: 0; }
.hiw-story-step { display: grid; gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(42px, 7vw, 96px); border-top: 1px solid var(--line-soft); }
.hiw-story-visual { margin: 0; overflow: hidden; border-radius: 22px; background: var(--surface); }
.hiw-story-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hiw-story-visual--exterior img { aspect-ratio: 3 / 4; max-height: 620px; object-fit: contain; background: var(--mint-50); }
.hiw-story-copy { max-width: 510px; }
.hiw-story-index { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; color: var(--green-600); }
.hiw-story-index > span:first-child { font-size: clamp(38px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.hiw-story-index-line { height: 1px; width: 48px; background: var(--green-500); transform-origin: left; }
.hiw-story-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.hiw-story-copy h3 { margin: 0 0 22px; font-size: clamp(28px, 3.5vw, 46px); font-weight: 500; line-height: 1.13; letter-spacing: -.035em; }
.hiw-story-copy p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--ink-2); }
.hiw-visit-note { max-width: 78ch; margin: 28px 0 0; color: var(--muted); font-size: var(--step--1); line-height: 1.65; }
@media (min-width: 900px) {
  .hiw-story-step { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 72svh; }
  .hiw-story-step:nth-child(even) .hiw-story-visual { order: 2; }
  .hiw-story-step:nth-child(even) .hiw-story-copy { order: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .visit-motion .hiw-story-visual { opacity: 0; transform: translateY(44px); transition: opacity .9s ease, transform 1.15s var(--ease); }
  .visit-motion .hiw-story-visual img { transform: scale(1.055); transition: transform 1.6s var(--ease); }
  .visit-motion .hiw-story-copy { opacity: 0; transform: translateY(32px); transition: opacity .85s ease .12s, transform 1.15s var(--ease) .12s; }
  .visit-motion .hiw-story-index-line { transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
  .visit-motion .hiw-story-step.is-seen .hiw-story-visual,
  .visit-motion .hiw-story-step.is-seen .hiw-story-copy { opacity: 1; transform: none; }
  .visit-motion .hiw-story-step.is-seen .hiw-story-visual img { transform: scale(1); }
  .visit-motion .hiw-story-step.is-seen .hiw-story-index-line { transform: scaleX(1); }
}
@media (max-width: 899px) {
  .hiw-story-step { gap: 30px; }
  .hiw-story-copy { max-width: none; }
  .hiw-story-index { margin-bottom: 20px; }
  .hiw-story-visual--exterior img { max-height: 480px; }
}

/* ------------------------- liquid-glass navbar */
/* Clear glass with sharp corners: a thin veil of white, heavy blur and saturation,
   a lit top edge and a refracted rim. It dissolves into two islands while scrolling
   down and unfolds again the moment you scroll up. */
:root {
  --glass-r: 6px;
  --glass-ease: cubic-bezier(.22, 1, .36, 1);
  --glass-veil: radial-gradient(120% 160% at 12% -60%, color-mix(in srgb, var(--surface) 55%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 34%, transparent), color-mix(in srgb, var(--surface) 14%, transparent));
  --glass-veil-dense: radial-gradient(120% 160% at 12% -60%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--surface) 64%, transparent), color-mix(in srgb, var(--surface) 46%, transparent));
  --glass-blur: blur(22px) saturate(190%) brightness(1.04);
  --glass-shade: inset 0 1px 0 color-mix(in srgb, var(--surface) 90%, transparent), inset 0 -12px 24px -18px color-mix(in srgb, var(--green-400) 45%, transparent), 0 20px 44px -26px rgb(var(--shadow) / .38), 0 2px 6px -3px rgb(var(--shadow) / .12);
}
/* The page slides under the bar so the glass has something to refract. */
.site-header { background: none; border: 0; box-shadow: none; padding-top: 10px; margin-bottom: calc(-1 * var(--header-h)); }
.site-header::before, .site-header.is-scrolled::before { display: none; }
.site-main::before { content: ""; display: block; height: var(--header-h); }
.home .site-main::before { display: none; }
.home .hero { padding-top: calc(var(--header-h) + 28px); }
@media (min-width: 900px) and (min-height: 600px) { .home .hero { min-height: 100svh; } }

.site-header-inner { position: relative; min-height: 62px; padding: 0 7px 0 22px; gap: 16px; }
.site-header-inner::before, .site-header .brand::before, .header-cluster::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: var(--glass-r);
  background: var(--glass-veil); box-shadow: var(--glass-shade);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transition: opacity .55s var(--glass-ease), transform .55s var(--glass-ease);
}
/* Refracted rim: a 1px gradient edge, bright top-left, mint bottom-right. */
.site-header-inner::after, .site-header .brand::after, .header-cluster::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: var(--glass-r); padding: 1px;
  background: linear-gradient(125deg, color-mix(in srgb, var(--surface) 95%, transparent), color-mix(in srgb, var(--surface) 20%, transparent) 38%, transparent 55%, color-mix(in srgb, var(--mint-300) 70%, transparent));
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black); -webkit-mask-composite: xor;
  mask: linear-gradient(black, black) content-box exclude, linear-gradient(black, black);
  transition: opacity .55s var(--glass-ease);
}
.site-header .brand, .header-cluster { position: relative; isolation: isolate; }
.site-header .brand { padding: 0; min-height: 48px; transition: padding .55s var(--glass-ease); }
.site-header .brand::before, .site-header .brand::after, .header-cluster::before, .header-cluster::after { opacity: 0; }
.site-header .brand::before, .header-cluster::before { transform: scale(.96); background: var(--glass-veil-dense); }
.header-cluster { display: flex; align-items: center; gap: 12px; margin-left: auto; min-height: 48px; padding: 0; transition: padding .55s var(--glass-ease); }
.header-cluster .nav { margin-left: 0; }
.site-header .header-book { --h: 40px; border-radius: 4px; }
.nav-peek { display: none; }

@media (min-width: 960px) {
  .nav { max-width: 760px; overflow: hidden; transition: max-width .7s var(--glass-ease), opacity .45s var(--glass-ease); }
  .nav ul { transition: transform .7s var(--glass-ease); padding-inline: 2px; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  .site-header.is-condensed .site-header-inner::before, .site-header.is-condensed .site-header-inner::after { opacity: 0; transform: scale(.99); }
  .site-header.is-condensed .brand { padding: 0 16px; }
  .site-header.is-condensed .brand::before, .site-header.is-condensed .brand::after,
  .site-header.is-condensed .header-cluster::before, .site-header.is-condensed .header-cluster::after { opacity: 1; transform: none; }
  .site-header.is-condensed .header-cluster { padding: 0 4px; }
  .site-header.is-condensed:not(.is-peek) .header-cluster:not(:hover):not(:focus-within) .nav { max-width: 0; opacity: 0; }
  .site-header.is-condensed:not(.is-peek) .header-cluster:not(:hover):not(:focus-within) .nav ul { transform: translateX(60px); }
  .site-header.is-condensed .header-cluster:hover, .site-header.is-condensed .header-cluster:focus-within, .site-header.is-peek .header-cluster { padding-left: 20px; }
  .nav-peek { display: inline-grid; grid-auto-flow: column; place-content: center; gap: 3px; width: 0; height: 40px; padding: 0; border: 0; border-radius: 4px; background: color-mix(in srgb, var(--surface) 55%, transparent); cursor: pointer; opacity: 0; overflow: hidden; transition: width .5s var(--glass-ease), opacity .4s var(--glass-ease); }
  .nav-peek span { width: 4px; height: 4px; border-radius: 50%; background: var(--green-800); }
  .site-header.is-condensed:not(.is-peek) .header-cluster:not(:hover):not(:focus-within) .nav-peek { width: 40px; opacity: 1; }
  .site-header .brand img { transition: width .55s var(--glass-ease); }
  .site-header.is-condensed .brand img { width: clamp(140px, 12vw, 170px); }
}
@media (max-width: 959px) {
  .site-header { padding-top: 8px; }
  .site-header-inner { margin-inline: 10px; width: auto; min-height: 52px; padding: 0 4px 0 14px; }
  .site-header.is-condensed .site-header-inner::before, .site-header.is-condensed .site-header-inner::after { opacity: 0; }
  .site-header.is-condensed .brand { padding: 0 12px; min-height: 44px; }
  .site-header.is-condensed .brand::before, .site-header.is-condensed .brand::after,
  .site-header.is-condensed .header-cluster::before, .site-header.is-condensed .header-cluster::after { opacity: 1; transform: none; }
  .site-header.is-condensed .header-cluster { padding: 0 4px 0 6px; min-height: 44px; }
  .site-header.is-condensed .brand img { width: 140px; }
  body.nav-open .site-header-inner::before, body.nav-open .site-header-inner::after { opacity: 1; }
  .home .hero { padding-top: calc(var(--header-h) + 16px); }
}
@media (prefers-reduced-motion: reduce) { .site-header *, .site-header *::before, .site-header *::after { transition: none !important; } }

/* Over content (once scrolled) the veil thickens a little so links stay readable on dark bands. */
.site-header.is-scrolled .site-header-inner::before { background: var(--glass-veil-dense); }

/* ------------------------- footer + WhatsApp: the same liquid glass as the navbar */
.site-footer {
  --on-deep: var(--green-900); --on-deep-2: var(--green-800); --on-deep-muted: var(--green-700);
  background: linear-gradient(180deg, var(--mint-50), var(--mint-100)); color: var(--green-900);
  padding: 10px clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px);
}
.site-footer::before { opacity: .16; }
.site-footer > .wrap { position: relative; isolation: isolate; padding: clamp(8px, 2vw, 16px) clamp(18px, 3vw, 36px) 20px; }
.site-footer > .wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: var(--glass-r);
  background: var(--glass-veil-dense); box-shadow: var(--glass-shade); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.site-footer > .wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: var(--glass-r); padding: 1px;
  background: linear-gradient(125deg, color-mix(in srgb, var(--surface) 95%, transparent), color-mix(in srgb, var(--surface) 20%, transparent) 38%, transparent 55%, color-mix(in srgb, var(--mint-300) 70%, transparent));
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black); -webkit-mask-composite: xor;
  mask: linear-gradient(black, black) content-box exclude, linear-gradient(black, black);
}
@media (hover: hover) { .site-footer a:hover { color: var(--green-600); } }
.site-footer .footer-base img { width: 170px; opacity: 1; }

.wa-float { border-radius: 50%; background: #128C4A; color: #fff; isolation: isolate; border: 2px solid #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .28); }
.wa-float .icon { width: 29px; height: 29px; }
.wa-float:focus-visible { outline: 3px solid #075e2e; outline-offset: 3px; }
@media (hover: hover) { .wa-float:hover { background: #0B6B38; color: #fff; } .bk-alt-btn--wa:hover { background: #0B6B38; color: #fff; } }

/* Navbar "How it works": keep the subtle text highlight without the animated underline. */
.nav a.nav-feature {
  color: var(--green-700); text-shadow: none; animation: none;
  background: linear-gradient(100deg, var(--green-700) 0%, var(--green-700) 38%, var(--mint-300) 50%, var(--green-700) 62%, var(--green-700) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--green-400) 30%, transparent));
}
.nav a.nav-feature::after {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .nav a.nav-feature { animation: nav-shine 4.5s ease-in-out infinite; }
}
@keyframes nav-shine { 0%, 45% { background-position: 100% 0; } 100% { background-position: 0% 0; } }

/* Technology cards with photos (once all three are in). */
.hiw-cards--photo .hiw-card { padding: 0; overflow: hidden; }
.hiw-card-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint-50); }
.hiw-card-media img { width: 100%; height: 100%; object-fit: cover; }
.hiw-cards--photo .hiw-card h3 { margin: 18px 22px 6px; }
.hiw-cards--photo .hiw-card p { margin: 0 22px 22px; }

/* ------------------------- aurora background (replaces the wave lines; About first) */
/* Soft pools of mint and green light drifting slowly, plus fine film grain.
   No lines, so nothing competes with the text. Only transform animates. */
.about-hero { overflow: visible; clip-path: inset(0 calc(50% - 50vw)); }
.site-main { overflow-x: clip; }
.about-hero::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--mint-50), color-mix(in srgb, var(--mint-100) 60%, var(--surface)) 75%, var(--surface));
}
.about-hero::after {
  -webkit-mask: none; mask: none; opacity: 1; animation: none;
  inset: -8% calc(50% - 50vw - 6%);
  background:
    radial-gradient(34% 58% at 16% 34%, color-mix(in srgb, var(--mint-200) 75%, transparent), transparent 70%),
    radial-gradient(28% 50% at 74% 22%, color-mix(in srgb, var(--green-400) 20%, transparent), transparent 72%),
    radial-gradient(38% 55% at 58% 88%, color-mix(in srgb, var(--mint-300) 42%, transparent), transparent 70%),
    radial-gradient(22% 36% at 92% 70%, color-mix(in srgb, var(--surface) 85%, transparent), transparent 70%),
    radial-gradient(26% 40% at 36% 8%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .about-hero::after { animation: aurora-drift 24s ease-in-out infinite alternate; }
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.06) rotate(1.5deg); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.03) rotate(-1deg); }
}

/* Phone fields: a quiet line saying we may call back. */
.tel-note { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }

/* Contact dialog + the quiet link under the booking alternatives. */
.contact-dialog .form-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .contact-dialog .form-grid { grid-template-columns: 1fr; } }
.bk-alt-more { margin: 20px 0 0; text-align: center; font-size: var(--step--1); }
.bk-alt-more a { color: var(--green-700); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .bk-alt-more a:hover { text-decoration: underline; } }

@media print {
  .site-header, .site-footer, .wa-float, .map-facade, .video { display: none; }
  body { background: var(--surface); }
}

/* Shared light across page templates; solid controls and cards retain contrast. */
.itc .page-hero::before, .itc .page-hero::after,
.itc .article-head::before, .itc .article-head::after,
.itc .band--mint::before, .itc .band--deep::before,
.itc .hero::before, .itc .book::before,
.itc .site-footer::before, .itc .silk { display: none; }
.itc .hero, .itc .band--mint, .itc .band--white,
.itc .band-surface, .itc .band, .itc .book,
.itc .issue-section { background: transparent; }
.itc .band--deep { background: linear-gradient(120deg, rgb(20 71 52 / .96), rgb(28 89 68 / .89), rgb(21 66 57 / .96)); }
.itc .site-footer { background: linear-gradient(120deg, #e0efdf, #edf1de 52%, #d8ebe1); }
@media print {
  .itc .band--deep { background: #fff; color: #172c23; --ink: #172c23; --ink-2: #334b40; --muted: #334b40; --on-deep: #172c23; --on-deep-2: #334b40; --on-deep-muted: #334b40; }
}

/* Emerald glass keeps the WhatsApp mark distinct over every page background. */
.wa-float {
  width: 60px; height: 60px; overflow: hidden;
  color: #fff; border: 1px solid rgb(255 255 255 / .8);
  background: linear-gradient(145deg, rgb(42 177 112 / .94), rgb(5 106 58 / .96));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 2px 2px rgb(255 255 255 / .5), inset 0 -3px 8px rgb(0 55 28 / .28), 0 8px 24px rgb(3 63 37 / .28), 0 0 0 4px rgb(255 255 255 / .2);
}
.wa-float::before {
  content: ""; position: absolute; inset: 2px 5px 48%; border-radius: 50%;
  background: linear-gradient(rgb(255 255 255 / .3), transparent);
  pointer-events: none;
}
.wa-float .icon { position: relative; width: 32px; height: 32px; filter: drop-shadow(0 1px 1px rgb(0 50 25 / .25)); }
@media (hover: hover) { .wa-float:hover { background: linear-gradient(145deg, #21a36b, #076338); color: #fff; } }

.booking-form .bk-actions { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; }
.booking-form .bk-actions .bk-back { margin: 0; flex-shrink: 0; }
.booking-form .bk-actions .btn { margin-left: auto; }
.bk-alt > summary { cursor: pointer; min-height: 44px; margin: 0; list-style: none; }
.bk-alt > summary::-webkit-details-marker { display: none; }
.bk-alt > summary span::after { content: " +"; color: var(--green-700); font-weight: 600; }
.bk-alt[open] > summary { margin-bottom: 12px; }
.bk-alt[open] > summary span::after { content: " −"; }
.bk-alt > summary:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 420px) {
  .booking-form .bk-actions .btn { padding-inline: 16px; gap: 6px; font-size: .88rem; }
  .booking-form .bk-actions .bk-back { font-size: .82rem; }
}

@media (max-width: 420px) {
  .booking-form .bk-actions { gap: 8px; }
  .booking-form .bk-actions .btn { padding-inline: 12px; font-size: .8rem; }
  .booking-form .bk-actions .btn .icon { display: none; }
  .booking-form .bk-actions .bk-back { font-size: .78rem; }
}
