/* ANIX website — brand tokens match the WebTool (static/index.html :root) */
@font-face { font-family: "Barlow SC"; src: url(../fonts/barlow-sc-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(../fonts/barlow-sc-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(../fonts/barlow-sc-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url(../fonts/barlow-sc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --red: #d63b31;
  --red-dark: #b92c24;
  --ink: #26313d;
  --ink-2: #394755;
  --muted: #66727f;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --green: #23875b;
  --head: "Barlow SC", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 49, 61, .08), 0 2px 6px rgba(38, 49, 61, .05);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 600; }
h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 600; }
h3 { font-size: 23px; font-weight: 600; }
p { margin: 0 0 1em; }
.red { color: var(--red); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.todo { background: #fff3b0; padding: 0 4px; border-radius: 3px; }

.eyebrow { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow-light { color: #ffd3cf; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 560px; }
.sub { font-size: 19px; color: var(--muted); max-width: 720px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: .02em; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: 16px; padding: 9px 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(214, 59, 49, .3); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 12px 28px rgba(214, 59, 49, .38); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-outline-white { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red); }
.arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.nav.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.brand-box { display: inline-flex; background: var(--red); border-radius: 8px; padding: 9px 13px; transition: transform .25s var(--ease); }
.brand:hover .brand-box { transform: scale(1.04); }
.brand-box svg { width: 62px; height: 19px; fill: #fff; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-family: var(--head); font-weight: 500; font-size: 17px; text-decoration: none; color: var(--ink-2); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(1200px 700px at 72% 45%, #eef2f6 0%, #fff 70%); }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#hero3d:active { cursor: grabbing; }
.hero-fallback { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: min(55vw, 760px); opacity: 0; transition: opacity .6s; pointer-events: none; mix-blend-mode: multiply; }
.no-webgl .hero-fallback { opacity: .9; }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 34%, rgba(255, 255, 255, 0) 62%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 30px; color: var(--muted); font-size: 15px; }
.hero-facts b { display: block; font-family: var(--head); font-size: 30px; color: var(--ink); font-weight: 600; line-height: 1.1; }
.hero-hint { position: absolute; right: 4%; bottom: 40px; z-index: 2; font-family: var(--head); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; animation: hintFade 1s 2.5s both; }
.hero-hint::before { content: ""; width: 26px; height: 26px; border: 2px solid var(--muted); border-radius: 50%; animation: hintSpin 3s linear infinite; border-right-color: transparent; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; border: 2px solid var(--ink-2); border-radius: 14px; transform: translateX(-50%); opacity: .55; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes hintSpin { to { transform: rotate(360deg); } }
@keyframes hintFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── intro strip under the hero ── */
.intro { padding: clamp(60px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.intro-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 70px; align-items: end; }
.intro-text { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; color: var(--ink-2); margin: 0; }
.intro-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.intro-facts li { border-top: 3px solid var(--red); padding-top: 16px; color: var(--muted); font-size: 15px; }
.intro-facts b { display: block; font-family: var(--head); font-size: clamp(30px, 3vw, 40px); font-weight: 600; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 900px) { .intro-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ── sections ── */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 56px; max-width: 820px; }
.full-cta { margin-top: 10px; }

/* gap */
.gap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gap-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gap-card p { color: var(--muted); font-size: 16px; margin: 0; }
.gap-card-anix { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 14px 32px rgba(214, 59, 49, .25); }
.gap-card-anix p { color: #ffe1de; }
.gap-card-anix .red { color: #fff; }
.gap-card-anix h3 { font-size: 28px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s var(--ease); }
.feat::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feat:hover { transform: translateY(-5px); }
.feat:hover::before { transform: scaleX(1); }
.feat p { color: var(--muted); font-size: 16px; margin: 0; }
.feat-icon { width: 52px; height: 52px; border-radius: 12px; background: #fdecea; display: grid; place-items: center; margin-bottom: 20px; }
.feat-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* showcase */
.showcase { padding: clamp(80px, 11vw, 140px) 0 0; background: linear-gradient(var(--bg-soft) 0 40%, #fff 40%); }
.browser { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(38, 49, 61, .22), 0 8px 20px rgba(38, 49, 61, .1); background: #fff; transform-origin: 50% 0; transform: perspective(1600px) rotateX(var(--tilt, 14deg)) scale(var(--sc, .94)); transition: transform .1s linear; will-change: transform; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #eef1f5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #d4d9e0; }
.browser-bar i:first-child { background: var(--red); }
.browser-bar span { margin-left: 14px; font-size: 13px; color: var(--muted); background: #fff; padding: 3px 14px; border-radius: 999px; }

/* steps */
.steps { display: grid; gap: clamp(60px, 9vw, 110px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.step-flip .step-text { order: 2; }
.step-no { font-family: var(--head); font-size: 76px; font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--red); line-height: 1; display: block; margin-bottom: 10px; }
.step-text p { color: var(--muted); font-size: 18px; max-width: 460px; }
.step-img { margin: 0; justify-self: center; width: 100%; /* definite width: the lazy image reserves its height before loading */ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease); max-width: 360px; }
.step-img img { width: 100%; }
.step-img-tall { max-width: 248px; max-height: 560px; }
.step:hover .step-img { transform: scale(1.02) rotate(-.5deg); }

/* gallery (dark) */
.section-dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-dark .eyebrow { color: #ff8a80; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.gallery { position: relative; }
#results .gallery { background: linear-gradient(160deg, #eef2f6, #e2e8ef); border-radius: 28px; padding: 34px 34px 26px; }
@media (max-width: 600px) { #results .gallery { padding: 18px 14px 16px; border-radius: 20px; } }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.gtab { font-family: var(--head); font-size: 17px; font-weight: 500; color: var(--ink-2); background: transparent; border: 1px solid #c5ced8; border-radius: 999px; padding: 9px 20px; cursor: pointer; transition: all .25s; }
.gtab:hover { border-color: var(--ink-2); color: var(--ink); }
.gtab.active { background: var(--red); border-color: var(--red); color: #fff; }
.gallery-stage { box-shadow: var(--shadow); position: relative; aspect-ratio: 986 / 700; max-height: 72vh; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #e9edf1; }
.gslide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.gslide.active { opacity: 1; transform: scale(1); }
.gslide img { width: 100%; height: 100%; object-fit: contain; }
.gslide figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; color: var(--ink); background: rgba(255, 255, 255, .92); padding: 10px 16px; border-radius: 10px; font-size: 15px; max-width: 560px; }
.gallery-progress { height: 3px; background: #dde3ea; margin-top: 18px; border-radius: 2px; overflow: hidden; }
.gallery-progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* validation */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat { border-top: 3px solid var(--red); padding-top: 22px; }
.stat-num { font-family: var(--head); font-size: clamp(48px, 6vw, 78px); font-weight: 600; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat p { color: var(--muted); font-size: 16px; margin: 0; }
.peak { display: flex; gap: 26px; align-items: center; background: var(--bg-soft); border-radius: var(--radius); padding: 28px 32px; }
.peak p { margin: 0; color: var(--ink-2); }
.peak-badge { flex: none; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--green); padding: 8px 16px; border-radius: 999px; }

/* roadmap */
.road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.road { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.road:hover { border-color: var(--red); transform: translateY(-4px); }
.road p { color: var(--muted); font-size: 16px; margin: 0; }
.soon { display: inline-block; font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: #fdecea; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.soon-future { color: #e3958e; background: #fdf6f5; }

/* about */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.photo { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-colour { opacity: 0; transition: opacity .6s var(--ease); }
.about-photo:hover .photo-colour { opacity: 1; }
.about-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: 24px; z-index: -1; }
.role { font-family: var(--head); font-size: 20px; color: var(--red); font-weight: 500; }
.about-text p:not(.eyebrow) { color: var(--ink-2); }
.team { margin-top: clamp(70px, 9vw, 110px); padding: 64px 0 24px; border-top: 1px solid var(--line); text-align: center; }
.team .eyebrow { margin-bottom: 32px; }
.team-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 140px; }
.team-names li { font-family: var(--head); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; color: var(--ink); line-height: 1.15; }
.team-frame { position: relative; display: block; width: 170px; margin: 0 auto 32px; isolation: isolate; }
.team-frame::after { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 2px solid var(--red); border-radius: 18px; z-index: -1; }
.team-pic { position: relative; display: grid; place-items: center; width: 170px; height: 170px; margin: 0; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; font-size: 40px; box-shadow: var(--shadow); }
.team-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-names li:hover .photo-colour { opacity: 1; }
.team-names li .team-role { display: block; margin-top: 10px; font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--muted); }
blockquote { margin: 28px 0 0; padding-left: 22px; border-left: 3px solid var(--red); font-family: var(--head); font-size: 24px; font-weight: 500; color: var(--ink); line-height: 1.3; }

/* contact */
.contact { background: var(--bg-soft); padding: clamp(80px, 11vw, 140px) 0;
  /* At least one screen tall (below the fixed nav), so links to #contact can always
     scroll it to the top even on tall windows -- it is the last section. */
  min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); align-items: start; gap: 80px; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); font-size: 19px; margin: 0 0 36px; max-width: 440px; }
.contact-links { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--red); max-width: 440px; }
.contact-links li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid #dde3ea; font-size: 16px; }
.contact-links span { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-links a { color: var(--ink); text-decoration: none; font-weight: 600; transition: color .2s; overflow-wrap: anywhere; }
.contact-links a:hover { color: var(--red); }
.contact-links b { color: var(--ink); font-weight: 600; }

/* contact form: no boxes, a line under each field */
.contact-form { display: grid; gap: 30px; }
.contact-form label { display: grid; gap: 2px; }
.cf-label, .cf-subjects legend { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cf-opt { font-weight: 400; color: #9aa6b2; }
.contact-form input:not([type=radio]):not([type=checkbox]), .contact-form textarea { width: 100%; font: 18px/1.4 var(--body); color: var(--ink); padding: 8px 0 10px; border: 0; border-bottom: 1px solid #c5ced8; border-radius: 0; background: transparent; transition: border-color .25s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { font-size: 15px; font-style: italic; color: #aab4be; }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom: 2px solid var(--red); padding-bottom: 9px; }
.contact-form .invalid { border-bottom: 2px solid var(--red) !important; padding-bottom: 9px !important; }
.contact-form label:has(.invalid) .cf-label { color: var(--red); }
.cf-subjects { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-subjects legend { padding: 0; margin-bottom: 10px; }
.cf-subjects.invalid legend { color: var(--red); }
.cf-subjects label { display: block; }
.cf-subjects input { position: absolute; opacity: 0; pointer-events: none; }
.cf-subjects span { display: inline-block; padding: 7px 18px; border: 1px solid #c5ced8; border-radius: 999px; cursor: pointer; font-family: var(--head); font-size: 16px; font-weight: 500; color: var(--ink-2); transition: background .25s, border-color .25s, color .25s; }
.cf-subjects span:hover { border-color: var(--ink-2); }
.cf-subjects input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.cf-subjects input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cf-subjects.invalid span { border-color: var(--red); }
.cf-count { font-family: var(--head); font-size: 13px; letter-spacing: .06em; color: #9aa6b2; text-align: right; margin-top: -24px; }
.cf-count.near { color: var(--red); }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-send { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-form .cf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 330px; }
.cf-consent input { margin-top: 2px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.cf-consent a { color: var(--ink-2); }
.cf-consent.invalid span { color: var(--red); }
.contact-form .btn { flex: none; white-space: nowrap; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.cf-status { font-size: 15px; color: var(--red); margin: -12px 0 0; }
.cf-status:empty { display: none; }
.cf-status.ok { color: var(--green); font-weight: 600; }
@media (max-width: 900px) {
  .contact { padding: 80px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-links, .contact-intro > p:not(.eyebrow) { max-width: none; }
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-send { flex-direction: column; align-items: stretch; }
  .contact-form .cf-consent { max-width: none; }
  .contact-form .btn { justify-content: center; }
}


/* footer */
.footer { background: #1b232c; color: #9aa6b2; padding: 50px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-mark { width: 90px; height: 28px; fill: var(--red); margin-bottom: 10px; }
.footer-legal { max-width: 640px; }
.footer a { color: #d5dce3; }

/* ── reveal animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser { transform: none !important; }
  .scroll-cue span, .hero-hint::before { animation: none; }
}

/* ── responsive ── */
@media (max-width: 1000px) {
  .gap-grid, .road-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-photo { max-width: 300px; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-120%); transition: transform .4s var(--ease); padding: 10px 0; margin: 0; }
  .nav-links a { padding: 14px 24px; }
  .nav-open .nav-links { transform: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); padding: 10px 0; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 64px 0 56px; }
  #hero3d { position: relative; inset: auto; height: 46vh; min-height: 300px; max-height: 420px; }
  .hero-fallback { position: relative; right: auto; top: auto; transform: none; width: 80%; margin: 0 auto; display: none; }
  .no-webgl .hero-fallback { display: block; }
  .no-webgl #hero3d { display: none; }
  .hero-fade, .scroll-cue { display: none; }
  .hero-content { padding-top: 8px; }
  .hero-hint { display: none; }
  .step, .step-flip { grid-template-columns: 1fr; gap: 30px; }
  .step-flip .step-text { order: 0; }
  .peak { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .gap-grid, .road-grid, .feat-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 20px; }
  .btn { font-size: 17px; padding: 13px 22px; }
  .gslide figcaption { position: static; border-radius: 0; }
  .gallery-stage { aspect-ratio: auto; height: auto; }
  .gslide { position: absolute; } .gslide.active { position: relative; }
}
