/* ivanbeliaev.com — v6
   Three colors only (paper / ink / ice) + accent red committed.
   DM Sans + Fraunces. Editorial nav. Asymmetric stats. Dark featured + paper mini quotes. */

:root {
  --ink: #0E0E0E;
  --paper: #EFEAE2;
  --ice: #1A2A33;
  --accent: #C8332B;

  --paper-dim: rgba(239, 234, 226, 0.72);
  --paper-faint: rgba(239, 234, 226, 0.45);
  --paper-ghost: rgba(239, 234, 226, 0.18);
  --ink-soft: rgba(14, 14, 14, 0.68);
  --ink-faint: rgba(14, 14, 14, 0.45);
  --rule-light: rgba(14, 14, 14, 0.14);
  --rule-dark: rgba(239, 234, 226, 0.18);

  --display: 'Fraunces', 'Newsreader', Georgia, serif;
  --text: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(24px, 6vw, 96px);
  --col-gap: 32px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(17px, 1.1vw, 20px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color 160ms ease; }
a:hover { color: var(--accent); }
::selection { background: var(--ink); color: var(--paper); }

/* Calmer focus: subtle current-color underline, not red box */
:focus-visible { outline: none; }
a:focus-visible, button:focus-visible { box-shadow: 0 1px 0 currentColor; }
.cta-primary:focus-visible, .cta-ghost:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  opacity: 0.85;
  z-index: 60;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 80ms linear;
  pointer-events: none;
}

/* ---------- Header (editorial) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px var(--gutter);
  background: rgba(239, 234, 226, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease, background 240ms ease, color 240ms ease;
  border-bottom: 1px solid var(--rule-light);
  color: var(--ink);
}
.site-header.is-visible { opacity: 1; transform: none; pointer-events: auto; }
/* Nav stays neutral — paper-cream blur with ink text — across all sections. No flicker. */
.brand {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-decoration: none;
  font-variation-settings: "opsz" 36, "wght" 600, "SOFT" 30;
  color: inherit;
  line-height: 1;
}
.brand:hover { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: baseline; }
.nav a {
  font-family: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: opacity 160ms ease, color 160ms ease;
}
.nav a:hover { opacity: 1; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vh, 120px) var(--gutter);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 10% center;
  transform: scale(1.06) translate3d(0,0,0);
  will-change: transform;
}
@supports (animation-timeline: scroll()) {
  .hero-img {
    animation: hero-zoom linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-zoom {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(0, -28px, 0); }
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8,10,12,0.82) 0%,
      rgba(8,10,12,0.66) 22%,
      rgba(8,10,12,0.40) 48%,
      rgba(8,10,12,0.14) 74%,
      rgba(8,10,12,0) 100%),
    linear-gradient(180deg,
      rgba(8,10,12,0.18) 0%,
      rgba(8,10,12,0) 22%,
      rgba(8,10,12,0) 78%,
      rgba(8,10,12,0.34) 100%);
  z-index: 1;
}
/* (v9) right-edge progressive blur removed — gradient overlay handles text readability */
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  width: min(48%, 640px);
  margin: 0 auto 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 0 0 28px;
  padding: 7px 14px;
  border: 1px solid var(--paper-ghost);
  border-radius: 999px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6.8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-indent: -0.04em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "wght" 600;
}
.hero-lede {
  font-family: var(--text);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  max-width: 52ch;
  color: var(--paper-dim);
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Buttons (committed accent) ---------- */
/* Primary: filled accent red on light, filled paper on dark */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.cta-primary:hover { background: #a8281f; border-color: #a8281f; color: #fff; transform: translateY(-1px); }
.cta-primary .arrow { transition: transform 180ms ease; }
.cta-primary:hover .arrow { transform: translateX(4px); }
.cta-primary.on-dark { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-primary.on-dark:hover { background: #fff; color: var(--accent); border-color: #fff; }

/* Secondary: outline only */
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--paper);
  font-family: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 22px;
  border: 1px solid var(--paper-ghost);
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.cta-ghost:hover { border-color: var(--paper); color: var(--paper); }
.cta-ghost.on-light { color: var(--ink); border-color: var(--rule-light); }
.cta-ghost.on-light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Tertiary: text-link with arrow */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color 180ms ease;
}
.cta-link:hover { color: var(--accent); }
.cta-link .arrow { transition: transform 180ms ease; }
.cta-link:hover .arrow { transform: translateX(4px); }
.cta-link.on-dark { color: var(--paper); }
.cta-link.on-dark:hover { color: var(--accent); }
.cta-link .arrow { color: var(--accent); }

/* ---------- Contact: pick-a-topic label ---------- */
.contact-tags-label {
  margin: 28px 0 12px;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-tags-label span { color: var(--accent); }
.contact-tags { margin-top: 0 !important; }

/* ---------- Section base ---------- */
.section { padding: clamp(80px, 12vh, 160px) var(--gutter); }
.section-inner { max-width: var(--max); margin: 0 auto; width: 100%; }
.col-narrow { max-width: 62ch; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ice { background: var(--ice); color: var(--paper); }

.section-paper + .section-paper > .section-inner,
.section.has-rule-top > .section-inner {
  border-top: 1px solid var(--rule-light);
  padding-top: clamp(64px, 10vh, 120px);
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  text-indent: -0.03em;
  max-width: 22ch;
  font-variation-settings: "opsz" 96, "wght" 600;
  transition: font-variation-settings 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
              letter-spacing 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Subtle hover: small wght + opsz nudge, letter-spacing tightens to compensate
   so the line doesn't reflow. Tested against 22ch headings — stays on same line count. */
h2:hover {
  font-variation-settings: "opsz" 112, "wght" 650;
  letter-spacing: -0.028em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin: 0 0 24px;
}
.section-paper .eyebrow { color: var(--ink-faint); }

/* ---------- CTA link on dark sections ---------- */
.section-ice .cta-link,
.section-ink .cta-link { color: var(--paper); border-bottom-color: var(--paper); }
.section-ice .cta-link:hover,
.section-ink .cta-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Method ---------- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.method-grid h2 { margin-top: 0.1em; }
.method-grid h2 .line { display: inline; }
@media (min-width: 600px) {
  .method-grid h2 .line { display: block; }
}
.method-copy p { margin: 0 0 22px; max-width: 60ch; font-size: clamp(17px, 1.15vw, 19px); }
.method-copy p:last-child { margin-bottom: 0; }
.method-foundation-note {
  margin-top: 28px !important;
  padding-top: 28px;
  border-top: 1px solid var(--rule-light);
  color: var(--ink-soft);
}
.method-foundation-note em { font-style: italic; color: var(--ink); font-weight: 500; }

/* ---------- Work formats ---------- */
.services-stack { margin-top: 32px; border-top: 1px solid var(--rule-dark); }
.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 6vh, 64px) 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: start;
}
.service-row .ghost-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--paper);
  opacity: 0.16;
  font-variation-settings: "opsz" 144, "wght" 600;
}
.service-row h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--paper);
}
.service-row .fit {
  font-family: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.service-row p { font-size: 17px; line-height: 1.55; color: var(--paper-dim); margin: 0; }
.service-row .service-body { display: block; }
.service-row .service-body .outcome {
  margin-top: 12px;
  font-style: italic;
  font-size: 15px;
  color: var(--paper-faint);
}

.section-lede {
  font-family: var(--text);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  margin: -20px 0 40px;
  max-width: 56ch;
  color: var(--paper-dim);
}
.section-paper .section-lede { color: var(--ink-soft); }

/* ---------- Proof: featured (dark) + grid (paper hairlined) ---------- */
.testimonial-feature {
  width: min(100%, 900px);
  margin: 0 auto 32px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(20,15,10,0.18);
}
.testimonial-feature blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "wght" 500;
}
.quote-person { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.quote-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-person strong { display: block; font-family: var(--text); font-size: 15px; font-weight: 600; }
.quote-person span { display: block; margin-top: 3px; color: var(--paper-dim); font-size: 13px; font-family: var(--text); }

.testimonial-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mini-quote {
  padding: 24px;
  border: 1px solid var(--rule-light);
  border-radius: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.mini-quote img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}
.mini-quote p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-family: var(--text);
}
.mini-quote strong {
  display: block;
  font-family: var(--text);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: auto;
}
.mini-quote span {
  display: block;
  margin-top: 2px;
  font-family: var(--text);
  font-size: 12px;
  color: var(--ink-faint);
}

/* ---------- Pelaa ---------- */
.pelaa-band { padding-top: clamp(100px, 14vh, 180px); padding-bottom: clamp(100px, 14vh, 180px); }
.pelaa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pelaa-copy h2 { color: var(--paper); margin-bottom: 24px; }
.pelaa-copy p { font-size: 18px; color: var(--paper-dim); max-width: 48ch; margin: 0 0 32px; }
.pelaa-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1a23;
  border: 1px solid var(--paper-ghost);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  aspect-ratio: 16 / 10;
}
.pelaa-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Contact (on ice) ---------- */
.contact { padding-bottom: clamp(96px, 14vh, 180px); }
.contact p { max-width: 56ch; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0; }
.contact-tags a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--paper-ghost);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  color: var(--paper);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.contact-tags a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; align-items: center; }
@media (max-width: 540px) {
  .contact-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
  .contact-actions .cta-link { margin-left: 22px; }
}
.section-ice .contact-tags-label { color: var(--paper-faint); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(96px, 16vh, 200px) var(--gutter) clamp(48px, 6vh, 80px);
}
.footer-statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 80px;
  max-width: 18ch;
  color: var(--paper);
  text-indent: -0.03em;
  font-variation-settings: "opsz" 144, "wght" 500;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 14px;
  border-top: 1px solid var(--accent);
  padding-top: 28px;
}
.footer-links a { color: var(--paper-dim); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }

/* ---------- Principles (4-card pillar row inside Method) ---------- */
.method-grid > .principles { grid-column: 1 / -1; }
.principles {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.principle {
  padding: 36px 24px 32px;
  border-left: 1px solid var(--rule-light);
}
.principle:first-child { border-left: none; }
.principle h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
  hyphens: manual;
  -webkit-hyphens: manual;
}
.principle p {
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- H1 accent emphasis ---------- */
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 1px 14px rgba(8, 10, 12, 0.55);
}
@media (max-width: 900px) {
  .hero h1 em { text-shadow: none; }
}

/* ---------- Hero credentials line (under CTAs) ---------- */
.hero-creds {
  margin: 28px 0 0;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper-faint);
}
.hero-creds .num-short { display: none; }
@media (max-width: 540px) {
  .hero-creds .num-long { display: none; }
  .hero-creds .num-short { display: inline; }
}

/* ---------- Hero lede inline link ---------- */
.hero-lede a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
}
.hero-lede a:hover { color: var(--accent); }

/* ---------- Testimonial soft shadow (daily log #1 ask) ---------- */
.testimonial-feature {
  box-shadow: 0 30px 60px -36px rgba(8,10,12,0.55);
}
.mini-quote {
  box-shadow: 0 14px 32px -22px rgba(8,10,12,0.18);
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.mini-quote:hover {
  box-shadow: 0 22px 44px -22px rgba(8,10,12,0.28);
}

/* ---------- Tablet (720–900px) ---------- */
@media (min-width: 720px) and (max-width: 900px) {
  .section { padding: clamp(64px, 10vh, 120px) var(--gutter); }
  .hero { min-height: auto; padding: 0; display: flex; flex-direction: column; }
  .hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    inset: auto;
  }
  .hero-img { transform: scale(1.02); object-position: center 30%; animation: none; }
  .hero-overlay { display: none; }
  .hero-copy {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    padding: clamp(48px, 7vh, 72px) var(--gutter);
    z-index: auto;
  }
  .hero h1 { font-size: clamp(48px, 7vw, 72px); }

  .method-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle:nth-child(odd) { border-left: none; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
  .pelaa-grid { grid-template-columns: 1fr; }
  .pelaa-visual { order: -1; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile (≤720px) ---------- */
@media (max-width: 720px) {
  .section { padding: clamp(56px, 8vh, 96px) var(--gutter); }
  .hero {
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    inset: auto;
  }
  .hero-img { transform: scale(1.02); object-position: center 35%; animation: none; }
  .hero-overlay { display: none; }
  .hero-copy {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    padding: clamp(28px, 5vh, 44px) var(--gutter) clamp(36px, 6vh, 56px);
    z-index: auto;
  }
  .hero-eyebrow {
    border: 0;
    padding: 0;
    font-size: 11px;
    letter-spacing: 0.10em;
    margin-bottom: 14px;
  }
  .hero h1 { font-size: clamp(34px, 8vw, 56px); margin-bottom: 18px; }
  .hero-lede { font-size: 15px; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-creds { margin-top: 18px; font-size: 11px; letter-spacing: 0.04em; }

  .method-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .principle { border-left: none; padding: 28px 16px 24px; min-width: 0; }
  .principle:nth-child(odd) { border-left: none; }
  .principle:nth-child(even) { border-left: 1px solid var(--rule-light); }
  .principle:nth-child(n+3) { border-top: 1px solid var(--rule-light); }
  .service-row { grid-template-columns: auto 1fr; gap: 18px; }
  .service-row .ghost-num { font-size: 60px; grid-row: span 2; }
  .service-row p { grid-column: 1 / -1; }
  .pelaa-grid { grid-template-columns: 1fr; }
  .pelaa-visual { order: -1; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .site-header { padding: 14px var(--gutter); }
  .nav { gap: 14px; }
  .nav a { font-size: 10px; letter-spacing: 0.12em; }
  .brand { font-size: 19px; }
}

@media (max-width: 480px) {
  .site-header { padding: 12px var(--gutter); }
  .nav { gap: 10px; }
  .nav a { font-size: 9px; letter-spacing: 0.10em; }
  .brand { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-img { transform: none !important; }
  .scroll-progress { transition: none !important; }
}
