/* Figtree — только для вордмарка, файл лежит рядом (никаких внешних шрифтовых CDN) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/figtree-800.woff2') format('woff2');
}

/* ───────────────────────── tokens ───────────────────────── */
:root {
  --ink:        #0B1020;
  --ink-soft:   #545E78;
  --ink-faint:  #8A93A8;
  --paper:      #FFFFFF;
  --wash:       #F6F7FB;
  --hairline:   #E5E8F0;
  --night:      #070B16;
  --night-2:    #0C1226;

  --a-sky:      #0EA5E9;
  --a-indigo:   #4F46E5;
  --a-violet:   #7C3AED;
  --a-cyan:     #22D3EE;

  --grad: linear-gradient(100deg, var(--a-sky) 0%, var(--a-indigo) 52%, var(--a-violet) 100%);

  --frame: 1180px;
  --pad: 24px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(11,16,32,.04), 0 12px 32px -12px rgba(11,16,32,.14);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -0.028em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, dt { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

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

/* ───────────────────────── layout ───────────────────────── */
.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .studio h2, .contact h2 {
  font-size: clamp(30px, 4.2vw, 46px);
}
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 19px); }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; max-width: 34rem; }

.kicker {
  font-size: 13px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker-light { background: linear-gradient(100deg, var(--a-cyan), #A78BFA); -webkit-background-clip: text; background-clip: text; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* ───────────────────────── buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 20px; border: 0; border-radius: 10px;
  font-size: 16px; font-weight: 530; letter-spacing: -0.01em;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.chev { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.btn:hover .chev, .link-arrow:hover .chev { transform: translateX(3px); }

.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 8px 24px -12px rgba(11,16,32,.6); }
.btn-primary::before { content: none; }
.btn-primary:hover { background: #151C33; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); }
.btn-light:hover { background: #F2F4FA; }
.btn-outline { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--ink-soft); padding: 10px 12px; font-size: 15px; }
.btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; padding: 15px 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 540; color: var(--a-indigo);
}
.link-arrow:hover { color: var(--a-violet); }
.link-quiet { color: var(--ink-faint); font-size: 15px; }

/* ───────────────────────── nav ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav.is-stuck {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav.is-dark .nav-links a, .nav.is-dark .btn-ghost { color: rgba(255,255,255,.72); }
.nav.is-dark .nav-links a:hover, .nav.is-dark .btn-ghost:hover { color: #fff; }
.nav.is-dark .wordmark { color: #fff; }
.nav.is-dark .btn-primary { background: #fff; color: var(--ink); }
.nav.is-dark .btn-primary:hover { background: #EEF1F8; }
.nav.is-dark .burger span { background: #fff; }

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.wordmark {
  font-family: 'Figtree', var(--font);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  transition: color .25s var(--ease), opacity .2s var(--ease);
}
.brand:hover .wordmark { opacity: .8; }

.nav-links { display: none; gap: 26px; margin: 0 auto; }
.nav-cta .btn-primary { display: none; }
.nav-links a { font-size: 15.5px; color: var(--ink-soft); transition: color .18s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-mail { display: none; }
@media (min-width: 920px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-mail { display: inline-flex; }
  .nav-cta .btn-primary { display: inline-flex; }
}

.burger {
  width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.burger span { width: 18px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
@media (min-width: 920px) { .burger { display: none; } }

.mobile-menu {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px var(--pad) 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline), 0 24px 40px -28px rgba(11,16,32,.4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 4px; font-size: 18px; font-weight: 520; border-bottom: 1px solid var(--hairline); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-mail { color: var(--a-indigo); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ───────────────────────── hero ───────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(90% 70% at 18% 8%, rgba(79,70,229,.40) 0%, transparent 62%),
    radial-gradient(70% 60% at 92% 10%, rgba(14,165,233,.30) 0%, transparent 58%),
    radial-gradient(80% 70% at 50% 108%, rgba(124,58,237,.34) 0%, transparent 66%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  margin-top: -72px;
  padding-top: 72px;
}
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .85; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(7,11,22,.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7,11,22,.85) 100%);
}
.hero-inner { padding: clamp(72px, 11vw, 132px) var(--pad) clamp(72px, 10vw, 120px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  font-size: 13.5px; color: rgba(255,255,255,.8); letter-spacing: -0.005em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--a-cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(38px, 6.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 19ch;
}
.hero .grad { background: linear-gradient(100deg, #67E8F9 0%, #A5B4FC 45%, #C4B5FD 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede {
  margin-top: 24px; max-width: 40rem;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: rgba(255,255,255,.72);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-stats {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats dt {
  font-size: clamp(32px, 4vw, 44px); font-weight: 560; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(100deg, #67E8F9, #A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats dt span { font-size: .6em; }
.hero-stats dd { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.6); }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ───────────────────────── ticker ───────────────────────── */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--hairline);
  background: var(--wash);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.ticker-list { display: flex; align-items: center; }
.ticker-list li {
  padding: 16px 26px; font-size: 14.5px; font-weight: 520; color: var(--ink-soft); white-space: nowrap;
}
.ticker-list li::after { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--hairline); margin-left: 26px; vertical-align: middle; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ───────────────────────── projects ───────────────────────── */
.project {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--hairline); border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.project + .project { margin-top: 24px; }
.project:hover { box-shadow: 0 2px 4px rgba(11,16,32,.05), 0 30px 60px -28px rgba(11,16,32,.28); }
.project::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79,70,229,.10), transparent 68%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.project:hover::after { opacity: 1; }

.project-body { padding: clamp(28px, 4vw, 48px); }
.project-top { display: flex; align-items: center; gap: 14px; }
.logo-chip {
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 14px;
  object-fit: contain;
}
/* значок Plan B светлый — на белой карточке нужен контур */
.chip-planb { box-shadow: inset 0 0 0 1px var(--hairline); }
.project h3 { font-size: clamp(23px, 2.6vw, 30px); }
.project-role { margin-top: 4px; font-size: 14.5px; color: var(--ink-faint); }
.project-text { margin-top: 22px; max-width: 38rem; color: var(--ink-soft); font-size: clamp(16px, 1.7vw, 18px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li {
  padding: 6px 12px; border-radius: 999px;
  background: var(--wash); box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 13.5px; color: var(--ink-soft);
}
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }

.project-art {
  position: relative; overflow: hidden; min-height: 280px;
  border-top: 1px solid var(--hairline);
  display: grid; place-items: center; padding: 34px;
}
.project-art::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.35) 0 1px, transparent 1px 8px),
    radial-gradient(90% 80% at 80% 100%, var(--art-a), transparent 72%),
    radial-gradient(80% 70% at 10% 0%, var(--art-b), transparent 70%);
}
.art-flang { --art-a: rgba(14,165,233,.34); --art-b: rgba(99,102,241,.30); }
.art-planb { --art-a: rgba(124,58,237,.32); --art-b: rgba(34,211,238,.24); }

@media (min-width: 940px) {
  .project { grid-template-columns: 1.08fr .92fr; align-items: stretch; }
  .project-art { border-top: 0; border-left: 1px solid var(--hairline); }
  .project-reverse .project-body { order: 2; }
  .project-reverse .project-art { order: 1; border-left: 0; border-right: 1px solid var(--hairline); }
}

/* project art — phone mock */
.phone {
  position: relative; width: 190px; aspect-ratio: 9/18.5;
  border-radius: 26px; padding: 8px;
  background: linear-gradient(160deg, #1B2238, #0B1020);
  box-shadow: 0 24px 50px -22px rgba(11,16,32,.65), inset 0 0 0 1px rgba(255,255,255,.12);
  animation: float 7s ease-in-out infinite;
}
.phone-screen { height: 100%; border-radius: 19px; background: #fff; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ph-bar { height: 26px; border-radius: 7px; background: var(--grad); }
.ph-row { height: 9px; border-radius: 5px; background: #E9ECF4; }
.ph-row.short { width: 62%; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 3px 0; }
.ph-grid span { aspect-ratio: 1/.78; border-radius: 9px; background: linear-gradient(135deg, #EEF2FF, #E0F2FE); }
.chat-bubble {
  position: absolute; right: clamp(10px, 4%, 34px); bottom: clamp(22px, 9%, 54px);
  max-width: 200px; padding: 11px 14px; border-radius: 14px 14px 4px 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  box-shadow: 0 14px 30px -16px rgba(11,16,32,.5), inset 0 0 0 1px rgba(11,16,32,.06);
  font-size: 13.5px; line-height: 1.4; color: var(--ink);
  animation: float 7s ease-in-out infinite reverse;
}
@keyframes float { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .phone, .chat-bubble { animation: none; } }

/* project art — week mock */
.week {
  position: relative; width: min(340px, 100%); padding: 20px;
  border-radius: 18px; background: rgba(255,255,255,.94);
  box-shadow: 0 24px 50px -24px rgba(11,16,32,.55), inset 0 0 0 1px rgba(11,16,32,.06);
  animation: float 8s ease-in-out infinite;
}
.week-head { display: flex; gap: 7px; margin-bottom: 18px; }
.week-head span { flex: 1; height: 28px; border-radius: 8px; background: #EEF2F8; }
.week-head span:nth-child(3) { background: var(--grad); }
.task { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid #EEF1F7; }
.task b { display: block; height: 9px; width: 100%; border-radius: 5px; background: #E9ECF4; }
.task b.w70 { width: 70%; } .task b.w85 { width: 85%; } .task b.w60 { width: 60%; }
.dot { width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 2px #D7DCE8; flex: 0 0 auto; }
.dot.done { background: var(--grad); box-shadow: none; }
.rings { display: flex; gap: 10px; margin-top: 18px; }
.ring { width: 34px; height: 34px; border-radius: 50%; }
.r1 { background: conic-gradient(var(--a-sky) 72%, #E9ECF4 0); }
.r2 { background: conic-gradient(var(--a-indigo) 45%, #E9ECF4 0); }
.r3 { background: conic-gradient(var(--a-violet) 88%, #E9ECF4 0); }
.r4 { background: conic-gradient(var(--a-cyan) 30%, #E9ECF4 0); }
.ring::after { content: ''; display: block; width: 62%; height: 62%; margin: 19%; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: reduce) { .week { animation: none; } }

/* ───────────────────────── dark capabilities ───────────────────────── */
.section-dark {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, #0A1024 100%);
  color: #fff; border-top: 0;
}
.section-dark .glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(79,70,229,.34), transparent 65%),
    radial-gradient(50% 45% at 85% 20%, rgba(14,165,233,.22), transparent 62%),
    radial-gradient(70% 50% at 50% 110%, rgba(124,58,237,.30), transparent 66%);
}
.section-dark .frame { position: relative; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 28px 24px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,.075); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.card-icon svg { width: 21px; height: 21px; }
.i1 { background: linear-gradient(135deg, #22D3EE, #0EA5E9); }
.i2 { background: linear-gradient(135deg, #0EA5E9, #4F46E5); }
.i3 { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.i4 { background: linear-gradient(135deg, #7C3AED, #C026D3); }
.card h3 { margin-top: 20px; font-size: 19px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.62); }

/* ───────────────────────── studio ───────────────────────── */
.studio { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .studio { grid-template-columns: 1.1fr .9fr; } }
.studio-text p { margin-top: 20px; color: var(--ink-soft); font-size: clamp(16px, 1.7vw, 18px); max-width: 34rem; }
.studio-text .link-arrow { margin-top: 28px; }

.facts { border-top: 1px solid var(--hairline); }
.facts li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.facts b { font-size: 14px; font-weight: 580; }
.facts span { color: var(--ink-soft); font-size: 15px; }

/* ───────────────────────── contact ───────────────────────── */
.section-contact { background: var(--wash); }
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact-text > p { margin-top: 20px; color: var(--ink-soft); max-width: 30rem; }
.contact-meta { margin-top: 36px; border-top: 1px solid var(--hairline); }
.contact-meta li { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.meta-label { flex: 0 0 90px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); padding-top: 2px; }
.contact-meta a { color: var(--a-indigo); }
.contact-meta a:hover { text-decoration: underline; }

.form {
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 520; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #FBFCFE; border: 1px solid var(--hairline); border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #A9B0C2; }
.field input:focus, .field textarea:focus {
  outline: 0; background: #fff; border-color: #A5B4FC;
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #F87171; box-shadow: 0 0 0 4px rgba(248,113,113,.12); }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); }
.form-note.is-ok { color: #0F766E; }
.form-note.is-err { color: #B91C1C; }
.form.is-sending .btn-primary { opacity: .6; pointer-events: none; }

/* ───────────────────────── footer ───────────────────────── */
.footer { background: var(--night); color: rgba(255,255,255,.66); padding-top: clamp(48px, 6vw, 72px); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.2fr 1.8fr; } }
.footer .wordmark { color: #fff; font-size: 27px; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 24rem; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; }
.footer-links h4 { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.footer-links a { display: block; padding: 5px 0; font-size: 15px; color: rgba(255,255,255,.72); transition: color .18s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding: 22px var(--pad); margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px; color: rgba(255,255,255,.45);
}

/* ───────────────────────── reveal ───────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); }
.reveal-ready [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
