:root {
  --color-primary: #abb8fa;
  --color-primary-dark: #313d73;
  --color-primary-light: #eef1ff;
  --color-text: #1f2740;
  --color-text-muted: #59627b;
  --color-bg: #f5f7fc;
  --color-bg-alt: #e4e8f2;
  --color-sage: #6e8f87;
  --color-white-soft: #f8f9fd;
  --border: 1px solid rgba(31, 39, 64, .2);
  --radius: 4px;
  --shadow: none;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Avenir Next", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --tmo-gallery-columns: 12;
  --tmo-gallery-gap: 16px;
  --tmo-gallery-ratio: 4 / 5;
  --tmo-gallery-item-radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--color-sage); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: .98; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.05em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: auto; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245,247,252,.96);
  border-bottom: var(--border);
}
.header-inner {
  width: min(1240px, calc(100% - 48px)); min-height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand span { font-family: var(--font-display); font-size: 2rem; }
.brand small { margin-top: 6px; color: var(--color-text-muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 28px; align-items: center; font-size: .82rem; }
.main-nav a, .text-link { text-decoration: none; border-bottom: 1px solid transparent; }
.main-nav a:hover, .text-link:hover { border-color: currentColor; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--color-text); }

.hero {
  width: min(1240px, calc(100% - 48px)); min-height: 690px; margin: auto;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  position: relative; align-items: center; gap: 48px;
}
.hero-copy { position: relative; z-index: 2; padding: 72px 0; }
.hero-context { margin-bottom: 22px; color: var(--color-text-muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--color-primary-dark); font-size: clamp(4rem, 10vw, 8.5rem); letter-spacing: -.08em; }
.hero-signature { margin: 8px 0 28px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 2rem); }
.hero h2 { max-width: 710px; margin-bottom: 22px; font-family: var(--font-body); font-size: clamp(1.55rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.hero-text { max-width: 510px; color: var(--color-text-muted); font-size: 1rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, transform .2s;
}
.button-primary { background: var(--color-primary); color: var(--color-text); }
.button-primary:hover { background: var(--color-primary-dark); color: var(--color-white-soft); transform: translateY(-2px); }
.button-light { background: var(--color-primary); color: var(--color-text); }
.button-light:hover { background: var(--color-white-soft); }
.hero-flow-line {
  position: absolute; left: 0; right: 15%; top: 64%; height: 1px;
  background: var(--color-primary-dark); transform-origin: left; animation: line-in 1.2s ease both;
}
.hero-visual { position: relative; min-height: 510px; }
.hero-visual-back { position: absolute; inset: 42px -28px -26px 28px; background: var(--color-primary); }
.hero-photo {
  position: absolute; inset: 0; overflow: hidden; background: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img:not([src]) { display: none; }
.hero-fallback { height: 100%; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: var(--color-white-soft); }
.hero-fallback span { font-family: var(--font-display); font-size: 17rem; line-height: .7; opacity: .86; }
.hero-fallback div { font-size: .72rem; letter-spacing: .13em; line-height: 1.8; text-transform: uppercase; }

.orientation {
  display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 20px max(24px, calc((100% - 1240px) / 2));
  background: var(--color-primary); border-top: var(--border); border-bottom: var(--border);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.orientation span:nth-child(2) { text-align: center; }
.orientation span:nth-child(3) { text-align: right; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding-top: 110px; padding-bottom: 110px; }
.section-heading h2 { max-width: 500px; margin-bottom: 0; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.copy-block { border-left: 2px solid var(--color-primary); padding-left: 22px; }
.copy-block + .copy-block { border-color: var(--color-sage); }

.services { padding-bottom: 110px; }
.services-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 42px; }
.services-intro h2 { max-width: 650px; margin: 0; }
.services-intro p { max-width: 300px; color: var(--color-text-muted); }
.service-row {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  min-height: 120px; padding: 25px 28px; border-top: var(--border);
  background: var(--color-primary-light);
}
.service-row:nth-child(even) { background: transparent; }
.service-row h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.service-row p { max-width: 360px; margin: 0; color: var(--color-text-muted); }
.service-row-alt { grid-template-columns: .85fr 1.15fr; }
.service-row-alt h3 { grid-column: 2; grid-row: 1; text-align: right; }
.service-row-alt p { grid-column: 1; grid-row: 1; }

.treatments { position: relative; }
.treatment-panel { padding: 90px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; position: relative; }
.treatment-title h2 { margin-bottom: 16px; }
.treatment-title p { font-family: var(--font-display); font-size: 1.45rem; }
.treatment-copy { max-width: 510px; }
.treatment-copy p { margin-bottom: 22px; }
.radiofrequency { background: var(--color-primary-dark); color: var(--color-white-soft); }
.radiofrequency .treatment-copy { align-self: end; }
.radiofrequency .button { margin-top: 18px; }
.lymphatic { background: var(--color-white-soft); border-top: var(--border); border-bottom: var(--border); }
.lymph-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--color-sage); opacity: .8; }
.lymphatic .treatment-copy { padding-left: 30px; border-left: 2px solid var(--color-sage); }
.treatment-copy ul { padding-left: 20px; margin: 22px 0; }
.treatment-copy li::marker { color: var(--color-sage); }

.products { padding-top: 90px; padding-bottom: 90px; display: grid; grid-template-columns: 1fr .8fr; gap: 80px; }
.products h2 { max-width: 610px; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.products p { max-width: 560px; color: var(--color-text-muted); }
.product-strip { align-self: end; border-top: 2px solid var(--color-primary-dark); }
.product-strip span { display: block; padding: 15px 0; border-bottom: var(--border); font-family: var(--font-display); font-size: 1.35rem; }
.product-strip span:nth-child(2) { padding-left: 28px; }
.product-strip span:nth-child(3) { padding-left: 56px; }

.gallery-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto 110px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.gallery-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.gallery-heading p { color: var(--color-text-muted); }
.tmo-gallery-grid { display: grid; grid-template-columns: repeat(var(--tmo-gallery-columns), 1fr); gap: var(--tmo-gallery-gap); }
.tmo-gallery-item { display: block; overflow: hidden; min-height: 220px; aspect-ratio: var(--tmo-gallery-ratio); border: var(--border); border-radius: var(--tmo-gallery-item-radius); background: var(--color-bg-alt); }
.tmo-gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; aspect-ratio: 4 / 6; }
.tmo-gallery-item:nth-child(2) { grid-column: span 4; }
.tmo-gallery-item:nth-child(3) { grid-column: span 3; }
.tmo-gallery-item:nth-child(4) { grid-column: span 7; aspect-ratio: 16 / 7; }
.tmo-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tmo-gallery-item:hover img, .tmo-gallery-item:focus-visible img { transform: scale(1.04); }

.contact-section { position: relative; overflow: hidden; background: var(--color-text); color: var(--color-white-soft); padding: 92px max(24px, calc((100% - 1180px) / 2)) 0; }
.contact-section::before { content: ""; position: absolute; left: -5%; top: 54px; width: 72%; height: 1px; background: var(--color-primary); }
.contact-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; position: relative; }
.contact-lead h2 { max-width: 620px; }
.contact-lead p { max-width: 450px; color: #c8cee1; }
.contact-data { padding-top: 20px; border-left: 1px solid var(--color-primary); padding-left: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-data h3 { font-family: var(--font-body); font-size: 1rem; }
.contact-data address { margin: 8px 0 22px; font-style: normal; color: #c8cee1; }
.contact-data a { margin: 5px 0; color: var(--color-primary); font-size: 1.05rem; }
.map-wrap { margin-top: 70px; }
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(1) contrast(.85); }
.map-link { display: inline-block; padding: 14px 0 28px; color: var(--color-primary); font-size: .85rem; }
.price-note { display: flex; justify-content: space-between; gap: 30px; padding-top: 48px; padding-bottom: 48px; }
.price-note p { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 36px; padding: 30px max(24px, calc((100% - 1180px) / 2)); background: var(--color-primary-dark); color: var(--color-white-soft); font-size: .78rem; }
.site-footer div { display: flex; flex-direction: column; gap: 5px; }
.site-footer span, .site-footer a { color: #dce1f0; }
.site-footer a { text-decoration: none; }
.site-footer p { margin: 0; color: #c8cee1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 767px) {
  html { scroll-behavior: auto; }
  .section-shell, .hero, .gallery-section { width: min(100% - 40px, 1180px); }
  .header-inner { width: calc(100% - 40px); min-height: 68px; }
  .brand span { font-size: 1.7rem; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    padding: 18px 20px 24px; background: var(--color-bg); border-bottom: var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: var(--border); }
  .hero {
    min-height: auto; display: flex; flex-direction: column; align-items: stretch;
    gap: 32px; padding: 54px 0 72px;
  }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .hero h2 { font-size: 1.65rem; }
  .hero-text { font-size: .94rem; }
  .hero-flow-line { top: 47%; right: -15%; }
  .hero-visual { width: calc(100% - 24px); min-height: 390px; margin-left: 24px; }
  .hero-visual-back { inset: 22px -18px -18px 18px; }
  .hero-fallback span { font-size: 11rem; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .orientation { display: flex; flex-direction: column; gap: 0; padding: 0 20px; }
  .orientation span, .orientation span:nth-child(2), .orientation span:nth-child(3) { padding: 14px 0; text-align: left; border-bottom: 1px solid rgba(31,39,64,.2); }
  .orientation span:last-child { border-bottom: 0; }
  .about { display: block; padding-top: 72px; padding-bottom: 72px; }
  .section-heading h2 { font-size: clamp(2.7rem, 13vw, 4rem); margin-bottom: 40px; }
  .about-copy { display: block; }
  .copy-block { margin-bottom: 26px; padding-left: 18px; }
  .services { padding-bottom: 72px; }
  .services-intro { display: block; padding-bottom: 28px; }
  .services-intro h2 { font-size: clamp(2.6rem, 12vw, 4rem); margin-bottom: 22px; }
  .service-row, .service-row-alt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 0; padding: 24px 18px; }
  .service-row-alt { align-items: flex-end; text-align: right; }
  .service-row h3 { font-size: 1.75rem; }
  .service-row p { font-size: .92rem; }
  .treatment-panel { display: block; padding: 64px 20px; }
  .treatment-title h2 { font-size: 3rem; }
  .treatment-title p { font-size: 1.2rem; }
  .treatment-copy { margin-top: 30px; }
  .lymph-line { left: 20px; top: 38px; bottom: auto; height: 34px; }
  .lymphatic .treatment-copy { padding-left: 18px; }
  .products { display: block; padding-top: 68px; padding-bottom: 68px; }
  .products h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .product-strip { margin-top: 38px; }
  .product-strip span:nth-child(2), .product-strip span:nth-child(3) { padding-left: 18px; }
  .gallery-section { margin-bottom: 72px; }
  .gallery-heading { display: block; margin-bottom: 24px; }
  .gallery-heading h2 { font-size: 2.8rem; margin-bottom: 14px; }
  .tmo-gallery-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .tmo-gallery-item, .tmo-gallery-item:nth-child(n) { flex: 0 0 78%; aspect-ratio: 4 / 5; min-height: 300px; scroll-snap-align: start; }
  .contact-section { padding: 70px 20px 0; }
  .contact-section::before { top: 36px; width: 85%; }
  .contact-inner { display: block; }
  .contact-lead h2 { font-size: 3rem; }
  .contact-data { margin-top: 48px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--color-primary); }
  .contact-data a { min-height: 44px; display: flex; align-items: center; }
  .map-wrap { margin-top: 52px; }
  .map-wrap iframe { height: 240px; }
  .price-note { display: block; padding-top: 36px; padding-bottom: 36px; }
  .price-note p { font-size: 1.25rem; margin-bottom: 22px; }
  .site-footer { display: block; padding: 28px 20px; }
  .site-footer div { margin-bottom: 20px; }
  .site-footer p { margin-top: 24px; }
  .reveal, .reveal-left, .reveal-right { transform: translateY(18px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}