/* Fonts (self-hosted) */
@font-face { font-family: "Anton"; src: url(fonts/anton.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url(fonts/onest.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Myanmar"; src: url(fonts/noto-myanmar.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+1000-109F, U+200C-200D, U+25CC, U+A92E, U+A9E0-A9FE, U+AA60-AA7F; }

:root {
  --background: #09080a;
  --foreground: #f4efe9;
  --surface: #121013;
  --surface-2: #1a171a;
  --muted: #9b948e;
  --line: rgba(244, 239, 233, 0.1);
  --line-strong: rgba(244, 239, 233, 0.22);
  --accent: #ff4a3d;
  --accent-2: #ff7a5c;

  --font-display: "Anton", "Noto Sans Myanmar", sans-serif;
  --font-sans: "Onest", "Noto Sans Myanmar", system-ui, sans-serif;

  --gutter: 2.5rem;
  --section: 9rem;

  --fs-mega: 13rem;
  --fs-display: 7.5rem;
  --fs-h1: 5rem;
  --fs-h2: 3.25rem;
  --fs-h3: max(1.75rem, 22px);
  --fs-lead: max(1.375rem, 18px);
  --fs-body: max(1.0625rem, 16px);
  --fs-eyebrow: max(0.8125rem, 12px);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-wipe: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Adaptive rem grid: 1920 base */
html { font-size: 16px; background: var(--background); }
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw; } }
@media (max-width: 640px) {
  html { font-size: 4.444444vw; }
  :root { --gutter: 16px; --section: 6rem; }
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; appearance: none; text-align: inherit; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--background); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.accent { color: var(--accent); }
main { position: relative; width: 100%; overflow-x: hidden; }

/* Shared type */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); line-height: 1.2; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted);
}
.dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--accent); flex: none; }
.heading {
  margin-top: 1.5rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95;
}
.h-md { font-size: var(--fs-h2); line-height: 1; }
.h-lg { font-size: var(--fs-h2); max-width: 16ch; }
.h-lg.narrow { max-width: 14ch; }
.h-xl { font-size: var(--fs-h1); max-width: 18ch; }
@media (min-width: 640px) {
  .h-lg { font-size: var(--fs-h1); }
  .h-xl { font-size: var(--fs-display); }
}
.lead { margin-top: 2rem; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); }

.section { padding: var(--section) var(--gutter); }
.sec-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.sec-label { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }

/* Preloader */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.75rem;
  padding: var(--gutter);
  transition: transform 650ms var(--ease-wipe);
}
.pre-bg { position: absolute; inset: 0; z-index: -10; background: var(--background); }
.pre-name, .pre-count { position: relative; transition: opacity 300ms ease-out; }
.pre-name { font-family: var(--font-display); font-size: var(--fs-h3); text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.pre-count { font-family: var(--font-display); font-size: var(--fs-display); line-height: 1; font-variant-numeric: tabular-nums; }
.preloader.is-fading .pre-name, .preloader.is-fading .pre-count { opacity: 0; }
.preloader.is-wiping { transform: translateY(-100%); }
.preloader.is-done { pointer-events: none; visibility: hidden; }
@media (min-width: 640px) { .js .preloader { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1rem; } }

/* Nav */
.site-nav { position: fixed; inset-inline: 0; top: 0; z-index: 60; pointer-events: none; }
.site-nav nav { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--gutter); }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.mono {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  border: 1px solid var(--line-strong); font-weight: 600; letter-spacing: -0.01em; font-size: 0.875rem;
  background: rgba(9, 8, 10, 0.6); transition: border-color 300ms ease-out, color 300ms ease-out;
}
.logo:hover .mono { border-color: var(--accent); color: var(--accent); }
.logo-name { display: none; font-size: var(--fs-eyebrow); font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }
@media (min-width: 640px) { .logo-name { display: inline; } }
.nav-links { display: none; gap: 2.5rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a, .foot-social a {
  position: relative; font-size: var(--fs-eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); transition: color 300ms ease-out;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -0.25rem; height: 1px; width: 0;
  background: var(--accent); transition: width 340ms var(--ease-expo);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--foreground); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }

.burger { position: relative; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem; width: 2.5rem; height: 2.5rem; }
@media (min-width: 768px) { .burger { display: none; } }
.burger span { display: block; height: 0.125rem; width: 1.5rem; background: var(--foreground); transition: transform 420ms var(--ease-expo), opacity 200ms ease-out; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.5rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.5rem) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--background);
  display: flex; flex-direction: column; justify-content: center; padding-inline: var(--gutter);
  opacity: 0; transition: opacity 450ms ease-out;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  display: block; font-family: var(--font-display); font-size: var(--fs-h2); text-transform: uppercase;
  line-height: 1; letter-spacing: -0.01em;
  transform: translateY(48px); opacity: 0; transition: transform 420ms var(--ease-expo), opacity 420ms ease-out, color 300ms ease-out;
  transition-delay: var(--d, 0ms);
}
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu a:hover { color: var(--accent); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; }
.hero-top {
  position: relative; z-index: 30; display: flex; flex-direction: column; gap: 2rem;
  padding: 7rem var(--gutter) 0;
}
@media (min-width: 640px) { .hero-top { flex-direction: row; align-items: flex-start; justify-content: space-between; padding-top: 8rem; } }
.hero-roles { font-family: var(--font-display); text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; font-size: var(--fs-h3); }
@media (min-width: 640px) { .hero-roles { font-size: var(--fs-h2); } }
.role { display: block; overflow: hidden; }
.role > span { display: block; }
.hero-side { display: flex; flex-direction: column; gap: 1.5rem; max-width: 26rem; }
@media (min-width: 640px) { .hero-side { align-items: flex-end; text-align: right; } }
.hero-desc { color: var(--muted); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.25rem; border-radius: 9999px;
  background: var(--foreground); color: var(--background); font-weight: 600; font-size: 0.9375rem;
  transition: background-color 340ms ease-out, transform 340ms var(--ease-expo);
}
.hero-cta:hover { background: var(--accent); transform: translateX(6px); }
.hero-cta:active { transform: scale(0.97); }
.hero-cta:hover .dot { background: var(--background); }

.hero-portrait {
  position: absolute; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 86vh; width: 80vw; pointer-events: none;
}
/* box takes the cutout's own shape, so the photo always fits whole: no head or arm crops at any screen shape */
@media (min-width: 640px) { .hero-portrait { width: auto; aspect-ratio: 1024 / 1406; max-width: 70vw; } }
.hero-portrait .liquid { width: 100%; height: 100%; pointer-events: auto; }
/* contain, not cover: on wide screens cover scaled the cutout up and sliced off the top of her head */
.hero-portrait .liquid img { object-fit: contain; object-position: center bottom; } /* must outrank .liquid img */

.hero-fade { position: absolute; inset-inline: 0; bottom: 0; z-index: 20; height: 26vh; background: linear-gradient(to bottom, transparent, var(--background)); pointer-events: none; }

.hero-name {
  position: absolute; z-index: 10; inset-inline: 0; bottom: 0; transform: translateY(6%);
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-display); text-transform: uppercase; line-height: 0.8; letter-spacing: -0.01em;
  color: var(--accent); font-size: min(20.5vw, 36vh); /* height cap keeps it off the hero text on ultra-wide screens */
}
.hn-line { display: block; white-space: nowrap; overflow: hidden; padding-top: 0.04em; }
.ch { display: inline-block; white-space: pre; }

.scroll-cue {
  position: absolute; z-index: 30; bottom: 2rem; left: var(--gutter);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted);
}
.scroll-cue .rule { width: 2.5rem; height: 1px; background: var(--accent); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 2rem; }
.marquee-track { display: flex; width: max-content; flex-wrap: nowrap; animation: marquee 22s linear infinite; }
.marquee-list { display: flex; flex: none; }
.marquee-list li { display: flex; align-items: center; font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.sep { margin-inline: 2rem; width: 0.625rem; height: 0.625rem; border-radius: 9999px; background: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Story */
.story { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .story { grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .story-left { grid-column: span 6; } .principles { grid-column: span 6; padding-top: 0.5rem; } }
.principles li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 2rem; }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.p-num { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.principles h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.principles p { margin-top: 0.75rem; max-width: 44ch; color: var(--muted); }

/* Liquid image */
.liquid { position: relative; overflow: hidden; background: var(--surface); }
.liquid.bare { background: none; }
.liquid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.liquid .veil, .liquid .sweep, .liquid .vignette { position: absolute; inset: 0; pointer-events: none; }
.liquid .vignette { background: radial-gradient(120% 120% at 50% 120%, rgba(9, 8, 10, 0.7), transparent 60%); }
.liquid .sweep { opacity: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 74, 61, 0.35) 50%, transparent 70%); transition: opacity 340ms ease-out; }
.liquid .veil { display: none; }
@media (hover: hover) and (min-width: 769px) {
  .liquid .veil { display: block; background: var(--background); mix-blend-mode: color; opacity: 0.88; transition: opacity 380ms ease-out; }
  .liquid:hover .veil, .work:hover .veil { opacity: 0; }
  .liquid:hover .sweep, .work:hover .sweep { opacity: 1; }
}
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; background: var(--surface-2); }
.ph-year { font-family: var(--font-display); font-size: var(--fs-display); line-height: 0.9; color: var(--accent); }
.ph-org { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; color: var(--foreground); opacity: 0.85; }
.liquid img.is-missing { display: none; }

/* Experience */
.work-grid { margin-top: 4rem; display: grid; row-gap: 4rem; }
@media (min-width: 768px) { .work-grid { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } .work-grid > li:nth-child(even) { margin-top: 6rem; } }
.work .liquid { aspect-ratio: 16 / 11; width: 100%; border-radius: 0.125rem; }
.work-row { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.work-name { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; transition: color 450ms var(--ease-expo); }
.work:hover .work-name { color: var(--accent); }
.work-blurb { margin-top: 0.5rem; max-width: 42ch; color: var(--muted); }
.work-meta { flex: none; text-align: right; }
.work-year, .work-role, .work-cat { font-size: var(--fs-eyebrow); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.work-role { margin-top: 0.5rem; font-weight: 500; color: var(--accent); }
.work-cat { margin-top: 0.75rem; letter-spacing: 0.22em; }

.also { margin-top: 7rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .also { grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .also-title { grid-column: span 4; } .also-list { grid-column: span 8; } }
.also-title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.also-list li { display: grid; grid-template-columns: 1fr; gap: 0.25rem; border-top: 1px solid var(--line); padding-block: 1.25rem; }
.also-list li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .also-list li { grid-template-columns: 1.1fr 1.2fr auto; align-items: baseline; gap: 1.5rem; } }
.a-role { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.a-org { color: var(--muted); }
.a-year { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Numbers */
.stats { margin-top: 4rem; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: 2.5rem; }
@media (min-width: 640px) and (max-width: 1023px) { .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 2rem; } }
@media (min-width: 1024px) { .stat { padding-block: 3rem; } .stat + .stat { border-left: 1px solid var(--line); padding-left: 2rem; } }
.stat dd { font-family: var(--font-display); font-size: var(--fs-display); line-height: 1; letter-spacing: -0.01em; transition: color 340ms ease-out; }
.stat:hover dd { color: var(--accent); }
.stat dt { max-width: 20ch; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }

/* Education */
.edu { margin-top: 4rem; }
.edu > li { display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-block: 2.5rem; }
.edu > li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .edu > li { grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .edu-year { grid-column: span 5; } .edu-body { grid-column: span 7; } }
.edu-year { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; transition: color 340ms ease-out; }
.edu > li:hover .edu-year { color: var(--accent); }
@media (min-width: 640px) { .edu-year { font-size: 4.25rem; } }
.edu-body h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.edu-sub { margin-top: 0.5rem; color: var(--muted); }
.edu-notes { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.edu-notes li { padding: 0.375rem 0.875rem; border-radius: 9999px; background: var(--surface-2); font-size: 0.9375rem; }

.certs { margin-top: 7rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .certs { grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .certs-title { grid-column: span 4; } .cert-cols { grid-column: span 8; } }
.certs-title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; max-width: 10ch; }
.cert-cols { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .cert-cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.cert-group dt { font-size: var(--fs-eyebrow); font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cert-group dd { padding-block: 0.875rem; border-bottom: 1px solid var(--line); line-height: 1.45; }

/* Languages */
.lang-grid { margin-top: 4rem; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .lang-grid { grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .lang-list { grid-column: span 5; } .lang-panel { grid-column: span 7; } }
.lang { width: 100%; display: flex; align-items: baseline; gap: 1.25rem; border-top: 1px solid var(--line); padding-block: 1.75rem; }
.lang-list li:last-child .lang { border-bottom: 1px solid var(--line); }
.l-num { font-size: var(--fs-eyebrow); font-variant-numeric: tabular-nums; letter-spacing: 0.18em; color: var(--muted); transition: color 300ms ease-out; }
.l-text { display: flex; flex-direction: column; flex: 1; }
.l-name { font-size: var(--fs-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); transition: color 300ms ease-out; }
.l-level { margin-top: 0.25rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.l-rule { align-self: center; height: 1px; width: 0; background: var(--accent); transition: width 420ms var(--ease-expo); }
.lang.is-active .l-num { color: var(--accent); }
.lang.is-active .l-name, .lang:hover .l-name { color: var(--foreground); }
.lang.is-active .l-rule { width: 2.5rem; }

.lang-panel { display: grid; gap: 2rem; }
@media (min-width: 640px) { .lang-panel { grid-template-columns: 1fr auto; align-items: start; } }
.lang-quote { order: 2; }
.lang-photo { order: 1; aspect-ratio: 4 / 5; width: 100%; border-radius: 0.125rem; }
@media (min-width: 640px) { .lang-quote { order: 1; } .lang-photo { order: 2; width: 16rem; } }
.q-text { max-width: 30ch; font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; min-height: 4em; }
.q-text[lang="my"] { line-height: 1.75; letter-spacing: 0; }
.q-foot { margin-top: 2rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); line-height: 1.6; }
.qw { display: inline-block; white-space: pre; }

/* Contact & footer */
.contact { padding: var(--section) var(--gutter) 0; }
.email {
  margin-top: 3rem; display: inline-flex; align-items: baseline; gap: 0.75rem;
  font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; word-break: break-all; line-height: 1.15;
}
.email-text, .email .arrow { display: inline-block; transition: transform 340ms var(--ease-expo), color 340ms ease-out; }
.email .arrow { color: var(--accent); }
.email:hover .email-text { color: var(--accent); transform: translateX(14px); }
.email:hover .arrow { transform: translate(18px, -4px); }
@media (min-width: 640px) { .email { font-size: var(--fs-h1); gap: 1rem; } }

.foot-bar { margin-top: var(--section); border-top: 1px solid var(--line); padding-block: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .foot-bar { grid-template-columns: repeat(12, 1fr); } .foot-sig { grid-column: span 6; } .foot-social { grid-column: span 3; } .foot-copy { grid-column: span 3; text-align: right; } }
.sig { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.sig-my { margin-top: 0.75rem; font-family: "Noto Sans Myanmar", var(--font-sans); font-size: 1.25rem; color: var(--accent); line-height: 1.8; }
.foot-note, .foot-copy { margin-top: 1rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }
.foot-copy { margin-top: 0; letter-spacing: 0.18em; }
.foot-social ul { display: flex; flex-direction: column; gap: 0.75rem; }
.foot-social a { display: inline-flex; align-items: center; gap: 0; font-size: var(--fs-body); text-transform: none; letter-spacing: 0; font-weight: 400; }
.foot-social a::before { content: ""; display: inline-block; height: 1px; width: 0; background: var(--accent); transition: width 340ms var(--ease-expo), margin 340ms var(--ease-expo); }
.foot-social a:hover { color: var(--foreground); }
.foot-social a:hover::before { width: 1.5rem; margin-right: 0.75rem; }

/* ---------- Motion (only when JS is running) ---------- */
.js .role > span { transform: translateY(110%); opacity: 0; transition: transform 760ms var(--ease-expo), opacity 760ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js .ch { transform: translateY(100%); opacity: 0; transition: transform 900ms var(--ease-expo), opacity 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js .hero-side, .js .scroll-cue { opacity: 0; transform: translateY(16px); transition: opacity 520ms var(--ease-expo), transform 520ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js .hero-portrait .liquid { opacity: 0; transform: translateY(4%); transition: opacity 1200ms var(--ease-expo), transform 1200ms var(--ease-expo); transition-delay: 150ms; }
.hero.is-in .role > span, .hero.is-in .ch, .hero.is-in .hero-side, .hero.is-in .scroll-cue, .hero.is-in .hero-portrait .liquid { transform: none; opacity: 1; }

.js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.js .wi { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 900ms var(--ease-expo), opacity 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js [data-split].is-in .wi { transform: none; opacity: 1; }

.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 600ms var(--ease-expo), transform 600ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .lang-photo[data-reveal] { transform: scale(1.06); transition-duration: 640ms; }
.js .lang-photo[data-reveal].is-in { transform: none; }

.js .q-text .qw { transform: translateY(18px); opacity: 0; transition: transform 520ms var(--ease-quart), opacity 520ms var(--ease-quart); transition-delay: var(--d, 0ms); }
.js .q-text.is-in .qw { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js .preloader { display: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .js .role > span, .js .ch, .js .hero-side, .js .scroll-cue, .js .hero-portrait .liquid,
  .js .wi, .js [data-reveal], .js .qw { transform: none !important; opacity: 1 !important; }
}

/* Nav bar once the page has scrolled */
.site-nav nav { transition: background-color 300ms ease-out, padding 300ms ease-out; }
.site-nav.is-scrolled nav { background: var(--background); padding-block: 1rem; box-shadow: 0 1px 0 var(--line); }

/* Languages headshot: cutout on a surface field */
.lang-photo { background: var(--surface-2); }
.lang-photo img { object-fit: cover; object-position: center top; }

/* Phone composition */
@media (max-width: 639px) {
  .hero { min-height: auto; }
  .hero-cta { align-self: flex-start; }
  .hero-top { padding-top: 6rem; gap: 1.5rem; }
  .hero-roles { display: flex; flex-wrap: wrap; column-gap: 0.4em; }
  .hero-portrait { position: relative; left: auto; bottom: auto; transform: none; margin-top: 1rem; width: 100%; height: 48svh; }
  .hero-name { z-index: 25; font-size: 21vw; transform: translateY(4%); }
  .hero-fade { height: 22svh; z-index: 22; }
  .scroll-cue { display: none; }
  .work-row { flex-direction: column; gap: 0.75rem; }
  .work-meta { text-align: left; display: flex; gap: 1rem; flex-wrap: wrap; }
  .work-role { margin-top: 0; }
  .ph-org { font-size: var(--fs-h3); }
}

/* 404 page */
.not-found { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found .hero-cta { margin-top: 2.5rem; }

