/* =========================================================
   Ryan Kane — portfolio
   Palette + type chosen to NOT overlap any client project
   (see design-log.md). Charcoal + acid-lime, Sora / Albert
   Sans / JetBrains Mono.
   ========================================================= */

:root {
  --ink:        #0E0E10;   /* near-black page bg */
  --ink-2:      #161619;   /* raised surfaces / cards */
  --ink-3:      #202024;   /* card borders, hover lift */
  --paper:      #F4F3EF;   /* primary text */
  --muted:      #A1A1AA;   /* secondary text */
  --muted-2:    #6E6E76;   /* tertiary / footer */
  --lime:       #C6F24E;   /* signature accent */
  --lime-deep:  #A6D62C;   /* accent hover */
  --line:       #2A2A30;   /* hairlines */

  --maxw: 1120px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Albert Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--lime); }

/* ---- skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: var(--ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 16px; }

/* ---- header: floating glass bar ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 16px 0;
  pointer-events: none;            /* only the bar itself is interactive */
}
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px 12px 10px 10px;
  background: rgba(18,18,22,0.66);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
}

/* logo on a floating black tile so the mark pops */
.logo { display: inline-flex; align-items: center; }
.logo-tile {
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 6px;
  background: #000; border-radius: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (hover: hover) and (pointer: fine) {
  .logo:hover .logo-tile {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.6), 0 0 0 1px rgba(198,242,78,0.5), 0 0 22px rgba(198,242,78,0.25);
  }
}

/* nav cluster */
.site-nav { display: flex; align-items: center; gap: 10px; }

/* "open to work" status pill with a pulsing dot */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap;
  padding: 7px 13px 7px 11px; margin-right: 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198,242,78,0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198,242,78,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(198,242,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,242,78,0); }
}

/* icon nav buttons */
.nav-icon {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: var(--muted);
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  transition: transform 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.nav-icon svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .nav-icon:hover {
    color: var(--lime); border-color: rgba(198,242,78,0.55);
    background: rgba(198,242,78,0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 0 18px rgba(198,242,78,0.18);
  }
}
.nav-icon:active { transform: translateY(0) scale(0.96); }

/* hover/focus tooltip label under each icon */
.nav-tip {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px);
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); background: var(--lime);
  padding: 4px 8px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.nav-icon:hover .nav-tip, .nav-icon:focus-visible .nav-tip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
  .status-pill { display: none; }       /* keep the bar tidy on phones */
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

/* ---- video hero band ---- */
.hero-video {
  position: relative;
  width: 100%;
  height: clamp(300px, 62vh, 640px);
  /* exact color of the video's own field (#020202), so the letterbox area is
     indistinguishable from the video — no visible box, full-bleed starfield */
  background: #020202;
  overflow: hidden;
}
.hero-video__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
}
/* the whole band dissolves into the page along the bottom; left/right are the
   viewport edges (full-bleed) and the top sits under the floating header */
.hero-video__fade {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 55%;
  background: linear-gradient(to bottom,
    rgba(2,2,2,0) 0%,
    rgba(14,14,16,0.55) 48%,
    var(--ink) 80%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video__media { display: none; }
  .hero-video { background: #020202 url("hero-poster.jpg") center/contain no-repeat; }
}

/* ---- interactive DNA strand ---- */
.dna { padding: 30px 0 20px; }
.dna-stage {
  position: relative; width: 100%;
  height: clamp(240px, 40vh, 380px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(198,242,78,0.05), transparent 60%),
    var(--ink-2);
  overflow: hidden; cursor: crosshair;
}
.dna-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dna-stage { transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .dna-stage:hover {
    border-color: rgba(198,242,78,0.4);
    box-shadow: 0 0 0 1px rgba(198,242,78,0.18), 0 20px 50px rgba(0,0,0,0.45);
  }
}
/* mono labels — give the toy an instrument feel */
.dna-tag {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2);
}
.dna-tag--tl { top: 14px; left: 16px; }
.dna-tag--br { bottom: 14px; right: 16px; color: rgba(198,242,78,0.7); }
/* corner brackets */
.dna-corner { position: absolute; z-index: 2; width: 14px; height: 14px; pointer-events: none; opacity: 0.55; border-color: var(--lime); }
.dna-corner--tl { top: 10px; left: 10px; border-top: 1.5px solid; border-left: 1.5px solid; }
.dna-corner--tr { top: 10px; right: 10px; border-top: 1.5px solid; border-right: 1.5px solid; }
.dna-corner--bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.dna-corner--br { bottom: 10px; right: 10px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: 30px 0 20px; }

/* package cards */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 46px; }
@media (max-width: 860px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.pkg--featured {
  border-color: rgba(198,242,78,0.5);
  box-shadow: 0 0 0 1px rgba(198,242,78,0.18), 0 16px 40px rgba(0,0,0,0.4);
}
.pkg-eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-2);
}
.pkg--featured .pkg-eyebrow { color: var(--lime); }
.pkg-name { font-size: 1.5rem; font-weight: 600; margin: 10px 0 2px; }
.pkg-tag { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 2.2rem;
  color: var(--paper); letter-spacing: -0.02em; transition: opacity 200ms var(--ease);
}
.price-unit { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; }
.price.is-swapping { opacity: 0; }

/* dropdowns (native details) */
.drop { border-top: 1px solid var(--line); }
.drop summary {
  list-style: none; cursor: pointer; padding: 14px 0 4px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); user-select: none;
  transition: color 160ms var(--ease);
}
.drop summary:hover { color: var(--lime); }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after {
  content: "+"; font-size: 16px; line-height: 1; color: var(--muted-2);
  transition: transform 200ms var(--ease), color 160ms var(--ease);
}
.drop[open] summary::after { transform: rotate(45deg); color: var(--lime); }
.drop[open] summary { color: var(--paper); }
.drop-body { padding: 6px 0 14px; animation: dropIn 240ms var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.drop-body ul { list-style: none; margin: 0; padding: 0; }
.drop-body li {
  position: relative; padding: 6px 0 6px 18px; color: var(--muted); font-size: 0.92rem;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}
.drop-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); opacity: 0.7; }
.best-for { margin: 14px 0 0; color: var(--muted-2); font-size: 0.88rem; }
.best-for span { color: var(--lime); font-weight: 600; }

/* care plans */
.pricing-subhead {
  font-size: 1.2rem; font-weight: 600; margin: 0 0 18px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.pricing-subhead span {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 400;
}
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 860px) { .care-grid { grid-template-columns: 1fr; } }
.care { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.care h4 { font-size: 1.2rem; font-weight: 600; margin: 0; }
.care-tag { color: var(--muted); font-size: 0.88rem; margin: 4px 0 14px; }
.care .price { font-size: 1.7rem; }

/* card flair: cursor spotlight + hover lift, matching the project cards */
.pkg, .care {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.pkg > *, .care > * { position: relative; z-index: 1; }
.pkg::before, .care::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(198,242,78,0.13), transparent 56%);
  opacity: 0; transition: opacity 280ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .pkg:hover, .care:hover {
    transform: translateY(-4px); border-color: var(--ink-3);
    box-shadow: 0 16px 36px rgba(0,0,0,0.45), inset 0 2px 0 0 rgba(198,242,78,0.85);
  }
  .pkg:hover::before, .care:hover::before { opacity: 1; }
  .pkg--featured:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 2px 0 0 var(--lime), 0 0 0 1px rgba(198,242,78,0.35);
  }
}

/* add-ons */
.addons { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: 0 22px; margin-bottom: 18px; }
.addons > summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
}
.addons > summary::-webkit-details-marker { display: none; }
.addons > summary::after { content: "+"; font-size: 20px; color: var(--muted-2); transition: transform 200ms var(--ease), color 160ms var(--ease); }
.addons[open] > summary::after { transform: rotate(45deg); color: var(--lime); }
.addon-list { list-style: none; margin: 0; padding: 0 0 16px; }
.addon-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-top: 1px dashed rgba(255,255,255,0.06);
}
.addon-name { color: var(--muted); font-size: 0.95rem; }
.addon-list .price { font-size: 1.15rem; }

/* fine print */
.fineprint { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
@media (max-width: 700px) { .fineprint { grid-template-columns: 1fr; } }
.fineprint .drop-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---- hero ---- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
/* ambient aurora glow behind the hero copy */
.hero::before {
  content: ""; position: absolute; inset: 0 -10% auto -10%; height: 150%; z-index: 0;
  background:
    radial-gradient(42% 42% at 18% 58%, rgba(198,242,78,0.12), transparent 70%),
    radial-gradient(38% 38% at 82% 46%, rgba(108,184,255,0.11), transparent 72%);
  filter: blur(34px); pointer-events: none;
  /* fade the glow in from the top so the section's top edge stays plain --ink,
     matching the hero band above it (kills the brightness seam) */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
  animation: aurora 20s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,-22px,0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--lime);
  margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; max-width: 16ch;
  margin-bottom: 26px;
}
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0 0 34px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 36px;
  font-family: "JetBrains Mono", monospace; font-size: 13.5px; color: var(--muted-2);
}
.hero-meta strong { color: var(--paper); font-weight: 600; }

/* ---- buttons ---- */
.hero-cta, .contact-links { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  min-height: 48px; transition: transform 150ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn:active { transform: scale(0.985); }

/* ---- section heads ---- */
.projects { padding: 40px 0 30px; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; max-width: 56ch; }

/* ---- project grid ---- */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); border-color: var(--ink-3); background: #18181c; }
  .card:hover .card-title { color: var(--lime); }
  .card:hover .card-link { color: var(--lime); }
  .card:hover .card-link span { transform: translateX(4px); }
}

.card-top { margin-bottom: 12px; }
.card-kicker {
  display: inline-block; font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px;
}
.card-title { font-size: 1.42rem; font-weight: 600; transition: color 180ms var(--ease); }
.card-desc { color: var(--muted); font-size: 0.97rem; margin: 0 0 18px; flex-grow: 1; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 20px; }
.tags li {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
  color: var(--paper); background: #25252b;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 11px;
}

.card-link {
  font-weight: 600; font-size: 0.95rem; color: var(--paper);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 160ms var(--ease);
}
.card-link span { display: inline-block; transition: transform 180ms var(--ease); }

/* ---- contact ---- */
.contact { padding: 84px 0 64px; }
.contact-inner { max-width: 60ch; }
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.contact p { color: var(--muted); margin: 0 0 28px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13px; color: var(--muted-2);
}
.footer-note { font-family: "JetBrains Mono", monospace; font-size: 12px; }

/* ---- reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- focus visibility ---- */
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   FLEX PASS — motion + interactions
   ========================================================= */

/* scroll-progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 60; pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--lime), #6cb8ff);
  box-shadow: 0 0 10px rgba(198,242,78,0.5);
  transition: width 80ms linear;
}

/* animated gradient shimmer on the hero accent word */
.hero-title .accent {
  background: linear-gradient(100deg, var(--lime) 0%, #8ff0c8 28%, #6cb8ff 52%, var(--lime) 86%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% 0; } }

.hero-meta strong { font-variant-numeric: tabular-nums; }

/* staggered hero entrance */
.hero .wrap > .reveal:nth-child(1) { transition-delay: 0.02s; }
.hero .wrap > .reveal:nth-child(2) { transition-delay: 0.10s; }
.hero .wrap > .reveal:nth-child(3) { transition-delay: 0.18s; }
.hero .wrap > .reveal:nth-child(4) { transition-delay: 0.26s; }
.hero .wrap > .reveal:nth-child(5) { transition-delay: 0.34s; }

/* ---- project cards: spotlight + index numeral + hover accent ---- */
.grid { counter-reset: cardnum; }
.card { position: relative; overflow: hidden; isolation: isolate; counter-increment: cardnum; }
.card > * { position: relative; z-index: 1; }

/* faded editorial index numeral, top-right */
.card::after {
  content: counter(cardnum, decimal-leading-zero);
  position: absolute; top: 12px; right: 16px; z-index: 0;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 2.6rem;
  letter-spacing: -0.04em; color: #fff; opacity: 0.05;
  transition: opacity 220ms var(--ease), color 220ms var(--ease);
}

/* cursor-follow spotlight */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              rgba(198,242,78,0.16), transparent 58%);
  opacity: 0; transition: opacity 280ms var(--ease);
}

/* staggered card reveal */
.grid .card:nth-child(1) { transition-delay: 0.00s; }
.grid .card:nth-child(2) { transition-delay: 0.06s; }
.grid .card:nth-child(3) { transition-delay: 0.12s; }
.grid .card:nth-child(4) { transition-delay: 0.05s; }
.grid .card:nth-child(5) { transition-delay: 0.11s; }
.grid .card:nth-child(6) { transition-delay: 0.17s; }
.grid .card:nth-child(7) { transition-delay: 0.10s; }
.grid .card:nth-child(8) { transition-delay: 0.16s; }
.grid .card:nth-child(9) { transition-delay: 0.22s; }

@media (hover: hover) and (pointer: fine) {
  .card:hover::before { opacity: 1; }
  .card:hover::after { opacity: 0.13; color: var(--lime); }
  .card:hover {
    box-shadow: 0 14px 34px rgba(0,0,0,0.45), inset 0 2px 0 0 rgba(198,242,78,0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .accent { animation: none; }
  .scroll-progress span { transition: none; }
}
