/* =========================================================
   PHILIP — portfolio site
   Base: warm bone background, near-black ink, one coral accent
   Type: Anton (display) + Inter (body)
   ========================================================= */

:root{
  --bone: #F3EEE6;
  --bone-dim: #EAE3D6;
  --ink: #17140F;
  --ink-soft: #524C40;
  --accent: #FF4E32;
  --accent-ink: #17140F;
  --line: rgba(23,20,15,0.12);

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

/* custom cursor (desktop only) */
.cursor-dot{
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%,-50%);
  transition: width .18s ease, height .18s ease, opacity .18s ease;
  opacity: 0;
}
.cursor-dot.active{ opacity: 1; }
.cursor-dot.grow{ width: 42px; height: 42px; background: rgba(255,78,50,0.18); border: 1.5px solid var(--accent); }
@media (hover: none), (pointer: coarse){
  .cursor-dot{ display: none; }
}

/* ---------- layout helpers ---------- */
main > section, .site-footer{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- header ---------- */
/* full-bleed sticky band so the background/blur covers the whole viewport
   width (the marquee strip below is intentionally full-bleed too, so a
   header narrower than the viewport let it show through in the gutters) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 450;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(8px);
}
.site-header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}
.logo{
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.logo .dot{ color: var(--accent); }
.nav{ display: flex; gap: 32px; }
.nav a{
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}
.nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .25s ease;
}
.nav a:hover::after{ right: 0; }
.nav-cta{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-cta:hover{ background: var(--ink); color: var(--bone); }

@media (max-width: 720px){
  .nav{ display: none; }
}

/* ---------- hero ---------- */
.hero{
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 60px;
}
.eyebrow{
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.hero-title{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(48px, 9vw, 128px);
  margin: 0 0 32px;
}
.hero-title span{ display: block; }
.hero-title span:last-child{ color: var(--accent); }
/* the "I'm Philip." line sized down from the accent headline by the golden
   ratio (1.618), with a touch of breathing room between the two lines */
.hero-title span:first-child{ font-size: calc(1em / 1.618); margin-bottom: 0.18em; }
.hero-sub{
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.hero-skills{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
}
.hero-skills li{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--ink); color: var(--bone); }
.btn-primary:hover{ background: var(--accent); color: var(--ink); }
.btn-ghost{ border: 1.5px solid var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--bone); }

/* ---------- section head (shared) ---------- */
.section-head{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.section-num{
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.section-head h2{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  margin: 0;
  line-height: 1;
}
.section-head p{
  max-width: 520px;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

section{ padding-top: 120px; padding-bottom: 56px; }

/* ---------- work: one-project-at-a-time showcase ---------- */
.placeholder-media{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.placeholder-label{
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.work-showcase{ position: relative; margin-top: 12px; }
.work-showcase:focus-visible{ outline: none; }
.work-showcase-glow{
  position: absolute;
  top: 50%; left: 50%;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: 0.06;
  filter: blur(20px);
  transform: translate(-54%, -50%) scale(1);
  pointer-events: none;
  z-index: 0;
  animation: workGlowDrift 24s ease-in-out infinite;
}
@keyframes workGlowDrift{
  0%, 100%{ transform: translate(-58%, -54%) scale(1); }
  50%{ transform: translate(-42%, -46%) scale(1.15); }
}
@media (prefers-reduced-motion: reduce){
  .work-showcase-glow{ animation: none; }
}

.work-showcase-frame{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.work-track{
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: clamp(320px, 62vh, 640px);
}
/* overlapping card stack — each card's position is driven by --offset
   (its signed distance from the active card) and --dist (that distance's
   absolute value), both set from script.js on every navigation */
.work-track .work-card{
  --offset: 0;
  --dist: 0;
  position: absolute;
  inset: 0;
  width: min(100%, 640px);
  margin: 0 auto;
  cursor: pointer;
  transform:
    translateX(calc(var(--offset) * 30%))
    translateY(calc(var(--dist) * 12px))
    scale(calc(1 - var(--dist) * 0.08))
    rotate(calc(var(--offset) * 2deg));
  opacity: calc(1 - var(--dist) * 0.4);
  z-index: calc(20 - var(--dist));
  transition: transform .65s cubic-bezier(.65,0,.35,1), opacity .55s cubic-bezier(.65,0,.35,1);
}
.work-track .work-card.is-active{ cursor: default; }
.work-media{
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bone-dim);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .5s cubic-bezier(.65,0,.35,1), box-shadow .5s cubic-bezier(.65,0,.35,1), border-color .3s ease;
}
.work-media video, .work-media img{
  width: 100%; height: 100%; object-fit: cover;
}
.work-track .work-card.is-active .work-media{
  border-color: var(--accent);
  box-shadow: 0 40px 70px -30px rgba(23,20,15,0.35);
}
.work-track .work-card:not(.is-active):hover .work-media{
  transform: scale(1.01);
}
@media (max-width: 720px){
  .work-track .work-card{
    transform:
      translateX(calc(var(--offset) * 18%))
      translateY(calc(var(--dist) * 8px))
      scale(calc(1 - var(--dist) * 0.1))
      rotate(calc(var(--offset) * 1.2deg));
  }
}

.work-arrow{
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s ease, color .2s ease, border-color .2s ease;
}
.work-arrow svg{ width: 20px; height: 20px; }
.work-arrow:hover{ background: var(--ink); color: var(--bone); border-color: var(--ink); transform: scale(1.08); }
@media (max-width: 720px){
  .work-arrow{ width: 38px; height: 38px; }
  .work-arrow svg{ width: 16px; height: 16px; }
  .work-showcase-frame{ gap: 10px; }
}

.work-showcase-meta{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 0 68px;
}
@media (max-width: 720px){
  .work-showcase-meta{ padding: 0; flex-direction: column; align-items: flex-start; gap: 14px; }
}
.work-showcase-index{
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.work-showcase-info h3{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 4px;
}
.work-showcase-info p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.work-showcase-dots{ display: flex; gap: 8px; }
.work-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.work-dot:hover{ background: var(--ink-soft); }
.work-dot.is-active{ background: var(--accent); transform: scale(1.3); }

/* ---------- about ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: stretch;
}
@media (max-width: 820px){
  .about-grid{ grid-template-columns: 1fr; }
}
.about-photo{
  border-radius: 14px;
  overflow: hidden;
  background: var(--bone-dim);
  border: 1px solid var(--line);
  min-height: 420px;
}
@media (max-width: 820px){
  .about-photo{ aspect-ratio: 4/5; min-height: 0; }
}
.about-photo img{ width: 100%; height: 100%; object-fit: cover; }
.no-photo-label{
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.about-photo.no-photo img{ display: none; }
.about-photo.no-photo .no-photo-label{ display: flex; }

.about-lede{ font-size: 20px; margin: 0 0 36px; }
.about-lede strong, .about-step strong{ font-weight: 700; color: inherit; }

/* progressive "guided journey" reveal — same scroll-progress technique as
   the Journey timeline, scaled down to a thin reading-progress rail */
.about-steps{ position: relative; padding-left: 24px; }
.about-steps-track{
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--line);
}
.about-steps-fill{
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--accent);
}
.about-steps-list{ display: flex; flex-direction: column; gap: 30px; }
.about-step{
  margin: 0;
  color: var(--ink-soft);
  opacity: 0.4;
  transition: opacity .45s ease, color .45s ease;
}
.about-step.in-focus{ opacity: 1; color: var(--ink); }

.chain-list{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chain-list li{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color .2s ease, color .2s ease;
}
.chain-list li:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- contact: redesigned ---------- */
.contact{
  position: relative;
  padding-top: 260px;
  padding-bottom: 130px;
  overflow: hidden;
}
.contact-marquee{
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}
.contact-marquee-track{
  display: flex;
  width: max-content;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.contact-marquee-track span{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(36px, 6.5vw, 82px);
  color: var(--ink);
  opacity: 0.05;
  letter-spacing: 0.01em;
}
.contact-inner{ position: relative; text-align: left; }
.contact-inner > .section-num{ display: block; margin-bottom: 24px; }
.contact-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-main h2{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  margin: 0 0 22px;
}
.contact-main p{
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 420px;
  margin: 0 0 40px;
}
.contact-email-btn{
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 18px 18px 18px 30px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 24px);
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.contact-email-arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.contact-email-btn:hover{ background: var(--ink); color: var(--bone); }
.contact-email-btn:hover .contact-email-arrow{
  background: var(--accent);
  color: var(--ink);
  transform: rotate(45deg);
}
.contact-socials{ display: flex; flex-direction: column; }
.contact-social-row{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s cubic-bezier(.2,.8,.2,1), color .3s ease;
}
.contact-social-row:first-child{ border-top: 1px solid var(--line); }
.contact-social-index{
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0.5;
}
.contact-social-name{
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 1;
}
.contact-social-arrow{
  font-size: 16px;
  color: var(--ink-soft);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s ease;
}
.contact-social-row:hover{ padding-left: 14px; color: var(--accent); }
.contact-social-row:hover .contact-social-name{ color: var(--accent); }
.contact-social-row:hover .contact-social-arrow{ color: var(--accent); transform: translate(3px,-3px); }

@media (max-width: 820px){
  .contact-grid{ grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .contact-email-btn{ width: 100%; justify-content: space-between; }
}
@media (max-width: 720px){
  .contact{ padding-top: 90px; padding-bottom: 90px; }
}

/* ---------- footer ---------- */
.site-footer{
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(42px) scale(0.96);
  filter: blur(9px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1);
}
.reveal.in-view{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.hero-title span:nth-child(1){ transition-delay: 0s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; filter: none; transition: none; }
  .timeline-card, .toolkit-card, .skill-card{ opacity: 1; transform: none; filter: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- grain texture overlay ---------- */
.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark){
  .grain{ mix-blend-mode: overlay; opacity: 0.06; }
}

/* ---------- hero showreel panel ---------- */
.hero-reel{ margin-top: 64px; }
.hero-reel-media{
  aspect-ratio: 21 / 8;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-reel-media video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-reel .placeholder-label{
  color: var(--bone);
  opacity: 0.65;
}
.play-btn{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.hero-reel:hover .play-btn{
  transform: scale(1.08);
  background: var(--accent);
  color: var(--ink);
}
@media (max-width: 720px){
  .hero-reel-media{ aspect-ratio: 4 / 5; }
}

/* ---------- personality bits ---------- */
.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  vertical-align: middle;
}
.status-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3fb54a;
  box-shadow: 0 0 0 0 rgba(63,181,74,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(63,181,74,0.45); }
  70%{ box-shadow: 0 0 0 7px rgba(63,181,74,0); }
  100%{ box-shadow: 0 0 0 0 rgba(63,181,74,0); }
}

.hero-title-accent{ position: relative; display: inline-block; }
.squiggle{
  display: block;
  width: 100%;
  height: 0.16em;
  margin-top: 0.02em;
}
.squiggle path{
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
}

.hero-reel{ position: relative; }
.reel-tag{
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 999px;
  transform: rotate(4deg);
  z-index: 2;
}

/* ---------- marquee ---------- */
.marquee{
  overflow: hidden;
  border-top: 2px solid var(--accent);
  background: var(--ink);
  padding: 20px 0;
  transform: rotate(-0.6deg);
  margin: 56px 0 0;
}
.marquee-track{
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--bone);
  opacity: 0.9;
}
.marquee-track span.dot{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 1;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ---------- stats / counters ---------- */
.stats{
  padding-top: 70px;
  padding-bottom: 40px;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
@media (max-width: 820px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}
.stat-item{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.stat-number{
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  color: var(--accent);
  line-height: 1;
}
.stat-label{
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.stats-note{
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.6;
  margin: 16px 0 0;
}

/* cursor label (shows on hover over playable/clickable media) */
.cursor-label{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0;
  transition: opacity .18s ease;
}
.cursor-dot.grow .cursor-label{ opacity: 1; }

/* ---------- press: featured company relationship ---------- */
.press{ padding-top: 90px; padding-bottom: 20px; }
.press-feature{
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 40px clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.press-feature::before{
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.press-feature-brand{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 16px;
}
.press-feature-copy{
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.press-feature-events{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.press-event-label{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-right: 2px;
}
.press-event{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--ink);
}
@media (max-width: 640px){
  .press-feature{ padding: 30px 22px; border-radius: 16px; }
}

/* ---------- staggered reveal ---------- */
.stats-grid .stat-item:nth-child(1){ transition-delay: 0s; }
.stats-grid .stat-item:nth-child(2){ transition-delay: .08s; }
.stats-grid .stat-item:nth-child(3){ transition-delay: .16s; }
.stats-grid .stat-item:nth-child(4){ transition-delay: .24s; }
.timeline .timeline-item:nth-child(1){ transition-delay: 0s; }
.timeline .timeline-item:nth-child(2){ transition-delay: .06s; }
.timeline .timeline-item:nth-child(3){ transition-delay: .12s; }
.timeline .timeline-item:nth-child(4){ transition-delay: .18s; }
.timeline .timeline-item:nth-child(5){ transition-delay: .24s; }

.work-card:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 20px; }

/* ---------- magnetic buttons ---------- */
.magnetic{ transition: transform .18s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* ---------- project modal ---------- */
.project-modal{
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.project-modal.open{ opacity: 1; pointer-events: auto; }
.project-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(23,20,15,0.55);
  backdrop-filter: blur(4px);
}
.project-modal-panel{
  position: relative;
  background: var(--bone);
  border-radius: 20px;
  max-width: min(1080px, 94vw);
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 44px;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.project-modal.open .project-modal-panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.project-modal-close{
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.project-modal-close:hover{ background: var(--ink); color: var(--bone); border-color: var(--ink); }
.project-modal-client{
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.project-modal-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  line-height: 1.05;
}
.project-modal-tags{
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.project-modal-body{ display: flex; flex-direction: column; gap: 24px; }
.project-modal-block h4{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 6px;
}
.project-modal-block p{ margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 640px){
  .project-modal-panel{ padding: 30px 22px; border-radius: 16px; }
}

/* ---------- redesigned project modal ---------- */
.project-modal-panel{ padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-modal-cover{
  position: relative;
  aspect-ratio: 16/8;
  background: var(--ink);
  flex-shrink: 0;
}
.project-modal-cover-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: none;
}
.project-modal-cover .placeholder-label{ color: var(--bone); opacity: 0.4; }
.project-modal-cover-scrim{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.project-modal-client{
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}
.project-modal-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(24px, 3.6vw, 36px);
  margin: 0;
  color: var(--bone);
  line-height: 1.05;
}
.project-modal-close{
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(23,20,15,0.55);
  color: var(--bone);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease;
}
.project-modal-close:hover{ background: var(--accent); color: var(--ink); }

.project-modal-content{ padding: 36px 40px 48px; overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }

/* on desktop, use the extra width instead of just stretching the mobile
   layout: cover image as a full-height left column, content scrolling
   independently on the right */
@media (min-width: 860px){
  .project-modal-panel{ flex-direction: row; max-height: 82vh; }
  .project-modal-cover{ flex: 0 0 42%; aspect-ratio: auto; height: auto; }
  .project-modal-content{ flex: 1 1 58%; padding: 48px 52px; }
}
.project-modal-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.project-modal-tags span{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--ink-soft);
}
.project-modal-block{ margin-bottom: 32px; }
.project-modal-block h4{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.project-modal-block p{ margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }

.process-chain{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 14px;
  padding: 0;
}
.process-chain li{
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid var(--line);
}
.process-chain li:last-child{ border-right: none; padding-right: 0; margin-right: 0; color: var(--accent); }

.project-modal-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.gallery-slot{
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: var(--bone-dim);
  border: 1px solid var(--line);
}
.gallery-slot .placeholder-label{ font-size: 11px; padding: 10px; }
@media (max-width: 560px){
  .project-modal-gallery{ grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

.result-badge{
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
}
.result-badge:empty{ display: none; }

.modal-cta{
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.modal-cta:hover{ color: var(--accent); }

/* ---------- intro: pixel-tile dissolve with counter ---------- */
.intro{
  position: fixed;
  inset: 0;
  z-index: 500;
}
.intro.done{ display: none; }

.intro-grid{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--intro-cols, 12), 1fr);
  grid-template-rows: repeat(var(--intro-rows, 7), 1fr);
}
.intro-tile{
  background: var(--ink);
  transform: scale(1);
  opacity: 1;
  transition: transform .5s cubic-bezier(.6,0,.4,1), opacity .45s ease;
}
.intro-tile.out{
  transform: scale(0);
  opacity: 0;
}

.intro-center{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.intro.hide .intro-center{ opacity: 0; transform: translateY(-14px) scale(0.96); }

.intro-counter{
  font-family: var(--font-display);
  color: var(--bone);
  opacity: 0.5;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.intro-mark{
  font-family: var(--font-display);
  color: var(--bone);
  text-transform: uppercase;
  font-size: clamp(34px, 7vw, 68px);
  letter-spacing: 0.01em;
  display: inline-flex;
}
.intro-mark .dot{ color: var(--accent); }
.intro-mark .ch{
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  animation: introLetter .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes introLetter{
  to{ opacity: 1; transform: translateY(0); }
}
.intro-bar{
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  border-radius: 2px;
}
.intro-bar-fill{
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}
@media (prefers-reduced-motion: reduce){
  .intro{ display: none; }
}

/* ---------- journey timeline: zigzag milestone cards along a scroll-drawn path
   (inspired by heynesh.com's About Me timeline — alternating cards connected
   by a line that grows as you scroll, with a rolling odometer step number) ---------- */
.timeline-wrap{ position: relative; max-width: 980px; margin: 0 auto; }
.timeline-path{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
#timelinePathTrack{ stroke: var(--line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#timelinePathFill{ stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.timeline{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.timeline-item{
  position: relative;
  width: calc(50% - 34px);
}
.timeline-item:nth-child(odd){ align-self: flex-start; }
.timeline-item:nth-child(even){ align-self: flex-end; }

/* the card carries the big, punchy entrance move; the dot never
   translates (only scales, around its own centre) so its measured
   position always matches where the connecting SVG line was drawn —
   otherwise the line and the dot part ways once the card animates in */
.timeline-card{
  opacity: 0;
  transform: translateY(54px) scale(0.92);
  filter: blur(10px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.34,1.56,.64,1), filter .75s cubic-bezier(.16,1,.3,1);
}
.timeline-item.active .timeline-card{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.timeline-dot{
  position: absolute;
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bone);
  border: 2px solid var(--line);
  transform: scale(0.6);
  transition: border-color .35s ease, background .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
  z-index: 3;
}
.timeline-item:nth-child(odd) .timeline-dot{ right: -34px; }
.timeline-item:nth-child(even) .timeline-dot{ left: -34px; }
.timeline-item.active .timeline-dot{
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 18%, transparent);
}

.timeline-card{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  background: color-mix(in srgb, var(--bone) 65%, transparent);
  backdrop-filter: blur(6px);
}
.timeline-index{
  display: inline-flex;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: var(--line);
  margin-bottom: 12px;
  transition: color .4s ease;
}
.timeline-item.active .timeline-index{ color: var(--accent); }
.digit-mask{
  position: relative;
  overflow: hidden;
  height: 1em;
  width: 0.62em;
  display: inline-block;
}
.digit-track{
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
  transform: translateY(0);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.digit-track span{
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-title{
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  transition: color .3s ease;
}
.timeline-item.active .timeline-title{ color: var(--ink); }
.timeline-title em{
  font-style: normal;
  font-weight: 500;
  font-size: 0.72em;
  color: var(--ink-soft);
}
.timeline-item p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  opacity: 0.55;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.timeline-item.active p{ opacity: 1; transform: translateY(0); }

@media (max-width: 760px){
  .timeline-item{ width: 100%; padding-left: 30px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even){ align-self: flex-start; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot{ left: 0; right: auto; }
}

/* ---------- squiggle draw-on animation ---------- */
.squiggle path{
  transition: stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1);
}

/* ---------- mobile nav (hamburger + full-screen overlay) ---------- */
.nav-burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 501;
}
.nav-burger span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.nav-burger[aria-expanded="true"] span:first-child{ transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child{ transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.nav-mobile.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mobile a{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 10vw, 48px);
  color: var(--bone);
  transition: color .2s ease;
}
.nav-mobile a:hover{ color: var(--accent); }

@media (max-width: 720px){
  .nav-burger{ display: flex; }
  .nav-cta{ display: none; }
}
body.nav-open{ overflow: hidden; }

/* ---------- journey section ---------- */
.journey{ padding-bottom: 90px; }

/* ---------- section-head: draw-on accent line per section ---------- */
.section-head{ position: relative; }
.section-head::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.section-head.in-view::before{ transform: scaleX(1); }
@media (prefers-reduced-motion: reduce){
  .section-head::before{ transition: none; transform: scaleX(1); }
}

/* ---------- quote section ---------- */
.quote-section{
  padding-top: 90px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-inner{ max-width: 780px; margin: 0 auto; text-align: center; }
.quote-text{
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
}
.quote-highlight{ color: var(--accent); font-weight: 700; }

/* word-by-word reveal: each word pops up with a touch of motion blur,
   staggered by its position in the paragraph via --i */
.quote-text .q-word{
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(10px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1), filter .6s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 32ms);
  will-change: transform, filter, opacity;
}
.quote-text.words-in .q-word{ opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce){
  .quote-text .q-word{ opacity: 1; transform: none; filter: none; transition: none; }
}
.quote-attribution{
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.quote-tbd{
  display: inline-block;
  margin-left: 6px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  opacity: 0.6;
  font-style: italic;
}
@media (max-width: 720px){
  .quote-section{ padding-top: 64px; padding-bottom: 64px; }
}

/* ---------- toolkit: programs / skills switcher ---------- */
.toolkit-switcher{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.toolkit-arrow{
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.toolkit-arrow svg{ width: 18px; height: 18px; }
.toolkit-arrow:hover{ background: var(--ink); border-color: var(--ink); color: var(--bone); transform: scale(1.1); }
.toolkit-arrow:active{ transform: scale(0.94); }
@media (max-width: 640px){
  .toolkit-switcher{ gap: 8px; }
  .toolkit-arrow{ width: 38px; height: 38px; }
  .toolkit-arrow svg{ width: 15px; height: 15px; }
}

.toolkit-panels{ flex: 1; min-width: 0; overflow: hidden; }

.toolkit-tabs{
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
}
.toolkit-tab{
  background: none;
  border: none;
  padding: 0 0 9px;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s ease;
}
.toolkit-tab::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .35s cubic-bezier(.16,1,.3,1);
}
.toolkit-tab.is-active{ color: var(--ink); }
.toolkit-tab.is-active::after{ right: 0; }

.toolkit-panel{ display: none; }
.toolkit-panel.is-active{ display: block; }
.toolkit-panel.is-entering{ animation: toolkitPanelIn .55s cubic-bezier(.16,1,.3,1); }
@keyframes toolkitPanelIn{
  from{ opacity: 0; transform: translateX(var(--enter-x, 26px)); }
  to{ opacity: 1; transform: translateX(0); }
}

.toolkit-grid, .skills-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px){
  .toolkit-grid, .skills-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .toolkit-grid, .skills-grid{ grid-template-columns: 1fr; }
}

.toolkit-card{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bone-dim);
  opacity: 0;
  transform: translateY(38px) scale(0.9);
  filter: blur(8px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.34,1.56,.64,1), filter .6s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
.toolkit-card.in-view{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.toolkit-card:hover{
  transform: translateY(-4px);
  border-color: var(--brand-bright, var(--accent));
  box-shadow: 0 14px 32px -20px color-mix(in srgb, var(--brand-bright, var(--accent)) 65%, transparent);
}
.toolkit-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-dark, var(--ink));
  color: var(--brand-bright, var(--bone));
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.toolkit-card h3{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 8px;
}
.toolkit-card p{
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  min-height: 44px;
}
.toolkit-level{ display: flex; gap: 5px; }
.toolkit-level span{
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background .4s ease;
}
.toolkit-level span.filled{ background: var(--brand-bright, var(--accent)); }

.skill-card{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bone-dim);
  opacity: 0;
  transform: translateY(38px) scale(0.9);
  filter: blur(8px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.34,1.56,.64,1), filter .6s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}
.skill-card.in-view{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.skill-card:hover{ transform: translateY(-4px); border-color: var(--accent); }
.skill-tag{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 14px;
}
.skill-card h3{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 8px;
}
.skill-card p{
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
