/* ================================================================
   ARLINGKIN · design system
   ----------------------------------------------------------------
   01 · Design tokens      (colors, type, motion — calibrate here)
   02 · Reset & base
   03 · Layout
   04 · Header & navigation
   05 · Components
   06 · Motion & scroll-reveal
   07 · Responsive
   ================================================================ */

/* ── 01 · DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* palette */
  --paper:   #0a1020;
  --panel:   rgba(19,27,51,.76);
  --ink:     #f7f8ff;
  --muted:   #a8b0c5;
  --faint:   #858a9f;
  --line:    rgba(216,224,255,.18);
  --line-soft: rgba(216,224,255,.1);
  --lime:    #d9ff59;
  --orange:  #ff8a5c;
  --blue:    #78a6ff;
  --violet:  #ae8cff;
  --cyan:    #8ee8ff;
  --matrix:  #00ff41;

  /* type */
  --font-sans: "DM Sans", Arial, sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-display: "Playfair Display", serif;

  /* shape & space */
  --radius: 10px;
  --page-max: 1200px;

  /* motion — one place to retune every animation feel */
  --dur-fast: .18s;
  --dur:      .3s;
  --dur-slow: .6s;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  /* effects */
  --shadow-card: 0 6px 24px -12px rgba(0,0,0,.55);
  --glow-blue: 0 0 32px rgba(120,166,255,.06), 0 0 80px rgba(174,140,255,.03);
}

/* ── 02 · RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, #080c19 0%, #101a37 52%, #10172c 100%);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* A fixed, non-interactive ocean of blue and cyan that moves with the page. */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -30vmax;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 25%, rgba(76, 167, 255, .25) 0 11%, transparent 30%),
    radial-gradient(ellipse at 79% 19%, rgba(87, 229, 255, .19) 0 10%, transparent 31%),
    radial-gradient(ellipse at 51% 81%, rgba(30, 109, 214, .22) 0 13%, transparent 34%),
    radial-gradient(ellipse at 90% 68%, rgba(109, 205, 255, .14) 0 10%, transparent 29%);
  filter: blur(18px);
  transform-origin: center;
  animation: ocean-drift 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* Link the ocean to page progress where scroll-driven animations are available. */
@supports (animation-timeline: scroll()) {
  body::before {
    animation: ocean-scroll linear both;
    animation-timeline: scroll(root);
    animation-range: 0% 100%;
  }
}

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

::selection { background: var(--lime); color: #10152a; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 03 · LAYOUT ──────────────────────────────────────────────── */
.page { max-width: var(--page-max); margin: auto; padding: 0 32px; }

.eyebrow, .meta, .tag, .nav-link, .kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

main { overflow: hidden; }
main#top { margin-top: 56px; }

.hero { padding: 86px 0 62px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.eyebrow { color: #a9c6ff; margin: 0 0 18px; }

h1, .display {
  max-width: 900px;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: .92;
  font-weight: 600;
  letter-spacing: -.075em;
}
h1 em, .display em { color: var(--orange); font-family: var(--font-display); font-weight: 600; }
.group { color: var(--blue); font-family: var(--font-display); font-style: italic; }

.intro { max-width: 340px; margin: 0 0 7px auto; color: #d1d7e9; font-size: 18px; line-height: 1.55; }
.intro strong { font-weight: 600; }

.status { display: flex; gap: 8px; align-items: center; margin-top: 22px; color: var(--muted); }

.page-head { padding: 76px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 860px; }
.page-head .intro { max-width: 520px; margin: 22px 0 0; }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0 18px; gap: 20px;
}
.section-head h2 { font-size: 14px; letter-spacing: -.02em; }
.section-head a { color: var(--muted); border-bottom: 1px solid currentColor; font-size: 13px; transition: color var(--dur) var(--ease); }
.section-head a:hover { color: var(--lime); }
.section-body { padding: 0 0 20px; }

/* ── 04 · HEADER & NAV ────────────────────────────────────────── */
.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: -.06em;
}
.brand-mark {
  display: grid; width: 24px; aspect-ratio: 1; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #10152a; font-size: 14px;
  transition: transform var(--dur) var(--ease-spring);
}
.brand:hover .brand-mark { transform: rotate(-15deg) scale(1.1); }

nav { display: flex; gap: 22px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.nav-link { position: relative; padding: 4px 2px; transition: color var(--dur-fast) var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--lime); transition: right var(--dur) var(--ease);
}
.nav-link:hover { color: var(--lime); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--ink); }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; margin-left: 8px; flex-shrink: 0;
}
.lang-switch button {
  padding: 5px 11px; background: transparent; border: none; color: var(--muted);
  cursor: pointer; font: 500 11px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.lang-switch button:hover { background: rgba(120,166,255,.1); }
.lang-switch button.on { background: var(--lime); color: #10152a; }
.lang-switch button + button { border-left: 1px solid var(--line); }

/* ── 05 · COMPONENTS ──────────────────────────────────────────── */

/* featured project */
.featured { border-bottom: 1px solid var(--line); }
.feature-card {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 390px;
  background: linear-gradient(130deg, rgba(26,36,68,.97), rgba(14,20,39,.97));
  color: #fff; border: 1px solid rgba(216,224,255,.12); border-bottom: 0;
  overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
}
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 45px; }
.tag { display: inline-flex; padding: 7px 9px; color: #10152a; background: var(--lime); font-weight: 500; border-radius: 4px; }
.tag.soft { background: rgba(120,166,255,.14); color: var(--blue); }
.tag.violet { background: rgba(174,140,255,.14); color: var(--violet); }
.tag.matrix {
  background: rgba(0,255,65,.12); color: var(--matrix);
  box-shadow: inset 0 0 0 1px rgba(0,255,65,.35); text-shadow: 0 0 8px rgba(0,255,65,.6);
}
.feature-copy h3 {
  max-width: 420px; margin: 48px 0 12px;
  font-size: clamp(2rem,4vw,3.6rem); line-height: .98; letter-spacing: -.065em;
}
.feature-copy p { max-width: 365px; color: #c4c4bd; line-height: 1.55; }
.read-link {
  margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--lime);
  border-bottom: 1px solid rgba(217,255,89,.5); padding-bottom: 5px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.read-link:hover { color: var(--cyan); border-color: var(--cyan); transform: translateX(3px); }

.code-art {
  position: relative; min-height: 100%; padding: 42px; overflow: hidden;
  background: linear-gradient(132deg, #6c86ff 0%, #5b4ac7 48%, #182441 100%);
  transition: transform var(--dur-slow) var(--ease);
}
.feature-card:hover .code-art { transform: scale(1.015); }
.code-art:before {
  content: ""; position: absolute; width: 260px; height: 260px;
  right: -50px; bottom: -85px; border-radius: 50%; background: var(--orange);
}
.feature-card.matrix .code-art { background: linear-gradient(132deg, #00ff41 0%, #0a8030 48%, #061a0e 100%); }
.feature-card.matrix .code-art:before { background: rgba(0,255,65,.35); }
.code-window {
  position: relative; z-index: 1; padding: 18px;
  background: rgba(9,14,30,.83); border: 1px solid rgba(255,255,255,.17); border-radius: 8px;
  box-shadow: 18px 18px 0 rgba(0,0,0,.19);
  font: 14px/1.85 var(--font-mono); color: #d9d9d0;
}
.dots { display: flex; gap: 5px; margin-bottom: 18px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #f0d35c; }
.dots i:first-child { background: #ff6937; }
.dots i:last-child { background: var(--lime); }
.pink { color: #fc8ecb; }
.purple { color: #c3a4ff; }
.green { color: var(--lime); }
.faint { color: var(--faint); }

/* home article cards */
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.article {
  min-height: 265px; padding: 24px 26px 28px 0; border-right: 1px solid var(--line);
  display: block; transition: background var(--dur) var(--ease), transform var(--dur-slow) var(--ease);
}
.article:not(:first-child) { padding-left: 26px; }
.article:last-child { border-right: 0; }
.article:hover { background: rgba(120,166,255,.08); transform: translateY(-3px); }
.article:hover h3 { color: var(--blue); }
.article .meta { color: var(--muted); }
.article h3 { margin: 52px 0 12px; max-width: 270px; font-size: 25px; line-height: 1.05; letter-spacing: -.05em; transition: color var(--dur) var(--ease); }
.article p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* now banner */
.now {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; margin: 75px 0; padding: 38px;
  border: 1px solid rgba(216,224,255,.28);
  background: linear-gradient(115deg, rgba(120,166,255,.14), rgba(174,140,255,.11), rgba(217,255,89,.06));
  border-radius: var(--radius);
}
.now h2 { margin: 10px 0 0; font: 600 clamp(2rem,3.5vw,3.2rem)/.98 var(--font-display); letter-spacing: -.055em; }
.now h2 em { color: var(--orange); }
.now-list { list-style: none; }
.now-list li { display: flex; gap: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.now-list span { color: var(--blue); font-family: var(--font-mono); font-size: 12px; padding-top: 2px; }
.now-list li:last-child { border: 0; }

/* about */
.bio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; margin: 56px 0; }
.portrait {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line); aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1b2650, #0e1427);
  display: grid; place-items: center;
}
.portrait .glyph { font: 600 9rem/1 var(--font-display); color: rgba(120,166,255,.5); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio p { font-size: 17px; line-height: 1.65; color: #cfd5e7; margin: 0 0 18px; }
.bio p.lead { font-size: 24px; line-height: 1.35; letter-spacing: -.03em; color: var(--ink); }
.bio p.lead em { color: var(--orange); }
.bio ul.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.bio li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bio li b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 4px; }
.bio li::before { content: "·"; color: var(--violet); font-weight: 700; margin-right: 10px; }

/* skills */
.skill-header { margin: 56px 0 28px; }
.skill-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill {
  min-height: 205px; padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: background var(--dur) var(--ease), transform var(--dur-slow) var(--ease-spring);
}
.skill:hover { background: rgba(120,166,255,.08); transform: translateY(-4px); }
.skill .ico {
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  font: 500 19px/1 var(--font-mono);
  background: linear-gradient(135deg, rgba(120,166,255,.2), rgba(174,140,255,.14));
  border: 1px solid rgba(216,224,255,.14);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.skill .ico img { display: block; }
.skill:hover .ico { transform: scale(1.12) rotate(-4deg); box-shadow: 0 0 0 4px rgba(120,166,255,.12); }
.skill h3 { margin: 34px 0 8px; font-size: 17px; letter-spacing: -.02em; }
.skill p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.skill .bar { position: relative; height: 3px; background: rgba(216,224,255,.12); margin-top: auto; border-radius: 2px; overflow: hidden; }
.skill .bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--lime), var(--cyan)); transition: width .8s var(--ease); }

.icon-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.icon-card {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.icon-card:hover {
  border-color: rgba(217,255,89,.5); transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(217,255,89,.15);
}
.icon-card img { width: 36px; height: 36px; flex-shrink: 0; transition: transform var(--dur) var(--ease-spring); }
.icon-card:hover img { transform: scale(1.1); }
.icon-card span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.icon-card:hover span { color: var(--ink); }

/* projects */
.project-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), transform var(--dur-slow) var(--ease), padding-left var(--dur) var(--ease);
}
.project-row:hover { background: rgba(120,166,255,.06); padding-left: 10px; }
.project-num { font: 500 15px/1 var(--font-mono); color: var(--blue); }
.project-main h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; transition: color var(--dur) var(--ease); }
.project-row:hover .project-main h3 { color: var(--blue); }
.project-main p { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 640px; }
.project-link {
  font-family: var(--font-mono); font-size: 12px; color: var(--lime);
  border-bottom: 1px solid rgba(217,255,89,.5); padding-bottom: 4px; white-space: nowrap;
}
.project-row.matrix:hover { background: rgba(0,255,65,.07); }
.project-row.matrix .project-num { color: var(--matrix); }
.project-row.matrix .project-link { color: var(--matrix); border-bottom-color: rgba(0,255,65,.5); text-shadow: 0 0 8px rgba(0,255,65,.35); }

/* stats */
.stats-panel { margin: 56px 0; }
.cyber-glass {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(145deg, rgba(15,22,45,.88), rgba(8,12,28,.95));
  border: 1px solid rgba(120,166,255,.18);
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden; transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.cyber-glass:hover {
  border-color: rgba(120,166,255,.35);
  box-shadow: 0 0 48px rgba(120,166,255,.12), 0 0 80px rgba(174,140,255,.06), inset 0 1px 0 rgba(255,255,255,.05);
}
.cyber-glass::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(120,166,255,.45) 30%, rgba(174,140,255,.4) 70%, transparent 100%);
}
.cyber-glass::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(217,255,89,.25) 50%, transparent 100%);
}
.cyber-glass .scanline {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 120px;
  background: linear-gradient(180deg, rgba(120,166,255,.07), transparent);
  animation: scan 6s var(--ease) infinite;
}
.cyber-glass img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius)/2); }
.cyber-glass.has-center { text-align: center; }
.cyber-glass .streak { width: auto; max-width: 100%; margin: 6px auto; }

.auto-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 26px; }
.auto-card {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.auto-card:hover { transform: translateY(-4px); border-color: rgba(120,166,255,.4); box-shadow: var(--shadow-card); }
.auto-card .ico { font: 500 20px/1 var(--font-mono); color: var(--blue); }
.auto-card h3 { margin: 20px 0 8px; font-size: 16px; }
.auto-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 56px 0 0; }
.contact-card {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.contact-card:hover { border-color: rgba(217,255,89,.5); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.contact-card .kbd { color: var(--muted); }
.contact-card h3 { margin: 26px 0 8px; font-size: 20px; }
.contact-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-card .cta {
  margin-top: auto; padding-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--lime);
  border-bottom: 1px solid rgba(217,255,89,.5); align-self: flex-start;
}
.card-mail { grid-column: 1 / -1; }

footer {
  display: flex; justify-content: space-between; padding: 25px 0 34px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; align-items: baseline; gap: 14px;
}
footer a { color: var(--ink); border-bottom: 1px solid var(--ink); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
footer a:hover { color: var(--lime); border-color: var(--lime); }

/* pulse dot (status) */
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }

/* ── 06 · MOTION & SCROLL-REVEAL ──────────────────────────────── */
@keyframes ocean-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.02) rotate(-2deg); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.09) rotate(2deg); }
  100% { transform: translate3d(-1%, 4%, 0) scale(1.04) rotate(-1deg); }
}
@keyframes ocean-scroll {
  0%   { transform: translate3d(-4%, -6%, 0) scale(1.04) rotate(-3deg); }
  45%  { transform: translate3d(5%, 2%, 0) scale(1.11) rotate(2deg); }
  100% { transform: translate3d(-3%, 10%, 0) scale(1.06) rotate(-2deg); }
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 6px rgba(217,255,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,255,89,0); }
}
@keyframes scan {
  0%   { transform: translateY(-120%); }
  50%, 100% { transform: translateY(400%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes glowring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(120,166,255,.0), 0 6px 24px -12px rgba(0,0,0,.55); }
  50%      { box-shadow: 0 0 0 5px rgba(120,166,255,.10), 0 6px 24px -12px rgba(0,0,0,.55); }
}

/*
   Scroll-reveal system.
   Base `.reveal` = fade + rise. Variants give each section its own
   signature when scrolled into view (IO adds `.in` in main.js).
   Timing/distance are tuned via tokens above; per-element delay can
   be set with a short class (`.d1`..`.d4`) or a `data-delay` attr.
*/
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease),
    filter var(--dur-slow) var(--ease),
    clip-path var(--dur-slow) var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: none; }

.reveal-left   { transform: translateX(-28px); }
.reveal-right  { transform: translateX(28px); }
.reveal-zoom   { transform: scale(.92) translateY(12px); }
.reveal-blur   { filter: blur(10px); }
.reveal-fade   { transform: none; }
.reveal-spring { transform: translateY(26px) scale(.96); }

/* staggered delays — swap a class to recalibrate quickly */
.d1 { --d: 70ms; }
.d2 { --d: 140ms; }
.d3 { --d: 210ms; }
.d4 { --d: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .reveal-blur, .reveal-fade, .reveal-spring {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  body::before { animation: none; }
}

/* ── 07 · RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:960px) {
  .skill-grid { grid-template-columns: repeat(3,1fr); }
  .auto-grid { grid-template-columns: 1fr 1fr; }
  .icon-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width:700px) {
  .page { padding: 0 20px; }
  .site-header { flex-direction: column; align-items: flex-start; padding: 18px 0; gap: 12px; }
  nav { gap: 13px; justify-content: flex-start; }
  nav .nav-link:nth-child(2) { display: inline; }
  .hero { padding: 62px 0 45px; }
  .hero-grid, .bio-grid, .feature-card, .now, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro { margin: 0; }
  .feature-card { min-height: 0; }
  .feature-copy { min-height: 355px; padding: 31px; }
  .feature-copy h3 { margin: 42px 0 12px; }
  .code-art { min-height: 280px; padding: 26px; }
  .article-grid { grid-template-columns: 1fr; }
  .article, .article:not(:first-child) { min-height: 190px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .article h3 { margin: 35px 0 9px; }
  .now { margin: 48px 0; padding: 26px; }
  .bio ul.facts { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .skill { min-height: 175px; }
  .icon-grid { grid-template-columns: repeat(2,1fr); }
  .icon-card { justify-content: flex-start; }
  .auto-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; gap: 8px; }
  .project-link { align-self: flex-start; margin-top: 6px; }
  .page-head { padding: 56px 0 40px; }
  footer { gap: 14px; flex-direction: column; }
}
