/* Palette from her photo: cream walls, terracotta floor, dark hair. */
:root {
  --paper: #f3ede4;
  --paper-2: #e9e0d3;
  --ink: #1b1612;
  --ink-2: #4a4038;
  --muted: #8a7d70;
  --clay: #b4532a;
  --clay-2: #d9774a;
  --line: rgba(27, 22, 18, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  /* content sits in a centred column, max 1160px wide */
  --gutter: max(clamp(22px, 7vw, 120px), calc((100vw - 1160px) / 2));
  --cw: calc(100vw - 2 * var(--gutter));
  --panel-m: max(10px, calc(var(--gutter) - 56px));
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1.1vw, 18px)/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}
::selection { background: var(--clay); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.label { color: var(--clay); margin-bottom: clamp(32px, 6vw, 80px); }
section { position: relative; padding: clamp(96px, 14vw, 200px) var(--gutter); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper);
  display: grid; grid-template-rows: 1fr auto auto; padding: var(--gutter);
}
html:not(.js) .loader { display: none; }
.loader__name { align-self: center; overflow: hidden; font: italic 400 clamp(56px, 12vw, 180px)/1 var(--serif); }
.loader__name span { display: inline-block; }
.wave { display: inline-block; font-style: normal; font-size: .8em; transform-origin: 70% 80%; animation: wave 1.6s ease-in-out .5s infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.loader__count { font: 400 clamp(80px, 16vw, 240px)/1 var(--serif); text-align: right; padding-bottom: .05em; }
.loader__num { display: inline-block; }
.loader__bar { height: 1px; background: rgba(243, 237, 228, .2); margin-top: 24px; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--clay-2); transform: scaleX(0); transform-origin: left; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--clay); display: grid; place-items: center; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s;
}
.cursor__label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--paper); opacity: 0; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: transparent; border: 1px solid var(--clay); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter); mix-blend-mode: difference; color: #f3ede4;
}
.nav__mark { font: 400 28px/1 var(--serif); }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 14px; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid currentColor; border-radius: 99px; transition: opacity .3s; }
.nav__cta:hover { opacity: .7; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- thread ---------- */
.thread { position: absolute; left: 0; top: 0; width: 100%; z-index: 0; pointer-events: none; overflow: visible; opacity: .5; }
@media (max-width: 900px) { .thread { display: none; } }
.thread__path { fill: none; stroke: var(--clay); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
main > * { position: relative; z-index: 1; }

/* ---------- split text ---------- */
.line { display: block; overflow: hidden; padding: 0 .1em .06em 0; margin-bottom: -.06em; }
.w { display: inline-block; white-space: nowrap; }
.split { display: inline-block; }
.split--italic { font-style: italic; }
.char { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 30%, 360px);
  grid-template-rows: 1fr auto auto auto; padding-top: 100px; padding-bottom: clamp(32px, 5vw, 64px);
}
.hero__photo { grid-column: 2; grid-row: 1 / 4; align-self: end; margin: 0 0 clamp(24px, 3vw, 48px); overflow: hidden; border-radius: 4px; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.hero__kicker { grid-column: 1; grid-row: 2; }
.hero__name { grid-column: 1 / -1; grid-row: 3; position: relative; z-index: 2; }
.hero__foot { grid-column: 1 / -1; grid-row: 4; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-2); margin: 0 0 clamp(16px, 3vw, 32px); }
.hero__kicker span:last-child { color: var(--clay); }
.hero__name { margin: 0; font: 400 clamp(52px, calc(var(--cw) * .14), 170px)/.86 var(--serif); letter-spacing: -.035em; }
.line--indent { padding-left: 7%; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-top: clamp(32px, 5vw, 64px); }
.hero__lede { max-width: 34ch; margin: 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__link { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 15px; transition: background-color .4s; }
.hero__link:hover { background: var(--clay); }
.hero__link span { display: inline-block; pointer-events: none; }
.hero__stack { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.hero__stack p { margin: 0; color: var(--muted); }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll svg { width: 16px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(8px); } }
@media (max-width: 760px) {
  .line--indent { padding-left: 0; } .hero__scroll { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; align-content: end; padding-top: 88px; }
  .hero__photo { grid-column: 1; grid-row: 1; width: 62%; justify-self: end; margin-bottom: 28px; }
}

/* ---------- marquee ---------- */
.marquee { margin: 0 var(--gutter); overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; gap: 32px; align-items: center; font: 400 clamp(28px, calc(var(--cw) * .045), 56px)/1 var(--serif); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--clay); font-size: .5em; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__side { position: sticky; top: 100px; }
.about__side .label { margin-bottom: 24px; }
.about__photo { margin: 0; max-width: 340px; overflow: hidden; border-radius: 4px; }
.about__photo img { width: 100%; height: auto; }
.big { font: 400 clamp(30px, 3.6vw, 58px)/1.08 var(--serif); letter-spacing: -.01em; margin: 0 0 clamp(32px, 4vw, 56px); }
.big em { color: var(--clay); }
.word { display: inline-block; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--ink-2); }
.about__cols p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 88px) 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 20px 16px 0 0; }
.facts dt { color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font: 400 clamp(48px, 5vw, 84px)/1 var(--serif); }
.facts sup { font-size: .45em; vertical-align: top; color: var(--clay); }
.facts small { display: block; margin-top: 8px; font: 400 14px/1.3 var(--sans); color: var(--ink-2); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__side { position: static; }
  .about__photo { max-width: 60%; }
  .about__cols { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 24px; }
}

/* ---------- videos ---------- */
.reels { padding-top: clamp(48px, 8vw, 120px); }
.reels__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 20px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.reels__head .label { grid-column: 1 / -1; margin-bottom: 4px; }
.reels__title { margin: 0; font: 400 clamp(48px, calc(var(--cw) * .095), 120px)/.9 var(--serif); letter-spacing: -.03em; }
.reels__intro { margin: 0; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); }
.reels__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.reel { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; background: var(--ink); }
.reel__frame iframe { position: absolute; left: 0; top: 0; border: 0; } /* size and crop set in main.js */
.reel__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; color: inherit; font: inherit; }
.reel__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.reel__poster:hover img { transform: scale(1.05); }
.reel__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 22, 18, 0) 60%, rgba(27, 22, 18, .5)); pointer-events: none; }
.reel__views { position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px 6px; border-radius: 99px; background: var(--clay); color: var(--paper); }
.reel__views b { font: 400 clamp(22px, 2.2vw, 32px)/1 var(--serif); }
.reel__views small { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.reel__play { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform .4s var(--ease), background-color .4s; }
.reel__play svg { width: 17px; height: 17px; margin-left: 2px; fill: currentColor; }
.reel__poster:hover .reel__play, .reel__poster:focus-visible .reel__play { transform: scale(1.12); background: var(--clay-2); }
.reel__cap { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel__cap .mono { color: var(--clay); margin-right: 8px; }
.reel__views--quiet { padding: 6px 10px 5px; background: rgba(27, 22, 18, .78); }
.reel__views--quiet b { font-size: clamp(18px, 1.6vw, 22px); }
/* the big portfolio button: clay, centred, with a soft ring so nobody misses it */
.reels__foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.reels__foot p { margin: 0; max-width: 50ch; color: var(--ink-2); }
.reels__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  padding: clamp(20px, 2vw, 26px) clamp(30px, 3.4vw, 50px); border-radius: 99px;
  background: var(--clay); color: var(--paper); font: 400 clamp(30px, 3vw, 44px)/1 var(--serif);
  animation: ring 2.8s var(--ease) infinite; transition: background-color .4s, transform .5s var(--ease);
}
.reels__cta span { pointer-events: none; }
.reels__cta i { display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--paper); color: var(--clay); font: 500 .62em/1 var(--sans); font-style: normal; transition: transform .5s var(--ease); }
.reels__cta:hover { background: var(--ink); transform: scale(1.03); }
.reels__cta:hover i { transform: translateX(6px); }
/* the same button, smaller and without the pulse, beside the title */
.reels__side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.reels__cta--sm { gap: 14px; padding: 13px 16px 13px 24px; font-size: clamp(22px, 1.8vw, 26px); animation: none; }
.reels__cta--sm i { font-size: .72em; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(180, 83, 42, .45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(180, 83, 42, 0); } }
@media (max-width: 900px) {
  .reels__head { grid-template-columns: 1fr; }
  .reels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .reels__cta { width: 100%; }
  .reels__cta--sm { width: auto; }
}

/* ---------- experience (dark) ---------- */
.exp, .contact { margin-inline: var(--panel-m); padding-inline: calc(var(--gutter) - var(--panel-m)); border-radius: clamp(16px, 2.4vw, 32px); }
.exp { color: var(--paper); background: var(--ink); }
.exp .label { color: var(--clay-2); }
.exp__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vw, 120px); }
.exp__title { margin: 0; font: 400 clamp(64px, calc(var(--cw) * .14), 170px)/.86 var(--serif); letter-spacing: -.03em; }
.exp__meta { color: rgba(243, 237, 228, .7); line-height: 2; }
.exp__meta p { margin: 0; }
.exp__dates { display: flex; align-items: center; gap: 12px; color: var(--paper); margin-top: 8px !important; }
.exp__dates i { width: 64px; height: 1px; background: var(--clay-2); }
.exp__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(243, 237, 228, .18); }
.exp__item {
  display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid rgba(243, 237, 228, .18); position: relative;
}
.exp__item::before { content: ""; position: absolute; inset: 0; background: var(--clay); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.exp__item:hover::before { transform: scaleY(1); transform-origin: top; }
.exp__n { color: var(--clay-2); transition: color .4s; }
.exp__item:hover .exp__n { color: var(--paper); }
.exp__item h3 { margin: 0; font: 400 clamp(26px, 2.6vw, 40px)/1.05 var(--serif); }
.exp__item p { margin: 0; color: rgba(243, 237, 228, .78); }
.exp__item p strong { color: var(--paper); font-weight: 500; }
.exp__tags { color: rgba(243, 237, 228, .55); text-align: right; }
@media (max-width: 900px) {
  .exp__item { grid-template-columns: 48px 1fr; }
  .exp__item p, .exp__tags { grid-column: 2; text-align: left; }
}

/* ---------- projects ---------- */
.work { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.work__intro { padding: 0 var(--gutter); }
.work__title { margin: 0 0 clamp(40px, 6vw, 80px); font: 400 clamp(52px, calc(var(--cw) * .1), 130px)/.88 var(--serif); letter-spacing: -.03em; }
.work__pin { padding: 0 0 clamp(96px, 14vw, 200px); }
.work__clip { margin: 0 var(--gutter); overflow: hidden; }
html:not(.js) .work__clip { overflow-x: auto; } /* no GSAP or reduced motion: scroll the cards by hand */
.work__track { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; }
.card {
  position: relative; flex: 0 0 auto; width: clamp(280px, calc(var(--cw) * .4), 460px);
  background: var(--paper-2); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .6s var(--ease);
}
.card--feature { width: clamp(300px, calc(var(--cw) * .55), 620px); background: var(--clay); color: var(--paper); }
.card__link { position: absolute; inset: 0; z-index: 2; }
.card__art { position: relative; height: clamp(200px, 32vh, 320px); overflow: hidden; }
.card__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Maya's card shows three of her posters, fanned; they spread on hover */
.card__art--maya img { position: absolute; top: 50%; left: 50%; height: 84%; width: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 30px -14px rgba(27, 22, 18, .5); transition: transform .8s var(--ease); }
.card__art--maya img:nth-child(1) { transform: translate(-108%, -48%) rotate(-7deg); }
.card__art--maya img:nth-child(2) { transform: translate(8%, -48%) rotate(7deg); }
.card__art--maya img:nth-child(3) { z-index: 1; transform: translate(-50%, -50%); }
.card:hover .card__art--maya img:nth-child(1) { transform: translate(-118%, -46%) rotate(-10deg); }
.card:hover .card__art--maya img:nth-child(2) { transform: translate(18%, -46%) rotate(10deg); }
.card:hover .card__art--maya img:nth-child(3) { transform: translate(-50%, -53%) scale(1.03); }
.card__body { padding: clamp(20px, 2vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; font: 400 clamp(34px, 3.4vw, 56px)/1 var(--serif); }
.card__body p { margin: 0; }
.card__n { color: var(--clay); }
.card--feature .card__n { color: rgba(243, 237, 228, .75); }
.card__stack { margin-top: auto !important; padding-top: 16px; color: var(--muted); }
.card--feature .card__stack { color: var(--paper); }
.card:hover { transform: translateY(-8px); }
@media (max-width: 900px) {
  .work__clip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work__clip::-webkit-scrollbar { display: none; }
  .card { width: calc(var(--cw) * .88); scroll-snap-align: start; }
  .card--feature { width: calc(var(--cw) * .92); }
}

/* ---------- skills ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--ink); border-radius: 99px; padding: 5px 13px; font-size: 14px; line-height: 1.3; background: var(--paper); }
.skills { padding-top: clamp(48px, 8vw, 120px); }
.skills__head { margin-bottom: clamp(40px, 6vw, 80px); }
.skills__head .label { margin-bottom: 24px; }
.skills__title { margin: 0 0 20px; font: 400 clamp(48px, calc(var(--cw) * .095), 120px)/.9 var(--serif); letter-spacing: -.03em; }
.skills__intro { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); }
.skillset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.skill { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 44px) clamp(0px, 3vw, 44px) clamp(28px, 3vw, 48px) 0; border-bottom: 1px solid var(--line); position: relative; }
.skill:nth-child(odd) { border-right: 1px solid var(--line); }
.skill:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; }
.skill__n { margin: 0; color: var(--clay); }
.skill h3 { margin: 0; font: 400 clamp(32px, 3.2vw, 52px)/1.02 var(--serif); transition: color .4s; }
.skill:hover h3 { color: var(--clay); }
.skill__proof { margin: auto 0 0; color: var(--ink-2); max-width: 46ch; }
.skill__proof .mono { display: block; color: var(--muted); margin-bottom: 4px; }
.also { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-top: clamp(32px, 4vw, 56px); color: var(--ink-2); }
.also p { margin: 0; }
.also .mono { color: var(--clay); padding-top: 4px; }
.also strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .skillset { grid-template-columns: 1fr; }
  .skill:nth-child(odd) { border-right: 0; }
  .skill:nth-child(even) { padding-left: 0; }
  .also { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- leadership ---------- */
.lead__hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(56px, 8vw, 120px); }
.lead__num { margin: 0; font: 400 clamp(120px, calc(var(--cw) * .3), 340px)/.78 var(--serif); letter-spacing: -.05em; color: var(--clay); }
.lead__num sup { font-size: .35em; vertical-align: top; }
.lead__copy h3 { margin: 0 0 16px; font: 400 clamp(28px, 2.6vw, 42px)/1.05 var(--serif); }
.lead__copy p { margin: 0; color: var(--ink-2); }
.lead__list { list-style: none; margin: 0; padding: 0; }
.lead__list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.lead__list li:last-child { border-bottom: 1px solid var(--line); }
.lead__list span { color: var(--clay); }
.lead__list strong { font-weight: 500; }
.lead__list em { color: var(--ink-2); font-size: 1.15em; }
@media (max-width: 900px) {
  .lead__hero { grid-template-columns: 1fr; }
  .lead__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- education ---------- */
.edu { padding-top: 0; }
.edu__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.edu__degree > p { margin: 0 0 12px; color: var(--ink-2); }
.edu__degree .mono { color: var(--muted); }
.edu__degree h3 { margin: 0 0 12px; font: 400 clamp(40px, 4.4vw, 72px)/1 var(--serif); }
.edu__subjects { list-style: none; padding: 0; margin: 24px 0 40px; display: flex; flex-wrap: wrap; gap: 8px; }

.edu__school { padding-top: 20px; border-top: 1px solid var(--line); }
.edu__school .mono { display: block; margin-bottom: 4px; }
.certs { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.certs li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.certs li:last-child { border-bottom: 1px solid var(--line); }
.certs li::before { content: counter(c, decimal-leading-zero); font: 400 12px var(--mono); color: var(--clay); }
.certs li:hover { padding-left: 12px; }
.certs em { font: 400 11px var(--mono); font-style: normal; color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .edu__grid { grid-template-columns: 1fr; }
  .certs li { grid-template-columns: 32px 1fr; }
  .certs em { grid-column: 2; text-align: left; }
}

/* ---------- contact (dark) ---------- */
.contact { color: var(--paper); background: var(--ink); min-height: 100svh; margin-bottom: var(--panel-m); display: flex; flex-direction: column; padding-bottom: 32px; }
.contact .label { color: var(--clay-2); }
.contact__pre { margin: 0 0 24px; font-size: clamp(18px, 1.6vw, 24px); max-width: 30ch; }
.contact__mail { display: inline-block; align-self: flex-start; font: 400 clamp(88px, calc(var(--cw) * .2), 240px)/.82 var(--serif); letter-spacing: -.04em; transition: color .4s; }
.contact__mail:hover { color: var(--clay-2); }
.contact__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: auto; }
.contact__main { display: flex; flex-direction: column; }
.contact__photo { margin: 0; overflow: hidden; border-radius: 4px; }
.contact__photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .contact__body { grid-template-columns: 1fr; } .contact__photo { max-width: 420px; } }
.pill { display: inline-flex; align-items: center; border: 1px solid rgba(243, 237, 228, .35); border-radius: 99px; padding: 14px 24px; font-size: 15px; transition: background-color .4s, color .4s, border-color .4s; }
.pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill--solid { background: var(--clay); border-color: var(--clay); }
.pill--solid:hover { background: var(--clay-2); border-color: var(--clay-2); color: var(--ink); }
.pill span { display: inline-block; pointer-events: none; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid rgba(243, 237, 228, .18); color: rgba(243, 237, 228, .6); }
.foot a:hover { color: var(--clay-2); }

/* ---------- reveal defaults (only with JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal-img { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .reveal-img { clip-path: none; }
  .loader { display: none; }
}
