@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("./assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"),
       url("./assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("./assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("./assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #18201f;
  --muted: #4c5a59;
  --paper: #f5f8f7;
  --card: #ffffff;
  --teal: #9fd0d1;
  --teal-soft: #dff0f0;
  --teal-deep: #1d5e60;
  --chalk: #23292a;
  --chalk-2: #2f3637;
  --line: #d3e0df;
  --track: #c8463a;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; font: 600 1rem/1.2 var(--body); padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--chalk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.ext { font-size: .9em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.mast { position: sticky; top: 0; z-index: 20; background: rgba(245, 248, 247, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--teal-deep); font: 700 .9rem/1 var(--display); color: var(--teal-deep); letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 800 1.15rem/1.1 var(--display); }
.brand-text small { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.main-nav a:hover { color: var(--teal-deep); text-decoration: underline; }
.demo-label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); border-radius: 99px; padding: 2px 9px; }

/* Hero */
.hero { padding: 56px 0 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 70%, var(--teal-soft) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 14px; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 850; letter-spacing: -0.025em; line-height: 1.02; max-width: 13ch; }
h1 span { display: block; margin-top: .28em; font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.intro { font-size: 1.14rem; max-width: 50ch; color: var(--muted); margin: 22px 0 28px; }

.first-appt { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: end; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--radius); padding: 22px 24px; max-width: 560px; box-shadow: 0 10px 30px rgba(24, 32, 31, .06); }
.first-label { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700; color: var(--teal-deep); margin: 0 0 4px; }
.first-name { font: 700 1.12rem/1.25 var(--display); margin: 0; }
.first-name span { font: 500 .9rem var(--body); color: var(--muted); white-space: nowrap; }
.first-price { font: 850 2.6rem/1 var(--display); margin: 0; color: var(--ink); }
.first-appt .btn { grid-column: 1 / -1; margin-top: 14px; }
.first-note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin: 6px 0 0; }

.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 50px rgba(24, 32, 31, .16); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--teal); border-radius: 22px; z-index: -1; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid rgba(29, 94, 96, .25); }
.facts p { margin: 0; padding: 20px 18px 26px 0; font-size: .92rem; color: var(--muted); }
.facts p + p { padding-left: 18px; border-left: 1px solid rgba(29, 94, 96, .25); }
.facts strong { display: block; font: 800 1.35rem/1.2 var(--display); color: var(--ink); margin-bottom: 2px; }

/* Sections */
.section { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; margin-bottom: 40px; }
.lane-no { margin: 0; font: 800 .95rem/1 var(--display); color: #fff; background: var(--track); border-radius: 6px; padding: 6px 8px; align-self: center; letter-spacing: .04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 850; letter-spacing: -0.02em; }
.sec-intro { grid-column: 2; margin: 12px 0 0; color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.lead { font-size: 1.2rem; line-height: 1.5; }

/* Treatment cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card-dark { background: var(--chalk); color: #e9efee; border-color: var(--chalk); }
.card.card-dark p { color: #c6d1d0; }
.card-tag { font: 700 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-deep); margin-bottom: 14px; }
.card-dark .card-tag { color: var(--teal); }
.card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 14px; }
.card p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .82rem; padding: 4px 11px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 500; }
.card-dark .chips li { background: var(--chalk-2); color: var(--teal); }
.card-price { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink) !important; }
.card-dark .card-price { border-color: #3d4647; color: #fff !important; }
.card-dark .card-price a { color: var(--teal); }
.card-price a { white-space: nowrap; }

.expect { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; margin-top: 64px; padding: 40px; background: var(--teal-soft); border-radius: var(--radius); }
.expect h3, .shock-detail h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.expect-intro p { color: var(--muted); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(29, 94, 96, .2); }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 800 .9rem/1 var(--display); color: var(--teal-deep); }

.shock-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; margin-top: 28px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.shock-detail p { color: var(--muted); }
.shock-facts { margin: 0; display: grid; gap: 0; }
.shock-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.shock-facts div:first-child { padding-top: 0; }
.shock-facts dt { font-weight: 700; }
.shock-facts dd { margin: 0; color: var(--muted); }
.source-line { grid-column: 1 / -1; font-size: .9rem; margin: 0; }

/* Prices */
.section-prices { background: var(--chalk); color: #eef3f2; }
.section-prices .sec-intro { color: #b9c5c4; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.price-block h3 { font-size: 1.35rem; font-weight: 800; color: var(--teal); padding-bottom: 12px; border-bottom: 2px solid var(--teal); }
.price-block h4 { font: 700 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: #b9c5c4; margin: 28px 0 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid #3d4647; }
.price-list span { line-height: 1.35; }
.price-list em { display: block; font-style: normal; font-size: .85rem; color: #9fb0af; margin-top: 2px; }
.price-list b { font: 800 1.3rem/1 var(--display); color: #fff; white-space: nowrap; }
.price-list li.highlight span::before { content: "First visit"; display: inline-block; font: 700 .66rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; background: var(--teal); color: var(--chalk); border-radius: 4px; padding: 4px 6px; margin: 0 8px 6px 0; vertical-align: middle; }
.insurance { margin-top: 28px; background: var(--chalk-2); border-radius: 10px; padding: 18px 20px; }
.insurance h4 { margin: 0 0 10px; }
.insurance p { margin: 0; color: #d4dddc; font-size: .95rem; }
.insurance strong { color: #fff; }
.price-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 48px; }
.price-cta p { margin: 0; color: #b9c5c4; max-width: 52ch; font-size: .95rem; }
.section-prices .btn-primary { background: var(--teal); color: var(--chalk); }
.section-prices .btn-primary:hover { background: #fff; }

/* Classes */
.classes-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.classes-copy .sec-head { margin-bottom: 24px; }
.class-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.class-list li { display: grid; grid-template-columns: minmax(170px, .8fr) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.class-list b { font-family: var(--display); font-weight: 750; }
.class-list span { color: var(--muted); font-size: .95rem; }
.class-price { font-size: 1.05rem; }
.join { color: var(--muted); }
.studio-photo { margin: 0; }
.studio-photo img { border-radius: 22px; width: 100%; aspect-ratio: 47 / 31; object-fit: cover; box-shadow: 0 24px 50px rgba(24, 32, 31, .14); }

/* About */
.section-about { background: var(--card); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-copy > p { color: var(--muted); }
.about-copy > p.lead { color: var(--ink); }
.quote { margin: 36px 0; padding: 28px 30px; background: var(--teal-soft); border-radius: var(--radius); border-left: 6px solid var(--track); }
.quote p { font: 650 1.3rem/1.4 var(--display); margin-bottom: 14px; }
.quote cite { font-style: normal; font-weight: 700; font-size: .95rem; }
.quote cite a { font-weight: 400; }
.press h3, .courses h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.press ul { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.press li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.press li a { font-weight: 700; color: var(--ink); }
.courses p { color: var(--muted); font-size: .95rem; }

/* Visit */
.section-visit { padding-bottom: 110px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
address { font-style: normal; font: 700 1.4rem/1.35 var(--display); margin-bottom: 10px; }
.maps { margin-bottom: 28px; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; }
.hours caption { text-align: left; font: 700 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-deep); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.contact-card { background: var(--teal-soft); border-radius: var(--radius); padding: 36px; }
.contact-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.contact-card .phone { font: 800 1.8rem/1.2 var(--display); }
.contact-card .phone a { color: var(--ink); text-decoration: none; }
.contact-card .social { font-size: .88rem; color: var(--muted); margin: 22px 0 0; }

/* Footer */
.foot { background: var(--chalk); color: #c6d1d0; padding: 32px 0 36px; font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot p { margin: 0; }
.foot strong { color: #fff; }
.foot a { color: var(--teal); }
.demo-line { max-width: 62ch; }

/* Phone dock */
.dock { display: none; }

/* Dialog */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(100% - 32px, 480px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
dialog::backdrop { background: rgba(24, 32, 31, .55); }
.enquiry-form { padding: 28px; display: grid; gap: 14px; }
.enquiry-form h2 { font-size: 1.6rem; }
.enquiry-form .topic { margin: 0; color: var(--teal-deep); font-weight: 600; }
.enquiry-form .topic:empty { display: none; }
.enquiry-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.enquiry-form input, .enquiry-form textarea { font: inherit; padding: 10px 12px; border: 1px solid #b9c9c8; border-radius: 10px; background: #fff; }
.enquiry-form .note { font-size: .86rem; color: var(--muted); background: var(--teal-soft); padding: 10px 12px; border-radius: 10px; margin: 0; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .9rem; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .mast-row { gap: 12px; }
  .demo-label { margin-left: auto; }
  .hero-grid, .classes-grid, .about-grid, .visit-grid, .expect, .shock-detail { grid-template-columns: 1fr; gap: 32px; }
  .cards, .price-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts p:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts p:nth-child(n+3) { border-top: 1px solid rgba(29, 94, 96, .25); }
  .about-photo { position: static; max-width: 420px; }
  .hero-photo { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: min(100% - 32px, var(--max)); }
  .mast-row { min-height: 60px; }
  .brand-mark { width: 34px; height: 34px; font-size: .8rem; }
  .brand-text strong { font-size: 1.02rem; }
  .brand-text small { font-size: .72rem; }
  .book-link { display: none; }
  .hero { padding-top: 32px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 80%, var(--teal-soft) 80%); }
  h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .intro { font-size: 1.02rem; margin: 16px 0 22px; }
  .first-appt { padding: 18px; }
  .first-price { font-size: 2.1rem; }
  .hero-photo::before { inset: 12px -10px -12px 12px; }
  .hero-photo { margin-right: 10px; }
  .facts { margin-top: 44px; }
  .facts p { padding: 16px 12px 18px 0; font-size: .85rem; }
  .facts p:nth-child(even) { padding-left: 12px; }
  .facts strong { font-size: 1.1rem; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-intro { grid-column: 1 / -1; }
  .card { padding: 22px; }
  .expect, .shock-detail { padding: 24px; margin-top: 40px; }
  .shock-detail { margin-top: 20px; }
  .shock-facts div { grid-template-columns: 1fr; gap: 2px; }
  .class-list li { grid-template-columns: 1fr; gap: 2px; }
  .price-list b { font-size: 1.15rem; }
  .quote { padding: 22px; }
  .quote p { font-size: 1.12rem; }
  .contact-card { padding: 24px; }
  .dock { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 248, 247, .97); border-top: 1px solid var(--line); }
  .dock .btn { padding: 12px 16px; }
  .dock .btn-primary { flex: 1; }
  .dock .btn-ghost { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 640px) {
  .dock { transition: transform .2s ease; }
  .dock.dock-hidden { transform: translateY(110%); }
}
