/* =========================================================
   Vizyonevi — 2026
   ========================================================= */

:root {
  --navy-950: #020f1a;
  --navy-900: #041b2d;
  --navy-850: #05223a;
  --navy-800: #062a45;
  --navy-700: #063352;   /* logo */
  --navy-600: #0b4870;
  --navy-500: #1a5f8e;
  --sky: #8ec5ec;
  --sky-soft: #cfe5f5;

  --red: #ee3745;        /* logo dot */
  --red-600: #d42333;
  --red-glow: rgba(238, 55, 69, .38);

  --ink: #0a1e2e;
  --text: #34485b;
  --muted: #6b7d8e;
  --line: rgba(6, 51, 82, .12);
  --line-strong: rgba(6, 51, 82, .2);
  --paper: #f3f6f9;
  --white: #fff;

  --on-dark: #e9f1f8;
  --on-dark-muted: rgba(233, 241, 248, .66);
  --line-dark: rgba(255, 255, 255, .1);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }

/* ---------- typography helpers ---------- */
.dot { font-style: normal; color: var(--red); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(238, 55, 69, .14); }
.eyebrow--light { color: var(--sky); }

.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -.035em; line-height: 1.02; }
.sec-head .lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--text); max-width: 620px; }
.sec-head--light h2 { color: #fff; }
.sec-head--light .lead { color: var(--on-dark-muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: inherit;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.005em; line-height: 1.2;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease), background-color .3s, box-shadow .35s var(--ease), color .3s, border-color .3s;
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--red { --bg: var(--red); --fg: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn--red::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--red:hover { --bg: var(--red-600); transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--red-glow); }
.btn--red:hover::after { transform: translateX(120%); }
.btn--ghost { --fg: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.round-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-size: 20px; color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.05); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), #ff7a84); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--red); opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background-color .3s;
  will-change: transform;
}
.cursor.is-on { opacity: .9; }
.cursor.is-hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: .22; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 14px 0 auto 0; z-index: 100; padding: 0 var(--gutter); pointer-events: none; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-130%); }
.nav {
  pointer-events: auto;
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 9px 9px 9px 24px;
  border-radius: 999px;
  background: rgba(4, 27, 45, .42);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .4s, box-shadow .4s, padding .4s;
}
.site-header.is-scrolled .nav { background: rgba(4, 27, 45, .82); box-shadow: 0 20px 50px -20px rgba(2, 15, 26, .55); }
.nav__logo img { height: 25px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: rgba(233, 241, 248, .78);
  transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: radial-gradient(120% 70% at 100% 0%, rgba(238,55,69,.18), transparent 50%), var(--navy-950);
  padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu[hidden] { display: flex; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu li { overflow: hidden; }
.mobile-menu ul a { display: block; padding: 8px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 9vw, 48px); letter-spacing: -.03em; color: #fff; transform: translateY(100%); transition: transform .6s var(--ease-out); }
.mobile-menu.is-open ul a { transform: none; }
.mobile-menu li:nth-child(2) a { transition-delay: .04s; } .mobile-menu li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu li:nth-child(4) a { transition-delay: .12s; } .mobile-menu li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu__foot { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-muted); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 520px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav { padding-left: 20px; }
  .nav__logo img { height: 22px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 40px;
  background:
    radial-gradient(60% 70% at 75% 45%, rgba(26, 95, 142, .38), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(11, 72, 112, .4), transparent 70%),
    var(--navy-900);
  color: var(--on-dark);
  overflow: hidden; isolation: isolate;
}
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 80%);
}
.hero::after { /* bottom fade */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--navy-950));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -1; width: 46vmax; height: 46vmax; right: -12vmax; top: -16vmax; border-radius: 50%; background: radial-gradient(circle, rgba(238,55,69,.16), transparent 62%); filter: blur(10px); pointer-events: none; }
.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title {
  font-size: clamp(46px, 7vw, 104px);
  line-height: .98; letter-spacing: -.045em; font-weight: 700; color: #fff;
  max-width: 11ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.js .hero.is-ready .hero__title .line > span { transform: none; }
.js .hero.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .2s; }

.rotator { position: relative; display: inline-block; }
.rotator__word {
  display: inline-block;
  background: linear-gradient(100deg, #fff 10%, var(--sky) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform, opacity;
}
.hero__lead { margin-top: 34px; max-width: 560px; font-size: clamp(17px, 1.45vw, 19.5px); color: var(--on-dark-muted); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__bottom { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.js .hero.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .45s; }
.js .hero.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: .6s; }
.js .hero.is-ready .hero__bottom { opacity: 1; transform: none; transition-delay: .9s; }

.hero__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 56px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; color: rgba(233,241,248,.5); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .16em; color: rgba(233,241,248,.7); transition: color .3s; }
.scroll-cue:hover { color: #fff; }
.scroll-cue__line { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.18); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

@media (max-width: 900px) {
  .hero { padding-top: 0; }
  .hero__inner { justify-content: flex-start; padding-top: calc(92px + min(27vw, 110px) * 2.3 + 12px); }
  .hero__geo { display: none; }
  .hero__title { max-width: none; }
}
@media (max-width: 600px) {
  .hero__bottom { display: none; }
  .hero__title { font-size: min(11vw, 56px); }
  .hero__eyebrow { margin-bottom: 22px; }
  .hero__lead { font-size: 16px; margin-top: 24px; }
  .hero__actions { margin-top: 28px; gap: 10px; }
  .hero__actions .btn { padding: 15px 22px; font-size: 15px; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--navy-950); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 26px 0; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 52px); letter-spacing: -.03em; color: #fff; white-space: nowrap; line-height: 1; }
.ticker span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(233, 241, 248, .55); }
.ticker i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   TRUST / LOGOS
   ========================================================= */
.trust { background: #fff; padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.trust__head { text-align: center; margin-bottom: 44px; }
.trust__text { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.trust__text strong { color: var(--ink); font-weight: 700; }
.logos { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__row { overflow: hidden; }
.logos__track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.logos__row--rev .logos__track { animation-direction: reverse; animation-duration: 80s; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos img {
  width: 168px; height: 84px; object-fit: contain; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  filter: grayscale(1) contrast(1.05); opacity: .62; mix-blend-mode: multiply;
  transition: filter .4s, opacity .4s, border-color .4s, transform .4s var(--ease);
}
.logos img:hover { filter: none; opacity: 1; border-color: var(--line-strong); transform: translateY(-3px); }

/* =========================================================
   SERVICES / BENTO
   ========================================================= */
.services { background: var(--paper); }
.services .sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 4;
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, opacity .9s var(--ease-out);
}
.card::before { /* spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(238, 55, 69, .09), transparent 45%);
}
.card::after { /* corner dot */
  content: ""; position: absolute; top: 26px; right: 26px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); transform: scale(0); transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(6, 51, 82, .35); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scale(1); }
.card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.card__num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.card__icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--paper); fill: none; stroke: var(--navy-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: background-color .4s, stroke .4s; }
.card:hover .card__icon { background: var(--navy-700); stroke: #fff; }
.card h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.025em; margin-bottom: 14px; }
.card > p, .card--maturity__body > p { font-size: 16px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 26px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--navy-700); }

/* dark code card */
.card--dark, .card--ai { grid-column: span 6; }
.card--dark { grid-column: span 7; background: var(--navy-900); border-color: transparent; color: var(--on-dark-muted); }
.card--ai { grid-column: span 5; }
.card--dark h3 { color: #fff; }
.card--dark > p { color: var(--on-dark-muted); }
.card--dark .card__icon { background: rgba(255,255,255,.07); stroke: #fff; }
.card--dark:hover .card__icon { background: var(--red); }
.card--dark .card__num { color: rgba(233,241,248,.5); }
.card--dark .tags li { background: rgba(255,255,255,.07); color: var(--sky-soft); }
.card--dark::before { background: radial-gradient(460px circle at var(--mx) var(--my), rgba(142, 197, 236, .12), transparent 45%); }

.code { margin-top: 26px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.code__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.code__bar i:first-child { background: var(--red); }
.code__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: rgba(233,241,248,.45); }
.code pre { margin: 0; padding: 16px 18px 18px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; color: #dbe8f3; overflow-x: auto; }
.code b { font-weight: 400; }
.code .k { color: #ff8a93; } .code .f { color: var(--sky); } .code .s { color: #a8e0b6; } .code .n { color: #f6c177; } .code .c { color: rgba(233,241,248,.42); }
.code .cl { display: inline-block; white-space: pre; }
.js .card--code .cl { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.js .card--code.is-typing .cl { opacity: 1; transform: none; }
.card--code.is-typing .cl:last-child::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* AI chat card */
.chat { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 196px; }
.chat__msg { max-width: 92%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.chat__msg.is-in { opacity: 1; transform: none; }
.chat__msg--q { align-self: flex-end; background: var(--navy-700); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--a { align-self: flex-start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; }
.chat__msg--a::before { content: "Vizyon YZ"; display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--red); margin-bottom: 4px; }
.chat__typing { align-self: flex-start; display: none; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.chat__typing.is-in { display: inline-flex; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__bars { display: grid; gap: 6px; margin-top: 10px; }
.chat__bars:empty { display: none; }
.chat__bar { display: grid; grid-template-columns: 82px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.chat__bar span:nth-child(2) { height: 7px; border-radius: 6px; background: var(--line); overflow: hidden; }
.chat__bar span:nth-child(2) i { display: block; height: 100%; width: var(--w); background: var(--navy-600); border-radius: 6px; transform-origin: 0 50%; animation: grow 1s var(--ease-out) both; }
.chat__bar:first-child span:nth-child(2) i { background: var(--red); }
.chat__bar b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); text-align: right; }
@keyframes grow { from { transform: scaleX(0); } }

/* maturity card */
.card--maturity { grid-column: span 12; flex-direction: row; align-items: stretch; gap: 40px; background: linear-gradient(120deg, #fff 55%, #fff4f5); }
.card--maturity__body { flex: 1 1 56%; display: flex; flex-direction: column; align-items: flex-start; }
.card--maturity__body .btn { margin-top: 28px; }
.card--maturity h3 { max-width: 560px; }
.card--maturity__body > p { max-width: 600px; }
.mini-levels { flex: 1 1 44%; display: flex; align-items: flex-end; gap: 10px; min-height: 230px; }
.mini-levels span {
  flex: 1; height: var(--h); display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px; border-radius: 14px 14px 6px 6px;
  background: linear-gradient(to top, var(--navy-700), var(--navy-500));
  color: rgba(255,255,255,.86); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em;
  transition: height .8s var(--ease-out);
}
.mini-levels span.is-top { background: linear-gradient(to top, var(--red-600), #ff6b77); }
.js .card--maturity:not(.is-in) .mini-levels span { height: 6%; }
.card--maturity .mini-levels span:nth-child(2) { transition-delay: .08s; } .card--maturity .mini-levels span:nth-child(3) { transition-delay: .16s; }
.card--maturity .mini-levels span:nth-child(4) { transition-delay: .24s; } .card--maturity .mini-levels span:nth-child(5) { transition-delay: .32s; }

@media (max-width: 1080px) {
  .card, .card--dark, .card--ai { grid-column: span 6; }
  .card:nth-child(5) { grid-column: span 12; }
  .card--dark, .card--ai { grid-column: span 12; }
}
@media (max-width: 720px) {
  .bento { gap: 14px; }
  .card, .card--dark, .card--ai, .card:nth-child(5) { grid-column: span 12; padding: 26px 22px; }
  .card--maturity { flex-direction: column; gap: 30px; }
  .mini-levels { min-height: 170px; gap: 6px; }
  .mini-levels span { font-size: 9.5px; }
  .code pre { font-size: 11.5px; padding: 14px; scrollbar-width: none; }
  .code pre::-webkit-scrollbar { display: none; }
}

/* =========================================================
   MATURITY ASSESSMENT
   ========================================================= */
.maturity { background: var(--navy-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.maturity__grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(238,55,69,.12), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(26,95,142,.35), transparent 70%);
}
.maturity__grid-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  opacity: .5;
}
.maturity .sec-head { margin-bottom: 64px; }
.maturity__wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start; }
.assess, .result { border-radius: var(--radius-lg); background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); }
.assess { padding: 14px 30px 30px; }
.q { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.q__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.q__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.q__val { font-family: var(--font-mono); font-size: 12.5px; color: var(--sky); white-space: nowrap; }
.q__val b { color: #fff; font-weight: 500; }
.q__hint { font-size: 14px; color: var(--on-dark-muted); min-height: 2.9em; margin-bottom: 14px; line-height: 1.45; }
.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red) var(--p), rgba(255,255,255,.12) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--red); box-shadow: 0 0 0 6px rgba(238,55,69,.18); transition: transform .2s var(--ease), box-shadow .2s; }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 6px solid var(--red); box-shadow: 0 0 0 6px rgba(238,55,69,.18); }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(238,55,69,.22); }
.q__ticks { display: flex; justify-content: space-between; padding: 4px 6px 0; font-family: var(--font-mono); font-size: 11px; color: rgba(233,241,248,.35); }
.assess__note { margin-top: 22px; font-size: 13.5px; color: rgba(233,241,248,.5); line-height: 1.55; }

.result { position: sticky; top: 100px; padding: 24px 30px 30px; }
.radar { width: 100%; height: auto; max-height: 420px; overflow: visible; }
.radar__grid polygon { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1; }
.radar__grid polygon:last-child { stroke: rgba(255,255,255,.2); }
.radar__axes line { stroke: rgba(255,255,255,.1); stroke-width: 1; }
.radar__shape { fill: rgba(238,55,69,.22); stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(238,55,69,.45)); }
.radar__points circle { fill: #fff; stroke: var(--red); stroke-width: 3; }
.radar__labels text { font-family: var(--font-display); font-size: 13px; font-weight: 600; fill: rgba(233,241,248,.82); }
.radar__labels text.lvl { font-family: var(--font-mono); font-size: 10px; font-weight: 400; fill: rgba(233,241,248,.32); }
.result__body { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: start; margin-top: 10px; }
.result__score { grid-row: span 1; display: flex; align-items: baseline; gap: 6px; }
.result__num { font-family: var(--font-display); font-weight: 700; font-size: 64px; letter-spacing: -.05em; line-height: 1; color: #fff; }
.result__max { font-family: var(--font-mono); color: var(--on-dark-muted); font-size: 14px; }
.result__badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.result__level p { font-size: 15px; color: var(--on-dark-muted); line-height: 1.5; }
.result__focus { grid-column: 1 / -1; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.result__focus-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.result__focus li { position: relative; padding-left: 22px; font-size: 15px; color: var(--on-dark); margin-bottom: 6px; line-height: 1.5; }
.result__focus li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--red); }
.result__focus li b { color: #fff; font-weight: 700; }
.result__body .btn { grid-column: 1 / -1; margin-top: 12px; }

@media (max-width: 1000px) {
  .maturity__wrap { grid-template-columns: 1fr; }
  .result { position: relative; top: 0; order: -1; }
}
@media (max-width: 560px) {
  .assess { padding: 6px 20px 22px; }
  .result { padding: 18px 18px 22px; }
  .result__body { grid-template-columns: 1fr; }
  .result__num { font-size: 52px; }
}

/* =========================================================
   APPROACH
   ========================================================= */
.approach { background: #fff; }
.approach__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.approach__sticky { position: sticky; top: 110px; }
.approach__photo { margin: 44px 0 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.1; }
.approach__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.approach__photo:hover img { transform: scale(1.08); }
.approach__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(2,15,26,.65); backdrop-filter: blur(8px); color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }

.steps { position: relative; padding-left: 0; }
.steps__line { position: absolute; left: 31px; top: 34px; bottom: 34px; width: 2px; background: var(--line); border-radius: 2px; }
.steps__line span { position: absolute; inset: 0 0 auto 0; height: 100%; background: linear-gradient(to bottom, var(--red), #ff7a84); transform-origin: 50% 0; transform: scaleY(var(--progress, 0)); border-radius: 2px; }
.steps__line span::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(238,55,69,.16); transform: scaleX(1); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 30px 0; }
.step + .step { border-top: 1px solid transparent; }
.step__num {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 15px; color: var(--navy-700);
  transition: background-color .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.step.is-active .step__num { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: scale(1.06); }
.step h3 { font-size: clamp(24px, 2.3vw, 30px); margin: 14px 0 12px; }
.step p { font-size: 16.5px; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--navy-700); background: #fff; }
.chips--lg li { font-size: 14.5px; padding: 8px 16px; }

@media (max-width: 960px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__sticky { position: relative; top: 0; }
  .approach__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step__num { width: 48px; height: 48px; font-size: 13px; }
  .steps__line { left: 23px; }
  .step h3 { margin-top: 8px; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.stats__bg { position: absolute; inset: -12% 0; z-index: -2; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.05); }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(2,15,26,.55) 35%, rgba(2,15,26,.6) 65%, var(--navy-950) 100%), linear-gradient(90deg, rgba(6,51,82,.6), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 10px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: flex; align-items: flex-start; font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 6.4vw, 92px); letter-spacing: -.05em; line-height: 1; color: #fff; }
.stat__num b { font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--red); font-size: .6em; margin-left: 4px; margin-top: .06em; }
.stat__label { display: block; margin-top: 18px; font-size: 16px; color: var(--on-dark); line-height: 1.45; }
.stat__label small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: rgba(233,241,248,.5); }
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .stat { padding: 0 0 0 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat__label { font-size: 14.5px; }
}

/* =========================================================
   WORK
   ========================================================= */
.work { background: var(--paper); overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.work__nav { display: flex; gap: 10px; flex: none; }
.work__scroller {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2)) 20px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none; cursor: grab;
}
.work__scroller::-webkit-scrollbar { display: none; }
.work__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.work__scroller.is-dragging * { pointer-events: none; user-select: none; }
.work__spacer { flex: 0 0 1px; }
.work-card {
  flex: 0 0 clamp(290px, 34vw, 440px); scroll-snap-align: start;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(6,51,82,.4); }
.work-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.work-card:hover .work-card__img img { transform: scale(1.06); }
.work-card__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy-700); font-size: 12.5px; font-weight: 700; }
.work-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-card__client { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.work-card h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 18px; }
.work-card__stat { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.work-card__stat b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -.03em; color: var(--red); margin-bottom: 2px; }
@media (max-width: 760px) {
  .work__head { flex-direction: column; align-items: flex-start; }
  .work__nav { display: none; }
  .work-card { flex-basis: 82vw; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: #fff; }
.quote {
  margin: 0 0 clamp(64px, 9vw, 120px);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.035em; color: var(--ink);
  max-width: 1100px;
}
.quote .w { opacity: .16; transition: opacity .3s; }
.quote .w.is-lit { opacity: 1; }
.quote .w.is-red { color: var(--red); }
.pillars { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; margin-bottom: clamp(70px, 9vw, 120px); }
.pillar { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); }
.pillar__label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.pillar p { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.pillar .chips { margin-top: 0; }

.journey__title { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 44px; }
.journey__list { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.journey__list::before, .journey__list::after { content: ""; position: absolute; left: 0; right: 0; top: 62px; height: 2px; background: var(--line); }
.journey__list::after { background: linear-gradient(90deg, var(--navy-500), var(--navy-700) 70%, var(--red)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s var(--ease-out) .2s; }
.journey.is-in .journey__list::after { transform: scaleX(1); }
.journey__list li { position: relative; padding-right: 18px; }
.journey__year { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.04em; color: var(--navy-700); line-height: 1; margin-bottom: 40px; }
.journey__list li::before { content: ""; position: absolute; left: 0; top: 55px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-700); transform: scale(0); transition: transform .6s var(--ease); }
.journey.is-in .journey__list li::before { transform: scale(1); }
.journey__list li:nth-child(2)::before { transition-delay: .5s; } .journey__list li:nth-child(3)::before { transition-delay: .85s; }
.journey__list li:nth-child(4)::before { transition-delay: 1.2s; } .journey__list li:nth-child(5)::before { transition-delay: 1.55s; }
.journey__list li:nth-child(6)::before { transition-delay: 1.9s; }
.journey__list li:first-child::before { transition-delay: .2s; }
.journey__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.journey__focus { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.journey__list li.is-now .journey__year { color: var(--red); }
.journey__list li.is-now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(238,55,69,.18); animation: pulse 2.4s infinite 2.6s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(238,55,69,.45); } 70% { box-shadow: 0 0 0 14px rgba(238,55,69,0); } 100% { box-shadow: 0 0 0 0 rgba(238,55,69,0); } }

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:last-child { grid-column: span 2; }
  .journey__list { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .journey__list::before, .journey__list::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .journey__list::after { transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(180deg, var(--navy-500), var(--navy-700) 70%, var(--red)); }
  .journey.is-in .journey__list::after { transform: scaleY(1); }
  .journey__list li { padding: 0 0 30px; }
  .journey__list li::before { left: -36px; top: 6px; }
  .journey__year { margin-bottom: 8px; font-size: 28px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar:last-child { grid-column: auto; }
  .pillar { padding: 24px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.contact__glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -25vmax; bottom: -40vmax; border-radius: 50%; background: radial-gradient(circle, rgba(238,55,69,.2), transparent 60%); pointer-events: none; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 100% 0%, rgba(26,95,142,.35), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__list { margin-top: 50px; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact__list span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); padding-top: 3px; }
.contact__list a, .contact__list address { font-size: 17px; color: #fff; line-height: 1.5; }
.contact__list a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.socials { display: flex; gap: 10px; margin-top: 30px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }

.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 16px; color: var(--ink); outline: none; resize: vertical;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; }
.field span { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(11,72,112,.08); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { transform: translateY(-10px) scale(.75); color: var(--navy-600); }
.field--select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); background: #fff6f7; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.check.is-invalid span { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14.5px; min-height: 1.4em; }
.form__status.is-ok { color: #157a47; font-weight: 600; }
.form__status.is-err { color: var(--red-600); font-weight: 600; }
.form__status a { text-decoration: underline; }
.form button[disabled] { opacity: .7; pointer-events: none; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-950); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 70px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 330px; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.footer__col a { width: fit-content; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: rgba(233,241,248,.45); }
.footer__top:hover { color: #fff; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker__track, .logos__track { animation: none !important; }
  .logos__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .logos__row--rev { display: none; }
}
