@font-face {
  font-family: Cormorant;
  src: url(../fonts/cormorant.woff2) format("woff2");
  font-display: swap;
}

@font-face {
  font-family: Cormorant;
  src: url(../fonts/cormorant-italic.woff2) format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url(../fonts/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ivory: #FAF7F2;
  --porcelain: #F0E8DF;
  --burgundy: #641C32;
  --wine: #3D1422;
  --champagne: #B99A72;
  --ink: #292526;
  --white: #FFFFFF;
  --muted: #61534F;
  --line: #DDCFC2;
  --line-strong: #95847C;
  --serif: Cormorant,Georgia,serif;
  --sans: Inter,Arial,sans-serif;
  --gutter: clamp(1.25rem,5vw,5.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-underline-offset: .25em;
}

button,input,textarea,select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .65;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 4px;
}

.dark :focus-visible,footer :focus-visible {
  outline-color: var(--porcelain);
}

.sr-only,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip:focus {
  position: fixed;
  z-index: 9;
  top: .6rem;
  left: .6rem;
  background: var(--white);
  padding: .6rem 1rem;
}

.wrap {
  width: min(100%,105rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.topbar,.footbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font: 1.42rem/1 var(--serif);
  color: var(--burgundy);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: clamp(.9rem,2vw,2rem);
  align-items: center;
}

.nav a {
  font-size: .86rem;
  text-decoration: none;
  padding: .6rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav a:is(:hover,[aria-current]) {
  border-color: var(--champagne);
}

.menu {
  display: none;
}

.crumb {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .84rem;
  color: var(--muted);
}

.crumb a {
  min-height: 24px;
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--burgundy);
  margin: 0 0 1.2rem;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(3.45rem,8vw,8.65rem);
}

h2 {
  font-size: clamp(2.55rem,5vw,5.4rem);
}

h3 {
  font-size: clamp(1.85rem,3vw,3.2rem);
  line-height: 1.04;
}

p {
  margin: 0 0 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.05rem,1.5vw,1.25rem);
  max-width: 46rem;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  align-items: center;
  gap: clamp(2rem,5vw,6rem);
  padding-block: clamp(2.4rem,5vw,5.2rem);
}

.hero h1 {
  margin-block: 1.6rem 1.3rem;
}

.hero h1 span {
  display: block;
}

.hero h1 i {
  font-weight: 400;
}

.role {
  font-weight: 500;
}

.tagline {
  font: italic clamp(1.65rem,3vw,2.9rem)/1.15 var(--serif);
  color: var(--burgundy);
  max-width: 27rem;
  margin-block: 1.6rem;
}

.hero-art {
  position: relative;
  margin: 0;
  max-width: 42rem;
  width: 100%;
  justify-self: end;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 6/7.1;
  object-fit: cover;
}

.hero-photo {
  aspect-ratio: 6/7.1;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: .75rem -.65rem -.65rem .75rem;
  border-right: 1px solid var(--champagne);
  border-bottom: 1px solid var(--champagne);
  pointer-events: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .62rem 1.15rem;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
  transition: background .22s,color .22s;
}

.primary,.button:hover {
  background: var(--burgundy);
  color: var(--white);
}

.primary:hover {
  background: var(--wine);
}

.text-link {
  font-weight: 600;
  font-size: .9rem;
  display: inline-block;
  padding-block: .4rem;
}

.rule {
  border-top: 1px solid var(--line);
}

.band {
  padding-block: clamp(3.3rem,7.2vw,8rem);
}

.paper {
  background: var(--white);
}

.dark {
  background: var(--burgundy);
  color: var(--ivory);
}

.dark :is(h2,h3,.eyebrow,.lede) {
  color: inherit;
}

.two {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(1.5rem,6vw,7rem);
  align-items: start;
}

.signature {
  font: italic 2.2rem/1.2 var(--serif);
  color: var(--burgundy);
  margin-top: 1.7rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1rem,3vw,3rem);
  margin-top: 2.4rem;
}

.focus-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1.45rem;
}

.focus-grid p,.record p {
  max-width: 40rem;
}

.page-title {
  padding-block: clamp(2rem,6vw,5.8rem);
}

.page-title h1 {
  max-width: 14ch;
}

.reading {
  max-width: 49rem;
}

.reading h2 {
  font-size: clamp(2rem,4vw,3.75rem);
  margin-top: 2.4rem;
}

.reading h2:first-child {
  margin-top: 0;
}

.record {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.record:last-child {
  border-bottom: 1px solid var(--line);
}

.record .eyebrow {
  letter-spacing: .09em;
}

.record h2 {
  font-size: clamp(2rem,4.2vw,4.4rem);
  max-width: 26ch;
}

.record details {
  margin-block: .85rem;
}

.record summary,.timeline summary {
  cursor: pointer;
  padding: .55rem 0;
  font-weight: 600;
}

.record details p {
  margin: .35rem 0 .75rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.65rem;
  border-left: 1px solid var(--champagne);
}

.timeline li {
  position: relative;
  margin-bottom: 1.7rem;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  position: absolute;
  content: "";
  width: .65rem;
  height: .65rem;
  background: var(--burgundy);
  border-radius: 50%;
  left: -2rem;
  top: 1.06rem;
}

.timeline summary h3 {
  display: inline;
  font-size: clamp(1.8rem,3.5vw,3.05rem);
}

.timeline details p {
  margin: .5rem 0;
}

.editorial {
  background: var(--porcelain);
}

.editorial .wrap {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 3rem;
  align-items: center;
}

.editorial img {
  max-height: 28rem;
  width: 100%;
  object-fit: cover;
}

.gallery {
  columns: 2;
  column-gap: 1.5rem;
}

.gallery figure {
  margin: 0 0 1.5rem;
  break-inside: avoid;
}

.gallery img {
  width: 100%;
  transition: filter .3s;
}

.gallery a:hover img {
  filter: brightness(.9);
}

.gallery figcaption {
  margin-top: .5rem;
}

.lightbox {
  color: var(--ivory);
  background: var(--wine);
  border: 1px solid var(--champagne);
  padding: 1rem;
  width: min(96vw,75rem);
  max-height: 95vh;
}

.lightbox::backdrop {
  background: color-mix(in srgb,var(--wine),transparent 9%);
}

.lightbox img {
  max-height: 70vh;
  margin: 1rem auto;
  object-fit: contain;
}

.lightbox-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.lightbox .button {
  color: inherit;
  border-color: var(--champagne);
}

.lightbox .button:focus-visible {
  outline-color: var(--porcelain);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.5rem;
}

.article-grid .featured {
  grid-column: 1/-1;
  background: var(--porcelain);
  padding-inline: clamp(1rem,3vw,3rem);
}

.filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.filters [aria-pressed=true] {
  background: var(--burgundy);
  color: var(--white);
}

form {
  max-width: 44rem;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: .32rem;
  align-content: start;
  min-width: 0;
}

.full {
  grid-column: 1/-1;
}

.field label {
  font-weight: 600;
}

input:not([type=checkbox]),select,textarea {
  min-width: 0;
  width: 100%;
  padding: .67rem .8rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  align-items: start;
  gap: .6rem;
}

.check input {
  margin-top: .38rem;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  accent-color: var(--burgundy);
}

.status {
  font-weight: 500;
  margin-top: 1rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  background: var(--wine);
  color: var(--ivory);
  padding-block: 2.4rem;
}

.footbar {
  align-items: start;
  min-height: auto;
  flex-wrap: wrap;
}

.footbar .brand {
  color: inherit;
  white-space: normal;
}

.footlinks {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.2rem;
}

.footlinks a {
  font-size: .875rem;
  padding: .25rem 0;
}

.small {
  font-size: .875rem;
}

.enter {
  animation: enter .65s ease both;
}

.hero-art.enter {
  animation-delay: .13s;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.revealed {
  animation: enter .48s ease both;
}

@media(max-width:68rem) {
  .topbar {
    min-height: 4.5rem;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
  }
  .masthead .brand {
    font-size: 1.26rem;
  }
  .enhanced .menu {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    background: none;
    border: 1px solid var(--line);
    color: var(--burgundy);
    padding: .3rem .7rem;
    font-size: .85rem;
  }
  .menu-mark {
    width: 1rem;
    position: relative;
    height: .65rem;
    border-block: 1px solid currentColor;
    transition: transform .2s;
  }
  .menu[aria-expanded=true] .menu-mark {
    transform: rotate(90deg);
  }
  .nav {
    flex-wrap: wrap;
    width: 100%;
    gap: .25rem 1.2rem;
    padding-bottom: .7rem;
  }
  .enhanced .nav {
    display: none;
  }
  .enhanced .nav.open {
    display: grid;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter);
    animation: enter .2s ease;
  }
  .enhanced .nav a {
    min-height: 44px;
  }
  .hero h1 {
    font-size: clamp(3.4rem,8.5vw,7rem);
  }
}

@media(max-width:46rem) {
  .hero,.two,.editorial .wrap,.focus-grid,.article-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-self: start;
    max-width: 31rem;
  }
  .hero h1 {
    font-size: clamp(3.4rem,11.5vw,5.5rem);
  }
  .focus-grid {
    gap: 1.6rem;
  }
  .gallery {
    columns: 1;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .page-title h1 {
    max-width: 100%;
  }
}

@media(max-width:23rem) {
  .masthead .brand {
    gap: .45rem;
    font-size: 1.06rem;
  }
  .masthead .brand img {
    width: 31px;
  }
  .hero h1 {
    font-size: clamp(2.85rem,12vw,3.45rem);
  }
}

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

/* Portfolio layout and shared identity */
.portfolio-page .masthead { border-color: color-mix(in srgb,var(--line),transparent 30%); }
.portfolio-page .topbar { min-height: 4.45rem; }
.portfolio-page .brand { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; }
.brand-logo { width: 43px; height: auto; }
.brand-night { display: none; }
.enhanced .home-page .masthead:not(.home-scrolled):not(:has(.menu[aria-expanded=true])) .brand-day { display: none; }
.enhanced .home-page .masthead:not(.home-scrolled):not(:has(.menu[aria-expanded=true])) .brand-night { display: block; }
.portfolio-page .nav { gap: clamp(.8rem,1.9vw,1.85rem); }
.portfolio-page .nav a { font-size: .84rem; font-weight: 500; }
.portfolio-page .nav a:is(:hover,[aria-current=page]) { border-color: currentColor; }
.portfolio-page .menu { border: 0; padding-inline: .35rem; }
.portfolio-page .eyebrow { font-weight: 500; letter-spacing: .095em; }
.portfolio-page .crumb { margin-top: 1.15rem; }
.portfolio-page .page-title { padding-block: clamp(2.4rem,6.7vw,6.5rem); }
.portfolio-page .band:not(.travel-stat-band) { padding-block: clamp(2.6rem,6vw,6.7rem); }
.portfolio-page .paper { background: var(--ivory); }
.portfolio-page a:not(.primary).button {
  border-color: transparent;
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: .32em;
}
.portfolio-page a:not(.primary).button:hover { color: var(--wine); background: transparent; }
.portfolio-page .button.primary { border-radius: 1px; }
.portfolio-page .text-link { font-weight: 500; color: var(--burgundy); }
.portfolio-page .dark .text-link { color: var(--ivory); }
.portfolio-page .gallery figure img { border-radius: 0; }
.portfolio-art {
  width: clamp(6rem,18vw,13rem) !important;
  height: auto;
  margin-inline: auto;
  object-fit: contain !important;
}
.portfolio-page footer { padding-block: 2rem; background: var(--wine); color: var(--ivory); }
.portfolio-page .footbar { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .8rem 2rem; align-items: center; }
.portfolio-page .footlinks { justify-content: flex-end; }
.portfolio-page .footlinks a { text-decoration: none; }
.portfolio-page .footlinks a:hover { text-decoration: underline; }
.portfolio-page .copyright { grid-column: 2; text-align: right; margin: 0; color: var(--porcelain); font-size: .78rem; }
.portfolio-page .closing-note { background: var(--wine); }
.portfolio-page .closing-note .primary { background: var(--ivory); color: var(--wine); border-color: var(--ivory); }
.portfolio-page .closing-note .primary:hover { background: var(--porcelain); }
.portfolio-page .home-profile .two { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; }
.portfolio-page .home-profile h2 { max-width: 11ch; }
.portfolio-page .home-profile .lede { max-width: 43ch; font-size: clamp(1.12rem,1.8vw,1.35rem); }
.portfolio-page .home-focus { background: var(--porcelain); }
.portfolio-page .home-focus > .wrap { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr); align-items: start; gap: 2rem; }
.portfolio-page .home-focus .focus-grid { margin: 0; }
.portfolio-page .home-focus h3 { font-size: clamp(1.6rem,2.9vw,2.55rem); }
.portfolio-page .home-publications { background: var(--porcelain); }
.portfolio-page .timeline { padding-left: 0; border: 0; }
.portfolio-page .timeline li { padding: 1rem 0; margin: 0; border-top: 1px solid var(--line); }
.portfolio-page .timeline li::before { display: none; }
.portfolio-page .timeline li:last-child { border-bottom: 1px solid var(--line); }
.portfolio-page .timeline .eyebrow { margin-bottom: .35rem; }
.portfolio-page .timeline summary h3 { margin-left: .25rem; }
.page-research .record h2 { max-width: 24ch; }
.page-research .record > .eyebrow { color: var(--burgundy); }
.page-about .reading .lede { font: 400 clamp(1.55rem,3.1vw,2.35rem)/1.18 var(--serif); color: var(--burgundy); }
.page-medical-education .reading { margin-inline: auto; }
:is(.page-privacy,.page-terms,.page-disclaimer) .reading { margin-inline: auto; }
.page-contact .fields :is(input:not([type=checkbox]),select,textarea) { background: var(--white); }
.page-contact .fields { gap: 1.1rem 1.3rem; }
.portfolio-page .destination-card { background: transparent; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.portfolio-page .destination-card:is(:hover,.selected,:focus-within) { background: var(--porcelain); border-color: var(--burgundy); }
.portfolio-page .destination-card h4 { font-size: clamp(1.3rem,2vw,1.65rem); }
.portfolio-page .map-shell { border-color: var(--line); }
.portfolio-page .travel-stats strong { color: var(--burgundy); }
.portfolio-page .travel-stat-band { padding-block: clamp(2rem,4.5vw,4rem); }

@media (max-width: 46rem) {
  .portfolio-page .topbar { min-height: 4.15rem; }
  .brand-logo { width: 37px; }
  .portfolio-page .home-profile .two, .portfolio-page .home-focus > .wrap { grid-template-columns: 1fr; }
  .portfolio-page .footbar { align-items: start; gap: 1rem; }
  .portfolio-page .footlinks { justify-content: flex-start; }
  .portfolio-page .copyright { text-align: left; }
}