/* Nolan's Foot Care & Holistic Therapy
   Navy, gold and white from the logo. Marcellus (Roman inscription serif, sits beside the
   logo's classical capitals) for display, Atkinson Hyperlegible Next for everything read. */

@font-face { font-family: 'Marcellus'; src: url('../fonts/marcellus-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('../fonts/atkinson-next-latin-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('../fonts/atkinson-next-latin-var-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --navy-950: #070d24;
  --navy-900: #0c1638;
  --navy-850: #0e1a3d;
  --navy-800: #13214c;
  --navy-700: #223466;
  --gold: #b08d53;
  --gold-300: #dcc497;
  --gold-400: #c9a86f;
  --gold-700: #85652f;
  --porcelain: #eef1f6;
  --porcelain-2: #e2e7f0;
  --white: #fff;
  --ink: #121a36;
  --slate: #4a536f;
  --on-navy: #dfe4f0;
  --on-navy-2: #b9c1d6;
  --line: rgba(18, 26, 54, .12);
  --line-navy: rgba(255, 255, 255, .14);

  --f-display: 'Marcellus', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --f-body: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --wrap: 1400px;
  --hh0: 88px;              /* header height at the top of the page */
  --hh: 88px;               /* current header height */
  --sec-pad: clamp(56px, 8vh, 104px);
  --leaf: clamp(26px, 3.4vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fs-body: 1.125rem;
  --fs-h2: clamp(2rem, 3.4vw, 3.6rem);
  --fs-lede: clamp(1.08rem, 1.25vw, 1.25rem);
}

@media (max-width: 1180px) { :root { --hh0: 76px; --hh: 76px; } }
@media (max-width: 600px) { :root { --hh0: 68px; --hh: 68px; --fs-body: 1.0625rem; } }
html.is-scrolled { --hh: 72px; }
@media (max-width: 1180px) { html.is-scrolled { --hh: 68px; } }
@media (max-width: 600px) { html.is-scrolled { --hh: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: var(--hh0);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--navy-900); color: #fff; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--white { background: var(--white); }
.sec--porcelain { background: var(--porcelain); }
.sec--navy { background: var(--navy-900); color: var(--on-navy); }
.sec--navy .sec-title { color: #fff; }

.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4.5vh, 48px); }
.sec-title { font-size: var(--fs-h2); color: var(--navy-900); }
.sec-lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--slate); max-width: 120ch; }
.sec--navy .sec-lede { color: var(--on-navy-2); }

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.55em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn span { position: relative; }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy::before { background: var(--gold); }
.btn--navy:hover, .btn--navy:focus-visible { color: var(--navy-950); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold::before { background: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(7, 13, 36, .18); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--navy-900); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; color: var(--navy-900); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 calc(100% - 7px) / 100% 1.5px; }
.link-arrow svg, .card__more svg, .panel__more svg, .map__links svg, .dd__feature-text svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hh); background: var(--white);
  transition: height .45s var(--ease), box-shadow .45s var(--ease);
}
html.is-scrolled .site-header { box-shadow: 0 12px 34px -22px rgba(12, 22, 56, .45); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 36px); }
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 8px; }
.brand__mark { height: calc(var(--hh) * .7); width: auto; transition: height .45s var(--ease); }
.brand__word { height: calc(var(--hh) * .6); width: auto; transition: height .45s var(--ease); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(2px, .5vw, 8px); }
.nav__item { position: relative; }
.nav__trigger, .nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  padding: .65em .75em; border: 0; border-radius: 10px; cursor: pointer;
  font: 600 1rem/1 var(--f-body); color: var(--navy-900); text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat .75em calc(100% - .45em) / 0 1.5px;
  transition: background-size .45s var(--ease);
}
.nav__trigger:hover, .nav__link:hover, .nav__item.is-open > .nav__trigger { background-size: calc(100% - 1.5em) 1.5px; }
.nav__trigger::after {
  content: ''; width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .4s var(--ease), margin .4s var(--ease);
}
.nav__item.is-open > .nav__trigger::after { transform: rotate(225deg); margin-top: 3px; }
.site-header__cta { min-height: 48px; padding: .7em 1.35em; }
.site-header__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.site-header__tel svg { width: 18px; height: 18px; color: var(--gold-700); }
.tel-btn { display: none; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--navy-900); color: #fff; }
.tel-btn svg { width: 20px; height: 20px; }
@media (max-width: 1599px) { .site-header__tel { display: none; } }

/* dropdowns */
.dd { position: absolute; top: 100%; left: -18px; padding-top: 14px; display: none; }
.nav__item.is-open > .dd { display: block; animation: dd-in .5s var(--ease) both; }
.nav__item.is-open .dd__feature img { animation: dd-img 1.1s var(--ease) both; }
.no-js .nav__item:hover > .dd, .no-js .nav__item:focus-within > .dd { display: block; }
@keyframes dd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dd-img { from { transform: scale(1.14); } to { transform: none; } }
.dd__inner {
  display: grid; grid-template-columns: auto 190px; gap: 14px; padding: 14px;
  background: var(--white); border-radius: 22px;
  box-shadow: 0 34px 70px -28px rgba(12, 22, 56, .45), 0 0 0 1px rgba(12, 22, 56, .07);
}
.dd__inner::before { content: ''; position: absolute; left: 40px; right: 40px; top: 14px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 2px; }
.dd__list { display: grid; gap: 2px; align-content: start; }
.dd__list--two { grid-template-columns: repeat(2, auto); }
.dd__link { display: block; padding: 12px 16px; border-radius: 14px; text-decoration: none; transition: background-color .3s ease; }
.dd__link:hover, .dd__link:focus-visible { background: var(--porcelain); }
.dd__title { display: block; font: 400 1.14rem/1.25 var(--f-display); color: var(--navy-900); white-space: nowrap; }
.dd__desc { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.35; color: var(--slate); white-space: nowrap; }
.dd__feature { position: relative; display: block; min-height: 180px; border-radius: 16px; overflow: hidden; text-decoration: none; }
.dd__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dd__feature:hover img { transform: scale(1.06); }
.dd__feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 36, 0) 35%, rgba(7, 13, 36, .85)); }
.dd__feature-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: .4em; font-weight: 600; font-size: .95rem; color: #fff; }
.dd__feature:hover .dd__feature-text svg { transform: translateX(4px); }

/* burger + mobile menu */
.burger {
  display: none; position: relative; z-index: 2; margin-left: auto; flex: none;
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(12, 22, 56, .2); background: var(--white); cursor: pointer;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .45s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mnav {
  position: fixed; left: 0; right: 0; top: var(--hh); bottom: 0; z-index: 55;
  background: var(--navy-900); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s linear .6s;
}
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.mnav__inner { display: flex; flex-direction: column; gap: 22px; min-height: 100%; padding: 12px var(--gutter) 36px; }
.mnav__list > li { border-bottom: 1px solid var(--line-navy); }
.mnav__toggle, .mnav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; border: 0; background: none; cursor: pointer; text-align: left; text-decoration: none;
  font: 400 1.5rem/1.2 var(--f-display); color: #fff;
}
.mnav__toggle svg { width: 22px; height: 22px; color: var(--gold); transition: transform .45s var(--ease); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mnav__sub.is-open { grid-template-rows: 1fr; }
.mnav__subin { min-height: 0; overflow: hidden; }
.mnav__subin li:last-child { padding-bottom: 14px; }
.mnav__subin a { display: block; padding: 9px 0 9px 16px; border-left: 1.5px solid var(--gold); color: var(--on-navy); text-decoration: none; font-size: 1.08rem; }
.mnav__cta { align-self: flex-start; }
.mnav__note { color: var(--on-navy-2); font-size: 1rem; }
.mnav .mnav__inner > * { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .6s var(--ease); }
.mnav.is-open .mnav__inner > * { opacity: 1; transform: none; }
.mnav.is-open .mnav__inner > :nth-child(2) { transition-delay: .08s; }
.mnav.is-open .mnav__inner > :nth-child(3) { transition-delay: .14s; }
html.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: block; }
  .tel-btn { display: grid; margin-left: auto; }
  .tel-btn + .burger { margin-left: 0; }
}

/* --------------------------------------------------------------- intro (first visit only) */
.intro { display: none; }
html.motion.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90;
  background: var(--white); clip-path: inset(0 0 0 0);
}
.intro__mark { position: relative; width: clamp(150px, 16vw, 230px); aspect-ratio: 480 / 431; }
.intro__part { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  min-height: calc(100vh - var(--hh0)); min-height: calc(100svh - var(--hh0));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--navy-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 13, 36, .84) 0%, rgba(7, 13, 36, .62) 34%, rgba(7, 13, 36, .12) 68%, rgba(7, 13, 36, 0) 100%),
    linear-gradient(0deg, rgba(7, 13, 36, .8) 0%, rgba(7, 13, 36, .2) 42%, rgba(7, 13, 36, 0) 60%),
    linear-gradient(180deg, rgba(7, 13, 36, .2) 0%, rgba(7, 13, 36, 0) 18%);
}
.hero__inner { padding-top: clamp(32px, 7vh, 88px); padding-bottom: clamp(26px, 5.5vh, 60px); }
.hero__title { font-size: clamp(2.6rem, 5.5vw, 6.3rem); line-height: 1.04; letter-spacing: -.012em; color: #fff; }
.hero__line { display: block; }
.hero__line--gold { color: var(--gold-300); }
.hero__lede { margin-top: clamp(16px, 2.6vh, 26px); max-width: 44em; font-size: clamp(1.08rem, 1.3vw, 1.28rem); line-height: 1.55; color: #e9ecf4; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3.4vh, 34px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(18px, 3vh, 30px); font-size: 1rem; color: #dfe4f0; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(7, 13, 36, .72); }
.marquee__track { display: flex; width: max-content; padding: 14px 0; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 1.15rem/1 var(--f-display); letter-spacing: .02em; color: var(--gold-300); white-space: nowrap; }
.marquee__track span::after { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- foot care cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 28px); }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit; background: var(--white);
  border-radius: 6px var(--leaf) 6px var(--leaf);
  box-shadow: 0 0 0 1px var(--line), 0 26px 50px -38px rgba(12, 22, 56, .5);
  transition: box-shadow .5s var(--ease), transform .6s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 0 0 1px rgba(176, 141, 83, .55), 0 34px 60px -34px rgba(12, 22, 56, .55); }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9.4; border-radius: 6px var(--leaf) 0 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .28), transparent 55%);
}
.card:hover .card__media::after { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: clamp(18px, 1.6vw, 24px) clamp(18px, 1.7vw, 26px) clamp(18px, 1.6vw, 24px); }
.card__title { font-size: clamp(1.35rem, 1.55vw, 1.7rem); color: var(--navy-900); }
.card__text { font-size: 1.02rem; line-height: 1.55; color: var(--slate); }
.card__more { display: inline-flex; align-items: center; gap: .45em; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .98rem; color: var(--gold-700); }
.card:hover .card__more svg { transform: translateX(5px); }

.care__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: clamp(22px, 3.6vh, 36px); padding: 18px clamp(20px, 2.4vw, 34px);
  border-radius: 6px var(--leaf) 6px var(--leaf); background: var(--porcelain);
}
.care__cta-text { display: flex; align-items: center; gap: 14px; font: 400 clamp(1.15rem, 1.4vw, 1.4rem)/1.35 var(--f-display); color: var(--navy-900); }
.care__cta-text svg { width: 24px; height: 24px; flex: none; color: var(--gold); }

/* --------------------------------------------------------------- signature: where does it hurt */
.map { background: var(--navy-850); color: var(--on-navy); overflow: clip; }
.map::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 26% 50%, rgba(176, 141, 83, .12), transparent 70%);
}
.map { --hh-pin: 72px; }
@media (max-width: 1180px) { .map { --hh-pin: 68px; } }
.map__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 96px); align-items: center; min-height: calc(100vh - var(--hh-pin) - 2 * var(--sec-pad)); }
.map__stage { display: grid; place-items: center; }
.map__figure { position: relative; height: min(calc(100vh - var(--hh-pin) - 2 * var(--sec-pad)), 760px); aspect-ratio: 1100 / 1467; max-width: 100%; }
.map__img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(62% 60% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(62% 60% at 50% 50%, #000 58%, transparent 100%);
}
.map__ring {
  position: absolute; left: var(--rx, 30.5%); top: var(--ry, 13%); width: var(--rw, 74px); height: var(--rh, 74px);
  transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--gold-300);
  box-shadow: 0 0 0 6px rgba(176, 141, 83, .16), 0 0 40px rgba(220, 196, 151, .35); pointer-events: none;
}
.map__spot {
  position: absolute; left: var(--x); top: var(--y); margin: -22px 0 0 -22px;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.map__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(12, 22, 56, .55); transition: transform .4s var(--ease), background-color .3s; }
.map__dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid var(--gold-300); animation: pulse 2.4s var(--ease) infinite; }
.map__spot:hover .map__dot, .map__spot.is-active .map__dot { transform: scale(1.25); background: var(--gold-300); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.map__label {
  position: absolute; left: calc(100% - 2px); top: 50%; transform: translate(6px, -50%);
  padding: 5px 11px; border-radius: 999px; background: rgba(7, 13, 36, .82); border: 1px solid rgba(220, 196, 151, .35);
  font-size: .9rem; font-weight: 600; color: #fff; white-space: nowrap; pointer-events: none;
  display: none;
}
.map__spot:hover .map__label, .map__spot.is-active .map__label, .map__spot:focus-visible .map__label { display: block; animation: label-in .45s ease both; }
.map__spot[data-stop="4"] .map__label { left: auto; right: calc(100% - 2px); transform: translate(-6px, -50%); }
@keyframes label-in { from { opacity: 0; } to { opacity: 1; } }
.map__copy .sec-title { color: #fff; }
.map__intro { margin-top: 14px; font-size: var(--fs-lede); color: var(--on-navy-2); }
.map__stops { display: grid; margin-top: clamp(22px, 4vh, 40px); }
.map__stop {
  grid-area: 1 / 1; padding: clamp(22px, 3vh, 32px) clamp(22px, 2.2vw, 34px);
  border-radius: 6px var(--leaf) 6px var(--leaf); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(220, 196, 151, .22);
}
.map__stops { position: relative; }
html.map-live .map__stop:not(.is-active) { position: absolute; left: 0; top: 0; width: 100%; transform: translateX(-130vw); }
.map__num { display: block; font: 400 1rem/1 var(--f-display); letter-spacing: .12em; color: var(--gold); }
.map__q { margin-top: 10px; font-size: clamp(1.5rem, 2.1vw, 2.1rem); color: #fff; }
.map__stop p { margin-top: 12px; color: var(--on-navy); font-size: 1.05rem; }
.map__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.map__links a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--gold-300); font-weight: 600; text-decoration: none; background: linear-gradient(rgba(220, 196, 151, .45), rgba(220, 196, 151, .45)) no-repeat 0 calc(100% - 8px) / 100% 1px; }
.map__links a:hover svg { transform: translateX(4px); }
.map__progress { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.map__count { font: 400 1rem/1 var(--f-display); letter-spacing: .08em; color: var(--on-navy-2); }
.map__count b { font-weight: 400; color: var(--gold-300); }
.map__bar { position: relative; flex: 1; max-width: 260px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.map__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.2); }

/* static fallback (no JS, reduced motion, small screens): every stop listed */
html:not(.map-live) .map__stops { gap: 14px; }
html:not(.map-live) .map__stop { grid-area: auto; }
html:not(.map-live) .map__spot.is-active .map__label { display: none; }
html:not(.map-live) .map__progress { display: none; }
html:not(.map-live) .map__ring { display: none; }
html:not(.map-live) .map__dot { display: grid; place-items: center; width: 30px; height: 30px; background: var(--gold); color: var(--navy-950); font: 700 .95rem/1 var(--f-body); }
html:not(.map-live) .map__dot::before { content: attr(data-n); }
html:not(.map-live) .map__dot::after { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
html:not(.map-live) .map__spot:hover .map__dot { transform: scale(1.12); }
html:not(.map-live) .map__inner { align-items: start; }
html:not(.map-live) .map__stage { position: sticky; top: calc(var(--hh) + 24px); }

/* --------------------------------------------------------------- holistic panels */
.panels { display: flex; gap: clamp(12px, 1.2vw, 20px); height: clamp(420px, 56vh, 560px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: 6px var(--leaf) 6px var(--leaf); text-decoration: none; color: #fff;
  transition: flex-grow .9s var(--ease);
}
.panel.is-open { flex-grow: 1.75; }
.panel__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover .panel__img { transform: scale(1.04); }
.panel__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 13, 36, 0) 30%, rgba(7, 13, 36, .55) 58%, rgba(7, 13, 36, .92) 100%); }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: clamp(20px, 2vw, 32px); }
.panel__title { font-size: clamp(1.5rem, 1.9vw, 2rem); color: #fff; }
.panel__text { max-width: 36em; font-size: 1.02rem; line-height: 1.5; color: #e7eaf2; }
.panel__more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--gold-300); }
.panel:hover .panel__more svg { transform: translateX(5px); }
.panel::after { content: ''; position: absolute; left: clamp(20px, 2vw, 32px); top: clamp(20px, 2vw, 32px); width: 44px; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.4); transition: transform .8s var(--ease); }
.panel.is-open::after { transform: scaleX(1); }

/* --------------------------------------------------------------- the way I work */
.way__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.way__media { position: relative; padding: 0 0 clamp(40px, 7vh, 70px) 0; }
.frame-leaf { overflow: hidden; border-radius: 6px var(--leaf) 6px var(--leaf); }
.way__big { position: relative; width: 88%; aspect-ratio: 3 / 2; }
.way__big img, .way__small img, .faq__img img, .steps__photo img { width: 100%; height: 100%; object-fit: cover; }
.way__small {
  position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--leaf) 6px var(--leaf) 6px; border: 6px solid var(--navy-900);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.way__outline {
  position: absolute; left: 5%; top: 7%; width: 88%; aspect-ratio: 3 / 2;
  border: 1.5px solid var(--gold); border-radius: 6px var(--leaf) 6px var(--leaf); pointer-events: none;
}
.way__copy .sec-lede { margin-top: 16px; }
.promises { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(20px, 3.4vh, 34px); border-top: 1px solid var(--line-navy); }
.promise { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; row-gap: 2px; align-items: start; padding: clamp(12px, 1.9vh, 18px) 0; border-bottom: 1px solid var(--line-navy); }
.promise__icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(220, 196, 151, .45); color: var(--gold-300); }
.promise__icon svg { width: 26px; height: 26px; }
.promise__title { font-size: 1.3rem; color: #fff; padding-top: 2px; }
.promise p { font-size: 1rem; line-height: 1.5; color: var(--on-navy-2); }

/* --------------------------------------------------------------- first appointment */
.steps { overflow: clip; }
.steps::before {
  content: ''; position: absolute; right: -8%; top: 50%; width: 46vw; aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(176, 141, 83, .09), transparent); pointer-events: none;
}
.steps__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.steps__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: clamp(18px, 4vh, 40px); }
.steps__photo { overflow: hidden; aspect-ratio: 1; box-shadow: 0 30px 60px -40px rgba(12, 22, 56, .55); }
.steps__photo--a { border-radius: 6px var(--leaf) 6px var(--leaf); }
.steps__photo--b { border-radius: var(--leaf) 6px var(--leaf) 6px; transform: translateY(clamp(18px, 4vh, 40px)); }
.steps__track { position: relative; padding-left: 96px; }
.trail { position: absolute; left: 0; top: 0; width: 72px; height: 100%; overflow: visible; }
.trail__line { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .75; }
.trail__feet { position: absolute; left: 0; top: 0; width: 72px; height: 100%; pointer-events: none; }
.trail__foot { position: absolute; width: 15px; height: 24px; margin: -12px 0 0 -7.5px; color: var(--navy-900); }
.trail__foot.is-gold { color: var(--gold); }
.trail__foot svg { width: 100%; height: 100%; }
.steps__list { position: relative; display: grid; gap: clamp(18px, 3.2vh, 34px); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.step__num {
  position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gold); font: 400 1.25rem/1 var(--f-display); color: var(--navy-900);
  box-shadow: 0 14px 30px -18px rgba(12, 22, 56, .45);
}
.step__title { font-size: clamp(1.4rem, 1.7vw, 1.75rem); color: var(--navy-900); padding-top: 6px; }
.step__body p { margin-top: 6px; color: var(--slate); font-size: 1.04rem; }

/* --------------------------------------------------------------- areas */
.areas { overflow: clip; }
.areas__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.areas__copy .sec-lede { margin-top: 16px; }
.towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin: clamp(22px, 3.6vh, 36px) 0 clamp(26px, 4vh, 40px); }
.towns li { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--on-navy); cursor: default; transition: color .3s ease; }
.towns li::before { content: ''; width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--gold); transition: transform .4s var(--ease); }
.towns li.is-hot { color: #fff; }
.towns li.is-hot::before { transform: rotate(45deg) scale(1.5); }
.areas__map { position: relative; }
.sefton { width: 100%; height: auto; max-height: min(72vh, 640px); margin-inline: auto; overflow: visible; }
.sefton__coast { stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; }
.sefton__edge { stroke: none; }
.town--hover text { opacity: 0; transition: opacity .3s ease; }
.town--hover.is-hot text { opacity: 1; }
.sefton__waves path { animation: wave 7s ease-in-out infinite alternate; }
.sefton__waves path:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
@keyframes wave { to { transform: translateX(26px); } }
.town circle { fill: var(--gold); stroke: var(--navy-900); stroke-width: 3; transition: transform .4s var(--ease), fill .3s; transform-box: fill-box; transform-origin: center; }
.town text { font: 600 15px/1 var(--f-body); fill: var(--on-navy); transition: fill .3s; }
.town.is-hot circle { transform: scale(1.7); fill: var(--gold-300); }
.town.is-hot text { fill: #fff; }
.sefton__sea { font: 400 20px/1 var(--f-display); letter-spacing: .3em; fill: rgba(220, 196, 151, .55); text-transform: uppercase; }

/* --------------------------------------------------------------- faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.faq__media { position: relative; padding: 0 22px 22px 0; max-width: 520px; }
.faq__img { position: relative; aspect-ratio: 4 / 5; max-height: min(66vh, 620px); margin-inline: auto; }
.faq__outline { position: absolute; left: 22px; top: 22px; right: 0; bottom: 0; border: 1.5px solid var(--gold); border-radius: 6px var(--leaf) 6px var(--leaf); pointer-events: none; }
.faq__list { margin: clamp(20px, 3.4vh, 34px) 0 clamp(20px, 3vh, 30px); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding: 18px 0;
  cursor: pointer; list-style: none; font: 400 clamp(1.2rem, 1.45vw, 1.45rem)/1.3 var(--f-display); color: var(--navy-900);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { order: -1; flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid rgba(176, 141, 83, .6); color: var(--gold-700); transition: transform .45s var(--ease), background-color .3s; }
.qa[open] summary svg { transform: rotate(45deg); background: var(--white); }
.qa summary:hover span { color: var(--gold-700); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 20px 52px; color: var(--slate); font-size: 1.05rem; }

/* --------------------------------------------------------------- book */
.book { overflow: clip; color: #fff; background: var(--navy-950); }
.book__bg { position: absolute; inset: 0; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; }
.book__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 13, 36, .92) 0%, rgba(7, 13, 36, .78) 42%, rgba(7, 13, 36, .45) 100%); }
.book__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.book .sec-title { color: #fff; }
.book .sec-lede { margin-top: 16px; color: #dfe4f0; }
.book__contact { display: grid; gap: 14px; margin-top: clamp(22px, 3.6vh, 36px); }
.book__contact li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.book__contact svg { width: 44px; height: 44px; padding: 10px; flex: none; border-radius: 50%; border: 1px solid rgba(220, 196, 151, .5); color: var(--gold-300); }
.book__contact a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; background: linear-gradient(rgba(220, 196, 151, .5), rgba(220, 196, 151, .5)) no-repeat 0 calc(100% - 9px) / 100% 1px; }
.book__form {
  display: grid; gap: 16px; padding: clamp(22px, 2.6vw, 38px);
  background: var(--white); color: var(--ink); border-radius: 6px var(--leaf) 6px var(--leaf);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: .95rem; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cdd3e0; border-radius: 12px; background: #fbfcfe;
  font: 400 1.02rem/1.4 var(--f-body); color: var(--ink); transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 83, .18); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { font-size: .95rem; color: var(--slate); }
.form__done, .form__error { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form__done { background: #eef6ef; color: #1f5130; }
.form__error { background: #fbeeee; color: #7a2626; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(48px, 8vh, 80px) clamp(32px, 5vh, 52px); }
.footer__brand img { width: clamp(180px, 16vw, 240px); height: auto; }
.footer__brand p { margin-top: 16px; color: var(--slate); font-size: 1rem; }
.footer__h { font: 400 1.25rem/1.2 var(--f-display); color: var(--navy-900); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col li { font-size: 1rem; color: var(--slate); }
.footer__col a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.footer__col a:hover { color: var(--gold-700); border-color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--slate); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a, .footer__credit a { color: var(--ink); }
.footer__credit { margin-left: auto; }

/* --------------------------------------------------------------- split text masks (descenders and accents stay whole) */
[data-split] { display: flow-root; }
.sl-mask { padding: .2em .15em .3em; margin: 0 -.15em -.5em; }
.sl-mask:first-child { margin-top: -.2em; }
.sl-mask:last-child { margin-bottom: -.3em; }
.hw-mask { padding: .26em .1em .32em; margin: -.26em -.1em -.32em; }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* live foot map ring follows the stops smoothly */
html.map-live .map__ring { transition: width .2s linear, height .2s linear; }

/* --------------------------------------------------------------- motion start states (JS + motion allowed only) */
@media (prefers-reduced-motion: no-preference) {
  html.motion [data-split] { visibility: hidden; }
  html.motion [data-reveal="fade"] { opacity: 0; transform: translateY(26px); }
  html.motion .hero__title { visibility: hidden; }
  html.motion .hero__lede, html.motion .hero__ctas, html.motion .hero__trust, html.motion .care__cta { opacity: 0; }
  html.motion .cards__item, html.motion .panel, html.motion .promise, html.motion .step, html.motion .qa, html.motion .towns li { opacity: 0; }
  html.motion .map__img, html.motion .map__spot { opacity: 0; }
  html.motion .way__big, html.motion .way__small, html.motion .faq__img, html.motion .steps__photo, html.motion .book__form { opacity: 0; }
  html.motion .footer__top > * { opacity: 0; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .map__inner, .way__grid, .steps__grid, .areas__grid, .faq__grid, .book__grid { grid-template-columns: minmax(0, 1fr); }
  .map__inner { min-height: 0; }
  .map__stage { position: static !important; }
  .map__figure { height: auto; width: min(100%, 420px); }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; min-height: 440px; }
  .way__media { max-width: 640px; }
  .steps__photos { max-width: none; }
  .areas__map { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .faq__media { max-width: 420px; }
  .faq__img { max-height: none; }
  .book__form { order: 2; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .form__row, .promises { grid-template-columns: minmax(0, 1fr); }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__trust { font-size: .95rem; }
  .steps__track { padding-left: 74px; }
  .trail, .trail__feet { width: 56px; }
  .step { grid-template-columns: 54px 1fr; gap: 14px; }
  .step__num { width: 54px; height: 54px; font-size: 1.1rem; }
  .qa__a p { padding-left: 0; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; }
  .footer__brand, .footer__top > .footer__col:last-child { grid-column: 1 / -1; }
  .footer__credit { margin-left: 0; }
  .map__label { font-size: .82rem; padding: 4px 9px; }
}
@media (max-width: 380px) {
  .site-header__inner { gap: 8px; }
  .burger, .tel-btn { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 18px; }
  .burger span:last-child { top: 25px; }
}
@media (max-width: 600px) {
  .hero__title { font-size: 9.2vw; }
  .brand__word { height: calc(var(--hh) * .62); }
  .marquee__track span { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .sefton__waves path, .map__dot::after, .nav__item.is-open > .dd, .nav__item.is-open .dd__feature img, .map__label { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
