/* =========================================================
   Echelon Aesthetic Lounge & Concierge — styles
   Black • Champagne Gold • Ivory
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Gambarino"; src: url("../assets/fonts/gambarino-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1a1511;
  --ink-2: #221c17;
  --ink-3: #2c251e;
  --gold: #c9a96e;
  --gold-light: #e6d3a8;
  --gold-deep: #9a7a43;
  --ivory: #f6f0e4;
  --ivory-2: #ece3d2;

  --gold-gradient: linear-gradient(135deg, #efdfb8 0%, #c9a96e 48%, #a8874d 100%);

  --serif: "Gambarino", "Cormorant Garamond", Georgia, serif;
  --sans: "Satoshi", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 80rem;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Theme-dependent (dark by default) */
  --bg: var(--ink);
  --fg: var(--ivory);
  --muted: rgba(246, 240, 228, 0.68);
  --line: rgba(230, 211, 168, 0.18);
  --accent: var(--gold);
  --card: var(--ink-2);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 3000; padding: .75rem 1.25rem; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + 2 * var(--gutter)); }

/* Section themes */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--bg); color: var(--fg); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--ink2 { --bg: var(--ink-2); --card: var(--ink-3); }
.section--ivory, .section--ivory2, .theme-ivory {
  --bg: var(--ivory);
  --fg: #16130f;
  --muted: rgba(22, 19, 15, 0.7);
  --line: rgba(22, 19, 15, 0.14);
  --accent: var(--gold-deep);
  --card: #fbf7ef;
}
.section--ivory2 { --bg: var(--ivory-2); --card: var(--ivory); --line: rgba(22, 19, 15, 0.16); }

/* ---------- Typography ---------- */
.label {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent);
}
.label::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .8; }
.label--center::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .8; }
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.75rem); line-height: 1.06; letter-spacing: -.005em;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.15; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.75; color: var(--muted); }
.muted { color: var(--muted); }
.gold, .accent { color: var(--accent); }
.caps { font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.dot-list { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.dot-list > * + *::before { content: "•"; margin-right: 1rem; color: var(--accent); }
.section-head { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
}
.text-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 2rem 1px no-repeat;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.text-link:hover { background-size: 100% 1px; gap: .9rem; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.35rem; padding: 0 1.9rem;
  border: 1px solid transparent; border-radius: 2px;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .35s, border-color .35s, background-color .35s, box-shadow .35s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { font-size: 1rem; }
.btn__text { display: grid; overflow: hidden; line-height: 1.5; }
.btn__text > span { grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.btn__text > span:last-child { opacity: 0; transform: translateY(105%); }
.btn:hover .btn__text > span:first-child { opacity: 0; transform: translateY(-105%); }
.btn:hover .btn__text > span:last-child { opacity: 1; transform: none; }

.btn--gold { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(201, 169, 110, .55); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn--gold:hover::before { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(201, 169, 110, .75); }
.btn--line { border-color: color-mix(in oklab, var(--accent) 70%, transparent); color: var(--fg); }
.btn--line:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.theme-ivory .btn--line:hover, .section--ivory .btn--line:hover { color: var(--ivory); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--ink-3); color: var(--gold-light); }
.btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: .7rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 539px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- Top bar ---------- */
.topbar {
  background: #130f0c; color: rgba(246, 240, 228, .72);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(230, 211, 168, .1);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.topbar__info { display: none; gap: 1.75rem; }
.topbar__info span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__info svg, .topbar__links svg { color: var(--gold); font-size: .95rem; }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.topbar__links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.topbar__links a:hover { color: var(--gold-light); }
@media (min-width: 900px) { .topbar__info { display: flex; } }
@media (max-width: 479px) { .topbar__ig { display: none !important; } .topbar__links { margin-inline: auto; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(26, 21, 17, .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(26, 21, 17, .94); border-color: rgba(230, 211, 168, .12); box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .85rem; flex-shrink: 0; color: var(--ivory); }
.logo__mark {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .65);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(230, 211, 168, .18), transparent 70%);
}
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .22em; }
.logo__sub { font-size: .52rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }

.nav { display: none; align-items: center; gap: clamp(1rem, 1.6vw, 1.75rem); }
.nav__link, .nav__trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem 0;
  background: none; border: 0; cursor: pointer;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(246, 240, 228, .8);
  transition: color .25s;
}
.nav__link::after, .nav__trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__trigger:hover, .nav__item:focus-within > .nav__trigger,
.nav__link[aria-current="page"], .nav__trigger.is-current { color: var(--gold-light); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__trigger.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__trigger svg { font-size: .8rem; transition: transform .3s; }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + .5rem); left: 50%;
  min-width: 15rem; padding: .6rem;
  background: rgba(34, 28, 23, .98);
  border: 1px solid rgba(230, 211, 168, .16);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, .5rem);
  transition: opacity .25s, transform .35s var(--ease), visibility 0s linear .35s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu, .nav__item.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav__item:hover .nav__trigger svg, .nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__menu a {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .8rem 1rem;
  border-left: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: rgba(201, 169, 110, .08); border-color: var(--gold); }
.nav__menu strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--ivory); }
.nav__menu small { font-size: .74rem; color: rgba(246, 240, 228, .58); }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.header__book { display: none; }
@media (min-width: 640px) { .header__book { display: inline-flex; } }
@media (min-width: 1200px) { .nav { display: flex; } }

/* Burger */
.burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 3rem; height: 3rem; padding: 0;
  background: none; border: 1px solid rgba(230, 211, 168, .25); border-radius: 50%;
  color: var(--ivory); cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.burger:hover { border-color: var(--gold); }
.burger span { display: block; width: 1.15rem; height: 1px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1200px) { .header__actions .burger { display: none; } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; pointer-events: none; transition: visibility 0s linear .7s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__sheet {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 30rem);
  display: flex; flex-direction: column;
  background: var(--ink);
  border-left: 1px solid rgba(230, 211, 168, .14);
  transform: translateX(100%);
  transition: transform .7s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__sheet { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); border-bottom: 1px solid rgba(230, 211, 168, .12); }
.drawer__nav { display: grid; padding: 1.5rem var(--gutter); }
.drawer__group { padding: 1.1rem 0 .4rem; font-size: .66rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 0;
  font-family: var(--serif); font-size: 1.65rem; line-height: 1.2;
  border-bottom: 1px solid rgba(230, 211, 168, .08);
  opacity: 0; transform: translateX(1.5rem);
  transition: opacity .3s, transform .5s var(--ease), color .2s;
}
.drawer__link[aria-current="page"], .drawer__link:hover { color: var(--gold-light); }
.drawer.is-open .drawer__link { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * 35ms); }
.drawer__foot { margin-top: auto; display: grid; gap: .75rem; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid rgba(230, 211, 168, .12); }
.drawer__foot a:not(.btn) { display: inline-flex; align-items: center; gap: .6rem; color: rgba(246, 240, 228, .75); font-size: .9rem; }
.drawer__foot svg { color: var(--gold); }

/* ---------- Home hero carousel ---------- */
.hero-home {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 78% 35%, rgba(201, 169, 110, .16), transparent 60%),
    radial-gradient(40rem 30rem at 10% 90%, rgba(201, 169, 110, .07), transparent 60%),
    var(--ink);
}
.hero-home::before { /* fine grain texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px);
}
.hc {
  --hc-ease: cubic-bezier(0.77, 0, 0.18, 1);
  position: relative;
  height: clamp(44rem, calc(100svh - var(--header-h) - 2.5rem), 54rem);
  touch-action: pan-y;
}
.hc__slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.hc__slide.is-active { visibility: visible; z-index: 2; }
.hc__slide.is-leaving { visibility: visible; z-index: 1; }
.hc__inner {
  height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 6.5rem;
}
.hc__content { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); justify-items: start; max-width: 40rem; }
.hc__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1.02; text-wrap: balance; }
.hc__title .accent { color: var(--gold); }
.hc__services { font-size: clamp(.78rem, 1vw, .9rem); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); }
.hc__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-size: .92rem; color: var(--muted); }
.hc__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hc__meta svg { color: var(--gold); font-size: 1.1rem; }
.hc__lead { max-width: 34rem; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.75; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(230, 211, 168, .28); border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(246, 240, 228, .85);
  background: rgba(201, 169, 110, .05);
}
.chip svg { color: var(--gold); font-size: .95rem; }

/* Split-screen visual: photo fills the right half of the hero, edge to edge */
.hc__visual {
  position: absolute; z-index: 0;
  top: 0; bottom: 0; left: 54%;
  right: calc(50% - 50vw); /* bleed to the viewport's right edge */
}
.hc__content { position: relative; z-index: 1; }
.hc__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); }
.hc__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.12); }
.hc__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(26, 21, 17, .55) 14%, rgba(26, 21, 17, 0) 42%),
    linear-gradient(to top, rgba(26, 21, 17, .85) 0%, rgba(26, 21, 17, 0) 30%);
}
.hc__visual-tag {
  position: absolute; z-index: 2; top: 2rem; right: 2rem;
  display: grid; gap: .1rem;
  padding: .85rem 1.15rem;
  background: rgba(26, 21, 17, .78); border: 1px solid rgba(201, 169, 110, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hc__visual-tag strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.hc__visual-tag span { font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* Slide motion */
.hc__slide.is-active .hc__media { animation: hc-rise 1.4s var(--hc-ease) both; }
.hc__slide.is-active .hc__media img { animation: hc-zoom calc(var(--hc-duration, 7s) + 2s) cubic-bezier(.2,.6,.3,1) both; }
.hc.is-first-load .hc__slide.is-active .hc__media { animation: hc-fade 1.6s ease both; }
.hc__slide.is-leaving .hc__visual { animation: hc-leave-photo 1.2s var(--hc-ease) both; }
@keyframes hc-leave-photo { to { opacity: .35; transform: translateX(-3%); } }
@keyframes hc-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes hc-zoom { from { transform: scale(1.15); } to { transform: scale(1.01); } }
@keyframes hc-frame { from { opacity: 0; transform: translate(-1rem, 1rem); } }
@keyframes hc-fade { from { opacity: 0; } }
@keyframes hc-leave { to { opacity: 0; transform: translateY(-2rem) scale(.97); } }

.hc__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .12em; margin-bottom: -.12em; }
.hc__title .w > span { display: inline-block; transform: translateY(110%); transition: transform .2s ease; }
.hc__slide.is-active .hc__title .w > span { transform: none; transition: transform 1.1s var(--ease) calc(.35s + var(--wi, 0) * 70ms); }
.hc__content > :not(.hc__title) { opacity: 0; transform: translateY(1.1rem); transition: opacity .3s, transform .3s; }
.hc__slide.is-active .hc__content > :not(.hc__title) {
  opacity: 1; transform: none;
  transition: opacity .9s ease calc(.25s + var(--ci, 0) * 110ms), transform 1s var(--ease) calc(.25s + var(--ci, 0) * 110ms);
}
.hc__slide.is-active .label::before { animation: hc-line 1.1s var(--ease) .3s both; }
@keyframes hc-line { from { transform: scaleX(0); transform-origin: left; } }
.hc__slide.is-leaving .hc__content { opacity: 0; transform: translateY(-1rem); transition: opacity .45s, transform .6s; }

/* Control bar */
.hc__bar {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.hc__tabs { flex: 1; max-width: 44rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1.5vw, 1.25rem); }
.hc__tab {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .2rem .6rem;
  padding: .5rem 0 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: rgba(246, 240, 228, .5); transition: color .3s;
}
.hc__tab:hover, .hc__tab.is-active { color: var(--ivory); }
.hc__tab-num { font-family: var(--serif); font-size: .9rem; color: var(--gold); }
.hc__tab-label { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc__track { grid-column: 1 / -1; position: relative; height: 1px; margin-top: .65rem; background: rgba(230, 211, 168, .22); overflow: hidden; }
.hc__fill { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hc__tab.is-done .hc__fill { transform: scaleX(1); background: rgba(230, 211, 168, .5); }
.hc__tab.is-active .hc__fill { animation: hc-progress var(--hc-duration, 7s) linear both; }
.hc.is-paused .hc__tab.is-active .hc__fill { animation-play-state: paused; }
@keyframes hc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hc__right { display: flex; align-items: center; gap: 1.25rem; }
.hc__counter { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); }
.hc__counter small { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; color: rgba(246, 240, 228, .55); margin-left: .35rem; }
.hc__controls { display: flex; gap: .5rem; }
.hc__btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; font-size: 1.1rem;
  border-radius: 50%; border: 1px solid rgba(230, 211, 168, .35);
  background: rgba(26, 21, 17, .4); color: var(--ivory); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .2s;
}
.hc__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hc__btn:active { transform: scale(.94); }
.hc__ico-play { display: none; }
.hc.is-user-paused .hc__ico-play { display: block; }
.hc.is-user-paused .hc__ico-pause { display: none; }

@media (max-width: 1023px) {
  .hc__tab-label { display: none; }
  .hc__tabs { max-width: 14rem; }
}
@media (max-width: 859px) {
  .hc { height: 58rem; }
  .hc__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 2.25rem; padding-top: 2.25rem; padding-bottom: 5.5rem; }
  .hc__counter, .hc__btn--toggle { display: none; }
  .hc__bar { bottom: 1.25rem; }
}
@media (max-width: 420px) { .hc { height: 58rem; } }

/* Gold marquee band */
.marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid rgba(230, 211, 168, .16);
  background: var(--ink-2);
  padding-block: 1.35rem;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.75rem); white-space: nowrap; color: var(--ivory); }
.marquee__group span::after { content: "✦"; font-family: var(--sans); font-size: .8rem; color: var(--gold); }
.marquee__group span:nth-child(even) { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(50rem 30rem at 85% 20%, rgba(201, 169, 110, .14), transparent 60%),
    var(--ink);
  border-bottom: 1px solid rgba(230, 211, 168, .1);
}
.page-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .page-hero__grid--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 5rem; } }
.page-hero__content { display: grid; gap: 1.4rem; justify-items: start; max-width: 46rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,240,228,.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span[aria-current] { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.page-hero__tagline { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.85rem); color: var(--gold-light); }
.arch {
  position: relative; justify-self: center; width: min(100%, 26rem); aspect-ratio: 4 / 5;
}
.arch::before { content: ""; position: absolute; inset: -1rem -1rem -1rem 1rem; border: 1px solid rgba(201,169,110,.45); border-radius: 999px 999px 3px 3px; }
.arch__img { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 3px 3px; }
.arch__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.page-hero__ornament {
  position: absolute; right: -6rem; top: 50%; width: 28rem; aspect-ratio: 1; transform: translateY(-50%);
  border: 1px solid rgba(201, 169, 110, .18); border-radius: 50%; pointer-events: none;
}
.page-hero__ornament::before, .page-hero__ornament::after { content: ""; position: absolute; border: 1px solid rgba(201, 169, 110, .12); border-radius: 50%; }
.page-hero__ornament::before { inset: 3rem; }
.page-hero__ornament::after { inset: 6rem; }
.page-hero__ornament svg { position: absolute; inset: 0; margin: auto; width: 6rem; height: 6rem; color: rgba(201, 169, 110, .4); }
@media (max-width: 959px) { .page-hero__ornament { width: 18rem; right: -8rem; opacity: .6; } }

/* ---------- Experience (home) ---------- */
.experience__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .experience__grid { grid-template-columns: 1.1fr .9fr; gap: 6rem; align-items: start; } }
.experience__body { display: grid; gap: 1.5rem; }
.signature-line {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--accent);
}
.signature-line span + span::before { content: "·"; margin-right: 1.5rem; color: var(--fg); opacity: .4; }

/* ---------- Signature service cards ---------- */
.svc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.svc-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: clamp(28rem, 42vw, 36rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid rgba(230, 211, 168, .16);
  background:
    radial-gradient(30rem 22rem at 100% 0%, rgba(201,169,110,.16), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s;
}
.svc-card:hover { transform: translateY(-8px); border-color: rgba(201,169,110,.6); box-shadow: 0 40px 80px -40px rgba(201,169,110,.35); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; }
.svc-card__icon { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%; border: 1px solid rgba(201,169,110,.5); color: var(--gold); font-size: 1.9rem; transition: background-color .5s, color .5s; }
.svc-card:hover .svc-card__icon { background: var(--gold); color: var(--ink); }
.svc-card__watermark { position: absolute; z-index: -1; right: -3.5rem; bottom: 5rem; width: 17rem; height: 17rem; color: rgba(201,169,110,.07); transition: transform 1.2s var(--ease), color .6s; }
.svc-card:hover .svc-card__watermark { transform: rotate(-10deg) scale(1.08); color: rgba(201,169,110,.12); }
.svc-card__body { display: grid; gap: .9rem; }
.svc-card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.6vw, 3.25rem); line-height: 1; }
.svc-card__tag { font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.svc-card p { color: var(--muted); max-width: 22rem; }
.svc-card .text-link { margin-top: .75rem; justify-self: start; }
.svc-card__link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Where we come to you ---------- */
.places { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .places { grid-template-columns: repeat(4, 1fr); } }
.place {
  position: relative; display: grid; align-content: start; gap: .9rem;
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  background: var(--bg);
  transition: background-color .4s;
}
.place:hover { background: var(--card); }
.place__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); color: var(--accent); font-size: 1.5rem; margin-bottom: .5rem; transition: transform .5s var(--ease); }
.place:hover .place__icon { transform: translateY(-4px); }
.place h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; }
.place p { color: var(--muted); font-size: .95rem; }
.place--cta { background: var(--gold-gradient); color: var(--ink); justify-content: space-between; align-content: stretch; }
.place--cta:hover { background: var(--gold-gradient); }
.place--cta h3 { font-size: 1.85rem; }
.place--cta p { color: rgba(26,21,17,.72); }
.place--cta .text-link { color: var(--ink); align-self: end; justify-self: start; }
.place--cta::after { content: ""; position: absolute; inset: 0; }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(var(--n, 5), 1fr); gap: 1.5rem; }
  .steps::before { content: ""; position: absolute; top: 1.75rem; left: 1.75rem; right: 1.75rem; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 20%, transparent)); }
}
.step { position: relative; display: grid; gap: .75rem; align-content: start; padding-left: 4.75rem; }
@media (min-width: 960px) { .step { padding-left: 0; } }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
  font-family: var(--serif); font-size: 1.2rem; color: var(--accent);
}
@media (min-width: 960px) { .step__num { position: relative; margin-bottom: 1rem; } }
@media (max-width: 959px) {
  .step:not(:last-child)::after { content: ""; position: absolute; left: 1.75rem; top: 3.5rem; bottom: -2rem; width: 1px; background: var(--line); }
}
.step h3 { font-size: .85rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Pillars (The Echelon Standard) ---------- */
.standard { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .standard { grid-template-columns: .85fr 1.15fr; gap: 6rem; } .standard__head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; } }
.standard__head { display: grid; gap: 1.25rem; justify-items: start; }
.pillars { border-top: 1px solid var(--line); }
.pillar {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: .5rem 1.5rem; align-items: baseline;
  padding: 1.9rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .pillar { grid-template-columns: 3.5rem 15rem 1fr; } }
.pillar__num { font-family: var(--serif); color: var(--accent); font-size: 1.05rem; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; letter-spacing: .04em; transition: color .3s, transform .5s var(--ease); }
.pillar:hover h3 { color: var(--accent); transform: translateX(.4rem); }
.pillar p { grid-column: 2 / -1; color: var(--muted); }
@media (min-width: 640px) { .pillar p { grid-column: auto; } }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); } }
.member { display: grid; gap: 1.25rem; align-content: start; }
.member > :not(.member__photo) { min-width: 0; }
@media (min-width: 560px) {
  .member { grid-template-columns: minmax(11rem, 15rem) 1fr; column-gap: 2.25rem; align-content: center; }
  .member__photo { grid-row: 1 / span 4; align-self: start; }
  .member--lg { grid-template-columns: minmax(13rem, 22rem) 1fr; }
}
.member__photo { position: relative; aspect-ratio: 5 / 6; margin: 0 1rem 1rem 0; max-width: 22rem; }
.member__photo::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent); transition: inset .6s var(--ease); }
.member:hover .member__photo::before { inset: .5rem -.5rem -.5rem .5rem; }
.member__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.95) contrast(1.02); }
.member__role { font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.member__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; }
.member__bio { color: var(--muted); max-width: 34rem; }
.member__quote { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }

/* ---------- Service area map ---------- */
.area { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 5rem; } }
.area__map { position: relative; width: 100%; max-width: 30rem; justify-self: center; }
.area__map svg { width: 100%; height: auto; display: block; }
.map-ocean { fill: url(#ocean); }
.map-coast { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.map-ring { fill: none; stroke: rgba(201, 169, 110, .4); stroke-dasharray: 2 6; }
.map-grid { stroke: rgba(230, 211, 168, .05); }
.map-dot { fill: var(--ivory); transition: fill .3s, r .3s; }
.map-dot.is-hot { fill: var(--gold); r: 6; }
.map-primary { fill: var(--gold); }
.map-pulse { fill: none; stroke: var(--gold); transform-box: fill-box; transform-origin: center; animation: map-pulse 2.6s ease-out infinite; }
@keyframes map-pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.map-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: rgba(246, 240, 228, .75); }
.map-label--primary { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .02em; text-transform: none; fill: var(--gold-light); }
.map-label--sea { fill: rgba(201, 169, 110, .45); font-size: 9px; letter-spacing: .4em; }
.area__primary { display: grid; gap: .35rem; padding: 1.5rem 0; border-block: 1px solid var(--line); margin-block: 1.75rem; }
.area__primary strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--gold-light); }
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .1rem 2rem; }
@media (min-width: 560px) { .cities { grid-template-columns: repeat(3, 1fr); } }
.cities li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); cursor: default; transition: color .2s, padding .3s var(--ease); }
.cities li:hover, .cities li.is-hot { color: var(--gold-light); padding-left: .35rem; }
.fee-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.75rem; font-size: .92rem; color: var(--muted); }
.fee-note svg { color: var(--gold); font-size: 1.15rem; margin-top: .2rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; transition: color .25s; }
.faq-item summary:hover h3, .faq-item[open] h3 { color: var(--accent); }
.faq-icon {
  position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: .9rem; height: 1px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { overflow: hidden; }
.faq-answer > div { padding: 0 3.5rem 1.75rem 0; color: var(--muted); display: grid; gap: .75rem; max-width: 46rem; }
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 4rem; }
.faq-group__title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }

/* ---------- Generic cards / content ---------- */
.card-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: grid; gap: .8rem; align-content: start; padding: clamp(1.75rem, 2.6vw, 2.5rem); background: var(--bg); transition: background-color .4s; }
.card:hover { background: var(--card); }
.card__icon { color: var(--accent); font-size: 1.75rem; margin-bottom: .4rem; }
.card__num { font-family: var(--serif); color: var(--accent); font-size: 1rem; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { display: grid; gap: .45rem; color: var(--muted); font-size: .97rem; }
.card li { display: flex; gap: .65rem; }
.card li::before { content: ""; flex: none; width: .4rem; height: .4rem; margin-top: .6rem; border-radius: 50%; background: var(--accent); }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; } }
.prose { display: grid; gap: 1.25rem; color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 40rem; }
.prose strong { color: var(--fg); font-weight: 600; }

.areas-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.areas-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2rem);
  transition: color .3s, padding .4s var(--ease);
}
.areas-list li span { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.areas-list li:hover { color: var(--accent); padding-left: .5rem; }

.approach { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: ap; }
@media (min-width: 760px) { .approach { grid-template-columns: repeat(4, 1fr); } }
.approach li { position: relative; display: grid; gap: .6rem; padding: 2rem 1.75rem; background: var(--bg); }
.approach li::before { counter-increment: ap; content: "0" counter(ap); font-family: var(--serif); color: var(--accent); }
.approach h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }
.approach p { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) {
  .approach li:not(:last-child)::after {
    content: "→"; position: absolute; right: -.85rem; top: 2rem; z-index: 2;
    display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
    background: var(--accent); color: var(--bg); font-size: .85rem;
  }
}

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: start;
  padding: 1.75rem 2rem; border: 1px solid var(--line); border-left: 2px solid var(--accent);
  background: var(--card);
}
.note svg { color: var(--accent); font-size: 1.6rem; }
.note h3 { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .4rem; }
.note p { color: var(--muted); font-size: .97rem; }

/* IV menu */
.menu { border-top: 1px solid var(--line); }
.menu__item { display: grid; gap: .6rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .menu__item { grid-template-columns: 4rem 1fr 1.4fr auto; align-items: center; } }
.menu__num { font-family: var(--serif); color: var(--accent); }
.menu__name { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.05; transition: color .3s; }
.menu__item:hover .menu__name { color: var(--accent); }
.menu__item p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--card); }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field label, .field legend { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem;
  background: transparent; color: var(--fg);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .25s, background-color .25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - .9rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: var(--ink-2); color: var(--ivory); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(201,169,110,.05); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--fg) 35%, transparent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.checks label { position: relative; cursor: pointer; font-size: .82rem; letter-spacing: .06em; text-transform: none; font-weight: 500; color: var(--fg); }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks span { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; transition: background-color .2s, border-color .2s, color .2s; }
.checks input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.checks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; }
.form__fine { font-size: .82rem; color: var(--muted); max-width: 28rem; }
.form__status { display: none; padding: 1rem 1.25rem; border: 1px solid var(--accent); font-size: .95rem; }
.form__status.is-visible { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; } }
.contact-lines { display: grid; border-top: 1px solid var(--line); }
.contact-line { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.contact-line:hover { padding-left: .5rem; }
.contact-line svg { grid-row: span 2; font-size: 1.5rem; color: var(--accent); }
.contact-line small { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.contact-line strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.15; word-break: break-word; }

/* ---------- Closing CTA panel ---------- */
.cta-final { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--ink); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(36rem 24rem at 0% 100%, rgba(201,169,110,.12), transparent 70%),
    var(--ink-2);
  border: 1px solid rgba(230, 211, 168, .2);
}
.cta-panel::before { /* inner hairline frame */
  content: ""; position: absolute; inset: .75rem; z-index: 2; pointer-events: none;
  border: 1px solid rgba(201, 169, 110, .14);
}
@media (min-width: 900px) { .cta-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 34rem; } }

.cta-panel__content {
  position: relative; z-index: 1;
  display: grid; align-content: center; justify-items: start; gap: 1.4rem;
  padding: clamp(2.25rem, 5vw, 4.5rem);
}
.cta-panel__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; max-width: 14ch; text-wrap: balance; }
.cta-panel__lead { max-width: 30rem; color: var(--muted); line-height: 1.75; }
.cta-panel .btn-row { margin-top: .4rem; }
.cta-panel__details {
  display: grid; gap: 1rem; width: 100%;
  margin-top: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .cta-panel__details { grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.25rem; } }
.cta-panel__details li { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; }
.cta-panel__details svg { color: var(--gold); font-size: 1.15rem; margin-top: .15rem; }
.cta-panel__details small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .15rem; }
.cta-panel__details a:hover { color: var(--gold-light); }

.cta-panel__media { position: relative; margin: 0; min-height: 17rem; order: -1; }
@media (min-width: 900px) { .cta-panel__media { order: 0; min-height: 0; } }
.cta-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.6s var(--ease); }
.cta-panel:hover .cta-panel__media img { transform: scale(1.04); }
.cta-panel__media::after { /* blend photo into the panel */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-2) 0%, rgba(34,28,23,.25) 45%, rgba(34,28,23,.1) 100%);
}
@media (min-width: 900px) {
  .cta-panel__media::after { background: linear-gradient(to right, var(--ink-2) 0%, rgba(34,28,23,.35) 35%, rgba(34,28,23,.05) 100%); }
}
.cta-panel__badge {
  position: absolute; z-index: 3; right: 1.75rem; bottom: 1.75rem;
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.15rem .85rem .85rem;
  background: rgba(26, 21, 17, .82); border: 1px solid rgba(201, 169, 110, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.cta-panel__badge strong { display: block; margin-top: .2rem; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--ivory); }
@media (max-width: 899px) { .cta-panel__badge { right: 1.25rem; bottom: auto; top: 1.25rem; } }

/* ---------- Footer ---------- */
.footer { background: #130f0c; color: rgba(246,240,228,.72); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } }
.footer__brand { display: grid; gap: 1.25rem; align-content: start; }
.footer__brand p { max-width: 22rem; font-size: .95rem; }
.footer__motto { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); }
.footer h4 { margin-bottom: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.footer ul { display: grid; gap: .55rem; font-size: .95rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: .6rem; align-items: center; }
.footer__contact svg { color: var(--gold); }
.footer__legal { display: flex; flex-direction: column; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid rgba(230,211,168,.12); font-size: .8rem; color: rgba(246,240,228,.5); }
@media (min-width: 900px) { .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__disclaimer { max-width: 44rem; }

/* ---------- Floating buttons ---------- */
.floating {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 900;
  display: flex; flex-direction: column; gap: .6rem;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.floating.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 640px) { .floating { right: 1.5rem; bottom: 1.5rem; } }
.icon-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; font-size: 1.15rem;
  border-radius: 50%; border: 1px solid rgba(230,211,168,.3);
  background: rgba(26,21,17,.85); backdrop-filter: blur(12px); color: var(--ivory); cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transition: background-color .25s, color .25s, border-color .25s, transform .15s;
}
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.icon-btn--gold { background: var(--gold-gradient); border-color: transparent; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal], .js [data-reveal-group] > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .is-revealed[data-reveal], .js .is-revealed[data-reveal-group] > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
  .hc__media img { transform: none; }
}

/* Grid children must be allowed to shrink below their content width (long URLs, selects) */
.split > *, .contact-grid > *, .area > *, .standard > *, .experience__grid > *, .page-hero__grid > *, .form__row > *, .field { min-width: 0; }
.contact-line strong, .footer a { overflow-wrap: anywhere; }
.form, .form__row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 859px) {
  .hc .chips { display: none; }
}
.cta-panel > * { min-width: 0; }
@media (max-width: 539px) {
  .btn { white-space: normal; text-align: center; padding-inline: 1.25rem; line-height: 1.4; }
  .btn__text { white-space: normal; }
  .cta-panel__content { padding: 2rem 1.5rem 2.25rem; }
}
@media (max-width: 639px) { .topbar__mail { display: none !important; } }
.header__inner > .logo { min-width: 0; }
@media (max-width: 399px) {
  .logo { gap: .6rem; }
  .logo__mark { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; }
  .logo__name { font-size: 1.15rem; letter-spacing: .16em; }
  .logo__sub { font-size: .46rem; letter-spacing: .2em; }
  .header__inner { gap: .75rem; }
}

/* Dark components carry their own palette so they read correctly on ivory sections */
.svc-card, .cta-panel {
  --fg: var(--ivory);
  --muted: rgba(246, 240, 228, 0.7);
  --line: rgba(230, 211, 168, 0.18);
  --accent: var(--gold);
  color: var(--fg);
}
.section--ivory2 .svc-card, .section--ivory .svc-card { box-shadow: 0 30px 60px -38px rgba(26, 21, 17, .55); }
.cta-final { background: var(--ivory-2); }
.cta-panel { box-shadow: 0 40px 80px -50px rgba(26, 21, 17, .6); }
/* Steps line + nodes on light backgrounds */
.section--ivory .step__num, .section--ivory2 .step__num { background: var(--bg); }

/* ---------- Before / after results ---------- */
.results { display: grid; gap: 3rem; align-items: center; }
.results > * { min-width: 0; }
@media (min-width: 960px) { .results { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5rem; } }
.results__copy { display: grid; gap: 1.4rem; justify-items: start; }
.results__points { display: grid; gap: .8rem; padding: 1.4rem 0; border-block: 1px solid var(--line); width: 100%; }
.results__points li { display: flex; align-items: center; gap: .85rem; font-size: 1rem; }
.results__points svg { color: var(--accent); font-size: 1.35rem; }
.results__figure { margin: 0; position: relative; }
.results__figure::before { /* offset gold frame */
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent); pointer-events: none;
}
.results__caption { position: relative; margin-top: 2rem; font-size: .85rem; color: var(--muted); }

.ba {
  --pos: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 622 / 502;
  background: var(--ink-2);
  box-shadow: 0 40px 80px -45px rgba(26, 21, 17, .7);
  user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { /* divider line */
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: var(--gold-gradient);
  box-shadow: 0 0 18px rgba(201, 169, 110, .6);
}
.ba__handle {
  position: absolute; z-index: 3; top: 50%; left: var(--pos);
  display: flex; align-items: center; justify-content: center; gap: .1rem;
  width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem;
  border-radius: 50%; background: var(--gold-gradient); color: var(--ink);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.55), 0 0 0 6px rgba(246, 240, 228, .25);
  font-size: 1rem; pointer-events: none;
  transition: transform .3s var(--ease);
}
.ba:hover .ba__handle, .ba__range:focus-visible ~ .ba__handle { transform: scale(1.08); }
.ba__range:focus-visible ~ .ba__handle { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 6px var(--gold); }
.ba__range {
  position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba__tag {
  position: absolute; z-index: 3; top: 1.1rem;
  padding: .45rem .9rem;
  background: rgba(26, 21, 17, .78); border: 1px solid rgba(201, 169, 110, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .64rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light);
  pointer-events: none; transition: opacity .3s;
}
.ba__tag--before { left: 1.1rem; }
.ba__tag--after { right: 1.1rem; }
.ba[data-near="left"] .ba__tag--before, .ba[data-near="right"] .ba__tag--after { opacity: 0; }
@media (max-width: 559px) { .results__figure::before { inset: .6rem -.6rem -.6rem .6rem; } .ba__handle { width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem; } }

/* Wide arch: for landscape photos (e.g. treatment close-ups) so nothing important is cropped */
.arch--wide { width: min(100%, 36rem); aspect-ratio: 622 / 502; }
.arch--wide::before, .arch--wide .arch__img { border-radius: 50% 50% 3px 3px / 42% 42% 3px 3px; }
.arch--wide .arch__img img { object-position: center; }
.arch__tag {
  position: absolute; z-index: 2; left: -1.25rem; bottom: 1.75rem;
  display: grid; gap: .1rem; padding: .85rem 1.15rem;
  background: rgba(26, 21, 17, .9); border: 1px solid rgba(201, 169, 110, .4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.arch__tag span { font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.arch__tag strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--ivory); }
.arch__tag a { color: inherit; }
@media (max-width: 559px) { .arch__tag { left: .75rem; bottom: .75rem; } }

/* Phone / small tablet: photo becomes a full-width band above the text */
@media (max-width: 859px) {
  .hc__inner { padding-top: 0; }
  .hc__visual {
    position: relative; inset: auto; order: -1;
    height: 18rem; margin-inline: calc(-1 * var(--gutter));
  }
  .hc__media::after { background: linear-gradient(to top, var(--ink) 0%, rgba(26, 21, 17, .2) 45%, rgba(26, 21, 17, 0) 70%); }
  .hc__visual-tag { top: auto; right: auto; bottom: 1rem; left: var(--gutter); }
  .hc__slide.is-leaving .hc__visual { animation-name: hc-fade-out; }
  @keyframes hc-fade-out { to { opacity: 0; } }
}
.topbar__info span, .topbar__links a { white-space: nowrap; }
@media (max-width: 1199px) { .topbar__mail { display: none !important; } }
