:root {
  --cream: #f8f1ea;
  --paper: #fcf8f4;
  --ink: #211b19;
  --muted: #746b67;
  --line: #ded5ce;
  --accent: #7d3f4b;
  --accent-dark: #632f3a;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --shadow: 0 22px 48px rgba(52, 30, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.6rem; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: var(--ink); color: var(--cream); padding: .7rem 1rem; border-radius: .25rem; transition: top .2s ease; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 241, 234, .92); border-bottom: 1px solid rgba(125, 63, 75, .12); backdrop-filter: blur(16px); }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: 0 0 auto; }
.wordmark span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--cream); font-family: var(--display); font-size: .85rem; font-weight: 700; letter-spacing: -.04em; }
.wordmark em { font-family: var(--display); font-size: 1.03rem; font-style: normal; font-weight: 600; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.65rem); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(2.5rem, 7vw, 8rem); min-height: min(730px, calc(100vh - 70px)); padding: clamp(4.25rem, 8vw, 7.5rem) 0 5rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.05rem; color: var(--accent); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin-bottom: 1.45rem; max-width: 660px; font-size: clamp(4.15rem, 8vw, 7.8rem); font-weight: 600; letter-spacing: -.075em; line-height: .84; }
.hero h1 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.055em; line-height: .82; }
h1 i, h2 i, h3 i { color: var(--accent); font-weight: 500; }
.hero h1 i { font-weight: 400; }
.hero-tagline { max-width: 510px; margin-bottom: 1.75rem; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 46px; padding: .8rem 1.05rem; border: 1px solid transparent; border-radius: 2px; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: var(--cream); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: var(--ink); color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { margin: 1.4rem 0 0; color: var(--muted); font-size: .78rem; }
.portrait-composition { position: relative; width: min(100%, 410px); justify-self: center; padding: 1.25rem 1.25rem 0 0; }
.portrait-backdrop { position: absolute; top: -1.9rem; right: -1.7rem; bottom: 2.4rem; left: 2rem; background: rgba(125, 63, 75, .56); }
.portrait-frame { position: relative; z-index: 1; margin: 0; overflow: hidden; background: #eadfd5; box-shadow: var(--shadow); }
.portrait-frame img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.portrait-frame figcaption { padding: .85rem 1rem; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: .85rem; line-height: 1.2; }
.portrait-frame figcaption span { display: block; margin-top: .25rem; color: var(--muted); font-family: var(--body); font-size: .61rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.portrait-stamp { position: absolute; z-index: 2; right: -2rem; bottom: -.65rem; width: 92px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--cream); transform: rotate(11deg); }
.portrait-stamp span { color: var(--accent); font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.portrait-stamp small { font-size: .56rem; font-weight: 700; letter-spacing: .12em; }

.intro-band { background: var(--ink); color: var(--cream); overflow: hidden; }
.intro-band-inner { display: flex; justify-content: space-between; gap: .7rem; padding: 1.05rem 0; font-family: var(--display); font-size: clamp(.92rem, 1.65vw, 1.25rem); font-style: italic; white-space: nowrap; }
.intro-band b { color: var(--cream); }
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-kicker { display: flex; align-items: center; gap: .85rem; color: var(--accent); }
.section-kicker span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .66rem; font-weight: 700; }
.section-kicker p { margin: 0; font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(2.55rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.06em; line-height: .96; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(285px, .72fr) minmax(220px, .48fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: end; margin-top: clamp(2.5rem, 6vw, 5.5rem); }
.lead { max-width: 750px; margin: 1.55rem 0 0; font-size: clamp(1.03rem, 1.55vw, 1.25rem); line-height: 1.75; }
.about-photo-collage { position: relative; width: min(100%, 385px); height: clamp(345px, 31vw, 420px); justify-self: center; isolation: isolate; }
.collage-photo { position: absolute; margin: 0; overflow: hidden; border: 5px solid var(--paper); background: var(--line); box-shadow: 10px 12px 0 rgba(125, 63, 75, .14); }
.collage-photo img { display: block; width: 100%; height: auto; }
.collage-photo-italy { z-index: 1; left: 0; bottom: 0; width: 65%; }
.collage-photo-santa { z-index: 3; top: 0; right: 0; width: 46%; transform: rotate(3deg); }
.collage-photo-harker { z-index: 4; right: 8%; bottom: 2%; width: 35%; transform: rotate(-4deg); }
.quick-facts { padding: 1.45rem 0 0; border-top: 2px solid var(--accent); }
.mini-label { margin: 0 0 .7rem; color: var(--accent); font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.quick-facts ul { margin: 0; padding: 0; list-style: none; }
.quick-facts li { display: flex; flex-direction: column; gap: .05rem; padding: .72rem 0; border-top: 1px solid var(--line); }
.quick-facts li:first-child { border-top: 0; }
.quick-facts strong { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.quick-facts span { color: var(--muted); font-size: .75rem; }
.education-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: clamp(2.75rem, 6vw, 5rem); }
.education-card { min-height: 290px; display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--paper); }
.featured-education { background: var(--accent); color: var(--cream); border-color: var(--accent); }
.education-top, .education-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.featured-education .education-top, .featured-education .education-meta { color: rgba(248, 241, 234, .8); }
.education-card h3 { margin: auto 0 .3rem; font-size: clamp(1.55rem, 2.5vw, 2.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.education-card .school { margin-bottom: .8rem; color: var(--accent); font-size: .83rem; font-weight: 700; }
.featured-education .school { color: var(--cream); }
.education-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: auto 0 .8rem; }
.education-card-heading h3 { margin: 0 0 .3rem; }
.education-card-heading .school { margin: 0; }
.education-logo { width: clamp(44px, 5vw, 60px); aspect-ratio: 1; flex: 0 0 auto; object-fit: cover; border: 1px solid rgba(33, 27, 25, .18); box-shadow: 4px 4px 0 rgba(33, 27, 25, .1); }
.featured-education .education-logo { border-color: rgba(248, 241, 234, .48); box-shadow: 4px 4px 0 rgba(248, 241, 234, .18); }
.education-card > p:not(.school):not(.involvement-line) { margin-bottom: 1rem; color: var(--muted); font-size: .83rem; }
.featured-education > p:not(.school):not(.involvement-line) { color: rgba(248, 241, 234, .9); }
.education-meta { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.featured-education .education-meta { border-color: rgba(255,255,255,.24); }
.involvement-line { margin: .85rem 0 0; color: rgba(248, 241, 234, .9); font-size: .7rem; line-height: 1.5; }

.experience-section { background: #f1e7de; }
.section-heading-row { display: grid; grid-template-columns: minmax(120px, .45fr) minmax(0, 1.3fr); gap: 2rem; align-items: start; }
.experience-timeline { margin-top: clamp(3.5rem, 7vw, 6rem); }
.experience-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: clamp(1rem, 4vw, 5rem); padding: 1.7rem 0; border-top: 1px solid rgba(33,27,25,.18); transition: padding .25s ease; }
.experience-item:last-child { border-bottom: 1px solid rgba(33,27,25,.18); }
.experience-item:hover { padding-left: .7rem; }
.experience-date { display: flex; flex-direction: column; gap: .1rem; color: var(--muted); font-size: .71rem; letter-spacing: .04em; }
.experience-date b { color: var(--accent); font-weight: 700; }
.experience-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.experience-brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.experience-logo-frame { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(33, 27, 25, .16); background: var(--paper); padding: 4px; }
.experience-logo-frame--wordmark { width: 76px; }
.experience-logo-frame--teaspoon { border-color: var(--ink); background: var(--ink); padding: 5px; }
.experience-logo-frame--curlosophy { border-radius: 50%; padding: 0; }
.experience-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.company { margin: 0 0 .27rem; color: var(--accent); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.experience-heading h3 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2.15rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.location { margin: .15rem 0 0; color: var(--muted); font-size: .75rem; text-align: right; white-space: nowrap; }
.experience-main ul { max-width: 760px; margin: 1rem 0 0; padding: 0 0 0 1rem; }
.experience-main li { margin-bottom: .35rem; padding-left: .25rem; font-size: .87rem; }
.experience-main li::marker { color: var(--accent); }

.curlosophy-section { background: var(--accent); color: var(--cream); overflow: hidden; }
.curlosophy-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, 1.15fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.section-kicker-light { color: var(--cream); }
.curlosophy-copy > .mini-label { margin: 2.5rem 0 .85rem; color: rgba(248, 241, 234, .82); }
.curlosophy-copy > p:not(.mini-label) { max-width: 515px; margin: 1.55rem 0 1.25rem; color: rgba(248, 241, 234, .9); font-size: 1rem; line-height: 1.75; }
.text-link { display: inline-flex; gap: .7rem; border-bottom: 1px solid currentColor; padding-bottom: .22rem; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-decoration: none; }
.light-link { color: var(--cream); }
.curlosophy-gallery { display: grid; grid-template-columns: 1.06fr .74fr; gap: 1rem; align-items: end; }
.photo-card { margin: 0; overflow: hidden; background: #efe4da; box-shadow: 0 18px 40px rgba(45,16,22,.25); }
.photo-card-tall { transform: translateY(-1.6rem); }
.photo-card img { width: 100%; object-fit: cover; }
.photo-card-tall img { aspect-ratio: 4/5; }
.photo-card-short img { aspect-ratio: 4/4.7; }
.photo-card figcaption { display: flex; flex-direction: column; gap: .1rem; padding: .75rem .8rem; color: var(--ink); font-family: var(--display); font-size: .84rem; line-height: 1.2; }
.photo-card figcaption span { color: var(--muted); font-family: var(--body); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3.5rem, 7vw, 5rem); background: var(--line); border: 1px solid var(--line); }
.leadership-card { min-height: 310px; display: flex; flex-direction: column; padding: clamp(1.35rem, 2.5vw, 2rem); background: var(--cream); transition: background .2s ease, transform .2s ease; }
.leadership-card:hover { position: relative; z-index: 1; background: var(--paper); box-shadow: var(--shadow); transform: translateY(-5px); }
.card-number { color: var(--accent); font-family: var(--display); font-size: 1.1rem; }
.card-date { margin: .85rem 0 1.45rem; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.leadership-card h3 { margin: 0; font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.card-role { margin: .75rem 0 .85rem; color: var(--accent); font-size: .76rem; font-weight: 700; line-height: 1.4; }
.leadership-card > p:last-child { margin: auto 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.university-card { background: var(--accent); color: var(--cream); }
.university-card .card-number, .university-card .card-date { color: rgba(248, 241, 234, .82); }
.university-card .card-role { color: var(--cream); }
.university-card > p:last-child { color: rgba(248, 241, 234, .9); }

.skills-section { border-top: 1px solid var(--line); }
.skills-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 8vw, 8rem); }
.skills-heading .section-kicker { margin-bottom: 2rem; }
.skills-content { padding-top: .25rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill-list span { display: inline-flex; align-items: center; min-height: 36px; padding: .46rem .8rem; border: 1px solid #cfbeb6; border-radius: 999px; color: var(--ink); font-size: .75rem; font-weight: 600; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pill-list span:hover { border-color: var(--accent); background: var(--accent); color: var(--cream); }
.interest-line { margin-top: 2.2rem; padding-top: 1.55rem; border-top: 1px solid var(--line); }
.interest-line p:last-child { margin: 0; color: var(--muted); font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.35rem); font-style: italic; line-height: 1.65; }
.interest-line b { color: var(--accent); font-style: normal; }

.contact-section { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.contact-section::before, .contact-section::after { position: absolute; content: ''; border: 1px solid rgba(125, 63, 75, .55); border-radius: 50%; }
.contact-section::before { width: min(60vw, 730px); height: min(60vw, 730px); top: -44%; right: -11%; }
.contact-section::after { width: min(36vw, 470px); height: min(36vw, 470px); bottom: -41%; left: 6%; }
.contact-inner { position: relative; z-index: 1; padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.eyebrow-light { justify-content: center; color: rgba(248, 241, 234, .86); }
.contact-inner h2 { font-size: clamp(4rem, 9vw, 8.5rem); }
.contact-inner > p:not(.eyebrow):not(.contact-location) { max-width: 550px; margin: 1.4rem auto 1.75rem; color: #ded3cd; font-size: 1.02rem; }
.contact-actions { justify-content: center; }
.button-cream { background: var(--cream); color: var(--accent); }
.button-cream:hover { background: #f1dfd5; }
.button-outline-light { border-color: rgba(255,255,255,.7); color: var(--cream); }
.button-outline-light:hover { border-color: var(--cream); color: var(--cream); }
.contact-location { margin: 1.55rem 0 0; color: #b7a39e; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer { background: var(--ink); color: #b7a39e; border-top: 1px solid rgba(255,255,255,.13); }
.site-footer > div { display: flex; justify-content: space-between; padding: 1.25rem 0; font-size: .67rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.site-footer a { color: var(--cream); text-decoration: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal-delay-1 { transition-delay: .12s; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.contact-section :focus-visible { outline-color: var(--cream); }

@media (max-width: 880px) {
  .nav { gap: 1rem; }
  .wordmark em { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 2.5rem; }
  .portrait-composition { width: min(100%, 335px); }
  .about-layout, .curlosophy-layout, .skills-layout { grid-template-columns: 1fr; }
  .about-photo-collage { width: min(100%, 390px); height: 420px; justify-self: start; }
  .quick-facts { max-width: 540px; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1180px); }
  .nav { min-height: 61px; }
  .nav-links { width: 100%; gap: 1rem; }
  .nav-links a { font-size: .66rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4.1rem 0 4.6rem; }
  h1 { font-size: clamp(4rem, 19vw, 5.8rem); }
  .portrait-composition { width: min(79vw, 350px); justify-self: start; margin: 1rem 0 0 .7rem; }
  .portrait-stamp { right: -1.4rem; width: 78px; height: 78px; }
  .intro-band-inner { justify-content: flex-start; overflow-x: auto; }
  .about-photo-collage { width: min(100%, 350px); height: 385px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 2rem; }
  .education-grid { grid-template-columns: 1fr; }
  .education-card { min-height: 250px; }
  .experience-item { grid-template-columns: 1fr; gap: .55rem; padding: 1.45rem 0; }
  .experience-item:hover { padding-left: 0; }
  .experience-date { flex-direction: row; gap: .45rem; }
  .experience-date b::before { content: '— '; color: var(--muted); }
  .experience-heading { flex-direction: column; gap: .5rem; }
  .location { margin: 0; text-align: left; }
  .curlosophy-gallery { width: calc(100% - .75rem); margin-left: .25rem; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-card { min-height: 255px; }
  .site-footer > div { gap: 1rem; }
}

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