:root {
  --navy-950: #061b26;
  --navy-900: #092735;
  --navy-800: #0d3847;
  --teal-500: #24a99a;
  --teal-300: #81d6c8;
  --mint-100: #dff4ef;
  --ice-50: #f4f8f7;
  --paper: #ffffff;
  --ink: #11272f;
  --muted: #60737a;
  --line: #d7e3e1;
  --shadow: 0 24px 70px rgba(6, 27, 38, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-500); }
a:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 5px; }

.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }

.topline {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: #b8cbce;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topline .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 9px;
}

.header {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
}

.brand { display: flex; align-items: center; gap: 16px; }

.brand strong {
  display: block;
  color: var(--navy-950);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.monogram {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 15px;
  background: var(--navy-900);
  color: white;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.monogram span {
  position: absolute;
  right: -6px;
  top: -7px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--teal-500);
  color: white;
  font-size: 15px;
  line-height: 1;
}

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

.header nav a {
  padding: 11px 17px;
  border-radius: 10px;
  color: #3e555d;
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.header nav a:hover { background: var(--ice-50); color: var(--navy-900); }
.header nav a[aria-current] { background: var(--mint-100); color: var(--navy-900); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 58px;
  align-items: center;
  min-height: 610px;
  padding-block: 76px;
  background: var(--navy-950);
  box-shadow: 0 0 0 100vmax var(--navy-950);
  clip-path: inset(0 -100vmax);
  color: white;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 500px;
  height: 500px;
  right: -180px;
  top: -240px;
  border: 1px solid rgba(129,214,200,.18);
  box-shadow: 0 0 0 70px rgba(129,214,200,.035), 0 0 0 140px rgba(129,214,200,.025);
}

.hero::after {
  width: 160px;
  height: 160px;
  left: 43%;
  bottom: -120px;
  background: rgba(36,169,154,.10);
  filter: blur(2px);
}

.hero-copy,
.profile { position: relative; z-index: 1; }

.eyebrow {
  display: block;
  color: var(--teal-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.line { display: flex; align-items: center; gap: 12px; color: var(--teal-300); }
.line::before { content: ""; width: 32px; height: 2px; background: var(--teal-500); }

h1, h2, h3 {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.08;
}

h1 { margin-block: 24px; font-size: clamp(48px, 5.8vw, 78px); }
h1 em { color: var(--teal-300); font-style: normal; font-weight: 650; }

.hero-description {
  max-width: 560px;
  margin: 0 0 34px;
  color: #c7d8db;
  font-size: 18px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 15px 20px;
  border: 1px solid var(--teal-500);
  border-radius: 12px;
  background: var(--teal-500);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); background: var(--teal-300); color: var(--navy-950); }

.text-link {
  display: inline-block;
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(36,169,154,.55);
  text-underline-offset: 6px;
}

.hero .text-link { margin-left: 20px; color: #e7f1f2; }

.registration {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  color: #9db6bb;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: .12em;
}

.registration span { width: 22px; height: 1px; background: #547079; }

.profile {
  padding: 34px 36px 24px;
  border: 1px solid rgba(129,214,200,.25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: 0 30px 80px rgba(0,0,0,.20);
  backdrop-filter: blur(8px);
}

.profile .eyebrow { color: var(--teal-300); }
.profile h2 { margin: 15px 0 22px; font-size: 30px; color: white; }

.credentials { list-style: none; padding: 0; margin: 0; }
.credentials li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #c9d9dc; font-size: 13.5px; line-height: 1.55; }
.credentials li span { white-space: nowrap; }
.credentials a { color: white; text-decoration: underline; text-underline-offset: 3px; }

.profile-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9eb8bd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}

.profile-bottom span { color: var(--teal-300); font-size: 22px; font-weight: 800; letter-spacing: -.08em; }

.specialties { background: var(--mint-100); }
.specialties .wrap { display: grid; grid-template-columns: .7fr repeat(4,1fr); align-items: stretch; }
.specialties .wrap > span { display: flex; align-items: center; padding: 28px 22px 28px 0; color: var(--navy-800); font-size: 10px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; }
.specialties a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 88px; padding-inline: 23px; border-left: 1px solid rgba(9,39,53,.12); color: var(--navy-900); font-size: 17px; font-weight: 700; }
.specialties a:hover { background: rgba(255,255,255,.45); color: var(--navy-950); }
.specialties a span { color: var(--teal-500); }

.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.section h2 { margin: 12px 0 32px; color: var(--navy-950); font-size: clamp(36px,4vw,52px); }
.section-heading h2 { margin-bottom: 0; }

.article-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }

.article-card {
  grid-column: span 2;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(6,27,38,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-card:hover { transform: translateY(-5px); border-color: var(--teal-300); box-shadow: var(--shadow); color: var(--ink); }
.article-card:first-child { grid-column: span 4; background: var(--navy-900); border-color: var(--navy-900); color: white; }
.article-card:first-child:hover { color: white; }
.article-card:nth-child(2) { background: var(--mint-100); }
.article-card:nth-child(4), .article-card:nth-child(5) { grid-column: span 3; }

.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.number { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.article-card:first-child .eyebrow, .article-card:first-child .number { color: var(--teal-300); }
.article-card h3 { max-width: 470px; font-size: 29px; }
.article-card:first-child h3 { font-size: clamp(32px,3.4vw,46px); }
.article-card p { margin: 14px 0 26px; color: var(--muted); font-size: 15px; }
.article-card:first-child p { color: #bfd2d5; }
.article-card .read { display: flex; justify-content: space-between; margin-top: auto; color: var(--teal-500); font-size: 13px; font-weight: 750; }
.article-card:first-child .read { color: var(--teal-300); }

.contact-section { position: relative; overflow: hidden; background: var(--navy-900); color: white; }
.contact-section::after { content: "+"; position: absolute; right: 2vw; bottom: -100px; color: rgba(129,214,200,.07); font-size: 330px; font-weight: 200; line-height: 1; }
.contact-section .section { position: relative; z-index: 1; }
.contact-section .eyebrow { color: var(--teal-300); }
.contact-section .section h2 { color: white; }
.contact-section .text-link { color: #d8e7e8; }

.clinic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.clinic { min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.055); }
.clinic h3 { margin: 16px 0 24px; color: white; font-size: 24px; letter-spacing: -.035em; }
.clinic address { display: flex; flex-direction: column; color: #a9c0c4; font-size: 14px; font-style: normal; }
.clinic .address { color: white; font-size: 17px; font-weight: 650; }
.contact-lines { display: flex; flex-direction: column; margin-top: 24px; font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.contact-lines a { color: var(--teal-300); text-decoration: underline; text-decoration-color: rgba(129,214,200,.35); text-underline-offset: 4px; }
.contact-lines small { color: #92adb2; font-size: 13px; }

.clinic-grid.light .clinic { border-color: var(--line); background: var(--ice-50); }
.clinic-grid.light .clinic h3, .clinic-grid.light .clinic .address { color: var(--navy-950); }
.clinic-grid.light .clinic address { color: var(--muted); }
.clinic-grid.light .contact-lines a { color: var(--navy-800); }
.clinic-grid.light .contact-lines small { color: var(--muted); }

footer { padding: 46px 0 24px; background: var(--navy-950); color: #d7e4e6; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; font-size: 13px; }
.footer-brand { font-size: 23px; font-weight: 750; letter-spacing: -.035em; }
.footer-top > a:last-child { padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #819ca2; font-size: 11px; }
footer a:hover { color: var(--teal-300); }

.page-heading {
  position: relative;
  padding-top: 36px;
  padding-bottom: 66px;
  background: var(--navy-950);
  box-shadow: 0 0 0 100vmax var(--navy-950);
  clip-path: inset(0 -100vmax);
  color: white;
}

.page-heading::after { content: ""; position: absolute; right: 6%; bottom: 22px; width: 120px; height: 120px; border: 1px solid rgba(129,214,200,.20); border-radius: 50%; box-shadow: 0 0 0 30px rgba(129,214,200,.035); }
.breadcrumbs { margin-bottom: 46px; color: #8eabb0; font-size: 13px; }
.breadcrumbs a { color: #cde0e2; }
.page-heading .eyebrow { color: var(--teal-300); }
.page-heading h1 { max-width: 920px; margin-bottom: 0; color: white; }

.articles-page { padding-top: 65px; }
.author { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.reading-layout { display: grid; grid-template-columns: minmax(0,760px) 280px; gap: 92px; padding-block: 70px 90px; }
.article-body .author { margin: 0 0 35px; padding: 0 0 17px; }
.original-content { color: #243a42; font-size: 18px; line-height: 1.9; overflow-wrap: anywhere; }
.original-content p { margin: 0 0 27px; }
.original-content li { margin-bottom: 16px; padding-left: 5px; }
.original-content li::marker { color: var(--teal-500); font-weight: 750; }
.original-content a { color: var(--navy-800); text-decoration: underline; }
.original-content strong { color: var(--navy-950); font-weight: 720; }
.article-body > .text-link { margin-top: 38px; }

.reading-aside { position: sticky; top: 28px; align-self: start; padding: 25px; border-radius: 18px; background: var(--ice-50); }
.reading-aside > a:not(.button) { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); font-size: 14px; font-weight: 650; }
.reading-aside > a span { color: var(--teal-500); }
.reading-aside .button { width: 100%; margin-top: 24px; }

.telemedicine { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 70px; margin-top: 72px; padding: 48px; border-radius: 24px; background: var(--ice-50); }
.telemedicine h2 { margin: 17px 0 28px; }
.telemedicine img { width: 100%; max-width: 470px; height: auto; display: block; margin-left: auto; border-radius: 16px; box-shadow: var(--shadow); }

.skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: white; color: var(--navy-950); }
.skip:focus { top: 14px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 32px; min-height: auto; }
  .profile { padding: 27px; }
  .specialties .wrap { grid-template-columns: repeat(4,1fr); }
  .specialties .wrap > span { grid-column: 1 / -1; padding: 20px 0 4px; }
  .specialties a:first-of-type { border-left: 0; padding-left: 0; }
  .article-card { grid-column: span 3; }
  .article-card:first-child { grid-column: span 6; }
  .article-card:nth-child(4), .article-card:nth-child(5) { grid-column: span 3; }
  .reading-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 42px; }
  .clinic-grid { gap: 12px; }
  .clinic { padding: 22px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 34px); }
  .topline { font-size: 10px; }
  .topline .wrap { gap: 12px; }
  .header { min-height: 0; padding-block: 20px 10px; flex-direction: column; align-items: flex-start; }
  .brand strong { font-size: 22px; }
  .monogram { width: 47px; height: 47px; }
  .header nav { width: 100%; justify-content: space-between; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
  .header nav a { flex: 1; padding: 10px 7px; text-align: center; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 54px; }
  .hero::before { width: 330px; height: 330px; right: -220px; top: -150px; }
  h1 { font-size: clamp(42px,12vw,62px); letter-spacing: -.055em; }
  .hero-description { font-size: 17px; }
  .hero .text-link { margin-left: 14px; }
  .profile { border-radius: 18px; }
  .specialties .wrap { grid-template-columns: 1fr 1fr; padding-bottom: 14px; }
  .specialties .wrap > span { grid-column: span 2; }
  .specialties a, .specialties a:first-of-type { min-height: 65px; padding: 12px; border-left: 0; border-top: 1px solid rgba(9,39,53,.12); font-size: 15px; }
  .specialties a:nth-of-type(even) { border-left: 1px solid rgba(9,39,53,.12); }
  .section { padding-block: 58px; }
  .section-heading { display: block; }
  .section-heading > .text-link { margin-top: 20px; }
  .section h2 { font-size: 37px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card, .article-card:first-child, .article-card:nth-child(4), .article-card:nth-child(5) { grid-column: auto; min-height: 250px; padding: 24px; }
  .article-card:first-child h3 { font-size: 32px; }
  .clinic-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-section::after { font-size: 220px; }
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .footer-top > a:last-child { justify-self: start; }
  .footer-bottom { flex-direction: column; }
  .page-heading { padding-top: 24px; padding-bottom: 46px; }
  .page-heading::after { display: none; }
  .breadcrumbs { margin-bottom: 38px; font-size: 12px; }
  .reading-layout { grid-template-columns: 1fr; gap: 44px; padding-block: 50px 65px; }
  .original-content { font-size: 17px; line-height: 1.85; }
  .reading-aside { position: static; }
  .telemedicine { grid-template-columns: 1fr; gap: 35px; margin-top: 48px; padding: 26px; }
  .telemedicine img { margin: 0; }
}

@media (max-width: 390px) {
  .hero .text-link { display: block; margin: 18px 0 0; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .topline, .header, footer, .reading-aside, .contact-section, .skip { display: none; }
  .wrap { width: 100%; }
  .page-heading { background: white; box-shadow: none; color: black; padding-bottom: 25px; }
  .page-heading h1 { color: black; font-size: 28pt; }
  .reading-layout { display: block; padding-top: 20px; }
  .original-content { color: black; font-size: 12pt; }
}
