/* ============================================
   Alex Bepple · Portfolio
   Modern CSS — pushing the boundaries
   ============================================ */

/* ── Reset & Variables ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* core palette */
  --black: #030504;
  --black-rgb: 3, 5, 4;
  --gray-950: #0a0e0c;
  --gray-900: #0f140f;
  --gray-800: #1a221c;
  --gray-700: #2a352e;
  --gray-600: #3f4d44;
  --gray-500: #5e6e63;
  --gray-400: #7e9084;
  --gray-300: #a5b5aa;
  --gray-200: #cbd8cf;
  --gray-100: #e6efe8;
  --gray-50: #f3f8f4;

  /* accent — teal-green */
  --accent: #00e676;
  --accent-rgb: 0, 230, 118;
  --accent-dim: #00c469;
  --accent-glow: rgba(0, 230, 118, 0.15);
  --accent-subtle: rgba(0, 230, 118, 0.06);

  /* tertiary — amber for pop */
  --amber: #ffab00;
  --amber-rgb: 255, 171, 0;

  /* surfaces */
  --bg: var(--black);
  --bg-alt: var(--gray-950);
  --surface: var(--gray-900);
  --surface-hover: var(--gray-800);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* text */
  --text: var(--gray-100);
  --text-secondary: var(--gray-400);
  --text-tertiary: var(--gray-600);

  /* sizes */
  --max-w: 1200px;
  --nav-h: 60px;

  /* radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* fonts */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas, monospace;

  /* transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 0 30px var(--accent-glow);

  /* glow */
  --glow-sm: 0 0 12px var(--accent-glow);

  --scroll: 0;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* background texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(0, 230, 118, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 230, 118, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 230, 118, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* subtle grid overlay on body */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
  z-index: -1;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1000;
  background: var(--border);
  pointer-events: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 50ms linear;
  will-change: width;
}

/* ── Utilities ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAV ── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(var(--black-rgb), 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

header.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

nav.links {
  display: flex;
  gap: 32px;
}

nav.links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

nav.links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

nav.links a:hover {
  color: var(--text);
}

nav.links a:hover::after {
  width: 100%;
}

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

.btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  background: transparent;
  cursor: pointer;
}

.btn-mini:hover {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--glow-sm);
  transform: translateY(-1px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translate(var(--mx, 0), var(--my, 0));
  will-change: transform;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  border: none;
  font-weight: 600;
  box-shadow: 0 0 0 rgba(0, 230, 118, 0);
}

.btn-primary:hover {
  background: #00f07d;
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.25);
  transform: translate(var(--mx, 0), var(--my, 0)) translateY(-2px);
}

.btn-primary svg,
.btn-secondary svg {
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg,
.btn-secondary:hover svg {
  transform: translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
  transform: translate(var(--mx, 0), var(--my, 0)) translateY(-2px);
}

/* ── Chip ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 230, 118, 0.1);
  border-radius: 100px;
  margin-bottom: 24px;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}

.section-number {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-header h2::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-left: 16px;
  vertical-align: middle;
  border-radius: 2px;
  opacity: 0.5;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt {
  background: var(--bg-alt);
}

section:first-of-type {
  padding-top: 0;
}

/* ── HERO ── */
.hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero {
    padding: 80px 0 40px;
  }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #69f0ae 40%, #b2ff59 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 50ch;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── SCHEMATIC (SVG) ── */
.schematic {
  width: 100%;
}

.schematic svg {
  width: 100%;
  height: auto;
  display: block;
}

.node {
  fill: var(--surface);
  stroke: var(--border-hover);
  stroke-width: 1.2;
  transition: stroke 0.3s ease, fill 0.3s ease;
}

.node.active {
  stroke: var(--accent);
  fill: var(--accent-subtle);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.node-label {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--text-secondary);
  font-weight: 500;
}

.node.active + .node-label {
  fill: var(--accent);
}

.conn-line {
  stroke: var(--border-hover);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

.conn-glow {
  stroke: var(--accent);
  stroke-width: 0.8;
  opacity: 0.2;
  filter: blur(2px);
}

/* animated data-flow dots */
.flow-dot {
  fill: var(--accent);
  opacity: 0;
  animation: flow-pulse 3s ease-in-out infinite;
  animation-delay: var(--dot-delay, 0s);
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

@keyframes flow-pulse {
  0%, 100% { opacity: 0; r: 0; }
  20% { opacity: 0.6; }
  50% { opacity: 1; r: 2.5; }
  80% { opacity: 0.6; }
}

/* ── ANIMATIONS ── */
[data-anim] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-anim="fade-up"] {
  transform: translateY(24px);
}

[data-anim="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

[data-anim="scale-in"] {
  transform: scale(0.92);
}

[data-anim="scale-in"].visible {
  opacity: 1;
  transform: scale(1);
  transition-delay: var(--delay, 0s);
}

[data-delay] {
  transition-delay: attr(data-delay s, 0s);
}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-text p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 65ch;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

/* meta cards */
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-card {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.meta-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.meta-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.meta-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.meta-value.accent {
  color: var(--accent);
}

/* ── MARQUEE / STACK TRACK ── */
.stack-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
  padding: 4px 0;
}

.stack-track {
  display: flex;
  gap: 12px;
  width: fit-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tag {
  display: inline-flex;
  padding: 8px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: rgba(0, 230, 118, 0.2);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.06);
}

/* ═══ EXPERIENCE / TIMELINE ═══ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.t-item {
  display: flex;
  gap: 24px;
  padding-bottom: 48px;
  position: relative;
}

.t-item:last-child {
  padding-bottom: 32px;
}

.t-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  position: relative;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--accent);
  z-index: 2;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.t-item:hover .t-dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.15);
}

.t-line {
  width: 1.5px;
  flex: 1;
  background: linear-gradient(to bottom, var(--border-hover), transparent);
  margin-top: 4px;
}

.t-content {
  flex: 1;
  padding-bottom: 4px;
}

.t-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.t-role {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.t-company {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}

.t-dates {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: auto;
}

@media (max-width: 600px) {
  .t-dates {
    margin-left: 0;
    width: 100%;
  }
}

.t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-sm {
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.t-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.t-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.6;
}

.t-end {
  display: flex;
  justify-content: center;
  color: var(--text-tertiary);
  animation: t-end-pulse 3s ease-in-out infinite;
}

@keyframes t-end-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ═══ PROJECTS ═══ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
}

.proj-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  transform: translate(var(--mx, 0), var(--my, 0));
  will-change: transform;
}

.proj-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mx-per, 50%) var(--my-per, 50%), var(--accent-subtle), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.proj-card:hover::before {
  opacity: 1;
}

.proj-card:hover {
  border-color: rgba(0, 230, 118, 0.15);
  transform: translate(var(--mx, 0), var(--my, 0)) translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.proj-icon {
  margin-bottom: 18px;
  color: var(--accent);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 230, 118, 0.08);
}

.proj-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
}

.proj-date {
  color: var(--text-tertiary);
}

.proj-type {
  color: var(--accent-dim);
  padding: 2px 10px;
  background: var(--accent-subtle);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proj-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}

.proj-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: auto;
  flex: 1;
}

.proj-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proj-stat {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  line-height: 1.4;
}

.proj-arrow {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: all 0.3s var(--ease-out);
}

.proj-card:hover .proj-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-intro .section-header {
  margin-bottom: 20px;
}

.contact-big {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 16ch;
}

.contact-sub {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 40ch;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
  font-size: 14.5px;
  color: var(--text-secondary);
  transform: translate(var(--mx, 0), var(--my, 0));
  will-change: transform;
}

.contact-link svg:first-child {
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.contact-link span {
  flex: 1;
}

.link-arrow {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: all 0.3s var(--ease-out);
}

.contact-link:hover {
  border-color: rgba(0, 230, 118, 0.15);
  background: var(--surface-hover);
  transform: translate(var(--mx, 0), var(--my, 0)) translateX(4px);
  color: var(--text);
}

.contact-link:hover svg:first-child {
  color: var(--accent);
}

.contact-link:hover .link-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-brand {
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-loc {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-loc svg {
  color: var(--accent-dim);
}

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-anim] {
    opacity: 1;
    transform: none !important;
  }

  .stack-track {
    animation: none;
  }

  .flow-dot {
    display: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ── SELECTION ── */
::selection {
  background: var(--accent);
  color: var(--black);
}

/* ── RESPONSIVE TWEAKS ── */
@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2::after {
    width: 24px;
    margin-left: 10px;
  }

  .proj-card {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-link {
    padding: 14px 16px;
    font-size: 13.5px;
  }
}