:root {
  --ink: #17313e;
  --ink-soft: #506671;
  --paper: #f5f3ed;
  --surface: #ffffff;
  --line: #d9dfdc;
  --accent: #137d78;
  --accent-dark: #0e615f;
  --accent-pale: #dcecea;
  --warm: #d78158;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 49, 62, 0.09);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(245, 243, 237, 0.94);
  border-bottom: 1px solid rgba(23, 49, 62, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  line-height: 1.05;
}

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

.brand b {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 600;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--accent);
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--accent-pale);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-accent):hover {
  color: var(--accent);
}

.nav-accent {
  padding: 10px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}

.nav-accent:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro {
  padding: clamp(38px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}

.intro h1 {
  max-width: 800px;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}

.intro-copy {
  padding-bottom: 7px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

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

.articles-section,
.author-section,
.clinic-section,
.related {
  padding: clamp(70px, 10vw, 130px) 0;
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.section-heading-row > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 24px;
}

.post-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(23, 49, 62, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 49, 62, 0.04);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

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

.post-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.post-image {
  display: block;
  overflow: hidden;
  background: var(--accent-pale);
}

.post-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 450ms ease;
}

.post-card:hover .post-image img {
  transform: scale(1.025);
}

.post-card-featured .post-image img {
  height: 100%;
  min-height: 430px;
  aspect-ratio: auto;
}

.post-content {
  padding: clamp(24px, 4vw, 42px);
}

.post-card-featured .post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.77rem;
  letter-spacing: 0.03em;
}

.post-meta span {
  color: var(--accent-dark);
  font-weight: 750;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 17px;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.author-section {
  color: #fff;
  background: var(--ink);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.author-portrait {
  overflow: hidden;
  border-radius: var(--radius);
}

.author-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
}

.author-copy .eyebrow {
  color: #8ed1c9;
}

.author-copy h2 {
  margin-bottom: 28px;
}

.author-lead {
  max-width: 650px;
  color: #eef5f4;
  font-size: 1.22rem;
}

.author-copy > p:not(.eyebrow):not(.author-lead) {
  color: #bfd0d5;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 38px 0;
}

.credentials div {
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.credentials dt {
  margin-bottom: 7px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.credentials dd {
  margin: 0;
  color: #bfd0d5;
  font-size: 0.78rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 49px;
  padding: 11px 20px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
}

.button-small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.82rem;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(230px, 330px));
  gap: 18px;
}

.clinic-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.clinic-gallery .gallery-tall {
  grid-row: 1 / 3;
}

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

.clinic-gallery .gallery-tall img {
  object-position: 50% 20%;
}

.article-shell {
  padding-top: 44px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(220px, 1fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: start;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 60px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.breadcrumbs a {
  text-underline-offset: 4px;
}

.article-header {
  margin-bottom: 36px;
}

.article-header h1 {
  margin-bottom: 28px;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.article-meta a {
  color: var(--accent-dark);
  font-weight: 650;
  text-underline-offset: 4px;
}

.medical-note,
.update-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  color: #31535d;
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
}

.update-note {
  color: #664633;
  background: #f5e6d9;
  border-color: var(--warm);
}

.article-body {
  padding-bottom: 60px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.78;
}

.article-body > p:first-child {
  color: #294854;
  font-size: 1.12em;
}

.article-body h2 {
  margin: 2.1em 0 0.65em;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.article-body ul,
.article-body ol {
  margin: 1.3em 0;
  padding-left: 1.4em;
}

.article-body li {
  margin-bottom: 0.65em;
}

.article-body li p {
  margin: 0;
}

.article-body strong {
  color: #102f3b;
}

.article-figure {
  margin: 2.2em 0;
  overflow: hidden;
  background: #e4ebe8;
  border-radius: var(--radius);
}

.article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-aside {
  position: sticky;
  top: 112px;
  padding-top: 152px;
}

.aside-box {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-box p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.author-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 20px 0 90px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.author-card img {
  width: 150px;
  height: 178px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 12px;
}

.author-card h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.author-card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.related {
  background: #e9eeea;
}

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

.related-card {
  display: flex;
  min-height: 190px;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.related-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.related-card small {
  color: var(--accent-dark);
  font-weight: 700;
}

.legal-page {
  max-width: 820px;
  padding-top: 50px;
  padding-bottom: 110px;
}

.legal-page h1 {
  margin-bottom: 35px;
}

.legal-page h2 {
  margin: 1.8em 0 0.55em;
  font-size: 1.55rem;
}

.legal-page p {
  color: var(--ink-soft);
}

.legal-lead {
  color: var(--ink) !important;
  font-size: 1.18rem;
}

.legal-date {
  margin-top: 50px;
  font-size: 0.85rem;
}

.not-found {
  min-height: 67vh;
  display: flex;
  padding-block: 90px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 15px;
}

.not-found p:not(.error-code) {
  color: var(--ink-soft);
}

.error-code {
  margin: 0;
  color: var(--accent);
  font: 700 clamp(4rem, 14vw, 9rem)/1 Georgia, serif;
}

.site-footer {
  padding: 62px 0;
  color: #c9d5d9;
  background: #102b37;
  font-size: 0.84rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 1fr;
  gap: 60px;
}

.footer-grid p {
  max-width: 430px;
  margin-bottom: 8px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 13px;
  color: #fff;
  font: 500 1.4rem/1.2 Georgia, serif;
  text-decoration: none;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid nav a {
  color: #fff;
  text-underline-offset: 4px;
}

.footer-note {
  text-align: right;
}

.privacy-notice {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 930px;
  margin-inline: auto;
  padding: 19px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #eaf3f2;
  background: #102f3b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(13, 37, 47, 0.28);
}

.privacy-notice[hidden] {
  display: none;
}

.privacy-notice p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.privacy-notice a {
  color: #9cddd5;
  text-underline-offset: 3px;
}

.privacy-notice button {
  min-width: 112px;
  min-height: 43px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}

.privacy-notice button:hover {
  background: #dff0ed;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    min-height: calc(100vh - 76px);
    padding: 35px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 15px 8px;
    font-size: 1.15rem;
  }

  .nav-accent {
    margin-top: 14px;
    text-align: center;
  }

  .intro-grid,
  .author-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 650px;
  }

  .article-aside {
    display: none;
  }

  .article-main {
    max-width: 780px;
  }

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

  .related-card {
    min-height: 145px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand b {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .site-nav {
    top: 70px;
    min-height: calc(100vh - 70px);
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .post-card-featured {
    display: block;
  }

  .post-card-featured .post-image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .post-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

  .credentials div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
  }

  .credentials dt {
    margin: 0;
  }

  .clinic-gallery {
    display: block;
  }

  .clinic-gallery figure {
    height: 300px;
    margin-bottom: 14px;
  }

  .article-shell {
    padding-top: 28px;
  }

  .breadcrumbs {
    margin-bottom: 38px;
  }

  .author-card {
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 18px;
  }

  .author-card img {
    width: 90px;
    height: 120px;
  }

  .author-card h2 {
    font-size: 1.35rem;
  }

  .author-card p:not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-note {
    text-align: left;
  }

  .privacy-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
