:root {
  --green-950: #071e18;
  --green-900: #0b2b21;
  --green-800: #123d2f;
  --green-700: #1c5843;
  --gold-500: #c6a15b;
  --gold-300: #e2c98f;
  --ivory: #f6f0e3;
  --paper: #fffaf0;
  --white: #ffffff;
  --ink: #171b18;
  --muted: #5f665f;
  --line: rgba(23, 27, 24, .15);
  --shadow: 0 24px 70px rgba(5, 24, 18, .17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; color: var(--white); background: var(--green-950); border-radius: .25rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 30, 24, .94); color: var(--white); border-bottom: 1px solid rgba(226, 201, 143, .24); backdrop-filter: blur(14px); }
.nav-shell { width: min(1180px, calc(100% - 2rem)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--green-950); background: var(--gold-300); border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .03em; }
.brand small { display: block; margin-top: .25rem; color: rgba(255,255,255,.68); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a { color: rgba(255,255,255,.82); font-size: .83rem; font-weight: 650; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--gold-300); }
.nav-cta { padding: .65rem .9rem; color: var(--green-950); background: var(--gold-300); border-radius: 999px; }
nav .nav-cta:hover, nav .nav-cta:focus-visible { color: var(--green-950); background: var(--white); }
.nav-toggle { display: none; position: relative; width: 46px; height: 42px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: .3rem; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.hero { position: relative; min-height: 720px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding: clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1180px) / 2)); color: var(--white); background: radial-gradient(circle at 75% 25%, rgba(198,161,91,.12), transparent 28%), linear-gradient(135deg, var(--green-950), var(--green-800)); }
.hero::after { content: ""; position: absolute; right: -8rem; bottom: -14rem; width: 38rem; height: 38rem; border: 1px solid rgba(226,201,143,.18); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(226,201,143,.025), 0 0 0 10rem rgba(226,201,143,.02); }
.hero-copy, .hero-portrait { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 .85rem; color: var(--gold-500); font-size: .76rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7.3vw, 7rem); font-weight: 400; letter-spacing: -.045em; line-height: .88; }
.hero h1 em { color: var(--gold-300); font-weight: 400; }
.hero-deck { max-width: 690px; margin: 2rem 0 0; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 2px; font-size: .79rem; font-weight: 800; letter-spacing: .1em; line-height: 1.25; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--green-950); background: var(--gold-300); }
.button-gold:hover { background: var(--white); }
.text-link { color: var(--gold-300); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: .3rem; transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.hero-portrait { justify-self: end; width: min(100%, 380px); margin: 0; }
.portrait-frame { padding: 12px; background: var(--paper); box-shadow: 0 34px 90px rgba(0,0,0,.42); transform: rotate(1.5deg); }
.portrait-frame img { width: 100%; filter: contrast(1.04); }
.hero-portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.25rem; padding: 0 .5rem; }
.hero-portrait figcaption span { color: var(--gold-300); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.hero-portrait figcaption small { color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-suit { position: absolute; z-index: 1; color: rgba(255,255,255,.03); font-family: var(--serif); font-size: 24rem; line-height: 1; }
.suit-one { left: -6rem; bottom: -7rem; }
.suit-two { right: 17%; top: -7rem; color: rgba(198,161,91,.035); }

.companion { position: relative; z-index: 3; width: min(1100px, calc(100% - 2rem)); margin: -52px auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem 2.2rem; color: var(--green-950); background: var(--gold-300); box-shadow: var(--shadow); }
.companion-symbol { display: grid; place-items: center; width: 80px; height: 80px; color: var(--gold-300); background: var(--green-950); border-radius: 50%; font-family: var(--serif); font-size: 2rem; font-style: italic; }
.companion .eyebrow { color: rgba(7,30,24,.63); }
.companion h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
.companion p:not(.eyebrow) { max-width: 700px; margin: .65rem 0 0; line-height: 1.55; }
.button-dark { color: var(--white); background: var(--green-950); }
.button-dark:hover { background: var(--green-800); }

.story-section, .gallery-section { width: min(1100px, calc(100% - 2rem)); margin: auto; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.section-heading > p:last-child { max-width: 650px; margin: 1.3rem auto 0; color: var(--muted); font-size: 1.05rem; }
.prose-card { position: relative; max-width: 900px; margin: auto; padding: clamp(2rem, 5vw, 4.5rem); background: var(--paper); border: 1px solid rgba(198,161,91,.35); box-shadow: 0 18px 55px rgba(42,32,17,.08); }
.prose-card > p:first-of-type { font-family: var(--serif); font-size: 1.35rem; line-height: 1.65; }
.prose-card p, .prose p { margin: 0 0 1.35rem; }
.opening-mark { position: absolute; right: 2.4rem; top: .6rem; color: rgba(198,161,91,.18); font-family: var(--serif); font-size: 8rem; line-height: 1; }
.continued-story { margin-top: 2rem; border-top: 1px solid var(--line); }
.continued-story summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 68px; color: var(--green-800); cursor: pointer; font-weight: 800; letter-spacing: .025em; list-style: none; }
.continued-story summary::-webkit-details-marker { display: none; }
.continued-story summary b { font-family: var(--serif); font-size: 2rem; font-weight: 400; transition: transform .2s; }
.continued-story[open] summary b { transform: rotate(45deg); }
.continuation { padding-top: 1.8rem; border-top: 1px solid var(--line); }

.biography-section { display: grid; grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.bio-aside { position: sticky; top: 110px; }
.bio-aside img { width: 100%; padding: 10px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.bio-aside p { margin: 1.4rem 0 0; color: var(--muted); text-align: center; }
.bio-aside strong { color: var(--green-900); font-family: var(--serif); font-size: 1.15rem; }
.align-left { margin-left: 0; text-align: left; }
.align-left > p:last-child { margin-left: 0; }
.bio-lead > p:first-child { font-family: var(--serif); font-size: 1.3rem; line-height: 1.65; }
.biography-details { margin-top: 2.5rem; }

.resume-section { padding: clamp(5rem, 10vw, 8.5rem) max(2rem, calc((100vw - 1100px) / 2)); color: var(--white); background: linear-gradient(145deg, var(--green-950), var(--green-800)); }
.light-heading h2 { color: var(--white); }
.light-heading > p:last-child { color: rgba(255,255,255,.65); }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3.5rem 0 5rem; }
.education-grid article { min-height: 210px; padding: 1.8rem; border: 1px solid rgba(226,201,143,.27); background: rgba(255,255,255,.04); }
.education-grid span, .timeline time { color: var(--gold-300); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.education-grid h3, .timeline h3 { margin: .7rem 0 .45rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.education-grid p { margin: 0; color: rgba(255,255,255,.65); }
.timeline { max-width: 900px; margin: auto; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 2rem; padding: 0 0 3rem 2.1rem; border-left: 1px solid rgba(226,201,143,.32); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .35rem; width: 11px; height: 11px; background: var(--gold-300); border-radius: 50%; box-shadow: 0 0 0 6px var(--green-900); }
.timeline h3 { margin-top: 0; }
.timeline p { margin: .5rem 0 0; color: rgba(255,255,255,.65); }

.gallery-section { width: min(1220px, calc(100% - 2rem)); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery-card { position: relative; min-height: 310px; overflow: hidden; padding: 0; color: var(--white); background: var(--green-950); border: 0; cursor: zoom-in; text-align: left; }
.gallery-card.landscape { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .45s; }
.gallery-card span { position: absolute; inset: auto 0 0; padding: 3rem 1.2rem 1rem; background: linear-gradient(transparent, rgba(4,20,15,.9)); font-size: .84rem; font-weight: 700; line-height: 1.35; transform: translateY(.25rem); transition: transform .3s; }
.gallery-card:hover img, .gallery-card:focus-visible img { filter: saturate(.85) contrast(1.07); transform: scale(1.035); }
.gallery-card:hover span, .gallery-card:focus-visible span { transform: translateY(0); }
.gallery-card:focus-visible { outline: 4px solid var(--gold-500); outline-offset: 3px; }

.legacy-note { width: min(1100px, calc(100% - 2rem)); margin: 0 auto clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 2.4rem; padding: 2rem 2.4rem; background: var(--paper); border-top: 4px solid var(--gold-500); box-shadow: 0 16px 50px rgba(42,32,17,.08); }
.legacy-note img { width: 120px; transform: rotate(-4deg); }
.legacy-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.legacy-note p:not(.eyebrow) { margin: .7rem 0 0; color: var(--muted); line-height: 1.6; }
.dark-link { color: var(--green-800); white-space: nowrap; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(2rem, calc((100vw - 1100px) / 2)); color: rgba(255,255,255,.62); background: var(--green-950); font-size: .84rem; line-height: 1.6; }
footer p { margin: 0; }
footer strong { color: var(--gold-300); font-family: var(--serif); font-size: 1.15rem; }
footer a { color: var(--gold-300); }

.lightbox { width: min(900px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; color: var(--white); background: var(--green-950); border: 1px solid rgba(226,201,143,.35); box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.lightbox::backdrop { background: rgba(2,12,9,.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; background: #020705; }
.lightbox p { margin: 0; padding: 1rem 4rem 1rem 1.2rem; color: rgba(255,255,255,.76); }
.lightbox-close { position: absolute; z-index: 2; right: .7rem; top: .7rem; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--green-950); background: var(--gold-300); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.7rem; line-height: 1; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav { position: fixed; inset: 76px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: var(--green-950); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
  nav.open { display: flex; }
  nav a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { margin-top: .6rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-portrait { justify-self: center; width: min(78vw, 350px); }
  .companion { grid-template-columns: auto 1fr; }
  .companion .button { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .legacy-note { grid-template-columns: 110px 1fr; }
  .legacy-note .text-link { grid-column: 2; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand small { display: none; }
  .hero { padding-top: 4rem; padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-deck { font-size: 1.12rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .companion { margin-top: -36px; grid-template-columns: 1fr; padding: 1.5rem; }
  .companion-symbol { width: 58px; height: 58px; font-size: 1.45rem; }
  .prose-card { padding: 2rem 1.4rem; }
  .opening-mark { display: none; }
  .biography-section { grid-template-columns: 1fr; }
  .bio-aside { position: static; width: min(72vw, 300px); margin: auto; }
  .align-left { text-align: center; }
  .education-grid { grid-template-columns: 1fr; }
  .education-grid article { min-height: 0; }
  .timeline li { grid-template-columns: 1fr; gap: .65rem; padding-left: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card.landscape { grid-column: auto; }
  .gallery-card { min-height: 360px; }
  .legacy-note { grid-template-columns: 1fr; text-align: center; }
  .legacy-note img { width: 100px; margin: auto; }
  .legacy-note .text-link { grid-column: auto; }
  footer { flex-direction: column; }
}

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