/*
 * GENERATED FILE — DO NOT EDIT.
 *
 * Produced by `pnpm sync:design hpm` from src/templates/hpm/reference/styles.css + src/templates/hpm/hpm.patches.css.
 * Every selector is scoped under `.hpm` so this bespoke design cannot leak into any other
 * org rendered by the same multi-tenant runtime. Class names are the design's own, so a new design
 * export diffs cleanly against the previous one.
 *
 * Served as a static asset and linked by the template's Shell — deliberately not imported, so only
 * the org on this design downloads it. To change these styles, edit the design (Claude Design),
 * re-export into reference/, and re-run the sync.
 */
/* ============================================================
   MERIDIAN — Medical Aesthetics & Longevity
   Shared design system. Three switchable style directions via
   [data-theme] on <html>:  calm · luxe · science
   ============================================================ */

/* ---------- Reset ---------- */
.hpm *,
.hpm *::before,
.hpm *::after { box-sizing: border-box; }
.hpm * { margin: 0; }
:root:has(.hpm) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.hpm { line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.hpm img,
.hpm svg,
.hpm video { display: block; max-width: 100%; }
.hpm button,
.hpm input,
.hpm textarea,
.hpm select { font: inherit; color: inherit; }
.hpm button { cursor: pointer; background: none; border: none; }
.hpm a { color: inherit; text-decoration: none; }
.hpm ul { list-style: none; padding: 0; }
.hpm :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   THEME TOKENS
   ============================================================ */
.hpm {
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,30,40,.06), 0 2px 8px rgba(20,30,40,.05);
  --shadow-md: 0 4px 14px rgba(20,30,40,.07), 0 18px 40px rgba(20,30,40,.07);
  --shadow-lg: 0 10px 30px rgba(20,30,40,.10), 0 40px 80px rgba(20,30,40,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- CALM (default): soft clinical ---- */
.hpm,
.hpm[data-theme="calm"] {
  --bg:        oklch(0.982 0.010 240);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.255 0.045 250);
  --ink-soft:  oklch(0.475 0.032 248);
  --line:      oklch(0.902 0.020 240);
  --primary:   oklch(0.505 0.142 246);
  --primary-d: oklch(0.415 0.140 249);
  --primary-ink: oklch(0.995 0.004 240);
  --accent:    oklch(0.715 0.115 228);
  --accent-ink: oklch(0.325 0.085 243);
  --tint:      oklch(0.945 0.030 240);  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 500;
  --head-tracking: -0.015em;
  --head-lh: 1.1;
  --hero-spread: oklch(0.93 0.03 210);
}

/* ---- LUXE: warm cream, forest + brass ---- */
.hpm[data-theme="luxe"] {
  --bg:        oklch(0.972 0.013 82);
  --surface:   oklch(0.992 0.008 84);
  --surface-2: oklch(0.948 0.018 80);
  --ink:       oklch(0.255 0.022 62);
  --ink-soft:  oklch(0.44 0.022 64);
  --line:      oklch(0.882 0.022 78);
  --primary:   oklch(0.40 0.05 152);
  --primary-d: oklch(0.33 0.05 152);
  --primary-ink: oklch(0.97 0.015 90);
  --accent:    oklch(0.66 0.085 76);
  --accent-ink: oklch(0.30 0.05 70);
  --tint:      oklch(0.93 0.025 80);
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 400;
  --head-tracking: 0.004em;
  --head-lh: 1.16;
  --hero-spread: oklch(0.91 0.035 85);
}

/* ---- SCIENCE: crisp near-black + vital green ---- */
.hpm[data-theme="science"] {
  --bg:        oklch(0.984 0.004 150);
  --surface:   oklch(1 0 0);
  --surface-2: oklch(0.96 0.008 155);
  --ink:       oklch(0.19 0.012 250);
  --ink-soft:  oklch(0.42 0.014 250);
  --line:      oklch(0.90 0.008 200);
  --primary:   oklch(0.55 0.13 156);
  --primary-d: oklch(0.46 0.12 156);
  --primary-ink: oklch(0.99 0.01 150);
  --accent:    oklch(0.74 0.15 152);
  --accent-ink: oklch(0.28 0.08 156);
  --tint:      oklch(0.95 0.03 155);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 600;
  --head-tracking: -0.025em;
  --head-lh: 1.04;
  --hero-spread: oklch(0.93 0.05 155);
}

/* ============================================================
   BASE
   ============================================================ */
.hpm {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
}
.hpm h1,
.hpm h2,
.hpm h3,
.hpm h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  line-height: var(--head-lh);
  color: var(--ink);
  text-wrap: balance;
}
.hpm p { text-wrap: pretty; }
.hpm .container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.hpm .section { padding-block: clamp(56px, 8vw, 116px); }
.hpm .eyebrow {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.hpm .eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--primary); display: inline-block;
}
.hpm .lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.hpm .center { text-align: center; }
.hpm .center .eyebrow { justify-content: center; }
.hpm .center .lede { margin-inline: auto; }
.hpm .lede.center { margin-inline: auto; }
.hpm .eyebrow.center { display: flex; justify-content: center; }

/* ---------- Buttons ---------- */
.hpm .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; letter-spacing: .005em;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  border: 1.5px solid transparent; white-space: nowrap;
}
.hpm .btn:active { transform: translateY(1px); }
.hpm .btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow-sm); }
.hpm .btn-primary:hover { background: var(--primary-d); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hpm .btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.hpm .btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.hpm .btn-light { background: var(--surface); color: var(--ink); }
.hpm .btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hpm .btn-lg { padding: 17px 30px; font-size: 16px; }
.hpm .btn .arr { transition: transform .25s var(--ease); }
.hpm .btn:hover .arr { transform: translateX(3px); }

/* ---------- Image placeholders ---------- */
.hpm .ph {
  position: relative; overflow: hidden;
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(135deg,
     color-mix(in oklab, var(--line) 70%, transparent) 0 1.5px,
     transparent 1.5px 13px);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-soft);
}
.hpm .ph::after {
  content: attr(data-label);
  font-family: "Hanken Grotesk", monospace;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  max-width: 80%; text-align: center; line-height: 1.3;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.hpm .site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.hpm .nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.hpm .brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.hpm .brand .mark { width: 40px; height: 40px; border-radius: 50%; flex: none; display: block; }

.hpm .brand .name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 22px; letter-spacing: .01em; }
.hpm .brand .name b { color: var(--primary); font-weight: inherit; }
.hpm .brand small { display: block; font-family: var(--font-body); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1px; }

.hpm .nav-links { display: flex; align-items: center; gap: 4px; }
.hpm .nav-links > li > a,
.hpm .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s; white-space: nowrap;
}
.hpm .nav-links > li > a:hover,
.hpm .nav-links > li > button:hover,
.hpm .nav-links > li > a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.hpm .nav-actions { display: flex; align-items: center; gap: 12px; }

/* services dropdown */
.hpm .has-menu { position: relative; }
.hpm .menu-caret { transition: transform .25s var(--ease); }
.hpm .has-menu[data-open="true"] .menu-caret { transform: rotate(180deg); }
.hpm .dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: 520px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; translate: -50% 8px;
  transition: opacity .22s var(--ease), translate .22s var(--ease), visibility .22s;
}
.hpm .has-menu[data-open="true"] .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.hpm .dropdown a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: var(--r-md); transition: background .18s;
}
.hpm .dropdown a:hover { background: var(--surface-2); }
.hpm .dropdown .di {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: var(--tint); color: var(--primary);
}
.hpm .dropdown .di svg { width: 19px; height: 19px; }
.hpm .dropdown b { font-size: 15px; font-weight: 600; color: var(--ink); display: block; }
.hpm .dropdown a > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.hpm .dropdown span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }

/* mobile */
.hpm .nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.hpm .nav-toggle span,
.hpm .nav-toggle span::before,
.hpm .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.hpm .nav-toggle span::before { transform: translateY(-6px); }
.hpm .nav-toggle span::after { transform: translateY(4px); }
.hpm.menu-open .nav-toggle span { background: transparent; }
.hpm.menu-open .nav-toggle span::before { transform: rotate(45deg); }
.hpm.menu-open .nav-toggle span::after { transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hpm .hero { position: relative; overflow: hidden; }
.hpm .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 78% -8%, var(--hero-spread), transparent 60%),
    radial-gradient(640px 480px at 6% 110%, var(--tint), transparent 62%);
  opacity: .85;
}
.hpm .hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 7vw, 92px);
}
.hpm .hero h1 { font-size: clamp(40px, 6vw, 70px); }
.hpm[data-theme="luxe"] .hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.hpm .hero .lede { margin-top: 22px; }
.hpm .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hpm .hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hpm .hero-trust div { display: flex; flex-direction: column; }
.hpm .hero-trust b { font-family: var(--font-head); font-size: 30px; font-weight: var(--head-weight); color: var(--primary); line-height: 1; }
.hpm .hero-trust span { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

.hpm .hero-media { position: relative; }
.hpm .hero-media .ph.main { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hpm .hero-media .float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hpm .hero-media .float.a { bottom: 26px; left: -26px; }
.hpm .hero-media .float.b { top: 26px; right: -22px; }
.hpm .hero-media .float .dot { width: 38px; height: 38px; border-radius: 11px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.hpm .hero-media .float .dot svg { width: 20px; height: 20px; }
.hpm .hero-media .float > span:not(.dot) { display: flex; flex-direction: column; line-height: 1.3; }
.hpm .hero-media .float b { font-size: 14px; display: block; white-space: nowrap; }
.hpm .hero-media .float span span { white-space: nowrap; }
.hpm .hero-media .float span { font-size: 12px; color: var(--ink-soft); }

/* logos / reassurance strip */
.hpm .assure { border-block: 1px solid var(--line); background: var(--surface); }
.hpm .assure .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-block: 22px; }
.hpm .assure .item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.hpm .assure .item svg { width: 18px; height: 18px; color: var(--primary); }

/* ============================================================
   SERVICE PILLARS
   ============================================================ */
.hpm .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.hpm .svc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; min-height: 240px;
}
.hpm .svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent); opacity: 0; transition: opacity .3s;
}
.hpm .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.hpm .svc-card:hover::after { opacity: 1; }
.hpm .svc-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.hpm .svc-ic svg { width: 25px; height: 25px; }
.hpm .svc-card h3 { font-size: 23px; }
.hpm .svc-card p { font-size: 14.5px; color: var(--ink-soft); margin-top: 9px; flex: 1; }
.hpm .svc-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 7px; }
.hpm .svc-more .arr { transition: transform .25s var(--ease); }
.hpm .svc-card:hover .svc-more .arr { transform: translateX(4px); }

/* ============================================================
   FEATURED CAROUSEL ("changing content")
   ============================================================ */
.hpm .feat { background: var(--surface); border-block: 1px solid var(--line); }
.hpm .feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hpm .feat-tabs { display: inline-flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.hpm .feat-tabs button { padding: 9px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: color .2s, background .2s; }
.hpm .feat-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.hpm .carousel { position: relative; margin-top: 40px; }
.hpm .track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.hpm .track::-webkit-scrollbar { display: none; }
.hpm .fcard { scroll-snap-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.hpm .fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hpm .fcard .ph { aspect-ratio: 16/11; border: none; border-bottom: 1px solid var(--line); }
.hpm .fcard .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.hpm .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--tint); padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.hpm .fcard h3 { font-size: 20px; margin-top: 12px; }
.hpm .fcard p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; flex: 1; }
.hpm .fcard .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.hpm .fcard .price { font-family: var(--font-head); font-size: 20px; color: var(--primary); }
.hpm .fcard .link { font-size: 13.5px; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.hpm .car-nav { display: flex; gap: 10px; }
.hpm .car-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.hpm .car-nav button:hover { border-color: var(--primary); color: var(--primary); }
.hpm .car-nav button:disabled { opacity: .35; cursor: default; }

/* ============================================================
   APPROACH / STEPS
   ============================================================ */
.hpm .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hpm .steps { display: flex; flex-direction: column; gap: 8px; margin-top: 30px; }
.hpm .step { display: flex; gap: 18px; padding: 18px; border-radius: var(--r-md); transition: background .25s; }
.hpm .step:hover { background: var(--surface); }
.hpm .step .n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 18px; }
.hpm .step h4 { font-size: 19px; }
.hpm .step p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.hpm .media-stack { position: relative; }
.hpm .media-stack .ph.tall { aspect-ratio: 3/4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hpm .media-stack .ph.inset { position: absolute; width: 46%; aspect-ratio: 1; right: -22px; bottom: -22px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ============================================================
   STATS BAND
   ============================================================ */
.hpm .band { background: var(--primary); color: var(--primary-ink); }
.hpm .band h2,
.hpm .band .lede { color: var(--primary-ink); }
.hpm .band .lede { opacity: .85; }
.hpm .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hpm .stat b { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(36px, 5vw, 52px); display: block; line-height: 1; }
.hpm .stat span { font-size: 14px; opacity: .82; margin-top: 10px; display: block; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.hpm .quote { max-width: 880px; margin-inline: auto; text-align: center; }
.hpm .quote .q { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.28; }
.hpm .quote .by { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.hpm .quote .by .ph { width: 52px; height: 52px; border-radius: 50%; }
.hpm .quote .by b { font-size: 15px; }
.hpm .quote .by span { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   CTA BAND
   ============================================================ */
.hpm .cta-final { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); text-align: center; }
.hpm .cta-final::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px 360px at 50% -30%, var(--hero-spread), transparent 65%); opacity: .8; }
.hpm .cta-final > * { position: relative; z-index: 1; }
.hpm .cta-final h2 { font-size: clamp(32px, 4.6vw, 54px); }
.hpm .cta-final .hero-cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.hpm .site-footer { background: var(--ink); color: color-mix(in oklab, var(--bg) 80%, white); }
.hpm[data-theme="luxe"] .site-footer,
.hpm[data-theme="science"] .site-footer { color: color-mix(in oklab, var(--surface) 75%, white); }
.hpm .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px; }
.hpm .site-footer .brand .name,
.hpm .site-footer h4 { color: var(--surface); }
.hpm .site-footer .brand small { color: color-mix(in oklab, var(--surface) 60%, transparent); }
.hpm .site-footer p { font-size: 14px; opacity: .7; margin-top: 16px; max-width: 34ch; }
.hpm .site-footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .9; margin-bottom: 16px; }
.hpm .foot-links { display: flex; flex-direction: column; gap: 11px; }
.hpm .foot-links a { font-size: 14.5px; opacity: .75; transition: opacity .2s; }
.hpm .foot-links a:hover { opacity: 1; color: var(--accent); }
.hpm .foot-bottom { border-top: 1px solid color-mix(in oklab, var(--surface) 18%, transparent); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.hpm .foot-bottom small { font-size: 13px; opacity: .6; }

/* ============================================================
   GENERIC PAGE HERO (sub pages)
   ============================================================ */
.hpm .page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 84px); }
.hpm .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% -20%, var(--hero-spread), transparent 60%); opacity: .8; }
.hpm .crumbs { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 9px; align-items: center; margin-bottom: 18px; }
.hpm .crumbs a:hover { color: var(--primary); }
.hpm .page-hero h1 { font-size: clamp(38px, 5.4vw, 62px); }

/* prose */
.hpm .prose { max-width: 70ch; }
.hpm .prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 44px; }
.hpm .prose h3 { font-size: 21px; margin-top: 30px; }
.hpm .prose p { margin-top: 16px; color: var(--ink-soft); }
.hpm .prose ul.ticks { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.hpm .prose ul.ticks li { display: flex; gap: 13px; font-size: 15.5px; color: var(--ink); }
.hpm .prose ul.ticks li svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 1px; }

/* treatment list */
.hpm .tlist { display: grid; gap: 14px; }
.hpm .titem { display: flex; align-items: center; gap: 18px; justify-content: space-between; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .25s, transform .25s; }
.hpm .titem:hover { border-color: var(--primary); transform: translateX(4px); }
.hpm .titem h4 { font-size: 18px; }
.hpm .titem p { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.hpm .titem .price { font-family: var(--font-head); font-size: 19px; color: var(--primary); white-space: nowrap; }

/* sticky aside card */
.hpm .book-card { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-md); }
.hpm .book-card h3 { font-size: 22px; }
.hpm .book-card .meta-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hpm .book-card .meta-row:last-of-type { border-bottom: none; }
.hpm .book-card .meta-row svg { width: 19px; height: 19px; color: var(--primary); flex: none; margin-top: 2px; }
.hpm .book-card .meta-row > div { display: flex; flex-direction: column; line-height: 1.3; }
.hpm .book-card .meta-row b { font-size: 14.5px; display: block; }
.hpm .book-card .meta-row span { font-size: 13px; color: var(--ink-soft); }

/* team */
.hpm .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hpm .member .ph { aspect-ratio: 4/5; border-radius: var(--r-lg); }
.hpm .member h4 { font-size: 20px; margin-top: 16px; }
.hpm .member .role { font-size: 13.5px; color: var(--primary); font-weight: 600; margin-top: 3px; }
.hpm .member p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* values */
.hpm .val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hpm .val { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.hpm .val .vi { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.hpm .val .vi svg { width: 23px; height: 23px; }
.hpm .val h4 { font-size: 19px; }
.hpm .val p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* forms */
.hpm .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.hpm .field { margin-bottom: 18px; }
.hpm .field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.hpm .field input,
.hpm .field select,
.hpm .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.hpm .field input:focus,
.hpm .field select:focus,
.hpm .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent); }
.hpm .field textarea { min-height: 130px; resize: vertical; }
.hpm .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hpm .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hpm .info-list { display: flex; flex-direction: column; gap: 4px; }
.hpm .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hpm .info-item svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }
.hpm .info-item > div { display: flex; flex-direction: column; line-height: 1.35; }
.hpm .info-item b { font-size: 15px; display: block; }
.hpm .info-item span,
.hpm .info-item a { font-size: 14.5px; color: var(--ink-soft); }
.hpm .info-item a:hover { color: var(--primary); }
.hpm .map-ph { aspect-ratio: 16/9; border-radius: var(--r-lg); margin-top: 26px; }

/* faq */
.hpm .faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.hpm .qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.hpm .qa summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hpm .qa summary::-webkit-details-marker { display: none; }
.hpm .qa summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: transform .3s; }
.hpm .qa summary .pm::before,
.hpm .qa summary .pm::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.hpm .qa summary .pm::before { width: 11px; height: 2px; }
.hpm .qa summary .pm::after { width: 2px; height: 11px; transition: transform .3s; }
.hpm .qa[open] summary .pm::after { transform: scaleY(0); }
.hpm .qa .ans { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; max-width: 64ch; }

/* ============================================================
   STYLE-DIRECTION SWITCHER (demo review control)
   ============================================================ */
















/* swatch fills for switcher (independent of active theme) */
  
  
  

/* ============================================================
   REVEAL ANIMATION
   Slide-up only (no opacity) so content is ALWAYS visible —
   even if JS, the observer, or the animation are frozen.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hpm .reveal.in { animation: revealUp .6s var(--ease) both; }
  @keyframes revealUp { from { transform: translateY(18px); } to { transform: none; } }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hpm .hero-grid { grid-template-columns: 1fr; }
  .hpm .hero-media { max-width: 460px; }
  .hpm .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hpm .split,
.hpm .contact-grid { grid-template-columns: 1fr; }
  .hpm .team-grid,
.hpm .val-grid { grid-template-columns: repeat(2, 1fr); }
  .hpm .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .hpm .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  .hpm .nav-links,
.hpm .nav .nav-actions .btn { display: none; }
  .hpm .nav-toggle { display: grid; }
  .hpm .nav-actions { margin-left: auto; }
  .hpm .mobile-only-cta { display: inline-flex; }
  .hpm .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 14px var(--gut) 22px; box-shadow: var(--shadow-md);
  }
  .hpm .nav-links.open > li > a,
.hpm .nav-links.open > li > button { width: 100%; padding: 13px 14px; font-size: 16px; justify-content: space-between; }
  .hpm .nav-links.open .dropdown { position: static; width: auto; opacity: 1; visibility: visible; translate: 0; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 4px 0 8px 12px; background: transparent; display: none; }
  .hpm .nav-links.open .has-menu[data-open="true"] .dropdown { display: grid; }
}
@media (max-width: 760px) {
  .hpm { font-size: 16px; }
  .hpm .svc-grid { grid-template-columns: 1fr; }
  .hpm .team-grid,
.hpm .val-grid,
.hpm .field-row { grid-template-columns: 1fr; }
  .hpm .hero-media .float.a { left: -8px; }
  .hpm .hero-media .float.b { right: -6px; }
  .hpm .media-stack .ph.inset { right: 0; }
  
  .hpm .feat-head { align-items: flex-start; }
}
@media (max-width: 420px) {
  .hpm .hero-trust { gap: 18px; }
  .hpm .stat-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   OCEAN BLUE UPDATE — 96px seal logo, service badges,
   hero service slider
   ============================================================ */
.hpm .site-footer .brand .mark { width: 76px; height: 76px; }

.hpm .svc-badges { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.hpm .svc-badges .row { display: flex; gap: clamp(12px, 2.6vw, 40px); justify-content: center; align-items: flex-start; padding-block: 20px; overflow-x: auto; scrollbar-width: none; }
.hpm .svc-badges .row::-webkit-scrollbar { display: none; }
.hpm .sbadge { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; width: 104px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.hpm .sbadge i { width: 62px; height: 62px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; transition: transform .25s var(--ease), background .25s, color .25s; }
.hpm .sbadge i svg { width: 26px; height: 26px; }
.hpm .sbadge:hover i { background: var(--primary); color: var(--primary-ink); transform: translateY(-3px); }
.hpm .sbadge:hover { color: var(--primary); }

.hpm .hslider { position: relative; }
.hpm .hslides { display: grid; }
.hpm .hslide { grid-area: 1 / 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.hpm .hslide.on { opacity: 1; visibility: visible; transform: none; }
.hpm .hslide .ph { aspect-ratio: 16/10; border: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.hpm .hslide .body { padding: 22px 24px 26px; }
.hpm .hslide .top { display: flex; align-items: center; gap: 13px; }
.hpm .hslide .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.hpm .hslide .ic svg { width: 23px; height: 23px; }
.hpm .hslide h3 { font-size: 21px; }
.hpm .hslide p { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
.hpm .hslide .link { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 7px; }
.hpm .hdots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.hpm .hdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.hpm .hdots button[aria-current="true"] { width: 26px; border-radius: 5px; background: var(--primary); }

@media (max-width: 900px) { .hpm .site-header .nav { min-height: 96px; } .hpm .brand .mark { width: 76px; height: 76px; } }
@media (max-width: 760px) { .hpm .sbadge { width: 88px; font-size: 11.5px; } .hpm .sbadge i { width: 54px; height: 54px; } .hpm .svc-badges .row { justify-content: flex-start; } }
.hpm .nav-links .btn-primary { color: var(--primary-ink); }
.hpm .nav-links .btn-primary:hover { color: var(--primary-ink); }
.hpm .hslide .shot { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }


/* ============================================================
   iDoBit DS v1 PATTERNS — glass nav, service pills, full-bleed
   hero, flip cards, split product cards, glow hovers
   (colors kept from ocean-blue theme)
   ============================================================ */

/* ---- Glass navbar ---- */
.hpm .site-header { background: transparent; backdrop-filter: none; border-bottom: none; padding-block: 12px 6px; }
.hpm .site-header .nav {
  background: color-mix(in oklab, var(--surface) 76%, transparent);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid color-mix(in oklab, var(--line) 85%, transparent);
  border-radius: 999px; box-shadow: 0 1px 2px rgba(20,26,31,.05), 0 8px 24px rgba(20,26,31,.06);
  padding-inline: 26px;
}
.hpm .nav-links > li > a:hover,
.hpm .nav-links > li > button:hover { background: var(--tint); color: var(--primary); }
.hpm .nav-links > li > a[aria-current="page"] { background: var(--tint); color: var(--primary); }
@media (max-width: 980px) {
  .hpm .nav-links.open { top: calc(100% - 6px); border: 1px solid var(--line); border-radius: var(--r-lg); }
  .hpm .site-header .nav { border-radius: var(--r-lg); }
}

/* ---- Service pills below navbar ---- */
.hpm .svc-badges { background: transparent; border-bottom: none; }
.hpm .pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-block: 18px 20px; overflow: visible; }
.hpm .svc-badges { overflow: visible; }
.hpm .spill {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 20px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: 0 1px 2px rgba(20,26,31,.04);
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s, border-color .22s, box-shadow .22s var(--ease);
}
.hpm .spill i { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; transition: background .22s, color .22s, transform .22s var(--ease); }
.hpm .spill:hover { background: linear-gradient(140deg, var(--primary), var(--primary-d)); border-color: transparent; color: var(--primary-ink); transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in oklab, var(--primary) 35%, transparent); }
.hpm .spill:hover i { background: rgba(255,255,255,.2); color: var(--primary-ink); transform: rotate(-8deg) scale(1.06); }

/* ---- Full-bleed photo hero ---- */
.hpm .hero-full { isolation: isolate; display: flex; align-items: center; min-height: min(82vh, 720px); }
.hpm .hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hpm .hero-full::before {
  background: linear-gradient(92deg,
    color-mix(in oklab, var(--primary-d) 86%, black) 0%,
    color-mix(in oklab, var(--primary-d) 62%, transparent) 48%,
    color-mix(in oklab, var(--primary-d) 14%, transparent) 74%,
    transparent 100%);
  opacity: 1;
}
.hpm .hero-full .container { position: relative; z-index: 1; width: 100%; }
.hpm .hero-full .hero-copy { max-width: 620px; padding-block: clamp(72px, 11vw, 140px); }
.hpm .hero-full h1,
.hpm .hero-full .eyebrow { color: #fff; }
.hpm .hero-full .eyebrow::before { background: #fff; }
.hpm .hero-full .lede { color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .hpm .hero-full { min-height: 70vh; } .hpm .hero-full::before { background: linear-gradient(180deg, color-mix(in oklab, var(--primary-d) 80%, black) 0%, color-mix(in oklab, var(--primary-d) 45%, transparent) 100%); } }

/* ---- Flip cards (Our services) ---- */
.hpm .flip { perspective: 1200px; display: block; min-height: 280px; }
.hpm .flip-in { position: relative; display: block; height: 100%; min-height: 280px; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.hpm .flip:hover .flip-in,
.hpm .flip:focus-visible .flip-in { transform: rotateY(180deg); }
.hpm .flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hpm .flip .front { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hpm .flip .front h3 { font-size: 23px; margin-top: 18px; }
.hpm .flip .front .svc-more { margin-top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.hpm .flip .front .svc-ic { margin-bottom: 0; }
.hpm .flip .back { background: linear-gradient(150deg, var(--primary), var(--primary-d)); color: var(--primary-ink); transform: rotateY(180deg); box-shadow: var(--shadow-lg); }
.hpm .flip .back h3 { color: var(--primary-ink); font-size: 22px; }
.hpm .flip .back p { font-size: 14.5px; color: color-mix(in oklab, var(--primary-ink) 88%, transparent); margin-top: 10px; }
.hpm .flip .back .svc-more { color: var(--primary-ink); margin-top: 18px; }

@media (prefers-reduced-motion: reduce) { .hpm .flip:hover .flip-in { transform: none; } .hpm .flip .back { display: none; } }

/* ---- Split product cards ---- */
.hpm .feat-panel[data-panel="products"] .track { grid-auto-columns: minmax(460px, 1fr); }
.hpm .pcard { flex-direction: row; }
.hpm .pcard .ph { width: 41%; flex: none; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--line); }
.hpm .pcard .body { padding: 22px 22px 20px; min-width: 0; }
.hpm .pcard h3 { font-size: 22px; }
.hpm .pcard p { margin-top: 7px; flex: 0 0 auto; }
.hpm .attrs { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; flex: 1; }
.hpm .attrs li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.hpm .attrs li > span { width: 21px; height: 21px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
@media (max-width: 700px) {
  .hpm .feat-panel[data-panel="products"] .track { grid-auto-columns: minmax(290px, 1fr); }
  .hpm .pcard { flex-direction: column; }
  .hpm .pcard .ph { width: 100%; aspect-ratio: 16/9; border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---- Glow hover for other cards (tilt glare comes from ds-effects.js) ---- */
.hpm .fcard,
.hpm .val,
.hpm .member,
.hpm .titem,
.hpm .book-card { transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.hpm .fcard:hover,
.hpm .val:hover,
.hpm .titem:hover {
  border-color: color-mix(in oklab, var(--primary) 45%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 10%, transparent), var(--shadow-md);
}
.hpm .fcard[data-tilt]:hover { transform: none; }

/* product card real images + View pill button */
.hpm .pcard .pimg { width: 41%; flex: none; overflow: hidden; border-right: 1px solid var(--line); }
.hpm .pcard .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hpm .pcard:hover .pimg img { transform: scale(1.05); }
.hpm .btn-view { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 13.5px; font-weight: 600; box-shadow: 0 4px 12px color-mix(in oklab, var(--primary) 35%, transparent); transition: transform .22s var(--ease), background .22s, box-shadow .22s var(--ease); }
.hpm .btn-view:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 18px color-mix(in oklab, var(--primary) 45%, transparent); }
@media (max-width: 700px) { .hpm .pcard .pimg { width: 100%; height: 180px; border-right: none; border-bottom: 1px solid var(--line); } }


/* ============================================================
   v8 — QUIET LUXURY PASS (Direction A, same blue family)
   Tokens: ice / mist / mid / ink + one metallic-blue hairline
   ============================================================ */
.hpm,
.hpm[data-theme="calm"] {
  --blue-ice:  oklch(0.978 0.010 240);
  --blue-mist: oklch(0.915 0.028 240);
  --blue-mid:  oklch(0.585 0.105 246);
  --blue-ink:  oklch(0.335 0.105 252);
  --metal: linear-gradient(90deg, oklch(0.68 0.055 245), oklch(0.88 0.028 235), oklch(0.68 0.055 245));
}
.hpm { background: var(--blue-ice); }

/* ---- Type: larger, sharper serif headlines ---- */
.hpm .hero-full h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.02em; }
.hpm h2 { letter-spacing: -0.018em; }
.hpm .eyebrow { font-size: 12px; letter-spacing: .2em; }
.hpm .eyebrow::before { background: var(--metal); height: 1px; width: 34px; }

/* ---- Header: slimmer capsule ---- */
.hpm .site-header { padding-block: 10px 4px; }
.hpm .site-header .nav { height: 62px; padding-inline: 22px; box-shadow: 0 1px 2px rgba(20,26,31,.04), 0 6px 18px rgba(20,26,31,.05); }
.hpm .brand .mark { width: 44px; height: 44px; }
.hpm .brand .name { font-size: 20px; }
.hpm .brand .name b { color: var(--blue-ink); }
.hpm .brand small { font-size: 9px; letter-spacing: .3em; color: var(--blue-mid); }
.hpm .nav-links > li > a,
.hpm .nav-links > li > button { padding: 8px 12px; font-size: 14.5px; }

/* ---- Buttons: crisper, no glow ---- */
.hpm .btn-primary { background: var(--blue-ink); padding: 15px 26px; letter-spacing: .01em; box-shadow: none; }
.hpm .btn-primary:hover { background: color-mix(in oklab, var(--blue-ink) 88%, black); box-shadow: none; transform: none; }
.hpm .btn-lg { padding: 18px 32px; }
.hpm .hero-full .btn-light { background: #fff; color: var(--blue-ink); border: 1px solid var(--blue-mist); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hpm .hero-full .btn-light:hover { transform: none; box-shadow: 0 0 0 3px rgba(255,255,255,.32); }
.hpm .btn-ghost:hover { transform: none; }
.hpm a { color: var(--blue-ink); } .hpm .foot-links a { color: inherit; }
.hpm main a:hover { color: var(--blue-mid); } .hpm .btn:hover { color: inherit; } .hpm .btn-primary:hover { color: var(--primary-ink); }

/* ---- Hero: lighter left-to-right wash, trust row ---- */
.hpm .hero-full { min-height: min(88vh, 780px); }
.hpm .hero-full::before { background: linear-gradient(94deg,
  color-mix(in oklab, var(--blue-ink) 72%, transparent) 0%,
  color-mix(in oklab, var(--blue-ink) 46%, transparent) 42%,
  color-mix(in oklab, var(--blue-ink) 12%, transparent) 68%,
  transparent 88%); }
.hpm .hero-full .hero-copy { max-width: 680px; padding-block: clamp(96px, 13vw, 170px); }
.hpm .hero-full .lede { font-size: clamp(16px, 1.8vw, 19px); max-width: 52ch; }
.hpm .hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.hpm .hero-trust span[role="listitem"] { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.88); letter-spacing: .02em; }
.hpm .hero-trust span[role="listitem"] > span { color: rgba(255,255,255,.65); display: inline-flex; }

/* ---- Section rhythm: ice / white alternation, uneven air ---- */
.hpm .section { padding-block: clamp(64px, 9vw, 132px); }
.hpm #featured,
.hpm #how { background: var(--surface); border-block: 1px solid var(--blue-mist); }
.hpm #services { padding-block: clamp(80px, 11vw, 160px); }
.hpm #stats,
.hpm #faq { padding-block: clamp(52px, 6.5vw, 88px); }
.hpm #faq { border-top: 1px solid var(--blue-mist); }

/* ---- Cards: white, 1px ice border, no gray shadow ---- */
.hpm .fcard,
.hpm .quote,
.hpm .qa { box-shadow: none; border: 1px solid var(--blue-mist); background: var(--surface); }
.hpm .fcard:hover { border-color: var(--blue-mid); box-shadow: none; }
.hpm .fcard[data-tilt]:hover { transform: none; }
.hpm .tag { background: var(--blue-ice); color: var(--blue-ink); border: 1px solid var(--blue-mist); }
.hpm .attrs li > span { background: var(--blue-ice); color: var(--blue-ink); border: 1px solid var(--blue-mist); }
.hpm .btn-view { background: var(--blue-ink); box-shadow: none; }
.hpm .btn-view:hover { background: color-mix(in oklab, var(--blue-ink) 88%, black); transform: none; box-shadow: none; }

/* ---- Icons: hairline navy on ice circles ---- */
.hpm .dropdown .di,
.hpm .svc-ic { background: var(--blue-ice); color: var(--blue-ink); border: 1px solid var(--blue-mist); }

/* ---- Editorial service cards ---- */
.hpm .ecard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.hpm .ecard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--blue-mist); border-radius: var(--r-lg); overflow: hidden; transition: border-color .3s var(--ease); }
.hpm .ecard .eimg { display: block; aspect-ratio: 4/2.9; overflow: hidden; }
.hpm .ecard .eimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hpm .ecard:hover .eimg img { transform: scale(1.045); }
.hpm .ecard:hover { border-color: var(--blue-mid); }
.hpm .ecard .ebody { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px; position: relative; }
.hpm .ecard .ebody::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--metal); opacity: 0; transition: opacity .3s var(--ease); }
.hpm .ecard:hover .ebody::before { opacity: 1; }
.hpm .ecard h3 { font-size: 22px; }
.hpm .ecard p { font-size: 14.5px; color: var(--ink-soft); }
.hpm .ecard .emore { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); }
@media (max-width: 1020px) { .hpm .ecard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hpm .ecard-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .hpm .ecard .ebody { padding: 14px 14px 16px; } .hpm .ecard h3 { font-size: 16px; } .hpm .ecard p { display: none; } .hpm .ecard .emore { font-size: 11px; } }

/* ---- How it works: horizontal 3-step line ---- */
.hpm .steps-h { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; position: relative; }
.hpm .steps-h::before { content: ""; position: absolute; top: 21px; left: 21px; right: 15%; height: 1px; background: var(--blue-mist); }
.hpm .steps-h .step { display: flex; flex-direction: column; gap: 16px; background: none; border: none; padding: 0; position: relative; }
.hpm .steps-h .step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--blue-mid); color: var(--blue-ink); display: grid; place-items: center; font-weight: 600; position: relative; z-index: 1; }
.hpm .steps-h .step h4 { font-size: 19px; }
.hpm .steps-h .step p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 760px) { .hpm .steps-h { grid-template-columns: 1fr; gap: 28px; } .hpm .steps-h::before { display: none; } }

/* ---- Stats: white tiles, navy numerals ---- */
.hpm .band { background: transparent; color: inherit; border: none; }
.hpm .band h2 { color: var(--ink); }
.hpm .stat-grid { gap: 20px; }
.hpm .stat { background: var(--surface); border: 1px solid var(--blue-mist); border-radius: var(--r-lg); padding: 34px 22px; }
.hpm .stat b { color: var(--blue-ink); font-family: var(--font-head); }
.hpm .stat span { color: var(--ink-soft); }

/* ---- Final CTA: the one deep-blue moment ---- */
.hpm .cta-sect { background: linear-gradient(160deg, var(--blue-ink), color-mix(in oklab, var(--blue-ink) 78%, black)); border: none; }
.hpm .cta-sect .cta-final { background: none; border: none; box-shadow: none; padding-inline: 0; }
.hpm .cta-sect h2,
.hpm .cta-sect .lede { color: #fff; }
.hpm .cta-sect .lede { color: rgba(255,255,255,.82); }
.hpm .cta-sect .eyebrow { color: rgba(255,255,255,.75); }
.hpm .cta-sect .eyebrow::before { background: rgba(255,255,255,.5); }
.hpm .cta-sect .btn-primary { background: #fff; color: var(--blue-ink); }
.hpm .cta-sect .btn-primary:hover { background: var(--blue-ice); }
.hpm .cta-sect .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.hpm .cta-sect .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---- Footer wordmark small ---- */
.hpm .site-footer .brand small { color: color-mix(in oklab, var(--surface) 60%, transparent); }

/* ---- Mobile first screen ---- */
@media (max-width: 760px) {
  .hpm .hero-full .hero-copy { padding-block: 84px 64px; }
  .hpm .hero-full h1 { font-size: clamp(34px, 9vw, 44px); }
  .hpm .hero-trust { gap: 8px 18px; }
}

/* v8.1 — pills (quiet-luxury) + flip service cards */
.hpm .svc-badges { background: transparent; border: none; }
.hpm .spill { background: var(--surface); border: 1px solid var(--blue-mist); box-shadow: none; color: var(--blue-ink); padding: 7px 18px 7px 9px; font-size: 13.5px; letter-spacing: .01em; }
.hpm .spill i { width: 30px; height: 30px; background: var(--blue-ice); color: var(--blue-ink); border: 1px solid var(--blue-mist); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.hpm .spill:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; transform: translateY(-2px); box-shadow: none; }
.hpm .spill:hover i { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; transform: none; }
.hpm .pill-row { padding-block: 16px 6px; }

.hpm .eflip { perspective: 1400px; display: block; }
.hpm .eflip .flip-in { position: relative; display: block; min-height: 340px; height: 100%; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.hpm .eflip:hover .flip-in,
.hpm .eflip:focus-visible .flip-in { transform: rotateY(180deg); }
.hpm .eflip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); overflow: hidden; }
.hpm .eflip .front { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--blue-mist); }
.hpm .eflip .front .eimg { display: block; flex: 1; overflow: hidden; }
.hpm .eflip .front .eimg img { width: 100%; height: 100%; object-fit: cover; }
.hpm .eflip .front .ebody { display: block; padding: 22px 24px; position: relative; }
.hpm .eflip .front .ebody::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--metal); }
.hpm .eflip .front h3 { font-size: 21px; }
.hpm .eflip .back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--blue-ink), color-mix(in oklab, var(--blue-ink) 80%, black)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 30px 28px; border: 1px solid var(--blue-ink); }
.hpm .eflip .back h3 { color: #fff; font-size: 22px; }
.hpm .eflip .back p { color: rgba(255,255,255,.85); font-size: 14.5px; margin-top: 10px; }
.hpm .eflip .back .emore { color: #fff; margin-top: 18px; }
@media (max-width: 480px) { .hpm .eflip .flip-in { min-height: 240px; } .hpm .eflip .front .ebody { padding: 14px 16px; } .hpm .eflip .front h3 { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .hpm .eflip:hover .flip-in { transform: none; } .hpm .eflip .back { display: none; } }

/* v8.2 tweaks */
.hpm .brand .mark { width: 76px; height: 76px; }
.hpm .site-header .nav { height: 88px; }
.hpm .eflip .front .ebody { display: grid; place-items: center; text-align: center; min-height: 92px; padding: 18px 20px; }
.hpm .eflip .back .emore { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hpm .eflip .back .emore > span { display: inline-flex; flex: none; }

/* ============================================================
   v9 — CMS-SAFE UNIFORM SIZING (services dropdown + pills)
   Rollback: delete this whole block (backup: styles-v8-backup.css)
   ============================================================ */

/* ---- Services dropdown: bordered, equal-size cards, capped ---- */
.hpm .dropdown { width: min(600px, calc(100vw - 32px)); grid-auto-rows: 1fr; gap: 10px; padding: 14px; }
.hpm .dropdown a {
  align-items: center; gap: 12px; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--blue-mist);
  border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(20,30,40,.04);
  min-height: 76px; max-height: 116px; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease), background .18s;
}
.hpm .dropdown a:hover { background: var(--surface); border-color: var(--blue-mid); box-shadow: 0 4px 14px color-mix(in oklab, var(--blue-ink) 12%, transparent); transform: translateY(-2px); }
.hpm .dropdown a > span:last-child { min-width: 0; flex: 1; gap: 3px; }
.hpm .dropdown b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
.hpm .dropdown a > span:last-child > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .hpm .nav-links.open .dropdown { width: auto; gap: 8px; padding: 6px 0 10px 0; }
  .hpm .nav-links.open .dropdown a { background: var(--surface); border: 1px solid var(--blue-mist); min-height: 68px; }
}

/* ---- Service pills: equal size, capped, responsive grid ---- */
.hpm .svc-badges { text-align: center; }
.hpm .pill-row {
  display: inline-grid; grid-template-columns: repeat(6, 1fr);
  gap: 10px; width: max-content; max-width: 100%; margin-inline: auto; justify-items: stretch; text-align: left;
}
.hpm .spill {
  display: grid; grid-template-columns: auto minmax(0, max-content); align-items: center; justify-content: center;
  gap: 9px; min-width: 0; height: 50px; padding: 0 12px;
  box-shadow: 0 1px 2px rgba(20,30,40,.04);
}
.hpm .spill i { width: 30px; height: 30px; }
.hpm .spill > span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; line-height: 1.2; max-width: 160px;
}
@media (max-width: 1080px) { .hpm .pill-row { grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; } }
@media (max-width: 760px) { .hpm .pill-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: auto; } .hpm .spill { height: 46px; } .hpm .spill > span { font-size: 13px; } }
@media (max-width: 380px) { .hpm .pill-row { grid-template-columns: 1fr; } }

/* ---- v9.1 Mobile fixes: service detail grid + footer columns ---- */
.hpm .detail-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) {
  .hpm .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .hpm .detail-grid > aside { min-width: 0; }
  .hpm .book-card { position: static; top: auto; }
}
@media (max-width: 560px) {
  .hpm .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 48px; }
  .hpm .site-footer p { max-width: none; }
  .hpm .book-card { padding: 22px 18px; }
  .hpm .book-card h3 { font-size: 20px; }
}
.hpm .prose,
.hpm .prose * { min-width: 0; overflow-wrap: anywhere; }

/* ---- v9.2 Layout classes replacing inline styles (see CLAUDE.md) ---- */
.hpm .mobile-only-cta { display: none; margin-top: 8px; }
.hpm .chev-down { display: inline-flex; transform: rotate(-90deg); }
.hpm .arr-back { display: block; transform: rotate(180deg); }
.hpm .feat-head-end { justify-content: flex-end; margin-top: 26px; }
.hpm .sec-intro { max-width: 640px; }
.hpm .page-intro { max-width: 760px; }
.hpm .page-intro-720 { max-width: 720px; }
.hpm .quote-eyebrow { margin-bottom: 22px; }
.hpm .btn-block { width: 100%; }
.hpm .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 560px) { .hpm .btn-row .btn { width: 100%; } }

/* ============================================================
   v10 — PRODUCT CARDS (category page) + PRODUCT PAGE
   All layout lives here; no inline layout styles (see CLAUDE.md)
   ============================================================ */

.hpm .mt-12 { margin-top: 12px; }
.hpm .mt-10 { margin-top: 10px; }
.hpm .mt-14 { margin-top: 14px; }
.hpm .mb-44 { margin-bottom: 44px; }
.hpm .h2-md { font-size: clamp(26px, 3.4vw, 40px); }
.hpm .sec-alt { background: var(--surface); border-top: 1px solid var(--blue-mist); }
.hpm .bc-note { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.hpm .bc-rows { margin: 16px 0; }
.hpm .mt-16 { margin-top: 16px; }
.hpm .mt-18 { margin-top: 18px; }

/* ---- groups ---- */
.hpm .prod-groups { display: grid; gap: clamp(40px, 5vw, 64px); margin-top: 44px; }
.hpm .pgroup-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-ink); }
.hpm .pgroup-head::after { content: ""; flex: 1; height: 1px; background: var(--blue-mist); }

/* ---- grid ---- */
.hpm .prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 1080px) { .hpm .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .hpm .prod-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---- the rich card ---- */
.hpm .prod-card { display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--surface); border: 1px solid var(--blue-mist); border-radius: var(--r-lg); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.hpm .prod-card:hover { border-color: var(--blue-mid); box-shadow: 0 10px 28px color-mix(in oklab, var(--blue-ink) 10%, transparent); }
.hpm .pshot { display: grid; place-items: center; aspect-ratio: 5/4; padding: 14px; background: var(--blue-ice); border-bottom: 1px solid var(--blue-mist); overflow: hidden; }
.hpm .pshot img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 14px 22px color-mix(in oklab, var(--blue-ink) 18%, transparent)); transition: transform .5s var(--ease); }
.hpm .prod-card:hover .pshot img { transform: translateY(-3px) scale(1.02); }
.hpm .prod-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding: 22px 22px 24px; }
.hpm .pfocus { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-mid); }
.hpm .prod-card h3 { font-size: 21px; line-height: 1.2; }
.hpm .ptag { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 17px; line-height: 1.3; color: var(--blue-ink); }
.hpm .prod-card .pdesc { font-size: 14px; color: var(--ink-soft); }
.hpm .pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--blue-mist); }
.hpm .mi { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.hpm .mi svg { width: 15px; height: 15px; color: var(--blue-mid); flex: none; }
.hpm .pmeta .price { margin-left: auto; font-family: var(--font-head); font-size: 19px; color: var(--blue-ink); white-space: nowrap; }
.hpm .pmeta .price:empty { display: none; }
.hpm .prod-card .svc-more { margin-top: 14px; }
.hpm .prod-card:hover .svc-more .arr { transform: translateX(4px); }

/* ---- tier chip (three quiet variants) ---- */
.hpm .tchip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid transparent; white-space: nowrap; }
.hpm .t-signature { background: var(--blue-ice); color: var(--blue-ink); border-color: var(--blue-mist); }
.hpm .t-specialty { background: var(--surface); color: var(--blue-ink); border-color: var(--blue-mid); }
.hpm .t-personalized { background: var(--blue-ink); color: #fff; border-color: var(--blue-ink); }

/* ---- empty category ---- */
.hpm .prod-empty { margin-top: 26px; padding: 26px 24px; font-size: 15.5px; color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--blue-mist); border-radius: var(--r-lg); }

/* ============ product page ============ */
.hpm .phero-shot { display: grid; place-items: center; aspect-ratio: 4/5; padding: clamp(18px, 4vw, 40px); background: var(--blue-ice); border: 1px solid var(--blue-mist); border-radius: var(--r-xl); overflow: hidden; }
.hpm .phero-shot img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 26px 40px color-mix(in oklab, var(--blue-ink) 22%, transparent)); }
.hpm .pstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--blue-mist); }
.hpm .phero-tag { font-family: var(--font-head); font-weight: var(--head-weight); color: var(--blue-ink); }
.hpm .sublabel { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hpm .pstrip .plabel { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--blue-ink); }
.hpm .prose .npills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.hpm .npills li { font-size: 13.5px; line-height: 1.3; padding: 8px 14px; border-radius: var(--r-pill); background: var(--blue-ice); border: 1px solid var(--blue-mist); color: var(--blue-ink); }
.hpm .npills.soft li { background: transparent; color: var(--ink-soft); }
.hpm .prose .optlist { display: grid; gap: 16px; margin-top: 16px; padding: 0; list-style: none; }
.hpm .optlist li { padding-left: 16px; border-left: 2px solid var(--blue-mist); }
.hpm .optlist b { display: block; font-size: 15.5px; }
.hpm .optlist span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--ink-soft); }
.hpm .wcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.hpm .wcard { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--blue-mist); border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; color: var(--blue-ink); transition: border-color .25s var(--ease); }
.hpm .wcard:hover { border-color: var(--blue-mid); }
.hpm .wcard .th { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 5px; background: var(--blue-ice); border: 1px solid var(--blue-mist); border-radius: 10px; overflow: hidden; }
.hpm .wcard .th img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.hpm .callout { display: flex; gap: 14px; margin-top: 18px; padding: 20px 22px; background: var(--blue-ice); border: 1px solid var(--blue-mist); border-radius: var(--r-lg); }
.hpm .callout svg { width: 22px; height: 22px; flex: none; color: var(--blue-ink); margin-top: 2px; }
.hpm .callout p { margin: 0; font-size: 14.5px; color: var(--ink); }
@media (max-width: 760px) { .hpm .phero-shot { aspect-ratio: 3/4; max-width: 360px; } .hpm .pstrip { gap: 8px 14px; } .hpm .wcards { grid-template-columns: 1fr; } }

/* ---- v10.1 fix: nav CTA duplicate ----
   .nav-links > li > a (0,1,2) outranked the single-class .mobile-only-cta rule,
   so the in-menu CTA showed next to the header CTA on desktop. Match that specificity. */
.hpm .nav-links > li > a.mobile-only-cta { display: none; }
@media (max-width: 980px) { .hpm .nav-links > li > a.mobile-only-cta { display: inline-flex; } }

/* ---- v10.2 fix: carousel at very small phones (320px) ----
   .track kept a 290px min column, which plus the gutters overflowed a 320px viewport. */
@media (max-width: 360px) {
  .hpm .track,
.hpm .feat-panel[data-panel="products"] .track { grid-auto-columns: 100%; gap: 14px; }
  .hpm .pcard .pimg { height: 150px; }
}

/* ---- v10.3 fix: stats grid at 320px ----
   Plain 1fr tracks floored on their content's auto minimum and pushed past the container. */
.hpm .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hpm .stat { min-width: 0; }
@media (max-width: 980px) { .hpm .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .hpm .stat-grid { grid-template-columns: 1fr; } .hpm .stat { padding: 26px 18px; } }

/* ---- v10.4 product page rhythm (modifiers only; global .page-hero / .section untouched) ---- */
.hpm .hero-compact .hero-grid { align-items: start; padding-block: 0; }
.hpm .hero-compact { padding-bottom: 28px; }
.hpm .sec-tight { padding-top: 28px; }
.hpm .hero-compact .hero-media { margin-top: 0; }
.hpm .hero-compact .phero-shot { aspect-ratio: auto; height: 420px; width: min(100%, 360px); margin-inline: auto; }
@media (max-width: 980px) { .hpm .hero-compact .phero-shot { margin-inline: 0; } }
@media (max-width: 760px) {
  .hpm .hero-compact { padding-bottom: 20px; }
  .hpm .sec-tight { padding-top: 20px; }
  .hpm .hero-compact .phero-shot { height: 320px; width: min(100%, 280px); max-width: none; }
}

/* ---- v10.5 product imagery: cut-outs multiply, photographs cover ---- */
.hpm .pshot img,
.hpm .phero-shot img,
.hpm .wcard .th img { mix-blend-mode: multiply; filter: none; }
.hpm .pshot.is-photo,
.hpm .phero-shot.is-photo,
.hpm .wcard .th.is-photo { padding: 0; }
.hpm .pshot.is-photo img,
.hpm .phero-shot.is-photo img,
.hpm .wcard .th.is-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.hpm .phero-shot.is-photo { border-radius: var(--r-xl); }
.hpm .wcard .th.is-photo { border-radius: 10px; }


/* ── src/templates/hpm/hpm.patches.css (hand-maintained) ─────────────────────────────── */
/*
 * HPM — runtime patches. Hand-maintained; loaded AFTER the generated hpm.css.
 *
 * Everything here is a deliberate difference between the static design export and the live runtime.
 * Keep it small: anything that belongs to the design itself should be fixed in Claude Design and
 * re-synced, not patched here.
 */

/* ── Fonts ───────────────────────────────────────────────────────────────────
   The design loads Newsreader / Hanken Grotesk from the Google Fonts CDN in its <head>. The runtime
   self-hosts them through next/font (no render-blocking request, no layout shift), so the family
   names are re-pointed at the generated CSS variables. Literal names stay as the fallback. */
.hpm[data-theme="calm"],
.hpm {
  --font-head: var(--font-newsreader), Newsreader, Georgia, serif;
  --font-body: var(--font-hanken), "Hanken Grotesk", system-ui, sans-serif;
}

/* ── NOTE on --surface-2 (deliberately NOT defined) ──────────────────────────
   `calm` never defines it, so .ph placeholders, the nav hover state, .feat-tabs and .step:hover fall
   back to transparent. That looks like a design-source bug, and an earlier version of this file
   supplied a value — but doing so made the port DIFFER from the reference (measured in-browser:
   .map-ph background-color rgba(0, 0, 0, 0) in the reference vs a solid tint in the port).
   The reference is ground truth, so it stays undefined. If the tint is genuinely wanted, add it in
   Claude Design and re-sync — don't reintroduce it here. */

/* ── Platform token bridge ───────────────────────────────────────────────────
   Shared runtime components (SiteBanner, ContactForm, BusinessHours, PriceDisplay) are styled with
   the platform's --brand-* tokens via Tailwind. Mapping them onto HPM's design tokens means any
   shared component dropped into an HPM page inherits this design with no per-component edits. */
.hpm {
  --brand-primary: var(--primary);
  --brand-primary-fg: var(--primary-ink);
  --brand-accent: var(--accent);
  --brand-surface: var(--surface);
  --brand-text: var(--ink);
  --brand-muted: var(--ink-soft);
  --brand-border: var(--line);
  --brand-bg: var(--bg);
  --radius-card: var(--r-lg);
  --radius-btn: var(--r-pill);
}

/* ── Runtime-only ────────────────────────────────────────────────────────────
   The wrapper replaces <body> as the page ground, so it has to paint it. */
.hpm {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  min-height: 100vh;
}

/* NOTE (v10.1): the mobile-only CTA is hidden by the DESIGN's own synced rule
   `.hpm .nav-links > li > a.mobile-only-cta { display: none }` (+ a <=980px counterpart). Nothing
   here and no inline style in NavClient: a weaker rule brings back two desktop buttons, an inline
   style now hides the drawer button on phones (the `!important` it relied on is gone).
   Older note kept for history: the mobile-only CTA was deliberately NOT hidden here. A `.hpm .mobile-only-cta` rule (0,2,0)
   loses to the design's own `.hpm .nav-links > li > a { display: inline-flex }` (0,2,2), so it does
   nothing and the desktop header shows two "Book a consultation" buttons. The design hides it with an
   inline style, which outranks both; NavClient keeps that inline style verbatim. */

/* Scroll-margin so the header's floating glass nav never covers an anchored section (#services,
   #faq) — the static mock has no sticky offset because its nav is shorter.

   Sized from the sticky header: .site-header padding-block 12px + .nav height + 6px, plus ~52px of
   breathing room. The v8.3 design drop grew .nav from 70px to 88px, so this grew 140 -> 158 to keep
   the same clearance. If the nav height changes again, this number has to follow it. */
.hpm [id] {
  scroll-margin-top: 158px;
}

/* ── Popular services rail ───────────────────────────────────────────────────
   A section the design export doesn't have (it's driven by the flat product query, which didn't
   exist when the design was drawn). It reuses the design's own `.track` scroller and `.pcard`
   split cards; the only thing that has to be stated is the column width, because the design scopes
   that to `.feat-panel[data-panel="products"] .track`. Values match it exactly, breakpoint included,
   so the two rails stay identical. Fold this into the design on the next Claude Design iteration. */
.hpm .rail .track {
  grid-auto-columns: minmax(460px, 1fr);
}
@media (max-width: 700px) {
  .hpm .rail .track {
    grid-auto-columns: minmax(290px, 1fr);
  }
}

/* ── Service pills: centre whatever count the catalog has (2026-09-30) ──────────
   The design's row is a fixed six-column grid, built when there were six services. With one
   archived, five pills sat in six cells and the row looked pushed left. A wrapping flex row centres
   every line on its own, and the pills share the width equally up to the design's 225px. */
.hpm .pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 100%; }
.hpm .spill { flex: 1 1 150px; max-width: 225px; }
@media (max-width: 1080px) { .hpm .pill-row { display: flex; } }
@media (max-width: 760px)  { .hpm .pill-row { display: flex; } .hpm .spill { flex-basis: 140px; } }
@media (max-width: 380px)  { .hpm .spill { flex-basis: 100%; max-width: none; } }

/* ── Scroll reveal, richer (2026-09-30) ───────────────────────────────────────
   The design's reveal is a slide only, so content stays visible without JS. The fade + rise +
   cascade below applies ONLY under `.hpm.fx`, a class HpmEffects adds once its observer is running
   (never under reduced motion) — so a page without JS, or a frozen observer, still shows everything,
   and HpmEffects' 2 s fallback reveals the rest. Easing is the "expo-out" curve (.22,1,.36,1). */
@media (prefers-reduced-motion: no-preference) {
  .hpm.fx .reveal { opacity: 0; transform: translateY(34px) scale(.985); will-change: opacity, transform; }
  .hpm.fx .reveal.in {
    opacity: 1; transform: none; animation: none;
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  }
  /* Cascade: the children of a revealed group rise one after another. */
  .hpm.fx .reveal-cascade > * { opacity: 0; transform: translateY(26px); }
  .hpm.fx .reveal-cascade.in > * { animation: hpmCascade .7s cubic-bezier(.22, 1, .36, 1) both; }
  .hpm.fx .reveal-cascade.in > *:nth-child(1) { animation-delay: .08s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(2) { animation-delay: .20s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(3) { animation-delay: .32s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(4) { animation-delay: .44s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(5) { animation-delay: .56s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(6) { animation-delay: .68s; }
  .hpm.fx .reveal-cascade.in > *:nth-child(n+7) { animation-delay: .8s; }
  @keyframes hpmCascade { to { opacity: 1; transform: none; } }
  /* The step connector line draws in after the steps have landed. */
  .hpm.fx .steps-h::before { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.22, 1, .36, 1) .35s; }
  .hpm.fx .steps-h.in::before { transform: scaleX(1); }
}

/* ── Site search (2026-09-30) ──────────────────────────────────────────────────
   A magnifier beside the book button; the panel reuses the design's tokens so it reads as part of
   the header. The button is always visible (desktop and the mobile drawer header alike). */
.hpm .nav-search {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background .22s, border-color .22s, transform .22s var(--ease);
}
.hpm .nav-search:hover { background: var(--tint); border-color: var(--blue-mist, var(--line)); transform: translateY(-1px); }
.hpm .search-overlay {
  /* Above the header (60) and the runtime's cookie bar, which otherwise draws over the panel's foot. */
  position: fixed; inset: 0; z-index: 2000; background: color-mix(in oklab, var(--ink) 38%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: clamp(64px, 12vh, 140px) 16px 24px;
  animation: hpmSearchFade .18s ease-out both;
}
.hpm .search-panel {
  width: min(640px, 100%); max-height: calc(100vh - 90px); display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: hpmSearchRise .28s cubic-bezier(.22, 1, .36, 1) both;
}
.hpm .search-field { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hpm .search-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 17px; line-height: 1.4;
}
.hpm .search-field input::placeholder { color: var(--ink-soft); opacity: .8; }
.hpm .search-field input::-webkit-search-cancel-button { display: none; }
.hpm .search-close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; }
.hpm .search-close:hover { background: var(--tint); color: var(--ink); }
.hpm .search-results { overflow-y: auto; padding: 8px; }
.hpm .search-group + .search-group { margin-top: 6px; }
.hpm .search-group-label { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 12px 6px; }
.hpm .search-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); text-decoration: none;
}
.hpm .search-row.active, .hpm .search-row:hover { background: var(--tint); }
.hpm .search-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-ice, var(--tint)); color: var(--primary); }
.hpm .search-text { display: flex; flex-direction: column; min-width: 0; }
.hpm .search-text b { font-weight: 600; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpm .search-text small { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hpm .search-arrow { color: var(--ink-soft); opacity: 0; transition: opacity .15s, transform .15s; }
.hpm .search-row.active .search-arrow { opacity: 1; transform: translateX(2px); }
.hpm .search-empty { padding: 22px 14px; color: var(--ink-soft); font-size: 15px; }
.hpm .search-empty a { color: var(--primary); text-decoration: underline; }
.hpm .search-hint { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.hpm .search-hint kbd { font: inherit; font-size: 11px; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--bg); }
@keyframes hpmSearchFade { from { opacity: 0; } }
@keyframes hpmSearchRise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (max-width: 760px) {
  .hpm .search-overlay { padding: 12px 10px; }
  .hpm .search-panel { max-height: calc(100vh - 24px); }
  .hpm .search-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hpm .search-overlay, .hpm .search-panel { animation: none; } }

