:root {
  color-scheme: dark;
  --bg: #030108;
  --panel: rgba(17, 8, 31, 0.78);
  --panel-strong: rgba(23, 10, 43, 0.94);
  --text: #fbf7ff;
  --muted: #c8b8da;
  --cyan: #d8b4fe;
  --blue: #a855f7;
  --violet: #7c3aed;
  --magenta: #ec4899;
  --gold: #f2d37f;
  --line: rgba(216, 180, 254, 0.18);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  --purple-glow: 0 0 32px rgba(168, 85, 247, 0.28), 0 0 72px rgba(124, 58, 237, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(168, 85, 247, 0.28), transparent 30rem),
    radial-gradient(circle at 82% 4%, rgba(236, 72, 153, 0.18), transparent 28rem),
    radial-gradient(circle at 54% 58%, rgba(124, 58, 237, 0.16), transparent 34rem),
    linear-gradient(180deg, #030108 0%, #08030f 48%, #030108 100%);
  color: var(--text);
  line-height: 1.6;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(3, 1, 8, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.book-mini,
.nav-toggle {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(216, 180, 254, 0.28);
  background: rgba(168, 85, 247, 0.12);
}

.book-mini,
.button {
  background: linear-gradient(135deg, #f0abfc, #a855f7 48%, #6d28d9);
  color: #120519;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 46px rgba(168, 85, 247, 0.34);
}

.book-mini { justify-self: end; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.07);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero,
.home-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(52px, 8vw, 98px) 0 42px;
}

.hero h1,
.home-hero h1,
.page-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.home-hero p,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button.secondary {
  background: rgba(216, 180, 254, 0.08);
  color: var(--text);
  box-shadow: none;
}

.hero-visual {
  position: relative;
}

.home-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100vh - 74px);
  padding-top: clamp(36px, 6vw, 72px);
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5.15vw, 4.9rem);
  line-height: 0.98;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  border-radius: 999px;
  background: rgba(216, 180, 254, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
}

.portrait-stage {
  position: relative;
  align-self: center;
  height: clamp(560px, 62vw, 760px);
  min-height: 560px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(216, 180, 254, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(24, 10, 45, 0.82), rgba(4, 1, 9, 0.9));
  box-shadow: var(--shadow), var(--purple-glow);
}

.hero-clinic-stage {
  position: relative;
  align-self: center;
  height: clamp(360px, 36vw, 500px);
  min-height: 360px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(216, 180, 254, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(24, 10, 45, 0.82), rgba(4, 1, 9, 0.9));
  box-shadow: var(--shadow), var(--purple-glow);
}

.hero-clinic-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 1, 8, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(3, 1, 8, 0.06), transparent 36%, rgba(3, 1, 8, 0.72));
  pointer-events: none;
}

.hero-clinic-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.portrait-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(3, 1, 8, 0.72));
  pointer-events: none;
}

.portrait-stage img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.portrait-card {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(216, 180, 254, 0.24);
  border-radius: 8px;
  background: rgba(3, 1, 8, 0.74);
  backdrop-filter: blur(14px);
}

.portrait-card strong,
.portrait-card span {
  display: block;
}

.portrait-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual img,
.split-feature img,
.wide-media img,
.media-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--purple-glow);
  object-fit: cover;
}

.hero-visual img {
  height: min(70vh, 680px);
}

.orbital-stat {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 138px;
  padding: 16px;
  border: 1px solid rgba(216, 180, 254, 0.38);
  border-radius: 8px;
  background: rgba(3, 1, 8, 0.74);
  backdrop-filter: blur(12px);
}

.orbital-stat strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.orbital-stat span {
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 58px;
}

.section-heading {
  max-width: 780px;
  margin: 0 0 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 74px;
}

.service-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.18), transparent 10rem),
    rgba(17, 8, 31, 0.78);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.24);
}

.service-card span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.service-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.cody-feature,
.quantum-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin: 0 0 82px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23, 10, 43, 0.92), rgba(7, 3, 14, 0.78));
  box-shadow: var(--shadow);
}

.practitioner-feature.reverse .cody-image {
  order: 2;
}

.practitioner-feature.reverse > div:last-child {
  order: 1;
}

.cody-feature h2,
.quantum-feature h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.cody-feature p,
.quantum-feature p,
.final-cta p {
  color: var(--muted);
}

.cody-image {
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  box-shadow: var(--purple-glow);
}

.cody-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.quantum-feature {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
}

.quantum-feature img {
  width: 100%;
  height: min(52vw, 520px);
  min-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--purple-glow);
}

.home-room img {
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
}

.home-quantum-room {
  margin-top: -18px;
}

.home-quantum-room img {
  height: min(44vw, 480px);
  min-height: 360px;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 70%, rgba(14, 165, 233, 0.18), transparent 15rem),
    radial-gradient(circle at 12% 16%, rgba(168, 85, 247, 0.2), transparent 12rem),
    #04020a;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 999px;
  background: rgba(216, 180, 254, 0.08);
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
}

.home-service-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: -18px 0 82px;
}

.home-service-link,
.local-service-summary article,
.service-rates-section,
.service-seo-note,
.related-service-grid a,
.rates-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.12), transparent 12rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.home-service-link {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  background: rgba(17, 8, 31, 0.78);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32), var(--purple-glow);
}

.home-service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 1, 8, 0.08), rgba(3, 1, 8, 0.82) 62%, rgba(3, 1, 8, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(216, 180, 254, 0.2), transparent 9rem);
}

.home-service-link img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
}

.home-service-link:hover img {
  transform: scale(1.04);
}

.home-service-link span,
.local-service-summary span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-service-copy {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.home-service-link strong {
  display: block;
  margin: 7px 0 6px;
  font-size: 1.08rem;
  line-height: 1.12;
}

.home-service-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.28;
}

.quantum-programs {
  margin-top: 24px;
}

.quantum-program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.quantum-program-list li {
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
}

.quantum-program-list strong,
.quantum-program-list span {
  display: block;
}

.quantum-program-list strong {
  margin-bottom: 4px;
  color: var(--text);
}

.quantum-program-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

.home-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 74px;
}

.gallery-heading {
  margin-top: 6px;
}

.clinic-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 460px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  margin-bottom: 82px;
  padding: 4px 4px 18px;
  scrollbar-color: rgba(216, 180, 254, 0.55) rgba(255, 255, 255, 0.08);
}

.clinic-gallery figure {
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 8, 31, 0.78);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.28), var(--purple-glow);
}

.clinic-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.home-team article,
.review-actions,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.24);
}

.home-team article {
  overflow: hidden;
}

.home-team img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.home-team h3,
.home-team p,
.home-team a {
  margin-left: 20px;
  margin-right: 20px;
}

.home-team h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.home-team p {
  color: var(--muted);
}

.home-team a {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 44px);
  margin-bottom: 74px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 224, 208, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(24, 12, 43, 0.94), rgba(8, 3, 16, 0.92));
}

.review-actions h2,
.review-actions p {
  margin: 0;
}

.review-actions h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.review-actions .eyebrow {
  margin-bottom: 8px;
}

.review-actions p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.review-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.final-cta {
  margin-bottom: 88px;
  padding: clamp(26px, 5vw, 52px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 180, 254, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(23, 10, 43, 0.94), rgba(6, 2, 12, 0.92));
}

.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.quick-grid a,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.quick-grid a {
  min-height: 136px;
  padding: 20px;
  text-decoration: none;
}

.quick-grid strong,
.quick-grid span {
  display: block;
}

.quick-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 48px 0;
}

.split-feature img {
  aspect-ratio: 4 / 5;
}

.split-feature h2,
.page-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.split-feature p {
  color: var(--muted);
}

.wide-media {
  margin: 30px 0 64px;
}

.wide-media img {
  max-height: 520px;
}

.page-hero {
  padding: clamp(58px, 10vw, 118px) 0 34px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.page-intro {
  margin: 58px 0 20px;
}

.content-stream {
  display: grid;
  gap: 18px;
  padding-bottom: 76px;
}

.content-panel {
  padding: clamp(20px, 4vw, 36px);
}

.content-panel h2,
.content-panel h3,
.content-panel h4 {
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: 0;
}

.content-panel p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

.media-frame {
  margin: 22px 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 180, 254, 0.12), rgba(124, 58, 237, 0.06)),
    rgba(0, 0, 0, 0.2);
}

.media-frame img {
  aspect-ratio: 16 / 10;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), rgba(3, 1, 8, 0.72));
}

.content-panel:has(.media-frame) {
  overflow: hidden;
}

.store-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0 0 26px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23, 10, 43, 0.92), rgba(7, 3, 14, 0.78));
  box-shadow: var(--shadow);
}

.store-intro p {
  margin: 0;
  color: var(--muted);
}

.store-page main {
  width: min(1320px, calc(100% - 36px));
}

.store-page .page-hero {
  padding: clamp(44px, 7vw, 82px) 0 24px;
}

.store-page .page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 80px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 180, 254, 0.2), transparent 10rem),
    linear-gradient(180deg, rgba(20, 8, 38, 0.94), rgba(5, 2, 11, 0.94));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38), var(--purple-glow);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(168, 85, 247, 0.13));
}

.product-image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid rgba(216, 180, 254, 0.13);
  overflow: hidden;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 22% 14%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.32);
  filter: blur(32px);
}

.product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 158px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(168, 85, 247, 0.08) 38%, rgba(0, 0, 0, 0.26)),
    rgba(255, 255, 255, 0.04);
  padding: 10px;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    inset -1px -1px 0 rgba(0, 0, 0, 0.48),
    0 18px 34px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(168, 85, 247, 0.24);
  filter: drop-shadow(0 0 18px rgba(216, 180, 254, 0.28));
}

.product-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.product-copy h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.product-copy p,
.product-copy li {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.product-copy p {
  margin: 0;
}

.product-preview {
  color: #e7d9f7 !important;
}

.product-description,
.product-section {
  display: grid;
  gap: 8px;
}

.product-section {
  margin-top: 2px;
}

.product-read-more summary,
.product-section summary,
.product-section h3 {
  margin: 0;
  color: var(--cyan);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-read-more summary,
.product-section summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-read-more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px 7px 12px;
  border: 1px solid rgba(61, 224, 208, 0.22);
  border-radius: 999px;
  background: rgba(61, 224, 208, 0.07);
  color: #bff8f2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.product-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(61, 224, 208, 0.1), rgba(168, 85, 247, 0.12)),
    rgba(4, 2, 9, 0.46);
  color: #f0e7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-read-more summary:hover,
.product-section summary:hover {
  border-color: rgba(61, 224, 208, 0.48);
  background:
    linear-gradient(135deg, rgba(61, 224, 208, 0.16), rgba(168, 85, 247, 0.16)),
    rgba(4, 2, 9, 0.58);
  transform: translateY(-1px);
}

.product-read-more summary:focus-visible,
.product-section summary:focus-visible {
  outline: 2px solid rgba(61, 224, 208, 0.72);
  outline-offset: 3px;
}

.product-read-more summary::-webkit-details-marker,
.product-section summary::-webkit-details-marker {
  display: none;
}

.product-read-more summary::after,
.product-section summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(61, 224, 208, 0.38);
  border-radius: 50%;
  background: rgba(61, 224, 208, 0.1);
  color: #dffcf8;
  font-family: var(--body);
  font-size: 0.78rem;
  line-height: 1;
}

.product-read-more summary::after {
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
}

.product-read-more[open] summary::after,
.product-section[open] summary::after {
  content: "-";
}

.product-read-more[open],
.product-section[open] {
  gap: 8px;
}

.product-read-more[open] summary,
.product-section[open] summary {
  border-color: rgba(242, 211, 127, 0.38);
  background:
    linear-gradient(135deg, rgba(242, 211, 127, 0.12), rgba(168, 85, 247, 0.13)),
    rgba(4, 2, 9, 0.62);
}

.product-read-more p,
.product-benefits ul {
  padding-top: 2px;
}

.product-copy ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-copy li {
  padding-left: 12px;
  border-left: 2px solid var(--violet);
}

.product-details {
  margin-top: 4px;
  border-top: 1px solid rgba(216, 180, 254, 0.13);
}

.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 11px 0 0;
  color: var(--cyan);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  list-style: none;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 50%;
  color: var(--gold);
  line-height: 1;
}

.product-details[open] summary::after {
  content: "-";
}

.product-expanded {
  display: grid;
  gap: 12px;
  padding: 12px 0 2px;
}

.product-expanded p {
  margin: 0;
}

.product-expanded h3 {
  margin: 2px 0 8px;
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1.1;
}

.product-benefits ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-page main {
  width: min(1320px, calc(100% - 36px));
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  min-height: calc(86vh - 74px);
  padding: clamp(44px, 7vw, 86px) 0 42px;
}

.services-hero h1,
.service-detail h2,
.services-closing h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.services-hero h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.3vw, 5rem);
}

.services-hero p,
.service-detail p,
.services-closing p {
  color: var(--muted);
}

.services-hero-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background: rgba(17, 8, 31, 0.78);
  box-shadow: var(--shadow), var(--purple-glow);
}

.services-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 1, 8, 0.18), transparent 48%),
    linear-gradient(180deg, transparent 42%, rgba(3, 1, 8, 0.72));
  pointer-events: none;
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.services-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 72px;
}

.service-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  background: rgba(17, 8, 31, 0.78);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32), var(--purple-glow);
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 1, 8, 0.08), rgba(3, 1, 8, 0.82) 62%, rgba(3, 1, 8, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(216, 180, 254, 0.2), transparent 9rem);
}

.service-tile img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
}

.service-tile:hover img {
  transform: scale(1.04);
}

.service-tile span,
.service-tile p {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
}

.service-tile span {
  bottom: 74px;
  font-weight: 900;
  line-height: 1.12;
}

.service-tile p {
  bottom: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  margin: 0 0 74px;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(23, 10, 43, 0.94), rgba(7, 3, 14, 0.84));
  box-shadow: var(--shadow);
}

.service-detail.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
}

.service-detail.reverse .service-detail-media {
  order: 2;
}

.service-detail.reverse .service-detail-copy {
  order: 1;
}

.featured-service {
  border-color: rgba(242, 211, 127, 0.28);
  background:
    radial-gradient(circle at 82% 10%, rgba(242, 211, 127, 0.14), transparent 17rem),
    radial-gradient(circle at 0% 0%, rgba(168, 85, 247, 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(27, 9, 48, 0.96), rgba(3, 1, 8, 0.92));
}

.service-detail-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 25%, rgba(168, 85, 247, 0.22), transparent 15rem),
    #05020d;
  box-shadow: var(--purple-glow);
}

.service-detail-media img {
  width: 100%;
  height: clamp(360px, 42vw, 560px);
  object-fit: cover;
  object-position: center;
}

.portrait-media img {
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 420px;
  object-position: center top;
}

.contain-media {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(16px, 3vw, 28px);
}

.contain-media img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.quantum-service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: start;
  padding: 12px;
}

.quantum-service-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.quantum-service-gallery img:first-child,
.quantum-service-gallery img:last-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.service-detail h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.85rem);
}

.service-detail h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
}

.service-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 8px;
}

.service-price-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.service-pricing-grid .service-price-list {
  margin: 0;
}

.service-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 180, 254, 0.14);
  color: var(--muted);
}

.service-price-list strong {
  flex: 0 0 auto;
  color: var(--text);
  text-align: right;
}

.service-price-list.compact {
  max-width: 620px;
}

.service-note {
  margin: 14px 0 22px;
  color: var(--gold) !important;
  font-weight: 700;
}

.service-landing-hero {
  min-height: calc(82vh - 74px);
}

.service-landing-media img {
  object-position: center top;
}

.local-service-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 72px;
}

.local-service-summary article {
  display: flex;
  min-height: 112px;
  align-items: flex-end;
  padding: 18px;
}

.service-landing-detail .service-detail-media img {
  object-position: center;
}

.service-detail-actions {
  margin: 1.5rem 0 2rem;
}

.service-rates-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  margin: 0 0 72px;
  padding: clamp(18px, 4vw, 34px);
}

.service-rates-section h2,
.service-seo-note h2,
.rates-grid h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.service-rates-section h2,
.service-seo-note h2 {
  font-size: clamp(1.85rem, 3.6vw, 3.3rem);
}

.service-rates-section p,
.service-seo-note p {
  color: var(--muted);
}

.service-seo-note {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 72px;
  padding: clamp(18px, 4vw, 34px);
}

.service-seo-note > div {
  max-width: 820px;
}

.related-services {
  margin: 0 0 82px;
}

.related-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.related-service-grid a {
  display: grid;
  min-height: 88px;
  place-items: center;
  padding: 14px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.rates-page main {
  width: min(1180px, calc(100% - 36px));
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 72px;
}

.service-rates-section .rates-grid {
  margin: 0;
}

.rates-grid article {
  padding: clamp(18px, 3vw, 26px);
}

.rates-grid h2 {
  color: var(--gold);
  font-size: 1.25rem;
}

.services-closing {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin: 0 0 86px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.services-closing img {
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 8px;
  box-shadow: var(--purple-glow);
}

.services-closing h2 {
  max-width: 780px;
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
}

.contact-page main {
  width: min(1320px, calc(100% - 36px));
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(82vh - 74px);
  padding: clamp(44px, 7vw, 90px) 0 44px;
}

.contact-hero h1,
.contact-map-section h2,
.contact-visit-section h2,
.contact-grid h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.contact-hero h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

.contact-hero p,
.contact-map-section p,
.contact-visit-section p,
.contact-grid p {
  color: var(--muted);
}

.contact-hero-media,
.contact-map-frame,
.contact-visit-section figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(216, 180, 254, 0.15), transparent 14rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: var(--shadow), var(--purple-glow);
}

.contact-hero-media img {
  width: 100%;
  height: clamp(340px, 42vw, 560px);
  object-fit: cover;
  object-position: center center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 74px;
}

.contact-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.12), transparent 13rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.contact-grid span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-grid h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.contact-map-section,
.contact-visit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin: 0 0 74px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23, 10, 43, 0.9), rgba(7, 3, 14, 0.76));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.contact-map-section h2,
.contact-visit-section h2 {
  font-size: clamp(1.95rem, 4vw, 3.4rem);
}

.contact-map-frame {
  min-height: 430px;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

.contact-visit-section {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.86fr);
  margin-bottom: 82px;
}

.contact-visit-section figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.technology-page main {
  width: min(1320px, calc(100% - 36px));
}

.frequency-page main {
  width: min(1320px, calc(100% - 36px));
}

.quantum-room-page main {
  width: min(1320px, calc(100% - 36px));
}

.quantum-room-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.04fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(86vh - 74px);
  padding: clamp(44px, 7vw, 90px) 0 44px;
}

.quantum-room-hero h1,
.quantum-room-intro h2,
.quantum-room-section h2,
.quantum-room-note h2,
.quantum-room-features h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.quantum-room-hero h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

.quantum-room-hero p,
.quantum-room-intro p,
.quantum-room-section p,
.quantum-room-note p,
.quantum-room-features p {
  color: var(--muted);
}

.quantum-room-hero-media,
.quantum-room-intro figure,
.quantum-room-media,
.quantum-room-media-grid figure,
.quantum-room-tool-grid figure,
.quantum-room-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 40% 35%, rgba(236, 72, 153, 0.16), transparent 14rem),
    radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.18), transparent 16rem),
    #04020a;
  box-shadow: var(--shadow), var(--purple-glow);
}

.quantum-room-hero-media img {
  width: 100%;
  height: clamp(360px, 44vw, 620px);
  object-fit: contain;
  padding: clamp(12px, 2vw, 22px);
}

.quantum-room-intro,
.quantum-room-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin: 0 0 74px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(23, 10, 43, 0.9), rgba(7, 3, 14, 0.76));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.quantum-room-section.rich {
  align-items: start;
}

.quantum-room-text-stack {
  display: grid;
  align-content: start;
  gap: 14px;
}

.quantum-room-text-stack p {
  margin: 0;
}

.quantum-room-intro figure img,
.quantum-room-media img,
.quantum-room-media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quantum-room-media.contain-media {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
}

.quantum-room-media.contain-media img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.quantum-room-intro h2,
.quantum-room-section h2,
.quantum-room-note h2 {
  font-size: clamp(1.95rem, 4vw, 3.4rem);
}

.quantum-room-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 74px;
}

.quantum-room-features article,
.quantum-room-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.12), transparent 13rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.quantum-room-features article {
  min-height: 210px;
  padding: 22px;
}

.quantum-room-features h2 {
  color: var(--gold);
  font-size: 1.2rem;
}

.quantum-room-alert {
  padding: 14px 16px;
  border: 1px solid rgba(242, 211, 127, 0.32);
  border-radius: 8px;
  background: rgba(242, 211, 127, 0.08);
}

.quantum-room-alert strong {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
}

.quantum-room-alert p {
  margin: 0;
}

.quantum-room-section.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.quantum-room-section.reverse > div:first-child {
  order: 2;
}

.quantum-room-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quantum-room-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.quantum-room-media-grid.two-up,
.quantum-room-media-grid.quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quantum-room-media-grid.portrait-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
}

.quantum-room-media-grid.portrait-pair figure,
.quantum-room-media-grid.portrait-pair img {
  height: 100%;
}

.quantum-room-media-grid.portrait-pair img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.quantum-room-media-grid.intro-gallery {
  position: relative;
  display: block;
  min-height: 620px;
  align-self: stretch;
}

.quantum-room-media-grid.intro-gallery figure:first-child {
  height: 100%;
}

.quantum-room-media-grid.intro-gallery figure:first-child img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.quantum-room-media-grid.intro-gallery figure:last-child {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(72%, 390px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
}

.quantum-room-media-grid.intro-gallery figure:last-child img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.quantum-room-media-grid.single-portrait img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.quantum-room-media-grid.comfort-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.quantum-room-media-grid.comfort-grid figure:first-child {
  grid-column: 1 / -1;
}

.quantum-room-media-grid.comfort-grid img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(8px, 1.4vw, 14px);
}

.quantum-room-media-grid.comfort-grid figure:first-child img {
  aspect-ratio: 16 / 9;
}

.quantum-room-media-grid.stacked img {
  object-fit: contain;
  padding: clamp(10px, 1.8vw, 18px);
}

.quantum-room-media-grid.single-chair {
  align-self: start;
}

.quantum-room-media-grid.single-chair figure {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
}

.quantum-room-media-grid.single-chair img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.quantum-translighter-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}

.quantum-translighter-card {
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(168, 85, 247, 0.2), transparent 10rem),
    rgba(5, 2, 13, 0.88);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.quantum-translighter-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 4 / 5;
  padding: 14px;
  object-fit: contain;
}

.quantum-translighter-card span {
  padding: 12px 14px;
  border-top: 1px solid rgba(216, 180, 254, 0.18);
  color: var(--gold);
  font-weight: 800;
  text-align: center;
}

.quantum-room-media-grid.quad img,
.quantum-room-tool-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.quantum-room-gallery-section {
  margin: 0 0 74px;
}

.quantum-room-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quantum-room-gallery figure:first-child,
.quantum-room-gallery figure:nth-child(2) {
  grid-column: span 2;
}

.quantum-room-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quantum-room-gallery figure:first-child img,
.quantum-room-gallery figure:nth-child(2) img {
  aspect-ratio: 16 / 9;
}

.quantum-room-note {
  margin: 0 0 82px;
  padding: clamp(18px, 3vw, 30px);
}

.quantum-room-note > div {
  max-width: 860px;
}

.frequency-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(82vh - 74px);
  padding: clamp(44px, 7vw, 90px) 0 44px;
}

.frequency-hero h1,
.frequency-selector h2,
.selected-program h3,
.frequency-browser h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.frequency-hero h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

.frequency-hero p,
.frequency-selector p,
.frequency-browser p {
  color: var(--muted);
}

.frequency-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(236, 72, 153, 0.18), transparent 15rem),
    radial-gradient(circle at 12% 16%, rgba(168, 85, 247, 0.24), transparent 12rem),
    #04020a;
  box-shadow: var(--shadow), var(--purple-glow);
}

.frequency-hero-media img {
  width: 100%;
  height: clamp(300px, 40vw, 520px);
  object-fit: cover;
}

.frequency-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

.frequency-stats article,
.frequency-selector,
.selected-program,
.frequency-browser {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.12), transparent 13rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.frequency-stats article {
  padding: 20px;
}

.frequency-stats strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.frequency-stats span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.frequency-selector {
  margin: 0 0 78px;
  padding: clamp(18px, 3vw, 30px);
}

.frequency-selector-heading {
  max-width: 780px;
  margin: 0 0 18px;
}

.frequency-selector h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.frequency-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.frequency-controls label {
  display: grid;
  gap: 7px;
}

.frequency-controls span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.frequency-controls select,
.frequency-controls input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(3, 1, 8, 0.72);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.frequency-controls select:focus,
.frequency-controls input:focus {
  outline: 0;
  border-color: rgba(240, 171, 252, 0.72);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22), var(--purple-glow);
}

.frequency-controls option {
  color: #120519;
  background: #fbf7ff;
}

.frequency-search {
  grid-column: 1 / -1;
}

.selected-program {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
}

.selected-program span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selected-program h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.selected-program p {
  margin: 8px 0 0;
}

.selected-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.selected-actions .button {
  white-space: nowrap;
}

.frequency-browser {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
}

.frequency-browser h3 {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.program-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list button {
  min-height: 38px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 7px;
  background: rgba(216, 180, 254, 0.08);
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}

.program-list button:hover {
  border-color: rgba(216, 180, 254, 0.46);
  background: rgba(168, 85, 247, 0.16);
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(88vh - 74px);
  padding: clamp(44px, 7vw, 90px) 0 44px;
}

.tech-hero h1,
.tech-section h2,
.translighter-explainer h2,
.technology-comparison h2,
.tech-disclaimer h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.tech-hero h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

.tech-hero p,
.tech-section p,
.translighter-explainer p,
.technology-comparison p,
.tech-disclaimer p {
  color: var(--muted);
}

.tech-hero-media,
.tech-section-media,
.tech-module-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 72%, rgba(14, 165, 233, 0.18), transparent 15rem),
    radial-gradient(circle at 12% 16%, rgba(168, 85, 247, 0.2), transparent 12rem),
    #04020a;
  box-shadow: var(--shadow), var(--purple-glow);
}

.tech-hero-media {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: clamp(14px, 3vw, 30px);
}

.tech-hero-media img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
}

.tech-module-media {
  min-height: 360px;
}

.tech-module-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.tech-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 74px;
}

.tech-principles article,
.tech-callout,
.translighter-products article,
.comparison-grid article,
.tech-disclaimer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 180, 254, 0.12), transparent 13rem),
    rgba(17, 8, 31, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.tech-principles article {
  padding: 22px;
}

.tech-principles span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.tech-principles h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.tech-principles p {
  margin: 0;
  color: var(--muted);
}

.tech-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  margin: 0 0 74px;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(168, 85, 247, 0.17), transparent 20rem),
    linear-gradient(135deg, rgba(23, 10, 43, 0.94), rgba(7, 3, 14, 0.84));
  box-shadow: var(--shadow);
}

.tech-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr);
}

.tech-section.reverse .tech-section-media {
  order: 2;
}

.tech-section.reverse > div {
  order: 1;
}

.tech-section-media img {
  width: 100%;
  height: clamp(340px, 40vw, 520px);
  object-fit: cover;
  object-position: center;
}

.tech-section:first-of-type .tech-section-media img {
  object-fit: contain;
  padding: 18px;
}

.tech-section h2,
.translighter-explainer h2,
.technology-comparison h2,
.tech-disclaimer h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.tech-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  padding: 0 0 0 16px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
}

.tech-list strong {
  color: var(--text);
}

.tech-callout {
  margin-top: 22px;
  padding: 18px;
  border-color: rgba(242, 211, 127, 0.25);
}

.tech-callout strong {
  color: var(--gold);
}

.tech-callout p {
  margin-bottom: 0;
}

.translighter-explainer {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  margin: 0 0 74px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 211, 127, 0.13), transparent 18rem),
    radial-gradient(circle at 0% 20%, rgba(168, 85, 247, 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(27, 9, 48, 0.96), rgba(3, 1, 8, 0.92));
  box-shadow: var(--shadow);
}

.translighter-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.translighter-products article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
}

.translighter-products img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(216, 180, 254, 0.38));
}

.translighter-products h3,
.comparison-grid h3 {
  margin: 0;
  line-height: 1.12;
}

.translighter-products p,
.comparison-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.tech-accordion-section {
  margin: 0 0 74px;
}

.tech-accordion {
  display: grid;
  gap: 14px;
}

.tech-pulldown {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 224, 208, 0.08), transparent 16rem),
    rgba(17, 8, 31, 0.82);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.tech-pulldown summary {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 56px 18px 20px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.14;
  letter-spacing: 0;
  list-style: none;
  position: relative;
}

.tech-pulldown summary::-webkit-details-marker {
  display: none;
}

.tech-pulldown summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(61, 224, 208, 0.36);
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--body);
  font-weight: 900;
}

.tech-pulldown[open] summary::after {
  content: "-";
}

.tech-pulldown summary span {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(242, 211, 127, 0.28);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-pulldown-content {
  padding: 0 20px 22px;
}

.tech-pulldown-content p {
  max-width: 940px;
  color: var(--muted);
}

.tech-pulldown-content p:first-child {
  margin-top: 0;
}

.tech-flow {
  display: grid;
  gap: 22px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.tech-flow li {
  position: relative;
  padding: 14px 18px;
  border: 1px solid rgba(61, 224, 208, 0.24);
  border-radius: 8px;
  background: rgba(3, 1, 8, 0.34);
  color: var(--text);
  counter-increment: flow;
}

.tech-flow li::before {
  content: counter(flow);
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(242, 211, 127, 0.15);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.tech-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -22px;
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(61, 224, 208, 0.6), transparent);
}

.source-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.source-link-grid a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(3, 1, 8, 0.32);
  font-weight: 800;
  text-decoration: none;
}

.technology-comparison {
  margin: 0 0 74px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.comparison-grid article {
  padding: 22px;
}

.tech-disclaimer {
  margin: 0 0 86px;
  padding: clamp(22px, 5vw, 46px);
  border-color: rgba(242, 211, 127, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 211, 127, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(23, 10, 43, 0.94), rgba(6, 2, 12, 0.92));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: rgba(3, 1, 8, 0.88);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer a {
  display: block;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 1, 8, 0.96);
  }

  .site-nav.is-open {
    display: grid;
  }

  .book-mini {
    justify-self: end;
  }

  .hero,
  .home-hero,
  .split-feature,
  .cody-feature,
  .quantum-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    height: 56vh;
    min-height: 360px;
  }

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

  .home-hero {
    min-height: auto;
  }

  .portrait-stage {
    height: 640px;
    min-height: 560px;
  }

  .hero-clinic-stage {
    height: 420px;
    min-height: 420px;
  }

  .portrait-stage img {
    min-height: 560px;
  }

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

  .home-service-links,
  .local-service-summary,
  .related-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practitioner-feature.reverse .cody-image,
  .practitioner-feature.reverse > div:last-child {
    order: initial;
  }

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

  .services-hero,
  .service-detail,
  .service-detail.reverse,
  .service-rates-section,
  .services-closing,
  .contact-hero,
  .contact-map-section,
  .contact-visit-section {
    grid-template-columns: 1fr;
  }

  .services-hero {
    min-height: auto;
  }

  .services-hero-media {
    min-height: 390px;
  }

  .services-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .service-detail.reverse .service-detail-media,
  .service-detail.reverse .service-detail-copy {
    order: initial;
  }

  .tech-hero,
  .frequency-hero,
  .quantum-room-hero,
  .quantum-room-intro,
  .quantum-room-section,
  .quantum-room-section.reverse,
  .tech-section,
  .tech-section.reverse,
  .translighter-explainer {
    grid-template-columns: 1fr;
  }

  .quantum-room-media-grid.intro-gallery {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    min-height: 0;
    align-items: center;
    align-self: auto;
  }

  .quantum-room-media-grid.intro-gallery figure:first-child {
    height: auto;
  }

  .quantum-room-media-grid.intro-gallery figure:first-child img {
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: contain;
  }

  .quantum-room-media-grid.intro-gallery figure:last-child {
    position: static;
    width: auto;
    box-shadow: none;
  }

  .frequency-hero,
  .quantum-room-hero,
  .tech-hero {
    min-height: auto;
  }

  .quantum-room-section.reverse > div:first-child {
    order: initial;
  }

  .quantum-room-features,
  .quantum-room-media-grid.quad,
  .quantum-room-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frequency-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frequency-browser {
    grid-template-columns: 1fr;
  }

  .tech-hero-media {
    min-height: 360px;
  }

  .tech-section.reverse .tech-section-media,
  .tech-section.reverse > div {
    order: initial;
  }

  .translighter-products,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 10px;
    padding: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .book-mini {
    display: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
  }

  .hero h1,
  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 14vw, 3.6rem);
  }

  .home-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.05rem);
    line-height: 1.02;
  }

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

  .portrait-stage,
  .portrait-stage img {
    height: 500px;
    min-height: 500px;
  }

  .hero-clinic-stage {
    height: 280px;
    min-height: 280px;
  }

  .hero-clinic-stage img {
    object-position: center center;
  }

  .service-grid,
  .home-team,
  .store-intro {
    grid-template-columns: 1fr;
  }

  .local-service-summary,
  .related-service-grid {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .home-service-links {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82vw);
    grid-template-columns: none;
    gap: 12px;
    width: calc(100% + 24px);
    margin: -8px -12px 48px;
    padding: 0 12px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .home-service-link {
    grid-column: auto;
    min-height: 250px;
    scroll-snap-align: start;
  }

  .service-card {
    min-height: 0;
  }

  .cody-feature,
  .quantum-feature {
    padding: 18px;
  }

  .quantum-feature img {
    min-height: 280px;
    height: 320px;
  }

  .home-quantum-room img {
    height: 260px;
    min-height: 260px;
  }

  .review-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .review-buttons {
    justify-content: stretch;
  }

  .review-buttons .button {
    flex: 1 1 210px;
    justify-content: center;
  }

  .clinic-gallery {
    grid-auto-columns: minmax(260px, 82vw);
    gap: 12px;
  }

  .clinic-gallery img {
    height: 230px;
  }

  .media-frame img {
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-page main {
    width: min(100% - 24px, 1320px);
  }

  .contact-page main {
    width: min(100% - 24px, 1320px);
  }

  .services-hero {
    padding-top: 34px;
  }

  .contact-hero {
    padding-top: 34px;
  }

  .services-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .contact-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .services-hero-media {
    min-height: 280px;
  }

  .contact-hero-media img {
    height: 300px;
  }

  .services-overview {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 48px;
  }

  .service-tile {
    min-height: 180px;
  }

  .service-tile img {
    min-height: 180px;
  }

  .service-detail {
    margin-bottom: 48px;
    padding: 18px;
  }

  .service-rates-section,
  .service-seo-note,
  .rates-grid {
    margin-bottom: 48px;
  }

  .service-rates-section,
  .service-seo-note {
    padding: 18px;
  }

  .service-seo-note {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-grid,
  .contact-map-section,
  .contact-visit-section {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .contact-grid article {
    min-height: 0;
  }

  .contact-map-section,
  .contact-visit-section {
    padding: 18px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 320px;
    height: 320px;
  }

  .service-detail h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .contact-map-section h2,
  .contact-visit-section h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .service-detail-media img,
  .portrait-media img {
    height: 310px;
    min-height: 310px;
  }

  .contain-media {
    min-height: 280px;
  }

  .contain-media img {
    height: auto;
    min-height: 0;
    max-height: 280px;
  }

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

  .quantum-service-gallery img:first-child,
  .quantum-service-gallery img:last-child {
    grid-column: auto;
  }

  .service-pricing-grid,
  .quantum-program-list {
    grid-template-columns: 1fr;
  }

  .service-price-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .service-price-list strong {
    text-align: left;
  }

  .services-closing {
    margin-bottom: 74px;
  }

  .technology-page main {
    width: min(100% - 24px, 1320px);
  }

  .frequency-page main {
    width: min(100% - 24px, 1320px);
  }

  .quantum-room-page main {
    width: min(100% - 24px, 1320px);
  }

  .frequency-hero,
  .quantum-room-hero,
  .tech-hero {
    padding-top: 34px;
  }

  .frequency-hero h1,
  .quantum-room-hero h1,
  .tech-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .quantum-room-hero-media img {
    height: 300px;
  }

  .quantum-room-intro,
  .quantum-room-section {
    margin-bottom: 48px;
    padding: 18px;
  }

  .quantum-room-intro h2,
  .quantum-room-section h2,
  .quantum-room-note h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .quantum-room-features,
  .quantum-room-media-grid.two-up,
  .quantum-room-media-grid.quad,
  .quantum-room-media-grid.comfort-grid,
  .quantum-room-media-grid.intro-gallery,
  .quantum-translighter-cards,
  .quantum-room-tool-grid,
  .quantum-room-gallery {
    grid-template-columns: 1fr;
  }

  .quantum-room-media-grid.comfort-grid figure:first-child {
    grid-column: auto;
  }

  .quantum-room-gallery figure:first-child,
  .quantum-room-gallery figure:nth-child(2) {
    grid-column: auto;
  }

  .quantum-room-features article {
    min-height: 0;
  }

  .quantum-room-gallery-section,
  .quantum-room-note {
    margin-bottom: 48px;
  }

  .frequency-hero-media img {
    height: 270px;
  }

  .frequency-stats,
  .frequency-controls {
    grid-template-columns: 1fr;
  }

  .selected-program {
    align-items: stretch;
    flex-direction: column;
  }

  .selected-actions {
    justify-content: stretch;
  }

  .selected-actions .button {
    width: 100%;
  }

  .tech-hero-media {
    min-height: 270px;
  }

  .tech-principles,
  .translighter-products,
  .comparison-grid,
  .source-link-grid {
    grid-template-columns: 1fr;
  }

  .tech-section,
  .translighter-explainer {
    margin-bottom: 48px;
    padding: 18px;
  }

  .tech-section h2,
  .translighter-explainer h2,
  .technology-comparison h2,
  .tech-disclaimer h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .tech-section-media img {
    height: 300px;
  }

  .tech-module-media,
  .tech-module-media img {
    min-height: 260px;
  }

  .tech-module-media img {
    height: 300px;
  }

  .translighter-products img {
    height: 128px;
  }

  .tech-pulldown summary {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 52px 16px 16px;
  }

  .tech-pulldown summary span {
    justify-self: start;
  }

  .tech-pulldown-content {
    padding: 0 16px 18px;
  }

  .product-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .product-image {
    min-height: 170px;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 180, 254, 0.13);
  }

  .product-image img {
    height: 140px;
  }

  .product-copy {
    padding: 14px;
  }

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

}
