:root {
  --navy: #00264d;
  --blue: #004684;
  --blue-2: #0a5aa8;
  --gold: #fdb927;
  --gold-2: #ffd36b;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(0, 38, 77, .35);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 38, 77, .86); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.mono { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy); font-weight: 800; font-size: .9rem; letter-spacing: .5px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy) !important; box-shadow: 0 10px 26px -10px rgba(253,185,39,.8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(10,90,168,.75), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(253,185,39,.18), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #003566 55%, var(--blue) 100%); }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 24px 110px; }
.eyebrow { color: var(--gold-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; }
.gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 38em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-size: .88rem; color: #fff; }
.hero-photo { position: relative; justify-self: center; }
.ring { width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%; padding: 8px;
  background: conic-gradient(from 200deg, var(--gold), var(--gold-2), #fff6, var(--gold)); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--navy); }
.badge-float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; font-size: .8rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.badge-float strong { font-size: .92rem; color: var(--blue); }
.badge-float span { color: var(--muted); }
.b1 { left: -28px; top: 18%; }
.b2 { right: -22px; bottom: 12%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* stats */
.stats-band { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 28px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.lbl { color: rgba(255,255,255,.75); font-size: .9rem; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin: 0 0 10px; }
.kicker.light, h2.light, .lead.light { color: #fff; }
.kicker.light { color: var(--gold-2); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 18px; }
h3 { margin: 0 0 6px; }
.meta { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-grid p { color: #33445a; font-size: 1.05rem; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* timeline */
.timeline { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 160px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--blue)); }
.timeline > li { display: grid; grid-template-columns: 160px 1fr; gap: 40px; margin-bottom: 26px; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: 153px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-alt); box-shadow: 0 0 0 2px var(--blue); }
.when { text-align: right; color: var(--blue); font-weight: 700; font-size: .88rem; line-height: 1.35; padding-top: 16px; padding-right: 18px; }
.when span { display: block; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: 0 6px 24px -18px rgba(0,38,77,.4);
  transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; }
.org { color: var(--blue); font-weight: 600; }
.card ul { margin: 0 0 12px; padding-left: 18px; color: #33445a; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: #eef4fb; color: var(--blue); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* speaking */
.speaking { position: relative; color: #fff; overflow: hidden; }
.speak-bg { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,38,77,.96) 0%, rgba(0,38,77,.86) 45%, rgba(0,38,77,.55) 100%),
  url(/img/gabby-speaking-espc24.jpg) right center / cover no-repeat; }
.speaking .wrap { position: relative; }
.talks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; max-width: 860px; }
.talk { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.talk-event { color: var(--gold-2); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.talk h3 { font-size: 1.12rem; line-height: 1.3; }
.talk p:not(.talk-event) { color: rgba(255,255,255,.8); margin: 8px 0 0; font-size: .95rem; }

.strip { margin: 0; background: #e8eef5; }
.strip img { width: 100%; max-height: 360px; object-fit: cover; object-position: center 40%; }

/* skills */
.skills-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.sub { font-size: 1rem; color: var(--muted); margin: 22px 0 10px; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { background: #eef4fb; color: var(--blue); border: 1px solid #d6e4f3; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.gold-pills span { background: #fff7e3; color: #7a5300; border-color: #f6dfa3; }
.edu { border-left: 4px solid var(--gold); padding: 4px 0 4px 18px; margin-bottom: 18px; }
.edu p:not(.meta) { color: #33445a; margin: 0; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; color: #33445a; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300264d' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }

/* looking */
.looking { padding: 0 0 96px; }
.looking-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-radius: 24px; padding: 40px 44px; box-shadow: var(--shadow); }
.looking-card .kicker { color: var(--gold-2); }
.looking-card p { color: rgba(255,255,255,.85); margin: 0; max-width: 40em; }
.looking-card h2 { margin-bottom: 10px; }

/* resume form */
.resume-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.resume-grid > div > p { color: #33445a; font-size: 1.05rem; }
.req { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.req label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 14px; }
.req input, .req textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400;
  background: #fbfdff; transition: border-color .15s ease, box-shadow .15s ease; }
.req input:focus, .req textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(10,90,168,.12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: #0a7a3d; }
.form-msg.err { color: #b42318; }

.foot { background: var(--navy); color: rgba(255,255,255,.7); padding: 26px 0; font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot a { color: var(--gold-2); text-decoration: none; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge-float { animation: none; }
}

/* responsive */
@media (max-width: 920px) {
  .hero-grid, .about-grid, .skills-grid, .resume-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding: 64px 24px 80px; }
  .hero-photo { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(255,255,255,.08); }
  .talks { grid-template-columns: 1fr; }
  .looking-card { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .brand-name { display: none; }
  .section { padding: 72px 0; }
  .timeline::before { left: 7px; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline > li::before { left: 0; top: 4px; }
  .when { text-align: left; padding: 0; }
  .when span { display: inline; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .b1 { left: -6px; top: 6%; }
  .b2 { right: -6px; bottom: 4%; }
  .speak-bg { background: linear-gradient(180deg, rgba(0,38,77,.9), rgba(0,38,77,.95)), url(/img/gabby-speaking-espc24.jpg) center / cover no-repeat; }
}

.kicker.mt { margin-top: 28px; }
.nf { padding: 120px 24px; position: relative; }
