/* Plastic Surgery Center of Hattiesburg. Newsreader (display) + Manrope (text). Palette from the PSCH logo. */
:root {
  --ink: #2a221c;
  --text: #3d342d;
  --muted: #6a5f55;
  --brown: #523626;
  --clay: #a84c22;
  --clay-700: #8c3d19;
  --mint: #70bd9f;
  --mint-300: #a9d9c6;
  --mint-100: #e6f2ec;
  --teal: #2f6b5b;
  --teal-800: #234f43;
  --pine: #1d3a33;
  --pine-900: #152b26;
  --sand: #f3eee6;
  --sand-200: #e8e0d4;
  --bg: #fbf9f5;
  --line: #e3dbcf;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(42 34 28 / .06), 0 8px 24px rgb(42 34 28 / .07);
  --shadow-lg: 0 2px 4px rgb(42 34 28 / .06), 0 22px 48px rgb(42 34 28 / .14);
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); font-size: .95rem; }
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.eyebrow--light { color: var(--mint-300); }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.center-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--pine); background: var(--pine); color: #fff; font: 700 .97rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--pine-900); border-color: var(--pine-900); color: #fff; transform: translateY(-1px); }
.btn--primary { background: var(--clay); border-color: var(--clay); }
.btn--primary:hover { background: var(--clay-700); border-color: var(--clay-700); }
.btn--ghost { background: transparent; color: var(--pine); }
.btn--ghost:hover { background: var(--pine); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.btn--light:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* Top bar + nav */
.topbar { background: var(--pine); color: #d9e9e2; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--mint-300); }
.nav { position: sticky; top: 0; z-index: 50; background: rgb(251 249 245 / .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 500 1.17rem/1.1 var(--display); }
.brand__text span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links > a, .nav__group > a { display: block; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; border-radius: 8px; white-space: nowrap; }
.nav__links > a:hover, .nav__group > a:hover, .nav__links a[aria-current] { color: var(--teal); }
.nav__links a[aria-current] { box-shadow: inset 0 -2px 0 var(--mint); border-radius: 0; }
.nav__group { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.nav__menu a:hover { background: var(--mint-100); color: var(--pine); }
.nav__menu a.sub { padding-left: 26px; color: var(--muted); }
.nav__menu--mega { grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 8px; min-width: 760px; left: 50%; transform: translate(-50%, 6px); }
.nav__group:hover .nav__menu--mega, .nav__group:focus-within .nav__menu--mega { transform: translate(-50%, 0); }
.nav__menu--mega div { display: grid; align-content: start; }
.nav__menu a.head { font-weight: 700; color: var(--teal); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 76px); overflow-y: auto; }
.mobile-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 20px 24px; }
.mobile-menu__head { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin: 10px 0 6px; }
.mobile-menu a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-menu__cta { display: grid; gap: 10px; padding: 0 24px 24px; }
@media (max-width: 1239px) { .nav__phone { display: none; } }
@media (max-width: 1099px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* Sections */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0 72px; }
.section--tint { background: var(--sand); }
.section--dark { background: var(--pine); color: #d7e6df; }
.section--dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.section-head--row > div { max-width: 640px; }
.section-head--row > p { max-width: 460px; margin: 0; }
.section--dark .section-head p { color: #c4d8cf; }
.link-light { color: #fff; font-weight: 700; }
.link-light:hover { color: var(--mint-300); }
.split { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.split > div { max-width: 680px; }
.split p:last-child { margin-bottom: 0; }
.split__cta { margin: 0; flex-shrink: 0; }

/* Hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 85% 0%, var(--mint-100), transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__proof strong { display: block; font: 500 1.35rem/1.2 var(--display); color: var(--ink); }
.hero__proof span { font-size: .87rem; color: var(--muted); line-height: 1.4; display: block; }
.hero__media { position: relative; }
.hero__media > img { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); width: 100%; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: 40% 20%; box-shadow: var(--shadow-lg); }
.hero__docs { position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 10px 22px 10px 10px; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); }
.hero__docs:hover { color: var(--teal); }
.hero__docs strong { display: block; font-size: .95rem; }
.hero__docs span span { display: block; font-size: .82rem; color: var(--muted); }
.hero__avatars { display: flex; }
.hero__avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; }
.hero__avatars img:first-child { margin-left: 0; }

/* Facts strip */
.facts { background: var(--pine); color: #cfe2da; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts__grid > div { padding: 30px 26px; border-left: 1px solid rgb(255 255 255 / .1); }
.facts__grid > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 500 1.6rem/1.2 var(--display); color: #fff; margin-bottom: 4px; }
.facts span { font-size: .9rem; line-height: 1.5; display: block; }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--pine); box-shadow: var(--shadow); }
.cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(21 43 38 / .85)); }
.cat__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.cat__label { display: block; font: 500 1.9rem/1.1 var(--display); }
.cat__meta { display: block; font-size: .88rem; color: #e1efe9; margin-top: 4px; }
.cat:hover { color: #fff; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.duo__card { display: grid; grid-template-columns: 180px 1fr; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.duo__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--ink); }
.duo__card img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.duo__body { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.duo__body .eyebrow { margin-bottom: 8px; }
.duo__title { font: 500 1.4rem/1.25 var(--display); margin-bottom: 10px; }
.duo__more { font-weight: 700; color: var(--clay); font-size: .93rem; }
.duo__more::after { content: " →"; }

/* Doctors */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.doc__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; background: var(--sand-200); }
.doc__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.doc h3 { margin-bottom: 4px; }
.doc h3 a { color: var(--ink); text-decoration: none; }
.doc h3 a:hover { color: var(--teal); }
.doc__role { color: var(--teal); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.doc__body > p:not(.doc__role):not(.doc__links) { color: var(--muted); font-size: .96rem; }
.doc__links { margin: auto 0 0; display: flex; gap: 18px; font-weight: 700; font-size: .93rem; }

/* Feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.feature--flip { grid-template-columns: 1.15fr .85fr; align-items: start; }
.feature__media--stack { display: grid; gap: 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232f6b5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.quotes--3 { grid-template-columns: repeat(3, 1fr); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font: 400 5rem/1 var(--display); color: var(--mint-300); }
.quote blockquote { margin: 0 0 18px; }
.quote blockquote p { margin: 0; font: 400 1.14rem/1.55 var(--display); color: var(--ink); }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.quote__name { font-weight: 700; color: var(--ink); }
.quote__doc { color: var(--muted); }
.quote--wide { grid-column: 1 / -1; background: var(--mint-100); border-color: transparent; }
.quote--wide blockquote p { font-size: 1.22rem; }
.section--dark .quote { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); }
.section--dark .quote blockquote p, .section--dark .quote__name { color: #fff; }
.section--dark .quote__doc { color: #b9d0c6; }
.section--dark .quote::before { color: rgb(169 217 198 / .35); }
.quote--inline { margin: 8px 0 24px; background: var(--sand); border: 0; }
.quote--card { box-shadow: var(--shadow); }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 16 / 9; background: var(--sand-200); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__ph { display: grid; place-items: center; height: 100%; font: 500 1.6rem var(--display); color: var(--teal); letter-spacing: .2em; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__date { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal); }
.post-card__body > p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }
.year-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.year-jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; }
.year-jump a:hover { border-color: var(--teal); color: var(--teal); }
.blog-year { margin-bottom: 52px; }
.blog-year h2 { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; }

/* Page hero */
.page-hero { padding: 40px 0 52px; background: linear-gradient(180deg, var(--sand), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero__grid--aside { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.page-hero h1 { max-width: 20ch; }
.page-hero--center { text-align: center; padding: 96px 0; }
.page-hero--center .lede { margin-left: auto; margin-right: auto; }
.page-hero--center h1 { margin-left: auto; margin-right: auto; }
.h1-sub { display: block; font-size: .5em; font-style: italic; font-weight: 400; color: var(--teal); margin-top: 8px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sand-200); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .87rem; font-weight: 600; color: var(--ink); }
.chips a { color: var(--ink); text-decoration: none; }
.chips a:hover { color: var(--teal); }
.page-hero__img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-height: 420px; object-fit: cover; }
.page-hero__portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: min(100%, 340px); margin-left: auto; border: 8px solid #fff; box-shadow: var(--shadow-lg); }

/* Article layout */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child, .prose > figure:first-child + h2 { margin-top: 0; }
.prose li { margin-bottom: .45em; }
.prose a { overflow-wrap: anywhere; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--mint); color: var(--ink); }
.prose__fig { margin: 0 0 28px; }
.prose__fig img { border-radius: var(--radius); max-height: 360px; width: auto; max-width: 100%; box-shadow: var(--shadow); }
.prose__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.prose__disclaimer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.post__fig { margin: 0 0 32px; }
.post__fig img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }
.side { position: sticky; top: 100px; display: grid; gap: 22px; }
.consult { background: var(--pine); color: #d5e5de; border-radius: var(--radius-lg); padding: 26px; }
.consult__title { font: 500 1.45rem/1.2 var(--display); color: #fff; margin-bottom: 10px; }
.consult p:not(.consult__title) { font-size: .95rem; }
.consult__phone { display: block; text-align: center; margin-top: 14px; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.consult__phone:hover { color: var(--mint-300); }
.consult__meta { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem !important; color: #b9d0c6; }
.related { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.related__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--sand); color: var(--ink); text-decoration: none; font-size: .95rem; }
.related li:last-child a { border-bottom: 0; }
.related li a:hover, .related a[aria-current] { color: var(--teal); }
.related a[aria-current] { font-weight: 700; }
.related--gal { background: var(--mint-100); border-color: transparent; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pn a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.pn a span { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.pn__next { text-align: right; }
.pn a:hover { border-color: var(--teal); }

/* Procedure grid */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; color: var(--text); }
.pcard h3 { margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .94rem; flex: 1; }
.pcard__tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.pcard__more { font-weight: 700; color: var(--clay); font-size: .92rem; }
.pcard__more::after { content: " →"; }
.pcard--dark { background: var(--pine); border-color: var(--pine); }
.pcard--dark h3 { color: #fff; }
.pcard--dark p { color: #c9ddd4; }
.pcard--dark .pcard__more { color: var(--mint-300); }
.pcard--dark:hover { color: #fff; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.member { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; align-items: start; }
.member img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.member h2 { font-size: 1.45rem; margin-bottom: 2px; }
.member__role { color: var(--teal); font-weight: 700; font-size: .9rem; }
.member p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }

/* Info grid */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.info h2 { font-size: 1.5rem; }
.info p:last-child { margin-bottom: 0; }
.hours { margin: 0 0 1em; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.docs-list { list-style: none; padding: 0; margin: 0; }
.docs-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--sand); text-decoration: none; color: var(--ink); font-weight: 600; }
.docs-list a span { font-size: .75rem; font-weight: 700; color: var(--clay); border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; }
.docs-list a:hover { color: var(--teal); }
.carecredit { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--sand); font-size: .88rem; font-weight: 600; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--sm { aspect-ratio: 4 / 3; }

/* Spa services */
.svcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.svc h3 { margin-bottom: 8px; }
.svc__head p { color: var(--muted); font-size: .95rem; }
.svc__tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.prices { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prices th, .prices td { padding: 8px 0; border-top: 1px dashed var(--line); text-align: left; vertical-align: top; }
.prices th { font-weight: 600; padding-right: 16px; }
.prices td { text-align: right; font-weight: 700; color: var(--ink); }
.prices--inline { max-width: 360px; }
.prose .svcs { grid-template-columns: 1fr; }
.brands { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin: 24px 0; }
.brands figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brands figcaption { padding: 14px 16px; font-size: .9rem; color: var(--muted); }
.brands figcaption strong { display: block; color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 52px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-100); color: var(--teal); font-weight: 700; }

/* Galleries */
.gal-group { margin-bottom: 44px; }
.gal-group h2 { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcard { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.gcard:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.gcard__title { display: block; font: 500 1.2rem/1.3 var(--display); color: var(--ink); }
.gcard__meta { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.gallery { position: relative; }
.veil { display: none; }
.js .is-veiled .veil { display: block; position: sticky; top: 100px; z-index: 5; background: var(--pine); color: #fff; border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 24px; box-shadow: var(--shadow-lg); }
.js .is-veiled .veil p { margin-bottom: 14px; }
.js .is-veiled .ba__imgs img { filter: blur(26px) saturate(.6); }
.js .is-veiled .ba__imgs { overflow: hidden; }
.ba { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; }
.ba__title { font-size: 1.3rem; margin-bottom: 14px; }
.ba__imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border-radius: var(--radius); }
.ba__img { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--sand); }
.ba__img img { width: 100%; }
.ba__label { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); }
.ba__label--after { background: var(--teal); color: #fff; }
.ba__info { margin-top: 16px; font-size: .95rem; }
.ba__info p { margin: 0 0 .6em; color: var(--muted); }
.ba__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ba__facts div { background: var(--sand); border-radius: 8px; padding: 5px 10px; display: flex; gap: 6px; font-size: .86rem; }
.ba__facts dt { color: var(--muted); }
.ba__facts dd { margin: 0; font-weight: 700; color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 16px; }
.form h2 { margin-bottom: 0; }
.form__note { font-size: .9rem; color: var(--muted); margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--text); padding: 12px 14px; border: 1.5px solid var(--sand-200); border-radius: 10px; background: var(--bg); width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint-100); background: #fff; }
.form [aria-invalid="true"] { border-color: var(--clay); }
.req { color: var(--clay); }
.form__choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form__choice legend { font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.form__choice label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form__choice input { width: auto; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-error { color: var(--clay-700); }
.form__status.is-ok { color: var(--teal); }
.contact__side { display: grid; gap: 20px; }
.contact__phone { font: 500 1.6rem var(--display); text-decoration: none; color: var(--ink); }

/* CTA band */
.cta-band { background: var(--pine) radial-gradient(800px 380px at 100% 0%, rgb(112 189 159 / .22), transparent 60%); color: #d5e5de; padding: 76px 0; }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__note { font-size: .88rem; color: #b9d0c6; margin: 6px 0 0; width: 100%; }
.cta-band__note a { color: #fff; }

/* Footer */
.footer { background: var(--pine-900); color: #b9cdc4; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #e3efe9; text-decoration: none; }
.footer a:hover { color: var(--mint-300); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { background: #fff; border-radius: 12px; padding: 12px 16px; width: 220px; height: auto; margin-bottom: 18px; }
.footer__head { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .hours div { border-color: rgb(255 255 255 / .1); }
.footer .hours dd { color: #b9cdc4; }
.footer .hours dt { color: #e3efe9; }
.footer__base { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .84rem; }
.footer__base p { margin: 0; }
.footer__base p:last-child { display: flex; gap: 18px; flex-shrink: 0; }
.callbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1099px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__menu--mega { min-width: 0; }
}
@media (max-width: 899px) {
  .section { padding: 64px 0; }
  .hero__grid, .feature, .feature--flip, .page-hero__grid--aside, .cta-band__inner, .contact { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .hero__docs { left: 12px; }
  .page-hero__grid--aside { gap: 28px; }
  .page-hero__portrait img { margin-left: 0; width: 220px; }
  .page-hero__img img { max-height: 300px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__grid > div { border-left: 0; padding-left: 0; border-top: 1px solid rgb(255 255 255 / .1); }
  .facts__grid > div:nth-child(-n+2) { border-top: 0; }
  .docs, .posts, .pgrid, .quotes--3, .info-grid, .gcards { grid-template-columns: repeat(2, 1fr); }
  .duo, .team, .svcs, .quotes { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .side { position: static; }
  .section-head--row { flex-direction: column; align-items: start; gap: 8px; }
  .split { flex-direction: column; align-items: start; }
  .js .is-veiled .veil { top: 88px; }
}
@media (max-width: 639px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .nav__inner { min-height: 66px; gap: 12px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text strong { font-size: 1.02rem; }
  .brand__text span { font-size: .66rem; }
  .hero { padding: 32px 0 44px; }
  .hero__proof { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .hero__proof strong { font-size: 1.08rem; }
  .hero__proof span { font-size: .78rem; }
  .hero__docs { position: static; margin-top: -36px; margin-left: 12px; margin-right: 12px; position: relative; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cats, .docs, .posts, .pgrid, .quotes--3, .info-grid, .gcards, .facts__grid, .form__row, .brands { grid-template-columns: 1fr; }
  .mobile-menu__grid { gap: 0 18px; padding: 12px 16px; }
  .mobile-menu__cta { padding: 0 16px 20px; }
  .cat { aspect-ratio: 16 / 10; }
  .duo__card { grid-template-columns: 110px 1fr; }
  .duo__body { padding: 18px; }
  .member { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; }
  .form { padding: 22px; }
  .pn { grid-template-columns: 1fr; }
  .pn__next { text-align: left; }
  .map { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .callbar { display: block; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 40; text-align: center; padding: 14px; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg); }
  .callbar:hover { color: #fff; background: var(--clay-700); }
  .ba { padding: 14px; }
  .ba__imgs { gap: 6px; }
}
