:root {
  --forest: #112b29;
  --forest-2: #1d403c;
  --sage: #88a28d;
  --mint: #dce9df;
  --gold: #d0a24d;
  --gold-light: #efd59b;
  --clay: #ad684e;
  --ivory: #f5f0e5;
  --paper: #fffdf8;
  --ink: #17211f;
  --muted: #68736f;
  --line: rgba(17,43,41,.15);
  --shadow: 0 28px 80px rgba(9,30,28,.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.68; }
img { display: block; width: 100%; }
a { color: inherit; }
section[id] { scroll-margin-top: 86px; }
.shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: -80px; left: 14px; padding: 10px 16px; color: var(--forest); background: #fff; border-radius: 8px; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; z-index: 100; top: 0; color: #fff; background: rgba(9,30,28,.94); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-symbol { width: 44px; height: 44px; display: grid; place-items: center; color: var(--forest); background: var(--ivory); border-radius: 50% 50% 50% 10px; font: 700 1.1rem "Playfair Display", serif; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1rem "Manrope", sans-serif; letter-spacing: .13em; }
.brand small { color: rgba(255,255,255,.58); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; gap: 21px; }
.site-nav a { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: #fff; }
.menu-toggle { display: none; padding: 8px; border: 0; background: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--forest); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--clay), var(--gold), var(--sage)); }
.hero-grid { position: relative; z-index: 2; min-height: 780px; padding-block: 90px 110px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 85px; align-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit-one { width: 740px; height: 740px; right: -250px; top: -220px; }
.orbit-two { width: 500px; height: 500px; left: -300px; bottom: -310px; border-color: rgba(208,162,77,.28); }
.eyebrow { margin: 0 0 16px; color: var(--gold-light); font-size: .71rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: var(--clay); }
.eyebrow.warm { color: var(--gold-light); }
h1, h2, h3 { margin-top: 0; }
.hero h1, .profile h2, .section-heading h2, .journey h2, .gallery-heading h2, .research h2, .community h2, .contact h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.04em; line-height: 1.04; }
.hero h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(3.6rem, 6.4vw, 6.6rem); }
.hero h1 em { color: var(--gold-light); font-weight: 600; }
.hero-lead { max-width: 650px; margin: 0 0 34px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--forest); background: var(--gold-light); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.text-link { color: #fff; font-weight: 800; text-decoration: none; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 42px 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: 7px 11px; color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .72rem; }
.flipbook-feature { padding-block: 76px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.flipbook-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; }
.flipbook-copy h2 { max-width: 650px; margin: 0 0 18px; color: var(--forest); font: 600 clamp(2.2rem, 4vw, 3.7rem)/1.08 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.flipbook-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.flipbook-direct-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 12px; padding: 13px 18px; color: var(--forest); background: var(--gold-light); border-radius: 999px; font-weight: 800; text-decoration: none; }
.flipbook-direct-link:hover, .flipbook-direct-link:focus-visible { background: var(--gold); }
.flipbook-preview { margin: 0; padding: 14px; border: 1px solid rgba(208,162,77,.55); border-radius: 22px; background: #fffdf8; box-shadow: var(--shadow); }
.flipbook-preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; cursor: pointer; }
.flipbook-preview img:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.flipbook-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 4px 2px; }
.flipbook-preview figcaption strong { color: var(--forest); font: 700 1.05rem "Playfair Display", Georgia, serif; }
.flipbook-preview figcaption span { color: var(--muted); font-size: .75rem; }
.hero-portrait { position: relative; margin: 0; }
.portrait-frame { position: relative; overflow: hidden; width: min(100%, 430px); aspect-ratio: .76; margin-left: auto; border-radius: 210px 210px 26px 26px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 35px 90px rgba(0,0,0,.36); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(8,25,23,.33)); }
.portrait-frame img { height: 100%; object-fit: cover; object-position: 50% 53%; }
.hero-portrait figcaption { position: absolute; right: -22px; bottom: 35px; z-index: 3; min-width: 260px; padding: 18px 22px; color: var(--forest); background: var(--ivory); box-shadow: var(--shadow); }
.hero-portrait figcaption strong, .hero-portrait figcaption span { display: block; }
.hero-portrait figcaption strong { font: 700 1.25rem "Playfair Display", serif; }
.hero-portrait figcaption span { color: #596762; font-size: .72rem; }

.section { padding-block: 112px; }
.profile { background: var(--ivory); }
.profile-grid { display: grid; grid-template-columns: .35fr 1.15fr .95fr; gap: 65px; align-items: start; }
.section-number { margin: 0; color: var(--gold); font: 600 4rem "Playfair Display", serif; }
.profile h2, .section-heading h2, .journey h2, .gallery-heading h2, .research h2, .community h2 { color: var(--forest); font-size: clamp(2.65rem, 4.8vw, 4.7rem); }
.profile-lead { color: var(--forest); font: 500 clamp(1.35rem, 2vw, 1.9rem)/1.42 "Playfair Display", serif; }
.profile-copy > p:not(.profile-lead) { color: var(--muted); }
.qualification-panel { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.62); }
.qualification-panel h3 { margin-bottom: 20px; color: var(--forest); font: 700 1.5rem "Playfair Display", serif; }
.qualification-list { margin: 0; padding: 0; list-style: none; }
.qualification-list li { display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 17px 0; border-top: 1px solid var(--line); }
.qualification-list li > span { color: var(--clay); font-size: .72rem; font-weight: 800; }
.qualification-list strong { color: var(--forest); font-size: .92rem; }
.qualification-list p { margin: 3px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.practice { color: #fff; background: var(--forest-2); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { color: #fff; margin-bottom: 0; }
.section-heading > p, .section-heading > div + p { margin: 0; color: rgba(255,255,255,.64); }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.practice-card { min-height: 325px; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.045); }
.practice-card > span { color: var(--gold-light); font: 600 1rem "Playfair Display", serif; }
.practice-card h3 { margin: 72px 0 12px; font: 600 1.55rem "Playfair Display", serif; }
.practice-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .9rem; }
.module-strip { margin-top: 18px; padding: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.module-strip strong { margin-right: 8px; color: var(--gold-light); }
.module-strip span { padding: 7px 10px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.06); border-radius: 999px; font-size: .72rem; }
.feature-visual { position: relative; margin: 22px 0 18px; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.feature-visual img { aspect-ratio: 16 / 7.4; object-fit: cover; }
.feature-visual::after, .narrative-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(7,25,23,.82)); }
.feature-visual figcaption, .narrative-card figcaption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 22px; color: #fff; }
.feature-visual figcaption strong, .feature-visual figcaption span, .narrative-card figcaption strong, .narrative-card figcaption span { display: block; }
.feature-visual figcaption strong, .narrative-card figcaption strong { font: 600 1.55rem "Playfair Display", serif; }
.feature-visual figcaption span, .narrative-card figcaption span { color: rgba(255,255,255,.68); font-size: .76rem; }

.applied-learning { background: var(--ivory); }
.applied-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: end; margin-bottom: 42px; }
.applied-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -34px; }
.applied-heading h2 { margin: 0; color: var(--forest); font: 600 clamp(2.65rem, 4.8vw, 4.7rem)/1.04 "Playfair Display", serif; letter-spacing: -.04em; }
.applied-heading > p:last-child { color: var(--muted); }
.applied-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.narrative-card { position: relative; margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.narrative-card img { aspect-ratio: 16 / 11; height: 100%; object-fit: cover; }
.illustration-note { max-width: 820px; margin: 22px 0 0; color: #737c78; font-size: .74rem; }

.journey { background: var(--paper); }
.journey-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.journey-heading { position: sticky; top: 120px; align-self: start; }
.journey-heading > p:last-child { color: var(--muted); }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--clay); font-size: .76rem; font-weight: 800; }
.timeline h3 { margin: 0 0 5px; color: var(--forest); font: 700 1.35rem "Playfair Display", serif; }
.timeline p { margin: 0; color: var(--muted); }

.achievements { color: #fff; background: #182320; }
.dark-heading h2 { color: #fff; }
.recognition-heading { grid-template-columns: 1fr; }
.achievement-layout { display: grid; grid-template-columns: .64fr 1.36fr; gap: 55px; align-items: start; }
.award-image { position: sticky; top: 115px; margin: 0; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.award-image img { aspect-ratio: .76; object-fit: cover; }
.award-image figcaption { padding: 18px 22px; color: var(--forest); font-weight: 800; }
.achievement-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.achievement-list article { min-height: 225px; padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.045); }
.achievement-list article:first-child { grid-column: span 2; min-height: 180px; background: var(--clay); }
.achievement-list span { color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.achievement-list h3 { margin: 50px 0 8px; font: 600 1.55rem "Playfair Display", serif; }
.achievement-list article:first-child h3 { margin-top: 28px; }
.achievement-list p { margin: 0; color: rgba(255,255,255,.65); }

.gallery-section { background: var(--ivory); }
.gallery-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.gallery-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -35px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading > p:last-child { color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 330px 330px; gap: 14px; }
.photo-card { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: #dcd8cf; }
.photo-card.tall { grid-row: span 2; }
.photo-card.wide { grid-column: span 2; }
.photo-card img { height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.025); }
.photo-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(7,24,22,.72)); }
.photo-card figcaption { position: absolute; z-index: 2; left: 20px; bottom: 16px; color: #fff; font-size: .78rem; font-weight: 800; }

.research { color: #fff; background: var(--clay); }
.research-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: start; }
.research h2 { color: #fff; }
.research-copy > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.status-note { margin-top: 32px; padding: 20px 22px; border-left: 3px solid var(--gold-light); background: rgba(255,255,255,.08); }
.status-note strong, .status-note span { display: block; }
.status-note span { margin-top: 4px; color: rgba(255,255,255,.68); font-size: .82rem; }
.research-topics { padding: 32px; border: 1px solid rgba(255,255,255,.17); border-radius: 24px; background: rgba(255,255,255,.08); }
.research-topics h3 { font: 600 1.7rem "Playfair Display", serif; }
.research-topics ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.research-topics li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); font-size: .86rem; }

.community { background: var(--paper); }
.community-grid { display: grid; grid-template-columns: .66fr 1.34fr; gap: 80px; align-items: center; }
.community-portrait { position: relative; margin: 0; overflow: hidden; min-height: 540px; border-radius: 26px; box-shadow: var(--shadow); }
.community-portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.community-portrait figcaption { position: absolute; z-index: 2; left: 18px; bottom: 16px; padding: 8px 12px; color: #fff; background: rgba(7,25,23,.72); border-radius: 999px; font-size: .68rem; }
.community-copy > p:not(.eyebrow) { color: var(--muted); }
.community blockquote { margin: 32px 0 0; padding: 24px 0 0 28px; border-top: 1px solid var(--line); border-left: 3px solid var(--gold); color: var(--forest); font: 600 1.3rem/1.5 "Playfair Display", serif; }

.contact { position: relative; overflow: hidden; color: #fff; background: var(--forest); }
.contact::after { content: "JC"; position: absolute; right: -30px; bottom: -110px; color: rgba(255,255,255,.05); font: 800 min(28vw, 24rem)/1 "Manrope", sans-serif; }
.contact-inner { position: relative; z-index: 2; min-height: 590px; padding-block: 100px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact h2 { max-width: 780px; margin-bottom: 18px; font-size: clamp(3.5rem, 7vw, 7rem); }
.contact p { color: rgba(255,255,255,.68); }
.button-light { margin-top: 16px; color: var(--forest); background: var(--ivory); }
.contact small { margin-top: 16px; color: rgba(255,255,255,.4); }

.site-footer { color: rgba(255,255,255,.58); background: #091e1c; }
.footer-inner { min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; font-size: .8rem; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner strong { color: #fff; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 20px; right: 20px; display: none; padding: 20px; flex-direction: column; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: var(--forest); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero-grid, .flipbook-grid, .profile-grid, .journey-grid, .research-grid, .community-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-portrait { max-width: 520px; }
  .profile-grid, .journey-grid, .research-grid, .community-grid { gap: 48px; }
  .section-kicker { display: flex; justify-content: space-between; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-heading, .award-image { position: static; }
  .achievement-layout { grid-template-columns: .8fr 1.2fr; }
  .photo-grid { grid-template-rows: 260px 260px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 26px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand small { display: none; }
  .hero-grid { min-height: auto; padding-block: 62px 90px; }
  .flipbook-feature { padding-block: 62px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .portrait-frame { margin-inline: auto; }
  .hero-portrait figcaption { right: 0; }
  .section { padding-block: 80px; }
  .section-heading, .gallery-heading { grid-template-columns: 1fr; gap: 18px; }
  .applied-heading { grid-template-columns: 1fr; gap: 18px; }
  .applied-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .applied-grid { grid-template-columns: 1fr; }
  .gallery-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .practice-grid, .achievement-list, .research-topics ul { grid-template-columns: 1fr; }
  .practice-card { min-height: 250px; }
  .practice-card h3 { margin-top: 44px; }
  .achievement-layout { grid-template-columns: 1fr; }
  .achievement-list article:first-child { grid-column: auto; }
  .timeline li { grid-template-columns: 1fr; gap: 7px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 330px); }
  .photo-card.tall, .photo-card.wide { grid-row: auto; grid-column: auto; }
  .footer-inner { padding-block: 40px; grid-template-columns: 1fr; gap: 16px; }
}

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