/* ==========================================================================
   DESTROYERPLAYZ — styles
   Theme tokens live in :root — tweak colours, radii and fonts there.
   ========================================================================== */
:root {
  --bg: #060504;
  --bg-2: #0c0a07;
  --surface: rgba(255, 196, 92, 0.035);
  --surface-2: rgba(255, 196, 92, 0.06);
  --line: rgba(255, 190, 90, 0.12);
  --line-2: rgba(255, 190, 90, 0.22);
  --text: #f6efe4;
  --muted: #a89c8a;
  --dim: #6d6457;
  --yellow: #ffd23f;
  --amber: #ffab2e;
  --orange: #ff7a18;
  --grad: linear-gradient(120deg, var(--yellow), var(--orange));
  --grad-soft: linear-gradient(120deg, rgba(255, 210, 63, 0.18), rgba(255, 122, 24, 0.18));
  --glow: 0 0 0 1px rgba(255, 171, 46, 0.25), 0 10px 40px -10px rgba(255, 122, 24, 0.45);
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--orange); color: #120a02; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Glass + gradient border primitives */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.grad-border { position: relative; border-color: transparent; }
.grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 210, 63, 0.7), rgba(255, 122, 24, 0.15) 40%, rgba(255, 122, 24, 0.05) 60%, rgba(255, 171, 46, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Particles layer */
.particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.7; }
main, .footer { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ BUTTONS */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: var(--h);
  padding: 0 1.5rem;
  border-radius: 999px;
  font: 700 0.82rem/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { font-size: 1.15em; transition: transform 0.35s var(--ease); }
.btn--sm { --h: 42px; padding: 0 1.15rem; font-size: 0.72rem; }
.btn--primary {
  color: #140b02;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 0 0 0 rgba(255, 140, 30, 0), 0 8px 30px -8px rgba(255, 122, 24, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 0 4px rgba(255, 171, 46, 0.14), 0 14px 40px -8px rgba(255, 122, 24, 0.75); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: var(--amber); color: var(--yellow); transform: translateY(-2px); box-shadow: 0 0 30px -10px rgba(255, 171, 46, 0.6); }

/* ------------------------------------------------------------------ BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font: 700 0.66rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.badge--live { color: var(--yellow); border-color: rgba(255, 210, 63, 0.35); background: rgba(255, 171, 46, 0.08); }
.badge--done { color: var(--text); }
.badge--past { color: var(--muted); }
.badge--studio { color: var(--orange); border-color: rgba(255, 122, 24, 0.35); background: rgba(255, 122, 24, 0.07); }
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--amber);
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }

/* ================================================================== LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, #140c04 0%, #000 60%);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader.is-done .loader__inner { transform: scale(1.08); filter: blur(4px); }
.loader__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; transition: transform 0.9s var(--ease), filter 0.9s; }
.loader__avatar {
  --size: clamp(128px, 34vw, 168px);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin-bottom: 2.4rem;
  animation: loaderIn 0.9s var(--ease) both;
}
.loader__img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #0d0905;
  z-index: 2;
}
.loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 15%, var(--yellow) 45%, var(--orange) 75%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 8px rgba(255, 150, 40, 0.8));
  animation: spin 1.6s linear infinite;
  z-index: 3;
}
.loader__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 90, 0.14);
}
.loader__glow {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 30, 0.45), rgba(255, 110, 20, 0.12) 40%, transparent 65%);
  animation: breathe 2.4s ease-in-out infinite;
  z-index: 1;
}
.loader__orbit { position: absolute; inset: -22px; border-radius: 50%; animation: spin 7s linear infinite; z-index: 1; }
.loader__orbit--b { inset: -38px; animation-duration: 11s; animation-direction: reverse; }
.loader__orbit i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--orange);
  top: 50%;
  left: 50%;
}
.loader__orbit i:nth-child(1) { transform: rotate(0deg) translateX(calc(var(--size) / 2 + 22px)); }
.loader__orbit i:nth-child(2) { transform: rotate(130deg) translateX(calc(var(--size) / 2 + 22px)); width: 3px; height: 3px; opacity: 0.7; }
.loader__orbit i:nth-child(3) { transform: rotate(245deg) translateX(calc(var(--size) / 2 + 22px)); width: 2px; height: 2px; }
.loader__orbit--b i:nth-child(1) { transform: rotate(60deg) translateX(calc(var(--size) / 2 + 38px)); background: var(--orange); }
.loader__orbit--b i:nth-child(2) { transform: rotate(220deg) translateX(calc(var(--size) / 2 + 38px)); opacity: 0.6; }
.loader__name {
  font: 800 clamp(1.35rem, 5.5vw, 2rem)/1.1 var(--font-display);
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.8s 0.25s var(--ease) both;
}
.loader__title { margin-top: 0.6rem; color: var(--muted); font-size: clamp(0.85rem, 3vw, 1rem); letter-spacing: 0.04em; animation: fadeUp 0.8s 0.4s var(--ease) both; }
.loader__progress {
  width: min(220px, 60vw);
  height: 2px;
  margin-top: 2rem;
  border-radius: 2px;
  background: rgba(255, 190, 90, 0.12);
  overflow: hidden;
  animation: fadeUp 0.8s 0.55s var(--ease) both;
}
.loader__progress span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 12px var(--orange); transform-origin: left; animation: progress 5s linear both; }
.loader__label { margin-top: 0.9rem; font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); animation: fadeUp 0.8s 0.65s var(--ease) both; }
.dots i { font-style: normal; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes loaderIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }

/* Homepage entrance after loader */
main, .nav { transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
body.is-loading main, body.is-loading .nav { opacity: 0; transform: scale(0.985); }

/* ===================================================================== NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, opacity 1s var(--ease), transform 1.2s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(8, 6, 4, 0.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav__bar { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.nav__logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.65rem; font: 800 0.95rem/1 var(--font-display); letter-spacing: 0.06em; }
.nav__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #140b02;
  font-size: 0.9rem;
  box-shadow: 0 0 22px -4px rgba(255, 140, 30, 0.7);
  padding: 2px;
}
.nav__mark img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; background: #0d0905; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav__links a:not(.btn) {
  position: relative;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

@media (max-width: 1180px) {
  .nav__links a:not(.btn) { padding: 0.5rem 0.45rem; font-size: 0.78rem; }
}
@media (max-width: 1060px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid;
    gap: 5px;
    place-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .nav__toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
  .menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    margin: 0;
    padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
    background: rgba(6, 5, 4, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links a:not(.btn) { font: 700 clamp(1.05rem, 4.6vw, 1.4rem)/1 var(--font-display); color: var(--text); padding: 0.85rem 1rem; transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s, color 0.3s; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a.is-active { color: var(--yellow); }
  .menu-open .nav__links { opacity: 1; visibility: visible; }
  .menu-open .nav__links a { transform: none; opacity: 1; }
  .menu-open .nav__links a:nth-child(2) { transition-delay: 0.03s; }
  .menu-open .nav__links a:nth-child(3) { transition-delay: 0.06s; }
  .menu-open .nav__links a:nth-child(4) { transition-delay: 0.09s; }
  .menu-open .nav__links a:nth-child(5) { transition-delay: 0.12s; }
  .menu-open .nav__links a:nth-child(6) { transition-delay: 0.15s; }
  .menu-open .nav__links a:nth-child(7) { transition-delay: 0.18s; }
  .menu-open .nav__links a:nth-child(8) { transition-delay: 0.21s; }
  .menu-open .nav__links a:nth-child(9) { transition-delay: 0.24s; }
  .nav__cta-mobile { display: inline-flex; margin-top: 1.25rem; }
  .menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }
}

/* ==================================================================== HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 5rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: -2px;
  background-image: linear-gradient(rgba(255, 171, 46, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 171, 46, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse 75% 65% at 60% 45%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 75% 65% at 60% 45%, #000 20%, transparent 75%);
  animation: gridMove 18s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px, 64px 64px; } }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hero__orb--1 { width: 520px; height: 520px; right: -120px; top: 6%; background: radial-gradient(circle, rgba(255, 122, 24, 0.38), transparent 70%); animation: float 14s ease-in-out infinite; }
.hero__orb--2 { width: 420px; height: 420px; left: -160px; bottom: -80px; background: radial-gradient(circle, rgba(255, 210, 63, 0.18), transparent 70%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font: 700 0.78rem/1 var(--font-mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--yellow); }
.hero__title { margin: 1.1rem 0 0.9rem; font: 800 clamp(2.3rem, 7.6vw, 5.6rem)/0.98 var(--font-display); letter-spacing: -0.01em; }
.hero__title .grad-text { background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite; filter: drop-shadow(0 6px 40px rgba(255, 122, 24, 0.25)); }
@keyframes gradShift { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.hero__subtitle { font: 500 clamp(1.05rem, 2.4vw, 1.45rem)/1.3 var(--font-display); color: var(--text); }
.hero__desc { max-width: 560px; margin-top: 1.2rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.1rem); }
.hero__desc strong { color: var(--text); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__meta { display: flex; gap: 2.2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 460px; }
.hero__meta li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__meta strong { font: 800 1.5rem/1 var(--font-display); color: var(--yellow); }
.hero__meta span { font: 500 0.72rem/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

.hero__visual { position: relative; }
.terminal { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(255, 122, 24, 0.35); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform 0.8s var(--ease); }
.hero__visual:hover .terminal { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.terminal__head { display: flex; align-items: center; gap: 0.45rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.terminal__head i { width: 10px; height: 10px; border-radius: 50%; background: #2b241b; }
.terminal__head i:first-child { background: var(--orange); }
.terminal__head i:nth-child(2) { background: var(--amber); }
.terminal__head span { margin-left: auto; font: 500 0.72rem var(--font-mono); color: var(--dim); }
.terminal__body { margin: 0; padding: 1.4rem 1.4rem 1.6rem; font: 500 clamp(0.72rem, 1.1vw, 0.86rem)/1.95 var(--font-mono); color: var(--text); white-space: pre; overflow: hidden; }
.t-mute { color: var(--dim); }
.t-key { color: var(--orange); }
.t-ok { color: var(--yellow); }
.t-acc { color: var(--amber); }
.caret { display: inline-block; width: 8px; height: 1.05em; margin-left: 4px; vertical-align: -2px; background: var(--yellow); animation: blink 1s steps(1) infinite; }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.95rem; border-radius: 12px; font: 700 0.75rem var(--font-mono); color: var(--text); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite; }
.hero__chip svg { color: var(--yellow); font-size: 1.1rem; }
.hero__chip--a { top: -22px; right: 8%; }
.hero__chip--b { bottom: 18%; left: -36px; animation-delay: -2s; }
.hero__chip--c { bottom: -20px; right: 14%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--yellow); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ================================================================ SECTIONS */
.section { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(255, 140, 30, 0.025) 20%, rgba(255, 140, 30, 0.025) 80%, transparent); }
.section-head { max-width: 720px; margin: 0 auto clamp(2.8rem, 6vw, 4rem); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font: 700 0.72rem/1 var(--font-mono); letter-spacing: 0.26em; text-transform: uppercase; color: var(--amber); }
.section-title { font: 800 clamp(1.9rem, 4.8vw, 3.3rem)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.section-title--xl { font-size: clamp(2.2rem, 6.4vw, 4.6rem); }
.section-sub { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; }
.sub-title { margin: clamp(4rem, 8vw, 6rem) 0 2.5rem; text-align: center; font: 800 clamp(1.4rem, 3.4vw, 2.2rem)/1.1 var(--font-display); text-transform: uppercase; }

/* Reveal animation */
/* Keyframes (not transitions) so card hover transitions stay independent. */
.reveal { opacity: 0; }
.reveal.is-in { opacity: 1; animation: revealUp 0.9s var(--ease) var(--d, 0ms) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* =================================================================== ABOUT */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__card { border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: 0 40px 80px -40px rgba(255, 122, 24, 0.35); }
.about__photo { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; background: #0d0905; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.2s var(--ease); }
.about__card:hover .about__photo img { transform: scale(1.04); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 5, 4, 0.7)); }
.about__id { display: grid; gap: 0.35rem; justify-items: start; padding: 1.3rem 0.6rem 0.5rem; }
.about__name { font: 800 1.2rem/1.1 var(--font-display); letter-spacing: 0.04em; }
.about__role { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.lead { font-size: clamp(1.08rem, 1.9vw, 1.25rem); line-height: 1.7; color: var(--text); margin-bottom: 1.1rem; }
.about__copy > p:not(.lead) { color: var(--muted); font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; margin-top: 2.4rem; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem; min-height: 132px; padding: 1.15rem; border-radius: var(--radius); transition: border-color 0.4s, transform 0.4s var(--ease); }
.stat:hover { border-color: var(--line-2); transform: translateY(-4px); }
.stat strong { font: 800 clamp(0.9rem, 1.4vw, 1.05rem)/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.stat strong.grad-text { font-size: 2.6rem; }
.stat > span:not(.stat__icon) { font: 500 0.68rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.stat__icon { position: absolute; top: 1rem; left: 1.1rem; font-size: 1.35rem; color: var(--amber); }

/* =================================================================== CARDS */
.grid { display: grid; gap: 1.1rem; }
.grid--skills { grid-template-columns: repeat(4, 1fr); }
.grid--services { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid--why { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.card::after,
.project::after,
.server::after,
.live::after,
.contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 160, 40, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover, .project:hover, .server:hover { transform: translateY(-6px); border-color: rgba(255, 171, 46, 0.4); box-shadow: 0 24px 50px -24px rgba(255, 122, 24, 0.5); }
.card:hover::after, .project:hover::after, .server:hover::after, .live:hover::after, .contact-btn:hover::after { opacity: 1; }
.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.3rem;
  border-radius: 14px;
  font-size: 1.45rem;
  color: var(--yellow);
  background: var(--grad-soft);
  border: 1px solid rgba(255, 171, 46, 0.22);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, color 0.4s, background 0.4s;
}
.card:hover .card__icon { transform: translateY(-2px) rotate(-6deg); color: #140b02; background: var(--grad); box-shadow: 0 0 28px -4px rgba(255, 140, 30, 0.75); }
.card__title { font: 700 1rem/1.3 var(--font-display); letter-spacing: 0.01em; margin-bottom: 0.55rem; }
.card__text { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.card__num { position: absolute; top: 1.4rem; right: 1.5rem; font: 700 0.75rem var(--font-mono); color: var(--dim); letter-spacing: 0.1em; }
.card--service { padding: 2rem 1.8rem 2.1rem; }
.card--service .card__title { font-size: 1.1rem; text-transform: uppercase; }
.card--why { text-align: left; }
.card--why .card__title { text-transform: uppercase; font-size: 0.98rem; }

/* ======================================================== CURRENTLY WORKING */
.grid--current { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.live {
  position: relative;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 70px -40px rgba(255, 122, 24, 0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.live::before { animation: borderGlow 4s ease-in-out infinite; }
@keyframes borderGlow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.live:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -36px rgba(255, 122, 24, 0.75); }
.live__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.2rem; }
.live__icon { font-size: 1.6rem; color: var(--amber); opacity: 0.7; }
.live__name { font: 800 clamp(2rem, 5vw, 3.2rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.live__status { margin: 0.7rem 0 1.1rem; font: 700 0.78rem var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); }
.live__text { color: var(--muted); font-size: 1.02rem; max-width: 46ch; }
.live__highlight { margin-top: 1.3rem; padding: 0.9rem 1.1rem; border-left: 2px solid var(--orange); border-radius: 0 12px 12px 0; background: rgba(255, 122, 24, 0.07); font: 700 0.95rem/1.4 var(--font-display); color: var(--text); }
.live__bar { position: relative; height: 3px; margin: 2rem 0 0; border-radius: 3px; background: rgba(255, 190, 90, 0.1); overflow: hidden; }
.live__bar span { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--grad); box-shadow: 0 0 14px var(--orange); border-radius: 3px; animation: buildBar 2.8s var(--ease) infinite; }
@keyframes buildBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.live .btn { margin-top: 1.6rem; }

/* ================================================================= SERVERS */
.summary { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); margin-bottom: 1.4rem; }
.summary__count { display: flex; flex-direction: column; padding-right: 2rem; border-right: 1px solid var(--line); }
.summary__count strong { font: 800 clamp(3rem, 7vw, 4.5rem)/0.95 var(--font-display); }
.summary__count span { margin-top: 0.4rem; font: 700 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.summary__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.summary__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; row-gap: 0.25rem; align-items: center; padding: 0.95rem 1rem; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.summary__list strong { font: 800 0.92rem/1 var(--font-display); text-transform: uppercase; }
.summary__list span:last-child { grid-column: 1 / -1; font-size: 0.78rem; color: var(--muted); }
.summary__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.summary__list .is-current .summary__dot { background: var(--yellow); box-shadow: 0 0 10px var(--orange); }
.summary__list .is-current span:last-child { color: var(--yellow); }
.summary__list .is-studio .summary__dot { background: var(--orange); }
.summary__list .is-studio span:last-child { color: var(--orange); }

.grid--servers { grid-template-columns: repeat(3, 1fr); }
.server { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); }
.server--current { border-color: rgba(255, 171, 46, 0.3); background: linear-gradient(160deg, rgba(255, 171, 46, 0.08), rgba(255, 255, 255, 0.01)); }
.server__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1.5rem; }
.server__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font: 800 1.15rem var(--font-display); color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }
.server--current .server__avatar { color: #140b02; background: var(--grad); border: 0; box-shadow: 0 0 24px -6px rgba(255, 140, 30, 0.8); }
.server .badge { font-size: 0.58rem; padding: 0.35rem 0.6rem; }
.server__name { font: 800 1.35rem/1.1 var(--font-display); text-transform: uppercase; }
.server__status { margin-top: 0.45rem; font-weight: 700; font-size: 0.88rem; color: var(--amber); }
.server--past .server__status { color: var(--text); }
.server--studio { border-color: rgba(255, 122, 24, 0.25); background: linear-gradient(160deg, rgba(255, 122, 24, 0.06), rgba(255, 255, 255, 0.01)); }
.server--studio .server__avatar { color: var(--orange); border-color: rgba(255, 122, 24, 0.4); }
.server--studio .server__status { color: var(--orange); }
.server__avatar { overflow: hidden; }
.server__avatar img { width: 100%; height: 100%; object-fit: cover; }
.server__link { align-self: flex-start; margin-top: auto; }
.server__text + .server__link { margin-top: 1.2rem; }
.server__period { display: flex; align-items: center; gap: 0.45rem; margin: 0.8rem 0 1rem; font: 500 0.74rem var(--font-mono); letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.server__period svg { color: var(--amber); }
.server__text { color: var(--muted); font-size: 0.9rem; margin-top: auto; }

/* ================================================================ TIMELINE */
.timeline { --progress: 0; position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before,
.timeline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; }
.timeline::before { background: rgba(255, 190, 90, 0.1); }
.timeline::after { background: linear-gradient(180deg, var(--yellow), var(--orange)); box-shadow: 0 0 16px rgba(255, 122, 24, 0.7); transform-origin: top; transform: scaleY(var(--progress)); transition: transform 0.2s linear; }
.tl-item { position: relative; width: 50%; padding: 0 3rem 2.4rem 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.4rem 3rem; }
.tl-point { position: absolute; top: 1.6rem; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--amber); z-index: 1; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.tl-item:nth-child(even) .tl-point { right: auto; left: -9px; }
.tl-item.is-in .tl-point { box-shadow: 0 0 0 5px rgba(255, 171, 46, 0.12), 0 0 18px var(--orange); }
.tl-item.is-live .tl-point { background: var(--yellow); animation: pointPulse 2.2s ease-in-out infinite; }
@keyframes pointPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 171, 46, 0.18), 0 0 16px var(--orange); } 50% { box-shadow: 0 0 0 10px rgba(255, 171, 46, 0), 0 0 26px var(--orange); } }
.tl-card { position: relative; padding: 1.4rem 1.5rem; border-radius: var(--radius); transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; }
.tl-item:hover .tl-card { transform: translateY(-4px); border-color: rgba(255, 171, 46, 0.4); box-shadow: 0 20px 44px -24px rgba(255, 122, 24, 0.55); }
.tl-item:hover .tl-point { transform: scale(1.25); }
.tl-when { font: 700 0.72rem var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.5rem; }
.tl-title { font: 800 1.35rem/1.15 var(--font-display); text-transform: uppercase; margin-bottom: 0.75rem; }
.tl-text { color: var(--muted); font-size: 0.93rem; }
.tl-card .badge { font-size: 0.6rem; }

/* ============================================================== EXPERIENCE */
.experience { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.experience__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.exp-hero { display: flex; align-items: center; gap: 1.3rem; padding: 1.6rem 1.8rem; border-radius: var(--radius-lg); margin-bottom: 1.6rem; }
.exp-hero strong { font: 800 clamp(3.5rem, 8vw, 5rem)/0.9 var(--font-display); }
.exp-hero > span { font: 700 0.9rem/1.35 var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.exp-tags li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.3s, color 0.3s; }
.exp-tags li:hover { border-color: var(--amber); color: var(--yellow); }
.exp-tags svg { color: var(--amber); }
.timeline--compact { margin: 0; }
.timeline--compact::before, .timeline--compact::after { left: 9px; }
.timeline--compact .tl-item, .timeline--compact .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 1.5rem 3rem; }
.timeline--compact .tl-point, .timeline--compact .tl-item:nth-child(even) .tl-point { left: 0; right: auto; }

/* ================================================================ PROJECTS */
.grid--projects { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.project { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(255, 122, 24, 0.3), transparent 60%), #0d0905; border-bottom: 1px solid var(--line); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6, 5, 4, 0.75)); }
.project__status { position: absolute; top: 1rem; left: 1rem; z-index: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.project--plain .project__status { position: static; align-self: flex-start; margin-bottom: 1.2rem; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.7rem 1.8rem; }
.project__tech { font: 700 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.project__tech i { font-style: normal; color: var(--dim); margin: 0 0.25rem; }
.project__name { margin: 0.6rem 0 0.6rem; font: 800 1.35rem/1.15 var(--font-display); text-transform: uppercase; }
.project__text { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.4rem; }
.project__link { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: auto; align-self: flex-start; font: 700 0.75rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); padding-bottom: 0.25rem; border-bottom: 1px solid rgba(255, 210, 63, 0.35); transition: gap 0.35s var(--ease), border-color 0.3s; }
.project__link:hover { gap: 0.85rem; border-color: var(--yellow); }
.project__link.is-disabled { color: var(--dim); border-color: var(--line); cursor: default; }
.project__link em { font: 700 0.6rem var(--font-mono); font-style: normal; padding: 0.2rem 0.45rem; border-radius: 6px; border: 1px solid var(--line-2); letter-spacing: 0.1em; }

/* ================================================================= CONTACT */
.contact { overflow: hidden; }
.contact__glow { position: absolute; left: 50%; top: 38%; width: min(900px, 120vw); height: 520px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255, 122, 24, 0.2), transparent 65%); filter: blur(30px); pointer-events: none; }
.contact__actions { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 960px; margin: 0 auto; }
.contact-btn { position: relative; display: flex; align-items: center; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); min-width: 0; }
.contact-btn:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -28px rgba(255, 122, 24, 0.8); }
.contact-btn__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; font-size: 1.6rem; color: #140b02; background: var(--grad); box-shadow: 0 0 30px -6px rgba(255, 140, 30, 0.8); }
.contact-btn__text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.contact-btn__label { font: 800 clamp(1.1rem, 2.4vw, 1.45rem)/1 var(--font-display); text-transform: uppercase; }
.contact-btn__value { color: var(--muted); font-size: clamp(0.85rem, 1.8vw, 0.98rem); overflow-wrap: anywhere; }
.contact-btn__arrow { margin-left: auto; font-size: 1.3rem; color: var(--amber); transition: transform 0.4s var(--ease); }
.contact-btn:hover .contact-btn__arrow { transform: translateX(4px); }

.socials { position: relative; margin-top: 3rem; text-align: center; }
.socials__label { font: 700 0.7rem var(--font-mono); letter-spacing: 0.26em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.socials__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.socials__list a, .socials__list .is-empty { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); font-size: 0.86rem; font-weight: 500; transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.socials__list svg { font-size: 1.05rem; color: var(--amber); }
.socials__list a:hover { border-color: var(--amber); color: var(--yellow); transform: translateY(-2px); }
.is-empty { opacity: 0.4; cursor: default; }

/* ================================================================== FOOTER */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 140, 30, 0.03), transparent); padding: 3.5rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 2rem; align-items: start; }
.footer__title { margin-top: 1rem; color: var(--text); font-weight: 500; }
.footer__tagline { margin-top: 0.3rem; color: var(--muted); font-size: 0.92rem; }
.footer__contact { display: grid; gap: 0.6rem; font-size: 0.92rem; }
.footer__contact p { display: flex; flex-direction: column; }
.footer__contact a:hover { color: var(--yellow); }
.footer__k { font: 700 0.66rem var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.footer__socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer__socials a, .footer__socials .is-empty { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); font-size: 1.1rem; color: var(--muted); transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.footer__socials a:hover { color: var(--yellow); border-color: var(--amber); transform: translateY(-2px); box-shadow: 0 0 20px -6px rgba(255, 140, 30, 0.7); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--dim); }
.footer__top { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.footer__top:hover { color: var(--yellow); }

/* =================================================================== TOAST */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 60; transform: translate(-50%, 20px); padding: 0.85rem 1.2rem; border-radius: 12px; max-width: calc(100% - 2rem); background: rgba(20, 14, 6, 0.92); border: 1px solid rgba(255, 171, 46, 0.4); color: var(--text); font-size: 0.9rem; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(255, 122, 24, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.45s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================= RESPONSIVE */
@media (max-width: 1080px) {
  .grid--skills, .grid--why, .grid--servers { grid-template-columns: repeat(2, 1fr); }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .summary__list { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .terminal { transform: none; }
  .hero__chip--b { left: -8px; }
  .about, .experience { grid-template-columns: 1fr; }
  .about__card { max-width: 420px; width: 100%; margin: 0 auto; }
  .experience__intro { position: static; }
  .grid--current, .grid--projects, .contact__actions { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; gap: 1.4rem; }
  .summary__count { flex-direction: row; align-items: baseline; gap: 1rem; padding: 0 0 1.2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline::before, .timeline::after { left: 9px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 1.6rem 3rem; }
  .tl-point, .tl-item:nth-child(even) .tl-point { left: 0; right: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__socials { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .container { width: min(1200px, 100% - 2rem); }
  .nav__logo { font-size: 0.82rem; }
  .nav__mark { width: 30px; height: 30px; }
  .hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 1.4rem; }
  .hero__chip { display: none; }
  .hero__scroll { display: none; }
  .grid--skills, .grid--why, .grid--services, .grid--servers { grid-template-columns: 1fr; }
  .summary__list { grid-template-columns: 1fr; }
  .stats { gap: 0.65rem; }
  .stat { min-height: 116px; padding: 1rem; }
  .stat strong.grad-text { font-size: 2.2rem; }
  .contact-btn__arrow { display: none; }
  .contact-btn__icon { width: 52px; height: 52px; font-size: 1.4rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .loader__ring { animation: spin 1.6s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.6s !important; }
  .loader__progress span { animation: progress 5s linear both !important; animation-duration: 5s !important; }
}
