/* ===== Sudendu Shah – site styles ===== */
:root {
  --ink: #0d1321;
  --ink-2: #151d30;
  --ink-3: #1f2a42;
  --paper: #f7f4ee;
  --paper-2: #efe9de;
  --gold: #c8a45c;
  --gold-2: #e2c88f;
  --text: #2a2f3a;
  --muted: #6b7280;
  --light: #e8e6e1;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
.h3-lg { font-size: 2rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--light); }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.prose p { color: inherit; opacity: .92; }
.section:not(.dark) .prose p { color: var(--text); }
.section .prose p.eyebrow { color: var(--gold); opacity: 1; }

/* Buttons */
.btn { display: inline-block; padding: .95rem 1.8rem; border-radius: 999px; font-weight: 600; text-decoration: none; letter-spacing: .02em; transition: transform .2s, background .2s, color .2s, box-shadow .2s; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans); font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,164,92,.3); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(13,19,33,.94); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .12em; color: #fff; text-decoration: none; }
.brand span { color: var(--gold); }
.main-nav { display: flex; gap: 1.6rem; align-items: center; }
.main-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--gold); }
.main-nav .nav-cta { border: 1.5px solid var(--gold); padding: .45rem 1.1rem; border-radius: 999px; color: var(--gold); }
.main-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: #fff; transition: .3s; }

/* Hero */
.hero { background: radial-gradient(ellipse at 80% 20%, var(--ink-3) 0%, var(--ink) 60%); color: var(--light); padding: 140px 0 90px; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: 10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(200,164,92,.12), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); font-style: italic; }
.lead { font-size: 1.15rem; max-width: 560px; opacity: .85; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 3rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.5rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.8rem; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.hero-stats span { font-size: .82rem; opacity: .7; }
.photo-frame { position: relative; aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; border: 1px solid rgba(200,164,92,.35); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .initials { display: none; }
.photo-frame.no-img img { display: none; }
.photo-frame.no-img .initials { display: grid; place-items: center; position: absolute; inset: 0; font-family: var(--serif); font-size: 7rem; color: var(--gold); opacity: .6; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
#about .two-col { align-items: start; }

/* Image boxes */
.img-box { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--ink-3), var(--ink)); box-shadow: 0 20px 50px rgba(13,19,33,.18); }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.img-box.no-img img { display: none; }
.img-box.no-img::before { content: "Add photo"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 1.5rem; opacity: .5; }
.img-caption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(13,19,33,.85); color: #fff; padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; }

/* Quote */
.quote-band { background: var(--ink); padding: 5rem 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.35; color: #fff; }
.quote-band cite { display: block; margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; border: 1px solid rgba(13,19,33,.06); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,19,33,.1); }
.card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.flag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .15em; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: .2rem .7rem; margin-bottom: 1.2rem; }
.dark-card { background: var(--ink-2); border-color: rgba(255,255,255,.06); }
.dark-card p { color: rgba(232,230,225,.75); }
.big { display: block; font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; }

/* Tags */
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { background: var(--ink); color: var(--gold-2); font-size: .82rem; padding: .45rem 1rem; border-radius: 999px; }

/* Education */
.edu-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.edu { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-top: 2px solid var(--gold); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.edu span { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.edu h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.edu p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(200,164,92,.15)); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 2.2rem; padding: 0 0 2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 64px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--gold); }
.timeline .year { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--ink); padding-top: 2px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: .1rem; }
.timeline p { margin: 0; color: var(--muted); }

/* Video cards */
.video-card { display: block; text-decoration: none; background: linear-gradient(150deg, var(--ink-2), var(--ink)); color: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem; position: relative; overflow: hidden; transition: transform .3s; }
.video-card:hover { transform: translateY(-6px); }
.video-card h3 { color: #fff; margin-top: 1.2rem; }
.video-card p { margin: 0; opacity: .75; font-size: .95rem; }
.play { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1.1rem; padding-left: 3px; transition: transform .3s; }
.video-card:hover .play { transform: scale(1.1); }

/* Press */
.press { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.press a { display: block; padding: .8rem 1.4rem; border: 1px solid rgba(13,19,33,.15); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: .2s; }
.press a:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* Contact */
#contact .two-col { align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-points li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-points span { display: inline-block; min-width: 130px; color: var(--gold); font-weight: 600; }
.contact-form { background: var(--ink-2); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border: 1px solid rgba(200,164,92,.2); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 1.1rem; color: rgba(232,230,225,.85); }
.contact-form input, .contact-form textarea, .contact-form select { display: block; width: 100%; margin-top: .4rem; padding: .85rem 1rem; background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #fff; font: inherit; font-size: .95rem; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #e57373; }
.contact-form textarea { resize: vertical; }
.contact-form input[type=file] { padding: .7rem; font-size: .85rem; }
.contact-form input[type=file]::file-selector-button { background: var(--gold); color: var(--ink); border: 0; border-radius: 6px; padding: .4rem .9rem; margin-right: .8rem; font-weight: 600; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #8fd19e; }
.form-status.err { color: #f19999; }

/* Footer */
.site-footer { background: #080c16; color: rgba(232,230,225,.7); padding: 3rem 0; font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-grid p { margin: .3rem 0 0; }
.social { list-style: none; display: flex; gap: 1.2rem; padding: 0; margin: 0; flex-wrap: wrap; }
.social a { text-decoration: none; transition: color .2s; }
.social a:hover { color: var(--gold); }
.copy { width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 1.1rem; }
  .main-nav a { font-size: .84rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(13,19,33,.98); padding: 1rem 4%; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; padding-block: 0; }
  .main-nav.open { max-height: 80vh; padding-block: 1rem; overflow-y: auto; }
  .main-nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav .nav-cta { border: 0; padding: .9rem 0; border-radius: 0; }
  .site-header.menu-open { background: rgba(13,19,33,.98); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-photo { width: 100%; max-width: 340px; margin: 0 auto; order: -1; }
  .hero { padding-top: 110px; min-height: auto; }
  .media-left .img-box { order: 2; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid.four, .contact-form .row { grid-template-columns: 1fr; }
  .contact-form .row { gap: 0; }
  .hero-stats { gap: 1.5rem; }
  .timeline::before { left: 54px; }
  .timeline li { grid-template-columns: 54px 1fr; gap: 1.6rem; }
  .timeline li::before { left: 48px; }
  .timeline .year { font-size: 1.1rem; }
}

/* ===== Image placements ===== */
.about-img { aspect-ratio: 4/3; margin-bottom: 2rem; }
.img-box.wide { aspect-ratio: 21/9; margin-bottom: 2.5rem; }
.img-box.tall { aspect-ratio: 571/815; position: sticky; top: 100px; }
.honors-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.timeline h3 a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.timeline h3 a:hover { color: var(--gold); }
.banner { background: var(--ink); line-height: 0; }
.banner img { width: 100%; max-height: 320px; object-fit: cover; }
.banner.no-img { display: none; }
.dark .img-box { box-shadow: 0 20px 50px rgba(0,0,0,.4); }
@media (max-width: 960px) {
  .honors-grid { grid-template-columns: 1fr; }
  .img-box.tall { position: static; max-width: 420px; }
  .img-box.wide { aspect-ratio: 16/9; }
}
[hidden] { display: none !important; }

/* ===== Hero with full-width stage photo ===== */
.hero { background: #000; }
.hero::after { display: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 35%, rgba(0,0,0,.15) 62%, rgba(0,0,0,0) 75%),
  linear-gradient(0deg, rgba(13,19,33,.9) 0%, rgba(13,19,33,0) 25%); }
.hero-grid { grid-template-columns: minmax(0, 620px); }
@media (max-width: 960px) {
  .hero { flex-direction: column; align-items: stretch; padding-top: 0; }
  .hero-bg { position: relative; height: 62vh; min-height: 340px; object-position: 78% 20%; }
  .hero-shade { top: 0; bottom: auto; height: 62vh; min-height: 340px; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 45%); }
  .hero-grid { position: relative; margin-top: -4rem; padding-bottom: 1rem; }
}

/* ===== About photo (arched) ===== */
.about-grid { grid-template-columns: 0.9fr 1.1fr; }
.about-photo { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: 50% 50% var(--radius) var(--radius) / 41% 41% var(--radius) var(--radius); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 659/814; object-fit: cover; object-position: center top; border-radius: 50% 50% var(--radius) var(--radius) / 41% 41% var(--radius) var(--radius); box-shadow: 0 25px 50px rgba(13,19,33,.25); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 320px; margin-bottom: 1.5rem; } .about-photo::before { inset: 12px -12px -12px 12px; } }

/* ===== TEDx talk ===== */
.section.tedx { background: radial-gradient(ellipse at 70% 0%, #2a1a2e 0%, var(--ink) 55%); }
.tedx-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.tedx-head h2 { margin: 0; }
.tedx-head .eyebrow { color: #e62b1e; }
.tedx-intro { opacity: .8; margin: 0; }
.video-wrap { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: #e62b1e; color: #fff; font-size: 2rem; cursor: pointer; display: grid; place-items: center; padding-left: 6px; box-shadow: 0 0 0 14px rgba(230,43,30,.25); transition: transform .25s, box-shadow .25s; }
.video-play:hover { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(230,43,30,.2); }
.video-wrap.playing .video-play { display: none; }
.tedx-meta { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.tedx-meta strong { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (max-width: 960px) { .tedx-head { grid-template-columns: 1fr; gap: 1rem; } .video-play { width: 72px; height: 72px; font-size: 1.5rem; } }

/* ===== Early Days (merged story section) ===== */
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.early-feature { margin-bottom: 4rem; }
.clipping { margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 25px 50px rgba(13,19,33,.18); transform: rotate(-1.5deg); transition: transform .4s; }
.clipping:hover { transform: rotate(0); }
.clipping img { width: 100%; border-radius: 2px; }
.clipping figcaption { font-size: .82rem; color: var(--muted); padding: .7rem .2rem .8rem; font-style: italic; }
.chapter { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: .6rem; }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.chapter-card { background: #fff; border-radius: var(--radius); overflow: hidden; padding-bottom: 1.6rem; border: 1px solid rgba(13,19,33,.06); }
.chapter-card .img-box { border-radius: 0; box-shadow: none; aspect-ratio: 4/3; margin-bottom: 1.3rem; }
.chapter-card .chapter, .chapter-card h3, .chapter-card p { margin-left: 1.5rem; margin-right: 1.5rem; }
.chapter-card h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.chapter-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.race-strip { margin-top: 3rem; background: var(--ink); color: var(--light); border-radius: var(--radius); padding: 2.2rem 2.4rem; }
.race-strip ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.race-strip strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.race-strip span { font-size: .92rem; opacity: .8; }
@media (max-width: 960px) {
  .chapters, .race-strip ul { grid-template-columns: 1fr; }
  .clipping { transform: none; }
  .early-feature { margin-bottom: 2.5rem; }
}

/* ===== Pride Group ventures ===== */
.section.ventures { background: linear-gradient(180deg, var(--ink) 0%, #111a2c 100%); }
.ventures .section-lead { color: rgba(232,230,225,.7); }
.ventures-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
.showreel { position: sticky; top: 100px; }
.phone { position: relative; aspect-ratio: 9/16; border-radius: 36px; overflow: hidden; background: #000; border: 8px solid #1d2638; box-shadow: 0 0 0 1px rgba(200,164,92,.35), 0 30px 70px rgba(0,0,0,.5); }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .video-play { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 12px rgba(200,164,92,.25); width: 80px; height: 80px; }
.phone.playing .video-play { display: none; }
.showreel-cap { text-align: center; font-size: .88rem; color: var(--gold); margin-top: 1rem; }
.venture-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.venture { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; transition: border-color .3s, transform .3s, background .3s; }
.venture:hover { border-color: rgba(200,164,92,.5); background: rgba(255,255,255,.06); transform: translateY(-4px); }
.v-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--serif); font-size: 1.6rem; color: rgba(200,164,92,.35); }
.venture .v-tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin: 0 0 .5rem; opacity: 1; }
.venture h3 { font-size: 1.4rem; margin-bottom: .5rem; padding-right: 2.5rem; }
.venture p:last-child { font-size: .92rem; color: rgba(232,230,225,.72); margin: 0; }
@media (max-width: 1080px) { .ventures-grid { grid-template-columns: 280px 1fr; gap: 2.5rem; } .venture-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ventures-grid { grid-template-columns: 1fr; } .showreel { position: static; max-width: 300px; margin: 0 auto; } }
.ventures-grid.no-video { grid-template-columns: 1fr; }
.no-video .venture-list { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .no-video .venture-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .no-video .venture-list { grid-template-columns: 1fr; } }

/* ===== Wide-screen layout (fills large monitors, less empty space) ===== */
.container { width: min(1360px, 90%); }
.nav-wrap, .hero .container { width: min(1640px, 92%); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.quote-band { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.hero-grid { grid-template-columns: minmax(0, 720px); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 5.6rem); }
.lead { max-width: 620px; }
.section-head { max-width: 860px; margin-bottom: 2.5rem; }
.two-col { gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .about-photo { max-width: 520px; }
  .timeline { max-width: none; }
}
img[width][height] { height: auto; }
.img-box img, .hero-bg, .about-photo img { height: 100%; }
.about-photo img { height: auto; }

/* ===================================================================
   TYPOGRAPHY MATCHED TO THE ORIGINAL WIX SITE
   Wix used: Helvetica (headings + body), Arial Black (logo),
   Wix Madefor Text (menu), Wix Madefor Display (designations).
   Sizes scale with screen width exactly like Wix (values = size at 1920px).
   =================================================================== */
:root {
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --logo: "Arial Black", "Archivo Black", "Helvetica Neue", Arial, sans-serif;
}
body { font-family: var(--sans); font-size: clamp(16px, 0.94vw, 18px); line-height: 1.6; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.01em; }

/* Logo: Arial Black, 45px @1920 */
.brand { font-family: var(--logo); font-weight: 400; letter-spacing: 0; font-size: clamp(1.25rem, 2.35vw, 45px); }
.nav-wrap { height: clamp(76px, 5vw, 96px); }
html { scroll-padding-top: clamp(80px, 5vw, 100px); }
@media (max-width: 960px) { .main-nav { inset: 76px 0 auto 0; } }

/* Menu: Wix Madefor Text, 18px @1920 */
.main-nav a { font-family: var(--ui); font-size: clamp(.85rem, .94vw, 18px); font-weight: 400; }
@media (max-width: 960px) { .main-nav a { font-size: 1.05rem; } }

/* Hero headline: Helvetica Bold, 151px @1920, not italic */
.hero h1 { font-weight: 700; font-size: clamp(2.6rem, 7.85vw, 151px); line-height: 1; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; }
.hero-grid { grid-template-columns: minmax(0, min(1000px, 58vw)); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Section headings: Helvetica Bold, 68px @1920 */
h2 { font-weight: 700; font-size: clamp(2rem, 3.55vw, 68px); line-height: 1.05; }
.h3-lg { font-size: clamp(1.5rem, 2vw, 38px); font-weight: 700; }
/* Card / item titles: Helvetica, 25px @1920 */
h3 { font-size: clamp(1.15rem, 1.3vw, 25px); font-weight: 700; }

/* Intro paragraphs: Helvetica, 30px @1920 */
.lead, .section-lead, #about .prose p:nth-of-type(2) { font-size: clamp(1.1rem, 1.57vw, 30px); line-height: 1.4; }
.prose p, .card p, .venture p:last-child, .chapter-card p, .timeline p, .edu p { font-size: clamp(15px, 0.94vw, 18px); }

/* Quote: Helvetica Bold, not italic */
.quote-band blockquote { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 50px); line-height: 1.25; letter-spacing: -0.01em; }

/* Designations: Wix Madefor Display, 30px @1920 */
#designations .card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.57vw, 30px); }
#designations .card p { font-family: var(--display); }

/* Numbers & labels */
.hero-stats strong, .big, .race-strip strong, .edu span, .v-num, .timeline .year { font-family: var(--sans); font-weight: 700; }
.hero-stats strong { font-size: clamp(2rem, 2.6vw, 50px); }
.btn, .contact-form, .tags li, .press a { font-family: var(--sans); }
.eyebrow, .chapter, .v-tag { font-family: var(--sans); }
.about-photo { max-width: 560px; }

/* ===================================================================
   THEME MATCHED TO THE ORIGINAL WIX SITE
   Black backgrounds, olive (#2A2E27) bands and glows, cream text
   (#FAF4ED), soft grey (#C3BFB7) accents, white pill cards, square buttons.
   =================================================================== */
:root {
  --ink: #000; --ink-2: #0e0f0c; --ink-3: #2A2E27;
  --paper: #000; --paper-2: #000;
  --gold: #C3BFB7; --gold-2: #FAF4ED;
  --text: #FAF4ED; --muted: #C3BFB7; --light: #FAF4ED;
  --olive: #2A2E27; --cream: #FAF4ED; --soft: #C3BFB7;
  --glow: rgba(122, 112, 78, .45);
}
body { background: #000; color: var(--cream); }
h1, h2, h3, .section.dark h2, .section.dark h3 { color: var(--cream); }
.section, .section.alt, .section.dark { background: #000; color: var(--cream); }
.section:not(.dark) .prose p, .prose p { color: var(--cream); opacity: .92; }
.section .prose p.eyebrow, .eyebrow { color: var(--soft); }
.section-lead, .tedx-intro, .ventures .section-lead { color: var(--soft); opacity: 1; }

/* Olive glows like the Wix sections */
#about { background: linear-gradient(347deg, #000 67.5%, var(--olive) 100%); }
#whereabouts, #education, #media, #ventures, #honors {
  background: radial-gradient(ellipse 60% 70% at 0% 70%, var(--glow), transparent 70%),
              radial-gradient(ellipse 50% 60% at 100% 0%, rgba(42,46,39,.9), transparent 70%), #000; }
#early-days, #designations, #contact, #tedx { background: #000; }
.section.tedx { background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(42,46,39,.95), transparent 70%), #000; }

/* Header, hero, footer */
.site-header.scrolled, .site-header.menu-open { background: rgba(0,0,0,.94); }
@media (max-width: 960px) { .main-nav { background: rgba(0,0,0,.98); } }
.brand span { color: inherit; }
.main-nav a:hover { color: var(--soft); }
.main-nav .nav-cta { border-color: var(--cream); color: var(--cream); border-radius: 0; }
.main-nav .nav-cta:hover { background: var(--cream); color: #000; }
.hero h1 em { color: var(--cream); }
.hero-stats strong { color: var(--cream); }
.hero-stats span { color: var(--soft); opacity: 1; }
.hero-shade { background:
  linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 35%, rgba(0,0,0,.15) 62%, rgba(0,0,0,0) 75%),
  linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 25%); }
@media (max-width: 960px) { .hero-shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 45%); } }
.site-footer { background: #000; border-top: 1px solid rgba(250,244,237,.12); color: var(--soft); }
.site-footer .brand { color: var(--cream); }

/* Buttons: square, white with black text (as on Wix) */
.btn { border-radius: 0; }
.btn-gold { background: #fff; color: #000; }
.btn-gold:hover { background: var(--soft); box-shadow: none; }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: #000; border-color: var(--cream); }

/* Quote band: olive strip */
.quote-band { background: var(--olive); }
.quote-band blockquote { color: var(--cream); }
.quote-band cite { color: var(--soft); }

/* White pill cards: Designations & Education (as on Wix) */
#designations .card, .edu { background: #fff; color: #000; border: 0; border-radius: 48px; text-align: center; }
#designations .card { padding: 2.2rem 1.6rem; }
#designations .card h3, .edu h3 { color: #000; }
#designations .card p, .edu p { color: #333; }
#designations .flag { color: #000; border-color: #000; }
.edu { border-top: 0; flex-direction: column; align-items: center; padding: 1.8rem 1.2rem; }
.edu span { color: #888; }

/* Dark cards */
.venture, .chapter-card, .video-card, .dark-card, .contact-form, .race-strip {
  background: var(--ink-2); border: 1px solid rgba(250,244,237,.12); color: var(--cream); }
.venture:hover, .chapter-card:hover, .video-card:hover { border-color: rgba(250,244,237,.45); }
.chapter-card p, .venture p:last-child, .video-card p, .dark-card p { color: var(--soft); opacity: 1; }
.chapter-card h3, .venture h3, .video-card h3 { color: var(--cream); }
.chapter, .v-tag, .venture .v-tag { color: var(--soft); }
.v-num { color: rgba(250,244,237,.25); }
.race-strip { background: var(--olive); border: 0; }
.race-strip strong, .big { color: var(--cream); }
.play, .phone .video-play { background: var(--cream); color: #000; }

/* Images & misc */
.img-box { background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.img-caption { background: rgba(0,0,0,.8); }
.about-photo::before { border-color: rgba(250,244,237,.45); }
.tags li { background: var(--olive); color: var(--cream); }
.press a { border-color: rgba(250,244,237,.3); color: var(--cream); }
.press a:hover { background: var(--cream); color: #000; border-color: var(--cream); }
.timeline::before { background: linear-gradient(var(--soft), rgba(195,191,183,.15)); }
.timeline li::before { background: #000; border-color: var(--soft); }
.timeline .year, .timeline h3 a { color: var(--cream); }
.timeline h3 a { border-bottom-color: var(--soft); }
.timeline p { color: var(--soft); }
.tedx-meta strong { color: var(--soft); }
.showreel-cap { color: var(--soft); }

/* Contact form: transparent fields with underline (Wix style) */
.contact-form { background: transparent; border: 1px solid rgba(250,244,237,.18); border-radius: 0; }
.contact-form label { color: var(--soft); }
.contact-form input, .contact-form textarea, .contact-form select {
  background: transparent; border: 0; border-bottom: 1px solid rgba(250,244,237,.45); border-radius: 0; color: var(--cream); padding-left: 0; }
.contact-form select option { background: #000; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--cream); }
.contact-form input[type=file] { border: 1px dashed rgba(250,244,237,.35); padding: .7rem; }
.contact-form input[type=file]::file-selector-button { background: #fff; color: #000; border-radius: 0; }
.contact-points span { color: var(--soft); }
.contact-points li { border-bottom-color: rgba(250,244,237,.12); }
#whereabouts, #education, #media, #ventures, #honors {
  background: radial-gradient(ellipse 45% 45% at 0% 55%, var(--glow), transparent 100%),
              radial-gradient(ellipse 40% 40% at 100% 15%, rgba(42,46,39,.9), transparent 100%), #000; }

/* ===== Original-site content styling ===== */
.section h2 { text-transform: uppercase; }
.hero-sign { font-size: clamp(1rem, 1.3vw, 25px); color: var(--cream); margin: 1rem 0 1.4rem; letter-spacing: .02em; }
.about-lead { font-size: clamp(1.1rem, 1.57vw, 30px) !important; line-height: 1.4; color: var(--cream); opacity: 1 !important; }
#about .prose p:nth-of-type(2) { font-size: clamp(15px, .94vw, 18px); line-height: 1.6; }
.race-title { font-size: clamp(1.4rem, 2vw, 38px); text-transform: uppercase; margin-bottom: 1.6rem; color: var(--cream); }
.race-strip ul { align-items: start; }
.race-strip span { font-size: clamp(14px, .9vw, 17px); line-height: 1.6; display: block; }
.race-strip b { color: var(--cream); }
.chapter-card p + p { margin-top: .7rem; }
.timeline p { font-size: clamp(15px, .94vw, 18px); }

/* ===== YouTube thumbnails on interview cards ===== */
.video-card { padding: 0 0 1.6rem; overflow: hidden; }
.video-card .thumb { position: relative; display: block; aspect-ratio: 16/9; background: #111; overflow: hidden; margin-bottom: 1.2rem; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); }
.video-card .thumb .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; font-size: 1.3rem; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.video-card:hover .thumb .play { transform: translate(-50%, -50%) scale(1.1); }
.video-card h3, .video-card p { margin-left: 1.5rem; margin-right: 1.5rem; }
.video-card h3 { margin-top: 0; }

/* ===================================================================
   UNIFIED TYPE SYSTEM (final authority for font sizes)
   One size per role. Desktop values match the original Wix site at
   1920px; phone sizes never drop below 16px for body text or inputs.
   =================================================================== */
:root {
  --fs-h1:    clamp(2.6rem, 7.85vw, 151px);  /* hero headline        */
  --fs-h2:    clamp(2rem,   3.55vw, 68px);   /* section titles       */
  --fs-h3l:   clamp(1.5rem, 2vw,    38px);   /* sub-section titles   */
  --fs-h3:    clamp(1.2rem, 1.25vw, 24px);   /* card / item titles   */
  --fs-lead:  clamp(1.15rem,1.57vw, 30px);   /* intro paragraphs     */
  --fs-body:  clamp(16px,   .94vw,  18px);   /* all body text        */
  --fs-small: clamp(14px,   .8vw,   15px);   /* captions, chips      */
  --fs-label: 13px;                          /* uppercase labels     */
  --fs-stat:  clamp(2.1rem, 2.6vw,  50px);   /* big numbers          */
}
body { font-size: var(--fs-body); line-height: 1.6; }

/* Headings */
.hero h1 { font-size: var(--fs-h1); }
.section h2, .section .section-head h2, .tedx-head h2 { font-size: var(--fs-h2); line-height: 1.05; font-weight: 700; }
.h3-lg, .race-title { font-size: var(--fs-h3l); line-height: 1.15; font-weight: 700; }
.card h3, #designations .card h3, .venture h3, .chapter-card h3, .video-card h3, .timeline h3, .edu h3, .dark-card h3 {
  font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; }

/* Intro paragraphs (same everywhere) */
.lead, .section-lead, .about-lead, .tedx-intro, .hero-sign { font-size: var(--fs-lead) !important; line-height: 1.4; }
.hero-sign { font-size: var(--fs-h3) !important; }
.tedx-intro { color: var(--soft); }

/* Body text (same everywhere) */
p, li, .prose p, #about .prose p:nth-of-type(2), .card p, #designations .card p, .venture p:last-child, .chapter-card p,
.video-card p, .timeline p, .edu p, .race-strip span, .contact-points li, .tedx-meta li {
  font-size: var(--fs-body); line-height: 1.6; }
.prose p.eyebrow, .venture p.v-tag { font-size: var(--fs-label); }

/* Small text */
.tags li, .img-caption, .clipping figcaption, .press a, .hero-stats span, .site-footer p, .site-footer a, .copy {
  font-size: var(--fs-small); line-height: 1.5; }

/* Uppercase labels */
.eyebrow, .chapter, .v-tag, .flag, .tedx-meta strong, .quote-band cite {
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }

/* Big numbers */
.hero-stats strong, .race-strip strong, .big { font-size: var(--fs-stat); line-height: 1; }
.edu span, .v-num, .timeline .year { font-size: var(--fs-h3); line-height: 1.2; }

/* Quote */
.quote-band blockquote { font-size: clamp(1.4rem, 2.6vw, 50px); }

/* UI */
.main-nav a, .main-nav .nav-cta { font-size: clamp(15px, .94vw, 18px); }
.btn, button.btn { font-size: 16px; }
.contact-form label { font-size: var(--fs-small); }
.contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; } /* prevents iPhone zoom */
.play, .video-play { font-family: var(--sans); }
@media (max-width: 960px) { .main-nav a { font-size: 1.05rem; } }
.site-footer .brand { font-size: clamp(1.4rem, 1.8vw, 34px); line-height: 1.2; }
p.lead, p.section-lead, p.about-lead, p.tedx-intro, p.hero-sign { line-height: 1.4; }
.contact-form input[type=file] { font-size: 15px; }

/* ===== SEO / accessibility helpers ===== */
.h1-kicker { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--soft); margin-bottom: 1.4rem; }
.h1-main { display: block; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: .8rem 1.2rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
@media (max-width: 960px) { .hero img.hero-bg { height: 62vh; min-height: 340px; } }
.race-strip strong { white-space: nowrap; }

/* Early Days intro spans the full width */
#early-days .section-head { max-width: none; }
#early-days .section-lead { max-width: none; }

/* ===== Old-content-only layout ===== */
.hero-sign { margin-top: 1.5rem; }
.clip-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; align-items: start; }
.clip-pair .clipping { padding-bottom: 12px; }
.clip-pair .clipping:nth-child(2) { transform: rotate(1.2deg); }
.story-row { align-items: center; }
#racecourse { background: radial-gradient(ellipse 45% 45% at 100% 50%, var(--glow), transparent 100%), #000; }
#racecourse .prose h2 { margin-bottom: 1.5rem; }
.edu { justify-content: center; }
.edu h3 { margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--cream); padding-top: 3px; }
#designations .card h3 { margin-bottom: .5rem; }
@media (max-width: 760px) { .clip-pair { grid-template-columns: 1fr; } .clip-pair .clipping:nth-child(2) { transform: none; } }
.timeline::before { left: 84px; }
.timeline li { grid-template-columns: 84px 1fr; gap: 2rem; }
.timeline li::before { left: 78px; }
@media (max-width: 560px) { .timeline::before { left: 62px; } .timeline li { grid-template-columns: 62px 1fr; gap: 1.5rem; } .timeline li::before { left: 56px; } }
/* Hero headline: reduced from 151px to 112px at 1920px */
:root { --fs-h1: clamp(2.3rem, 5.85vw, 112px); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.05; }

/* ===== Copyright bar ===== */
.site-footer { padding: 3rem 0 0; }
.copyright-bar { margin-top: 2.5rem; border-top: 1px solid rgba(250,244,237,.15); padding: 1.4rem 0; text-align: center; }
.copyright-bar .copy { margin: 0; border: 0; padding: 0; width: auto; color: var(--soft); font-size: var(--fs-small); letter-spacing: .02em; }

/* About: all three paragraphs at the standard body size */
#about .prose p, #about .prose p.about-lead { font-size: var(--fs-body) !important; line-height: 1.7; color: var(--cream); opacity: .92 !important; }

/* Early Days: intro at the standard body size, same as the football paragraphs */
#early-days .section-lead { font-size: var(--fs-body) !important; line-height: 1.7; color: var(--cream); opacity: .92; }

/* Education & Honors intros at the standard body size */
#education .section-lead, #honors .section-lead { font-size: var(--fs-body) !important; line-height: 1.7; color: var(--cream); opacity: .92; max-width: none; }
#education .section-head, #honors .section-head { max-width: none; }

/* Quote: fits on two lines on desktop and laptop */
.quote-band blockquote { max-width: 1240px; font-size: clamp(1.25rem, 2.05vw, 40px); line-height: 1.3; text-wrap: balance; }

/* Current Whereabouts paragraphs: 20px on desktop */
#whereabouts .prose p { font-size: clamp(17px, 1.05vw, 20px); line-height: 1.6; }

/* All body paragraphs: 20px on desktop (17px on smaller screens) */
:root { --fs-body: clamp(17px, 1.05vw, 20px); }

/* ===== "Let's Create History Together" band (olive, as on the old site) ===== */
.history-band { background: var(--olive); padding: clamp(2.5rem, 5vw, 4.5rem) 0; text-align: center; }
.history-band .history-line { margin: 0; font-family: var(--sans); font-weight: 700; color: var(--cream); font-size: clamp(1.8rem, 3.55vw, 68px) !important; line-height: 1.1; letter-spacing: -0.01em; opacity: 1; }

/* ===================================================================
   ANIMATIONS
   =================================================================== */
/* Hero: photo eases in, headline and signature rise up */
@keyframes heroZoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim .hero-bg { animation: heroZoom 1.8s cubic-bezier(.2,.7,.2,1) both; will-change: transform; }
.anim .hero h1 { animation: riseIn 1.1s cubic-bezier(.2,.7,.2,1) .35s both; }
.anim .hero-sign { animation: riseIn 1s cubic-bezier(.2,.7,.2,1) .8s both; }
.anim .site-header { animation: fadeIn 1s ease .2s both; }

/* Smoother general reveal */
.reveal { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transform: translateY(36px); }
.reveal.in { transform: none; }

/* Images: wipe up into view, then settle from a slight zoom */
.anim .img-box.reveal, .anim .about-photo.reveal, .anim .video-wrap.reveal { clip-path: inset(18% 0 0 0 round var(--radius)); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1), clip-path 1.2s cubic-bezier(.2,.7,.2,1); }
.anim .img-box.reveal.in, .anim .about-photo.reveal.in, .anim .video-wrap.reveal.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.anim .about-photo.reveal { clip-path: none; }
.anim .img-box.reveal img, .anim .about-photo.reveal img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.anim .img-box.reveal.in img, .anim .about-photo.reveal.in img { transform: scale(1); }
.img-box:hover img { transform: scale(1.04) !important; transition: transform .8s ease !important; }

/* Newspaper clippings tilt into place */
.anim .clipping.reveal { transform: translateY(40px) rotate(-5deg); }
.anim .clipping.reveal:nth-child(2) { transform: translateY(40px) rotate(5deg); }
.anim .clipping.reveal.in { transform: rotate(-1.5deg); }
.anim .clipping.reveal.in:nth-child(2) { transform: rotate(1.2deg); }
.anim .clipping.reveal.in:hover { transform: rotate(0) scale(1.02); transition: transform .5s ease; }

/* Section titles: underline grows in */
.section h2 { position: relative; }
.anim .section h2::after { content: ""; display: block; width: 72px; height: 3px; margin-top: .45em; background: var(--soft); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1) .25s; }
.anim .section h2.in-view::after { transform: scaleX(1); }

/* Honors timeline: the line draws downward, dots pop in */
.anim .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 2s cubic-bezier(.2,.7,.2,1) .2s; }
.anim .timeline.in-view::before { transform: scaleY(1); }
.anim .timeline li::before { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .3s; }
.anim .timeline li.in::before { transform: scale(1); }

/* Quote and "Let's Create History Together": letters spread in */
.anim .quote-band blockquote, .anim .history-line { opacity: 0; letter-spacing: .06em; filter: blur(6px); transition: opacity 1.2s ease, letter-spacing 1.4s cubic-bezier(.2,.7,.2,1), filter 1.2s ease; }
.anim .quote-band blockquote.in-view, .anim .history-line.in-view { opacity: 1; letter-spacing: -0.01em; filter: none; }

/* Cards: lift on hover */
.card, .edu, .video-card, #designations .card { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, opacity .9s, border-color .3s; }
#designations .card:hover, .edu:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.video-card:hover { transform: translateY(-6px); }

/* Buttons & links */
.btn, .contact-form button { position: relative; overflow: hidden; }
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.press a { transition: background .3s, color .3s, transform .3s; }
.press a:hover { transform: translateY(-3px); }

/* Menu: animated underline + active section */
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--cream); }
@media (max-width: 960px) { .main-nav a:not(.nav-cta)::after { display: none; } }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--cream); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

/* TEDx play button pulse */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,43,30,.55); } 70% { box-shadow: 0 0 0 26px rgba(230,43,30,0); } 100% { box-shadow: 0 0 0 0 rgba(230,43,30,0); } }
.anim .video-wrap:not(.playing) .video-play { animation: pulse 2.2s infinite; }

/* Turn everything off for visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@keyframes heroZoom2 { from { transform: scale(1.1); } to { transform: scale(1); } }
.anim .hero-bg { animation: heroZoom2 1.8s cubic-bezier(.2,.7,.2,1) both; }
.anim .hero h1 { animation-delay: .1s; animation-duration: .9s; }
.anim .hero-sign { animation-delay: .45s; }
