/* ============================================================
   Nexus Pointe Technologies
   ------------------------------------------------------------
   Tokens first. One type scale, one 8pt spacing rhythm, four text
   colours (all AA on the page background), four radii. A value that
   isn't on these scales is a bug, not a decision.

   The silver hairline and the chrome gradient come from the logo's
   chrome lettering; the ring-and-dot `.node` is the connector that
   ends every trace in the logo's wings.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #04060d;
  --surface: rgba(255, 255, 255, .04);
  --surface-lift: rgba(255, 255, 255, .06);
  --line: rgba(201, 210, 222, .12);
  --line-strong: rgba(201, 210, 222, .24);

  /* Text — four levels, each ≥ 6.7:1 on --bg */
  --ink: #e7eefb;
  --body: #9db0d4;
  --muted: #7f95bd;
  --accent: #38bdf8;

  /* Brand */
  --blue: #3b82f6;
  --grad: linear-gradient(120deg, #2563eb, #0ea5e9);
  --grad-text: linear-gradient(100deg, #7dd3fc, #60a5fa);
  --chrome: linear-gradient(180deg, #f4f7fb 0%, #c9d4e2 48%, #8fa0b6 100%);

  /* Type scale */
  --t-12: 12px;
  --t-14: 14px;
  --t-16: 16px;
  --t-18: 18px;
  --t-22: 22px;
  --t-28: 28px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec { position: relative; padding: 96px 0; scroll-margin-top: 120px; }

/* ---------- background layers ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(37, 99, 235, .20) 0%, transparent 60%),
    radial-gradient(800px 500px at 90% 15%, rgba(14, 165, 233, .12) 0%, transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(30, 64, 175, .16) 0%, transparent 60%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 210, 222, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 210, 222, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 80;
  pointer-events: none;
}

/* ---------- headings ---------- */
h1, h2, h3 { color: var(--ink); font-family: var(--display); }

h2 {
  font-variation-settings: 'wdth' 108;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -.005em;
}

.sec-head { margin-bottom: 56px; max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-sub { color: var(--body); margin-top: 16px; max-width: 460px; }

/* The connector from the logo's wings: a ring with a lit centre. */
.node {
  display: inline-block;
  flex: none;
  position: relative;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.node::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].rv-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-sm);
  padding: 16px 24px;
  font: 600 var(--t-14)/1 var(--text);
  white-space: nowrap;
  transition: box-shadow .25s, transform .2s, border-color .25s, background .25s;
}
.btn:active { transform: translateY(1px); }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 32px; font-size: var(--t-16); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 32px rgba(59, 130, 246, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 0 48px rgba(59, 130, 246, .6), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-1px); }

.btn-glass {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-glass:hover { border-color: rgba(125, 211, 252, .55); background: rgba(56, 189, 248, .08); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-14);
  font-weight: 600;
  color: var(--accent);
  transition: gap .25s;
}
.link-more:hover { gap: 16px; }

/* ---------- header ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: linear-gradient(rgba(4, 6, 13, .55), transparent);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(6, 10, 22, .78);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 16px 48px rgba(2, 6, 16, .55);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 120px;
  transition: height .35s;
}
.nav.scrolled .nav-inner { height: 88px; }

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 96px;
  width: auto;
  filter: drop-shadow(0 0 24px rgba(56, 130, 246, .5));
  transition: height .35s;
}
.nav.scrolled .brand-logo { height: 64px; }

.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a {
  position: relative;
  font-size: var(--t-14);
  font-weight: 500;
  color: var(--body);
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
  transition: right .3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }
.nav-cta { flex: none; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(6, 10, 22, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.mobile-menu a:not(.btn) {
  padding: 16px 0;
  font-size: var(--t-16);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }
.nav-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 200px 24px 96px;
  overflow: hidden;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(56, 189, 248, .3);
  background: rgba(56, 189, 248, .08);
  color: var(--accent);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: var(--t-12);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* Wide capitals, so the headline rhymes with the logo's wordmark. */
.hero h1 {
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  font-size: clamp(30px, 5.1vw, 64px);
  line-height: 1.08;
  letter-spacing: .004em;
  text-transform: uppercase;
  margin-top: 32px;
}
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  animation: wordIn .9s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(.1s + var(--i) * .09s);
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 32px auto 0;
  font-size: var(--t-18);
  color: var(--body);
  max-width: 620px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin: 32px auto 0;
  max-width: 880px;
}
.services span {
  font-size: var(--t-12);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* ---------- why: an open list, no cards ---------- */
.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.why-item { padding: 32px 32px 40px; border-bottom: 1px solid var(--line); }
.why-item:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.why-item svg { width: 24px; height: 24px; color: var(--accent); }
.why-item h3 {
  font-variation-settings: 'wdth' 100;
  font-size: var(--t-18);
  font-weight: 700;
  margin: 16px 0 8px;
}
.why-item p { font-size: var(--t-14); color: var(--body); }
.why-item b { color: var(--accent); font-weight: 700; }

/* ---------- solutions: two leads, then three ---------- */
.sol-lead, .sol-row { display: grid; gap: 16px; }
.sol-lead { grid-template-columns: repeat(2, 1fr); margin-bottom: 16px; }
.sol-row { grid-template-columns: repeat(3, 1fr); }

.sol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.sol svg { width: 28px; height: 28px; color: var(--accent); }
.sol h3 {
  font-variation-settings: 'wdth' 100;
  font-size: var(--t-16);
  font-weight: 600;
}
.sol-big { padding: 48px 32px; gap: 24px; background: var(--surface-lift); }
.sol-big svg { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(56, 189, 248, .45)); }
.sol-big h3 { font-size: var(--t-22); font-variation-settings: 'wdth' 106; }
#solutions .link-more { display: flex; width: fit-content; margin: 32px auto 0; }

/* ---------- industries ---------- */
.ind-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.ind-panel .sec-head { margin-bottom: 0; }
.ind-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.ind-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--t-14);
  color: var(--ink);
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 0 32px; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.s-num {
  display: block;
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-size: var(--t-28);
  font-weight: 800;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps h3 {
  font-variation-settings: 'wdth' 100;
  font-size: var(--t-18);
  font-weight: 700;
  margin: 16px 0 8px;
}
.steps p { font-size: var(--t-14); color: var(--body); }

/* ---------- founder: the page's peak, outside the card grid ---------- */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.founder-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.founder-body h2 { font-size: clamp(28px, 3.4vw, 40px); }
.founder-body .role {
  font-size: var(--t-12);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 8px 0 24px;
}
.founder-body .bio { font-size: var(--t-18); line-height: 1.75; color: var(--body); max-width: 560px; }
.founder-body .bio strong { color: var(--ink); font-weight: 600; }
.pull {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: var(--t-22);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  max-width: 560px;
}

/* ---------- testimonial: quiet, no card ---------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-mark { width: 32px; height: 24px; color: var(--accent); margin: 0 auto; }
.quote blockquote p {
  margin-top: 24px;
  font-size: var(--t-22);
  line-height: 1.7;
  color: var(--ink);
}
.quote figcaption { margin-top: 24px; font-size: var(--t-14); color: var(--muted); }
.quote figcaption strong { color: var(--accent); font-weight: 600; }

/* ---------- closing call to action ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 32px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(96, 165, 250, .3);
  background:
    radial-gradient(500px 300px at 50% -20%, rgba(37, 99, 235, .38) 0%, transparent 65%),
    radial-gradient(400px 260px at 90% 120%, rgba(14, 165, 233, .22) 0%, transparent 60%),
    #0a1327;
  box-shadow: 0 0 80px rgba(37, 99, 235, .15);
}
.cta-panel p { margin: 16px auto 0; color: var(--body); max-width: 440px; }
.cta-panel .btn { margin-top: 32px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.footer .brand { justify-content: center; }
.f-logo { height: 96px; width: auto; margin: 0 auto; filter: drop-shadow(0 0 24px rgba(37, 99, 235, .4)); }
.f-mail { display: inline-block; margin-top: 24px; font-size: var(--t-16); font-weight: 600; color: var(--accent); transition: color .2s; }
.f-mail:hover { color: var(--ink); }
.f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 24px; }
.f-links a { font-size: var(--t-14); color: var(--body); transition: color .2s; }
.f-links a:hover { color: var(--ink); }
.f-copy { margin-top: 24px; font-size: var(--t-12); color: var(--muted); }

/* ============================================================
   About — "From Survival to Innovation"
   ============================================================ */
.page-hero {
  position: relative;
  padding: 240px 0 96px;
  text-align: center;
  overflow: hidden;
}
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.ph-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-variation-settings: 'wdth' 118;
  font-weight: 800;
  font-size: clamp(28px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: .004em;
  text-transform: uppercase;
}
.ph-kicker {
  font-size: var(--t-12);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.ph-sub { margin-top: 24px; font-size: var(--t-16); color: var(--muted); }

.story { padding: 40px 0 64px; }
.story-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.story-side { position: sticky; top: 140px; }
.photo-card { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.photo-card img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }
.side-quote { padding: 24px 8px 8px; }
.side-quote .quote-mark { margin: 0; width: 24px; height: 18px; }
.side-quote blockquote p { margin-top: 16px; font-size: var(--t-16); line-height: 1.7; color: var(--ink); }
.side-quote figcaption { margin-top: 16px; font-size: var(--t-12); color: var(--accent); font-weight: 600; }

.story-body { max-width: 640px; }
.story-body p { font-size: var(--t-18); line-height: 1.9; color: var(--body); margin-bottom: 32px; }
.story-body .lead {
  font-family: var(--display);
  font-variation-settings: 'wdth' 104;
  font-size: clamp(20px, 2.6vw, var(--t-28));
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 40px;
}
.story-body .highlight {
  font-size: var(--t-18);
  font-weight: 600;
  color: var(--ink);
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  line-height: 1.7;
}
.creed-intro { font-weight: 600; color: var(--ink) !important; margin-bottom: 24px !important; }
.creed { display: grid; gap: 16px; margin: 0 0 32px; }
.creed li {
  font-family: var(--display);
  font-variation-settings: 'wdth' 104;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.creed li b { font-weight: 700; }

.story-close {
  padding: 96px 0 120px;
  text-align: center;
  background: radial-gradient(600px 340px at 50% 45%, rgba(37, 99, 235, .14) 0%, transparent 65%);
}
.close-logo { height: 200px; width: auto; margin: 0 auto; filter: drop-shadow(0 0 40px rgba(37, 99, 235, .5)); }
.close-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-size: clamp(14px, 1.8vw, var(--t-18));
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.story-close .btn { margin-top: 40px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .22);
  color: var(--accent);
}
.contact-chip svg { width: 24px; height: 24px; }
.contact-card h2 { margin-top: 24px; font-size: var(--t-28); }
.contact-lead { color: var(--body); margin: 16px auto 0; max-width: 440px; font-size: var(--t-16); }
.email-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; }
.email {
  font-family: var(--display);
  font-variation-settings: 'wdth' 104;
  font-size: clamp(var(--t-16), 2.4vw, var(--t-22));
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px dashed rgba(125, 211, 252, .45);
  padding-bottom: 2px;
  word-break: break-all;
  transition: color .2s, border-color .2s;
}
.email:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 var(--t-12)/1 var(--text);
  color: var(--body);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.copy-btn:hover { color: var(--ink); border-color: rgba(125, 211, 252, .6); background: rgba(56, 189, 248, .08); }
.copy-btn.copied { color: #7ef0c0; border-color: rgba(126, 240, 192, .5); }
.contact-card .btn { margin-top: 32px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
  .nav-inner { height: 96px; }
  .nav.scrolled .nav-inner { height: 80px; }
  .brand-logo { height: 72px; }
  .nav.scrolled .brand-logo { height: 56px; }

  .why-list { grid-template-columns: 1fr 1fr; }
  .why-item:not(:nth-child(3n + 1)) { border-left: 0; }
  .why-item:nth-child(even) { border-left: 1px solid var(--line); }

  .ind-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }

  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 420px; }

  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-side { position: static; max-width: 460px; margin: 0 auto; }
  .story-body { margin: 0 auto; }
}

@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding-top: 160px; }
  .hero-cta .btn, .story-close .btn { width: 100%; }

  .why-list { grid-template-columns: 1fr; }
  .why-item { padding: 24px 0 32px; }
  .why-item:nth-child(even) { border-left: 0; }

  .sol-lead { grid-template-columns: 1fr; }
  .sol-big { padding: 32px 24px; }
  .sol-row { grid-template-columns: 1fr 1fr; }
  .sol-row .sol:last-child { grid-column: span 2; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding: 0; border-left: 0; }

  .ind-list { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px; }
  .page-hero { padding: 176px 0 64px; }
  .story-close { padding: 64px 0 80px; }
  .close-logo { height: 140px; }
  .f-logo { height: 80px; }
}

/* ============================================================
   Reduced motion — everything still reads, nothing moves
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero h1 .w { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .btn:hover svg { transform: none; }
}
