:root {
  color-scheme: light;
  --primary: #5e6f7d;
  --secondary: #1f2933;
  --accent: #c9925b;
  --soft: #f5f4f0;
  --paper: #ffffff;
  --ink: #1f252b;
  --muted: #687078;
  --line: rgba(31, 37, 43, 0.13);
  --hero-image: url("https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&w=1800&q=80");
  --pattern: linear-gradient(120deg, rgba(94,111,125,0.13), transparent 42%), linear-gradient(90deg, rgba(201,146,91,0.15), transparent 36%);
  --shadow: 0 20px 52px rgba(20, 38, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--pattern), var(--soft);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px max(20px, calc((100vw - 1180px) / 2));
  background: var(--secondary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.rotator {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(20, 38, 43, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(20, 38, 43, 0.14);
}

.brand-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand-copy strong {
  color: var(--secondary);
  font-size: 20px;
  line-height: 1.1;
}

.brand-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a,
.button,
.gallery-lock,
.nav-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.primary-nav a {
  padding: 0 13px;
  color: var(--secondary);
}

.primary-nav a.is-active {
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  color: var(--primary);
}

.primary-nav .nav-cta {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--paper);
  color: var(--secondary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-toggle strong {
  font-size: 13px;
}

.gallery-lock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 14px;
  background: var(--secondary);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 74vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 96px max(20px, calc((100vw - 1180px) / 2)) 58px;
  background:
    linear-gradient(90deg, rgba(14, 25, 32, 0.84), rgba(14, 25, 32, 0.58) 50%, rgba(14, 25, 32, 0.16)),
    var(--hero-image) center / cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(0deg, rgba(14, 25, 32, 0.82), transparent);
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  color: var(--secondary);
  font-size: 40px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 21px;
  line-height: 1.16;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 1px solid transparent;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 38, 43, 0.14);
}

.button.primary {
  background: var(--accent);
  color: #1f252b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-badges span,
.mini-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.section,
.metrics-section {
  padding: 78px max(20px, calc((100vw - 1180px) / 2));
}

.metrics-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
  background: var(--paper);
}

.metrics-copy {
  display: grid;
  align-content: center;
}

.metrics-copy h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft);
}

.metric strong {
  color: var(--secondary);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.copy-block p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.service-grid,
.why-grid,
.review-grid,
.gallery-grid,
.upgrade-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.why-card,
.review-card,
.upgrade-card,
.faq-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(20, 38, 43, 0.06);
}

.service-card {
  min-height: 256px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 48%, var(--line));
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 0 9px;
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.service-card p,
.why-card p,
.review-card p,
.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section,
.reviews-section,
.faq-section {
  background: rgba(255, 255, 255, 0.58);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 260px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(20, 38, 43, 0.12);
}

.image-note strong {
  color: var(--secondary);
}

.image-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.mini-list span {
  background: var(--paper);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--line);
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-card {
  min-height: 190px;
  padding: 24px;
}

.journey-section {
  background: var(--secondary);
  color: #ffffff;
}

.journey-section .eyebrow {
  color: var(--accent);
}

.journey-section h2,
.journey-section h3 {
  color: #ffffff;
}

.journey-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.tab-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
}

.tab-buttons {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tab-button {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1f252b;
}

.tab-panels {
  min-height: 248px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.tab-panel span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.tab-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
}

.review-card p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

.review-card strong {
  color: var(--secondary);
}

.review-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
}

.gallery-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--secondary);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 380ms ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
}

.upgrade-grid {
  grid-template-columns: repeat(4, 1fr);
}

.upgrade-card {
  min-height: 136px;
  display: grid;
  align-content: end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), color-mix(in srgb, var(--primary) 10%, #ffffff));
}

.upgrade-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--secondary);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-button::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  color: var(--primary);
  font-weight: 950;
}

.faq-button[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 18px 18px;
}

.contact-section {
  background: var(--secondary);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: var(--accent);
}

.contact-section h2,
.contact-card strong {
  color: #ffffff;
}

.contact-section .contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-card {
  margin-top: 24px;
  border-color: rgba(255, 255, 255, 0.14);
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.request-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 850;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  font-weight: 850;
}

.request-form.is-submitted {
  border-color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
  background: #101820;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 750;
}

.site-footer a {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

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

  .metrics-section,
  .split-layout,
  .contact-layout,
  .tab-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .top-strip {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    max-width: calc(100% - 96px);
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-header.menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav .nav-cta {
    background: var(--primary);
  }

  .hero {
    min-height: 70vh;
    padding-top: 82px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .section,
  .metrics-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .metrics-grid,
  .why-grid,
  .review-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  .image-stack img {
    aspect-ratio: 16 / 12;
  }

  .image-note {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .tab-panels {
    padding: 22px;
  }

  .gallery-lock {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
  }

  .gallery-lock::before {
    content: "<";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    text-indent: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Specialty layout: calm surgical preparation */
@media (min-width: 1001px) {
  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .hero-content {
    max-width: 720px;
  }

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

  .service-card {
    min-height: 215px;
  }

  .contact-layout {
    grid-template-columns: 0.9fr 0.8fr;
  }
}


/* === Pixelit multi-page + distinct layout update === */
.primary-nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--primary) 16%, #ffffff);
  color: var(--primary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.text-link.light {
  color: var(--accent);
}

.text-link.strong {
  margin-top: 14px;
}

.section-more {
  margin-top: 22px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.page-hero-copy {
  display: grid;
  align-content: center;
}

.page-hero h1 {
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 54px;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-service-list {
  display: grid;
  gap: 16px;
}

.detail-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(20, 38, 43, 0.06);
}

.detail-card h2 {
  font-size: 28px;
}

.detail-note {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

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

.detail-gallery-grid .gallery-card {
  min-height: 420px;
}

.contact-page-section {
  padding-top: 76px;
}

@media (max-width: 1000px) {
  .page-hero,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }
}


body.layout-premier .site-header {
  background: #ffffff;
}

body.layout-premier .primary-nav {
  gap: 18px;
}

body.layout-premier .primary-nav a {
  min-height: 32px;
  border-radius: 0;
  padding: 0 0 4px;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.layout-premier .primary-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  background: transparent;
}

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

.surgery-gallery {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.surgery-gallery .gallery-card:first-child {
  grid-row: span 2;
}

@media (max-width: 1000px) {
  .surgery-service-grid,
  .surgery-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.layout-premier .site-header {
    display: flex;
    align-items: flex-start;
  }

  body.layout-premier .primary-nav {
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transform: none;
  }

  body.layout-premier .site-header.menu-open .primary-nav {
    display: flex;
  }

  body.layout-premier .primary-nav a,
  body.layout-premier .primary-nav a:nth-child(2n) {
    width: 100%;
    justify-content: center;
    transform: none;
  }
}


/* === 100% unique homepage architecture === */
.radical-home {
  overflow: hidden;
}

.radical-home > section {
  padding: 82px max(20px, calc((100vw - 1180px) / 2));
}

.radical-home h1 {
  color: inherit;
}

.radical-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radical-home .request-form {
  width: 100%;
}

.rad-contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.rad-contact-copy h2 {
  color: #ffffff;
}

.rad-photo,
.align-photo,
.bright-strip-photo,
.bright-gallery-photo,
.urgent-photo,
.optical-cover-photo,
.lookbook-photo,
.family-photo,
.motion-photo,
.oak-photo,
.precision-photo,
.surgery-photo,
.summit-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 280px;
  background: var(--secondary);
}

.rad-photo figcaption,
.align-photo figcaption,
.bright-strip-photo figcaption,
.bright-gallery-photo figcaption,
.urgent-photo figcaption,
.optical-cover-photo figcaption,
.lookbook-photo figcaption,
.family-photo figcaption,
.motion-photo figcaption,
.oak-photo figcaption,
.precision-photo figcaption,
.surgery-photo figcaption,
.summit-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
}


.surgery-intake { min-height: 650px; display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: center; background: linear-gradient(90deg, rgba(31,37,43,0.94), rgba(94,111,125,0.72)), var(--hero-image) center / cover; color: #ffffff; }
.surgery-copy p:not(.eyebrow) { color: rgba(255,255,255,0.78); font-size: 20px; }
.surgery-vitals { display: grid; gap: 12px; }
.surgery-stat { padding: 22px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.08); }
.surgery-stat strong { display: block; color: var(--accent); font-size: 36px; }
.procedure-protocol { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 14px; background: var(--paper); }
.procedure-head { grid-row: span 2; padding-right: 22px; border-right: 1px solid var(--line); }
.procedure-card { min-height: 250px; padding: 24px; border: 1px solid var(--line); background: var(--soft); }
.procedure-card span { color: var(--accent); font-weight: 950; }
.prep-recovery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--secondary); }
.protocol-step { min-height: 270px; padding: 28px; background: var(--secondary); color: #ffffff; }
.protocol-step h3 { color: #ffffff; }
.protocol-step span { color: var(--accent); font-weight: 950; }
.surgery-about { display: grid; grid-template-columns: 0.9fr 1fr; gap: 30px; align-items: center; background: #ffffff; }
.surgery-about img { aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: var(--shadow); }
.referral-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--soft); }
.referral-card { padding: 24px; background: #ffffff; border-top: 5px solid var(--accent); }
.surgery-gallery { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 12px; background: var(--secondary); }
.surgery-photo:first-child { grid-row: span 2; }
.surgery-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: #ffffff; }
.surgery-review { padding: 22px; border: 1px solid var(--line); background: var(--soft); }
.surgery-contact { display: grid; grid-template-columns: 0.75fr 1fr; gap: 28px; background: var(--secondary); color: #ffffff; }


body.layout-premier .inner-page .page-hero { grid-template-columns: 0.95fr 1.05fr; background: linear-gradient(90deg, #1f252b, color-mix(in srgb, var(--secondary) 72%, #1f252b)); color: #ffffff; }
body.layout-premier .inner-page .page-hero h1 { color: #ffffff; }
body.layout-premier .inner-page .page-hero p:not(.eyebrow) { color: rgba(255,255,255,0.76); }
body.layout-premier .inner-page .page-hero-media img { min-height: 440px; border: 1px solid rgba(255,255,255,0.18); }
body.layout-premier .detail-service-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
body.layout-premier .detail-card { grid-template-columns: 82px 1fr; min-height: 260px; border-left: 6px solid var(--accent); background: var(--soft); }
body.layout-premier .journey-section { background: var(--secondary); color: #ffffff; }
body.layout-premier .journey-section h2 { color: #ffffff; }
body.layout-premier .journey-section .tab-shell { background: #ffffff; color: var(--ink); }
body.layout-premier .detail-why-grid { grid-template-columns: repeat(3, 1fr); }
body.layout-premier .detail-gallery-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
body.layout-premier .detail-gallery-grid .gallery-card:first-child { grid-row: span 2; }
body.layout-premier .contact-layout { grid-template-columns: 0.75fr 1fr; background: var(--secondary); color: #ffffff; }
body.layout-premier .contact-layout h2 { color: #ffffff; }


@media (max-width: 1100px) {
  .radical-home > section,
  .align-map-hero, .align-route-board, .align-story, .align-proof, .align-gallery, .align-contact,
  .bright-marquee, .bright-orbit, .bright-story, .bright-gallery, .bright-contact,
  .urgent-console, .urgent-triage, .urgent-process, .urgent-about, .urgent-proof, .urgent-gallery, .urgent-contact,
  .optical-cover, .optical-lookbook, .optical-care, .optical-story, .optical-proof, .optical-contact,
  .family-welcome, .family-quick-links, .family-pathways, .family-resource-wall, .family-gallery, .family-reviews, .family-contact,
  .motion-startline, .track-rail, .motion-lab, .motion-return-path, .motion-gallery, .motion-proof, .motion-contact,
  .oak-chart, .oak-service-ledger, .oak-continuity, .oak-practice-file, .oak-gallery, .oak-reviews, .oak-contact,
  .precision-selector, .treatment-matrix, .precision-timeline, .precision-proof, .precision-studio, .precision-gallery, .precision-contact,
  .surgery-intake, .procedure-protocol, .prep-recovery, .surgery-about, .referral-trust, .surgery-gallery, .surgery-reviews, .surgery-contact,
  .summit-dashboard, .summit-care-systems, .summit-plan, .summit-about, .summit-proof, .summit-gallery, .summit-reviews, .summit-contact {
    grid-template-columns: 1fr;
  }

  .orbit-center,
  .procedure-head,
  .family-pathways .section-heading,
  .summit-care-systems .section-heading,
  .matrix-stat:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .align-route:nth-child(even),
  .family-path-card:nth-child(2),
  .family-path-card:nth-child(4) {
    margin-top: 0;
    transform: none;
  }

  .urgent-lane,
  .ledger-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .radical-home > section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .bright-smile-strip,
  .optical-cover-media {
    grid-template-columns: 1fr;
    transform: none;
  }
}

