@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --cream: #fff8f3;
  --white: #fffdfb;
  --pink: #f5b8cb;
  --pink-light: #fde8ef;
  --pink-deep: #c75d83;
  --green: #154b3d;
  --green-mid: #2f735c;
  --lime: #c9df83;
  --ink: #20251f;
  --muted: #6f746d;
  --line: rgba(21, 75, 61, .2);
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Poppins', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  background: var(--green);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 260px;
  align-items: center;
  padding: 0 34px;
  border-bottom: 1px solid rgba(21,75,61,.14);
  background: rgba(255,248,243,.9);
  backdrop-filter: blur(16px);
}
.wordmark {
  width: fit-content;
  color: var(--green);
  font: 24px/1 var(--serif);
  font-style: italic;
  text-decoration: none;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 45px);
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--pink-deep);
  transition: right .3s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { right: 0; }
.header-logos { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-logos img:first-child { width: 78px; }
.header-logos img:last-child { width: 48px; height: 48px; object-fit: contain; }
.header-logos span { width: 1px; height: 30px; background: var(--line); }
.menu-toggle, .mobile-menu, .mobile-school { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 124px clamp(34px, 5vw, 92px) 82px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 22%, rgba(245,184,203,.36), transparent 25%),
    linear-gradient(180deg, var(--cream), #fffdfb);
}
.hero::before {
  content: 'BIOCHEMISTRY';
  position: absolute;
  z-index: -1;
  left: -16px;
  bottom: 62px;
  color: rgba(21,75,61,.045);
  font: clamp(100px, 15vw, 290px)/.75 var(--serif);
  letter-spacing: -.06em;
}
.hero-grid {
  width: min(1540px, 100%);
  min-height: calc(100svh - 206px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, .8fr);
  gap: 5vw;
  align-items: center;
}
.hero-copy { position: relative; z-index: 5; padding: 30px 0 95px; }
.eyebrow, .issue, .section-label, .panel-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--pink-deep); }
.issue { margin: 18px 0 34px; color: var(--green-mid); }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .78; }
h1 span { display: block; font-size: clamp(72px, 7vw, 132px); }
h1 em { display: block; margin-left: 10%; color: var(--pink-deep); font-size: clamp(82px, 8.2vw, 154px); font-weight: 500; }
h1 strong { display: block; margin: 32px 0 0 3%; color: var(--green); font: 600 clamp(31px, 3.1vw, 58px)/1.1 var(--sans); letter-spacing: -.035em; }
.hero-purpose { margin: 34px 0 30px 3%; max-width: 600px; font: clamp(23px, 2.1vw, 36px)/1.35 var(--serif); }
.story-link { display: inline-flex; align-items: center; gap: 16px; margin-left: 3%; padding-bottom: 7px; border-bottom: 1px solid var(--green); color: var(--green); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.story-link span { color: var(--pink-deep); font-size: 20px; transition: transform .25s ease; }
.story-link:hover span { transform: translate(4px, 4px); }

.portrait-stage { position: relative; align-self: stretch; min-height: 690px; }
.emerald-arch {
  position: absolute;
  z-index: 1;
  inset: 5% 6% 0;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  background: linear-gradient(145deg, #1c5948, #0f392f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 28px 80px rgba(21,75,61,.15);
}
.emerald-arch::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201,223,131,.32);
  border-radius: inherit;
}
.portrait-stage img {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(92%, 660px);
  height: 98%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 22px rgba(9,34,27,.26));
}
.arch-label {
  position: absolute;
  z-index: 2;
  right: 3%;
  top: 18%;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.portrait-note {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: 8%;
  margin: 0;
  color: var(--white);
  font: italic 20px/1.35 var(--serif);
  text-align: right;
}
.peptide-ribbon {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: var(--pink);
  color: var(--green);
}
.peptide-ribbon p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.peptide-ribbon i { width: clamp(28px, 5vw, 90px); height: 1px; background: rgba(21,75,61,.45); }
.hero-orbit span { position: absolute; z-index: -1; width: 9px; aspect-ratio: 1; border: 1px solid rgba(21,75,61,.25); border-radius: 50%; }
.hero-orbit span::after { content: ''; position: absolute; left: 7px; top: 3px; width: 90px; height: 1px; background: rgba(21,75,61,.12); transform-origin: left; }
.hero-orbit span:nth-child(1) { left: 45%; top: 19%; }
.hero-orbit span:nth-child(1)::after { transform: rotate(35deg); }
.hero-orbit span:nth-child(2) { left: 50%; top: 26%; }
.hero-orbit span:nth-child(2)::after { transform: rotate(-48deg); }
.hero-orbit span:nth-child(3) { left: 41%; bottom: 21%; }
.hero-orbit span:nth-child(3)::after { transform: rotate(12deg); width: 60px; }
.hero-orbit span:nth-child(4) { right: 4%; top: 42%; }
.hero-orbit span:nth-child(4)::after { transform: rotate(124deg); }

.section-pad { position: relative; padding: 120px clamp(34px, 7vw, 132px); }
.section-label { display: flex; align-items: center; gap: 13px; margin-bottom: 65px; color: var(--green-mid); }
.section-label span { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 96px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }

.about { background: var(--pink-light); }
.about-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 8vw; align-items: center; }
.about-display { display: grid; place-items: center; min-height: 560px; color: var(--green); border: 1px solid rgba(21,75,61,.24); border-radius: 48% 48% 0 0 / 30% 30% 0 0; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,.26)); }
.about-display span { font: clamp(100px, 11vw, 205px)/.72 var(--serif); }
.about-display i { color: var(--pink-deep); font: italic 26px/1 var(--serif); }
.about-copy h2 { max-width: 820px; }
.about-copy p { max-width: 720px; color: var(--muted); }
.about-copy .lead { margin-top: 34px; color: var(--green); font: 28px/1.4 var(--serif); }
.skills-stream { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: 90px; padding: 26px 0; border-top: 1px solid rgba(21,75,61,.22); border-bottom: 1px solid rgba(21,75,61,.22); }
.skills-stream span { padding: 5px 20px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.skills-stream span + span { border-left: 1px solid rgba(21,75,61,.28); }

.education { background: var(--white); overflow: hidden; }
.education::after { content: 'CH₂ · O₂ · ATP'; position: absolute; right: -30px; top: 10%; color: rgba(245,184,203,.22); font: 84px/1 var(--serif); writing-mode: vertical-rl; }
.education-intro { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; margin-bottom: 90px; }
.education-intro h2 { max-width: 1000px; }
.education-ribbon { position: relative; max-width: 1400px; margin: 0 auto; }
.education-ribbon::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.study-stop { position: relative; width: 50%; min-height: 150px; padding: 0 70px 55px 0; text-align: right; }
.study-stop:nth-child(even) { margin-left: 50%; padding: 0 0 55px 70px; text-align: left; }
.study-stop::before { content: ''; position: absolute; right: -7px; top: 7px; width: 13px; aspect-ratio: 1; border: 2px solid var(--white); border-radius: 50%; background: var(--pink-deep); box-shadow: 0 0 0 1px var(--pink-deep); }
.study-stop:nth-child(even)::before { left: -7px; right: auto; }
.study-stop time { color: var(--pink-deep); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.study-stop h3 { margin: 10px 0 5px; color: var(--green); font: 29px/1.25 var(--serif); }
.study-stop p { margin: 0; color: var(--muted); }
.study-stop.current h3 { color: var(--pink-deep); }

.experience { color: var(--white); background: var(--green); }
.experience .section-label, .experience .eyebrow { color: var(--lime); }
.experience-heading { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: end; margin-bottom: 75px; }
.experience-console { display: grid; grid-template-columns: minmax(390px, .82fr) 1fr; gap: 7vw; align-items: stretch; }
.experience-visual { position: relative; min-height: 720px; overflow: hidden; border-radius: 50% 50% 0 0 / 22% 22% 0 0; background: #0d332a; }
.role-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .55s ease, transform .8s ease; }
.role-image.is-active { opacity: 1; transform: scale(1); }
.image-index { position: absolute; z-index: 4; left: 20px; bottom: 18px; padding: 7px 12px; border-radius: 99px; background: rgba(13,51,42,.72); color: white; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.role-browser { align-self: center; }
.role-tabs { display: flex; gap: 26px; border-bottom: 1px solid rgba(255,255,255,.22); }
.role-tab { position: relative; padding: 0 0 20px; border: 0; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.role-tab span { margin-right: 7px; color: var(--pink); }
.role-tab::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--pink); transition: right .3s ease; }
.role-tab:hover, .role-tab.is-active { color: white; }
.role-tab.is-active::after { right: 0; }
.role-panel { padding-top: 58px; }
.role-panel[hidden] { display: none; }
.panel-meta { color: var(--lime); }
.role-panel h3 { margin: 18px 0 4px; font: clamp(42px, 4.3vw, 76px)/1.06 var(--serif); }
.role-panel h4 { margin: 0 0 30px; color: var(--pink); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.role-panel p:last-child { max-width: 780px; color: rgba(255,255,255,.75); font-size: 17px; }

.journey { background: linear-gradient(145deg, #fffdfb 0 73%, #fde8ef 73%); }
.journey-heading { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.journey-heading h2 { max-width: 1000px; }
.chapter-deck { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 92px; }
.chapter-card {
  position: relative;
  grid-column: span 4;
  min-height: 340px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(21,75,61,.19);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255,253,251,.84);
  text-align: left;
  cursor: pointer;
  transition: color .35s ease, background .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.chapter-card::before { content: ''; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.chapter-card::after { content: 'CH₂'; position: absolute; right: 24px; bottom: 53px; color: rgba(21,75,61,.055); font: 58px/1 var(--serif); transform: rotate(-8deg); }
.chapter-card:hover, .chapter-card:focus-visible { color: white; background: var(--green); border-color: var(--green); transform: translateY(-8px); box-shadow: 0 24px 55px rgba(21,75,61,.18); outline: none; }
.chapter-card:hover::before, .chapter-card:focus-visible::before { transform: scaleX(1); }
.chapter-card:hover::after, .chapter-card:focus-visible::after { color: rgba(255,255,255,.08); }
.chapter-number { display: block; margin-bottom: 36px; color: var(--pink-deep); font: 56px/1 var(--serif); }
.chapter-card time { display: block; color: var(--green-mid); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.chapter-card h3 { margin: 12px 0 16px; color: var(--green); font: 32px/1.12 var(--serif); }
.chapter-card p { margin: 0 0 56px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.chapter-card:hover time, .chapter-card:focus-visible time { color: var(--lime); }
.chapter-card:hover h3, .chapter-card:focus-visible h3, .chapter-card:hover p, .chapter-card:focus-visible p { color: white; }
.open-card { position: absolute; left: 30px; bottom: 27px; display: flex; align-items: center; gap: 10px; color: var(--pink-deep); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.chapter-card:hover .open-card, .chapter-card:focus-visible .open-card { color: var(--pink); }
.open-card b { font-size: 18px; transition: transform .3s ease; }
.chapter-card:hover .open-card b { transform: translate(4px,-4px); }
.assessment-card { grid-column: span 3; min-height: 315px; background: var(--pink-light); }
.assessment-card h3 { font-size: 29px; }
.overall-card { grid-column: span 3; min-height: 315px; color: white; background: var(--green); }
.overall-card time { color: var(--lime); }
.overall-card h3, .overall-card p { color: white; }
.overall-card::after { color: rgba(255,255,255,.07); }
.journey-quote { max-width: 1100px; margin: 110px auto 0; color: var(--green); font: italic clamp(30px, 3.1vw, 54px)/1.3 var(--serif); text-align: center; }

.reflection-dialog, .gallery-lightbox { width: min(920px, calc(100% - 34px)); max-height: calc(100svh - 34px); margin: auto; padding: 0; overflow: auto; border: 0; color: var(--ink); background: var(--cream); box-shadow: 0 35px 100px rgba(8,33,26,.3); }
.reflection-dialog::backdrop, .gallery-lightbox::backdrop { background: rgba(9,35,28,.74); backdrop-filter: blur(8px); }
.reflection-dialog { padding: clamp(34px, 6vw, 82px); }
.dialog-close, .lightbox-close { position: absolute; z-index: 3; top: 20px; right: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dialog-close span, .lightbox-close span { font-size: 24px; font-weight: 400; }
.dialog-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; color: var(--pink-deep); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dialog-meta span:first-child { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.reflection-dialog h2 { max-width: 760px; color: var(--green); font-size: clamp(44px, 7vw, 76px); }
.dialog-copy { max-width: 720px; margin-top: 34px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.dialog-copy p + p { margin-top: 20px; }
.dialog-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.dialog-nav button { width: fit-content; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--green); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dialog-nav button:last-child { justify-self: end; }
.dialog-nav span { color: var(--pink-deep); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.memory-gallery { overflow: hidden; color: var(--white); background: var(--green); }
.memory-gallery::before { content: 'MEMORIES'; position: absolute; right: -30px; top: 18%; color: rgba(255,255,255,.035); font: 150px/.8 var(--serif); writing-mode: vertical-rl; }
.memory-gallery .section-label, .memory-gallery .eyebrow { color: var(--lime); }
.gallery-heading { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(250px, .44fr); gap: 46px; align-items: start; }
.gallery-heading h2 { max-width: 900px; }
.gallery-heading > p:last-child { margin: 5px 0 0; color: rgba(255,255,255,.68); }
.memory-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; margin-top: 82px; }
.memory-card { position: relative; grid-column: span 4; margin: 0; padding: 0; overflow: hidden; border: 0; background: #0d332a; cursor: zoom-in; text-align: left; }
.memory-card-main { grid-column: span 5; grid-row: span 2; }
.memory-card-wide { grid-column: span 5; }
.memory-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.memory-card-main img { object-position: 50% 30%; }
.memory-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(7,29,23,.84)); transition: background .4s ease; }
.memory-card span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: flex-end; gap: 13px; color: white; }
.memory-card b { color: var(--lime); font-size: 12px; letter-spacing: .12em; }
.memory-card em { font: italic 21px/1.22 var(--serif); }
.memory-card:hover img, .memory-card:focus-visible img { transform: scale(1.055); filter: saturate(1.08); }
.memory-card:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.gallery-lightbox { width: min(1180px, calc(100% - 28px)); height: min(850px, calc(100svh - 28px)); overflow: hidden; color: white; background: #0b2c24; }
.gallery-lightbox .lightbox-close { color: white; }
.lightbox-frame { height: calc(100% - 112px); background: #08251e; }
.lightbox-frame img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-footer { height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; }
.lightbox-footer > div:first-child { display: flex; align-items: center; gap: 22px; }
.lightbox-footer span { color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.lightbox-footer p { margin: 0; font: italic 24px/1.2 var(--serif); }
.lightbox-controls { display: flex; gap: 10px; }
.lightbox-controls button { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.32); color: white; background: transparent; cursor: pointer; font-size: 20px; transition: color .25s ease, background .25s ease; }
.lightbox-controls button:hover { color: var(--green); background: var(--lime); }

.reflection { min-height: 100svh; display: grid; grid-template-columns: .82fr 1.18fr; background: var(--pink-light); }
.reflection-photo { position: sticky; top: 82px; height: calc(100svh - 82px); overflow: hidden; }
.reflection-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1s ease; }
.reflection-photo:hover img { transform: scale(1.025); }
.reflection-copy { display: flex; flex-direction: column; justify-content: center; }
.reflection-copy .section-label { margin-bottom: 46px; }
.reflection-copy h2 { color: var(--green); }
.reflection-copy > p:not(.eyebrow):not(.signature) { max-width: 770px; color: var(--muted); }
.reflection-copy > p:nth-of-type(2) { margin-top: 35px; }
.reflection-copy blockquote { max-width: 820px; margin: 46px 0 0; padding-left: 30px; border-left: 3px solid var(--pink-deep); color: var(--green); font: italic 28px/1.4 var(--serif); }
.signature { margin: 40px 0 0; color: var(--pink-deep); font: italic 34px/1 var(--serif); }

.contact { color: white; background: var(--green); }
.contact .section-label, .contact .eyebrow { color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; align-items: end; }
.contact-links { display: flex; flex-direction: column; gap: 13px; font-style: normal; }
.contact-links a { width: fit-content; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.26); color: rgba(255,255,255,.82); text-decoration: none; font-size: clamp(18px, 1.8vw, 29px); transition: color .25s ease, border-color .25s ease; }
.contact-links a:hover { color: var(--pink); border-color: var(--pink); }
.footer-note { display: flex; justify-content: space-between; gap: 25px; margin-top: 100px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 150px 1fr 165px; padding-inline: 22px; }
  .header-logos img:first-child { width: 64px; }
  .header-logos img:last-child { width: 40px; height: 40px; }
  .desktop-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr minmax(390px, .75fr); }
  .portrait-note { right: 1%; }
  .role-tabs { gap: 16px; }
  .role-tab { font-size: 12px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .desktop-nav, .header-logos { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 25px; height: 1px; background: currentColor; content: ''; transition: transform .3s ease; }
  .menu-toggle i::after { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }
  .mobile-menu { position: fixed; z-index: 90; inset: 70px 0 0; padding: 46px 24px; display: flex; flex-direction: column; gap: 20px; background: rgba(255,248,243,.98); transform: translateY(-110%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu a { color: var(--green); font: 36px/1.2 var(--serif); text-decoration: none; }
  .mobile-school { position: absolute; z-index: 8; top: 89px; left: 24px; display: flex; align-items: center; gap: 14px; }
  .mobile-school img:first-child { width: 72px; }
  .mobile-school img:last-child { width: 44px; height: 44px; object-fit: contain; }

  .hero { min-height: 1080px; padding: 146px 22px 64px; }
  .hero-grid { min-height: 870px; grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .hero-copy { padding: 28px 0 0; }
  .issue { margin: 10px 0 24px; }
  h1 { line-height: .83; }
  h1 span { font-size: clamp(60px, 18vw, 78px); }
  h1 em { margin-left: 6%; font-size: clamp(66px, 20vw, 86px); }
  h1 strong { margin: 22px 0 0; font-size: clamp(28px, 8vw, 35px); }
  .hero-purpose { margin: 25px 0 0; font-size: 23px; }
  .story-link { display: none; }
  .portrait-stage { position: absolute; left: 0; right: 0; bottom: 64px; min-height: 540px; }
  .emerald-arch { inset: 5% 9% 0; }
  .portrait-stage img { height: 96%; width: 92%; }
  .portrait-note, .arch-label { display: none; }
  .peptide-ribbon { height: 64px; gap: 8px; }
  .peptide-ribbon i { width: 20px; }
  .peptide-ribbon p { font-size: 12px; letter-spacing: .04em; }

  .section-pad { padding: 88px 24px; }
  .section-label { margin-bottom: 42px; }
  h2 { font-size: clamp(48px, 13.2vw, 61px); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-display { min-height: 370px; }
  .about-display span { font-size: 105px; }
  .about-copy .lead { font-size: 24px; }
  .skills-stream { justify-content: flex-start; margin-top: 65px; }
  .skills-stream span { padding: 5px 10px; font-size: 12px; }
  .education-intro, .experience-heading, .journey-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 60px; }
  .education-ribbon::before { left: 8px; }
  .study-stop, .study-stop:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 45px 38px; text-align: left; }
  .study-stop::before, .study-stop:nth-child(even)::before { left: 1px; right: auto; }
  .study-stop h3 { font-size: 26px; }
  .experience-console { grid-template-columns: 1fr; gap: 45px; }
  .experience-visual { min-height: 500px; border-radius: 45% 45% 0 0 / 18% 18% 0 0; }
  .role-tabs { overflow-x: auto; gap: 22px; padding-bottom: 1px; }
  .role-tab { flex: 0 0 auto; }
  .role-panel { padding-top: 38px; }
  .role-panel h3 { font-size: 44px; }
  .role-panel p:last-child { font-size: 16px; }
  .chapter-deck { grid-template-columns: 1fr; margin-top: 58px; }
  .chapter-card, .assessment-card, .overall-card { grid-column: auto; min-height: 290px; padding: 25px; }
  .chapter-number { margin-bottom: 24px; font-size: 48px; }
  .chapter-card h3, .assessment-card h3 { font-size: 31px; }
  .chapter-card p { margin-bottom: 48px; font-size: 15px; }
  .open-card { left: 25px; bottom: 23px; }
  .journey-quote { margin-top: 45px; font-size: 30px; text-align: left; }
  .reflection-dialog { padding: 68px 24px 30px; }
  .reflection-dialog h2 { font-size: 44px; }
  .dialog-copy { font-size: 16px; line-height: 1.75; }
  .dialog-nav { gap: 10px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 18px; }
  .gallery-heading > p:last-child { max-width: 620px; }
  .memory-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; margin-top: 52px; }
  .memory-card, .memory-card-main, .memory-card-wide { grid-column: auto; grid-row: auto; }
  .memory-card-main { min-height: 500px; }
  .lightbox-frame { height: calc(100% - 145px); }
  .lightbox-footer { height: 145px; align-items: flex-end; }
  .lightbox-footer > div:first-child { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lightbox-footer p { font-size: 20px; }
  .reflection { grid-template-columns: 1fr; }
  .reflection-photo { position: relative; top: auto; height: 72vh; min-height: 560px; }
  .reflection-copy blockquote { font-size: 25px; }
  .contact-links a { max-width: 100%; overflow-wrap: anywhere; font-size: 19px; }
  .footer-note { flex-direction: column; margin-top: 70px; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .chapter-card { grid-column: span 6; }
  .assessment-card, .overall-card { grid-column: span 6; }
  .gallery-heading { grid-template-columns: 170px 1fr; }
  .gallery-heading > p:last-child { grid-column: 2; }
}

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