@import "tokens.css";

/* =====================================================================
   Northpeak - styles.css
   reset → base → layout → components → sections → utilities
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* safety net only */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Base typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); }
strong { font-weight: 600; color: var(--color-text); }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9em; background: rgba(59,130,246,.14); color: #bcd4ff; padding: .1em .4em; border-radius: var(--radius-sm); }
::selection { background: rgba(168,85,247,.4); color: #fff; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section-head { max-width: 56ch; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-800); }
.section-lede { color: var(--color-muted); font-size: var(--fs-500); margin-top: var(--space-4); }
.section-head--center .section-lede { margin-inline: auto; max-width: 58ch; }

.kicker {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-300);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--color-primary); margin-bottom: var(--space-3);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-300); font-weight: 500; color: var(--color-muted);
  background: rgba(20,24,34,.6); border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(168,85,247,.22); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-500);
  letter-spacing: .005em;
  padding: var(--space-3) var(--space-5); min-height: 46px;
  border-radius: var(--radius-md); border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: var(--space-4) var(--space-6); min-height: 54px; font-size: var(--fs-600); }
.btn--primary { background: var(--grad-brand); color: var(--color-on-primary); box-shadow: var(--shadow-glow); background-size: 140% 140%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 54px rgba(124,92,240,.45); background-position: 100% 0; }
.btn--ghost { background: rgba(28,33,45,.5); color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: #fff; transform: translateY(-2px); background: rgba(59,130,246,.12); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,14,20,.86);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); background: rgba(12,14,20,.96); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: var(--space-3); }
.header__logo { display: inline-flex; align-items: center; gap: var(--space-3); white-space: nowrap; flex-shrink: 0; }
.header__name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: var(--tracking-tight); white-space: nowrap; }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 11px; z-index: 110;
}
.nav__toggle-bar { display: block; height: 2.5px; width: 100%; background: var(--color-text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
body.is-nav-open .nav__toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.is-nav-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
body.is-nav-open .nav__toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: 70px 0 0 0; background: var(--color-bg);
  display: flex; flex-direction: column; gap: var(--space-6);
  padding: var(--space-7) var(--gutter) var(--space-8);
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto; border-top: 1px solid var(--color-border);
}
.nav[data-open="true"] { transform: translateX(0); }
.nav__list { display: flex; flex-direction: column; gap: var(--space-1); }
.nav__link {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-700);
  padding: var(--space-3) 0; color: var(--color-text); white-space: nowrap;
  border-bottom: 1px solid var(--color-border); transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--color-primary); }
.nav__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-3); }
.nav__login, .nav__cta { width: 100%; white-space: nowrap; }

/* Language switch - EN | HR */
.lang-switch { display: inline-flex; align-items: center; gap: var(--space-1); flex-shrink: 0; }
.lang-switch__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: var(--space-2) var(--space-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-300);
  letter-spacing: .03em; white-space: nowrap; color: var(--color-muted);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  background: rgba(28,33,45,.5); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.lang-switch__btn:hover { color: var(--color-text); border-color: var(--color-primary); }
.lang-switch__btn[aria-pressed="true"] { color: var(--color-on-primary); background: var(--grad-brand); border-color: transparent; }

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center;
    transform: none; padding: 0; background: none; border: none; overflow: visible;
    gap: var(--space-5); flex: 1; justify-content: flex-end;
  }
  .nav__list { flex-direction: row; align-items: center; gap: clamp(var(--space-4), 2.4vw, var(--space-6)); }
  .nav__link { font-size: var(--fs-400); font-weight: 500; padding: var(--space-2) 0; border: none; font-family: var(--font-body); color: var(--color-muted); }
  .nav__link:hover { color: var(--color-text); }
  .nav__actions { flex-direction: row; margin-top: 0; gap: var(--space-3); }
  .nav__login, .nav__cta { width: auto; }
  .nav__login { font-size: var(--fs-400); }
  .nav__cta { font-size: var(--fs-400); min-height: 44px; padding: var(--space-2) var(--space-5); }
  .header__inner > .nav .lang-switch { margin-inline-start: var(--space-1); }
  .header__inner > .nav .lang-switch__btn { min-width: 38px; min-height: 34px; padding: var(--space-1) var(--space-2); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-9) var(--space-10); }
.hero__art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -3; opacity: .9;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(12,14,20,.2), rgba(12,14,20,.86) 62%),
    linear-gradient(180deg, rgba(12,14,20,.55) 0%, rgba(12,14,20,.78) 70%, var(--color-bg) 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 50% at 78% 30%, var(--glow-violet), transparent 70%),
    radial-gradient(40% 45% at 12% 78%, var(--glow-blue), transparent 70%);
  opacity: .7;
}
.hero__inner { max-width: 60ch; }
.hero .eyebrow { margin-bottom: var(--space-5); }
.hero__title { font-size: var(--fs-900); line-height: var(--lh-tight); font-weight: 900; }
.hero__grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { color: #c5cbd8; font-size: var(--fs-500); margin-top: var(--space-5); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }

.hero__metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-4);
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid var(--color-border); max-width: 640px;
}
.hero__metric-label { font-size: var(--fs-300); color: var(--color-muted); font-weight: 500; }
.hero__metric-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); line-height: 1.05; margin-top: var(--space-1); }

@media (min-width: 768px) {
  .hero__metrics { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero { padding-block: var(--space-10); min-height: 88vh; display: flex; align-items: center; }
  .hero__inner { max-width: 68ch; }
}

/* ---------- Section rhythm ---------- */
.duo, .platform, .showcase, .team, .backers { padding-block: var(--section-y); }

/* ---------- Problem -> Solution two-panel ---------- */
.duo__grid { display: grid; gap: var(--space-5); align-items: stretch; }
.panel {
  position: relative; padding: var(--space-6);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  background: var(--color-surface); height: 100%;
}
.panel--problem { background: linear-gradient(180deg, rgba(28,33,45,.6), var(--color-surface)); }
.panel--solution { border-color: rgba(59,130,246,.45); background: linear-gradient(180deg, rgba(59,130,246,.12), rgba(168,85,247,.07) 60%, var(--color-surface)); box-shadow: var(--shadow-glow); }
.panel__tag {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-300);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); margin-bottom: var(--space-4);
}
.panel__tag--problem { color: #ffb4a8; background: rgba(255,107,90,.12); border: 1px solid rgba(255,107,90,.3); }
.panel__tag--solution { color: #bcd4ff; background: rgba(59,130,246,.16); border: 1px solid rgba(59,130,246,.4); }
.panel__title { font-size: var(--fs-700); }
.panel__text { color: var(--color-muted); margin-top: var(--space-3); }
.panel__list { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.panel__list li { position: relative; padding-left: var(--space-6); font-size: var(--fs-400); }
.panel__list li::before { position: absolute; left: 0; top: .05em; font-weight: 700; font-family: var(--font-display); }
.panel__list--problem li::before { content: "×"; color: #ff8a78; font-size: 1.25em; line-height: 1; }
.panel__list--solution li::before { content: "✓"; color: var(--color-primary); }
.panel__list code { display: inline-block; }

.duo__bridge {
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); transform: rotate(90deg);
}

@media (min-width: 900px) {
  .duo__grid { grid-template-columns: 1fr auto 1fr; gap: var(--space-4); }
  .duo__bridge { transform: none; }
}

/* ---------- Platform / features ---------- */
.platform { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.platform__split { display: grid; gap: var(--space-7); }
.features { display: grid; gap: var(--space-4); }
.feature {
  padding: var(--space-6); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); background: var(--color-bg);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.5); box-shadow: var(--shadow-md); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(59,130,246,.12); color: var(--color-primary);
  border: 1px solid rgba(59,130,246,.3); margin-bottom: var(--space-4);
}
.feature__title { font-size: var(--fs-600); }
.feature__text { color: var(--color-muted); margin-top: var(--space-2); font-size: var(--fs-400); }

@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .platform__split { grid-template-columns: 1.15fr .85fr; gap: var(--space-8); align-items: start; }
}

/* Product abstraction: network graph */
.netgraph {
  position: sticky; top: 96px;
  border-radius: var(--radius-xl); border: 1px solid var(--color-border);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(124,92,240,.14), transparent 70%),
    var(--color-bg);
  padding: var(--space-5); overflow: hidden;
}
.netgraph__cap {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-300); color: var(--color-muted); font-weight: 500;
  margin-bottom: var(--space-3);
}
.netgraph__dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: pulse 2.4s var(--ease) infinite; }
.netgraph__svg { width: 100%; max-width: 360px; margin-inline: auto; }
.netgraph__node { animation: nodeglow 3.2s var(--ease) infinite; }
.netgraph__node:nth-child(2n) { animation-delay: .8s; }
.netgraph__node:nth-child(3n) { animation-delay: 1.6s; }
.netgraph__line { stroke-dasharray: 5 6; animation: flow 2.6s linear infinite; }
.netgraph__line:nth-child(2n) { animation-delay: .5s; }
.netgraph__stats {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: center;
  margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-border);
  font-size: var(--fs-300); color: var(--color-muted);
}
.netgraph__stats strong { font-family: var(--font-display); font-size: var(--fs-600); color: var(--color-text); display: block; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.4); } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
@keyframes nodeglow { 0%, 100% { stroke: #3b82f6; } 50% { stroke: #a855f7; } }
@keyframes flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) {
  .netgraph__dot, .netgraph__node, .netgraph__line { animation: none; }
}

/* ---------- Showcase (image band) ---------- */
.showcase__inner { display: grid; gap: var(--space-7); align-items: center; }
.showcase__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__badge {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-300); font-weight: 500;
  background: rgba(12,14,20,.78); border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.showcase__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.showcase__text { color: var(--color-muted); font-size: var(--fs-500); margin-top: var(--space-4); }
.showcase__points { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.showcase__points li { position: relative; padding-left: var(--space-6); color: var(--color-muted); }
.showcase__points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  border-radius: 3px; background: var(--grad-brand);
}

@media (min-width: 900px) {
  .showcase__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* ---------- Team ---------- */
.team { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.team__grid { display: grid; gap: var(--space-5); }
.member {
  position: relative; padding: var(--space-5);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  background: var(--color-bg); text-align: left;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.member:hover { transform: translateY(-4px); border-color: rgba(168,85,247,.5); }
.member__photo-wrap { border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-4); aspect-ratio: 4 / 4.2; }
.member__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: saturate(1.05) contrast(1.02); }
.member__name { font-size: var(--fs-600); }
.member__role { color: var(--color-primary); font-weight: 600; font-size: var(--fs-300); margin-top: var(--space-1); font-family: var(--font-body); }
.member__bio { color: var(--color-muted); font-size: var(--fs-400); margin-top: var(--space-3); }
.member__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-top: var(--space-4);
  border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--color-muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.member__link:hover { color: #fff; border-color: var(--color-primary); background: rgba(59,130,246,.14); }

@media (min-width: 768px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); }
}

.team__culture { position: relative; margin-top: var(--space-7); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); }
.team__culture img { width: 100%; height: clamp(220px, 38vw, 420px); object-fit: cover; }
.team__culture-cap {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-5); background: linear-gradient(0deg, rgba(12,14,20,.92), transparent);
  font-size: var(--fs-400); color: #e7eaf1;
}
.team__culture-link {
  font-family: var(--font-display); font-weight: 700; color: var(--color-text);
  border-bottom: 2px solid var(--color-primary); padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.team__culture-link:hover { color: var(--color-primary); }

/* ---------- Backers / press logo strip ---------- */
.logostrip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-4) var(--space-6); margin-top: var(--space-2);
}
.logostrip__item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-600);
  color: var(--color-muted); opacity: .85;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.logostrip__item:hover { color: var(--color-text); opacity: 1; }
.logostrip__item svg { color: var(--color-accent); flex-shrink: 0; }

.press {
  max-width: 64ch; margin: var(--space-8) auto 0; text-align: center;
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-xl); border: 1px solid var(--color-border);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(124,92,240,.12), transparent 70%),
    var(--color-surface);
}
.press__quote { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-700); line-height: var(--lh-snug); }
.press__cite { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-5); font-size: var(--fs-400); color: var(--color-muted); }
.press__pub { color: var(--color-text); font-weight: 600; font-family: var(--font-display); }
.press__sep { color: var(--color-border); }

/* ---------- Bold contact CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-9); }
.cta__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 12% 20%, var(--glow-blue), transparent 70%),
    radial-gradient(55% 75% at 88% 90%, var(--glow-violet), transparent 70%),
    var(--color-bg);
}
.cta__inner { display: grid; gap: var(--space-7); align-items: center; }
.cta__title { font-size: var(--fs-800); }
.cta__text { color: #c5cbd8; font-size: var(--fs-500); margin-top: var(--space-4); max-width: 48ch; }
.cta__perks { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.cta__perks li { position: relative; padding-left: var(--space-6); color: var(--color-text); font-weight: 500; }
.cta__perks li::before { content: "✦"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

.cta__card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.cta__card-title { font-size: var(--fs-700); margin-bottom: var(--space-5); }

@media (min-width: 960px) {
  .cta__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .cta__card { padding: var(--space-7); }
}

/* ---------- Form ---------- */
.form__grid { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-2); }
.form__label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-400); }
.form__input {
  width: 100%; padding: var(--space-3) var(--space-4); min-height: 48px;
  background: var(--color-bg); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__input::placeholder { color: #6b7283; }
.form__input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
.form__input:focus-visible { outline: none; }
.form__textarea { min-height: 96px; resize: vertical; line-height: var(--lh-body); }
select.form__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa1b0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-4) center; padding-right: var(--space-7); cursor: pointer; }
.form__submit { width: 100%; margin-top: var(--space-2); }
.form__note { font-size: var(--fs-300); color: var(--color-muted); text-align: center; }
.form__success {
  font-size: var(--fs-500); color: var(--color-text); line-height: var(--lh-body);
  padding: var(--space-6); border-radius: var(--radius-lg);
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.4);
}

@media (min-width: 560px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__row--full, .form__submit, .form__note, .form__success { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color-border); background: var(--color-surface); padding-top: var(--space-8); }
.footer__inner { display: grid; gap: var(--space-7); padding-bottom: var(--space-7); }
.footer__brand .header__logo { margin-bottom: var(--space-4); }
.footer__blurb { color: var(--color-muted); max-width: 38ch; font-size: var(--fs-400); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); color: var(--color-muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.footer__social a:hover { color: #fff; border-color: var(--color-primary); background: rgba(59,130,246,.14); }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.footer__heading { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-400); margin-bottom: var(--space-3); color: var(--color-text); }
.footer__col ul { display: grid; gap: var(--space-2); }
.footer__col a { color: var(--color-muted); font-size: var(--fs-400); transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--color-text); }

.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  padding-block: var(--space-5); border-top: 1px solid var(--color-border);
  font-size: var(--fs-300); color: var(--color-muted);
}
.footer__legal a { transition: color .2s var(--ease); }
.footer__legal a:hover { color: var(--color-text); }

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.4fr 2fr; gap: var(--space-9); }
}

/* ---------- Scroll-reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
