/* =============================================================
   PEDRO JIMÉNEZ — Consultor Político · styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0c12;   /* near-black, cool navy tint — never pure #000 */
  --bg-2:      #10131c;
  --bg-3:      #171b28;   /* card surface */
  --bg-4:      #1e2333;   /* card surface, elevated */

  --cream:     #eef1f6;   /* main text on dark — never pure white */
  --cream-2:   #c7cddb;
  --cream-3:   #8b91a6;   /* muted / metadata */

  --navy:      #16224a;   /* brand navy, from logo */
  --blue:      #4d74e0;   /* royal blue — secondary accent, from logo */
  --accent:    #c9a961;   /* warm gold — the "pop" color */
  --accent-2:  #a9863f;
  --accent-soft: rgba(201, 169, 97, 0.14);

  --line:      rgba(238, 241, 246, 0.10);
  --line-2:    rgba(238, 241, 246, 0.18);

  --sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display:   "Poppins", "Inter", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --gutter: clamp(1rem, 3vw, 2rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--bg); }

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

/* JS-only states: default everything visible so the site works with JS off */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive: never let split-text hide parent */

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
}
h2, .h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--cream);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}
h3, .h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-2);
  line-height: 1.7;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #16130a;
  box-shadow: 0 8px 24px -8px rgba(201, 169, 97, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(201, 169, 97, 0.65);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.btn-arrow { transition: transform .35s var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 18, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  padding: .75rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo img { height: 60px; width: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--cream-2);
  position: relative;
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: .4rem;
}
.nav-burger span {
  height: 2px; width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: 2rem var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
}
.mobile-panel.is-open { transform: translateY(0); }
.mobile-panel a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 600;
  color: var(--cream);
}
.mobile-panel .btn-primary { align-self: flex-start; margin-top: 1rem; }

/* Figure frame — cutout photos (transparent bg) fused into the page background */
.figure-frame {
  position: relative;
  isolation: isolate;
}
.figure-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 22px 46px rgba(0,0,0,.5));
}
.figure-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}
.figure-frame .figure-tag {
  position: absolute;
  left: 1.4rem; bottom: 1.3rem;
  z-index: 2;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-3);
}

/* Cards */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .12s linear, border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.card:hover { border-color: var(--line-2); background: var(--bg-4); }
.card:hover::before { opacity: 1; }
.card-num {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 1.4rem;
  display: block;
}
.card-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.4rem;
  color: var(--accent);
}
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--cream-3); font-size: .96rem; }

/* Form */
.form-grid {
  display: grid;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--cream-3);
  letter-spacing: .03em;
}
.field input, .field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: .85em 1em;
  color: var(--cream);
  font-family: var(--sans);
  font-size: .96rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-4);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status {
  font-size: .9rem;
  color: var(--accent);
  min-height: 1.2em;
}
.form-status[data-state="error"] { color: #e05d5d; }

/* =============================================================
   6. Sections
   ============================================================= */
section { position: relative; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 4.5s forwards;
}
.splash img { height: 40px; opacity: 0; animation: splashLogo 1.4s var(--ease-out) forwards .15s; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
@keyframes splashLogo { to { opacity: 1; } }

/* Hero */
.hero {
  min-height: min(100svh, 560px);
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 1.5rem;
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 92% 50%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,12,18,0.78) 46%, rgba(10,12,18,0.55) 70%, rgba(10,12,18,0.72) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(10,12,18,0.7) 60%, rgba(10,12,18,0.25) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.accent-text { color: var(--accent); }
.hero-kicker { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  max-width: 15ch;
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--cream-3);
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-copy { max-width: 640px; }

/* Hero entrance — pure CSS, no JS/rAF dependency so it can never get stuck */
[data-hero-in] {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .9s var(--ease-out) forwards;
}
[data-hero-in="1"] { animation-delay: .05s; }
[data-hero-in="2"] { animation-delay: .16s; }
[data-hero-in="3"] { animation-delay: .27s; }
[data-hero-in="4"] { animation-delay: .38s; }
[data-hero-in="5"] { animation-delay: .3s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Value strip — compact icon row under the hero */
.value-strip {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: 1.8rem;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.value-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  color: var(--accent);
}
.value-item h3 { font-size: .98rem; margin-bottom: .15rem; }
.value-item p { font-size: .84rem; color: var(--cream-3); }

/* Stats bar */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 2.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  margin-top: .6rem;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--cream-3);
  text-transform: uppercase;
}

/* About */
.about { padding-block: clamp(4rem, 8vw, 6rem); }
.about-layout {
  display: grid;
  gap: 0;
  max-width: 1760px;
  margin-inline: auto;
  padding-inline: clamp(0px, 2vw, 1.5rem);
}
.about-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px 20px 0 0;
}
.about-figure-caption {
  position: absolute;
  z-index: 2;
  left: 1.6rem; right: 1.6rem; bottom: 1.6rem;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.9);
}
.about-figure-caption em { color: var(--accent); font-style: normal; }

.about-copy { padding: 2.4rem var(--gutter); }
.about-headline {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}
.about-copy .lede { margin-top: 1.2rem; }

.about-process {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.8rem;
}
.process-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .9rem;
}
.process-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}
.process-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.process-icon svg { width: 18px; height: 18px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.process-step p { color: var(--cream-3); font-size: .92rem; }

.pull-line {
  margin-top: 2.4rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.about-credentials {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .86rem;
  color: var(--cream-3);
}
.credential svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }

.about-location {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--cream-3);
}
.about-location svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
.about-cta { margin-top: 1.8rem; }

/* Services */
.services { padding-block: clamp(5rem, 10vw, 8rem); background: var(--bg-2); }
.services-head { max-width: 56ch; margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  gap: 1.4rem;
}
.services-callout {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
}
.services-callout svg {
  width: 30px; height: 30px;
  flex-shrink: 0;
  color: var(--accent);
}
.services-callout p {
  color: var(--cream);
  font-size: 1.05rem;
}
.services-callout strong { color: var(--accent); font-weight: 600; }

/* Why */
.why { padding-block: clamp(4.5rem, 9vw, 7rem); }
.why-grid {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.4rem;
}
.why-item p {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

/* Columns / opinion */
.columns { padding-block: clamp(5rem, 10vw, 8rem); background: var(--bg-2); }
.columns-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.columns-figure { aspect-ratio: 4 / 5; max-width: 420px; }
.columns-cta-row {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.columns-soon {
  font-size: .85rem;
  color: var(--cream-3);
  font-style: italic;
}

/* Contact */
.contact { padding-block: clamp(5rem, 10vw, 8rem); }
.contact-grid {
  display: grid;
  gap: 3rem;
}
.contact-head { max-width: 50ch; }
.contact-photo {
  width: 96px;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.6rem;
  border-radius: 14px;
}
.contact-photo .figure-tag { display: none; }
.contact-meta {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--cream-3);
  font-size: .92rem;
}
.contact-meta strong { color: var(--cream-2); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.6rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
}
.footer-logo img { height: 24px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: .88rem;
  color: var(--cream-3);
}
.footer-links a:hover { color: var(--cream); }
.footer-social {
  display: flex;
  gap: .8rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--cream-3);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.footer-bottom {
  font-size: .8rem;
  color: var(--cream-3);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 800;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #0b1a10;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.5);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px -8px rgba(0,0,0,.6); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* =============================================================
   7. Effects
   ============================================================= */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:nth-child(4n) { border-right: 0; }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-process { grid-template-columns: repeat(3, 1fr); }
  .about-credentials { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }

  .about-layout { grid-template-columns: .82fr 1.18fr; align-items: stretch; }
  .about-figure { aspect-ratio: auto; height: 100%; border-radius: 20px 0 0 20px; }
  .about-copy { padding: 3.2rem clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
  .about-credentials { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .columns-grid { grid-template-columns: .8fr 1.2fr; }
  .columns-grid .columns-figure { order: 2; }
  .columns-grid .columns-copy { order: 1; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .hero-bg { object-position: 78% 50%; }
  .hero-scrim {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10,12,18,0.86) 32%, rgba(10,12,18,0.35) 58%, rgba(10,12,18,0.05) 78%),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%, transparent 82%, rgba(10,12,18,0.5) 100%);
  }
}

@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3.2rem, 4.6vw, 4.6rem); }
}

/* =============================================================
   9. Reduced-motion — only intrusive effects gated
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; opacity: 0; pointer-events: none; }
  html.js .reveal { transition-duration: .35s; }
  [data-hero-in] { animation-duration: .4s; }
}
