/* =============================================================
   PAGES — Home (index.html) specific styles
   Zelken MD Plastic Surgery
   ============================================================= */

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.home-hero .hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--marble-deep); /* fallback while image loads */
}

/* Gradient overlay — lives in CSS, not tied to image identity */
.home-hero .hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 6, .86) 0%, rgba(8, 8, 6, .55) 45%, rgba(8, 8, 6, .25) 100%);
}

.home-hero .container-wide { position: relative; z-index: 2; width: 100%; }

.home-hero .hero-copy {
  max-width: 560px;
  margin-left: auto;
  text-align: right;
}

.home-hero .display { color: var(--cream); }

.home-hero .sub {
  color: rgba(245, 241, 232, .7);
  font-family: var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
  margin: 1.2rem 0 1.4rem;
}

.home-hero .hero-text {
  color: rgba(245, 241, 232, .82);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.62;
  margin: 0 0 2rem;
}

.home-hero .hero-cta { justify-content: flex-end; }

.hero-credentials {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 2.2rem;
}

.cred-badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  flex: none;
  border: 1px solid rgba(245, 241, 232, .22);
}

.cred-badge[data-label]::after {
  font-size: .52rem;
  letter-spacing: .1em;
  padding: .55em;
  line-height: 1.3;
}

/* ============================================================
   PRESS BAR
   ============================================================ */
.press-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.press-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.press-row span {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: .04em;
  color: rgba(22, 22, 15, .5);
}

.press-row span em { font-style: italic; }

.press-row img {
  height: clamp(28px, 3.4vw, 44px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: .62;
  transition: opacity .3s var(--ease);
}

.press-row img:hover { opacity: 1; }

/* ============================================================
   ABOUT — Portrait image
   Image URL is set via data-cloudinary-bg in the HTML.
   ============================================================ */
.about-portrait {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Recognition section — stretch both columns to equal height */
#recognition .about-split {
  align-items: stretch;
}

#recognition .about-portrait {
  aspect-ratio: unset;  /* override the 3/4 ratio — height comes from the card */
  min-height: 420px;    /* floor so it never collapses on short viewports */
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   AWARDS GRID
   ============================================================ */
.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-ondark);
  border: 1px solid var(--line-ondark);
  border-radius: var(--radius-img);
  overflow: hidden;
}

.award { background: var(--marble-deep); padding: 30px 22px; text-align: center; }

.award .k {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--cream);
}

.award .t {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, .6);
  margin-top: .7rem;
  font-weight: 600;
}

/* ============================================================
   AFFILIATIONS ROW
   ============================================================ */
.affil-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
}

.affil {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: .03em;
  color: rgba(22, 22, 15, .45);
  text-align: center;
}

.affil small {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: .2em;
}

/* ============================================================
   FEATURED SERVICES GRID
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.svc {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-img);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

/* Gradient overlay */
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 6, .82) 100%);
  transition: background .4s var(--ease);
}

.svc:hover::after {
  background: linear-gradient(180deg, rgba(8, 8, 6, .2) 20%, rgba(8, 8, 6, .88) 100%);
}

.svc .label {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 20px;
  text-align: center;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1.05rem;
  color: var(--cream);
  transition: transform .4s var(--ease);
}

.svc:hover .label { transform: translateY(-6px); }

/* Service image URLs are set via data-cloudinary-bg in the HTML — no CSS needed here */

/* ============================================================
   IN THE MEDIA — minmedia card grid (#media)
   ============================================================ */
.minmedia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.4rem;
}

.minmedia {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-img);
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.minmedia:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }

/* Thumbnail — background-image applied via data-cloudinary-bg / JS */
.minmedia__thumb {
  aspect-ratio: 16 / 10;
  background-color: rgba(245, 241, 232, .06);
  background-size: cover;
  background-position: center;
}

/* Placeholder state (before real image is added) */
.minmedia__thumb[data-placeholder] {
  border-bottom: 1px dashed rgba(245, 241, 232, .14);
}

.minmedia__body { padding: 20px 22px; }

.minmedia__body h3 {
  font-size: 1.08rem;
  color: var(--cream);
  line-height: 1.28;
  letter-spacing: .01em;
  font-weight: 500;
  margin: 0 0 .8rem;
}

.minmedia .read {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, .7);
  font-weight: 600;
  transition: color .25s;
}

.minmedia:hover .read { color: var(--gold); }

@media (max-width: 900px) { .minmedia-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .minmedia-grid { grid-template-columns: 1fr; } }

/* Contextual eyebrow color on slate bg */
.bg-slate .eyebrow { color: rgba(245, 241, 232, .65); }

/* ============================================================
   PRESS CTA (#media-cta) — centred text + single button
   ============================================================ */
.press-cta {
  max-width: var(--measure);
  margin-inline: auto;
  text-align: center;
}

.press-cta .section-title { margin-bottom: 0; }
.press-cta .rule { margin-inline: auto; }

.press-cta p {
  color: var(--ink-mid);
  font-weight: 300;
  margin: 1.2rem 0 2rem;
  line-height: 1.62;
}

/* ============================================================
   FOLLOW / SOCIAL SECTION
   ============================================================ */
.follow {
  background: var(--charcoal);
  text-align: center;
  padding: clamp(48px, 7vw, 84px) var(--gutter);
}

.follow h2 { color: var(--cream); }

.follow .eyebrow { color: rgba(245, 241, 232, .6); }

/* ============================================================
   INTERIOR HERO — Full-bleed image hero for inner pages
   ============================================================ */
.interior-hero {
  position: relative;
  min-height: clamp(520px, 74vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
}

.interior-hero .hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--marble-deep);
}

.interior-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 8, 6, .85) 0%, rgba(8, 8, 6, .62) 46%, rgba(8, 8, 6, .32) 100%);
}

.interior-hero .container { position: relative; z-index: 2; width: 100%; }

.interior-hero .hero-copy { max-width: 620px; }

.interior-hero .display { color: var(--cream); }

.interior-hero .eyebrow { color: rgba(245, 241, 232, .78); }

.interior-hero .hero-sub {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(245, 241, 232, .72);
  margin: 1.1rem 0 0;
}

.int-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(245, 241, 232, .88);
  margin: 1.6rem 0 2rem;
  max-width: 52ch;
}

/* ============================================================
   SECTION HEAD — Constrained heading group wrapper
   ============================================================ */
.section-head { max-width: var(--measure); }
.section-head .rule { margin-top: 1.2rem; }
.section-head.center { margin-inline: auto; }

/* ============================================================
   CLOSING CTA SECTION
   ============================================================ */
.closing { text-align: center; }
.closing .lead { max-width: 60ch; margin-inline: auto; }

/* ============================================================
   INTERIOR HERO — RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .interior-hero::after {
    background: linear-gradient(180deg, rgba(8, 8, 6, .65) 0%, rgba(8, 8, 6, .88) 100%);
  }
}

/* ============================================================
   PAGE HERO — Centered tinted band for simple interior heroes
   Used on: contact.html and any future page needing a plain
   colour header rather than a full-bleed photograph.
   ============================================================ */
.page-hero {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(68px, 10vw, 128px);
}

.page-hero .display { color: var(--cream); }

.page-hero-sub {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(245, 241, 232, .72);
  margin-top: 1.2rem;
  margin-bottom: 0;
}

/* ============================================================
   CONTACT SPLIT — Two-column form + info sidebar layout
   ============================================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* ============================================================
   FORM FIELDS
   ============================================================ */
.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(22, 22, 15, .6);
  margin-bottom: .55rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95em 1.05em;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(121, 125, 107, .18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

/* Intro paragraph above the form */
.form-intro {
  margin: 1.2rem 0 2rem;
  font-weight: 300;
  color: rgba(22, 22, 15, .78);
}

/* Disclaimer note below submit */
.form-note {
  font-size: .8rem;
  color: rgba(22, 22, 15, .5);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Success message shown after valid submission */
.form-success {
  display: none;
  background: rgba(121, 125, 107, .12);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.1em 1.2em;
  color: var(--sage-deep);
  font-weight: 500;
  margin-bottom: 1.3rem;
}

.form-success.show { display: block; }

/* ============================================================
   INFO CARD — Dark sidebar with contact details
   ============================================================ */
.info-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-img);
  padding: clamp(28px, 4vw, 44px);
}

.info-card h3 {
  color: var(--cream);
  font-size: 1.4rem;
}

.info-card .rule { margin: 1rem 0 .4rem; }

.info-block {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(245, 241, 232, .14);
}

.info-block:last-child { border-bottom: 0; }

.info-block .k {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, .55);
  font-weight: 600;
  margin-bottom: .5rem;
}

.info-block .v {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--cream);
  line-height: 1.4;
}

.info-block .v a {
  color: var(--cream);
  text-decoration: none;
}

.info-block .v a:hover { opacity: .8; }

/* Map embed — responsive wrapper */
.map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 50%;   /* 2:1 ratio — tall enough on sidebar */
  border-radius: var(--radius-img);
  overflow: hidden;
  margin-top: 28px;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .map-wrap { padding-bottom: 56.25%; } /* 16:9 on mobile full-width */
}

/* ============================================================
   CONTACT — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   TEBRA / PATIENTPOP INLINE WIDGETS (Virtual Visit, etc.)
   Do not use overflow:hidden or CSS transform on this wrapper —
   Google reCAPTCHA challenge UI breaks inside clipped/transformed ancestors.
   ============================================================ */
.tebra-widget {
  min-height: 720px;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: visible;
}

.tebra-widget iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  height: 720px;
  border: 0;
  border-radius: var(--radius-img);
  background: #fff;
}

/* ============================================================
   LOGO BANNER — Affiliations / partner logo strip
   ============================================================ */
.logo-banner {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(28px, 4vw, 50px) var(--gutter);
  text-align: center;
}

.logo-banner .eyebrow { margin-bottom: 1.5rem; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

.logo-row img {
  height: clamp(44px, 8.8vw, 174px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: .65;
  transition: opacity .3s var(--ease);
}

.logo-row img:hover { opacity: 1; }

/* ============================================================
   ABOUT PAGE — Bio layout & credential display
   ============================================================ */

/* Top-aligned split variant — needed when portrait is sticky */
.about-split--top { align-items: start; }

/* Sticky portrait — anchors portrait while adjacent bio text scrolls */
.portrait-sticky {
  position: sticky;
  top: 96px;
}

/* Credential / role label displayed below bio heading */
.bio-role {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-top: .5rem;
  margin-bottom: 0;
}

/* Large serif heading for bio — non-uppercase, sits between display and section-title */
.bio-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}

/* Circular stat / award badge — used in closing CTA */
.stat-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid var(--line-ondark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.stat-badge__num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
}

.stat-badge__lbl {
  font-family: var(--sans);
  font-size: .54rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: .35rem;
  font-weight: 600;
}

/* Blockquote inside .closing on dark background */
.closing blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.4;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cream);
}

/* ============================================================
   PROVIDER PROFILE — Sticky left column & credentials card
   Used on: provider-jonathan-zelken.html (and future provider pages)
   ============================================================ */

/* Sticky column wrapper — makes the full left column (portrait + creds)
   scroll with the page then anchor while the bio text scrolls past it */
.col-sticky {
  position: sticky;
  top: 96px;
}

/* Credentials "At a Glance" card */
.creds {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
  padding: 26px 28px;
}

.creds-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .66rem;
  font-weight: 700;
  color: var(--sage-deep);
  margin: 0 0 1.1rem;
}

.creds dl { margin: 0; }

.creds .creds-row {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.creds .creds-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.creds dt {
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(22, 22, 15, .5);
  font-weight: 600;
}

.creds dd {
  margin: .3rem 0 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.25;
}

/* ============================================================
   HOME — SERVING AREA SPLIT (#location)
   2-col: text left, office image right.
   ============================================================ */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

/* Office image panel — background-image applied via data-cloudinary-bg / JS */
.split-media__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-card);
  background-color: rgba(245, 241, 232, .06);
  background-size: cover;
  background-position: center;
  min-height: 340px;
}

/* Placeholder state (before real image is added) */
.split-media__img[data-placeholder] {
  border: 1px dashed rgba(245, 241, 232, .18);
}

@media (max-width: 900px) {
  .split-media { grid-template-columns: 1fr; }
  /* Image stacks below text on mobile */
  .split-media__img { min-height: 260px; }
}

/* ============================================================
   HOME — TESTIMONIALS CAROUSEL (#reviews)
   ============================================================ */
.tcarousel {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.tquote { text-align: center; }

.tquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.42;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.tquote .stars {
  letter-spacing: .3em;
  color: var(--sage);
  margin-top: 1.4rem;
}

.tquote .who {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(22, 22, 15, .55);
  margin-top: .55rem;
}

/* ============================================================
   HOME — PROCEDURES SECTION (#procedures)
   Card grid with thumbnail images — distinct from the text-only
   .proc-card used on interior procedure pages.
   ============================================================ */
.proc-intro {
  max-width: var(--measure);
  margin: 0 auto 3rem;
  text-align: center;
}

.proc-intro .rule { margin-inline: auto; }

.proc-grid--media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proc-card--media {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-img);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.proc-card--media:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.proc-card--media .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.proc-card--media .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.proc-card--media:hover .thumb img { transform: scale(1.04); }

.proc-card--media .proc-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proc-card--media h3 {
  font-size: 1.5rem;
  margin-bottom: .55rem;
}

.proc-card--media p {
  font-weight: 300;
  color: rgba(22, 22, 15, .72);
  font-size: .97rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
  flex: 1;
}

.proc-card--media .proc-cta {
  margin-top: auto;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.proc-card--media .proc-cta::after { content: " \2192"; }

@media (max-width: 900px) {
  .proc-grid--media { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .proc-grid--media { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME PAGE — RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 980px) {
  .portrait-sticky { position: static; }
  .col-sticky { position: static; }

  .home-hero .hero-copy { text-align: left; margin-left: 0; }

  .home-hero .hero-cta,
  .hero-credentials { justify-content: flex-start; }

  .home-hero .hero-img::after {
    background: linear-gradient(180deg, rgba(8, 8, 6, .65) 0%, rgba(8, 8, 6, .88) 100%);
  }


  .media-grid { grid-template-columns: 1fr; }

  .svc-grid { grid-template-columns: 1fr 1fr; }

  .awards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .article-cards { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .press-row { justify-content: center; }
}

/* ============================================================
   IN THE MEDIA — Full press & podcast page
   Used on: in-the-media.html
   ============================================================ */

/* Featured lead story — 2-col image + body card */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: var(--container);
  margin: 0 auto;
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.feature:hover { transform: translateY(-4px); }

.feature .cover {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--image-ph);
}

.feature .f-body {
  padding: clamp(32px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature .pill {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  background: var(--sage);
  padding: .5em .9em;
  border-radius: 2px;
}

.feature h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  margin-top: 1.3rem;
}

.feature .outlet {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  margin-top: 1.4rem;
}

.feature .meta {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(22, 22, 15, .5);
  margin-top: .35rem;
}

/* Press article card grid — auto-fill (distinct from homepage .media-grid split) */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Press article card */
.mcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}

.mcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.mcard .thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: var(--image-ph);
}

.mcard .mc-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.mcard .outlet {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-deep);
}

.mcard h3 {
  font-size: 1.24rem;
  line-height: 1.3;
  margin-top: .7rem;
}

.mcard .meta {
  display: block;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(22, 22, 15, .48);
  margin-top: .65rem;
}

.mcard .spacer { flex: 1 1 auto; min-height: 1.2rem; }

/* "Continue reading" / "Watch video" link — shared by .mcard and .feature */
.read {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  transition: color .3s var(--ease), gap .3s var(--ease);
}

.read svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform .3s var(--ease);
}

.mcard:hover .read,
.feature:hover .read { color: var(--ink); gap: .8em; }

/* Feature read link has no top border — body already provides spacing */
.feature .read {
  margin-top: 1.8rem;
  padding-top: 0;
  border-top: 0;
}

/* Podcast appearances grid — 2-col on dark .bg-marble */
.pod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
}

/* Podcast card (dark horizontal tile — separate from provider .pcard) */
.podcast-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(245, 241, 232, .16);
  border-radius: var(--radius-img);
  padding: 18px;
  text-decoration: none;
  color: var(--cream);
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.podcast-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
}

.podcast-card .art {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px),
    linear-gradient(145deg, #2a2922, #17160f);
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-card .art .play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 241, 232, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-card .art .play svg {
  width: 14px;
  height: 14px;
  fill: var(--ink);
  margin-left: 2px;
}

.podcast-card:hover .art .play { background: var(--cream); }

.podcast-card .p-body { display: flex; flex-direction: column; }

.podcast-card .platform {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(245, 241, 232, .55);
}

.podcast-card h4 {
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--cream);
  margin-top: .5rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature .cover { min-height: 280px; }
  .pod-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM GRID — Provider & staff card layout
   Used on: providers.html
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.team-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
}

/* ── Provider card ─────────────────────────────────────────── */
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.pcard .portrait {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--image-ph);
}

.pcard .body {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* ── Learn More inline link ────────────────────────────────── */
.learn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
  text-decoration: none;
  transition: color .3s var(--ease), gap .3s var(--ease);
}

.learn:hover,
.learn:focus-visible { color: var(--sage); gap: .8em; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .team-grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   OUR OFFICE — Video tour & photo gallery
   Used on: our-office.html
   ============================================================ */

/* Centered wrapper for the YouTube embed */
.tour {
  max-width: 980px;
  margin: clamp(28px, 4vw, 48px) auto 0;
}

/* Responsive 16:9 iframe container */
.frame-16x9 {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--ink);
}

.frame-16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Age-restricted YouTube thumbnail fallback */
.yt-thumb-link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.yt-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.25s ease;
}

.yt-thumb-link:hover img {
  filter: brightness(0.75);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.yt-play-btn svg {
  width: 80px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.yt-thumb-link:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

/* 4-column photo grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(28px, 4vw, 48px);
}

/* Wide tile — spans 2 columns at 16:9 */
.gallery .g-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-img);
  background-size: cover;
  background-position: center;
}

/* Standard gallery tile — 4:3 */
.gallery-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-img);
  background-size: cover;
  background-position: center;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: span 1; }
}

/* ============================================================
   FINANCING PAGE — Partner cards & numbered steps
   ============================================================ */

/* Two-column grid for financing partner cards */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

/* Individual partner card */
.partner {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  padding: clamp(28px, 3.5vw, 44px);
  gap: 0.5rem;
}

/* Brand-name mark — e.g. "CareCredit" */
.partner .mark {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.1;
}

.partner .mark em {
  font-style: normal;
  color: var(--sage);
}

/* Subtitle label under the brand name */
.partner .kind {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
}

/* Pushes the CTA button to the bottom of the card */
.partner .spacer { flex: 1; }

.partner p { margin-top: 0; }

/* Three-column numbered steps layout */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Individual step cell */
.step {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 44px);
  text-align: center;
}

/* Large step number */
.step .n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1.2rem;
}

.step h3 {
  margin-top: 0;
  margin-bottom: .5rem;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .partner-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS PAGE — Feature quote, rating bar & review cards
   ============================================================ */

/* ── Featured pull quote ───────────────────────────────────── */
.feature-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.feature-quote .stars {
  color: var(--sage);
  letter-spacing: .3em;
  font-size: 1.15rem;
  margin: 0;
}

.feature-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.9vw, 2.1rem);
  line-height: 1.42;
  margin: 1.3rem 0 0;
  color: var(--ink);
  padding: 0;
  border: 0;
}

.feature-quote .who {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: rgba(22, 22, 15, .58);
}

/* ── Rating bar ────────────────────────────────────────────── */
.rating-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px clamp(28px, 5vw, 64px);
  text-align: center;
}

.rating-bar .blk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.rating-bar .score {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--sage-deep);
  display: block;
}

.rating-bar .stars {
  color: var(--sage);
  letter-spacing: .22em;
  font-size: 1.05rem;
  display: block;
}

.rating-bar .lbl {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .66rem;
  font-weight: 600;
  color: rgba(22, 22, 15, .55);
  display: block;
}

.rating-bar .divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

/* ── Masonry review cards ──────────────────────────────────── */
.reviews {
  columns: 3 320px;
  column-gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}

.review {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  padding: 26px 26px 22px;
  margin: 0 0 18px;
}

.review .stars {
  color: var(--sage);
  letter-spacing: .2em;
  font-size: .92rem;
  margin: 0;
}

.review blockquote {
  margin: .95rem 0 0;
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.46;
  color: var(--ink);
  padding: 0;
  border: 0;
}

.review .attr {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.review .name {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink);
}

.review .date {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .03em;
  color: rgba(22, 22, 15, .45);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .reviews { columns: 1; }
}

/* ============================================================
   SCIENTIFIC PUBLICATIONS
   ============================================================ */

/* Section header row — inner group left, count badge right */
.grid-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.grid-head .eyebrow { margin-bottom: .5rem; }

.count {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(22, 22, 15, .45);
  white-space: nowrap;
}

/* Publications grid — fluid columns, min 330px */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}

/* Individual publication card (anchor) */
.pub-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  padding: 30px 28px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.pub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

/* PDF outlined badge — sits at top of card, self-aligned left */
.pdf-tag {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(121, 125, 107, .1);
  border: 1px solid rgba(121, 125, 107, .22);
  padding: .5em .8em;
  border-radius: 2px;
}

.pdf-tag svg { width: 13px; height: 13px; }

/* Category label — muted gray, large top margin below badge */
.topic {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(22, 22, 15, .42);
  margin-top: 1.7rem;
}

/* Card heading */
.pub-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.34rem;
  line-height: 1.28;
  margin-top: .45rem;
  color: var(--ink);
}

/* Pushes .open link to bottom of card */
.pub-card .spacer { flex: 1 1 auto; min-height: 1.5rem; }

/* "Download PDF" action link inside card */
.pub-card .open {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
  transition: color .3s var(--ease), gap .3s var(--ease);
}

.pub-card .open svg {
  width: 15px;
  height: 15px;
  transition: transform .3s var(--ease);
}

.pub-card:hover .open { color: var(--ink); gap: .85em; }
.pub-card:hover .open svg { transform: translate(2px, -2px); }

/* Closing note block — centered, max-width constrained */
.pub-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 560px) {
  .pub-grid { grid-template-columns: 1fr; }
  .grid-head { flex-direction: column; gap: 6px; }
}

/* ============================================================
   BRIDGE PAGE — Procedure category pages
   Used on: plastic-surgery-face-and-neck.html (and future
   category pages such as Body, Breast, Minimally Invasive).
   ============================================================ */

/* Eyebrow inside the sage .page-hero — needs cream tint */
.page-hero .eyebrow { color: rgba(245, 241, 232, .7); }

/* ── Breadcrumb navigation bar ─────────────────────────────── */
.breadcrumb {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(245, 241, 232, .08);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .7em;
  align-items: center;
  margin: 0 auto;
  padding: 14px var(--gutter);
  max-width: var(--container-wide);
}

.breadcrumb li { white-space: nowrap; }

.breadcrumb a {
  color: rgba(245, 241, 232, .6);
  text-decoration: none;
  transition: color .3s var(--ease);
}

.breadcrumb a:hover { color: var(--cream); }

.breadcrumb li[aria-current] { color: var(--cream); }

.breadcrumb .sep { color: rgba(245, 241, 232, .35); }

/* ── Intro block — centred lead + filter chips ─────────────── */
.intro { text-align: center; }

.intro .lead {
  max-width: 60ch;
  margin-inline: auto;
}

/* ── Filter chip row ───────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 2.4rem;
}

/* Individual filter chip */
.chip {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(22, 22, 15, .6);
  background: transparent;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .7em 1.3em;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease);
}

.chip:hover { border-color: var(--sage); color: var(--sage-deep); }

.chip.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--cream);
}

/* ── Procedure card grid ───────────────────────────────────── */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
  margin-top: 3rem;
}

/* Procedure card (anchor element) */
.proc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  padding: 30px 28px 26px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}

/* Left sage accent bar — slides in on hover */
.proc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sage);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}

.proc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.proc-card:hover::before { transform: scaleY(1); }

/* Category pill badge */
.proc-tag {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  background: rgba(121, 125, 107, .12);
  padding: .4em .8em;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}

.proc-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1.15;
}

.proc-card p {
  font-weight: 300;
  color: rgba(22, 22, 15, .66);
  font-size: .95rem;
  line-height: 1.55;
  margin: .55rem 0 0;
}

/* "Learn More" inline link at card bottom */
.proc-more {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}

.proc-more svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform .3s var(--ease);
}

.proc-card:hover .proc-more svg { transform: translateX(4px); }

/* Hidden filtered-out cards */
.proc-card[hidden] { display: none; }

/* Empty-state message when no cards match the active filter */
.proc-empty {
  text-align: center;
  color: rgba(22, 22, 15, .5);
  font-style: italic;
  padding: 2rem 0;
  display: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  .proc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRIVACY POLICY
   ============================================================ */

/* Two-column layout: sticky TOC on left, document on right */
.legal {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

/* ── Table of contents sidebar ── */
.toc { position: sticky; top: 96px; }

.toc .ttl {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .66rem;
  font-weight: 700;
  color: var(--sage-deep);
  margin: 0 0 1.1rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li { counter-increment: toc; }

.toc a {
  display: flex;
  gap: .7em;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(22, 22, 15, .6);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.toc li:first-child a { border-top: 0; }

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.toc a:hover { color: var(--ink); }

/* ── Document body ── */
.doc .updated {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .03em;
  color: rgba(22, 22, 15, .5);
  margin: 0 0 2rem;
}

.doc .block { scroll-margin-top: 96px; }
.doc .block + .block { margin-top: 2.6rem; }

.doc h2 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: var(--ink);
  margin: 0;
}

.doc h2 + .rule { margin-top: .8rem; }
.doc p { color: rgba(22, 22, 15, .78); font-weight: 300; }
.doc p:last-child { margin-bottom: 0; }

/* Inline text links within the document */
.inline-link {
  color: var(--sage-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
}

.inline-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Contact info box at document bottom */
.contact-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  padding: clamp(22px, 3vw, 32px);
  margin-top: 1.2rem;
}

.contact-card p {
  margin: 0;
  color: rgba(22, 22, 15, .8);
  font-weight: 300;
}

.contact-card p + p { margin-top: .4rem; }

.contact-card a {
  color: var(--sage-deep);
  text-decoration: none;
}

.contact-card a:hover { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 880px) {
  .legal { grid-template-columns: 1fr; }
  .toc {
    position: static;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
  }
  .toc ol { columns: 2; column-gap: 28px; }
}

/* ============================================================
   GALLERY — Before & After gallery page
   Used on: gallery-humaze.html
   ============================================================ */
.gallery-wrap {
  width: 100%;
  max-width: 1200px;
  margin: clamp(28px, 4vw, 44px) auto 0;
}

.gallery-frame-container {
  position: relative;
  width: 100%;
  min-height: 700px;
  border-radius: var(--radius-img);
  overflow: hidden;
}

.gallery-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: none;
}

.gallery-note {
  max-width: 700px;
  margin: var(--space-lg) auto 0;
  font-size: .8rem;
  color: rgba(22, 22, 15, .5);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .gallery-frame-container,
  .gallery-frame { min-height: 520px; }
}

/* ============================================================
   VLOG PAGE
   Used on: vlog.html
   ============================================================ */

/* 4-column responsive video card grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}

/* Interactive video card — behaves as button, no link */
.video-card {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: block;
  width: 100%;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.video-card:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Thumbnail wrapper — 16:9 */
.video-card .vc-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.video-card .vc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}

.video-card:hover .vc-thumb img {
  transform: scale(1.05);
  opacity: .82;
}

/* Play button overlay */
.video-card .play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .18);
  transition: background .3s var(--ease);
}

.video-card:hover .play-icon { background: rgba(0, 0, 0, .32); }

.video-card .play-icon span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 241, 232, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.video-card:hover .play-icon span {
  transform: scale(1.12);
  background: var(--cream);
}

.video-card .play-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--ink);
  margin-left: 3px;
  flex: none;
}

/* Card body — title */
.video-card .vc-body {
  padding: 14px 16px 16px;
}

.video-card .vc-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  letter-spacing: .01em;
}

/* Once playing — suppress hover lift on the card */
.video-card.is-playing {
  cursor: default;
  transform: none;
  box-shadow: var(--shadow-soft);
}

.video-card.is-playing:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANESTHESIA CARE — Numbered prose list (dark bg contexts)
   Generic component: numbered items with title + description.
   ============================================================ */
.prose-list {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid var(--line-ondark);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.prose-item {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(1.5em, 3vw, 2em) 0;
  border-bottom: 1px solid rgba(245, 241, 232, .08);
}

.prose-item .item-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: rgba(245, 241, 232, .36);
  padding-top: .28em;
  line-height: 1;
}

.prose-item h3 {
  color: var(--cream);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  margin-bottom: .55em;
}

.prose-item p {
  color: var(--cream-dim);
  font-weight: 300;
  font-size: .97rem;
  line-height: 1.68;
  margin: 0;
}

/* ============================================================
   CALLOUT — Highlighted left-border safety/info notice
   Used on light background sections.
   ============================================================ */
.callout {
  max-width: var(--measure);
  margin: clamp(1.8rem, 4vw, 3rem) auto 0;
  padding: 1.35em 1.8em;
  border-left: 3px solid var(--sage);
  background: rgba(121, 125, 107, .07);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.56;
  color: rgba(22, 22, 15, .78);
}

/* ============================================================
   CHECK LIST — Icon-led list for candidacy / feature cards
   Modifiers: --yes (green check), --no (red cross)
   ============================================================ */
.check-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .7rem;
  align-items: start;
  font-weight: 300;
  color: rgba(22, 22, 15, .78);
  font-size: .97rem;
  line-height: 1.52;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: .14em;
}

.check-list--yes svg { stroke: #4a7c5a; }
.check-list--no  svg { stroke: #a05050; }

/* =============================================================
   404 — Page Not Found
   ============================================================= */

/* ── Stage ─────────────────────────────────────────────────── */
.not-found-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(80px, 14vw, 160px);
  padding-inline: var(--gutter);
  overflow: hidden;
  background: var(--paper);
}

/* Ghosted watermark numeral */
.not-found-stage::before {
  content: "404";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(12rem, 45vw, 38rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--bone-2);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.not-found-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.not-found-inner .eyebrow {
  margin-bottom: 1.2rem;
}

.not-found-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.not-found-inner .lead {
  margin-bottom: 2.25rem;
}

.not-found-divider {
  width: 48px;
  height: 1px;
  background: var(--sage);
  margin: 0 auto 1.75rem;
  opacity: .6;
}

/* ── Explore strip ──────────────────────────────────────────── */
.not-found-explore {
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--bone);
}

.not-found-explore .eyebrow {
  text-align: center;
  display: block;
  margin-bottom: 2rem;
}

.not-found-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-img);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.not-found-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: 1.75rem 1.5rem;
  background: var(--bone);
  text-decoration: none;
  transition: background .25s var(--ease);
}

.not-found-nav-item:hover {
  background: var(--paper);
}

.not-found-nav-item:hover .not-found-nav-arrow {
  transform: translateX(4px);
}

.not-found-nav-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}

.not-found-nav-desc {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--sage);
  line-height: 1.3;
  margin: 0;
}

.not-found-nav-arrow {
  margin-top: auto;
  padding-top: .75rem;
  color: var(--sage);
  transition: transform .25s var(--ease);
}

.not-found-nav-arrow svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* ============================================================
   CUSTOM IMPLANTS DESIGN PROCESS PAGE
   Used on: custom-facial-implants/implants-designs
   ============================================================ */

/* ── Centered section head (design-process variant) ─────────── */
.sec-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.2rem, 3.6vw, 3rem);
}

/* ── Centered prose body (intro overview) ───────────────────── */
.intro-body { margin-inline: auto; }

/* ── PEEK material highlights grid ─────────────────────────── */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  max-width: var(--container);
  margin: clamp(2.4rem, 4vw, 3.4rem) auto 0;
}

.prop {
  background: var(--paper);
  padding: 26px 24px 28px;
}

.prop .n {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--sage);
}

.prop h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  margin-top: .8rem;
  margin-bottom: 0;
}

.prop p {
  font-weight: 300;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(22, 22, 15, .78);
  margin-top: .5rem;
  margin-bottom: 0;
}

/* ── Case studies container ─────────────────────────────────── */
.cases {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: clamp(64px, 8vw, 112px);
}

/* Individual case — image stacked above 2-col body */
.case {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 38px);
}

/* Case image area — background-image set via data-cloudinary-bg */
.case-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-img);
  background-size: cover;
  background-position: center;
  background-color: var(--image-ph);
}

/* Two-column body: heading col + prose col */
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.case-num {
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
}

.case h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.22;
  margin: .9rem 0 0;
}

.case .rule { margin: 1.2rem 0; }

.case .prose p {
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.72;
  color: rgba(22, 22, 15, .78);
  margin: 0;
}

/* Tags — inside case prose, at bottom */
.case .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.4rem;
}

.tag {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .5em .9em;
}

/* ── Disclaimer below cases ─────────────────────────────────── */
.disclaimer {
  max-width: var(--measure);
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(22, 22, 15, .55);
  text-align: center;
}

/* Wide aspect-ratio variant — used for landscape case images (e.g. Case 15) */
.case-media--wide { aspect-ratio: 16 / 9; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .case-body { grid-template-columns: 1fr; gap: 18px; }
}
