/* ==========================================================================
   Service (treatment) pages — editorial layout system
   Long SEO copy is paced across full-width bands with varied compositions,
   a comfortable measure, pull statements and accordions for secondary Q&A.
   Built on site.css tokens.
   ========================================================================== */

/* ---------- Rhythm & type ---------- */
.band { padding-block: clamp(80px, 9vw, 136px); position: relative; }
.band--tight { padding-block: clamp(56px, 6vw, 88px); }
.band--cream { background: var(--cream); }
.band--white { background: var(--white); }
.band--mint { background: var(--mint); }
.band--ink { background: var(--ink); color: #fff; }
.band + .band--cream.band--flush-top, .band--flush-top { padding-top: 0; }

.svc .h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; }
.svc .h3x { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; color: var(--ink); }
.prose { max-width: 62ch; }
.prose p, .p { font-size: 18px; line-height: 1.7; color: var(--teal); text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose strong, .p strong { color: var(--ink); font-weight: 600; }
.svc a.inline, .prose a:not(.btn), .acc a:not(.btn), .tile-card a:not(.btn) {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px;
}
.lede { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--ink); letter-spacing: -0.005em; text-wrap: pretty; max-width: 34ch; }
.lede--wide { max-width: 48ch; }
.head { margin-bottom: clamp(36px, 4vw, 56px); }
.head .lede, .head .p { margin-top: 20px; }
.head--center { text-align: center; }
.head--center .lede, .head--center .p { margin-inline: auto; }
.on-ink .h2, .on-ink .h3x, .on-ink .lede { color: #fff; }
.on-ink .p, .on-ink .prose p { color: var(--foot-text); }
.on-ink .prose strong { color: #fff; }

/* ---------- Hero ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--teal); margin-bottom: 26px; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.s-hero { padding-bottom: clamp(48px, 5vw, 72px); }
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.s-hero .h1 { font-size: clamp(42px, 5vw, 72px); max-width: 9em; }
.s-hero .lede { margin-top: 26px; max-width: 30ch; }
.s-hero__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 5.8; box-shadow: 0 30px 60px -32px rgba(20,64,62,.5); }
.s-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.s-hero__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: rgba(255,247,242,.9); backdrop-filter: blur(8px); border-radius: 99px; padding: 8px 16px 8px 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.s-hero__badge img { width: 22px; height: 22px; object-fit: contain; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(48px, 5vw, 72px); }
.fact { background: rgba(255,255,255,.65); border: 1px solid var(--mint-line); border-radius: var(--r); padding: 20px 22px; }
.fact b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--teal); line-height: 1.35; }
@media (max-width: 960px) { .s-hero__grid { grid-template-columns: 1fr; } .s-hero__img { aspect-ratio: 4/3; } .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Intro statement (opening paragraphs, set editorially) ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.intro-grid .statement { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); text-wrap: balance; }
.intro-grid .statement em { font-family: var(--serif); font-style: italic; font-size: 1.07em; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Chapter bar (sticky section nav) ---------- */
.chapters { position: sticky; top: var(--hh); z-index: 30; background: rgba(255,247,242,.94); backdrop-filter: blur(10px); border-block: 1px solid var(--hairline); }
.chapters__inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.chapters__inner::-webkit-scrollbar { display: none; }
.chapters__label { flex: none; font-size: 13px; font-weight: 600; color: var(--teal); margin-right: 8px; }
.chapters a { flex: none; font-size: 14px; padding: 7px 14px; border-radius: 99px; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; white-space: nowrap; }
.chapters a:hover { background: rgba(20,64,62,.06); }
.chapters a[aria-current="true"] { background: var(--ink); color: #fff; }
.chapters .btn { margin-left: auto; flex: none; min-height: 38px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 720px) { .chapters .btn, .chapters__label { display: none; } }

/* ---------- Layout patterns ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--rev > :first-child { order: 2; }
.split--center { align-items: center; }
.sticky-col { position: sticky; top: calc(var(--hh) + 96px); }
@media (max-width: 960px) {
  .split, .split--even { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .sticky-col { position: static; }
}

.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mint); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--land { aspect-ratio: 4 / 3; }
.photo figcaption, .cap-pill { position: absolute; left: 16px; bottom: 16px; background: rgba(255,247,242,.9); backdrop-filter: blur(6px); color: var(--ink); padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.photo-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: minmax(0, 1fr); } }

/* Full-bleed photo moment with an overlaid panel */
.moment { position: relative; min-height: clamp(520px, 52vw, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.moment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,64,62,.55) 0%, rgba(20,64,62,.15) 55%, rgba(20,64,62,0) 100%); }
.moment__panel { position: relative; z-index: 1; margin: 0 0 clamp(32px, 5vw, 72px); max-width: 560px; background: rgba(255,247,242,.92); backdrop-filter: blur(10px); border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 48px); }
.moment__panel .p { margin-top: 16px; color: var(--ink); }
.moment__panel .btn-row { margin-top: 28px; }

/* Pull statement */
.pull-quote { max-width: 22ch; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.pull-quote--wide { max-width: 28ch; }
.pull-quote::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold-line); margin-bottom: 28px; }
.on-ink .pull-quote { color: #fff; }
.pull-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.pull-wrap .p { max-width: 44ch; }
@media (max-width: 860px) { .pull-wrap { grid-template-columns: 1fr; } }

/* Big number moment */
.bignum { white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(72px, 9.5vw, 156px); line-height: .82; letter-spacing: -0.03em; color: var(--ink); }
.bignum small { display: block; font-family: var(--sans); font-style: normal; font-size: 16px; letter-spacing: 0; color: var(--teal); margin-top: 18px; }

/* ---------- Components ---------- */
.ticks { display: grid; gap: 0; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(20,64,62,.12); color: var(--ink); font-size: 17px; line-height: 1.5; }
.ticks li:first-child { border-top: 1px solid rgba(20,64,62,.12); }
.ticks svg { width: 24px; height: 24px; color: var(--teal); margin-top: 1px; }
.ticks strong { font-weight: 600; }
.ticks--cards { grid-template-columns: 1fr 1fr; gap: 10px; }
.ticks--cards li { background: var(--white); border-radius: var(--r-sm); padding: 18px 20px; border: 0 !important; }
@media (max-width: 640px) { .ticks--cards { grid-template-columns: 1fr; } }

.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.answers--3 { grid-template-columns: repeat(3, 1fr); }
.answer { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); }
.answer h3 { font-size: 17px; font-weight: 600; color: var(--teal); line-height: 1.35; }
.answer__big { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; margin: 14px 0 18px; }
.answers--3 .answer__big { font-size: clamp(30px, 2.6vw, 36px); }
.answer .p { font-size: 16px; }
.answer .p + .p { margin-top: .8em; }
.band--white .answer, .band--white .tile-card { background: var(--cream); }
@media (max-width: 860px) { .answers, .answers--3 { grid-template-columns: 1fr; } }

/* Horizontal steps */
.hsteps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; position: relative; }
.hsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--mint-line); }
.hsteps li { position: relative; counter-increment: st; padding-right: 24px; }
.hsteps li::before { content: counter(st); position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 1px solid var(--mint-line); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--ink); }
.band--white .hsteps li::before { background: var(--white); }
.hsteps b { display: block; margin-top: 22px; font-size: 19px; font-weight: 600; color: var(--ink); }
.hsteps .p { margin-top: 8px; font-size: 16px; line-height: 1.6; }
@media (max-width: 980px) {
  .hsteps { grid-template-columns: 1fr; gap: 0; }
  .hsteps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hsteps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0 0 28px; }
  .hsteps b { margin-top: 14px; }
  .hsteps .p { grid-column: 2; }
}

.compare-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.compare-card svg.diagram { display: block; width: 100%; height: auto; background: linear-gradient(180deg, #f3faf9, var(--mint)); }
.scroll-x { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 540px; }
.ctable th, .ctable td { text-align: left; padding: 16px 22px; vertical-align: top; border-top: 1px solid var(--hairline); line-height: 1.5; }
.ctable thead th { border-top: 0; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--cream); }
.ctable tbody th { font-weight: 500; color: var(--teal); width: 24%; }
.ctable td { color: var(--ink); }
.table-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.band--white .table-card { background: var(--cream); }
.band--white .table-card thead th { background: var(--white); }

.xlist { display: grid; gap: 14px; margin-top: 18px; }
.xlist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 17px; line-height: 1.5; }
.xlist svg { width: 20px; height: 20px; margin-top: 2px; color: #e9a497; }
.on-ink .xlist li { color: #fff; }
.no-word { font-family: var(--serif); font-style: italic; font-size: clamp(110px, 14vw, 210px); line-height: .8; color: #fff; letter-spacing: -0.03em; }
.note-card { margin-top: 28px; padding: 24px 26px; border-radius: var(--r); background: rgba(216,238,237,.1); border: 1px solid rgba(216,238,237,.18); }
.note-card .p { color: #fff !important; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 28px; border-radius: 99px; background: var(--ink); color: #fff; }
.inline-cta p { color: #fff; font-weight: 500; font-size: 17px; }
.inline-cta a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.inline-cta a span { transition: transform .3s var(--ease-out); }
.inline-cta a:hover span { transform: translateX(4px); }
.band--ink .inline-cta { background: var(--gold); background-image: var(--gold); }
.band--ink .inline-cta p, .band--ink .inline-cta a { color: var(--gold-ink); }
@media (max-width: 640px) { .inline-cta { border-radius: var(--r); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid var(--mint-line); border-radius: 99px; padding: 10px 18px; font-size: 16px; color: var(--ink); }

/* Dark progression timeline */
.prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.prog li { position: relative; border-radius: var(--r); padding: 26px 22px 24px; background: rgba(216,238,237,.08); border: 1px solid rgba(216,238,237,.14); display: flex; flex-direction: column; }
.prog li::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, #8fc7c3); }
.prog li:nth-child(1) { --c: #a9dad6; }
.prog li:nth-child(2) { --c: #c9d7a8; }
.prog li:nth-child(3) { --c: #e9c98f; }
.prog li:nth-child(4) { --c: #ec9d84; }
.prog li:nth-child(5) { --c: #e0705c; }
.prog__when { font-size: 13px; font-weight: 600; color: var(--foot-text); letter-spacing: .02em; }
.prog h3 { margin-top: 12px; font-size: 19px; font-weight: 500; line-height: 1.25; color: #fff; }
.prog .p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--foot-text); }
.prog .p a { color: #fff; text-decoration: underline; text-decoration-color: #f0dbb0; text-underline-offset: 3px; }
.prog .tag { margin-top: auto; align-self: flex-start; }
.prog .tag { margin-top: 18px; }
@media (max-width: 1080px) { .prog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prog { grid-template-columns: 1fr; } }

.tag { font-family: var(--sans); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; letter-spacing: .02em; display: inline-block; }
.tag--ok { background: var(--mint); color: var(--ink); }
.tag--no { background: #fde3df; color: #9b2c1a; }

.gum-diagram { background: var(--white); border-radius: var(--r-lg); padding: 24px 24px 10px; }
.band--white .gum-diagram { background: var(--cream); }
.gum-diagram svg { display: block; width: 100%; height: auto; }
.gum-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px); }
.tile-card h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.tile-card .p { font-size: 16px; }
.tile-card .p + .p { margin-top: .8em; }
@media (max-width: 720px) { .gum-cards { grid-template-columns: 1fr; } }

.comfort-row { display: flex; flex-wrap: wrap; gap: 8px; }
.comfort-row span, .comfort-row a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: var(--white); font-size: 15px; color: var(--ink); text-decoration: none; border: 1px solid var(--mint-line); }
.comfort-row a:hover { border-color: var(--ink); }

.eat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eat div { background: var(--white); border-radius: var(--r-lg); padding: 26px; }
.eat b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink); }
.eat span { display: block; margin-top: 14px; font-size: 15px; color: var(--teal); line-height: 1.5; }
@media (max-width: 720px) { .eat { grid-template-columns: 1fr; } }

.reasons { counter-reset: r; display: grid; gap: 14px; margin-top: 16px; }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.reasons li::before { content: counter(r); width: 32px; height: 32px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--cream); font-size: 15px; line-height: 1.55; color: var(--ink); }
@media (max-width: 760px) { .cost-grid { grid-template-columns: 1fr; } }

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tip { background: var(--white); border-radius: var(--r-lg); padding: 28px; }
.band--white .tip { background: var(--cream); }
.tip__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; color: var(--ink); margin-bottom: 18px; }
.band--white .tip__icon { background: var(--white); }
.tip__icon svg { width: 22px; height: 22px; }
.tip b { display: block; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.tip .p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
@media (max-width: 960px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tips { grid-template-columns: 1fr; } }

/* Photo slot awaiting the practice's own image */
.ph { position: relative; border-radius: var(--r); background: linear-gradient(135deg, var(--mint) 0%, #e9f5f3 100%); border: 1px solid var(--mint-line); display: grid; place-items: center; text-align: center; padding: 24px; }
.band--mint .ph { background: linear-gradient(135deg, #e7f4f3, #f4fbfa); }
.ph img { width: 48px; height: 50px; opacity: .45; margin: 0 auto 12px; }
.ph b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.ph span { display: block; font-size: 12px; color: var(--teal); margin-top: 4px; max-width: 34em; }

/* ---------- Accordions for secondary Q&A (content stays indexable) ---------- */
.acc { border-top: 1px solid rgba(20,64,62,.15); }
.acc details { border-bottom: 1px solid rgba(20,64,62,.15); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.3; color: var(--ink); }
.acc summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(20,64,62,.25); display: grid; place-items: center; transition: transform .35s var(--ease-out), background .2s; }
.acc summary i svg { width: 14px; height: 14px; }
.acc summary:hover i { background: var(--white); }
.acc details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc .acc__body { padding: 0 64px 30px 0; max-width: 68ch; }
.acc .acc__body .p { font-size: 17px; }
.acc .acc__body .p + .p { margin-top: .9em; }
@media (max-width: 640px) { .acc .acc__body { padding-right: 0; } }

/* ---------- Results & local ---------- */
.disclaimer-sm { margin-top: 16px; font-size: 13px; color: var(--teal); line-height: 1.5; }
.local-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.local-band__text { padding: clamp(72px, 8vw, 120px) clamp(32px, 6vw, 96px); padding-left: max(16px, calc((100vw - min(var(--container), 100vw - 2 * var(--gutter))) / 2)); }
.local-band__img { position: relative; min-height: 420px; }
.local-band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.local-band .ticks { margin-top: 32px; }
@media (max-width: 960px) { .local-band { grid-template-columns: 1fr; } .local-band__text { padding: 72px 16px; } .local-band__img { min-height: 360px; } }

.faq-section { padding-bottom: calc(var(--section) + 60px); }
.final-note { font-size: 13px; color: var(--teal); margin-top: 24px; }

/* Cases (cosmetic) */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: var(--mint); border: 1px solid var(--mint-line); border-radius: var(--r); padding: 16px; }
.case__pair { border-radius: 10px; overflow: hidden; }
.case__pair figure { position: relative; aspect-ratio: 311 / 150; overflow: hidden; }
.case__pair img { width: 100%; height: 100%; object-fit: cover; }
.case__pair figcaption { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.case h3 { margin: 16px 4px 2px; font-size: 18px; font-weight: 500; color: var(--ink); }
.case p { margin: 0 4px; font-size: 14px; color: var(--teal); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Cosmetic page components ---------- */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option { background: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.option--feature { background: var(--ink); }
.option--feature h3, .option--feature h3 a { color: #fff; }
.option--feature .p { color: var(--foot-text); }
.option--feature dd { color: #fff; }
.option--feature dt { color: var(--foot-text); }
.option__tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--mint); color: var(--ink); margin-bottom: 22px; }
.option--feature .option__tag { background: rgba(255,255,255,.12); color: #fff; }
.option h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; }
.option h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.option .p { font-size: 16px; }
.option dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(20,64,62,.12); font-size: 15px; }
.option > .p:last-of-type { margin-bottom: 24px; }
.option--feature dl { border-color: rgba(255,255,255,.16); }
.option dt { color: var(--teal); }
.option dd { color: var(--ink); font-weight: 600; }

.can { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.can > div { background: var(--cream); border-radius: var(--r-lg); padding: 28px; }
.can b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.can b i { width: 10px; height: 10px; border-radius: 50%; }
.can .p { font-size: 16px; }
.dot-good { background: #2f9b6b; } .dot-mid { background: #c19a3a; } .dot-none { background: #9aa9a8; }

.material { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.material .photo { border-radius: 0; aspect-ratio: 16 / 8; }
.material__body { padding: clamp(24px, 3vw, 36px); }
.material__body h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.material__body .p { font-size: 16px; }

.order { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: o; }
.order li { counter-increment: o; border-radius: var(--r); padding: 28px 24px; background: rgba(216,238,237,.08); border: 1px solid rgba(216,238,237,.14); }
.order li::before { content: counter(o); display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: #f0dbb0; }
.order b { display: block; margin-top: 18px; font-size: 19px; font-weight: 500; color: #fff; }
.order .p { margin-top: 8px; font-size: 15px; color: var(--foot-text); }
@media (max-width: 960px) { .order { grid-template-columns: 1fr 1fr; } }

.ladder { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); }
.ladder__bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; height: 200px; }
.ladder__bars div { border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--mint-2), var(--mint)); }
.ladder__bars div:nth-child(1) { height: 22%; } .ladder__bars div:nth-child(2) { height: 38%; } .ladder__bars div:nth-child(3) { height: 56%; }
.ladder__bars div:nth-child(4) { height: 80%; background: linear-gradient(180deg, #e4cf9f, #f3e6c8); }
.ladder__bars div:nth-child(5) { height: 100%; background: linear-gradient(180deg, #d8bd80, #efdfba); }
.ladder__labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.ladder__labels span { font-size: 15px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.3; }
.ladder__axis { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--teal); }

/* Before/after compare slider */
.compare { --pos: 50%; position: relative; aspect-ratio: 981 / 552; border-radius: var(--r); overflow: hidden; background: var(--mint-2); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background-image: var(--gold); border: 1px solid var(--gold-line); color: var(--gold-ink); display: grid; place-items: center; pointer-events: none; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
.compare__knob svg { width: 24px; height: 24px; }
.compare__tag { position: absolute; top: 14px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.28); color: #fff; border: 1px solid rgba(255,255,255,.4); pointer-events: none; }
.compare__tag--b { left: 14px; } .compare__tag--a { right: 14px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(input:focus-visible) { outline: 2px solid var(--gold-line); outline-offset: 4px; }

@media (max-width: 760px) {
  .options, .can { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; }
  .ladder__bars { height: 130px; gap: 6px; }
  .ladder__labels { gap: 6px; } .ladder__labels span { font-size: 12px; }
}
.option.option--feature h3 a { color: #fff; text-decoration-color: #f0dbb0; }
.option.option--feature dd { color: #fff; }
.option.option--feature dt { color: var(--foot-text); }

/* ==========================================================================
   Tooth-window hero (Figma 4492:235 / 4492:443)
   A 1440×823 art canvas holds the blurred photo, the sharp tooth-masked window
   and the silver outline at their Figma coordinates; JS scales and moves the
   whole canvas so the window lands on .hx__slot in the responsive text layout.
   ========================================================================== */
.hx { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(56px, 5.6vw, 80px) 0 clamp(64px, 6vw, 88px); }
.hx__base { position: absolute; inset: -24px; z-index: -2; background: var(--hx-img) center / cover no-repeat; filter: blur(8px); }
.hx--flip .hx__base { transform: scaleX(-1); }
.hx__base::after { content: ""; position: absolute; inset: 0; background: rgba(20, 64, 62, .55); }
.hx__canvas { position: absolute; left: 0; top: 0; width: 1440px; height: 823px; z-index: -1; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.hx.is-placed .hx__canvas { opacity: 1; }
.hx__photo { position: absolute; left: var(--px); top: var(--py); width: var(--pw); height: var(--ph); }
.hx__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx--flip .hx__photo img { transform: scaleX(-1); }
.hx__bg { filter: blur(var(--blur, 5px)); -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.hx__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 64, 62, .5); }
.hx__win { position: absolute; left: 552.4px; top: 187.4px; width: 344.7px; height: 365.2px; overflow: hidden;
  -webkit-mask: url("../assets/tooth-mask.png") center / 100% 100% no-repeat; mask: url("../assets/tooth-mask.png") center / 100% 100% no-repeat; }
.hx__win .hx__photo { left: calc(var(--px) - 552.4px); top: calc(var(--py) - 187.4px); }
.hx__outline { position: absolute; left: 528.3px; top: 171.1px; width: 397px; height: 408.5px; display: grid; place-items: center; }
.hx__outline img { width: 358.7px; height: 371.9px; max-width: none; transform: rotate(6.2deg); filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
@media (prefers-reduced-motion: no-preference) {
  .hx.is-placed .hx__win .hx__photo { animation: hxFocus 1.6s var(--ease-out) both; }
  .hx.is-placed .hx__outline { animation: hxOutline 1.2s .15s var(--ease-out) both; }
}
@keyframes hxFocus { from { transform: scale(1.06); filter: blur(4px); } to { transform: none; filter: none; } }
@keyframes hxOutline { from { opacity: 0; transform: scale(.96) rotate(-2deg); } to { opacity: 1; transform: none; } }

.hx__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hx__h1 { display: contents; }
.hx__title { justify-self: end; margin-right: 40px; max-width: 6.2em; font-size: clamp(44px, 4.2vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.hx__tag { justify-self: start; margin: 0 0 0 16px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(46px, 4.4vw, 64px); line-height: 1; color: #fff; white-space: nowrap; }
.hx__slot { display: block; width: clamp(260px, 24vw, 345px); aspect-ratio: 344.7 / 365.2; }
.hx__lede { max-width: var(--lede-w, 30em); margin: 30px auto 0; text-align: center; font-size: 17px; line-height: 1.6; color: #fff; text-wrap: pretty; }
.hx__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hx__cta .btn--ink { --_bd: rgba(255,255,255,.4); }
.hx-facts { margin: 0 0 clamp(56px, 6vw, 80px) !important; }

@media (max-width: 900px) {
  .hx__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hx__title { justify-self: center; margin: 0 0 28px; max-width: 9em; font-size: clamp(38px, 9vw, 52px); }
  .hx__tag { justify-self: center; margin: 22px 0 0; font-size: clamp(40px, 10vw, 56px); }
  .hx__slot { width: min(76vw, 320px); }
  .hx__cta { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
}

/* Photo moment on phones: photo first, panel below, so the panel never covers a face */
@media (max-width: 640px) {
  .moment { display: block; min-height: 0; background: var(--cream); }
  .moment > img { position: static; display: block; width: 100%; height: 300px; }
  .moment::after { display: none; }
  .moment__panel { margin: -40px 0 0; max-width: none; border-radius: var(--r-lg); position: relative; }
  .moment > .container { padding-bottom: 32px; }
}

/* Shared fixes from page builds */
.bignum small { white-space: normal; }
@media (max-width: 960px) { .split, .split--even { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .intro-grid, .pull-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 981px) { .hsteps--3 { grid-template-columns: repeat(3, 1fr); } .hsteps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .inline-cta { border-radius: var(--r-lg); } }

/* ==========================================================================
   Skim layer — the page should make sense to someone who only reads the
   bold bits. Detail stays on the page (for the curious, and for search)
   but sits one tap away.
   ========================================================================== */

/* How it works: three numbered beats, one line each */
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: how; margin: 0; padding: 0; list-style: none; }
.how3 li { position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--hairline); counter-increment: how; }
.band--white .how3 li { background: var(--cream); border-color: transparent; }
.how3 li::before { content: counter(how, decimal-leading-zero); display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--teal); opacity: .55; }
.how3 h3 { margin-top: 18px; font-size: clamp(21px, 1.7vw, 24px); font-weight: 500; line-height: 1.2; color: var(--ink); }
.how3 p { margin-top: 8px; color: var(--teal); line-height: 1.5; }
.how3 .chip { display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: var(--pill); background: var(--mint); color: var(--ink); font-size: 13px; font-weight: 600; }
.how3 li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); opacity: .4; }
@media (max-width: 860px) { .how3 { grid-template-columns: minmax(0, 1fr); } .how3 li::after { display: none; } }

/* The one-line takeaway that leads a card */
.gist { margin-top: 10px; font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.on-ink .gist { color: #fff; }

/* "Read more" fold */
details.more { margin-top: 12px; }
details.more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--teal); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out); }
details.more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
details.more > summary .less { display: none; }
details.more[open] > summary .less { display: inline; }
details.more[open] > summary .mo { display: none; }
details.more > :not(summary) { margin-top: 10px; }
.on-ink details.more > summary { color: #f0dbb0; }

/* "Best for" line on option cards */
.bestfor { margin-top: 14px; font-size: 15px; color: var(--teal); }
.bestfor b { color: var(--ink); font-weight: 600; }
/* Light text on the dark featured option card */
.option--feature .gist, .option--feature .bestfor b { color: #fff; }
.option--feature .bestfor { color: var(--foot-text); }
.option--feature details.more > summary { color: #f0dbb0; }

/* Chapters: hide while scrolling down, reappear on a small scroll up */
.chapters { transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
.chapters.is-hidden { transform: translateY(calc(-100% - 2px)); opacity: 0; pointer-events: none; }
/* Side variant (data-side): a floating left-hand menu on wide screens */
@media (min-width: 1200px) {
  .chapters[data-side] { position: fixed; left: 20px; top: calc(50% + var(--hh) / 2); transform: translateY(-50%); width: 196px; border: 1px solid var(--hairline); border-radius: 20px; box-shadow: 0 24px 48px -32px rgba(20,64,62,.45); }
  .chapters[data-side].is-hidden { transform: translate(calc(-100% - 28px), -50%); }
  .chapters[data-side] .chapters__inner { flex-direction: column; align-items: stretch; gap: 2px; width: auto; max-width: none; margin: 0; padding: 14px 10px !important; overflow: visible; }
  .chapters[data-side] .chapters__label { margin: 0 0 6px 12px; }
  .chapters[data-side] a { white-space: normal; padding: 6px 12px; }
  .chapters[data-side] .btn { margin: 10px 0 0; justify-content: center; }
}
