/* =========================================================
   Metro City Medical Clinic — redesign
   Design system: tokens, reset, motion, buttons, layout
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1f4878;
  --navy-2: #173a63;
  --ink: #0d1f36;
  --ink-2: #0a1829;
  --blue: #508ed9;
  --blue-lt: #eaf2fb;
  --gold: #d4a64a;
  --gold-dk: #a7842e;
  --gold-lt: #fbf3da;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --text: #13243a;
  --muted: #56677c;
  --line: rgba(19, 36, 58, 0.12);
  --line-dk: rgba(255, 255, 255, 0.12);

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 22px;

  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-fab: 250;
  --z-curtain: 500;

  --util-h: 36px;
  --nav-h: 78px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; font-size: 16px; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.clip { overflow-x: clip; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-curtain);
  background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dk);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .eyebrow--light { color: var(--gold); }
.center .eyebrow { justify-content: center; }

.display {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: .98;
  color: var(--navy);
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h2--sm { font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.08; }
.on-dark .display { color: #fff; }

.rule {
  width: 72px; height: 3px; border-radius: 3px; background: var(--gold);
  margin: 26px 0 30px; transform-origin: left; transform: scaleX(0);
  transition: transform 1s var(--ease) .2s;
}
.rule.is-in, .no-motion .rule { transform: scaleX(1); }
.center .rule { margin-left: auto; margin-right: auto; transform-origin: center; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.75; }
.on-dark .lead { color: rgba(255,255,255,.78); }

.inline-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .25s var(--ease); }
.inline-link:hover { color: var(--gold-dk); }
.on-dark .inline-link, .page-hero .inline-link { color: var(--gold); text-decoration-color: rgba(212,166,74,.5); }
.on-dark .inline-link:hover, .page-hero .inline-link:hover { color: #fff; }

/* ---------- Motion: scroll reveal ---------- */
.js [data-rr]   { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-rr-l] { opacity: 0; transform: translateX(-70px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js [data-rr-r] { opacity: 0; transform: translateX(70px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js [data-rr].is-in, .js [data-rr-l].is-in, .js [data-rr-r].is-in { opacity: 1; transform: none; }

.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .18s; }
.stagger > *:nth-child(3) { transition-delay: .31s; }
.stagger > *:nth-child(4) { transition-delay: .44s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .95rem 1.9rem; border-radius: 100px;
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-align: center; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; will-change: transform;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--lg { min-height: 58px; padding: 1.1rem 2.4rem; font-size: .84rem; }

.btn--fill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--fill:hover { background: transparent; color: var(--gold); box-shadow: 0 14px 38px rgba(212,166,74,.38); }
.on-light .btn--fill:hover { color: var(--gold-dk); border-color: var(--gold-dk); }

.btn--ghost { background: transparent; color: rgba(255,255,255,.94); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn--ghost-dark { background: transparent; color: var(--navy); border-color: rgba(31,72,120,.35); }
.btn--ghost-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 12px 30px rgba(31,72,120,.25); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); padding: 10px 0; min-height: 44px;
}
.arrow-link .arw { display: inline-block; transition: transform .35s var(--ease); }
.arrow-link:hover .arw { transform: translateX(6px); }
.arrow-link:hover { color: var(--gold-dk); }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--ink-2); color: rgba(255,255,255,.72);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--util-h); }
.utility-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.utility a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; transition: color .25s; }
.utility a:hover { color: var(--gold); }
.utility svg { width: 13px; height: 13px; opacity: .7; }
.util-divider { opacity: .3; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.nav.scrolled { box-shadow: 0 10px 34px rgba(13,31,54,.10); border-color: var(--line); background: rgba(255,255,255,.96); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-logo { display: flex; align-items: center; flex: none; padding: 6px 0; }
.nav-logo img { height: 50px; width: auto; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-family: var(--display); font-stretch: 108%; font-size: 13px; font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase; color: var(--text);
  transition: color .25s var(--ease);
}
.nav-links > li > a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links > li > a:not(.nav-cta):hover::after, .nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links > li > a:hover { color: var(--navy); }
.nav-links > li > a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  padding: 12px 24px !important; border-radius: 100px;
  font-family: var(--mono) !important; font-stretch: 100% !important; font-size: 12px !important; letter-spacing: .12em !important;
  background: var(--navy); color: #fff !important; border: 1px solid var(--navy);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease) !important;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; box-shadow: 0 10px 26px rgba(212,166,74,.35); }

.nav-caret { display: inline-block; font-size: 9px; line-height: 1; transition: transform .3s var(--ease); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover > a .nav-caret, .nav-dropdown.open > a .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px;
  transform: translate(-50%, 10px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
  box-shadow: 0 24px 60px rgba(13,31,54,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: var(--z-dropdown);
}
.nav-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dropdown:hover > .nav-dropdown-menu, .nav-dropdown.open > .nav-dropdown-menu, .nav-dropdown:focus-within > .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--text);
  transition: background .25s var(--ease), color .25s var(--ease), padding .3s var(--ease);
}
.nav-dropdown-menu a::after { content: '→'; font-family: var(--mono); color: var(--gold-dk); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.nav-dropdown-menu a:hover { background: var(--blue-lt); color: var(--navy); }
.nav-dropdown-menu a:hover::after { opacity: 1; transform: none; }

.nav-burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border: 1px solid var(--line); transition: background .3s var(--ease), border-color .3s;
}
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .4s var(--ease), opacity .3s; }
.nav-burger.open { background: var(--navy); border-color: var(--navy); }
.nav-burger.open span { background: #fff; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer (lives at body level so no transformed ancestor traps it) */
.drawer {
  position: fixed; inset: 0; z-index: calc(var(--z-sticky) - 1);
  background: var(--ink); color: #fff;
  padding: calc(var(--util-h) + var(--nav-h) + 28px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility .4s;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; }
.drawer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 90% 10%, rgba(80,142,217,.28), transparent 70%),
              radial-gradient(50% 35% at 0% 100%, rgba(212,166,74,.16), transparent 70%);
}
.drawer ul { position: relative; display: flex; flex-direction: column; }
.drawer > ul > li { border-bottom: 1px solid var(--line-dk); }
.drawer > ul > li > a, .drawer-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 18px 0; min-height: 60px;
  font-family: var(--display); font-stretch: 115%; font-size: 22px; font-weight: 750;
  letter-spacing: .02em; text-transform: uppercase; color: #fff; text-align: left;
}
.drawer > ul > li > a:active, .drawer-toggle:active { color: var(--gold); }
.drawer-submenu { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), visibility .4s; }
.drawer-group.open .drawer-submenu { max-height: 420px; visibility: visible; }
.drawer-group.open .drawer-toggle .nav-caret { transform: rotate(180deg); }
.drawer-submenu li a {
  display: flex; align-items: center; min-height: 48px; padding: 8px 0 8px 16px;
  border-left: 1px solid rgba(212,166,74,.5);
  font-family: var(--display); font-size: 16px; font-weight: 500; color: rgba(255,255,255,.82);
}
.drawer-submenu li:last-child a { margin-bottom: 14px; }
.drawer .drawer-cta { margin-top: 28px; border-bottom: 0; }
.drawer .drawer-cta a {
  justify-content: center; border-radius: 100px; background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-stretch: 100%; font-size: 14px; letter-spacing: .14em;
}
.drawer-logo { position: relative; width: 200px; margin-top: 36px; opacity: .55; }
html.drawer-open { overflow: hidden; }

/* ---------- Ambience ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vmax; height: 46vmax; left: -12%; top: -30%; background: radial-gradient(circle, rgba(80,142,217,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 38vmax; height: 38vmax; right: -14%; bottom: -36%; background: radial-gradient(circle, rgba(212,166,74,.35), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vmax; height: 30vmax; left: 40%; top: 30%; background: radial-gradient(circle, rgba(31,72,120,.6), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(6%, 8%, 0) scale(1.12); } }

.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, calc(100svh - var(--util-h) - var(--nav-h)));
  display: flex; align-items: center;
  background: var(--ink); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,24,41,.94) 0%, rgba(13,31,54,.86) 36%, rgba(23,58,99,.42) 66%, rgba(23,58,99,.08) 100%),
    linear-gradient(0deg, rgba(10,24,41,.75) 0%, transparent 32%);
}
.hero .aurora { z-index: -1; mix-blend-mode: screen; opacity: .7; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: clamp(72px, 10vh, 120px); padding-bottom: clamp(150px, 18vh, 200px); }
.hero-copy { max-width: 900px; }
.hero-eyebrow { color: var(--gold); margin-bottom: 26px; }
.hero h1 {
  font-family: var(--display); font-stretch: 122%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 4.7vw, 4.6rem); line-height: .95; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .ln { display: block; }
.hero-body { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; color: rgba(255,255,255,.84); max-width: 560px; margin-bottom: 40px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 120px; width: 1px; height: 64px; background: rgba(255,255,255,.18); overflow: hidden; z-index: 2; }
.scroll-cue::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Cinematic intro (home only, gated on .js so no-JS users always see content) */
.js .page-home::before {
  content: ''; position: fixed; inset: 0; z-index: var(--z-curtain); background: var(--ink-2); pointer-events: none;
  animation: intro-curtain .7s var(--ease) 0s forwards;
}
@keyframes intro-curtain { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.js .page-home .utility, .js .page-home .nav {
  opacity: 0; transform: translateY(-110%);
  animation: intro-nav-in .7s var(--spring) .35s forwards;
}
.js .page-home .nav.intro-done, .js .page-home .utility.intro-done { animation: none; opacity: 1; transform: none; }
@keyframes intro-nav-in { to { opacity: 1; transform: none; } }
.js .page-home .hero-media img { animation: intro-media-zoom 2.6s var(--ease) 0s both; transform-origin: center; }
@keyframes intro-media-zoom { 0% { transform: scale(1.06); } 100% { transform: scale(1); } }
.js .page-home .hero-copy > * { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.js .page-home .hero.is-ready .hero-copy > * { animation: intro-hero-line .85s var(--ease) forwards; }
.js .page-home .hero.is-ready .hero-eyebrow { animation-delay: 0s; }
.js .page-home .hero.is-ready h1 { animation-delay: .2s; }
.js .page-home .hero.is-ready .hero-body { animation-delay: .4s; }
.js .page-home .hero.is-ready .hero-btns { animation-delay: .55s; }
@keyframes intro-hero-line { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- Quicklinks ---------- */
.quicklinks { position: relative; z-index: 3; margin-top: -110px; }
.ql-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ql-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
  padding: 38px 34px 34px; border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(13,31,54,.18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ql-card:hover { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(13,31,54,.24); }
.ql-card--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%); color: #fff; }
.ql-card--gold { background: linear-gradient(160deg, #dcb259 0%, #b98e33 100%); color: var(--ink); }
.ql-card--white { background: #fff; color: var(--text); border: 1px solid var(--line); }
.ql-card::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .12; pointer-events: none;
}
.ql-icon { width: 52px; height: 52px; flex: none; }
.ql-heading { font-family: var(--display); font-stretch: 115%; font-size: 17px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ql-body { font-size: 15px; line-height: 1.7; flex-grow: 1; }
.ql-card--navy .ql-body { color: rgba(255,255,255,.8); }
.ql-card--gold .ql-body { color: rgba(13,31,54,.82); }
.ql-card--white .ql-body { color: var(--muted); }
.ql-card--white .ql-heading { color: var(--navy); }
.ql-hours { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.ql-card .btn { align-self: flex-start; margin-top: 6px; min-height: 46px; padding: .8rem 1.5rem; font-size: .74rem; }
.ql-card--gold .btn--ghost { color: var(--ink); border-color: rgba(13,31,54,.4); }
.ql-card--gold .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue-lt); }
.section--ink { background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Intro split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--flip { grid-template-columns: .95fr 1.05fr; }
.split p + p { margin-top: 18px; }
.split-text p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.85; }

.framed { position: relative; }
.framed::before {
  content: ''; position: absolute; inset: 0; border: 1.5px solid var(--gold); border-radius: calc(var(--radius) + 6px);
  transform: translate(18px, 18px); z-index: 0; opacity: .8; transition: transform .7s var(--ease);
}
.framed:hover::before { transform: translate(10px, 10px); }
.framed img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(13,31,54,.22); object-fit: cover; }
.framed--left::before { transform: translate(-18px, 18px); }
.framed--left:hover::before { transform: translate(-10px, 10px); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--gold), #e9c77c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(13,31,54,.16); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-lt); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; padding: clamp(26px, 3vw, 38px); }
.svc-title { font-family: var(--display); font-stretch: 115%; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.svc-text { color: var(--muted); font-size: 16px; line-height: 1.75; flex-grow: 1; }
.svc-body .btn { align-self: flex-start; margin-top: 8px; min-height: 46px; padding: .8rem 1.5rem; font-size: .74rem; }

/* Locations (directory) */
.loc-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line-dk); }
.loc-row {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line-dk);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.loc-row:hover { background: rgba(255,255,255,.03); padding-left: 14px; padding-right: 14px; }
.loc-name { grid-column: 1; font-family: var(--display); font-stretch: 112%; font-size: 15px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.loc-addr { grid-column: 1; color: #fff; font-size: 17px; }
.loc-hours { grid-column: 1; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: rgba(255,255,255,.55); }
.loc-hours svg { width: 13px; height: 13px; flex: none; opacity: .8; }
.loc-dir {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.loc-dir:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.loc-row--any { border-bottom-color: rgba(212,166,74,.45); }
.loc-row--any .loc-addr { color: rgba(255,255,255,.85); }
.loc-foot { margin-top: 48px; text-align: center; }

/* Location cards (light, contact page) */
.loc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.loc-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(13,31,54,.12); border-color: rgba(212,166,74,.6); }
.loc-card .pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-lt); color: var(--navy); margin-bottom: 10px; }
.loc-card .pin svg { width: 16px; height: 16px; }
.loc-card .location-name { font-family: var(--display); font-stretch: 112%; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.loc-card .location-addr { font-size: 16px; color: var(--text); }
.loc-card .location-hours { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.loc-card .location-map { margin-top: auto; padding-top: 12px; }
.loc-card--any {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 22px; align-items: center;
  background: var(--navy); border-color: var(--navy); padding: 30px 32px;
}
.loc-card--any .pin { grid-row: 1 / span 2; margin: 0; width: 52px; height: 52px; }
.loc-card--any .pin svg { width: 20px; height: 20px; }
.loc-card--any .location-name { grid-column: 2; font-size: 16px; }
.loc-card--any .location-addr { grid-column: 2; font-size: 17px; }
.loc-card--any .location-map { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 12px 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 100px; }
.loc-card--any .location-map:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.loc-card--any .location-name { color: var(--gold); }
.loc-card--any .location-addr { color: rgba(255,255,255,.85); }
.loc-card--any .pin { background: rgba(255,255,255,.1); color: var(--gold); }
.loc-card--any .arrow-link { color: #fff; }
.loc-card--any .arrow-link:hover { color: var(--gold); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(5rem, 10vw, 8.5rem) 0; text-align: center; }
.cta-band .aurora { z-index: -1; }
.cta-band .display { font-size: clamp(2.4rem, 7vw, 5.6rem); color: #fff; margin-bottom: 22px; }
.cta-band-body { max-width: 640px; margin: 0 auto 40px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.85); }
.cta-band-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Crisis strip */
.crisis-strip {
  background: var(--ink-2); color: rgba(255,255,255,.78); text-align: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line-dk);
}
.crisis-strip strong { color: var(--gold); font-weight: 700; }
.crisis-strip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e2574c; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(226,87,76,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(226,87,76,0); } 100% { box-shadow: 0 0 0 0 rgba(226,87,76,0); } }

/* Footer */
.footer { background: var(--ink-2); color: rgba(255,255,255,.66); padding: clamp(56px, 7vw, 88px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-logo-name { font-family: var(--display); font-stretch: 118%; font-size: 24px; font-weight: 800; line-height: 1.05; text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.footer-tagline { margin: 16px 0 20px; font-size: 15px; line-height: 1.7; max-width: 34ch; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--gold); transition: color .25s; }
.footer-phone:hover { color: #fff; }
.footer-col-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; color: rgba(255,255,255,.78); transition: color .25s, transform .35s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-locations-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); transition: color .25s; }
.footer-locations-link::after { content: '\2192'; transition: transform .35s var(--ease); }
.footer-locations-link:hover { color: #fff; }
.footer-locations-link:hover::after { transform: translateX(5px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dk); }
.footer-bottom-text { font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom-text a { color: rgba(255,255,255,.7); transition: color .25s; }
.footer-bottom-text a:hover { color: var(--gold); }

/* Floating call button */
.fixed-cta {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-fab); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 8px;
  border-radius: 100px; background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(13,31,54,.28);
  transition: transform .45s var(--ease), opacity .4s var(--ease), visibility .4s, background .3s;
}
.fixed-cta .ring { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.fixed-cta .ring svg { width: 16px; height: 16px; }
.fixed-cta:hover { background: #e2bb64; transform: translateY(-3px); }
.fixed-cta.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }
@media (max-height: 500px) { .fixed-cta { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; z-index: 2; isolation: isolate; overflow-x: clip; background: var(--ink); color: #fff; }
.page-hero .aurora { z-index: -1; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.page-hero--text .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--text .page-hero-grid > div { max-width: 900px; }
.page-hero h1, .page-hero .page-hero-heading {
  font-family: var(--display); font-stretch: 120%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 8.4vw, 4.6rem); line-height: .97; letter-spacing: -0.018em; color: #fff; margin-bottom: 24px; text-wrap: balance; overflow-wrap: break-word;
}
.page-eyebrow { color: var(--gold); }
.page-header-sub, .page-hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: rgba(255,255,255,.82); max-width: 56ch; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.page-hero-media--tall img { aspect-ratio: 4 / 5; }
.page-hero-media::before {
  content: ''; position: absolute; inset: 0; border-radius: calc(var(--radius) + 6px); border: 1.5px solid rgba(212,166,74,.7);
  transform: translate(16px, 16px); z-index: -1;
}
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 70%); }

.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--gold); padding: 8px 0; transition: color .25s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .45; }

/* contact-pop (inline call / message choice) */
.contact-pop { position: relative; display: inline-block; }
.contact-pop-trigger { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.on-dark .contact-pop-trigger, .page-hero .contact-pop-trigger { color: var(--gold); }
.contact-pop-menu {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: var(--z-dropdown); min-width: 230px;
  display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(13,31,54,.22);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.contact-pop.open .contact-pop-menu { opacity: 1; visibility: visible; transform: none; }
.contact-pop-menu a { display: flex; flex-direction: column; padding: 11px 14px; border-radius: 10px; font-size: 15px; line-height: 1.35; color: var(--text); transition: background .2s; }
.contact-pop-menu a strong { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.contact-pop-menu a:hover { background: var(--blue-lt); }

/* ---------- Article pages ---------- */
.article { padding: var(--section) 0; }
.article-inner { max-width: 780px; margin: 0 auto; }
.article-inner h2 {
  font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1; letter-spacing: -0.005em; color: var(--navy); margin: 64px 0 22px;
}
.article-inner h2::before { content: ''; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 20px; }
.article-inner > h2:first-child { margin-top: 0; }
.article-inner p { font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.85; color: #2a3b50; margin-bottom: 22px; }
.article-inner > p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 4.4rem; line-height: .82; padding: 8px 14px 0 0; color: var(--navy);
}
.article-inner p a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-inner p a:hover { color: var(--gold-dk); }
.article-inner strong { color: var(--navy); }
.article-rule + h2::before { display: none; }
.article-rule { height: 1px; background: var(--line); margin: 56px 0; position: relative; }
.article-rule::after { content: ''; position: absolute; left: 0; top: -1px; width: 72px; height: 3px; border-radius: 3px; background: var(--gold); }

.ticks { display: grid; gap: 12px; margin: 10px 0 34px; }
.ticks > li {
  position: relative; padding: 16px 20px 16px 58px; border-radius: 14px; background: var(--cream);
  font-size: 1.04rem; line-height: 1.6; color: var(--text); border: 1px solid transparent;
  transition: border-color .35s var(--ease), transform .45s var(--ease), background .35s;
}
.ticks > li:hover { border-color: rgba(212,166,74,.55); background: #fff; transform: translateX(4px); }
.ticks > li::before {
  content: ''; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a64a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks--warn > li::before {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1f36' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18h.01'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks ul { margin: 12px 0 2px; display: grid; gap: 6px; }
.ticks ul li { position: relative; padding-left: 22px; color: var(--muted); font-size: .98rem; }
.ticks ul li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 1.5px; background: var(--gold-dk); }

.video-frame { position: relative; aspect-ratio: 16 / 9; margin: 18px 0 8px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(13,31,54,.25); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Treatments (services) */
.oat-intro p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.8; color: var(--text); }
.oat-intro p + p { margin-top: 20px; color: var(--muted); }
.treatment-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.treatment-row:first-child { border-top: 0; padding-top: 0; }
.treatment-name { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.1; color: var(--navy); margin-bottom: 22px; text-wrap: balance; }
.treatment-name::before { content: ''; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 20px; }
.treatment-body p { color: var(--muted); font-size: 1.06rem; line-height: 1.85; }
.treatment-body p + p { margin-top: 16px; }
.treatment-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.treatment-img--contain { object-fit: contain; background: #f2f3f5; }

/* About */
.prose p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.85; }
.prose p + p { margin-top: 18px; }
.team-head { display: flex; align-items: center; gap: 20px; margin: 0 0 32px; }
.team-head + .bio-grid { margin-bottom: clamp(56px, 8vw, 96px); }
.bio-section-subhead { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; color: var(--navy); letter-spacing: .01em; white-space: nowrap; }
.team-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.bio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bio-card {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start;
  padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.bio-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(13,31,54,.12); border-color: rgba(212,166,74,.55); }
.bio-avatar { width: 112px; height: 112px; border-radius: 18px; object-fit: cover; object-position: center 22%; background: var(--blue-lt); }
.bio-name { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--navy); }
.bio-credentials { display: inline-block; margin: 8px 0 14px; padding: 4px 10px; border-radius: 6px; background: var(--gold-lt); font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--gold-dk); }
.bio-body { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* Contact */
.walkin { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(13,31,54,.1); }
.walkin-hours { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(32px, 4vw, 52px); }
.walkin-hours .aurora i { opacity: .4; }
.walkin-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.walkin-hours-row { padding: 18px 0; border-top: 1px solid var(--line-dk); }
.walkin-hours-day { font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.walkin-hours-time { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin-top: 4px; }
.walkin-instructions { padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.walkin-instructions p { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.walkin-instructions p:first-child { color: var(--text); font-size: 1.12rem; }
.walkin-instructions p + p { margin-top: 14px; }
.walkin-instructions a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; margin-top: clamp(64px, 8vw, 104px); }
.contact-heading { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 20px; }
.section-sub { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin-bottom: 32px; }
.section-sub a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-detail { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail .ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-lt); color: var(--navy); }
.contact-detail .ic svg { width: 18px; height: 18px; }
.contact-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-value a { font-family: var(--display); font-stretch: 108%; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; color: var(--navy); word-break: break-word; transition: color .25s; }
.contact-value a:hover { color: var(--gold-dk); }

.form-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(13,31,54,.12); }
.form-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group { margin-bottom: 18px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.form-group .req { color: var(--gold-dk); }
.form-group input, .form-group textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(19,36,58,.18);
  background: #fbfcfd; color: var(--text); font-size: 16px; line-height: 1.5;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(80,142,217,.18); }
.form-privacy { display: flex; align-items: center; gap: 10px; margin: 4px 0 22px; font-size: 14px; color: var(--muted); }
.form-privacy svg { width: 16px; height: 16px; color: var(--gold-dk); flex: none; }
.btn-submit { width: 100%; }
.form-status { display: none; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f6ee; color: #1f6b43; border: 1px solid #bfe3cd; }
.form-status.err { background: #fdecea; color: #8a2a20; border: 1px solid #f3c4bd; }

/* Stories */
.soon { max-width: 760px; margin: 0 auto; text-align: center; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px; background: var(--gold-lt); color: var(--gold-dk); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 30px; }
.soon-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse-gold 2s infinite; }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(212,166,74,.6); } 70% { box-shadow: 0 0 0 10px rgba(212,166,74,0); } 100% { box-shadow: 0 0 0 0 rgba(212,166,74,0); } }
.soon h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; color: var(--navy); margin-bottom: 26px; text-wrap: balance; }
.soon p { font-size: 1.1rem; line-height: 1.85; color: var(--muted); }
.soon p + p { margin-top: 16px; }
.soon p a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.soon .soon-later { margin-top: 30px; font-style: italic; font-size: 1rem; }
.quote-mark { width: 64px; height: 64px; margin: 0 auto 24px; color: var(--gold); opacity: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  :root { --nav-h: 72px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .ql-grid { grid-template-columns: 1fr; }
  .quicklinks { margin-top: -80px; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split .framed { max-width: 560px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 620px; }
  .page-hero-media--tall img { aspect-ratio: 4 / 3; }
  .treatment-row { grid-template-columns: 1fr; }
  .treatment-row .treatment-media { order: -1; }
  .walkin, .contact-grid { grid-template-columns: 1fr; }
  .loc-list { grid-template-columns: 1fr; }
  .loc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .utility .wrap { justify-content: center; }
  .utility { font-size: 10.5px; letter-spacing: .02em; }
  .utility-left { gap: 14px; justify-content: center; }
  .utility svg, .util-divider { display: none; }
  .nav-logo img { height: 42px; }
  .hero { min-height: max(600px, calc(100svh - var(--util-h) - var(--nav-h))); }
  .hero-scrim { background: linear-gradient(180deg, rgba(10,24,41,.80) 0%, rgba(13,31,54,.86) 55%, rgba(10,24,41,.95) 100%); }
  .hero-media img { object-position: 70% center; }
  .hero-content { padding-bottom: 130px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .scroll-cue { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .cta-band-btns { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .bio-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .bio-avatar { width: 96px; height: 96px; }
  .loc-row { grid-template-columns: 1fr; }
  .loc-cards { grid-template-columns: 1fr; gap: 14px; }
  .loc-card { padding: 22px 70px 14px 22px; }
  .loc-card:not(.loc-card--any) .pin { position: absolute; top: 20px; right: 20px; margin: 0; }
  .loc-card--any { grid-template-columns: 1fr; row-gap: 6px; padding: 28px 26px; }
  .loc-card--any .pin { grid-row: auto; width: 40px; height: 40px; margin-bottom: 8px; }
  .loc-card--any .location-name, .loc-card--any .location-addr { grid-column: 1; }
  .loc-card--any .location-map { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .loc-dir { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .framed::before, .framed--left::before { transform: translate(10px, 10px); }
  .page-hero-media::before { transform: translate(10px, 10px); }
  .fixed-cta { padding: 0 18px 0 7px; font-size: 11.5px; min-height: 48px; }
  .fixed-cta .ring { width: 34px; height: 34px; }
  .team-head { gap: 14px; }
  .bio-section-subhead { white-space: normal; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2.45rem; }
  .btn { padding: .9rem 1.4rem; letter-spacing: .1em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rr], .js [data-rr-l], .js [data-rr-r] { opacity: 1 !important; transform: none !important; }
  .js .page-home::before { display: none; }
  .js .page-home .nav, .js .page-home .utility, .js .page-home .hero-media img, .js .page-home .hero-copy > * { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .rule { transform: scaleX(1); }
}

@media print {
  .utility, .nav, .drawer, .fixed-cta, .cta-band, .aurora { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Layering + helpers ---------- */
.section--ink > .wrap, .cta-band > .wrap, .page-hero > .wrap, .walkin-hours > * { position: relative; z-index: 2; }
.walkin-hours > .aurora { position: absolute; z-index: 0; }
.arrow-link--after::after { content: '\2192'; display: inline-block; transition: transform .35s var(--ease); }
.arrow-link--after:hover::after { transform: translateX(6px); }
.on-dark .section-head .lead, .section--ink .lead { color: rgba(255,255,255,.75); }
.drawer .nav-caret { font-size: 15px; color: var(--gold); }

/* About: wide team photo in the header + editorial text block */
.page-hero-media--wide img { aspect-ratio: 3 / 2; }
.split--editorial { grid-template-columns: .8fr 1.2fr; align-items: start; }
.split--editorial .split-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.prose--lg p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.85; color: #2a3b50; }
.prose--lg p:first-child { font-size: clamp(1.15rem, 1.6vw, 1.38rem); color: var(--text); }
.prose--lg { padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--line); }
@media (max-width: 1023px) {
  .split--editorial { grid-template-columns: 1fr; gap: 8px; }
  .split--editorial .split-head { position: static; }
  .prose--lg { padding-left: 0; border-left: 0; }
}
/* Keep heads in frame when a photo is cropped to a wider box */
img.img-top { object-position: center top; }

/* Location phone line (Calgary Pineridge) */
.loc-phone { grid-column: 1; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .03em; }
.loc-phone svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.loc-phone a { color: var(--gold); padding: 4px 0; transition: color .25s; }
.loc-phone a:hover { color: #fff; }
.loc-card .location-phone a { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.loc-card .location-phone a:hover { color: var(--gold-dk); }
