/* ============================================================
   Martin Kurej — Portfolio
   Mood: a considered control room, in daylight.
   Cobalt/indigo carries the brand on pure white; warm vermillion
   adds human energy. Bricolage Grotesque + Figtree + JetBrains Mono.
   ============================================================ */

:root {
  /* ---- Color (OKLCH) ---- */
  --bg:          oklch(1 0 0);
  --surface:     oklch(0.978 0.006 258);
  --surface-2:   oklch(0.958 0.009 258);
  --ink:         oklch(0.235 0.021 264);
  --ink-2:       oklch(0.36 0.022 263);
  --muted:       oklch(0.505 0.022 262);
  --line:        oklch(0.905 0.012 258);
  --line-2:      oklch(0.86 0.015 258);

  --primary:     oklch(0.53 0.163 256);
  --primary-600: oklch(0.47 0.17 256);
  --primary-700: oklch(0.41 0.16 256);
  --primary-050: oklch(0.965 0.02 256);

  --accent:      oklch(0.645 0.196 38);
  --accent-600:  oklch(0.57 0.19 38);
  --accent-050:  oklch(0.965 0.03 45);

  --white: #fff;

  /* ---- Type ---- */
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ---- Radius ---- */
  --r-sm: 9px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* ---- Shadow (cool-tinted, layered) ---- */
  --sh-sm: 0 1px 2px oklch(0.4 0.03 260 / 0.06), 0 2px 6px oklch(0.4 0.03 260 / 0.05);
  --sh-md: 0 6px 16px oklch(0.4 0.04 260 / 0.08), 0 2px 6px oklch(0.4 0.04 260 / 0.05);
  --sh-lg: 0 20px 45px oklch(0.35 0.05 260 / 0.14), 0 8px 18px oklch(0.35 0.05 260 / 0.08);
  --sh-primary: 0 14px 34px oklch(0.53 0.163 256 / 0.32);

  /* ---- Layout ---- */
  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 100;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
strong { font-weight: 650; color: var(--ink); }
::selection { background: oklch(0.53 0.163 256 / 0.16); color: var(--primary-700); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--r-sm);
  z-index: 200; transition: top 0.2s ease;
}
.skip-link:focus { top: 10px; }

:focus-visible {
  outline: 3px solid oklch(0.53 0.163 256 / 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 0.72rem; --pad-x: 1.15rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 600;
  border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background 0.2s ease, box-shadow 0.3s var(--ease-out), color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { --pad-y: 0.5rem; --pad-x: 0.95rem; font-size: 0.9rem; }
.btn--lg { --pad-y: 0.95rem; --pad-x: 1.5rem; font-size: 1.05rem; }
.btn-arrow { transition: transform 0.35s var(--ease-out); }

.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--sh-primary); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-2px); }
.btn--primary:hover .btn-arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: oklch(0.2 0.03 40); font-weight: 650; box-shadow: 0 12px 30px oklch(0.645 0.196 38 / 0.32); }
.btn--accent:hover { background: oklch(0.68 0.2 42); transform: translateY(-2px); }

.btn--onprimary { background: oklch(1 0 0 / 0.1); color: var(--white); border-color: oklch(1 0 0 / 0.35); }
.btn--onprimary:hover { background: oklch(1 0 0 / 0.18); border-color: var(--white); transform: translateY(-2px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(1 0 0 / 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 oklch(0.4 0.03 260 / 0.03), var(--sh-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: -0.02em; color: var(--ink);
}
.wordmark-dot {
  width: 0.62rem; height: 0.62rem; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px oklch(0.53 0.163 256 / 0.14);
}
.wordmark--sm { font-size: 0.98rem; }

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.75rem); }
.nav > a:not(.btn) {
  font-size: 0.96rem; font-weight: 500; color: var(--ink-2);
  padding: 0.35rem 0.1rem; position: relative; transition: color 0.2s ease;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -0.15rem; height: 2px;
  background: var(--primary); border-radius: 2px; transition: right 0.3s var(--ease-out);
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn):hover::after { right: 0; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--section-y); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 550; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.42rem 0.85rem 0.42rem 0.72rem; border-radius: var(--r-pill);
}
.pill-dot {
  width: 0.52rem; height: 0.52rem; border-radius: 50%; background: var(--accent);
  position: relative; flex: none;
}
.pill-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

.hero-title {
  font-size: clamp(2.55rem, 1.6rem + 4.2vw, 4.35rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.015;
  margin: 1.15rem 0 0; text-wrap: balance; color: var(--ink);
}
.accent-word { color: var(--accent-600); }

.hero-lead {
  margin: 1.5rem 0 0; max-width: 34ch;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); line-height: 1.62; color: var(--muted);
  text-wrap: pretty;
}
.hero-lead strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-meta {
  margin: 1.6rem 0 0; display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.92rem; color: var(--muted); font-weight: 500;
}
.hero-meta a { color: var(--primary-600); font-weight: 600; }
.hero-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dotsep { color: var(--line-2); }

/* Hero visual — stacked browser mocks */
.hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.53 0.163 256 / 0.24), transparent 66%);
  filter: blur(18px); top: 8%; right: -6%; z-index: 0;
}
.stack { position: relative; width: 100%; max-width: 480px; }

.win {
  margin: 0; border-radius: var(--r); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
}
.win-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.8rem; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.win-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.win-bar span:nth-child(1) { background: oklch(0.72 0.17 30); }
.win-bar span:nth-child(2) { background: oklch(0.82 0.14 85); }
.win-bar span:nth-child(3) { background: oklch(0.76 0.15 150); }
.win-bar b {
  margin-left: 0.55rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  color: var(--muted); letter-spacing: -0.01em;
}
.win img { width: 100%; height: auto; aspect-ratio: 16 / 11.5; object-fit: cover; object-position: top center; }

.win--front { position: relative; z-index: 2; transform: rotate(-1.4deg); }
.win--back {
  position: absolute; top: -8%; right: -12%; width: 68%; z-index: 1;
  transform: rotate(4deg); opacity: 0.96;
}

.float-tag {
  position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  padding: 0.45rem 0.72rem; border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--sh-md); border: 1px solid var(--line);
  white-space: nowrap;
}
.float-tag--founder {
  bottom: 8%; left: -5%;
  background: var(--accent); color: oklch(0.2 0.03 40); border-color: transparent;
  font-weight: 650; box-shadow: 0 10px 24px oklch(0.645 0.196 38 / 0.35);
}
.float-tag--stat { top: 4%; left: -6%; color: var(--ink-2); }
.float-tag--stat em { font-style: normal; color: var(--primary-600); font-weight: 600; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding-block: var(--section-y); }
.section-head { max-width: 52ch; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-title {
  font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.85rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--ink); text-wrap: balance;
}
.section-sub { margin: 0.85rem 0 0; color: var(--muted); font-size: 1.08rem; max-width: 46ch; text-wrap: pretty; }

/* ============================================================
   Work — featured + cards
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.1rem, 2.2vw, 1.7rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.feature-media {
  display: block; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-md);
  aspect-ratio: 16 / 10.5;
}
.feature-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.7s var(--ease-out);
}
.feature:hover .feature-media img { transform: scale(1.035); }
.feature-body { padding: clamp(0.4rem, 1.5vw, 1.4rem) clamp(0.4rem, 1.5vw, 1.2rem); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.feature-title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; }
.feature-role { margin: 0.5rem 0 0; font-family: var(--font-mono); font-size: 0.82rem; color: var(--primary-600); letter-spacing: -0.01em; }
.feature-text { margin: 1.1rem 0 1.6rem; color: var(--muted); max-width: 46ch; text-wrap: pretty; }

.tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.005em;
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2);
}
.tag--accent { background: var(--accent-050); border-color: oklch(0.645 0.196 38 / 0.3); color: var(--accent-600); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 650; color: var(--primary-600); font-size: 1rem;
}
.link-arrow svg { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { color: var(--primary-700); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.link-arrow--sm { font-size: 0.9rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.01em; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem);
}
.card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10.5; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-tophead { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.6rem; }
.card-title { font-size: 1.28rem; letter-spacing: -0.03em; }
.card-text { margin: 0 0 1.15rem; color: var(--muted); font-size: 0.98rem; flex: 1; text-wrap: pretty; }

/* ============================================================
   Experience — timeline
   ============================================================ */
.experience { background: var(--surface); border-block: 1px solid var(--line); }
.exp-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.section-head--sticky { margin-bottom: 0; align-self: start; }
@media (min-width: 921px) { .section-head--sticky { position: sticky; top: 100px; } }

.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(var(--line-2), var(--line-2) 72%, transparent);
}
.tl-item {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: start;
}
.tl-logo {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  display: grid; place-items: center; padding: 9px;
  position: relative; z-index: 1;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.tl-logo img { width: 100%; height: 100%; object-fit: contain; }
.tl-logo--mono { padding: 0; background: var(--primary-050); border-color: oklch(0.53 0.163 256 / 0.2); }
.tl-logo--mono > span { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: -0.02em; color: var(--primary-600); }
.tl-item:hover .tl-logo { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.tl-period {
  display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0; margin-bottom: 0.35rem;
}
.tl-role { font-size: 1.22rem; letter-spacing: -0.025em; color: var(--ink); }
.tl-org { margin: 0.2rem 0 0; font-weight: 600; color: var(--primary-600); font-size: 0.98rem; }
.tl-type { color: var(--muted); font-weight: 500; }
.tl-text { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.98rem; max-width: 54ch; text-wrap: pretty; }

/* ============================================================
   Skills
   ============================================================ */
.skill-groups {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem);
}
.skill-h {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em;
  padding-bottom: 0.9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips li {
  font-size: 0.92rem; font-weight: 550; color: var(--ink-2);
  padding: 0.48rem 0.85rem; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), border-color 0.2s ease, color 0.2s ease;
}
.chips li:hover { border-color: var(--primary); color: var(--primary-700); transform: translateY(-2px); }

.tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.tools-label {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.tools-list { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.tools-list li { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-lead {
  margin: 1.4rem 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); line-height: 1.32; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: pretty; max-width: 24ch;
}
.about-text { margin: 1.3rem 0 0; color: var(--muted); max-width: 52ch; font-size: 1.06rem; text-wrap: pretty; }
.about-side { display: flex; flex-direction: column; gap: 2rem; padding-top: 0.5rem; }
.about-block { }
.about-h {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1rem;
}
.edu li { display: flex; flex-direction: column; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.edu li:last-child { padding-bottom: 0; }
.edu-period { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); margin-bottom: 0.2rem; }
.edu strong { color: var(--ink); font-weight: 650; }
.langs { display: flex; flex-direction: column; gap: 0.65rem; }
.langs li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; color: var(--ink); border-bottom: 1px dotted var(--line-2); padding-bottom: 0.55rem; }
.langs span { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; color: var(--muted); }

/* ============================================================
   Contact — the one committed color moment
   ============================================================ */
.contact {
  background: oklch(0.44 0.15 258);
  background-image: radial-gradient(120% 120% at 82% -12%, oklch(0.505 0.152 264), transparent 52%),
                    radial-gradient(95% 105% at -5% 116%, oklch(0.4 0.135 256), transparent 55%);
  color: var(--white); padding-block: clamp(4.5rem, 10vw, 8rem);
  text-align: center;
}
.contact-inner { max-width: 40ch; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.contact-kicker {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: oklch(0.93 0.04 266); margin: 0 0 1.1rem;
}
.contact-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.05;
  color: var(--white); text-wrap: balance;
}
.contact-lead { margin: 1.2rem 0 0; color: oklch(0.95 0.02 264); font-size: 1.1rem; line-height: 1.6; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 2.2rem; }
.contact-loc { margin: 1.9rem 0 0; font-family: var(--font-mono); font-size: 0.82rem; color: oklch(0.92 0.035 266); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-copy { color: var(--muted); font-size: 0.88rem; }
.footer-top { color: var(--ink-2); font-weight: 600; font-size: 0.9rem; }
.footer-top:hover { color: var(--primary-600); }

/* ============================================================
   Reveal motion (progressive — visible by default without JS)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pill-dot::after { animation: none; }
  .btn, .card, .link-arrow svg, .feature-media img, .card-media img { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 8vw, 3.5rem); }
  .hero-visual { order: 2; max-width: 460px; }
  .hero-lead { max-width: 52ch; }
  .exp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature { grid-template-columns: 1fr; }
  .feature-body { padding: 0.5rem 0.4rem 0.8rem; }
}

@media (max-width: 620px) {
  .nav { gap: 0.9rem; }
  .nav > a:not(.btn) { display: none; }
  .win--back { display: none; }
  .win--front { transform: none; }
  .float-tag--stat { left: auto; right: -2%; }
  .float-tag--founder { left: -2%; }
  .hero-title { font-size: clamp(2.35rem, 1.4rem + 6vw, 3.2rem); }
  .contact-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .float-tag { font-size: 0.68rem; }
}
