/* Lifelong: warm cream, deep navy, clay and sage */
:root {
  --cream: #faf6ef;
  --sand: #f1e9dc;
  --sand-2: #e6dac7;
  --navy: #1c2b3a;
  --navy-2: #253748;
  --ink: #1c2b3a;
  --muted: #5d6670;
  --clay: #a4553b;
  --clay-dark: #8c4530;
  --clay-soft: #f0d9cd;
  --sage: #7f9381;
  --sage-soft: #dfe6dc;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 22px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
em { font-style: italic; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .9); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--sand-2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: flex; align-items: center; justify-content: center; flex: none; white-space: nowrap; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--cream); font: 600 15px/1 var(--serif); letter-spacing: .02em; }
.brand-logo i { color: #e3a58e; font-style: normal; margin: 0 1px; }
.brand-name { font: 600 17px/1.15 var(--serif); }
.brand-name small { display: block; font: 500 12px/1.4 var(--sans); letter-spacing: .08em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:not(.pill):hover { color: var(--clay); }
.menu-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 99px; padding: 10px 20px; font: 500 14px var(--sans); cursor: pointer; }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.pill:hover { transform: translateY(-1px); }
.site-nav .pill { min-height: 42px; padding: 0 22px; }
.pill-dark { background: var(--navy); color: #fff; }
.pill-accent { background: var(--clay); color: #fff; }
.pill-accent:hover { background: var(--clay-dark); }
.pill-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.pill-outline:hover { background: var(--navy); color: #fff; }
.pill-light { background: var(--cream); color: var(--navy); margin-top: 26px; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--clay); text-decoration: none; border-bottom: 1.5px solid currentColor; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 99px; background: var(--sand); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.chip-light { background: rgba(255, 255, 255, .12); color: #fff; }
.overline { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.mini { font: 600 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 32px 0 16px; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.02; margin: 26px 0 26px; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { margin-top: 36px; font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.hero-badge { position: absolute; left: -24px; bottom: 40px; background: var(--clay); color: #fff; border-radius: 18px; padding: 18px 22px; font: italic 500 18px/1.3 var(--serif); box-shadow: 0 18px 40px -18px rgba(28, 43, 58, .5); }
.hero-badge span { display: block; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #e9edf1; }
.section-navy em { color: inherit; }
.section-navy .overline { color: #b6c6b6; }
.section-navy .mini { color: #aab5c0; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.center-head p:not(.overline) { color: var(--muted); margin-top: 18px; font-size: 18px; }
h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 14px; }

.pill-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; margin-top: 26px; }
.pill-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Surgical expertise */
.condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.condition { background: var(--cream); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.condition-num { font: 500 15px var(--serif); color: var(--clay); }
.condition h3 { font-size: 24px; margin: 10px 0 12px; }
.condition p { font-size: 15.5px; color: var(--muted); }
.condition .condition-how { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--sand-2); color: var(--ink); }
.condition p:not(.condition-how) { margin-bottom: 18px; }
.condition-how b { display: block; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }
.surgery-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: clamp(40px, 5vw, 64px); }
.fact { display: grid; grid-template-columns: 82px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px dashed var(--sand-2); font-size: 15px; }
.fact b { color: var(--clay); font-weight: 600; }
.live-surgery { margin-top: clamp(36px, 5vw, 56px); background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.live-surgery .mini { margin-top: 0; color: #b6c6b6; }
.live-surgery ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.live-surgery li { font: 500 18px/1.35 var(--serif); }
.live-surgery li span { display: block; font: 600 13px var(--sans); color: #e3a58e; margin-bottom: 6px; }
.live-surgery li small { display: block; font: 400 13.5px var(--sans); color: #aab5c0; margin-top: 6px; }

/* L.I.F.E. */
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.life-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--sand-2); transition: transform .3s, box-shadow .3s; }
.life-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(28, 43, 58, .45); }
.life-letter { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font: 500 30px/1 var(--serif); color: #fff; background: var(--navy); }
.life-card:nth-child(2) .life-letter { background: var(--clay); }
.life-card:nth-child(3) .life-letter { background: var(--sage); }
.life-card:nth-child(4) .life-letter { background: #c9a46a; }
.life-card h3 { font-size: 26px; margin: 22px 0 10px; }
.life-card p { font-size: 15.5px; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-grid > div > p { color: var(--muted); margin-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--cream); border: 1px solid var(--sand-2); border-radius: 99px; padding: 8px 16px; font-size: 14.5px; }
.about-side { display: grid; gap: 20px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 32px; }
.card .mini { margin-top: 0; }
.card-soft { background: var(--sage-soft); }
.card-soft p { color: var(--navy); font-size: 15.5px; }
.path li { display: grid; grid-template-columns: 82px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px dashed var(--sand-2); font-size: 15.5px; }
.path li:last-child { border-bottom: 0; }
.path b { color: var(--clay); font-weight: 600; }

/* Portrait */
.portrait-card { display: flex; align-items: center; gap: 22px; }
.portrait-card img { width: 112px; aspect-ratio: 296 / 396; object-fit: cover; border-radius: 999px 999px 16px 16px; flex: none; }
.portrait-name { font: 600 20px/1.2 var(--serif); }
.portrait-role { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* Speaking */
.speaking-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.speaking-head p:not(.overline) { color: var(--muted); margin-top: 20px; font-size: 18px; }
.panel-photo { margin-top: 28px; }
.panel-photo img { border-radius: var(--radius); width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; }
.panel-photo figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.swyppe-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rounded-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 15% 40%; }
.talk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 72px); }
.talk { background: var(--sand); border-radius: var(--radius); padding: 30px; }
.talk h3 { font-size: 22px; margin-bottom: 10px; }
.talk p { font-size: 15.5px; color: var(--muted); }
.talk:nth-child(3n+2) { background: var(--clay-soft); }
.talk:nth-child(3n) { background: var(--sage-soft); }
.recent { margin-top: clamp(48px, 6vw, 72px); }
.recent-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.event { scroll-snap-align: start; border: 1px solid var(--sand-2); border-radius: 18px; padding: 22px; background: #fff; }
.event span { font-size: 13px; font-weight: 600; color: var(--clay); }
.event p { font: 500 18px/1.3 var(--serif); margin: 8px 0 6px; }
.event small { font-size: 13.5px; color: var(--muted); }
.toolkit { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 40px; }
.toolkit h3 { font-size: 28px; }
.toolkit p { color: #c4ccd5; margin-top: 6px; }
.toolkit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.toolkit .pill-outline { border-color: #fff; color: #fff; }
.toolkit .pill-outline:hover { background: #fff; color: var(--navy); }

/* Research */
.swyppe { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); background: var(--navy-2); border-radius: 28px; padding: clamp(30px, 5vw, 60px); }
.swyppe h3 { font-size: clamp(52px, 7vw, 88px); margin-top: 20px; color: #fff; letter-spacing: .02em; }
.swyppe-sub { font: italic 400 19px/1.45 var(--serif); color: #e3a58e; margin-top: 10px; }
.swyppe p { color: #c4ccd5; }
.research-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.research-cards article { border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 26px; }
.research-cards h4 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.research-cards p { font-size: 15px; color: #aab5c0; }
.pub-block { margin-top: clamp(48px, 6vw, 72px); }
.pub-block li { padding: 14px 0 14px 66px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 16px; color: #e9edf1; }
.pub-block li span { position: absolute; left: 0; top: 14px; font: 600 15px var(--sans); color: #e3a58e; }
.pub-block i { color: #aab5c0; }
.section-navy .text-link { color: #e3a58e; }

/* Media & education */
.edu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edu-tile { aspect-ratio: 1; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.edu-tile span { font: 500 24px/1.15 var(--serif); }
.edu-tile p { font-size: 14.5px; margin-top: 8px; opacity: .85; }
.tile-clay { background: var(--clay); color: #fff; }
.tile-navy { background: var(--navy); color: #fff; }
.tile-sage { background: var(--sage); color: #fff; }
.tile-sand { background: var(--sand-2); color: var(--navy); }
.edu-note { text-align: center; font: italic 16px var(--serif); color: var(--muted); margin-top: 22px; }
.press-row { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.press-row ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.press-row li { font: 500 clamp(20px, 2vw, 26px) var(--serif); color: var(--navy); opacity: .8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-grid > div > p { margin-top: 18px; color: var(--muted); }
.mail { display: inline-block; margin-top: 24px; font: 500 clamp(22px, 2.4vw, 28px) var(--serif); text-decoration: none; color: var(--clay); border-bottom: 1.5px solid currentColor; word-break: break-word; }
.patient-note { margin-top: 36px; background: var(--cream); border-radius: 18px; padding: 24px 26px; border-left: 4px solid var(--sage); }
.patient-note h3 { font-size: 20px; margin-bottom: 8px; }
.patient-note p { font-size: 15.5px; color: var(--muted); }
.form { display: grid; gap: 6px; background: #fff; }
.form label { font-size: 14px; font-weight: 600; margin-top: 12px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--sand-2); border-radius: 14px; padding: 13px 16px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--clay); }
.form button { margin-top: 20px; justify-self: start; }
.form-hint, .form-status { font-size: 13.5px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #aab5c0; padding: 44px 0; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; align-items: center; }
.site-footer .brand-logo { background: var(--cream); color: var(--navy); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #aab5c0; letter-spacing: .04em; }

/* Reveal */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.can-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--gutter) 24px; background: var(--cream); box-shadow: 0 20px 30px -24px rgba(28, 43, 58, .4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 12px 4px; font-size: 18px; }
  .site-nav .pill { margin-top: 10px; }
  .hero-grid, .about-grid, .speaking-head, .swyppe, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-left: 24px; }
  .life-grid, .edu-grid { grid-template-columns: 1fr 1fr; }
  .talk-grid, .research-cards, .condition-grid, .surgery-facts { grid-template-columns: 1fr 1fr; }
  .live-surgery ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name small { display: none; }
  .life-grid, .talk-grid, .research-cards, .condition-grid, .surgery-facts { grid-template-columns: 1fr; }
  .portrait-card img { width: 88px; }
  .edu-grid { gap: 10px; }
  .edu-tile { padding: 18px; border-radius: 16px; }
  .edu-tile span { font-size: 19px; }
  .edu-tile p { font-size: 13px; }
  .hero-visual { margin-left: 16px; }
  .hero-badge { left: -16px; bottom: 24px; font-size: 16px; padding: 14px 18px; }
  .card, .toolkit { padding: 26px 22px; }
  .pill { width: 100%; }
  .site-nav .pill { width: auto; }
  .pub-block li { padding-left: 0; padding-top: 38px; }
  .path li { grid-template-columns: 1fr; gap: 0; }
}
