@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/ibm-plex-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }
/* Noorul Fauhanah · CV site — see DESIGN.md (v2 "Gempak" pass, 12 Nov 2026) */

:root {
  --canvas: #F6F7FA;
  --card: #FFFFFF;
  --step: #ECEFF5;
  --ink: #0F172A;
  --ink-soft: #475569;
  --night: #0B1222;
  --night-2: #0F172A;
  --night-card: #18223A;
  --ivory: #EDEFF5;
  --ash: #C3C7D3;
  --action: #B8860B;
  --gold-hi: #E9C46A;
  --gold-lo: #9A6F08;
  --on-action: #0F172A;
  --mark: #F3E3BC;

  --font: 'IBM Plex Sans', 'Plex Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --t-cap: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.25rem, 1.1rem + 0.4vw, 1.375rem);
  --t-head: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  --t-display: clamp(3.25rem, 1.2rem + 7.4vw, 7.5rem);

  --max: 1200px;
  --gutter: clamp(16px, 2.5vw, 24px);
  --section: clamp(80px, 10vw, 140px);
  --pad: clamp(24px, 3vw, 36px);
  --gap: 14px;
  --r: 14px;
  --arch: 999px 999px 18px 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gold-grad: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 35%, #FFF1C9 50%, var(--gold-hi) 65%, var(--gold-lo) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-hi); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--action); color: var(--ink); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* reading progress */
.progress-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--read, 0)); }

/* film grain on dark sections */
.dark { position: relative; isolation: isolate; }
.dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

h1, h2, h3 { font-weight: 500; }
.display { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-size: var(--t-head); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; max-width: 22ch; }
.h2 .star, .star-mark { display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.3em; vertical-align: 0.12em; color: var(--action); }
.lead { font-size: var(--t-lead); line-height: 1.45; }
.cap { font-size: var(--t-cap); color: var(--ink-soft); }
.soft { color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }
.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ivory); transition: background-color 300ms ease, transform 400ms var(--ease); }
.nav.scrolled { background: rgba(11, 18, 34, 0.78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 10px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.0625rem; text-decoration: none; margin-right: auto; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; color: var(--gold-hi); transition: transform 700ms var(--ease); }
.brand:hover svg { transform: rotate(135deg); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: 0.9375rem; transition: background-color 200ms ease; }
.nav-links a:hover { background: rgba(237, 239, 245, 0.1); }
.nav-links a[aria-current="page"] { background: rgba(237, 239, 245, 0.14); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-hi); }
.nav .menu-btn { display: none; }
.sheet { position: absolute; left: var(--gutter); right: var(--gutter); top: 76px; background: var(--night-card); color: var(--ivory); border-radius: var(--r); padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.sheet a { display: flex; min-height: 54px; align-items: center; padding: 0 18px; border-radius: 999px; text-decoration: none; font-size: 1.25rem; }
.sheet a:hover, .sheet a[aria-current="page"] { background: rgba(237, 239, 245, 0.1); }

/* ---------- buttons ---------- */
.pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: var(--t-body); font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 300ms var(--ease);
}
.pill.sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.gold { background: var(--action); color: var(--on-action); }
.gold:hover { background: var(--gold-hi); }
.gold::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-20deg); }
.ghost { border-color: currentColor; background: transparent; }
.ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.light .ghost:hover, .section .ghost:hover, .closing:not(.dark) .ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pill svg { width: 18px; height: 18px; transition: transform 260ms var(--ease); }
.pill:hover svg { transform: translateX(5px); }
.pill:active { transform: scale(0.97); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero (home) ---------- */
.hero { background: var(--night); color: var(--ivory); min-height: 100svh; display: flex; align-items: center; padding-block: 120px 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 60% at 75% 45%, rgba(184, 134, 11, 0.22), transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(30, 58, 138, 0.35), transparent 70%); }
.pattern { position: absolute; inset: -10%; z-index: -1; color: var(--gold-hi); opacity: 0.07; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .gold-text { padding-right: 0.04em; }
.hero .sub { font-size: var(--t-lead); font-weight: 500; margin-bottom: 18px; color: var(--ivory); }
.hero .intro { max-width: 50ch; margin-bottom: 36px; color: var(--ash); }

/* arch portrait */
.arch-wrap { position: relative; justify-self: center; width: min(100%, 440px); }
.arch { position: relative; border-radius: var(--arch); overflow: hidden; aspect-ratio: 612 / 860; background: #fff; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.arch-ring { position: absolute; inset: -14px -14px -14px -14px; border-radius: var(--arch); border: 1.5px solid var(--gold-hi); opacity: 0.7; pointer-events: none; }
.arch-ring.two { inset: -30px; opacity: 0.25; }
.spin-star { position: absolute; width: 180px; height: 180px; right: -70px; top: -40px; color: var(--gold-hi); opacity: 0.85; pointer-events: none; }
.chip {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  background: rgba(24, 34, 58, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ivory); border: 1px solid rgba(233, 196, 106, 0.35); border-radius: var(--r); padding: 14px 18px;
}
.chip strong { font-size: 2rem; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.chip span { font-size: var(--t-cap); color: var(--ash); }
.chip.c1 { left: -48px; bottom: 18%; }
.chip.c2 { right: -64px; top: 4%; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.chip.c2 svg { width: 22px; height: 22px; color: var(--gold-hi); flex: none; }
.chip.c3 { right: -24px; bottom: 4%; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(237, 239, 245, 0.45); border-radius: 999px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); }

/* page hero (sub pages) */
.page-hero { background: var(--night); color: var(--ivory); padding-block: 160px 96px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 80% at 85% 20%, rgba(184, 134, 11, 0.2), transparent 70%); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; }
.page-hero .lead { max-width: 46ch; color: var(--ash); }
.page-hero .rule { display: block; height: 3px; width: 120px; margin-top: 28px; background: var(--gold-grad); border-radius: 3px; transform-origin: left; }
.page-hero .spin-star { right: -70px; top: auto; bottom: -90px; width: 260px; height: 260px; opacity: 0.16; }
.page-hero { margin-bottom: clamp(56px, 7vw, 104px); }

/* masked lines */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines .line > span { display: inline-block; }

/* ---------- dark chapters ---------- */
.dark { background: var(--night); color: var(--ivory); }
.dark .cap, .dark .soft { color: var(--ash); }
.chapter { padding-block: var(--section); overflow: clip; }
.chapter + .section { padding-top: var(--section); }
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(233, 196, 106, 0.12), transparent 60%); transition: opacity 300ms; }

/* cards */
.cards { display: grid; gap: var(--gap); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--card); border-radius: var(--r); padding: var(--pad); transition: transform 400ms var(--ease), background-color 250ms ease; transform-style: preserve-3d; will-change: transform; }
.dark .card { background: rgba(24, 34, 58, 0.75); border: 1px solid rgba(237, 239, 245, 0.07); }
.card h3 { font-size: var(--t-lead); line-height: 1.25; margin-bottom: 8px; }
.card .big { font-size: clamp(3rem, 2rem + 3vw, 4.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.card .ico { width: 34px; height: 34px; color: var(--action); margin-bottom: 18px; }
.dark .card .ico { color: var(--gold-hi); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(300px circle at var(--cx, 50%) var(--cy, 50%), rgba(233, 196, 106, 0.16), transparent 60%); opacity: 0; transition: opacity 300ms; }
.card:hover::after { opacity: 1; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat { background: var(--card); border-radius: var(--r); padding: 32px var(--pad) 28px; position: relative; overflow: hidden; }
.stat .n { font-size: clamp(3.25rem, 2rem + 3.6vw, 5.25rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat .n.word { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.stat p { margin-top: 14px; color: var(--ink-soft); }
.stat::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); transform-origin: left; }
.stat.feature { background: var(--night); color: var(--ivory); }
.stat.feature p { color: var(--ash); }
.stat.feature .n { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }

/* photo strip */
.strip-wrap { position: relative; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px; cursor: grab; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip figure { flex: none; scroll-snap-align: center; width: clamp(240px, 28vw, 380px); }
.strip figure.wide { width: clamp(300px, 44vw, 600px); }
.strip img { width: 100%; height: clamp(320px, 38vw, 480px); object-fit: cover; border-radius: var(--r); pointer-events: none; user-select: none; transition: transform 600ms var(--ease); }
.strip figure:hover img { transform: scale(1.02); }
.strip figure.arched img { border-radius: var(--arch); }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color 200ms, color 200ms; }
.strip-nav button:hover { background: var(--ivory); color: var(--ink); }
.strip-nav svg { width: 20px; height: 20px; }

/* figures */
figure img { width: 100%; border-radius: var(--r); object-fit: cover; }
figure.arched img { border-radius: var(--arch); }
figcaption { margin-top: 12px; font-size: var(--t-cap); color: var(--ink-soft); }
.dark figcaption { color: var(--ash); }
.photos { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); margin-top: var(--gap); align-items: start; }
.photos .p-tall img { aspect-ratio: 4 / 5; }
.photos .p-wide img { aspect-ratio: 4 / 3; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .h2 { margin-bottom: 24px; }
.prose p + p { margin-top: 1em; }
.prose { font-size: var(--t-lead); line-height: 1.5; }
.about-photo { position: relative; }
.about-photo .arch-ring { inset: -12px; border-color: var(--action); opacity: 0.6; }
.about-photo img { aspect-ratio: 4 / 5; object-position: center 40%; }

/* status */
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--mark); color: var(--ink); border-radius: 999px; padding: 3px 12px 3px 10px; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1F9D55; }
.status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1F9D55; opacity: 0; }

/* marquee */
.marquee { overflow: hidden; padding-block: 30px; background: var(--action); color: var(--ink); }
.marquee.ink { background: var(--night); color: var(--ivory); }
.marquee-track { display: flex; width: max-content; gap: 44px; font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; font-size: 0.6em; opacity: 0.8; }

/* rows / skills */
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
.rows li:nth-child(even) { background: var(--step); margin-inline: -12px; padding-inline: 12px; border-radius: 8px; }
.card .rows li:nth-child(even) { background: var(--canvas); }
.dark .card .rows li:nth-child(even) { background: rgba(237, 239, 245, 0.05); }
.rows .v { font-size: var(--t-cap); color: var(--ink-soft); text-align: right; }
.dark .rows .v { color: var(--ash); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--step); border-radius: 999px; padding: 6px 14px; font-size: 0.9375rem; transition: background-color 200ms, transform 300ms var(--ease); }
.tags li:hover { background: var(--mark); transform: translateY(-2px); }

/* closing */
.closing { padding-block: var(--section); overflow: hidden; }
.closing .spin-star { left: -60px; bottom: -60px; right: auto; top: auto; width: 260px; height: 260px; opacity: 0.18; }
.closing-in { display: grid; grid-template-columns: 8fr 4fr; gap: 32px; align-items: end; }
.closing .h2 { max-width: 30ch; font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); }
.closing .lead { margin-top: 16px; }
.closing .actions { justify-content: flex-end; }

/* footer */
.foot { background: var(--night-card); color: var(--ivory); padding-block: 64px 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: var(--t-cap); font-weight: 500; color: var(--ash); margin-bottom: 12px; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 300ms var(--ease); }
.foot a:hover { background-size: 100% 1px; }
.foot .tagline { font-size: var(--t-lead); max-width: 26ch; }
.foot .big-name { display: block; width: 100%; margin-top: 56px; color: rgba(237, 239, 245, 0.07); }
.foot .legal { margin-top: 16px; font-size: var(--t-cap); color: var(--ash); }

/* ---------- experience timeline ---------- */
.timeline { position: relative; padding-left: 56px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--step); }
.timeline .progress { position: absolute; left: 13px; top: 8px; width: 2px; height: calc(100% - 16px); background: var(--gold-grad); transform-origin: top; transform: scaleY(var(--p, 1)); }
.role { position: relative; }
.role + .role { margin-top: 20px; }
.role::before { content: ""; position: absolute; left: -52px; top: 44px; width: 20px; height: 20px; background: var(--canvas); border: 2px solid var(--ink-soft); transform: rotate(45deg); transition: background-color 300ms ease, border-color 300ms ease, transform 500ms var(--ease); z-index: 1; }
.role.lit::before { background: var(--action); border-color: var(--action); transform: rotate(225deg) scale(1.1); }
.role .card { padding: clamp(28px, 4vw, 52px); }
.role-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.role h2 { font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.role .meta { color: var(--ink-soft); margin-bottom: 28px; }
.role .card.dark .meta { color: var(--ash); }
.role-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.duties li { position: relative; padding-left: 26px; font-size: var(--t-lead); line-height: 1.4; }
.duties li + li { margin-top: 14px; }
.duties li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; background: var(--action); transform: rotate(45deg); }
.dark .duties li::before { background: var(--gold-hi); }
.role .card.dark { background: var(--night); overflow: hidden; }
.role .card.dark .spin-star { right: -60px; top: -60px; width: 240px; height: 240px; opacity: 0.12; }

/* ---------- education ---------- */
.degree { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); }
.degree .card.dark { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; background: var(--night); overflow: hidden; }
.degree .huge { font-size: clamp(5rem, 3rem + 7vw, 10rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.degree dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; margin-top: 28px; }
.degree dt { color: var(--ink-soft); }
.degree dd { font-weight: 500; }

.sem-tabs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 40px; }
.sem-tabs button { appearance: none; border: 0; cursor: pointer; background: var(--card); border-radius: var(--r); padding: 12px 10px; display: grid; grid-template-rows: auto 150px auto; gap: 8px; text-align: left; transition: background-color 220ms ease, color 220ms ease, transform 300ms var(--ease); }
.sem-tabs button:hover { transform: translateY(-4px); }
.sem-tabs .s { font-size: var(--t-cap); color: var(--ink-soft); }
.sem-tabs .bar { position: relative; background: var(--step); border-radius: 8px; overflow: hidden; }
.sem-tabs .bar i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--ink-soft); border-radius: 8px 8px 0 0; transform-origin: bottom; transition: transform 1000ms var(--ease), background-color 220ms ease; }
.sem-tabs .g { font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.sem-tabs button[aria-selected="true"] { background: var(--night); color: var(--ivory); }
.sem-tabs button[aria-selected="true"] .s { color: var(--ash); }
.sem-tabs button[aria-selected="true"] .bar { background: var(--night-card); }
.sem-tabs button[aria-selected="true"] .bar i { background: var(--gold-grad); }
.sem-panel { margin-top: var(--gap); }
.sem-panel h3 { font-size: var(--t-lead); margin-bottom: 16px; }
.sem-panel h3 span { color: var(--ink-soft); font-weight: 400; }

table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: var(--t-cap); font-weight: 500; color: var(--ink-soft); padding: 8px 14px; }
table.data td { padding: 12px 14px; vertical-align: top; }
table.data tbody tr:nth-child(odd) td { background: var(--canvas); }
table.data tbody tr td:first-child { border-radius: 8px 0 0 8px; }
table.data tbody tr td:last-child { border-radius: 0 8px 8px 0; }
table.data .r { text-align: right; }
table.data .g { font-weight: 500; }
table.data tbody tr { transition: transform 200ms var(--ease); }
table.data tbody tr:hover td { background: var(--mark); }

.awards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.awards li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: rgba(24, 34, 58, 0.75); border: 1px solid rgba(237, 239, 245, 0.07); font-size: var(--t-lead); transition: transform 400ms var(--ease), border-color 300ms; }
.awards li:hover { transform: translateX(6px); border-color: rgba(233, 196, 106, 0.5); }
.awards li svg { width: 26px; height: 26px; flex: none; color: var(--gold-hi); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines .line > span { transform: translateY(110%) rotate(3deg); animation: rise 1000ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
  .js .after { opacity: 0; transform: translateY(18px); animation: fade 900ms var(--ease) 700ms forwards; }
  .js .arch { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); animation: archup 1300ms var(--ease) 300ms forwards; }
  .js .arch img { transform: scale(1.15); animation: settle 1800ms var(--ease) 300ms forwards; }
  .js .arch-ring { opacity: 0; animation: ring 1200ms var(--ease) 900ms forwards; }
  .js .chip { opacity: 0; animation: pop 800ms var(--ease) forwards; }
  .js .chip.c1 { animation-delay: 1100ms; } .js .chip.c2 { animation-delay: 1250ms; } .js .chip.c3 { animation-delay: 1400ms; }
  .chip.c1 { --bob: 0s; } .chip.c2 { --bob: -2s; } .chip.c3 { --bob: -4s; }
  .chip > * { animation: bob 6s ease-in-out infinite; animation-delay: var(--bob); }
  .spin-star { animation: spin 60s linear infinite; }
  .pattern { animation: drift 90s linear infinite; }
  .gold-text, .stat.feature .n { animation: shine 6s ease-in-out infinite; }
  .gold::before { animation: sweep 4.5s ease-in-out infinite 2s; }
  .scroll-cue::after { animation: cue 1.8s ease-in-out infinite; }
  .page-hero .rule { transform: scaleX(0); animation: draw 1200ms var(--ease) 700ms forwards; }
  .status i::after { animation: ping 2s ease-out infinite; }

  .js [data-reveal] > * { opacity: 0; transform: translateY(32px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--n, 0) * 90ms); }
  .js [data-reveal].in > * { opacity: 1; transform: none; }
  .js .wipe img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1200ms var(--ease), transform 1600ms var(--ease); }
  .js .wipe.in img { clip-path: inset(0 0 0 0); transform: none; }
  .js .wipe.arched img { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); }
  .js .wipe.arched.in img { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
  .js .stat::before { transform: scaleX(0); transition: transform 1200ms var(--ease) 300ms; }
  .js .in .stat::before, .js .stat.in::before { transform: scaleX(1); }
  .js .sem-tabs .bar i { transform: scaleY(0); }
  .js .sem-tabs.in .bar i { transform: scaleY(1); }
  .sem-tabs button .bar i { transition-delay: calc(var(--k, 0) * 70ms); }
  .marquee-track { animation: slide 40s linear infinite; }
  .marquee.rev .marquee-track { animation-direction: reverse; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; transform: none; } }
@keyframes archup { to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes ring { from { opacity: 0; transform: scale(0.94); } to { opacity: 0.7; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(-80px, -80px); } }
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sweep { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .cards.c4, .stats { grid-template-columns: repeat(2, 1fr); }
  .cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .role-body, .degree, .page-hero-grid, .closing-in { grid-template-columns: 1fr; }
  .closing .actions { justify-content: flex-start; }
  .sem-tabs { grid-template-columns: repeat(5, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .chip.c1 { left: -16px; } .chip.c2 { right: -16px; } .chip.c3 { right: -8px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .nav-links, .nav .gold { display: none; }
  .nav .menu-btn { display: inline-flex; }
  .hero { padding-block: 104px 72px; min-height: 0; }
  .hero-grid, .split, .photos { grid-template-columns: 1fr; }
  .arch-wrap { order: -1; width: min(78%, 320px); margin-bottom: 24px; }
  .chip { padding: 10px 14px; }
  .chip strong { font-size: 1.5rem; }
  .chip.c1 { left: -28px; bottom: 10%; }
  .chip.c2 { right: -30px; top: auto; bottom: -22px; font-size: 0.9375rem; }
  .chip.c1 { bottom: 22%; }
  .chip.c3 { display: none; }
  .spin-star { width: 120px; height: 120px; right: -40px; top: -30px; }
  .scroll-cue { display: none; }
  .page-hero { padding-block: 120px 64px; }
  .page-hero .spin-star { width: 140px; height: 140px; top: 70px; right: -30px; }
  .split.flip > :first-child { order: 0; }
  .cards.c4, .cards.c3, .cards.c2, .stats, .awards { grid-template-columns: 1fr; }
  .head-row { flex-direction: column; align-items: start; }
  .actions .pill { flex: 1 1 100%; }
  .timeline { padding-left: 36px; }
  .timeline::before, .timeline .progress { left: 7px; }
  .role::before { left: -36px; width: 16px; height: 16px; }
  .role h2 { font-size: 1.5rem; }
  .sem-tabs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .sem-tabs button { grid-template-rows: auto 80px auto; padding: 10px 8px; }
  .sem-tabs .g { font-size: 1rem; }
  .sem-tabs .w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sem-tabs .s { font-size: 0.8125rem; }
  .degree .card.dark { min-height: 0; gap: 24px; }
  table.data { font-size: 0.9375rem; }
  table.data td, table.data th { padding: 10px 8px; }
  table.data .code { display: none; }
  .closing .h2 { font-size: 1.75rem; }
  .degree .h2 { font-size: 1.75rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .strip img { height: 340px; }
}

/* =========================================================
   v3 — scroll scenes and moving pictures (DESIGN.md log 27+)
   ========================================================= */

/* background video layer */
.bg-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.bg-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 34, 0.94) 0%, rgba(11, 18, 34, 0.7) 45%, rgba(11, 18, 34, 0.35) 100%); }
.closing .bg-video video { opacity: 0.6; }
.closing .bg-video::after { background: linear-gradient(90deg, rgba(11, 18, 34, 0.92) 0%, rgba(11, 18, 34, 0.55) 60%, rgba(11, 18, 34, 0.3) 100%); }
.hero.has-video::before { opacity: 0.6; }

/* two-way marquee */
.marquee.ink { background: var(--night); color: var(--ivory); }
.marquee.ink .marquee-track span::after { color: var(--gold-hi); }
.marquee.outline .marquee-track { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee.ink.outline .marquee-track { -webkit-text-stroke-color: var(--ivory); }

/* zoom-to-full picture */
.zoom { position: relative; height: 220vh; background: var(--canvas); }
.zoom-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom-pic { position: absolute; inset: 0; clip-path: inset(var(--zy, 18%) var(--zx, 32%) var(--zy, 18%) var(--zx, 32%) round var(--zr, 400px) var(--zr, 400px) 18px 18px); will-change: clip-path; }
.zoom-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(var(--zs, 1.25)); }
.zoom-pic::after { content: ""; position: absolute; inset: 0; background: rgba(11, 18, 34, var(--zd, 0)); }
.zoom-text { position: relative; z-index: 2; text-align: center; color: var(--ivory); padding: 0 var(--gutter); opacity: var(--zt, 0); transform: translateY(calc((1 - var(--zt, 0)) * 40px)); }
.zoom-text p { font-size: clamp(1.875rem, 1rem + 3.4vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.no-scenes .zoom { height: auto; }
.no-scenes .zoom-sticky { position: relative; height: 70vh; }
.no-scenes .zoom-pic { clip-path: none; }
.no-scenes .zoom-pic img { transform: none; }
.no-scenes .zoom-pic::after { background: rgba(11, 18, 34, 0.55); }
.no-scenes .zoom-text { opacity: 1; transform: none; }

/* pinned journey */
.journey { position: relative; background: var(--night); color: var(--ivory); }
.journey .j-head { padding: var(--section) var(--gutter) 40px; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.j-step { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) 80px; }
.j-text .j-year { margin-top: 0; color: inherit; font-size: clamp(4.5rem, 2rem + 9vw, 10rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.j-text h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.015em; margin-top: 20px; }
.j-text p { margin-top: 14px; color: var(--ash); font-size: var(--t-lead); }
.j-vis { position: relative; }
.j-vis img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.j-vis.arched img { aspect-ratio: 4 / 5; border-radius: var(--arch); max-width: 420px; margin-inline: auto; }
.j-vis .j-star { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r); background: radial-gradient(60% 60% at 50% 50%, rgba(184, 134, 11, 0.25), transparent 70%), var(--night-card); color: var(--gold-hi); }
.j-vis .j-star svg { width: 46%; height: 46%; }
.j-dots { display: none; }

.journey.pinned { height: calc(var(--n, 5) * 85vh + 100vh); }
.journey.pinned .j-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey.pinned .j-head { position: absolute; left: 0; right: 0; top: 0; padding-top: 104px; z-index: 2; }
.journey.pinned .j-step { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-42%); padding-bottom: 0; pointer-events: none; }
.journey.pinned .j-step .j-text { opacity: 0; transform: translateY(60px); transition: opacity 600ms var(--ease), transform 900ms var(--ease); }
.journey.pinned .j-step .j-vis { opacity: 0; transform: scale(0.92) rotate(-2deg); transition: opacity 700ms var(--ease), transform 1100ms var(--ease); }
.journey.pinned .j-step.past .j-text { transform: translateY(-60px); }
.journey.pinned .j-step.past .j-vis { transform: scale(1.04) rotate(1deg); }
.journey.pinned .j-step.on { pointer-events: auto; }
.journey.pinned .j-step.on .j-text, .journey.pinned .j-step.on .j-vis { opacity: 1; transform: none; }
.journey.pinned .j-dots { display: flex; flex-direction: column; gap: 10px; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; }
.journey.pinned .j-dots i { width: 4px; height: 28px; border-radius: 4px; background: rgba(237, 239, 245, 0.18); transition: background-color 300ms, height 400ms var(--ease); }
.journey.pinned .j-dots i.on { background: var(--gold-hi); height: 48px; }
.journey.pinned .j-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--jp, 0)); }

/* ink-fill text */
.ink-fill .w { opacity: 0.2; transition: opacity 250ms linear; }
.ink-fill .w.lit { opacity: 1; }

/* horizontal pinned photo strip */
.hstrip.pinned { height: var(--hh, 300vh); padding-block: 0; }
.hstrip.pinned .hstrip-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hstrip.pinned .strip { overflow: visible; scroll-snap-type: none; cursor: default; transform: translate3d(var(--hx, 0), 0, 0); will-change: transform; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.hstrip.pinned .strip-nav { display: none; }
.hstrip.pinned .strip figure { transition: transform 600ms var(--ease); }

/* stacking role cards (experience) */
@media (min-width: 1001px) and (min-height: 760px) {
  .stack .role { position: sticky; top: calc(100px + var(--i, 0) * 28px); }
  .stack .role .card { transition: transform 500ms var(--ease), filter 500ms; transform-origin: top center; }
  .stack .role.covered .card { transform: scale(0.95); filter: brightness(0.92); }
  .stack .role + .role { margin-top: 40vh; }
  .stack .role:last-child { margin-bottom: 20vh; }
}

@media (max-width: 760px) {
  .bg-video::after { background: linear-gradient(180deg, rgba(11, 18, 34, 0.55) 0%, rgba(11, 18, 34, 0.92) 55%); }
  .j-step { grid-template-columns: 1fr; gap: 24px; }
  .journey.pinned .j-step { top: 96px; transform: none; gap: 20px; }
  .journey.pinned .j-head { display: none; }
  .journey.pinned .j-step .j-vis { order: -1; }
  .j-vis img, .j-vis .j-star { aspect-ratio: 16 / 10; max-height: 34vh; }
  .j-vis.arched img { aspect-ratio: 16 / 10; border-radius: var(--r); }
  .j-year { font-size: 4rem; }
  .journey.pinned .j-dots { flex-direction: row; top: auto; bottom: 24px; right: auto; left: var(--gutter); transform: none; }
  .journey.pinned .j-dots i { width: 28px; height: 4px; }
  .journey.pinned .j-dots i.on { width: 48px; height: 4px; }
  .zoom { height: 180vh; }
}

/* =========================================================
   v4 — phone bottom tab bar + contact helpers (DESIGN.md log 32+)
   ========================================================= */
.tabbar { display: none; }
.contact-line { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; color: var(--ash); font-size: 0.9375rem; }
.contact-line .addr { color: var(--ivory); user-select: all; overflow-wrap: anywhere; }
.link-btn { appearance: none; background: none; border: 0; padding: 10px 0; color: var(--gold-hi); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.link-btn svg { width: 16px; height: 16px; }
.link-btn:hover { color: var(--ivory); }

@media (max-width: 760px) {
  .nav .menu-btn, .sheet { display: none !important; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
    position: fixed; z-index: 110;
    left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 6px; border-radius: 22px;
    background: rgba(11, 18, 34, 0.9); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(233, 196, 106, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 56px; padding: 4px 2px; border-radius: 16px; text-decoration: none;
    color: var(--ash); font-size: 0.75rem; font-weight: 500; line-height: 1.1; text-align: center;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease);
  }
  .tabbar a:active { transform: scale(0.94); }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--ivory); background: rgba(237, 239, 245, 0.12); }
  .tabbar a[aria-current="page"] svg { color: var(--gold-hi); }
  .tabbar .tab-mail { background: var(--action); color: var(--on-action); }
  .foot { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .journey.pinned .j-dots { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .journey.pinned .j-bar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .nav.hide { transform: none; }
}
@media (max-width: 360px) { .tabbar a { font-size: 0.6875rem; } }

/* =========================================================
   v5 — easier reading: shorter scenes, show more, chips (DESIGN.md log 35+)
   ========================================================= */
:root { --section: clamp(64px, 8vw, 112px); }
.zoom { height: 150vh; }
.journey.pinned { height: calc(var(--n, 5) * 45vh + 100vh); }
@media (min-width: 1001px) and (min-height: 760px) { .stack .role + .role { margin-top: 18vh; } .stack .role:last-child { margin-bottom: 8vh; } }
@media (max-width: 760px) { .zoom { height: 130vh; } }

.more-hidden { display: none !important; }
.more-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid currentColor; background: transparent; color: inherit; font: inherit; font-weight: 500; font-size: 0.9375rem;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease);
}
.more-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dark .more-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.more-btn svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.card .tags { margin-top: 6px; }
.card .tags li { font-size: 0.9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .more-reveal { animation: fade 500ms var(--ease) both; }
}

/* =========================================================
   v6 — banking, not mosque: squares, ledger grid, real data (DESIGN.md log 39)
   ========================================================= */
:root { --r: 8px; --arch: 8px; }
.gold-text { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; -webkit-text-fill-color: currentColor; animation: none !important; }
.j-text .j-year { color: var(--gold-lo); }
.dark .j-text .j-year, .zoom-text p { color: var(--gold-hi); }
.arch-ring, .spin-star, .h2 .star { display: none !important; }

/* ledger grid instead of noise and gold glow */
.dark::after { opacity: 1; background-image: linear-gradient(rgba(237, 239, 245, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 239, 245, 0.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 100%); }
.hero::before { background: radial-gradient(55% 60% at 80% 40%, rgba(59, 89, 152, 0.30), transparent 70%); }
.spot::before { background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(148, 163, 184, 0.10), transparent 60%); }
.page-hero .pattern { opacity: 0.06; }

/* brand monogram */
.brand .mono { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--ivory); color: var(--night); font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.02em; box-shadow: inset 0 -3px 0 var(--action); }

/* hero: semester GPA line */
.hero-chart { position: absolute; inset: auto 0 0 0; height: 17%; z-index: -1; pointer-events: none; opacity: 0.55; }
.hero-chart svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s 500ms var(--ease) forwards; }
  .js .hc-area { opacity: 0; animation: fade 1.2s 1.6s ease forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* hero: portrait + factsheet */
.portrait-wrap { position: relative; justify-self: center; width: min(100%, 420px); }
.portrait { border-radius: var(--r); overflow: hidden; aspect-ratio: 612 / 800; background: #fff; border: 1px solid rgba(237, 239, 245, 0.18); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.factsheet { position: relative; margin: -56px 0 0 -40px; width: calc(100% + 16px); background: #111a2e; border: 0; border-top: 3px solid var(--action); border-radius: var(--r); padding: 6px 20px; }
.factsheet > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 11px 12px; margin-inline: -12px; border-radius: 6px; }
.factsheet > div:nth-child(odd) { background: rgba(237, 239, 245, 0.04); }
.factsheet dt { font-size: 0.9375rem; color: var(--ash); }
.factsheet dd { margin: 0; color: var(--ivory); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.factsheet dd.num { font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; color: var(--gold-hi); }
@media (max-width: 1000px) { .factsheet { margin: -48px auto 0; width: calc(100% - 24px); } }

/* journey fact panels */
.j-vis .j-fig { display: grid; align-content: center; gap: 10px; aspect-ratio: 4 / 3; padding: 32px; border-radius: var(--r); background: var(--night-card); color: var(--ivory); border-top: 3px solid var(--action); background-image: linear-gradient(rgba(237,239,245,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(237,239,245,.05) 1px, transparent 1px); background-size: 40px 40px; }
.j-fig p { margin: 0; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.j-fig span { color: var(--ash); font-size: 1rem; }
@media (max-width: 760px) { .j-vis .j-fig { aspect-ratio: 16 / 10; max-height: 34vh; padding: 20px; } }

/* awards: ledger rows with a square marker */
.awards li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--action); border-radius: 2px; }

/* ticker instead of a gold ribbon */
.marquee { background: var(--night); color: var(--ivory); padding-block: 22px; }
.marquee-track { font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2rem); }
.marquee-track span::after { content: "/"; font-size: 0.8em; color: var(--gold-hi); opacity: 1; }
.marquee.ink { background: var(--canvas); color: var(--ink); }
/* zoom: a plain rectangle opening (no arch), darker veil so the headline reads over the busy hall */
.zoom-pic { clip-path: inset(var(--zy, 18%) var(--zx, 32%) var(--zy, 18%) var(--zx, 32%) round 8px); }
.zoom-pic::after { background: rgba(11, 18, 34, calc(var(--zd, 0) * 1.4)); }
.no-scenes .zoom-pic::after { background: rgba(11, 18, 34, 0.82); }
@media (prefers-reduced-motion: no-preference) {
  .js .wipe.arched img { clip-path: inset(100% 0 0 0 round 8px); }
  .js .wipe.arched.in img { clip-path: inset(0 0 0 0 round 8px); }
}

/* =========================================================
   v7 — fintech: navy-to-blue gradients, glass cards, dashboard factsheet (DESIGN.md log 41)
   ========================================================= */
:root { --r: 14px; --arch: 14px; --grad-night: linear-gradient(155deg, #0B1222 0%, #0E1B3D 55%, #12306B 100%); }
.dark, .marquee { background: var(--grad-night); }
.marquee { background-size: 200% 100%; }
.dark::after { opacity: 0.6; }

/* hero: drifting light over the gradient */
.hero { background: var(--grad-night); }
.hero::before {
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(59, 130, 246, 0.45), transparent 70%),
    radial-gradient(35% 45% at 15% 85%, rgba(37, 99, 235, 0.35), transparent 70%),
    radial-gradient(30% 35% at 55% 60%, rgba(233, 196, 106, 0.10), transparent 70%);
  background-size: 140% 140%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 18s ease-in-out infinite alternate; }
  .portrait { animation: float 7s ease-in-out infinite; }
  .js .dc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s 900ms var(--ease) forwards; }
  .js .dc-area { opacity: 0; animation: fade 1s 1.8s ease forwards; }
}
@keyframes drift { 0% { background-position: 0% 0%; } 50% { background-position: 60% 40%; } 100% { background-position: 100% 80%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* floating glass photo card */
.portrait-wrap { width: min(100%, 440px); }
.portrait { aspect-ratio: 4 / 5; padding: 10px; border-radius: 22px; background: rgba(237, 239, 245, 0.08); border: 1px solid rgba(237, 239, 245, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(3, 7, 18, 0.8); }
.portrait img { border-radius: 14px; object-position: 50% 35%; }

/* factsheet becomes a glass dashboard card */
.factsheet { margin: -150px 0 0 -64px; width: 330px; padding: 14px 18px; border-radius: 18px; background: rgba(13, 24, 52, 0.62); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(237, 239, 245, 0.16); border-top: 1px solid rgba(237, 239, 245, 0.16); box-shadow: 0 24px 60px -24px rgba(3, 7, 18, 0.9); }
.factsheet > div:nth-child(odd) { background: transparent; }
.factsheet > div { padding: 8px 0; margin: 0; grid-template-columns: 64px 1fr; }
.factsheet dd.num { font-size: 2.25rem; }
.dash-chart { display: block !important; padding: 2px 0 8px !important; grid-template-columns: none !important; }
.dash-cap { margin: 0 0 6px; font-size: 0.8125rem; color: var(--ash); }
.dash-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.dash-chart text { font: 500 9px var(--font); fill: #9AA3B8; }

/* glass on cards in dark sections */
.dark .card, .awards li { background: rgba(237, 239, 245, 0.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(237, 239, 245, 0.12); }
.j-vis .j-fig { background-color: rgba(237, 239, 245, 0.06); border: 1px solid rgba(237, 239, 245, 0.12); border-top: 3px solid var(--action); }

@media (max-width: 1000px) {
  .factsheet { margin: -110px auto 0; width: min(340px, calc(100% - 24px)); }
  .portrait-wrap { width: min(100%, 380px); }
}
.journey, .page-hero, .closing.dark { background: var(--grad-night); }
@media (min-width: 1001px) { .portrait-wrap { width: min(100%, 400px); } .factsheet { margin-top: -170px; } }
@media (max-width: 1000px) { .factsheet { margin-top: -56px; } }

/* =========================================================
   v8 — a touch of Apple-style liquid glass (DESIGN.md log 42)
   ========================================================= */
:root {
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  --glass-edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  --r: 20px;
}

/* soft colour behind the light sections so the glass has something to bend */
body { background: var(--canvas); }
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -3; pointer-events: none;
  background:
    radial-gradient(28vmax 28vmax at 12% 18%, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(24vmax 24vmax at 88% 40%, rgba(233, 196, 106, 0.16), transparent 70%),
    radial-gradient(30vmax 30vmax at 40% 92%, rgba(99, 102, 241, 0.12), transparent 70%);
}
main, .section { background: transparent; }

/* desktop nav: a floating glass capsule */
@media (min-width: 761px) {
  .nav { inset: 14px 0 auto 0; }
  .nav .nav-in { max-width: min(1080px, calc(100% - 32px)); margin-inline: auto; padding: 0 10px 0 18px; min-height: 62px; border-radius: 999px; transition: background-color 300ms ease, box-shadow 300ms ease; }
  .nav.scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.scrolled .nav-in { background: rgba(14, 24, 52, 0.55); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--glass-edge), 0 10px 30px -12px rgba(3, 7, 18, 0.5); }
  .nav.hide { transform: translateY(calc(-100% - 20px)); }
}

/* phone tab bar: a glass capsule */
@media (max-width: 760px) {
  .tabbar { border-radius: 30px; padding: 7px; background: rgba(14, 24, 52, 0.72); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 0; box-shadow: var(--glass-edge), 0 14px 36px -10px rgba(3, 7, 18, 0.55); }
  .tabbar a { border-radius: 22px; }
  .tabbar a[aria-current="page"] { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  .tabbar .tab-mail { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
}

/* light cards: frosted white glass */
.card, .stat:not(.feature) {
  background: rgba(255, 255, 255, 0.62); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--glass-edge-light), 0 12px 40px -24px rgba(15, 23, 42, 0.35);
}
.card .rows li:nth-child(even) { background: rgba(15, 23, 42, 0.04); }
.tags li { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08); }
.stat.feature { background: linear-gradient(155deg, #0E1B3D, #12306B); box-shadow: var(--glass-edge), 0 18px 40px -20px rgba(12, 30, 80, 0.6); }

/* dark glass: brighter top edge, softer body */
.dark .card, .awards li, .factsheet, .portrait, .j-vis .j-fig { box-shadow: var(--glass-edge), 0 24px 60px -28px rgba(3, 7, 18, 0.8); border-color: transparent; }
.j-vis .j-fig { border-top: 0; }
.portrait { border-radius: 30px; padding: 8px; }
.portrait img { border-radius: 23px; }
.factsheet { border-radius: 24px; }

/* glass pill buttons */
.ghost { background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(255, 255, 255, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.section .ghost, .light .ghost { background: rgba(255, 255, 255, 0.55); border-color: rgba(15, 23, 42, 0.25); }
.pill.gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px -10px rgba(184, 134, 11, 0.7); }
.strip-nav button { background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.more-btn { background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dark .more-btn { background: rgba(255, 255, 255, 0.08); }

/* =========================================================
   v9 — phone first screen shows her face first (DESIGN.md log 43)
   ========================================================= */
@media (max-width: 760px) {
  .hero { padding-block: 84px 56px; align-items: flex-start; }
  .hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .portrait-wrap { display: contents; }
  .portrait { order: -1; width: 100%; aspect-ratio: 5 / 4; padding: 6px; border-radius: 26px; }
  .portrait img { object-position: 50% 52%; border-radius: 20px; }
  .factsheet { order: 2; margin: 6px 0 0; width: 100%; }
  .hero h1 { margin-bottom: 14px; }
  .hero .display { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .hero .sub { margin-bottom: 14px; }
}

/* =========================================================
   v10 — graduate scene replaces the zoom (DESIGN.md log 44)
   ========================================================= */
.scene { position: relative; }
.scene.live { height: 230vh; }
.scene-sticky { position: relative; min-height: 100svh; display: grid; grid-template-columns: 8fr 4fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: 96px 64px; }
.scene.live .scene-sticky { position: sticky; top: 0; height: 100svh; }
.scene-lines { font-size: clamp(2.5rem, 1rem + 4.6vw, 5.25rem); white-space: nowrap; line-height: 1; letter-spacing: -0.04em; font-weight: 500; max-width: none; color: var(--ink); }
.sc-l { display: block; will-change: transform, opacity; }
.sc-l.sc-gold { color: var(--gold-lo); }
.sc-l + .sc-l { margin-top: 0.08em; }
.scene-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 4vh, 40px); padding: 0; list-style: none; }
.scene-chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 500; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--glass-edge-light), 0 10px 30px -18px rgba(15, 23, 42, 0.4); color: var(--ink); }
.scene-chips strong { font-size: 1.25rem; color: var(--gold-lo); font-weight: 500; }
.scene-pic { margin: 0; justify-self: center; width: min(100%, 420px); padding: 8px; border-radius: 30px; background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--glass-edge-light), 0 30px 70px -30px rgba(15, 23, 42, 0.45); transform-origin: 50% 100%; will-change: transform, clip-path; }
.scene-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 23px; }
@media (max-width: 760px) {
  .scene.live { height: 200vh; }
  .scene-sticky { grid-template-columns: 1fr; gap: 20px; padding-block: 76px 100px; align-content: center; }
  .scene-lines { font-size: clamp(2.25rem, 11vw, 3rem); }
  .scene-pic { width: min(72%, 280px); justify-self: start; order: -1; }
  .scene-chips { margin-top: 16px; gap: 8px; }
  .scene-chips li { padding: 8px 14px; font-size: 0.9375rem; }
}

/* =========================================================
   v11 — no header, a glass dock on every screen, graduation hero (DESIGN.md log 45)
   ========================================================= */
.nav, .sheet { display: none !important; }

/* the dock */
.tabbar {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
  position: fixed; z-index: 110; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 20px));
  padding: 7px; border-radius: 30px;
  background: rgba(14, 24, 52, 0.66); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-edge), 0 18px 44px -14px rgba(3, 7, 18, 0.6);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 58px; padding: 4px 2px; border-radius: 22px; text-decoration: none;
  color: #C9CFDD; font-size: 0.75rem; font-weight: 500; line-height: 1.1; text-align: center;
  transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease);
}
.tabbar a:hover { background: rgba(255, 255, 255, 0.1); color: var(--ivory); }
.tabbar a:active { transform: scale(0.94); }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--ivory); background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.tabbar a[aria-current="page"] svg { color: var(--gold-hi); }
.tabbar .tab-mail { background: var(--action); color: var(--on-action); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.tabbar .tab-mail:hover { background: var(--gold-hi); color: var(--on-action); }
.tab-home img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(233, 196, 106, 0.9); }
@media (min-width: 761px) {
  .tabbar a { min-height: 60px; font-size: 0.8125rem; }
  .tabbar a:hover { transform: translateY(-3px); }
}
.foot { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.journey.pinned .j-dots { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.journey.pinned .j-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.hero { padding-top: clamp(48px, 8vh, 96px); }
.page-hero { padding-top: clamp(64px, 10vh, 120px); }

/* hero: the graduation portrait at its own ratio, one sweeping corner, a gold frame offset behind */
.portrait-wrap { width: min(100%, 410px); }
.portrait { position: relative; aspect-ratio: 1126 / 1397; padding: 8px; border-radius: 30px 150px 30px 30px; }
.portrait img { border-radius: 23px 143px 23px 23px; object-position: 50% 0; }
.portrait::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1.5px solid rgba(233, 196, 106, 0.75); transform: translate(18px, 18px); pointer-events: none; }
@media (min-width: 1001px) { .factsheet { margin-top: -150px; margin-left: -96px; } }
@media (max-width: 760px) {
  .hero { padding-top: 24px; }
  .portrait { aspect-ratio: 1126 / 1250; max-height: 58svh; width: auto; margin-right: 18px; border-radius: 26px 110px 26px 26px; }
  .portrait img { border-radius: 20px 104px 20px 20px; }
  .portrait::before { transform: translate(12px, 12px); }
}
.portrait::before { display: none; }
@media (min-width: 761px) {
  .portrait-wrap { position: relative; }
  .portrait-wrap::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1126 / 1397; z-index: -1; border-radius: 30px 150px 30px 30px; border: 1.5px solid rgba(233, 196, 106, 0.7); transform: translate(20px, 20px); pointer-events: none; }
}

/* =========================================================
   v12 — a real photo in every page hero and beside the courses (DESIGN.md log 46)
   ========================================================= */
.page-hero-grid { grid-template-columns: 6fr 4fr 3fr; align-items: end; }
.ph-pic { margin: 0; justify-self: end; width: 100%; max-width: 240px; padding: 6px; border-radius: 22px 80px 22px 22px; background: rgba(237, 239, 245, 0.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--glass-edge), 0 20px 50px -24px rgba(3, 7, 18, 0.8); }
.ph-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 17px 75px 17px 17px; }
.courses-pic { margin: clamp(24px, 4vw, 40px) 0 0; max-width: 360px; padding: 6px; border-radius: 22px 80px 22px 22px; background: rgba(255, 255, 255, 0.55); box-shadow: var(--glass-edge-light), 0 20px 50px -26px rgba(15, 23, 42, 0.45); }
.courses-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 17px 75px 17px 17px; }
@media (max-width: 1000px) {
  .page-hero-grid { grid-template-columns: 1fr auto; }
  .page-hero-grid .lead { grid-column: 1 / -1; grid-row: 2; }
  .ph-pic { grid-column: 2; grid-row: 1; max-width: 132px; align-self: start; }
  .courses-pic { max-width: 280px; }
}

/* skills ticker above Skills: solid ink on a light glass band (the outline text vanished on the light background) */
.marquee.ink.outline { background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--glass-edge-light); }
.marquee.ink.outline .marquee-track { color: var(--ink); -webkit-text-stroke: 0; }
.marquee.ink.outline .marquee-track span::after { color: var(--gold-lo); }
.scene-chips strong { color: #7A5806; }

/* v15 — pictures arrive sooner: reveals start before they reach the screen and run shorter; a blurred preview shows while loading (DESIGN.md log 48) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * { transition-duration: 550ms; transition-delay: calc(var(--n, 0) * 50ms); transform: translateY(20px); }
  .js .wipe img { transition: clip-path 650ms var(--ease), transform 900ms var(--ease); transform: scale(1.06); }
}
img[srcset] { background-color: #1a2440; }

/* =========================================================
   v16 — the First Class scene: a deck of three photos that fans out as you scroll (DESIGN.md log 49)
   ========================================================= */
.scene-deck { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 4 / 5; }
.dk { position: absolute; inset: 0; margin: 0; padding: 7px; border-radius: 26px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--glass-edge-light), 0 26px 60px -26px rgba(15, 23, 42, 0.5); will-change: transform; transition: transform 120ms linear; }
.dk img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.dk-a, .dk-c { inset: 8% 6%; }
.dk-a img { object-position: 50% 40%; }
.dk-c img { object-position: 62% 50%; }
.dk-b img { object-position: 50% 42%; }
/* without script or with reduced motion: already fanned */
.scene:not(.live) .dk-a { transform: translate(-40%, 5%) rotate(-9deg) scale(0.92); }
.scene:not(.live) .dk-c { transform: translate(40%, 5%) rotate(9deg) scale(0.92); }
@media (max-width: 760px) {
  .scene-deck { width: min(56%, 220px); justify-self: center; order: -1; margin-bottom: 8px; }
}

/* =========================================================
   v17 — recruiter pass: grouped duties, finance-operations skills, leaner photo strip, 404 nav (DESIGN.md log 50)
   ========================================================= */
.skills-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.duty-groups { display: grid; gap: 18px; }
.duty-groups h3 { font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); margin: 0 0 6px; }
.dark .duty-groups h3 { color: var(--ash); }
.role:first-child .duties li { font-size: 1.0625rem; }
.nf-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 28px; }
.nf-nav a { color: var(--ash); text-decoration: underline; text-underline-offset: 4px; padding: 10px 4px; }
.nf-nav a:hover { color: var(--ivory); }
.scene { overflow-x: clip; }
/* v17.1 — hero headline separator and the roles she is open to */
.hero .sub .sep { color: var(--gold-hi); margin: 0 0.35em; font-weight: 400; }
.hero .looking { max-width: 50ch; margin: -18px 0 32px; color: var(--ivory); font-size: 0.9375rem; padding-left: 12px; border-left: 2px solid var(--action); }

/* =========================================================
   v18 — footer: no repeated page list (the dock has it), icon buttons instead of the address (DESIGN.md log 53)
   ========================================================= */
.foot { background: var(--grad-night); padding-top: clamp(48px, 7vw, 80px); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot-name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 6px; }
.foot .tagline { font-size: 1rem; color: var(--ash); max-width: 46ch; margin: 0; }
.socials { display: flex; align-items: center; gap: 12px; }
.soc { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--ivory); text-decoration: none;
  background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge); transition: transform 250ms var(--ease), background-color 200ms ease; }
.soc:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.16); }
.soc svg { width: 22px; height: 22px; }
.soc-mail { display: inline-flex; gap: 10px; width: auto; padding: 0 22px 0 18px; border-radius: 999px; background: var(--action); color: var(--on-action); font-weight: 500; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px -10px rgba(184, 134, 11, 0.7); }
.soc-mail:hover { background: var(--gold-hi); }
.foot .soc { background-image: none; }
.foot .big-name { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 760px) {
  .foot-top { flex-direction: column; align-items: flex-start; }
  .socials { width: 100%; }
}
.foot .soc { background: rgba(255, 255, 255, 0.08); }
.foot .soc:hover { background: rgba(255, 255, 255, 0.16); }
.foot .soc-mail { background: var(--action); color: var(--on-action); }
.foot .soc-mail:hover { background: var(--gold-hi); }

/* =========================================================
   v19 — PageSpeed pass: stable hero box (CLS), dock contrast, valid factsheet list (DESIGN.md log 55)
   ========================================================= */
@media (max-width: 760px) {
  .portrait { width: 100%; max-height: none; aspect-ratio: 1126 / 1250; }
  .portrait img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
}
.portrait { position: relative; }
.factsheet .dash-chart dt.dash-cap { font-size: 0.8125rem; color: var(--ash); margin: 0 0 6px; }
.factsheet .dash-chart dd.dash-svg { display: block; margin: 0; }
.tabbar { background: rgba(12, 20, 44, 0.88); }
.tabbar a { color: #E6E9F0; }
