/* ───────── tokens ───────── */
:root {
  --paper: #FBF6EF;
  --ink: #151412;
  --muted: #6d675f;
  --line: rgba(21, 20, 18, .16);

  --red: #E2321F;
  --blue: #1736F5;
  --orange: #F26B3A;
  --green: #55A866;
  --mauve: #C9A3BA;
  --yellow: #ECCB5A;
  --teal: #5AAABC;
  --lilac: #E5D8EC;
  --peach: #F9D6AC;
  --sky: #D8ECF1;
  --pink: #F45FE3;
  --olive: #5A4E0B;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --hand: "Reenie Beanie", "Comic Sans MS", cursive;
  --script: "Nothing You Could Do", "Reenie Beanie", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  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='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-size: 1.12em; line-height: 1; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.hand { font-family: var(--hand); font-size: 1.5em; line-height: .9; }
.script {
  font-family: var(--script); color: var(--red); font-weight: 400;
  -webkit-text-stroke: .018em var(--red);
  display: inline-block; transform: rotate(-5deg); letter-spacing: -.02em;
  text-transform: none; white-space: nowrap;
}
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(85, 168, 102, 0); } 0% { box-shadow: 0 0 0 0 rgba(85, 168, 102, .6); } }
.spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  pointer-events: none; /* the bar is see-through: only its pills take clicks, so the tucked badge stays reachable */
}
.nav > * { pointer-events: auto; }
.nav-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 18px; letter-spacing: -.02em; text-decoration: none;
  padding: 6px 12px 6px 8px; margin-left: -8px; border-radius: 999px;
  background: rgba(251, 246, 239, .8); backdrop-filter: blur(10px);
}
.nav-logo svg { width: 22px; height: 22px; color: var(--pink); }
.nav-links {
  display: flex; gap: 4px; padding: 5px;
  background: rgba(251, 246, 239, .8); backdrop-filter: blur(10px);
  border: 1px solid var(--ink); border-radius: 999px;
}
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 6px 14px; border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--ink); color: var(--paper); }
.nav-cta {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: background .25s, transform .25s var(--ease);
}
.nav-cta:hover { background: var(--red); transform: rotate(-3deg) scale(1.05); }

/* ───────── hero ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 96px var(--gutter) 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.hero-top { max-width: 34rem; position: relative; z-index: 2; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 28px; color: var(--muted); }
.hero-lede { font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.hero-lede em { color: var(--red); }

.hero-title {
  font-weight: 900; line-height: .8; letter-spacing: -.045em;
  font-size: 15vw; white-space: nowrap; position: relative; z-index: 1;
}
.hero-title .line { display: block; position: relative; overflow: hidden; padding-top: .06em; }
.hero-title .line:last-child { overflow: visible; }
.hero-title .line:last-child .fit { overflow: hidden; display: inline-block; padding-top: .06em; margin-top: -.06em; vertical-align: top; }
.ch { display: inline-block; transform: translateY(105%) rotate(6deg); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes rise { to { transform: none; } }

.hero-script {
  position: absolute; left: 5.8em; bottom: .12em;
  font-size: .46em; line-height: 1;
  clip-path: inset(-20% 100% -20% -5%);
  animation: write 1.3s 1.1s cubic-bezier(.6, 0, .3, 1) forwards;
}
@keyframes write { to { clip-path: inset(-20% -5% -20% -5%); } }

/* ID badge */
.badge-wrap {
  position: fixed; top: 0; right: clamp(24px, 9vw, 150px); z-index: 40;
  width: 270px; perspective: 1100px;
  transform-origin: 50% 0; transform: rotate(var(--swing, 4deg));
  cursor: grab; user-select: none; touch-action: pan-y;
  transition: translate .7s var(--ease);
  animation: drop 1.1s .3s var(--ease) backwards;
}
/* scrolled past the hero: only the bottom edge peeks out, click pulls it back down */
.badge-wrap.tucked { translate: 0 calc(-100% + 36px); cursor: pointer; }
.badge-wrap.tucked:hover { translate: 0 calc(-100% + 50px); }
.badge-card { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease); cursor: pointer; }
.badge-card.flipped { transform: rotateY(180deg); }
.badge-card:focus-visible { outline-offset: 6px; border-radius: 12px; }
@keyframes drop { from { translate: 0 -110%; } }
.lanyard {
  width: 34px; height: clamp(40px, 8vh, 90px); margin: 0 auto;
  background:
    repeating-linear-gradient(45deg, transparent 0 7px, rgba(255, 255, 255, .35) 7px 9px),
    repeating-linear-gradient(-45deg, var(--pink) 0 7px, #e04acf 7px 14px);
}
.clip {
  width: 30px; height: 44px; margin: -4px auto -16px; position: relative; z-index: 2;
  border-radius: 6px 6px 12px 12px;
  background: linear-gradient(90deg, #8d8d8d, #e9e9e9 40%, #a5a5a5 70%, #cfcfcf);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
}
.clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #777; }
.badge {
  position: relative; background: #fffdf8; border-radius: 12px; padding: 30px 18px 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 18px 40px -12px rgba(21, 20, 18, .35);
  border: 1px solid rgba(21, 20, 18, .1);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.badge-back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; }
.badge-back .badge-note { margin: 12px 0 auto; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.15; }
.badge-back .badge-row { padding-top: 12px; }
.badge-back .badge-row .hand { font-size: 21px; }
.badge-row a { color: inherit; text-decoration: none; cursor: pointer; }
.badge-row a:hover { color: var(--red); }
.badge-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 12px; }
.badge-hint { font-size: 8.5px; color: var(--muted); white-space: nowrap; }
.badge-hole { position: absolute; top: 9px; left: 50%; width: 38px; height: 9px; margin-left: -19px; border-radius: 9px; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
.badge-title { font-weight: 900; font-size: 25px; line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.badge-photo { margin: 14px auto; width: 118px; aspect-ratio: 1 / 1.12; background: var(--olive); overflow: hidden; }
.badge-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.badge-row { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px dashed rgba(21, 20, 18, .45); padding: 5px 0 1px; }
.badge-row .mono { font-size: 8.5px; flex: none; }
.badge-row .hand { font-size: 22px; white-space: nowrap; }
.barcode { height: 16px; flex: none; background: repeating-linear-gradient(90deg, var(--red) 0 2px, transparent 2px 4px, var(--red) 4px 5px, transparent 5px 9px, var(--red) 9px 12px, transparent 12px 14px); width: 46%; }

/* ───────── marquee ───────── */
.marquee { background: var(--olive); color: var(--pink); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: 40px 0 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.marquee svg { width: clamp(22px, 3vw, 36px); height: clamp(22px, 3vw, 36px); flex: none; animation: spin 8s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── sections ───────── */
.section { padding: clamp(80px, 12vw, 170px) var(--gutter) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(90px, 1fr) 5fr; gap: 20px; margin-bottom: clamp(36px, 6vw, 80px); align-items: start; }
.tag { color: var(--muted); padding-top: .5em; }
.h2 { font-size: clamp(2.4rem, 7vw, 6.5rem); font-weight: 900; line-height: .9; letter-spacing: -.045em; }
.h2 .script { font-size: .78em; margin: 0 .08em; }
.body { color: #3a3631; max-width: 34rem; }

/* ───────── mind ───────── */
.mind-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); }
.define { font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
.define strong { font-weight: 900; font-size: 1.4em; letter-spacing: -.04em; }
.define .mono { color: var(--muted); letter-spacing: .04em; text-transform: none; }
.define em { color: var(--blue); }

.stage { position: relative; height: 520px; margin-top: 20px; }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.threads path { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; }
.thought {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: clamp(150px, 19vw, 230px);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r));
  cursor: grab; user-select: none; z-index: 2;
  opacity: 0; transition: opacity .6s var(--ease);
}
.stage.in .thought { opacity: 1; }
.thought:nth-of-type(2) { transition-delay: .08s } .thought:nth-of-type(3) { transition-delay: .16s }
.thought:nth-of-type(4) { transition-delay: .24s } .thought:nth-of-type(5) { transition-delay: .32s }
.thought:nth-of-type(6) { transition-delay: .4s }
.thought > div {
  background: var(--c); border: 1px solid var(--ink); padding: 16px 16px 20px;
  font-weight: 600; font-size: clamp(.95rem, 1.35vw, 1.2rem); line-height: 1.12; letter-spacing: -.02em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: box-shadow .25s, translate .25s;
}
.thought:hover > div { box-shadow: 8px 8px 0 var(--ink); translate: -2px -2px; }
.thought.drag { cursor: grabbing; z-index: 5; }
.thought.drag > div { box-shadow: 12px 12px 0 var(--ink); }
.me { position: absolute; left: 80%; top: 70%; width: 96px; height: 96px; display: grid; place-items: center; z-index: 3; }
.me svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--red); }
.me span { position: relative; background: var(--paper); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 26px; border: 1px solid var(--ink); }
.stage-hint { position: absolute; right: 0; top: 60%; color: var(--muted); transform: rotate(90deg); transform-origin: right top; }

/* ───────── expertise files ───────── */
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 38px); }
.file {
  display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden;
  background: #fffdf8; box-shadow: 6px 6px 0 var(--ink);
}
.file .win-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.file .win-body h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); margin: 6px 0 10px; }
.file .win-body ul:not(.chips) { margin: 16px 0 18px; }
.file .win-body ul:not(.chips) li { font-size: 15px; }
.file .chips { margin-top: auto; gap: 6px; }
.file .chips li { font-size: 13px; padding: 4px 10px; }
.file .win-dots { cursor: default; }

.win-bar { display: flex; align-items: center; justify-content: center; position: relative; padding: 10px; border-bottom: 1px solid var(--ink); background: var(--c, var(--lilac)); }
.win-dots { position: absolute; left: 12px; display: flex; gap: 6px; padding: 4px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); }
.win-body { padding: 26px 26px 30px; }
.win-body h3 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; line-height: .95; margin: 8px 0 14px; }
.win-body > p.mono { color: var(--muted); }
.win-body ul:not(.chips) { margin: 14px 0 18px; }
.win-body ul:not(.chips) li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; line-height: 1.35; }
.win-body ul:not(.chips) li::before { content: "→"; position: absolute; left: 0; color: var(--red); }

/* ───────── hire ───────── */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-hire.hero-hire-alt { background: var(--paper); }
.hero-hire {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--yellow);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink); transition: translate .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.hero-hire span { margin-left: 6px; transition: transform .3s var(--ease); }
.hero-hire:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--ink); background: var(--pink); }
.hero-hire:hover span { transform: translateX(4px); }

.hire-lede { font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; max-width: 46rem; margin-top: clamp(20px, 3vw, 36px); }
.hire-lede em { color: var(--blue); }
.sub { color: var(--muted); margin: clamp(40px, 6vw, 72px) 0 18px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 30px); }
.way {
  background: var(--c); border: 1px solid var(--ink); padding: 20px 22px 22px; min-height: 290px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: opacity .8s var(--ease), transform .8s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease);
}
.way:hover { translate: -2px -2px; box-shadow: 9px 9px 0 var(--ink); }
.way .mono { font-size: 13px; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.way h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: -.045em; line-height: .95; margin-top: 14px; }
.way p { font-size: 16px; line-height: 1.35; }
.way .note { margin-top: auto; padding-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.15; }

.menu { border-top: 1px solid var(--ink); }
.menu-row {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1.25fr) minmax(0, 1.5fr) minmax(0, 1fr) 30px;
  gap: 20px; align-items: center; padding: 22px 12px; border-bottom: 1px solid var(--ink);
  text-decoration: none; isolation: isolate;
}
.menu-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease);
}
.menu-row:hover::before, .menu-row:focus-visible::before { transform: scaleY(1); }
.menu-row b { font-weight: 900; font-size: clamp(1.3rem, 2.5vw, 2.1rem); letter-spacing: -.04em; line-height: 1; transition: translate .4s var(--ease); }
.menu-row:hover b { translate: 8px 0; }
.menu-desc { font-size: 16px; line-height: 1.35; color: #3a3631; }
.menu-row:hover .menu-desc { color: var(--ink); }
.menu-row .chips { justify-content: flex-end; gap: 6px; }
.menu-row .chips li { font-size: 12.5px; padding: 4px 10px; background: var(--paper); }
.menu-arr { font-size: 22px; text-align: right; transition: transform .4s var(--ease); }
.menu-row:hover .menu-arr { transform: translateX(6px); }
.hire-foot { margin-top: 28px; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; }
.hire-foot a { font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--red); text-underline-offset: 4px; }
.hire-foot a span { display: inline-block; transition: transform .3s var(--ease); }
.hire-foot a:hover span { transform: translateX(5px); }

/* ───────── timeline ───────── */
.timeline { position: relative; display: grid; gap: clamp(46px, 7vw, 96px); padding: 30px 0 60px; }
.tl-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tl-line path { fill: none; stroke-width: 3; stroke-linecap: round; }
.tl-ghost { stroke: var(--line); }
.tl-draw { stroke: var(--ink); }
.tl-item { position: relative; width: calc(50% - 44px); }
.tl-item:nth-of-type(odd) { text-align: right; justify-self: start; }
.tl-item:nth-of-type(even) { justify-self: end; }
.tl-item::before {
  content: ""; position: absolute; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink);
  border: 3px solid var(--paper); box-sizing: content-box;
}
.tl-item:nth-of-type(odd)::before { right: -53.5px; }
.tl-item:nth-of-type(even)::before { left: -53.5px; }
.tl-loop::before { display: none; }
.tl-item h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 14px 0 6px; }
.tl-item h3 .script { font-size: 1.25em; }
.tl-item .where { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.2; margin-bottom: 8px; }
.tl-item p:last-child { color: #3a3631; max-width: 30rem; display: inline-block; font-size: 16px; }
.pill { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); }
.pill-pink { background: var(--pink); }
.pill-ink { background: var(--ink); color: var(--paper); }
.tl-now h3 { font-size: clamp(2rem, 4.6vw, 4rem); }

/* ───────── kit ───────── */
.kit-grid { border-top: 1px solid var(--ink); }
.kit-row { display: grid; grid-template-columns: minmax(90px, 1fr) 5fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.kit-row h3 { font-weight: 500; padding-top: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  background: transparent; transition: background .25s, transform .3s var(--ease);
}
.kit-row .chips li:hover { background: var(--c); transform: rotate(-3deg) scale(1.06); }
.kit-row .chips li:nth-child(even):hover { transform: rotate(3deg) scale(1.06); }
.certs-top { padding: clamp(56px, 7vw, 100px) var(--gutter) 0; }
.certs { display: grid; grid-template-columns: minmax(90px, 1fr) 5fr; gap: 20px; }
.cert-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cert-list li { border: 1px solid var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cert-list li:nth-child(1) { background: var(--orange); } .cert-list li:nth-child(2) { background: var(--yellow); }
.cert-list li:nth-child(3) { background: var(--pink); } .cert-list li:nth-child(4) { background: var(--sky); }
.cert-list li:nth-child(5) { background: var(--green); }
.cert-list li:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.cert-list b { font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.04em; line-height: 1; }
.cert-list span { font-weight: 500; font-size: 14.5px; line-height: 1.2; }
.cert-list i { font-style: normal; font-size: 9.5px; margin-top: auto; }

/* ───────── contact ───────── */
.contact {
  position: relative; overflow: hidden; margin-top: clamp(90px, 13vw, 180px);
  background: var(--blue); color: var(--paper); padding: clamp(60px, 9vw, 120px) var(--gutter) 24px;
}
.contact .tag { color: rgba(251, 246, 239, .7); margin-bottom: 30px; }
.contact-title { font-size: clamp(2.7rem, 9.6vw, 9.5rem); font-weight: 900; line-height: .86; letter-spacing: -.05em; position: relative; }
.contact-title .script { color: var(--pink); -webkit-text-stroke-color: var(--pink); font-size: .8em; }
.contact-burst { position: absolute; right: -6vw; top: -6vw; width: 34vw; height: 34vw; color: var(--pink); opacity: .95; animation-duration: 40s; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(36px, 6vw, 70px) 0; position: relative; }
.btn {
  display: inline-flex; gap: 12px; align-items: center; padding: 16px 24px; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: -.02em;
  border: 1px solid var(--paper); transition: background .25s, color .25s, transform .3s var(--ease);
}
.btn span { display: inline-block; rotate: -45deg; transition: transform .3s var(--ease); }
.btn:hover { background: var(--pink); border-color: var(--pink); transform: rotate(-2deg); }
.btn:hover span { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--paper); }
.btn-ghost:hover { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(251, 246, 239, .4); position: relative; }

/* ───────── responsive ───────── */
@media (max-width: 1180px) and (min-width: 861px) {
  .files { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 84px; justify-content: flex-start; gap: 26px; min-height: 0; }
  .hero-top { display: contents; }
  .hero-meta { order: 1; margin-bottom: 0; }
  .hero-title { order: 2; margin-bottom: .12em; }
  .hero-lede { order: 3; }
  .badge-wrap { position: relative; right: auto; margin: 0 auto; width: 240px; order: 4; z-index: 3; }
  .badge-back .badge-row .hand { font-size: 19px; }
  .lanyard { height: 56px; }
  .hero-script { bottom: -.2em; }
  .marquee { margin-top: 56px; }

  .section-head, .kit-row, .certs { grid-template-columns: 1fr; gap: 10px; }
  .mind-intro { grid-template-columns: 1fr; }
  .stage { height: 600px; }
  .thought { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: 46%; cursor: default; }
  .thought > div { padding: 12px 12px 15px; box-shadow: 3px 3px 0 var(--ink); }
  .me { left: 62%; top: 87%; width: 80px; height: 80px; }
  .stage-hint { display: none; }

  .files { grid-template-columns: 1fr; }

  .hero-cta { order: 3; margin-top: -8px; }
  .hero-lede { order: 3; }
  .ways { grid-template-columns: 1fr; }
  .way { min-height: 0; }
  .way .note { margin-top: 6px; }
  .menu-row { grid-template-columns: 34px 1fr 24px; gap: 6px 10px; padding: 18px 6px; align-items: start; }
  .menu-row b { grid-column: 2; }
  .menu-arr { grid-column: 3; grid-row: 1; }
  .menu-desc, .menu-row .chips { grid-column: 2 / -1; }
  .menu-row .chips { justify-content: flex-start; margin-top: 4px; }

  .timeline { padding-left: 0; }
  .tl-item, .tl-item:nth-of-type(odd), .tl-item:nth-of-type(even) { width: auto; text-align: left; justify-self: stretch; padding-left: 58px; }
  .tl-item:nth-of-type(odd)::before, .tl-item:nth-of-type(even)::before { left: 4.5px; right: auto; }

  .cert-list { grid-template-columns: repeat(2, 1fr); }
  .cert-list li { min-height: 120px; }
  .contact-burst { width: 46vw; height: 46vw; right: -14vw; top: -14vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .thought { opacity: 1; transform: none; }
  .thought { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r)); }
  .ch { transform: none; }
  .hero-script { clip-path: none; }
}
