/* =========================================================
   CoralMed Aesthetic — design proposal (desktop 1920)
   World: the cyanotype specimen book
   ========================================================= */

@property --r   { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --dev { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  /* brand (brief) */
  --ink: #1E2B3C;
  --ivory: #F8F9F7;
  --sage: #E8EDE8;
  /* derived */
  --ink-deep: #141D29;
  --ink-2: #2A3B51;
  --ink-line: rgba(248, 249, 247, .22);
  --ink-soft: #AEBBCB;          /* secondary text on ink, 7.6:1 */
  --paper-line: rgba(30, 43, 60, .16);
  --text: #1E2B3C;
  --text-soft: #4D5B6C;         /* secondary text on ivory, 6.9:1 */
  --sage-2: #D7DFD8;
  --coral: #E3826C;             /* the one living tint: active / developed */
  --coral-ink: #B4523D;         /* coral text on light, 4.9:1 */

  --f-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --f-text: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* one type scale for every section */
  --fs-h1: 84px;     /* hero + page heads */
  --fs-h2: 60px;     /* section titles */
  --fs-h3: 40px;     /* sub-sections, category names */
  --fs-h4: 28px;     /* item titles */
  --fs-lead: 20px;   /* intro paragraph under a title */
  --fs-body: 18px;
  --fs-small: 15px;
  --gap-title: 28px; /* title → intro paragraph */
  --section-y: 160px;

  --gutter: 120px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-width: 1440px;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--coral); color: var(--ink-deep); }
html { scrollbar-color: var(--ink-2) var(--sage); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--sage); }
::-webkit-scrollbar-thumb { background: var(--ink-2); border: 3px solid var(--sage); border-radius: 12px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
input, textarea, select { caret-color: var(--coral-ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 24px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- grounds ---------- */
.ink {
  position: relative;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 90% at 30% 20%, rgba(52, 72, 98, .55), transparent 60%),
    radial-gradient(90% 80% at 85% 90%, rgba(10, 16, 24, .55), transparent 65%);
  color: var(--ivory);
  isolation: isolate;
}
.ink::before { /* sun-print paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.paper { background: var(--ivory); color: var(--text); }
.sage  { background: var(--sage); color: var(--text); }

/* ---------- type ---------- */
/* all serif headings share one voice: sturdy optical size, medium weight */
.display, .h3, .h4,
.index__name, .tgroup__name, .titem__name, .method__text h3, .principles h3,
.values__list dt, .team__member b, .fgroup__name, .form__title, .finance__partners li,
.story__ledger dd, .faq__help p, .voices__quote p {
  font-family: var(--f-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
  font-weight: 500;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.display { line-height: 1.08; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-soft); max-width: 48ch; }
.note { font-size: 14px; color: var(--text-soft); letter-spacing: .01em; }
.note--ink { color: var(--ink-soft); }
.plate-caption { font-size: 14px; line-height: 1.5; color: inherit; opacity: .78; max-width: 52ch; }
.plate-caption em { font-family: var(--f-display); font-size: 16px; font-style: italic; margin-right: .35em; opacity: 1; }

/* split headline lines */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.w > span { display: inline-block; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--ivory); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 34px;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .3s var(--ease-out);
}
.btn::before { /* tint wipes up from below, like a print developing */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--coral);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink-deep); border-color: var(--coral); }
.btn:active { transform: scale(.97); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 15px; }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); }
.btn--ghost { --bg: transparent; --fg: var(--ivory); border-color: var(--ink-line); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ivory);
  padding: 8px 0; position: relative;
}
.link-arrow svg { width: 40px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .45s var(--ease-out); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 54px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(8px); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow--ink { color: var(--ink); }

.textbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; color: inherit; font-weight: 500; }
.textbtn:hover { color: var(--coral-ink); }
.ink .textbtn:hover { color: var(--coral); }

.iconbtn {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--paper-line); background: transparent; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.iconbtn:active { transform: scale(.94); }
.iconbtn--light { color: var(--ivory); border-color: var(--ink-line); width: 42px; height: 42px; }
.iconbtn--light:hover { background: var(--ivory); color: var(--ink); }

.chip {
  height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--ink-line); background: transparent; color: var(--ivory);
  font-size: 15px; transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--ivory);
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out), box-shadow .5s, transform .6s var(--ease-out);
}
.masthead.is-paper { color: var(--ink); }
.masthead.is-solid.is-paper { background: rgba(248, 249, 247, .94); box-shadow: 0 1px 0 var(--paper-line); }
.masthead.is-solid:not(.is-paper) { background: rgba(20, 29, 41, .9); box-shadow: 0 1px 0 var(--ink-line); }
.masthead.is-hidden { transform: translateY(-100%); }
.masthead__inner { height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }

/* logo: horizontal lockup (butterfly + CORALMED / AESTHETICS)
   white version on navy grounds (default header, footer), color version on light grounds (header .is-paper) */
.brand {
  --logo-wash: #FFFFFF; --logo-wash-op: .22;
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
}
.brand__mark { height: 50px; width: 40px; flex: none; overflow: visible; transition: color .5s var(--ease-out); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: 'Bodoni Moda', var(--f-display); font-weight: 500; font-size: 27px; letter-spacing: .035em; }
.brand__word span { margin-top: 6px; font-family: var(--f-text); font-size: 9.5px; font-weight: 500; letter-spacing: .56em; padding-left: .56em; text-align: center; }
.masthead.is-paper .brand { --logo-wash: #A7C8E8; --logo-wash-op: .85; }
.masthead.is-paper .brand__word b { color: #1F3A5F; } /* the logo's navy wordmark */
.brand--lg .brand__mark { height: 72px; width: 58px; }
.brand--lg .brand__word b { font-size: 40px; }
.brand--lg .brand__word span { margin-top: 9px; font-size: 13px; }

.mainnav { display: flex; gap: 6px; }
.mainnav a {
  position: relative; padding: 10px 18px; text-decoration: none; font-size: 16px; font-weight: 500;
}
.mainnav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral); transform: translate(-50%, 6px) scale(0); transition: transform .45s var(--ease-out);
}
.mainnav a:hover::after { transform: translate(-50%, 0) scale(.7); }
.mainnav a[aria-current="page"]::after { transform: translate(-50%, 0) scale(1); }
.masthead__end { display: flex; align-items: center; gap: 20px; }

/* social icons (header + footer) */
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social svg .f { fill: currentColor; stroke: none; }
.social--head { display: flex; gap: 2px; }
.social--head a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background .3s, color .3s; }
.social--head a:hover { background: var(--coral); color: var(--ink-deep); }
.social--foot { display: flex; gap: 10px; margin-top: 20px; }
.social--foot a { display: inline-flex; }
.social__ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.social--foot a:hover .social__ico { background: var(--coral); border-color: var(--coral); color: var(--ink-deep); }

/* language selector (visual only, no translation yet) */
.lang { position: relative; }
.lang__btn {
  height: 40px; padding: 0 12px 0 10px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent);
  background: transparent; font-size: 14px; font-weight: 600; letter-spacing: .04em; transition: border-color .3s;
}
.lang__btn:hover { border-color: currentColor; }
.lang__flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; display: inline-block; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang__flag svg { width: 100%; height: 100%; display: block; }
.lang__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease-out); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
  background: var(--ivory); color: var(--ink); border-radius: 14px;
  box-shadow: 0 20px 44px -16px rgba(10, 16, 24, .45), 0 0 0 1px rgba(30, 43, 60, .08);
}
.lang__menu li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.lang__menu li b { font-weight: 600; letter-spacing: .04em; min-width: 22px; }
.lang__menu li span:last-child { color: var(--text-soft); }
.lang__menu li:hover, .lang__menu li:focus { background: var(--sage); outline: none; }
.lang__menu li[aria-selected="true"] { background: var(--sage); }
.masthead.is-paper .btn--solid { --bg: var(--ink); --fg: var(--ivory); }

/* ---------- sea-fan silhouettes ---------- */
.fan { position: absolute; pointer-events: none; z-index: -1; overflow: visible; }
.fan path { fill: none; stroke: var(--ivory); stroke-linecap: round; }
.fan circle { fill: var(--ivory); }
.fan--hero { left: 520px; bottom: -260px; width: 1000px; height: 1100px; opacity: .1; filter: url(#sunprint); }
.fan--head { right: 80px; bottom: -120px; width: 620px; height: 700px; opacity: .16; filter: url(#sunprint); }
.fan--contact { left: 30%; bottom: -180px; width: 700px; height: 800px; opacity: .08; filter: url(#sunprint); }

/* ---------- prints: cyanotype duotone that develops ---------- */
.print {
  position: relative; overflow: hidden; background: var(--ink);
  --dev: 0;
}
.print > img, .print__dev { width: 100%; height: 100%; object-fit: cover; }
.print > img:first-child {
  filter: grayscale(1) contrast(1.12) brightness(1.04);
  mix-blend-mode: screen;
}
.print::after { /* blue cast on highlights, like iron salts */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #C9D5E3; mix-blend-mode: multiply; opacity: .55;
  -webkit-mask-image: linear-gradient(to top, transparent calc(var(--dev) * 1%), #000 calc(var(--dev) * 1% + 18%));
  mask-image: linear-gradient(to top, transparent calc(var(--dev) * 1%), #000 calc(var(--dev) * 1% + 18%));
}
.print__dev {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--dev) * 1.2% - 20%), transparent calc(var(--dev) * 1.2%));
  mask-image: linear-gradient(to top, #000 calc(var(--dev) * 1.2% - 20%), transparent calc(var(--dev) * 1.2%));
}
.print .frame-line { position: absolute; inset: 10px; border: 1px solid rgba(248, 249, 247, .45); pointer-events: none; z-index: 2; transform-origin: top left; }

/* ============================================ HOME */
.hero {
  min-height: 100vh; min-height: max(100vh, 780px);
  padding: calc(var(--header-h) + 28px) var(--gutter) 56px;
  display: flex; align-items: center;
  overflow: hidden;
}
/* 3 background photos crossfading (assets/js/app.js → hero slides) */
.hero__slides { position: absolute; inset: 0; z-index: -1; }
/* crossfade without gaps: the new photo fades in ON TOP of the previous one, which stays
   fully visible and keeps its scale (no zoom snap) until the new one has covered it */
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%;
  opacity: 0; z-index: 0; will-change: opacity, transform;
}
.hero__slides img.is-prev { opacity: 1; z-index: 1; }
.hero__slides img.is-on { opacity: 1; z-index: 2; }
.hero__slides::after { /* navy veil: solid behind the copy, opening toward the photo */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 29, 41, .94) 0%, rgba(20, 29, 41, .84) 45%, rgba(30, 43, 60, .42) 75%, rgba(30, 43, 60, .22) 100%),
    linear-gradient(0deg, rgba(20, 29, 41, .45), transparent 40%);
}
.hero__slides::after { z-index: 3; }
.hero__copy { position: relative; z-index: 2; width: min(880px, 100%); padding-bottom: 24px; }
.hero__title { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.02em; max-width: 17ch; }
.hero__lede { margin-top: var(--gap-title); font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }
.hero__actions { margin-top: 40px; display: flex; align-items: center; gap: 40px; }

/* philosophy */
.philosophy { padding: var(--section-y) var(--gutter); }
.philosophy__grid {
  display: grid; grid-template-columns: 1fr 1fr 520px; grid-template-rows: auto auto 1fr; column-gap: 80px;
}
.philosophy__title { grid-column: 1 / 3; font-size: var(--fs-h2); max-width: 16ch; }
.philosophy__body { grid-column: 1 / 3; grid-row: 2; margin-top: var(--gap-title); }
.philosophy__print { grid-column: 3; grid-row: 1 / 4; align-self: start; }
.print--tall { aspect-ratio: 3 / 4; }
.philosophy__print .plate-caption { position: absolute; left: 0; bottom: -40px; color: var(--text-soft); }
.philosophy__print { overflow: visible; }
.philosophy__print > img, .philosophy__print .print__dev { position: absolute; inset: 0; }
.principles { grid-column: 1 / 3; grid-row: 3; margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; align-self: start; }
.principles li { padding-top: 32px; border-top: 1px solid var(--paper-line); display: grid; grid-template-rows: auto auto 1fr; align-content: start; }
.principles__icon {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--paper-line);
  display: grid; place-items: center; margin-bottom: 24px; color: var(--ink);
  transition: background .5s var(--ease-out), color .5s var(--ease-out), border-color .5s;
}
.principles__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.principles__icon .accent { fill: var(--coral); stroke: none; }
.principles li:hover .principles__icon { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.principles h3 { font-size: var(--fs-h4); line-height: 1.2; white-space: nowrap; }
.principles p { margin-top: 12px; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 32ch; }

/* index of disciplines */
.index { padding: var(--section-y) var(--gutter); position: relative; }
.index__head { margin-bottom: 72px; }
.index__title { font-size: var(--fs-h2); max-width: 18ch; }
.index__intro { margin-top: var(--gap-title); color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 48ch; }
/* discipline viewer: tab list (left) + one fixed specimen plate (right) */
.disc { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 96px; align-items: start; }
.disc__tabs { border-top: 1px solid var(--paper-line); position: sticky; top: calc(var(--header-h) + 40px); }
.disc__tab {
  position: relative; width: 100%; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px;
  padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--paper-line);
  text-align: left; color: rgba(30, 43, 60, .5); transition: color .4s var(--ease-out);
}
.disc__tab::before { /* coral dot = selected specimen */
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral);
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.disc__tab::after { /* ink rule grows under the active row */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.disc__name { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.012em; transition: transform .5s var(--ease-out); }
.disc__count { font-size: var(--fs-small); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.disc__tab:hover { color: var(--ink); }
.disc__tab:hover .disc__name { transform: translateX(4px); }
.disc__tab[aria-selected="true"] { color: var(--ink); }
.disc__tab[aria-selected="true"]::before { transform: scale(1); }
.disc__tab[aria-selected="true"]::after { transform: scaleX(1); }
/* autoplay: the active rule fills over 3s before the next discipline */
.disc__tab.is-timing::after { animation: discTimer 3s linear forwards; }
@keyframes discTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.disc__stage { position: relative; display: grid; }
.disc__panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.disc__panel[hidden] { display: none !important; }
.disc__panel .print { height: 520px; }
.disc__body { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.disc__body h3 { font-size: var(--fs-h3); line-height: 1.15; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; letter-spacing: -.012em; }
.disc__body p { margin-top: 14px; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 46ch; }
.disc__list { border-top: 1px solid var(--paper-line); }
.disc__list li { border-bottom: 1px solid var(--paper-line); }
.disc__list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--ink); transition: color .3s; }
.disc__list a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .4; transition: opacity .3s, transform .4s var(--ease-out); }
.disc__list a:hover { color: var(--coral-ink); }
.disc__list a:hover svg { opacity: 1; transform: translateX(4px); }
.disc__actions { margin-top: 32px; display: flex; align-items: center; gap: 32px; }

/* method (pinned horizontal) */
.method { overflow: hidden; }
.method__pin { height: 100vh; display: flex; align-items: center; padding-left: var(--gutter); gap: 120px; }
.method__intro { flex: 0 0 480px; }
.method__title { font-size: var(--fs-h2); max-width: 10ch; }
.method__intro p { margin-top: var(--gap-title); color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 32ch; }
.method__progress { margin-top: 64px; height: 1px; background: var(--ink-line); width: 360px; position: relative; }
.method__progress span { position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.method__track { display: flex; gap: 96px; padding-right: var(--gutter); will-change: transform; }
.method__panel { flex: 0 0 600px; display: flex; flex-direction: column; gap: 36px; }
.method__panel:nth-child(even) { margin-top: 160px; }
.method__panel .print { height: 560px; }
.method__panel:nth-child(even) .print { height: 460px; }
.method__text h3 { font-size: var(--fs-h4); line-height: 1.2; }
.method__text p { margin-top: 14px; color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 36ch; }

/* voices */
.voices { padding: var(--section-y) var(--gutter); }
.voices__head { margin-bottom: 72px; }
.voices__title { font-size: var(--fs-h2); max-width: 16ch; }
.voices__lede { margin-top: var(--gap-title); color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 48ch; }

/* Google reviews widget (visual reference for the WordPress plugin) */
.greviews { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.greviews__summary { padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; }
.greviews__source { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.gmark { width: 22px; height: 22px; flex: none; }
.greviews__score { margin-top: 24px; display: flex; align-items: center; gap: 18px; }
.greviews__score > span:first-child { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 72px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.greviews__count { margin-top: 12px; color: var(--text-soft); font-size: var(--fs-small); }
.greviews__count b { color: var(--ink); font-weight: 600; }
.greviews__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.stars { --pct: 100%; position: relative; display: inline-block; width: 110px; height: 20px; flex: none;
  background: linear-gradient(90deg, #E8A93A var(--pct), rgba(30, 43, 60, .16) var(--pct));
  -webkit-mask: var(--star-mask) left / 22px 20px repeat-x; mask: var(--star-mask) left / 22px 20px repeat-x; }
.stars--lg { width: 150px; height: 27px; -webkit-mask-size: 30px 27px; mask-size: 30px 27px; }
:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 1.2l2.6 5.4 5.9.8-4.3 4.1 1 5.9L10 14.6l-5.2 2.8 1-5.9L1.5 7.4l5.9-.8z'/%3E%3C/svg%3E"); }

.greviews__carousel { min-width: 0; }
.greviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 2px 8px; margin: -4px -2px 0; overscroll-behavior-x: contain;
}
.greviews__track::-webkit-scrollbar { display: none; }
.gcard {
  scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 28px; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), border-color .4s;
}
.gcard:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -24px rgba(20, 29, 41, .28); }
.gcard__top { display: grid; grid-template-columns: 48px 1fr 22px; gap: 14px; align-items: center; }
.gcard__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--ivory); }
.gcard__name { font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--ink); }
.gcard__when { font-size: 14px; color: var(--text-soft); }
.gcard__stars { margin-top: 18px; }
.gcard__text { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.gcard.is-open .gcard__text { -webkit-line-clamp: unset; display: block; }
.gcard__more { margin-top: auto; padding: 18px 0 0; align-self: flex-start; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--text-soft); text-decoration: underline; text-underline-offset: .22em; }
.gcard__more:hover { color: var(--coral-ink); }
.greviews__nav { margin-top: 32px; display: flex; align-items: center; gap: 20px; }
.greviews__pos { font-size: var(--fs-small); color: var(--text-soft); font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.iconbtn:disabled { opacity: .35; pointer-events: none; }

/* finance */
/* finance: full-bleed print on the left, the plan on the right */
.finance { display: grid; grid-template-columns: 46% minmax(0, 1fr); align-items: stretch; }
.finance__media { position: relative; min-height: 980px; overflow: hidden; }
.finance__media > img, .finance__media .print__dev { position: absolute; inset: 0; }
.finance__media .frame-line { inset: 20px; }
.finance__caption { position: absolute; left: var(--gutter); bottom: 36px; z-index: 3; color: var(--ivory); opacity: 1;
  padding: 10px 16px; background: rgba(20, 29, 41, .72); border-radius: 999px; }
.finance__content { padding: 128px var(--gutter) 128px 104px; display: flex; flex-direction: column; justify-content: center; }
.finance__title { font-size: var(--fs-h2); max-width: 13ch; }
.finance__lede { margin-top: var(--gap-title); color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 46ch; }

.finance__steps { margin-top: 44px; border-top: 1px solid var(--paper-line); max-width: 680px; }
.finance__steps li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--paper-line); }
.finance__step {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--ink);
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.finance__steps li:hover .finance__step { background: var(--coral); border-color: var(--coral); color: var(--ink-deep); }
.finance__steps h3 { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.finance__steps p { margin-top: 6px; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 48ch; }

.finance__partners { margin-top: 40px; }
.finance__partners p { font-size: var(--fs-small); font-weight: 600; color: var(--text-soft); }
.finance__partners ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.finance__partners li {
  height: 52px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--ivory); border: 1px solid var(--paper-line);
  font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 19px; color: var(--ink);
}
.finance__actions { margin-top: 40px; display: flex; align-items: center; gap: 36px; }

/* before & after: full-width carousel, 6 vertical photos (before top / after bottom) */
.results { padding: var(--section-y) 0 120px; overflow: hidden; }
.results__head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; }
.results__title { font-size: var(--fs-h2); max-width: 14ch; }
.results__lede { margin-top: var(--gap-title); color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 48ch; }
.results__nav { display: flex; align-items: center; gap: 18px; flex: none; }
.results__nav .iconbtn { width: 52px; height: 52px; }
.results__pos { font-size: var(--fs-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; min-width: 72px; text-align: center; }

.results__track {
  --cols: 6; --gap: 16px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols));
  padding: 0 16px; scroll-padding-inline: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  cursor: grab;
}
.results__track::-webkit-scrollbar { display: none; }
.results__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.results__track.is-drag .ba { pointer-events: none; }
.results__track > li { scroll-snap-align: start; }

.ba {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 2; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; background: var(--ink-2); color: var(--ivory);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.ba img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ba:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.ba:hover img { transform: scale(1.03); }
.ba::after { /* the seam between before and after */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(248, 249, 247, .55); z-index: 2;
}
.ba__tag {
  position: absolute; left: 12px; z-index: 3; height: 28px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: rgba(20, 29, 41, .72); color: var(--ivory);
}
.ba__tag--before { top: 12px; }
.ba__tag--after { top: calc(50% + 12px); background: var(--coral); color: var(--ink-deep); }
.ba__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivory); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease-out);
}
.ba__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ba:hover .ba__zoom, .ba:focus-visible .ba__zoom { opacity: 1; transform: scale(1); }

/* sized placeholder until the client's photos arrive */
.ba__ph { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr; }
.ba__ph span { display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.ba__ph span:first-child { background: linear-gradient(160deg, #2E4058, #24344A); }
.ba__ph span:last-child { background: linear-gradient(160deg, #3A4F68, #2C3E55); }
.ba__ph svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; }

.ba__cap { margin-top: 14px; padding: 0 4px; }
.ba__cap b { display: block; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 20px; line-height: 1.25; }
.ba__cap span { font-size: 14px; color: var(--ink-soft); }
.results__note { padding: 40px var(--gutter) 0; font-size: 14px; color: var(--ink-soft); }

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(12, 18, 26, .94); color: var(--ivory);
}
.lightbox[open] { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; justify-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__media { position: relative; height: 82vh; aspect-ratio: 1 / 2; border-radius: 16px; overflow: hidden; background: var(--ink-2); }
.lightbox__media .ba { height: 100%; width: auto; border-radius: 0; pointer-events: none; }
.lightbox__media .ba:hover { transform: none; box-shadow: none; }
.lightbox figcaption { text-align: center; font-size: 15px; color: var(--ink-soft); }
.lightbox figcaption b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 24px; color: var(--ivory); }
.lightbox__close { position: absolute; top: 28px; right: 28px; }
.lightbox .iconbtn { width: 52px; height: 52px; }

/* closing */
.closing { padding: var(--section-y) var(--gutter); }
.closing__inner { display: flex; flex-direction: column; align-items: flex-start; }
.closing__title { font-size: var(--fs-h2); max-width: 18ch; }
/* final CTA: background photo under an ivory overlay (content unchanged) */
.closing--bg { position: relative; overflow: hidden; isolation: isolate; }
.closing__bg { position: absolute; inset: 0; z-index: -1; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.closing__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(248, 249, 247, .95) 0%, rgba(248, 249, 247, .88) 45%, rgba(248, 249, 247, .6) 100%);
}
/* navy version (About page): same photo under a navy veil so white text stays readable */
.closing--bg-ink .closing__bg::after {
  background: linear-gradient(90deg, rgba(20, 29, 41, .95) 0%, rgba(20, 29, 41, .86) 45%, rgba(30, 43, 60, .55) 100%);
}
.closing__actions { margin-top: 40px; display: flex; gap: 44px; align-items: center; }

/* ============================================ PAGE HEADS */
.pagehead { padding: calc(var(--header-h) + 88px) var(--gutter) 80px; overflow: hidden; min-height: 420px; }
/* page-head background photo under a navy overlay (content unchanged) */
.pagehead { position: relative; }
.pagehead__bg { position: absolute; inset: 0; z-index: -1; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pagehead__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 29, 41, .94) 0%, rgba(20, 29, 41, .86) 45%, rgba(30, 43, 60, .7) 100%);
}
.pagehead__title { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.015em; max-width: 26ch; }
.pagehead__lede { margin-top: var(--gap-title); color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.6; max-width: 52ch; }

/* ============================================ BOOK (visual demo, same .bk classes as the engine widget) */
.pagehead--book { min-height: 420px; }
.booking { padding: 64px var(--gutter) var(--section-y); }
.bk-steps { display: flex; gap: 8px; margin-bottom: 40px; }
.bk-steps li {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px 0 8px; border-radius: 999px;
  border: 1px solid var(--paper-line); font-size: var(--fs-small); font-weight: 600; color: var(--text-soft);
  transition: background .4s, color .4s, border-color .4s;
}
.bk-steps li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--f-display); font-size: 15px; }
.bk-steps li.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.bk-steps li.is-done { color: var(--ink); border-color: var(--ink); }
.bk-steps li.is-done span { background: var(--coral); border-color: var(--coral); color: var(--ink-deep); }

.bk-card { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 22px; overflow: hidden; }
.bk-summary { background: var(--ink); color: var(--ivory); position: relative; }
.bk-summary-inner { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; }
.bk-sum-print { height: 260px; flex: none; }
.bk-sum-body { padding: 36px 36px 40px; display: flex; flex-direction: column; flex: 1; }
.bk-sum-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.bk-sum-service { margin-top: 12px; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: var(--fs-h4); line-height: 1.2; }
.bk-sum-meta { margin-top: 6px; font-size: var(--fs-small); color: var(--ink-soft); }
.bk-sum-list { margin-top: 28px; border-top: 1px solid var(--ink-line); }
.bk-sum-list div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 15px; }
.bk-sum-list dt { color: var(--ink-soft); }
.bk-sum-help { padding-top: 28px; font-size: 14px; color: var(--ink-soft); }
.bk-step:focus, .bk-step-title:focus { outline: none; }
.bk-sum-help a { color: var(--ivory); }

.bk-main { padding: 44px 48px 52px; min-height: 720px; }
.bk-step-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.bk-step-title { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 32px; line-height: 1.2; letter-spacing: -.01em; }
.bk-search { width: 260px; }
.bk-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; padding: 6px 0; background: none; border: 0; font-size: var(--fs-small); font-weight: 600; color: var(--text-soft); }
.bk-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bk-back:hover { color: var(--ink); }
.bk-muted { color: var(--text-soft); font-size: var(--fs-small); }

.bk-cats { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-services { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-svc {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 40px; gap: 18px; align-items: center; text-align: left;
  padding: 12px 18px 12px 12px; border-radius: 14px; border: 1px solid var(--paper-line); background: var(--ivory); color: var(--ink);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bk-svc:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(20, 29, 41, .45); }
/* featured photo of the service */
.bk-svc-img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--sage-2); transition: transform .6s var(--ease-out); }
.bk-svc:hover .bk-svc-img { transform: scale(1.04); }
.bk-svc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bk-svc b { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 20px; line-height: 1.25; }
.bk-svc small { font-size: 14px; color: var(--text-soft); }
.bk-svc .bk-svc-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--paper-line); transition: background .3s, color .3s, border-color .3s; }
.bk-svc .bk-svc-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bk-svc:hover .bk-svc-go, .bk-svc[aria-pressed="true"] .bk-svc-go { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.bk-svc[aria-pressed="true"] { border-color: var(--ink); background: var(--sage); }
.bk-svc--featured { grid-column: 1 / -1; background: var(--sage); border-color: transparent; }
.bk-svc--featured b::after { content: "Recommended for first visits"; margin-left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: var(--ink-deep); font-family: var(--f-text); font-size: 12px; font-weight: 600; vertical-align: middle; }
.bk-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--text-soft); }

.bk-when { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.bk-cal-head { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.bk-cal-head .iconbtn { width: 44px; height: 44px; }
.bk-month { font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.bk-week, .bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-week { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--text-soft); text-align: center; }
.bk-grid { margin-top: 8px; }
.bk-day {
  height: 54px; border-radius: 12px; border: 1px solid transparent; background: none; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink);
  position: relative; transition: background .25s, color .25s, border-color .25s;
}
.bk-day:not(:disabled) { background: var(--sage); font-weight: 600; }
.bk-day:not(:disabled):hover { border-color: var(--ink); }
.bk-day:disabled { color: rgba(30, 43, 60, .3); cursor: default; }
.bk-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); transform: translateX(-50%); }
.bk-day[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.bk-times .bk-step-title { font-size: 22px; }
.bk-times .bk-muted { margin-top: 12px; }
.bk-slots { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 470px; overflow-y: auto; padding-right: 4px; }
.bk-slot { height: 48px; border-radius: 10px; border: 1px solid var(--paper-line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; transition: background .25s, color .25s, border-color .25s; }
.bk-slot:hover { border-color: var(--ink); }
.bk-slot:disabled { color: rgba(30, 43, 60, .3); text-decoration: line-through; background: transparent; cursor: default; }
.bk-slot[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.bk-next { margin-top: 20px; width: 100%; }

.bk-form { margin-top: 24px; display: grid; gap: 24px; max-width: 720px; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bk-opt { font-weight: 400; color: var(--text-soft); }
.bk-legal { font-size: 14px; color: var(--text-soft); }
.bk-form .btn { justify-self: start; }

/* specialist step */
.bk-step-lede { margin-top: 10px; color: var(--text-soft); font-size: var(--fs-body); }
.bk-specs { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-spec {
  display: grid; grid-template-columns: 72px 1fr 40px; gap: 18px; align-items: center; text-align: left;
  padding: 18px; border-radius: 16px; border: 1px solid var(--paper-line); background: var(--ivory); color: var(--ink);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bk-spec:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(20, 29, 41, .45); }
.bk-spec img, .bk-spec-any { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.bk-spec-any { display: grid; place-items: center; background: var(--ink); color: var(--ivory); }
.bk-spec-any svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.bk-spec-body { display: flex; flex-direction: column; gap: 3px; }
.bk-spec-body b { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 20px; line-height: 1.25; }
.bk-spec-body small { font-size: 14px; color: var(--text-soft); line-height: 1.45; }
.bk-spec-body em { margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--coral-ink); }
.bk-spec .bk-svc-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--paper-line); transition: background .3s, color .3s, border-color .3s; }
.bk-spec .bk-svc-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bk-spec:hover .bk-svc-go, .bk-spec[aria-pressed="true"] .bk-svc-go { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.bk-spec[aria-pressed="true"] { border-color: var(--ink); background: var(--sage); }
.bk-spec--any { grid-column: 1 / -1; background: var(--sage); border-color: transparent; }

/* booking fee in the summary */
.bk-sum-list dd b { display: block; font-weight: 600; color: var(--ivory); }
.bk-sum-list dd small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* payment step (WooCommerce checkout in the plugin) */
.bk-pay { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.bk-pay-form { display: grid; gap: 22px; }
.bk-pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-pay-methods label { position: relative; cursor: pointer; }
.bk-pay-methods input { position: absolute; opacity: 0; }
.bk-pay-methods span {
  height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px;
  border: 1px solid var(--paper-line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.bk-pay-methods svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bk-pay-methods svg .f { fill: currentColor; stroke: none; }
.bk-pay-methods input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bk-pay-methods input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 3px; }
.bk-card-fields { display: grid; gap: 22px; }
.bk-wallet { padding: 18px 20px; border-radius: 12px; background: var(--sage); font-size: 15px; color: var(--ink); }
.bk-pay-btn { justify-self: start; }
.bk-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.bk-secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.bk-pay-sum { padding: 28px; border-radius: 16px; background: var(--sage); }
.bk-pay-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.bk-pay-total { margin-top: 8px; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 44px; line-height: 1; font-variant-numeric: lining-nums; }
.bk-pay-note { margin-top: 10px; font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.bk-pay-sum dl { margin-top: 20px; border-top: 1px solid var(--paper-line); }
.bk-pay-sum dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; }
.bk-pay-sum dt { color: var(--text-soft); }
.bk-done-paid { padding: 14px 18px; border-radius: 12px; background: var(--sage); font-size: 15px; font-weight: 600; color: var(--ink); }

.bk-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 40px; }
.bk-check svg { width: 64px; height: 64px; fill: none; stroke: var(--coral-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .bk-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease-out) forwards; }
}
.bk-done-title { font-size: var(--fs-h3); }
.bk-done-when { font-size: var(--fs-lead); font-weight: 600; color: var(--ink); }
.bk-done-text { color: var(--text-soft); font-size: var(--fs-body); max-width: 52ch; }
.bk-done-actions { margin-top: 12px; display: flex; align-items: center; gap: 28px; }
.bk-demo { margin-top: 20px; font-size: 13px; color: var(--text-soft); }

/* ============================================ TREATMENTS */
.catalog { padding: 0 var(--gutter) 200px; }
.filterbar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: 24px 0; background: var(--ivory); border-bottom: 1px solid var(--paper-line);
}
.filterbar__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip {
  height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--paper-line);
  background: transparent; color: var(--ink); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .3s, color .3s, border-color .3s;
}
.fchip small { font-size: 12px; color: var(--text-soft); font-variant-numeric: tabular-nums; transition: color .3s; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.fchip[aria-pressed="true"] small { color: var(--ink-soft); }
.search { position: relative; display: block; width: 280px; flex: none; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--text-soft); stroke-width: 1.6; stroke-linecap: round; }
.search input {
  width: 100%; height: 48px; padding: 0 20px 0 48px; border-radius: 999px;
  border: 1px solid var(--paper-line); background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.search input::placeholder { color: #5A6676; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(227, 130, 108, .25); }
.search--block { width: 100%; }

.catalog__status { padding: 28px 0 0; font-size: 15px; color: var(--text-soft); min-height: 52px; }
.tgroup { display: grid; grid-template-columns: 460px 1fr; gap: 120px; padding: 96px 0; border-bottom: 1px solid var(--paper-line); }
.tgroup:last-child { border-bottom: 0; }
.tgroup__side { position: sticky; top: calc(var(--header-h) + 130px); align-self: start; }
.tgroup__name { font-size: var(--fs-h3); line-height: 1.15; }
.tgroup__desc { margin-top: 16px; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 36ch; }
.tgroup__side .print { margin-top: 40px; height: 380px; }
.tlist { border-top: 1px solid var(--paper-line); }
.titem { border-bottom: 1px solid var(--paper-line); }
.titem__head {
  width: 100%; display: grid; grid-template-columns: 1fr auto 56px; align-items: center; gap: 32px;
  padding: 28px 0; background: none; border: 0; text-align: left; color: var(--ink);
}
.titem__name { font-size: var(--fs-h4); line-height: 1.2; transition: color .3s; }
.titem__tag { font-size: 14px; color: var(--text-soft); }
.titem__toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--paper-line); display: grid; place-items: center; justify-self: end; transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s; }
.titem__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.titem__head:hover .titem__name { color: var(--coral-ink); }
.titem__head:hover .titem__toggle { border-color: var(--ink); }
.titem.is-open .titem__toggle { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.titem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.titem.is-open .titem__body { grid-template-rows: 1fr; }
.titem__body > div { overflow: hidden; }
.titem__inner { padding: 0 0 44px; display: grid; grid-template-columns: 1fr 300px; gap: 64px; }
.titem__inner p { color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 54ch; }
.titem__facts { display: grid; gap: 14px; font-size: 15px; }
.titem__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--paper-line); }
.titem__facts dt { color: var(--text-soft); }
.titem__actions { grid-column: 1 / -1; display: flex; gap: 32px; align-items: center; }
.titem__actions .textbtn { font-size: 15px; }
.catalog__empty { padding: 120px 0; text-align: center; }
.catalog__empty .display { font-size: var(--fs-h3); margin-bottom: 16px; }
.catalog__empty p:last-child { color: var(--text-soft); }

/* ============================================ ABOUT */
.story { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 0 120px; }
.story__print { grid-column: 1 / -1; height: 680px; margin-bottom: 140px; overflow: visible; }
.story__print > img, .story__print .print__dev { position: absolute; inset: 0; }
.story__print .plate-caption { position: absolute; right: 0; bottom: -40px; color: var(--text-soft); }
.story__title { font-size: var(--fs-h2); max-width: 14ch; }
.story__text p { font-size: var(--fs-body); line-height: 1.7; color: var(--text-soft); max-width: 50ch; }
.story__text p + p { margin-top: 20px; }
.story__text .story__title + p { margin-top: var(--gap-title); font-size: var(--fs-lead); line-height: 1.6; }
.story__ledger { align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.story__ledger div { padding: 28px 0; border-bottom: 1px solid var(--paper-line); display: flex; justify-content: space-between; align-items: baseline; }
.story__ledger div:nth-child(-n+2) { border-top: 1px solid var(--paper-line); }
.story__ledger dt { color: var(--text-soft); font-size: 15px; }
.story__ledger dd { font-size: var(--fs-h3); line-height: 1; font-variant-numeric: lining-nums; }

.values { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 480px 1fr; gap: 120px; }
.values__title { font-size: var(--fs-h2); max-width: 10ch; position: sticky; top: calc(var(--header-h) + 60px); align-self: start; }
.values__list div { padding: 32px 0; border-top: 1px solid var(--paper-line); display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: baseline; }
.values__list div:last-child { border-bottom: 1px solid var(--paper-line); }
.values__list dt { font-size: var(--fs-h4); line-height: 1.2; }
.values__list dd { color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 44ch; }

.team { padding: var(--section-y) var(--gutter); }
.team__head { margin-bottom: 72px; }
.team__title { font-size: var(--fs-h2); max-width: 16ch; }
.team__head .note { margin-top: 16px; max-width: 52ch; }
.team__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; align-items: start; }
.team__member--low { margin-top: 140px; }
.print--portrait { aspect-ratio: 4 / 5; }
.team__member figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.team__member b { font-size: var(--fs-h4); line-height: 1.2; }
.team__member span { color: var(--text-soft); font-size: 16px; }

/* ============================================ FAQ */
.faq { padding: 120px var(--gutter) var(--section-y); display: grid; grid-template-columns: 400px 1fr; gap: 140px; }
.faq__side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 40px; }
.faq__cats { display: flex; flex-direction: column; border-top: 1px solid var(--paper-line); }
.faq__cats button {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--paper-line);
  font-size: 17px; font-weight: 500; text-align: left; color: var(--text-soft); transition: color .3s, transform .5s var(--ease-out);
}
.faq__cats button small { font-size: 13px; font-variant-numeric: tabular-nums; }
.faq__cats button:hover { color: var(--ink); transform: translateX(6px); }
.faq__cats button[aria-pressed="true"] { color: var(--ink); }
.faq__cats button[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 12px; flex: none; }
.faq__cats button[aria-pressed="true"] span { margin-right: auto; }
.faq__help { padding: 32px; background: var(--sage); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__help p { font-size: var(--fs-h4); line-height: 1.2; }
.fgroup + .fgroup { margin-top: 80px; }
.fgroup__name { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 20px; }
.fitem { border-top: 1px solid var(--paper-line); }
.fitem:last-child { border-bottom: 1px solid var(--paper-line); }
.fitem__q {
  width: 100%; display: grid; grid-template-columns: 1fr 48px; gap: 32px; align-items: center;
  padding: 26px 0; background: none; border: 0; text-align: left; color: var(--ink);
  font-size: 20px; font-weight: 500; line-height: 1.4;
}
.fitem__q:hover > span:first-child { color: var(--coral-ink); }
.fitem__ico { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--paper-line); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .3s, color .3s; }
.fitem__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fitem.is-open .fitem__ico { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.fitem__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.fitem.is-open .fitem__a { grid-template-rows: 1fr; }
.fitem__a > div { overflow: hidden; }
.fitem__a p { padding: 0 80px 32px 0; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.7; max-width: 68ch; }
.fitem mark { background: rgba(227, 130, 108, .3); color: inherit; padding: 0 2px; }
.faq__empty { font-size: 20px; color: var(--text-soft); padding: 40px 0; }

/* ============================================ CONTACT */
.contact { padding: calc(var(--header-h) + 140px) var(--gutter) 160px; display: grid; grid-template-columns: 1fr 820px; gap: 140px; overflow: hidden; }
.contact__title { font-size: var(--fs-h1); letter-spacing: -.02em; line-height: 1.04; max-width: 10ch; }
.contact__open { margin-top: var(--gap-title); display: inline-flex; align-items: center; gap: 12px; font-size: 16px; padding: 10px 20px; border: 1px solid var(--ink-line); border-radius: 999px; }
.contact__open .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.contact__open.is-open .dot { background: #8FD3A6; box-shadow: 0 0 0 0 rgba(143, 211, 166, .6); animation: pulse 2.2s infinite; }
.contact__open.is-closed .dot { background: var(--coral); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(143, 211, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 211, 166, 0); } }
.contact__dl { margin-top: 56px; display: grid; gap: 0; max-width: 720px; }
.contact__dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--ink-line); }
.contact__dl dt { color: var(--ink-soft); font-size: 15px; padding-top: 4px; }
.contact__dl dd { font-size: var(--fs-body); line-height: 1.6; }
.contact__dl dd a { text-decoration: none; }
.contact__dl dd a:hover { color: var(--coral); }
.hours { border-collapse: collapse; font-size: var(--fs-body); font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 400; padding: 4px 40px 4px 0; color: var(--ink-soft); }
.hours td { padding: 4px 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ivory); font-weight: 600; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin: 0 10px 3px -16px; }
.socials { display: flex; gap: 28px; }

.form { position: relative; align-self: start; background: var(--ivory); color: var(--ink); padding: 64px; box-shadow: 0 40px 80px -30px rgba(8, 12, 18, .6); }
.form__head p { margin-top: 12px; color: var(--text-soft); font-size: 16px; }
.form__title { font-size: var(--fs-h3); line-height: 1.15; }
.form__grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.field input, .field textarea, .select select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(30, 43, 60, .35); background: transparent;
  padding: 12px 0; font: inherit; font-size: 18px; color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5A6676; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-bottom-color: var(--coral-ink); box-shadow: 0 1px 0 var(--coral-ink); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #B3261E; }
.field__err { font-size: 14px; color: #B3261E; min-height: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; padding-right: 32px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.radios { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; }
.radios legend { width: 100%; margin-bottom: 12px; }
.radios label { position: relative; cursor: pointer; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: inline-flex; height: 44px; align-items: center; padding: 0 20px; border: 1px solid var(--paper-line); border-radius: 999px; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.radios input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.radios input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 3px; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form__foot { margin-top: 40px; display: flex; align-items: center; gap: 28px; }
.form__foot .btn { --bg: var(--ink); --fg: var(--ivory); }
.form__foot .note--ink { color: var(--text-soft); }
.form__done { position: absolute; inset: 0; background: var(--ivory); padding: 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.form__done svg { width: 64px; height: 64px; fill: none; stroke: var(--coral-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.form__done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done .display { font-size: var(--fs-h3); }
.form__done p { color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 40ch; }

.mapband { display: grid; grid-template-columns: 1fr 560px; min-height: 620px; }
.mapband__map { position: relative; background: var(--sage); }
.mapband__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(.15) hue-rotate(170deg) saturate(.9); }
.mapband__note { padding: 96px 120px 96px 96px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.mapband__note .display { font-size: var(--fs-h3); }
.mapband__note p { color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; }

/* ============================================ FOOTER */
.footer { background: var(--ink-deep); color: var(--ivory); padding: 120px var(--gutter) 128px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 80px; border-bottom: 1px solid var(--ink-line); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding: 72px 0; }
.footer__cols h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.footer__cols p { font-size: 17px; line-height: 1.8; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--coral); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 32px; border-top: 1px solid var(--ink-line); font-size: 14px; color: var(--ink-soft); }
.footer__legal { display: flex; gap: 32px; }
.footer__legal a { text-decoration: none; transition: color .3s; }
.footer__legal a:hover { color: var(--coral); }

/* ============================================ CORAL ASSISTANT */
.coral-launch {
  position: fixed; right: 40px; bottom: 40px; z-index: 60;
  display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px 0 16px;
  border-radius: 999px; border: 1px solid rgba(248,249,247,.2);
  background: var(--ink); color: var(--ivory); font-size: 16px; font-weight: 600;
  box-shadow: 0 18px 40px -12px rgba(10, 16, 24, .55);
  transition: transform .5s var(--ease-out), box-shadow .4s, opacity .4s;
}
/* chat icon = logo butterfly on the brand's light blue (navy line, white wash) */
.coral-launch__ico, .coral__avatar {
  --logo-wash: #FFFFFF; --logo-wash-op: .55; --logo-stroke: 26px;
  border-radius: 50%; background: #A7C8E8; color: var(--ink-deep); display: grid; place-items: center; flex: none;
}
.coral-launch__ico { width: 38px; height: 38px; }
.coral-launch__ico .bfly { width: 24px; height: 30px; overflow: visible; }
.coral-launch:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -12px rgba(10, 16, 24, .6); }
.coral-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

.coral {
  position: fixed; right: 40px; bottom: 40px; z-index: 70;
  width: 440px; height: min(700px, calc(100vh - 140px));
  display: flex; flex-direction: column;
  background: var(--ivory); color: var(--ink);
  box-shadow: 0 40px 90px -20px rgba(10, 16, 24, .55), 0 0 0 1px rgba(30,43,60,.08);
  border-radius: 24px; overflow: hidden;
  transform-origin: bottom right;
}
.coral__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 20px 24px; background: var(--ink); color: var(--ivory); }
.coral__id { display: flex; align-items: center; gap: 14px; }
.coral__id .coral__avatar { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-deep); font-size: 0; gap: 0; }
.coral__avatar .bfly { width: 28px; height: 34px; overflow: visible; }
.coral__id b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 600; line-height: 1.15; }
.coral__id span { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.coral__id .dot { width: 7px; height: 7px; border-radius: 50%; background: #8FD3A6; }
.coral__log { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; scrollbar-width: thin; }
.msg { max-width: 88%; font-size: 16px; line-height: 1.5; padding: 14px 18px; border-radius: 20px; animation: msgIn .5s var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--ivory); border-bottom-right-radius: 6px; }
.msg--coral { align-self: flex-start; background: var(--sage); border-bottom-left-radius: 6px; }
.msg--coral strong { font-weight: 600; }
.msg__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.msg__acts button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.msg__acts button.alt { background: transparent; color: var(--ink); }
.msg__acts button:hover { background: var(--coral); border-color: var(--coral); color: var(--ink-deep); }
.typing { align-self: flex-start; background: var(--sage); border-radius: 20px; border-bottom-left-radius: 6px; padding: 16px 18px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .35; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 30% { opacity: 1; transform: translateY(-3px); } }
.coral__chips { display: flex; gap: 8px; padding: 0 24px 14px; overflow-x: auto; scrollbar-width: none; }
.coral__chips button { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--paper-line); background: #fff; font-size: 13.5px; color: var(--ink); transition: border-color .3s, background .3s; }
.coral__chips button:hover { border-color: var(--ink); }
.coral__input { display: flex; gap: 10px; padding: 14px 16px 10px 24px; border-top: 1px solid var(--paper-line); }
.coral__input input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.coral__input input:focus { outline: none; }
.coral__input input::placeholder { color: #5A6676; }
.iconbtn--send { width: 44px; height: 44px; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.iconbtn--send:hover { background: var(--coral); color: var(--ink-deep); border-color: var(--coral); }
.coral__legal { font-size: 12px; color: var(--text-soft); padding: 0 24px 14px; }

/* ============================================ TOAST */
.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 80; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px; padding: 20px 20px 20px 32px;
  background: var(--ink-deep); color: var(--ivory); border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(10, 16, 24, .6);
  border: 1px solid var(--ink-line);
}
.toast b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 600; }
.toast span { font-size: 15px; color: var(--ink-soft); }
.toast a { color: var(--ivory); }

/* ============================================ SMALLER DESKTOPS (1440–1700) */
.hours th, .hours td { white-space: nowrap; }
@media (max-width: 1700px) {
  :root { --gutter: 72px; --fs-h1: 72px; --fs-h2: 54px; }
  .philosophy__grid { grid-template-columns: 1fr 1fr 440px; }
  .philosophy__grid { grid-template-rows: auto 1fr auto; }
  .philosophy__body { align-self: start; }
  .philosophy__print { grid-row: 1 / 3; }
  .principles { grid-column: 1 / -1; }
  .tgroup { grid-template-columns: 400px 1fr; gap: 80px; }
  .finance { grid-template-columns: 42% minmax(0, 1fr); }
  .finance__media { min-height: 900px; }
  .finance__content { padding-left: 72px; }
  .finance__partners li { height: 46px; padding: 0 18px; font-size: 17px; }
  .greviews { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .greviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .bk-card { grid-template-columns: 340px minmax(0, 1fr); }
  .bk-main { padding: 36px 36px 44px; }
  .bk-when { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .bk-specs { grid-template-columns: 1fr; }
  .bk-pay { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .disc { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; }
  .disc__panel .print { height: 440px; }
  .disc__body { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .values { grid-template-columns: 400px 1fr; gap: 80px; }
  .values__list div { grid-template-columns: 300px 1fr; }
  .faq { grid-template-columns: 340px 1fr; gap: 96px; }
  .contact { grid-template-columns: minmax(0, 1fr) 640px; gap: 80px; }
  .form { padding: 48px; }
  .mapband { grid-template-columns: 1fr 480px; }
  .mapband__note { padding: 72px; }
}

/* ============================================ VIEW TRANSITIONS */
::view-transition-old(root) { animation: vtOut .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; filter: blur(6px); transform: translateY(-20px); } }
@keyframes vtIn  { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ============================================ MOTION STATES (JS on) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js [data-split]:not(.is-split) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .js [data-split]:not(.is-split) { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
