/* Sea to Sky OrthoMassage */
:root {
  --navy: #252D4B;
  --emblem: #303658;
  --slate: #A2ACC2;
  --mist: #E3E7F2;
  --rust: #BC5932;
  --rust-dark: #9E4724;
  --charcoal: #4F4C4D;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --pad: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  min-height: 96px;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 58px; height: 50px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-top { font-size: 25px; font-weight: 800; letter-spacing: .06em; color: var(--navy); }
.brand-bottom { font-size: 15px; font-weight: 700; letter-spacing: .29em; color: var(--white); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.main-nav a:not(.btn) {
  font-size: 16px; font-weight: 600; text-decoration: none;
  padding: 12px 0; border-bottom: 2px solid transparent;
}
.main-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--navy); }
.main-nav a:not(.btn):hover { color: var(--navy); border-bottom-color: var(--rust); }
.main-nav .btn { font-size: 16px; padding: 13px 22px; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--navy); border-radius: 2px;
  color: var(--navy); font: 700 15px var(--sans);
  padding: 10px 16px; cursor: pointer; min-height: 44px;
}

/* Layout helpers */
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--mist); }

.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05; color: var(--navy);
}
.bg-navy .h2 { color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.watermark {
  position: absolute; top: -150px; right: -170px;
  width: min(780px, 70vw); opacity: .08; pointer-events: none;
}
.hero .wrap { position: relative; padding-top: clamp(72px, 9vw, 120px); padding-bottom: 72px; }
.hero-copy { max-width: 980px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 7.8vw, 112px); line-height: .98; letter-spacing: -.015em;
  color: var(--navy);
}
.lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.facts {
  margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--slate);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
}
.fact strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 30px; line-height: 1.2; color: var(--navy); margin-bottom: 6px;
}
.fact span { font-size: 16px; line-height: 1.5; }

/* Mountains */
.horizon { padding-bottom: 24px; background: var(--white); }
.horizon img { width: 100%; height: auto; }

/* Approach */
.intro-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 64px; }
.intro-row .h2 { max-width: 640px; }
.intro-row p { max-width: 520px; font-size: 19px; line-height: 1.65; }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.panel { background: var(--white); padding: 40px; border-top: 3px solid var(--rust); }
.panel h3 { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--navy); margin-bottom: 16px; line-height: 1.15; }
.panel p { font-size: 17px; line-height: 1.65; }

/* Steps */
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.steps li { border-top: 1px solid var(--slate); padding-top: 24px; }
.step-num { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--rust); margin-bottom: 14px; }
.steps h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.steps p { font-size: 17px; }

/* Conditions */
.conditions { position: relative; overflow: hidden; }
.conditions .watermark-left {
  position: absolute; left: -120px; bottom: -110px; width: 620px; opacity: .06; pointer-events: none;
}
.conditions .wrap { position: relative; display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 96px; }
.conditions-intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.conditions-intro p { font-size: 19px; line-height: 1.65; color: var(--mist); }
.condition-list { margin: 0; }
.condition-list div {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px;
  padding: 26px 0; border-top: 1px solid rgba(227, 231, 242, .25);
}
.condition-list div:last-child { border-bottom: 1px solid rgba(227, 231, 242, .25); }
.condition-list dt { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--white); line-height: 1.2; }
.condition-list dd { margin: 0; font-size: 18px; color: var(--mist); align-self: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 56px 0; }
.contact-grid h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.contact-grid p { font-size: 18px; }
.disclaimer { max-width: 820px; font-size: 15px; border-top: 1px solid var(--slate); padding-top: 24px; }
.bg-navy .contact-grid h3, .bg-navy .contact-grid a { color: var(--white); }
.bg-navy .disclaimer { border-top-color: rgba(227, 231, 242, .25); }

/* Footer */
.site-footer { background: var(--slate); color: var(--navy); font-size: 15px; }
.site-footer .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }

/* About */
.about-hero .wrap {
  position: relative; padding-top: clamp(64px, 8vw, 112px); padding-bottom: 72px;
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: start;
}
.portrait { position: relative; margin: 0 28px 28px 0; }
.portrait::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: -28px; bottom: -28px;
  border: 2px solid var(--rust);
}
.portrait img { position: relative; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 30%; }
.bio { display: flex; flex-direction: column; gap: 26px; max-width: 640px; }
.role { font-size: 18px; font-weight: 700; color: var(--rust-dark); }
.bio h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6vw, 88px); line-height: 1; letter-spacing: -.01em; color: var(--navy); }
.bio .standfirst { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; color: var(--navy); }
.bio p { font-size: 18px; line-height: 1.7; }
.bio .btn { align-self: flex-start; margin-top: 8px; }

.credentials .wrap { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 96px; }
.credential-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.credential-list li { padding: 22px 0; border-top: 1px solid var(--slate); font-size: 18px; line-height: 1.55; color: var(--navy); }
.credential-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--slate); }

/* Responsive */
@media (max-width: 1180px) {
  .conditions .wrap, .credentials .wrap { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels { grid-template-columns: 1fr; }
  .intro-row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--slate); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; }
  .main-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(37, 45, 75, .15); }
  .main-nav .btn { margin-top: 16px; text-align: center; display: block; }
  .facts, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-hero .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
  .condition-list div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 80px; }
  .brand img { width: 44px; height: 38px; }
  .brand-top { font-size: 20px; }
  .brand-bottom { font-size: 12px; }
  .steps, .credential-list { grid-template-columns: 1fr; }
  .credential-list li:nth-last-child(2) { border-bottom: 0; }
  .panel { padding: 28px; }
  .horizon img { width: 180%; max-width: none; margin-left: -40%; }
  .horizon { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Body map */
.bodymap { position: relative; overflow: hidden; }
.bodymap .watermark-right { position: absolute; right: -140px; bottom: -120px; width: 620px; opacity: .03; pointer-events: none; }
.bodymap .wrap { position: relative; }
.bodymap-intro p { color: var(--mist); }
.bodymap-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.figure-col { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.view-toggle { display: flex; padding: 4px; border: 1px solid rgba(227, 231, 242, .35); border-radius: 999px; }
.view-toggle button {
  border: 0; border-radius: 999px; padding: 10px 24px; min-height: 44px;
  font: 700 15px var(--sans); background: transparent; color: var(--mist); cursor: pointer;
}
.view-toggle button[aria-pressed="true"] { background: var(--mist); color: var(--navy); }

.figure { position: relative; width: min(330px, 78vw); aspect-ratio: 240 / 520; }
.figure svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.figure[data-view="front"] .details-back, .figure[data-view="back"] .details-front { display: none; }
.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--mist); background: rgba(227, 231, 242, .18);
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.spot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.spot:hover { transform: scale(1.18); background: rgba(188, 89, 50, .6); }
.spot[aria-pressed="true"] { background: var(--rust); box-shadow: 0 0 0 6px var(--navy), 0 0 0 8px var(--rust); }

.chip {
  border-radius: 999px; padding: 9px 18px; min-height: 40px;
  font: 600 15px var(--sans); border: 1px solid rgba(227, 231, 242, .35);
  background: transparent; color: var(--mist); cursor: pointer;
}
.chip:hover { border-color: var(--white); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); color: var(--white); }
.swelling-chip { font-weight: 700; padding: 10px 22px; }

.detail { display: flex; flex-direction: column; gap: 28px; padding-top: 64px; }
.eyebrow { font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.detail h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--white); }
.bm-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bm-items li { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: var(--white); }
.bm-items li::before { content: ""; flex-shrink: 0; width: 24px; height: 2px; background: var(--rust); }
.bm-approach { max-width: 620px; font-size: 19px; line-height: 1.7; color: var(--mist); }
.bm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.bm-actions span { font-size: 16px; color: var(--slate); }
.bm-actions span a { color: var(--white); }
.all-areas { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(227, 231, 242, .25); display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .bodymap-grid { grid-template-columns: 1fr; }
  .detail { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .spot { transition: none; } }
