:root {
  --ink: #16262b;
  --muted: #56666b;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --line: #ebe4d8;
  --teal: #1f6b6f;
  --teal-deep: #134a4e;
  --teal-soft: #dff0ee;
  --coral: #ee7a55;
  --coral-soft: #fde8df;
  --sun: #f6c453;
  --sun-soft: #fdf3d6;
  --lilac: #8b7cf6;
  --lilac-soft: #ece9ff;
  --grad: linear-gradient(120deg, var(--teal) 0%, #2f8f86 45%, var(--coral) 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 38, 43, .08);
  --shadow-lg: 0 24px 60px rgba(22, 38, 43, .14);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .4em; overflow: visible; }
.squiggle path { stroke: var(--sun); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 50; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 243, .75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(22, 38, 43, .06); background: rgba(251, 248, 243, .92); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .95rem; letter-spacing: .02em;
  transition: transform .4s var(--ease);
}
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.brand span.dot { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-deep); }
.nav-links .nav-cta { background: var(--ink); color: #fff; }
.nav-links .nav-cta:hover { background: var(--teal); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 12px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; }
}

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
  border: 2px solid var(--ink); cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(22, 38, 43, .22); background: var(--teal); border-color: var(--teal); }
.btn:hover::after { left: 140%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }

/* Sections */
section { padding: 100px 0; position: relative; }
section.alt { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--coral); font-weight: 700; margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 660px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; background: #bfe3dd; top: -120px; right: 8%; }
.blob.b2 { width: 360px; height: 360px; background: #fcd2c0; bottom: -140px; right: 30%; animation-delay: -6s; }
.blob.b3 { width: 280px; height: 280px; background: #fbe7a6; top: 30%; left: -100px; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 20px) scale(.95); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; margin-bottom: 24px;
}
.hero-badge .live { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; }
.hero-badge .live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 0 rgba(47,163,107,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,163,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(47,163,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,163,107,0); } }
.hero h1 { margin-bottom: .4em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-roles span { font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.hero-roles span:nth-child(1) { background: var(--teal-soft); color: var(--teal-deep); }
.hero-roles span:nth-child(2) { background: var(--coral-soft); color: #b2502f; }
.hero-roles span:nth-child(3) { background: var(--lilac-soft); color: #5a4bd1; }

.photo-wrap { position: relative; justify-self: center; width: min(100%, 440px); }
.photo-ring {
  position: absolute; inset: -18px; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  background: var(--grad); opacity: .9; animation: morph 12s ease-in-out infinite alternate;
}
@keyframes morph {
  0% { border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; transform: rotate(0deg); }
  100% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; transform: rotate(6deg); }
}
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 42% 58% 46% 54% / 50% 44% 56% 50%;
  overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); animation: morph 14s ease-in-out infinite alternate-reverse;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; animation: none; }
.dots {
  position: absolute; width: 120px; height: 120px; right: -36px; bottom: 40px; z-index: -1;
  background-image: radial-gradient(var(--coral) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .86rem; line-height: 1.25; animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; color: var(--ink); }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card.f1 { left: -40px; top: 14%; }
.float-card.f1 .ic { background: var(--sun-soft); }
.float-card.f2 { right: -30px; top: 46%; animation-delay: -1.6s; }
.float-card.f2 .ic { background: var(--teal-soft); }
.float-card.f3 { left: -20px; bottom: 8%; animation-delay: -3.2s; }
.float-card.f3 .ic { background: var(--coral-soft); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .photo-wrap { width: min(86%, 380px); }
  .float-card.f1 { left: -14px; } .float-card.f2 { right: -14px; } .float-card.f3 { left: -6px; }
}
@media (max-width: 600px) {
  .float-card { padding: 8px 12px; font-size: .74rem; gap: 0; }
  .float-card .ic { display: none; }
  .float-card strong { font-size: 1rem; }
  .float-card.f1 { top: -14px; left: -10px; }
  .float-card.f2 { top: auto; bottom: 22%; right: -12px; }
  .float-card.f3 { bottom: -18px; left: 8%; }
}

/* Stats band */
.stats-band { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats-band .inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--ink); color: #fff; border-radius: 24px; padding: 34px 20px; box-shadow: var(--shadow-lg);
}
.stats-band .stat { text-align: center; padding: 6px 12px; border-right: 1px solid rgba(255,255,255,.12); }
.stats-band .stat:last-child { border-right: 0; }
.stats-band .num { font-family: "Fraunces", Georgia, serif; font-size: 2.6rem; font-weight: 600; line-height: 1; }
.stats-band .num .plus { color: var(--sun); }
.stats-band .label { color: #b7c6c9; font-size: .9rem; margin-top: 8px; }
@media (max-width: 760px) {
  .stats-band .inner { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stats-band .stat:nth-child(2) { border-right: 0; }
}

/* Marquee */
.marquee { padding: 28px 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 500; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; color: var(--coral); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.highlights { display: grid; gap: 16px; }
.hl {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.hl:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.hl .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.hl:nth-child(1) .ic { background: var(--teal-soft); color: var(--teal); }
.hl:nth-child(2) .ic { background: var(--coral-soft); color: var(--coral); }
.hl:nth-child(3) .ic { background: var(--lilac-soft); color: var(--lilac); }
.hl:nth-child(4) .ic { background: var(--sun-soft); color: #c08a12; }
.hl h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.hl p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill { background: var(--teal-soft); color: var(--teal-deep); padding: 7px 15px; border-radius: 999px; font-size: .88rem; font-weight: 500; transition: transform .2s, background .2s; }
.pill:hover { transform: translateY(-2px); background: #cde8e4; }

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .roles { grid-template-columns: 1fr; } }
.role-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px; color: #fff;
  background: linear-gradient(145deg, var(--teal-deep), var(--teal)); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.role-card:nth-child(2) { background: linear-gradient(145deg, #c9573a, var(--coral)); }
.role-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.role-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -90px;
  background: rgba(255,255,255,.1); transition: transform .6s var(--ease);
}
.role-card::after {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: 60px; bottom: -70px;
  background: rgba(255,255,255,.08);
}
.role-card:hover::before { transform: scale(1.2); }
.role-card .role-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 22px; }
.role-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--sun); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.role-card h3 { font-size: 1.5rem; color: #fff; position: relative; }
.role-card .org { color: rgba(255,255,255,.75); margin-bottom: 14px; position: relative; }
.role-card p { color: rgba(255,255,255,.9); margin: 0; position: relative; }

.passion {
  position: relative; margin: 40px 0 0; padding: 48px 56px; border-radius: 24px;
  background: var(--sun-soft); overflow: hidden;
}
.passion .quote-mark { position: absolute; top: -30px; left: 26px; font-family: "Fraunces", Georgia, serif; font-size: 11rem; line-height: 1; color: var(--sun); opacity: .55; }
.passion p { position: relative; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--ink); margin: 0 0 16px; }
.passion p .heart { display: inline-block; color: var(--coral); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.passion cite { position: relative; font-style: normal; font-weight: 600; color: var(--muted); }
.passion cite::before { content: "— "; }
@media (max-width: 600px) { .passion { padding: 40px 24px; } }

/* Timeline */
.tl-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
@media (max-width: 900px) { .tl-grid { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--coral)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--surface); border: 4px solid var(--teal); transition: transform .3s var(--ease), background .3s;
}
.timeline li:hover::before { transform: scale(1.25); background: var(--sun); }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.timeline li:hover .tl-card { transform: translateX(6px); box-shadow: var(--shadow); }
.timeline .when { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--coral); background: var(--coral-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.timeline h3 { margin: 0 0 2px; font-size: 1.12rem; }
.timeline .org { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }
.edu-title { font-size: 1.5rem; margin-bottom: 20px; }

/* Services */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
section.alt .card { background: var(--bg); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.card:hover .icon { transform: rotate(-8deg) scale(1.1); }
.grid .card:nth-child(6n+1) .icon { background: var(--teal-soft); color: var(--teal); }
.grid .card:nth-child(6n+2) .icon { background: var(--coral-soft); color: var(--coral); }
.grid .card:nth-child(6n+3) .icon { background: var(--lilac-soft); color: var(--lilac); }
.grid .card:nth-child(6n+4) .icon { background: var(--sun-soft); color: #c08a12; }
.grid .card:nth-child(6n+5) .icon { background: var(--teal-soft); color: var(--teal); }
.grid .card:nth-child(6n+6) .icon { background: var(--coral-soft); color: var(--coral); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed #d6ccbb; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .n {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line);
  display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 600; color: var(--teal);
  box-shadow: var(--shadow); transition: transform .4s var(--ease), background .3s, color .3s;
}
.step:hover .n { transform: scale(1.12) rotate(-6deg); background: var(--grad); color: #fff; border-color: transparent; }
.step p { color: var(--muted); }

/* Contact */
.contact {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px;
  background: linear-gradient(145deg, var(--teal-deep) 0%, var(--teal) 60%, #2f8f86 100%); color: #fff; border-radius: 32px; padding: 64px;
}
.contact::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(238,122,85,.35); filter: blur(70px); right: -120px; bottom: -160px; }
.contact::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(246,196,83,.25); filter: blur(60px); left: -100px; top: -120px; }
.contact > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; padding: 40px 22px; gap: 32px; border-radius: 24px; } }
.contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact .eyebrow { color: var(--sun); }
.contact-intro > p { color: #d6ebe8; font-size: 1.08rem; }
.contact-links { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-links li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.08); border-radius: 14px; transition: background .25s, transform .25s var(--ease); }
.contact-links li:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.contact-links .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; }
.contact-links small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #a9cfca; }
.contact-links a { color: #fff; text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-form { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 34px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
@media (max-width: 600px) { .contact-form { padding: 22px; } }
.contact-form h3 { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-size: .88rem; font-weight: 600; }
.contact-form .opt { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  display: block; margin-top: 6px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft);
}
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #2f7a4f; font-weight: 600; }
.form-status.err { color: #b0443a; }

/* Dissertation page */
.doc-hero { padding: 80px 0 72px; overflow: hidden; }
.doc-hero .wrap { position: relative; z-index: 1; }
.doc-hero h1 { max-width: 880px; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.doc-hero .lead { max-width: 700px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 52px 0 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.stats div:hover { transform: translateY(-5px); }
.stats dt { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; font-weight: 600; line-height: 1; }
.stats div:nth-child(1) dt { color: var(--teal); } .stats div:nth-child(2) dt { color: var(--coral); }
.stats div:nth-child(3) dt { color: var(--lilac); } .stats div:nth-child(4) dt { color: #c08a12; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

.doc-meta { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .doc-meta { grid-template-columns: 1fr; gap: 32px; } }
.facts-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: sticky; top: 96px; box-shadow: var(--shadow); }
.facts-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.facts { margin: 0; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-size: .98rem; }
.facts dd small { color: var(--muted); font-size: .85rem; }
.facts-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts-card .pill { font-size: .8rem; padding: 4px 12px; }

.findings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .findings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .findings-grid { grid-template-columns: 1fr; } }
.finding {
  position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.finding:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.finding .num { display: block; font-family: "Fraunces", Georgia, serif; font-size: 3.2rem; font-weight: 600; line-height: 1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.finding h3 { font-size: 1.15rem; margin-bottom: 8px; }
.finding p { color: var(--muted); margin: 0; font-size: .96rem; }

.takeaway {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--ink); color: #fff; border-radius: 28px; padding: 52px;
}
.takeaway::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(238,122,85,.35); filter: blur(70px); right: -100px; top: -140px; }
.takeaway > * { position: relative; }
.takeaway h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.takeaway .eyebrow { color: var(--sun); }
.takeaway p:last-child { margin: 0; color: #c3d0d3; max-width: 640px; }
.takeaway .btn { flex-shrink: 0; }
@media (max-width: 760px) { .takeaway { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

.viewer { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.viewer-bar .btn { padding: 9px 18px; font-size: .9rem; }
.viewer iframe { display: block; width: 100%; height: 80vh; border: 0; }
.viewer .empty { padding: 60px 24px; text-align: center; color: var(--muted); }

/* Footer */
footer { padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--teal); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .squiggle path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
