/* ============================================================
   Kao Smith — portfolio
   Aesthetic: bold saturated pop · tropical-tech
   Type: Bricolage Grotesque (display+body) · JetBrains Mono (data)
   ============================================================ */

:root {
  /* ── colour — one light ground, ink, one accent ──
     THREE text colours only: --ink, --ink-soft, --accent.
     --accent-bright is a fill / single drench (text on it is --ink or --paper). */
  /* ── Dark academia · chic cocktail bar ──
     warm near-black grounds, parchment text, antique-brass accent, oxblood drench. */
  /* ── Coolors earthy: olive · cream · tan · burnt orange ── */
  --canvas:       #283618;                  /* dark olive — base ground / footer */
  --ink:          #fefae0;                  /* cream — primary text */
  --ink-soft:     oklch(0.80 0.038 92);     /* muted warm tan — secondary text */
  --accent:       #dda15e;                  /* tan / camel — accent + fills */
  --accent-bright:#bc6c25;                  /* burnt orange — hover + pop */
  --on-accent:    #1a1305;                  /* very dark warm brown — text on orange fills (AA) */
  --emerald:      #bc6c25;                  /* burnt orange — the closing drench (name kept) */
  --paper:        #fefae0;                  /* cream — reversed text on dark drenches */
  --line:         rgba(254, 250, 224, 0.15);

  /* section backgrounds */
  --hero-bg:      #283618;                  /* dark olive — hero + World Kitchen */
  --exp-bg:       #313f1d;                  /* lifted olive — Career + Fun Projects room */

  /* — type: TWO families — */
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* — type: THREE sizes — */
  --fs-lg: clamp(2.1rem, 1.2rem + 4vw, 3.6rem);   /* every heading */
  --fs-md: clamp(1.02rem, 0.97rem + 0.3vw, 1.15rem); /* body, lead, sub, most text */
  --fs-sm: 0.82rem;                                 /* labels, meta, mono, footer */

  /* — space — */
  --pad: clamp(1.25rem, 5vw, 6rem);
  --gap: clamp(2rem, 6vw, 7rem);
  --maxw: 1180px;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;

  /* — z — */
  --z-nav: 100; --z-cursor: 200; --z-skip: 300;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* ease-out-quint-ish */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* legacy aliases kept so the (currently hidden) travel/about CSS still resolves */
  --tangerine: var(--accent-bright); --tangerine-2: var(--accent);
  --teal: var(--ink); --teal-bright: var(--accent); --teal-deep: var(--ink);
  --teal-ink: var(--accent); --butter: var(--canvas); --butter-deep: var(--canvas);
  --on-teal: var(--paper); --on-teal-soft: var(--ink-soft);
  --on-dark: var(--paper); --on-dark-soft: var(--ink-soft); --canvas-2: var(--canvas);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-feature-settings: "ss01"; }
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: var(--z-skip);
  background: var(--accent-bright); color: var(--on-accent); padding: .7rem 1.1rem;
  border-radius: var(--r-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ── shared type ── */
.section-h {
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  
}
.section-lead {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
  margin-top: 1.1rem;
}
.hl, .hl-pop { color: var(--accent); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .55ch;
  font-weight: 600; font-size: var(--fs-md);
  padding: .85rem 1.4rem; border-radius: 100px;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
  will-change: transform;
}
.btn--pop { background: var(--accent-bright); color: var(--on-accent); box-shadow: 0 12px 30px -14px rgba(40, 54, 24, 0.9); }
.btn--pop:hover { background: #a85d1e; box-shadow: 0 16px 40px -16px rgba(40, 54, 24, 0.95); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--on-accent); }
.btn--dark:hover { background: var(--accent-bright); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  transition: background .4s var(--ease), backdrop-filter .4s, padding .4s var(--ease);
}
.nav[data-scrolled] {
  background: rgba(22, 38, 43, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-top: .7rem; padding-bottom: .7rem;
}
.nav-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.nav-mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--accent-bright); color: var(--on-accent);
  border-radius: 9px; font-weight: 800; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.6rem); }
.nav-links a { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); transition: color .3s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  border: 1.5px solid var(--line); border-radius: 100px; padding: .45rem 1rem;
  color: var(--ink) !important;
}
.nav-cta:hover { background: var(--accent-bright); color: var(--on-accent) !important; border-color: var(--accent-bright); }
@media (max-width: 760px) {
  .nav-name { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a[href="#kitchen"] { display: inline; }
}

/* ============================================================
   HERO — light, text + photo held close
   ============================================================ */
.hero {
  position: relative; background: var(--hero-bg); color: var(--ink);
  min-height: 100svh; display: grid;
  grid-template-columns: auto minmax(0, 320px);
  justify-content: center; align-items: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding: clamp(6rem, 12vh, 9rem) var(--pad) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 40rem; }
@keyframes blink { 50% { opacity: 0; } }

.hero-h {
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.0; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-h .line { display: block; }
.hero-h .w { display: inline-block; }

.hero-pron { margin-top: .55rem; font-size: var(--fs-sm); color: var(--ink-soft);
  letter-spacing: .01em; font-style: italic; }
.hero-sub {
  margin-top: 1.4rem; max-width: 46ch;
  font-size: var(--fs-md);
  color: var(--ink-soft); text-wrap: pretty; line-height: 1.5;
}
.hero-think-intro { margin-bottom: .1rem; }
.hero-think { list-style: none; padding: 0; margin-top: .7rem; max-width: 48ch; display: grid; gap: .55rem; }
.hero-think li { position: relative; padding-left: 1.15rem; font-size: var(--fs-md);
  color: var(--ink-soft); line-height: 1.5; text-wrap: pretty; }
.hero-think li::before { content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-think-arrow { color: var(--accent); font-weight: 600; padding: 0 .1ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-facts {
  margin-top: 2.4rem; display: grid; gap: .55rem;
  font-size: var(--fs-sm); color: var(--ink-soft); max-width: 38rem;
}
.hero-facts div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: baseline; }
.hero-facts dt { color: var(--accent); text-transform: uppercase; font-size: var(--fs-sm); letter-spacing: .06em; }
.hero-facts dd { color: var(--ink); }

.hero-photo { position: relative; z-index: 1; justify-self: start; align-self: center; width: 100%; }
.hero-photo img {
  width: 100%; border-radius: var(--r-lg); aspect-ratio: 3/4; object-fit: cover;
  box-shadow: 0 30px 60px -34px oklch(0.22 0.02 222 / 0.55);
}
.hero-photo-cap {
  position: absolute; bottom: .7rem; left: .7rem;
  background: var(--accent-bright); color: var(--on-accent);
  font-size: var(--fs-sm); padding: .3rem .6rem; border-radius: 6px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; justify-content: stretch; }
  .hero-photo { display: none; }
}

.record-head, .travel-head { max-width: var(--maxw); margin-inline: auto; }

/* ============================================================
   MY CAREER JOURNEY / FUN PROJECTS  (the .experience sections)
   ============================================================ */
.record, .experience { background: var(--exp-bg); padding: clamp(4.5rem, 12vh, 9rem) var(--pad); }
/* two experience sections back to back read as one forest room, no double gap */
.experience + .experience { padding-top: clamp(2rem, 5vw, 3.5rem); }
.record-head { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.record-list { list-style: none; padding: 0; max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.rec {
  display: grid; grid-template-columns: 7rem 100px 1fr; gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}
.rec-year {
  font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25;
  color: var(--ink); white-space: nowrap;
}
.rec-logo { display: flex; align-items: center; justify-content: center; align-self: start; min-height: 1.55em; }
.rec-logo img { height: 30px; width: auto; max-width: 112px; object-fit: contain; display: block; }
.rec-logo img[src*="hawaiian"] { height: 50px; }
@media (max-width: 620px) {
  .rec { grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .55rem; }
  .rec-year { grid-row: 1; grid-column: 1; align-self: center; }
  .rec-logo { grid-row: 1; grid-column: 2; justify-content: flex-start; min-height: 0; }
  .rec-body { grid-row: 2; grid-column: 1 / -1; }
}
.rec-title { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.rec-flag {
  display: inline-block; vertical-align: middle; font-family: var(--mono); font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: .06em; padding: .1rem .5rem; border-radius: 5px;
  color: var(--accent); margin-left: .5rem;
}
.rec-org { color: var(--accent); font-weight: 500; margin-top: .25rem; font-size: var(--fs-md); }
.rec-note { color: var(--ink-soft); margin-top: .7rem; max-width: 64ch; text-wrap: pretty; font-size: var(--fs-md); }
.rec-note em { color: var(--ink); font-style: italic; font-weight: 500; }
.rec-metrics { list-style: none; padding: 0; margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; }
.rec-metrics li { font-size: var(--fs-sm); color: var(--ink-soft); }
.rec-metrics b { font-weight: 700; color: var(--ink); }
.rec--game .rec-metrics b { color: var(--accent); }

/* ============================================================
   ENGINEER / AI — deep block
   ============================================================ */
.eng { background: var(--teal-deep); color: var(--on-dark); padding: clamp(4.5rem, 13vh, 9rem) var(--pad); }
.eng-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
/* grid children allowed to shrink below their content min-size */
.about-grid > *, .rec { min-width: 0; }
.eng-p { color: var(--on-dark-soft); font-size: clamp(1.02rem, 1.5vw, 1.2rem); margin-top: 1.2rem; max-width: 54ch; text-wrap: pretty; }
.eng-p b { color: var(--on-dark); font-weight: 600; }
.eng-stack-label { font-size: .78rem; color: var(--tangerine); margin-bottom: 1rem; }
.stack-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.stack-chips li {
  font-size: .82rem; padding: .5rem .85rem; border-radius: 100px;
  border: 1px solid oklch(0.965 0.012 150 / 0.2); color: var(--on-dark-soft);
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.stack-chips li:hover { border-color: var(--teal-bright); color: var(--on-dark); transform: translateY(-2px); }
.stack-chips li.pop { background: var(--tangerine); border-color: var(--tangerine); color: oklch(0.22 0.06 40); font-weight: 600; }
.eng-terminal {
  background: oklch(0.16 0.03 210); border: 1px solid oklch(0.965 0.012 150 / 0.14);
  border-radius: var(--r-md); padding: 1.2rem 1.3rem; font-size: .82rem; line-height: 1.9;
  box-shadow: 0 30px 60px -30px oklch(0.1 0.03 210 / 0.9);
  overflow-x: auto;
}
.eng-terminal .t-line { display: block; white-space: nowrap; }
.t-prompt { color: var(--teal-bright); }
.t-path { color: var(--tangerine); }
.t-out { color: var(--on-dark-soft); }
.t-caret { color: var(--tangerine); animation: blink 1.2s steps(1) infinite; }
@media (max-width: 820px) { .eng-inner { grid-template-columns: 1fr; } }

/* ============================================================
   FIELD NOTES / GALLERY
   ============================================================ */
.travel { background: oklch(0.16 0.028 214); color: var(--on-dark); padding: clamp(4.5rem, 12vh, 9rem) var(--pad); }
.travel .section-lead { color: var(--on-dark-soft); }
.travel-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }

/* place tabs */
.field-tabs {
  max-width: 1400px; margin: 0 auto clamp(1.6rem, 3vw, 2.6rem);
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.field-tab {
  display: flex; flex-direction: column; gap: .05rem; text-align: left;
  padding: .6rem 1.15rem; border-radius: 16px;
  border: 1.5px solid oklch(0.965 0.012 150 / 0.22); color: var(--on-dark-soft);
  transition: border-color .3s var(--ease), color .3s, background .3s, transform .3s var(--ease);
}
.field-tab-name { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.field-tab-tag { font-size: .68rem; opacity: .75; }
.field-tab:hover { border-color: var(--teal-bright); color: var(--on-dark); transform: translateY(-2px); }
.field-tab[aria-selected="true"] {
  background: var(--tangerine); border-color: var(--tangerine); color: oklch(0.2 0.06 40);
  box-shadow: 0 10px 26px -14px var(--tangerine);
}
.field-tab[aria-selected="true"] .field-tab-tag { color: oklch(0.28 0.09 42); opacity: 1; }

.field-panels { max-width: 1400px; margin-inline: auto; }
.gallery[hidden] { display: none; }
.gallery {
  max-width: 1400px; margin-inline: auto;
  columns: 2; column-gap: clamp(.8rem, 2vw, 1.4rem);
}
.ph { position: relative; break-inside: avoid; margin-bottom: clamp(.8rem, 2vw, 1.4rem); border-radius: var(--r-md); overflow: hidden; background: var(--teal-deep); contain: paint; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ph img { width: 100%; transition: transform .85s var(--ease-expo), filter .6s; backface-visibility: hidden; }
.ph:hover, .ph:focus-within { transform: translateY(-4px); box-shadow: 0 22px 44px -26px oklch(0.05 0.02 210 / 0.9); }
.ph:hover img, .ph:focus-within img { transform: scale(1.06); }
.ph-shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 34%, oklch(1 0 0 / 0.28) 50%, transparent 66%);
  transform: translateX(-120%); transition: transform .75s var(--ease-expo); will-change: transform;
}
.ph:hover .ph-shine, .ph:focus-within .ph-shine { transform: translateX(120%); }
.ph figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem .95rem .8rem; font-size: .74rem; color: var(--on-dark);
  background: linear-gradient(to top, oklch(0.12 0.03 214 / 0.85), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ph:hover figcaption, .ph:focus-within figcaption { opacity: 1; transform: none; }
@media (max-width: 720px) { .gallery { columns: 1; } .ph figcaption { opacity: 1; transform: none; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }

/* ── travel: tabs extras ── */
.field-tab-name .soon {
  font-size: .58rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--tangerine); color: oklch(0.2 0.06 40);
  padding: .12rem .38rem; border-radius: 5px; margin-left: .4rem; vertical-align: middle; font-weight: 700;
}
.field-tab--next { border-style: dashed; }

/* ── trip panel ── */
.trip { max-width: 1400px; margin-inline: auto; }
.trip-brief {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start; margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.trip-name { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.trip-tag { color: var(--on-dark-soft); font-size: clamp(1rem, 1.5vw, 1.15rem); margin-top: .55rem; text-wrap: pretty; }
.trip-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-meta {
  font-size: .72rem; padding: .38rem .75rem; border-radius: 100px;
  border: 1px solid oklch(0.965 0.012 150 / 0.22); color: var(--on-dark-soft);
}
.trip-route-label, .trip-exp-label {
  font-size: .74rem; color: var(--tangerine); margin-bottom: .8rem; letter-spacing: .01em;
}
.trip-route-label::before, .trip-exp-label::before { content: "// "; opacity: .8; }

.route { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .1rem; }
.route--next { margin-top: 1.4rem; }
.stop { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--on-dark); font-size: clamp(.98rem, 1.4vw, 1.1rem); padding: .1rem 0; }
.stop-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); flex-shrink: 0; }
.stop:not(:last-child)::after { content: "→"; margin: 0 .65rem 0 .75rem; color: var(--tangerine); font-weight: 400; }

/* slide-through underline (jasonheecs-style line effect) */
.uline { position: relative; display: inline-flex; align-items: center; gap: .4ch; }
.uline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--tangerine); transform: scaleX(0); transform-origin: right;
  transition: transform .38s var(--ease);
}
.uline:hover::after, .uline:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.wander { display: inline-flex; margin-top: 1.5rem; color: var(--on-dark); font-size: .9rem; }
.wander span { color: var(--tangerine); transition: transform .3s var(--ease); }
.wander:hover span { transform: translate(2px, -2px); }

/* experiences */
.trip-experiences { margin-bottom: clamp(2rem, 4vw, 3rem); }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 620px) { .exp-grid { grid-template-columns: 1fr; } }
.exp {
  display: flex; gap: .95rem; padding: 1.15rem 1.25rem; border-radius: 15px;
  background: oklch(0.215 0.038 210); border: 1px solid oklch(0.965 0.012 150 / 0.12);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease);
}
.exp:hover { transform: translateY(-4px); border-color: var(--teal-bright); box-shadow: 0 18px 36px -22px oklch(0.05 0.02 210 / 0.9); }
.exp-ic { font-size: 1.55rem; line-height: 1; flex-shrink: 0; }
.exp-t { font-size: 1.03rem; font-weight: 600; color: var(--on-dark); line-height: 1.2; }
.exp-d { font-size: .9rem; color: var(--on-dark-soft); margin-top: .3rem; text-wrap: pretty; }

@media (max-width: 720px) { .trip-brief { grid-template-columns: 1fr; } }

/* ── coming soon (Peru) ── */
.trip--next {
  position: relative; overflow: hidden; border-radius: 22px;
  padding: clamp(2rem, 5vw, 4rem); max-width: 1400px; margin-inline: auto;
  background: linear-gradient(135deg, oklch(0.24 0.05 205), oklch(0.19 0.045 255));
  border: 1.5px dashed oklch(0.965 0.012 150 / 0.28);
}
.next-inner { position: relative; z-index: 1; max-width: 60ch; }
.next-badge { color: var(--tangerine); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.next-name { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.trip--next .trip-tag { margin-top: .6rem; }
.next-blurb { color: var(--on-dark-soft); margin-top: 1.3rem; font-size: clamp(1rem, 1.5vw, 1.15rem); text-wrap: pretty; }
.next-note { margin-top: 1.3rem; color: var(--teal-bright); font-size: .82rem; }
.next-glow {
  position: absolute; top: -40%; right: -10%; width: 55%; height: 180%;
  background: radial-gradient(closest-side, oklch(0.62 0.132 197 / 0.5), transparent 70%);
  filter: blur(30px); pointer-events: none; animation: drift 9s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-12%, 8%) scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .ph-shine, .next-glow { display: none; }
  .ph:hover, .ph:focus-within, .exp:hover { transform: none; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--canvas); padding: clamp(4.5rem, 12vh, 9rem) var(--pad); }
.about-grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-big { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1.6rem; text-wrap: balance; max-width: 20ch; color: var(--ink); }
.about-p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 58ch; text-wrap: pretty; font-size: 1.08rem; }
.about-avatar { position: relative; margin-bottom: 1.8rem; }
.about-avatar img { width: 160px; border-radius: 20px; background: var(--butter); }
.about-avatar figcaption { font-size: .74rem; color: var(--ink-soft); margin-top: .7rem; max-width: 24ch; text-wrap: pretty; }
.about-facts { display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about-facts div { display: grid; gap: .15rem; }
.about-facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tangerine-2); }
.about-facts dd { font-size: 1rem; color: var(--ink); }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT — tangerine drench
   ============================================================ */
.contact { background: var(--emerald); color: var(--on-accent); padding: clamp(5rem, 15vh, 10rem) var(--pad); text-align: center; }
.contact-inner { max-width: 44rem; margin-inline: auto; }
.contact-h { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.contact-em { font-style: italic; font-weight: 400; }
.contact-p { font-size: var(--fs-md); color: var(--on-accent); margin: 1.4rem auto 2.2rem; max-width: 46ch; text-wrap: pretty; }
.contact-email { font-size: var(--fs-md); }
.contact-row { margin-top: 1.6rem; display: flex; gap: 1rem; justify-content: center; align-items: center; font-size: var(--fs-sm); }
.contact-row a { color: var(--on-accent); border-bottom: 1.5px solid rgba(40, 54, 24, 0.45); padding-bottom: 2px; transition: border-color .25s; }
.contact-row a:hover { border-color: var(--on-accent); }

/* ── footer ── */
.footer {
  background: var(--canvas); color: var(--ink-soft);
  padding: 2.4rem var(--pad); display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  justify-content: space-between; align-items: center; font-size: var(--fs-sm);
}
.footer-egg {
  font-family: var(--mono); font-size: var(--fs-sm); color: var(--accent);
  background: none; cursor: pointer; padding: 0 0 2px; position: relative;
}
.footer-egg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.footer-egg:hover::after, .footer-egg:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.footer-egg[aria-busy="true"] { opacity: .55; cursor: progress; }

/* ============================================================
   CUSTOM CURSOR (pointer devices)
   ============================================================ */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
}
.cursor-dot.grow { width: 42px; height: 42px; background: oklch(0.45 0.135 252 / 0.2); }
@media (hover: none) { .cursor-dot { display: none; } }

/* ============================================================
   MOTION — initial states (only when JS marks html.motion)
   ============================================================ */
.motion .hero-h .w { opacity: 0; transform: translateY(0.4em); }
.motion .hero-kicker,
.motion .hero-sub,
.motion .hero-actions,
.motion .hero-facts,
.motion .hero-photo { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .motion .reveal,
  .motion .hero-h .w,
  .motion .hero-kicker,
  .motion .hero-sub,
  .motion .hero-actions,
  .motion .hero-facts,
  .motion .hero-photo { opacity: 1 !important; transform: none !important; }
  .ph:hover img { transform: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
