/* Heritage tokens — the 2018 site's palette, kept for reference/nostalgia
   only. Not used as the primary palette below; --clay is the one heritage
   colour that survives into the new design, muted and repurposed. */
:root{
  --heritage-slate:#a9c0cb;
  --heritage-coral:#e56c7a;
}

:root{
  --bg:#0e0d0c;
  --bg-2:#161412;
  --panel:#1b1815;
  --line:#332e29;
  --line-soft:#242019;
  --ink:#efe9e1;
  --muted:#a49686;
  --clay:#c4674a;
  --clay-ink:#1c0d07;
  --sand:#d8c9a8;
  --moss:#7f9678;
  color-scheme: dark;
}

*{box-sizing:border-box;}
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size:17px;
  line-height:1.65;
  padding-inline:24px;
}
h1,h2,h3{ font-family:'Fraunces', Georgia, serif; margin:0; text-wrap:balance; font-weight:600; }
p{ margin:0; }
a{ color:var(--sand); text-decoration-color:var(--line); text-underline-offset:3px; }
a:hover{ color:var(--clay); }
img{ max-width:100%; display:block; }
::selection{ background:var(--clay); color:var(--clay-ink); }

.wrap{ max-width:920px; margin:0 auto; }

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

section{ padding-block:72px; position:relative; }
section + section{ border-top:1px solid var(--line-soft); }
.eyebrow{
  font-size:12px; letter-spacing:3px; text-transform:uppercase;
  color:var(--moss); margin-bottom:14px; display:block; font-weight:700;
}

/* ---- hero ------------------------------------------------------------ */
header.hero{
  padding-block:88px 56px;
  display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:center;
}
header.hero img.portrait{
  width:132px; height:132px; border-radius:50%; object-fit:cover;
  border:1px solid var(--line); filter:grayscale(.15);
}
.hero-text h1{ font-size:clamp(38px,6vw,58px); line-height:1.05; }
.hero-text .role{
  color:var(--clay); font-size:16px; letter-spacing:.5px; margin-top:10px; font-weight:600;
}
.hero-text p.bio{ max-width:64ch; color:#d6c9ba; margin-top:22px; font-size:18px; }

nav.primary{
  display:flex; gap:28px; flex-wrap:wrap; margin-top:32px;
  font-size:14px; letter-spacing:1px; text-transform:uppercase; font-weight:700;
}
nav.primary a{ color:var(--ink); text-decoration:none; border-bottom:2px solid transparent; padding-bottom:3px; }
nav.primary a:hover{ color:var(--clay); border-color:var(--clay); }

.social-row{ display:flex; gap:14px; margin-top:26px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--muted);
  transition:color .15s, border-color .15s;
}
.social-row a:hover{ color:var(--clay); border-color:var(--clay); }
.social-row svg{ width:17px; height:17px; fill:currentColor; }

@media (max-width:640px){
  header.hero{ grid-template-columns:1fr; text-align:center; justify-items:center; }
  nav.primary,.social-row{ justify-content:center; }
}

/* ---- featured: sprite forge -------------------------------------------*/
.featured{
  background:radial-gradient(ellipse at top left, #241d17, var(--panel));
  border:1px solid var(--line); border-radius:18px;
  padding:40px;
}
.featured .fhead{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; }
.featured h2{
  font-family:'Press Start 2P', 'Fraunces', monospace;
  font-size:21px; color:var(--sand); line-height:1.6; letter-spacing:1px;
}
.status-pill{
  font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--moss);
  border:1px solid var(--moss); border-radius:20px; padding:5px 13px; white-space:nowrap; font-weight:700;
}
.status-pill.muted{ color:var(--muted); border-color:var(--line); }

/* .alt: a second, less "done" project — same card, no pixel-font branding
   (that's Sprite Forge's own identity, not a generic "featured project"
   treatment) and no CTA row, since there's nowhere to send anyone yet. */
.featured.alt h2{ font-family:'Fraunces',serif; font-size:30px; color:var(--ink); letter-spacing:0; }
.wip-note{ margin-top:22px; color:var(--muted); font-size:14px; font-style:italic; }

.featured p.desc{ margin-top:20px; max-width:62ch; color:#d6c9ba; font-size:17px; }
.featured ul.points{ margin:18px 0 0; padding-left:20px; color:var(--muted); }
.featured ul.points li{ margin-bottom:7px; }
.featured .cta-row{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 24px; border-radius:9px; font-size:15px; font-weight:700;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
}
.btn-primary{ background:var(--clay); color:var(--clay-ink); }
.btn-primary:hover{ background:#d97c5d; color:var(--clay-ink); }
.btn-ghost{ border-color:var(--line); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--clay); color:var(--clay); }

.char-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:32px; }
.char-strip figure{ margin:0; }
.char-strip .chip{
  background:#0a0908; border:1px solid var(--line-soft); border-radius:12px;
  padding:12px; display:flex; align-items:center; justify-content:center; aspect-ratio:16/20;
}
.char-strip img{ image-rendering:pixelated; max-height:100%; }
.char-strip figcaption{ text-align:center; font-size:12px; color:var(--muted); margin-top:8px; letter-spacing:.5px; }
@media (max-width:560px){ .char-strip{ grid-template-columns:repeat(2,1fr); } }

.cc-bg{
  margin-top:28px; border-radius:10px; overflow:hidden;
  border:1px solid var(--line-soft); background:var(--bg-2);
}
.cc-bg img{ width:100%; display:block; }

/* ---- experience: a real timeline, not a resume dump -------------------*/
.timeline{ margin-top:32px; }
.tl-company{ margin-bottom:36px; }
.tl-company .chead{
  display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap;
  padding-bottom:10px; border-bottom:1px solid var(--line-soft);
}
.tl-company .org{ font-family:'Fraunces',serif; font-size:22px; font-weight:600; }
.tl-company .span{ color:var(--muted); font-size:14px; white-space:nowrap; }
.tl-role{ display:grid; grid-template-columns:200px 1fr; gap:6px 24px; padding-top:18px; }
.tl-role .role-meta{ color:var(--muted); font-size:14px; line-height:1.5; }
.tl-role .role-title{ font-weight:700; color:var(--ink); }
.tl-role p{ color:#c9bcae; font-size:15px; }
@media (max-width:640px){
  .tl-role{ grid-template-columns:1fr; }
}

.edu-grid{ margin-top:36px; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.edu-item .org{ font-weight:700; }
.edu-item .role{ color:var(--clay); font-size:14px; margin-top:4px; display:block; }
.edu-item p{ color:var(--muted); font-size:14px; margin-top:8px; }
@media (max-width:640px){ .edu-grid{ grid-template-columns:1fr; } }

/* ---- history (condensed) ----------------------------------------------*/
.history-list{ margin-top:24px; border-top:1px solid var(--line-soft); }
.history-row{
  display:grid; grid-template-columns:1fr auto; gap:6px 20px;
  padding:18px 0; border-bottom:1px solid var(--line-soft); align-items:baseline;
}
.history-row .title{ font-weight:700; color:var(--ink); }
.history-row .title a{ color:inherit; text-decoration:none; }
.history-row .title a:hover{ color:var(--clay); }
.history-row .desc{ grid-column:1; color:var(--muted); font-size:15px; }
.history-row .tag{
  grid-column:2; grid-row:1 / span 2; align-self:center; justify-self:end;
  font-size:11px; color:var(--moss); border:1px solid var(--moss); border-radius:20px;
  padding:4px 11px; white-space:nowrap; height:fit-content; font-weight:700; letter-spacing:.5px;
}
.history-note{ margin-top:18px; color:var(--muted); font-size:14px; font-style:italic; }
@media (max-width:640px){
  .history-row{ grid-template-columns:1fr; }
  .history-row .tag{ grid-column:1; grid-row:auto; justify-self:start; margin-top:4px; }
}

/* ---- artist statement --------------------------------------------------*/
.statement-lede{ color:var(--muted); font-size:17px; margin-top:20px; max-width:60ch; }
.statement-text{
  color:#d6c9ba; font-size:19px; font-style:italic; margin-top:20px; max-width:62ch;
  line-height:1.75; border-left:3px solid var(--clay); padding-left:22px;
}
.sub-eyebrow{
  font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--moss);
  margin-top:44px; margin-bottom:16px; font-weight:700;
}
.exhibit-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line-soft); }
.exhibit-list li{
  display:grid; grid-template-columns:1fr auto auto; gap:18px;
  padding:13px 0; border-bottom:1px solid var(--line-soft); font-size:15px; align-items:baseline;
}
.exhibit-list .ex-title{ font-weight:600; color:var(--ink); }
.exhibit-list .ex-year{ color:var(--clay); font-variant-numeric:tabular-nums; }
.exhibit-list .ex-place{ color:var(--muted); text-align:right; }
@media (max-width:640px){
  .exhibit-list li{ grid-template-columns:1fr; gap:2px; padding:10px 0; }
  .exhibit-list .ex-place{ text-align:left; }
}

/* ---- contact / footer ---------------------------------------------------*/
footer.contact{ padding-block:72px 80px; text-align:center; }
footer.contact h2{ font-size:30px; }
footer.contact p{ color:var(--muted); margin-top:12px; }
footer.contact .social-row{ justify-content:center; margin-top:26px; }
footer.contact .fineprint{ margin-top:44px; font-size:13px; color:#544c42; }
