/* ===== Tokens ===== */
:root {
  --ink: #1d1e1f;
  --muted: #707476;
  --dark: #161717;
  --white: #fff;
  --line: rgba(0, 0, 0, .08);
  --line-dark: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .05);
  --gutter: 64px;
  --max: 1400px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Chillax", "Chillax Placeholder", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; font-weight: 400; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

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

/* ===== Type ===== */
.eyebrow, .see-all, .nav-link, .btn-ghost, .btn-light, .name-tag, .discover, .chip-tag, .socials a, .to-top {
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow { color: var(--muted); }
.eyebrow-dark { color: rgba(255, 255, 255, .6); }
.display { font-size: 80px; line-height: 1.25; text-align: center; }
.h1 { font-size: 64px; line-height: 1.1; }
.h2 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; }
.lead { font-size: 20px; line-height: 1.4; color: var(--muted); }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ===== Text roll hover (nav, buttons) ===== */
/* site.js wraps each label as .roll-clip > .roll-in > (span, span[aria-hidden]) */
.roll-clip { display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; vertical-align: top; }
.roll-in { display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.roll:hover .roll-in { transform: translateY(-50%); }

/* ===== Mobile menu (phone only) ===== */
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--line-dark);
  background: var(--glass);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.light .menu-btn { background: var(--ink); border-color: var(--ink); }
.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--dark);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 4px;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, .06); }

/* ===== Light pages (white background, dark nav) ===== */
.site-header { position: relative; z-index: 5; }
.light .logo { color: var(--ink); }
.light .nav-link { color: var(--ink); }
.light .btn-ghost { background: var(--ink); border-color: var(--ink); color: var(--white); }
.light .btn-ghost:hover { background: #000; border-color: #000; }

/* Dark pages without the home hero (e.g. contact) */
.dark { background: var(--dark); color: var(--white); }

/* ===== Hero ===== */
.hero {
  background: var(--dark);
  color: var(--white);
  min-height: 810px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  position: relative;
  z-index: 2;
}
.logo { display: inline-flex; padding: 3px 25px; color: var(--white); }
.logo svg { width: 30px; height: 30px; transition: transform .5s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 12px 16px; opacity: .9; transition: opacity .2s; }
.nav-link:hover { opacity: 1; }
.btn-ghost {
  margin-left: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  background: var(--glass);
  border-radius: 6px;
  transition: background .3s, border-color .3s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
}
.hero-title { font-size: 96px; line-height: 1; letter-spacing: -4px; }
.hero-sub {
  margin-top: 28px;
  max-width: 500px;
  font-size: 26px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .6);
}
.hero-portrait {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  width: clamp(300px, 37vw, 630px);
}
.hero-portrait img { width: 100%; height: auto; }
.name-tag {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 16px;
  color: var(--white);
  background: rgba(22, 23, 23, .7);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee var(--speed, 40s) linear infinite;
}
.marquee[data-reverse] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logos { padding: 70px 0 0; }
.logos .marquee { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.logos .marquee-track { gap: 110px; padding-right: 110px; }
.logos img { width: auto; filter: grayscale(1); opacity: .75; transition: opacity .3s; }
.logos img:hover { opacity: 1; }

/* ===== Statement ===== */
.statement { padding: 200px var(--gutter) 120px; text-align: center; }
.statement .lead { max-width: 580px; margin: 24px auto 0; }

/* ===== Section header ===== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  margin-bottom: 32px;
}
.see-all { display: inline-flex; align-items: center; gap: 12px; }
.arrow-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid; place-items: center;
  transition: transform .4s var(--ease);
}
.arrow-dot svg, .arrow-ring svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.see-all:hover .arrow-dot { transform: scale(1.1); }
.see-all:hover .arrow-dot svg, .discover:hover .arrow-ring svg { transform: rotate(45deg); }
.arrow-ring {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--glass);
  display: grid; place-items: center;
  color: var(--white);
}

/* ===== Journey ===== */
.journey { padding-bottom: 160px; }
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 624px;
  gap: 64px;
  align-items: start;
}
.journey-intro { position: sticky; top: 48px; }
.journey-intro .body-lg { margin-top: 16px; max-width: 500px; }
.journey-cards { display: flex; flex-direction: column; gap: 32px; }
.jcard {
  position: sticky;
  top: 48px;
  display: block;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  transition: border-color .3s, box-shadow .3s;
}
.jcard:nth-child(2) { top: 72px; }
.jcard:nth-child(3) { top: 96px; }
.jcard:hover { border-color: rgba(0, 0, 0, .18); box-shadow: 0 10px 40px rgba(0, 0, 0, .05); }
.jcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.jcard h3 { font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.jcard-co { font-size: 14px; line-height: 1.6; white-space: nowrap; }
.jcard-co::before { content: "|"; margin-right: 16px; }
.jcard p { font-size: 16px; line-height: 1.6; }
.read-more { display: block; margin-top: 16px; text-align: right; font-size: 16px; transition: color .2s; }
.jcard:hover .read-more { color: var(--ink); }

/* ===== Featured work ===== */
.work { padding-bottom: 120px; }
.work-stack { display: flex; flex-direction: column; gap: 16px; }
.wcard {
  position: sticky;
  top: 48px;
  aspect-ratio: 1400 / 816;
  border-radius: 6px;
  overflow: hidden;
  background: #2a2a2a;
}
.wcard:nth-child(2) { top: 81px; }
.wcard:nth-child(3) { top: 114px; }
.wcard:nth-child(4) { top: 147px; }
.wcard-media, .wcard-media img { display: block; width: 100%; height: 100%; }
.wcard-media img { object-fit: cover; transition: transform 1.2s var(--ease); }
.wcard:hover .wcard-media img { transform: scale(1.03); }
.glass {
  position: absolute;
  left: 64px;
  bottom: 48px;
  width: 500px;
  padding: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass h3 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; }
.glass p { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.discover { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--white); }
.chip-tag {
  position: absolute;
  right: 64px;
  bottom: 48px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
  background: var(--glass);
  border-radius: 3px;
}

/* Project filter + card source label (Built page) */
.work-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.work-filter button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font: inherit; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.work-filter button span { font-size: 12px; color: var(--muted); transition: color .25s; }
.work-filter button:hover { border-color: rgba(0, 0, 0, .25); }
.work-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.work-filter button[aria-pressed="true"] span { color: rgba(255, 255, 255, .6); }
.work-filter button:focus-visible, .menu-btn:focus-visible { outline: 2px solid #f5a624; outline-offset: 2px; }
.wcard[hidden] { display: none; }
.wcard.is-entering { animation: card-in .6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }
.card-src {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.wcard[data-kind="ai"] .card-src::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f5a624;
  box-shadow: 0 0 8px rgba(245, 166, 36, .8);
  vertical-align: 2px;
}

/* ===== Tool box ===== */
.toolbox { padding: 60px var(--gutter) 160px; }
.center-head { text-align: center; }
.center-head .body-lg { margin-top: 12px; }
.tool-rows { margin-top: 28px; display: flex; flex-direction: column; gap: 40px; }
.tool-row .eyebrow { display: block; text-align: center; margin-bottom: 16px; }
.tool-row .marquee-track { gap: 10px; padding-right: 10px; }
.tool-chip {
  padding: 4px 14px;
  font-size: 18px;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background .2s, border-color .2s;
}
.tool-chip:hover { background: rgba(0, 0, 0, .03); border-color: rgba(0, 0, 0, .2); }

/* ===== Recommendations ===== */
.recs-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.recs-col { display: flex; flex-direction: column; gap: 32px; }
.recs-col:nth-child(3) { padding-top: 0; }
.rec {
  display: block;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .3s, transform .4s var(--ease);
}
.rec:hover { border-color: rgba(0, 0, 0, .18); transform: translateY(-3px); }
.rec q { display: block; font-size: 24px; line-height: 1.3; quotes: none; }
.rec-who { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.rec-who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.rec-name { font-size: 13px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.2; }
.rec-role { font-size: 14px; color: var(--muted); margin-top: 4px; }
.recs-foot { display: flex; justify-content: flex-end; align-items: center; gap: 40px; margin-top: 48px; }

/* ===== About ===== */
.about {
  margin: 128px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 90px;
  align-items: center;
  padding: 64px 64px 64px 100px;
  background: var(--dark);
  color: var(--white);
  border-radius: 6px;
}
.about-portrait { position: relative; }
.about-portrait img { width: 100%; height: auto; }
.about-portrait .name-tag { bottom: 0; }
.about-copy .h1 { margin-top: 14px; }
.about-copy p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .45); max-width: 720px; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: var(--white); }
.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 88px;
  padding-bottom: 50px;
}
.footer-title { font-size: 44px; line-height: 1.2; }
.footer-inner > .eyebrow { margin-top: 22px; }
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  transition: transform .3s var(--ease);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-light svg { width: 12px; height: 12px; }
.footer-logo { margin-top: 90px; }
.socials { display: flex; gap: 24px; margin-top: 30px; }
.socials a { display: inline-flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .6); transition: color .2s; }
.socials a:hover { color: var(--white); }
.socials svg { width: 18px; height: 18px; color: var(--white); }
.to-top { align-self: flex-end; display: inline-flex; align-items: center; gap: 12px; margin-top: 60px; color: rgba(255, 255, 255, .8); }
.to-top:hover .arrow-ring svg { transform: translateY(-2px); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Built ===== */
.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 96px;
  padding-bottom: 48px;
}
.page-intro .lead { margin-top: 20px; max-width: 400px; }
.page-intro .see-all { margin-right: 32px; margin-bottom: 4px; }
.work-stack--flat .wcard,
.work-stack--flat .wcard:nth-child(n) { top: 48px; }
#work-projects { scroll-margin-top: 48px; }

/* ===== Journey ===== */
.journey-hero { padding-top: 96px; text-align: center; }
.journey-hero .display { line-height: 1; max-width: 1000px; margin: 0 auto; }
.journey-hero .body-lg { max-width: 600px; margin: 24px auto 0; }
.timeline { padding-top: 70px; }
.timeline > .h2 { text-align: center; }
.tl { list-style: none; margin: 90px 0 0; padding: 0; }
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 196px;
  padding-bottom: 160px;
  scroll-margin-top: 80px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-body { max-width: 482px; }
.tl-item:nth-child(odd) .tl-body { grid-column: 1; justify-self: end; width: 100%; }
.tl-item:nth-child(even) .tl-body { grid-column: 2; }
.tl-body h3 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; }
.tl-co { margin-top: 4px; font-size: 24px; line-height: 1.3; }
.tl-desc { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--muted); }
/* Rail: dot beside the title, line running down to the next role. */
.tl-rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 16px; margin-left: -8px; pointer-events: none; }
.tl-rail::before {
  content: "";
  position: absolute;
  top: 22px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #ececec;
  transition: background .6s var(--ease) .2s;
}
.tl-rail::after {
  content: "";
  position: absolute;
  top: 70px; bottom: 30px; left: 7px;
  width: 3px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease) .4s;
}
.tl-item:last-child .tl-rail::after { display: none; }
.tl-item.in .tl-rail::before { background: var(--ink); }
.tl-item.in .tl-rail::after { transform: scaleY(1); }
/* The rail sits outside the fading body so it stays put while text fades in. */
.tl-item.reveal { opacity: 1; transform: none; }
.tl-item.reveal .tl-body { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s; }
.tl-item.reveal.in .tl-body { opacity: 1; transform: none; }

.narrow { max-width: calc(800px + var(--gutter) * 2); padding-top: 180px; padding-bottom: 128px; }
.resume { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 0 0 26px; }
.resume .body-lg { margin-top: 12px; max-width: 600px; }
.resume .see-all { flex-shrink: 0; }
.how { margin-top: 64px; padding: 64px; border: 1px solid var(--line); border-radius: 8px; }
.how .h1 { margin-top: 16px; font-size: 48px; letter-spacing: -1px; line-height: 1.2; }
.how-lead { margin-top: 16px; max-width: 500px; font-size: 18px; line-height: 1.6; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-direction: column; gap: 52px; }
.step { display: grid; grid-template-columns: 64px 1fr; }
.step-n, .step h3 { font-size: 24px; line-height: 1.3; }
.step p { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ===== Contact ===== */
.page-contact { min-height: 100vh; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
}
.contact-portrait { position: relative; width: 536px; max-width: 100%; margin-left: 56px; }
.contact-portrait img { width: 100%; height: auto; }
.contact-portrait .name-tag { left: 0; transform: none; bottom: 0; }
.contact-copy { padding-left: 32px; }
.contact-title { margin-top: 12px; font-size: 64px; line-height: 1; }
.contact-copy .body-lg { margin-top: 18px; max-width: 540px; }
.contact-links { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; }
.icon-ring {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: var(--glass);
  display: grid; place-items: center;
}
.icon-ring svg { width: 16px; height: 16px; }
.pill {
  padding: 8px 15px;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  border-radius: 3px;
  transition: background .25s, border-color .25s;
}
.contact-links a:hover .pill { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); }
/* Contact uses the footer without its call-to-action block. */
.page-contact .footer-title,
.page-contact .footer-inner > .eyebrow,
.page-contact .btn-light { display: none; }
.page-contact .footer-inner { padding-top: 64px; }
.page-contact .footer-logo { margin-top: 0; }

.show-mobile-inline { display: none; }

/* ===== Tablet ===== */
@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .hero-title { font-size: 80px; }
  .display { font-size: 64px; }
  .journey-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .glass { left: 40px; bottom: 32px; width: 440px; padding: 36px; }
  .chip-tag { right: 40px; bottom: 32px; }
  .recs-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 300px 1fr; gap: 56px; padding: 56px; }
  .h1 { font-size: 52px; }
  .tl-item { column-gap: 96px; }
  .tl-body h3 { font-size: 36px; }
  .contact-portrait { margin-left: 0; }
  .contact-title { font-size: 56px; }
}

/* ===== Phone ===== */
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .hide-mobile { display: none; }
  .hide-mobile-inline { display: none; }
  .show-mobile-inline { display: inline; }
  .nav { padding-top: 24px; }
  .logo { padding: 3px 0; }
  .btn-ghost { margin-left: 0; }
  .menu-btn { display: inline-flex; }

  .hero { min-height: 0; }
  .hero-inner { display: flex; flex-direction: column; text-align: center; padding-top: 48px; }
  .hero-title { font-size: 56px; letter-spacing: -2px; }
  .hero-sub { font-size: 18px; margin: 16px auto 0; max-width: 300px; }
  .hero-portrait { position: relative; right: auto; width: 280px; margin: 24px auto 0; }

  .logos { padding-top: 40px; }
  .logos .marquee-track { gap: 60px; padding-right: 60px; }
  .logos img { transform: scale(.85); }

  .statement { padding: 100px var(--gutter) 80px; }
  .display { font-size: 44px; }
  .lead { font-size: 16px; }

  .section-head { padding: 0; }
  .journey { padding-bottom: 100px; }
  .journey-grid { grid-template-columns: 1fr; gap: 32px; }
  .journey-intro { position: static; }
  .h2 { font-size: 32px; letter-spacing: -.5px; }
  .body-lg { font-size: 16px; }
  .jcard { padding: 28px; border-radius: 16px; position: static; }
  .jcard h3 { font-size: 16px; }
  .jcard-co { font-size: 13px; }
  .jcard p { font-size: 14px; }
  .read-more { font-size: 14px; }

  .work { padding-bottom: 80px; }
  .wcard { aspect-ratio: 4 / 3; top: 20px; }
  .wcard:nth-child(2) { top: 36px; }
  .wcard:nth-child(3) { top: 52px; }
  .wcard:nth-child(4) { top: 68px; }
  .glass { left: 16px; bottom: 16px; width: auto; padding: 8px 12px; }
  .glass h3 { font-size: 26px; letter-spacing: 0; }
  .glass p, .glass .discover { display: none; }
  .card-src { margin-bottom: 4px; font-size: 10px; }
  .work-filter button { padding: 8px 12px; font-size: 12px; }
  .chip-tag { right: 16px; top: 16px; bottom: auto; font-size: 11px; }

  .toolbox { padding: 40px var(--gutter) 100px; }
  .h1 { font-size: 36px; }
  .tool-rows { gap: 28px; }
  .tool-chip { font-size: 15px; }

  .recs-grid { display: flex; flex-direction: column; gap: 20px; }
  .recs-col { display: contents; }
  .rec { order: var(--o); }
  .rec { padding: 32px; }
  .rec q { font-size: 22px; }
  .recs-foot { flex-direction: column; align-items: flex-start; gap: 20px; }

  .about { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 0; margin: 80px 0; overflow: hidden; }
  .about-copy { order: -1; }
  .about-copy .h1 { font-size: 36px; }
  .about-portrait { width: 280px; margin: 0 auto; }
  .about-portrait .name-tag { bottom: 16px; }

  .footer-title { font-size: 30px; max-width: 320px; }
  .footer-logo { margin-top: 60px; }
  .socials { flex-direction: column; gap: 16px; }
  .to-top { align-self: center; margin-top: 40px; }
  .page-intro { flex-direction: column; align-items: flex-start; padding-top: 48px; padding-bottom: 32px; }
  .page-intro .see-all { margin-right: 0; }
  .journey-hero { padding-top: 48px; }
  .timeline { padding-top: 48px; }
  .tl { margin-top: 48px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 40px; padding-bottom: 72px; }
  .tl-item:nth-child(n) .tl-body { grid-column: 1; justify-self: start; }
  .tl-rail { left: 8px; }
  .tl-rail::before { top: 8px; }
  .tl-rail::after { top: 40px; bottom: 8px; }
  .tl-body h3 { font-size: 28px; letter-spacing: -.5px; }
  .tl-co { font-size: 18px; }
  .tl-desc { margin-top: 12px; font-size: 15px; }
  .narrow { padding-top: 100px; padding-bottom: 80px; }
  .resume { flex-direction: column; align-items: flex-start; padding: 0; gap: 20px; }
  .how { padding: 32px 24px; margin-top: 48px; }
  .how .h1 { font-size: 32px; }
  .how-lead { font-size: 16px; }
  .steps { gap: 32px; margin-top: 40px; }
  .step { grid-template-columns: 44px 1fr; }
  .step-n, .step h3 { font-size: 20px; }
  .contact { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .contact-copy { padding-left: 0; }
  .contact-portrait { margin: 0 auto; width: 300px; order: 2; }
  .contact-portrait .name-tag { left: 50%; transform: translateX(-50%); }
  .contact-title { font-size: 48px; }
  .contact-links .pill { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .wcard.is-entering { animation: none; }
  .reveal, .tl-item.reveal .tl-body { opacity: 1; transform: none; transition: none; }
  .tl-rail::before, .tl-rail::after { transition: none; }
}
