/* ============================================================
   VebX Industrial Systems — Design System
   Brand-derived palette: royal blue #1f4cd1 / sky #1daaf1 (logo)
   ============================================================ */

:root {
  /* Color */
  --c-brand: #1f4cd1;
  --c-brand-dark: #16389c;
  --c-brand-tint: #e8eefc;
  --c-accent: #1daaf1;

  --c-ink: #0b1220;
  --c-ink-2: #111a2e;
  --c-text: #1a2437;
  --c-text-2: #55617a;
  --c-muted: #8a94a6;

  --c-paper: #f6f7f9;
  --c-tint: #eef1f6;
  --c-surface: #ffffff;
  --c-line: #dfe4ec;

  --c-on-dark: #eef2f8;
  --c-on-dark-2: #a6b1c4;
  --c-line-dark: rgba(255, 255, 255, 0.14);

  --c-success: #177245;
  --c-error: #b42318;

  /* Typography */
  --f-display: "Manrope", "Segoe UI", sans-serif;
  --f-body: "Inter", "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;
  --sp-10: 96px;
  --sp-11: 120px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.05), 0 12px 32px -16px rgba(11, 18, 32, 0.14);
  --shadow-2: 0 2px 4px rgba(11, 18, 32, 0.06), 0 20px 44px -18px rgba(11, 18, 32, 0.2);

  --header-h: 72px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: var(--c-brand); text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

::selection {
  background: rgba(31, 76, 209, 0.14);
  color: var(--c-ink);
}

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--c-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ---------- Type scale ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin: 18px 0 14px;
}

.section-head--tight { margin-bottom: 0; }

.section-head .lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--c-text-2);
  max-width: 620px;
}

.section { padding-block: clamp(72px, 9vw, 120px); }
.section--tint { background: var(--c-tint); }
.section--surface { background: var(--c-surface); }

.section--dark {
  background: var(--c-ink);
  color: var(--c-on-dark-2);
}

.section--dark h2,
.section--dark h3 { color: var(--c-on-dark); }

.section--dark .eyebrow { color: var(--c-accent); }
.section--dark .section-head .lead { color: var(--c-on-dark-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn .btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(31, 76, 209, 0.55);
}

.btn-primary:hover { background: var(--c-brand-dark); }

.btn-dark {
  background: var(--c-ink);
  color: #fff;
}

.btn-dark:hover { background: var(--c-ink-2); }

.btn-outline {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-ink);
}

.btn-outline:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
  background: var(--c-brand-tint);
}

.btn-ondark {
  background: transparent;
  border-color: var(--c-line-dark);
  color: var(--c-on-dark);
}

.btn-ondark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 247, 249, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--c-ink); }

.nav-link[aria-current="page"] {
  color: var(--c-brand);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) clamp(20px, 4vw, 48px) var(--sp-5);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-2);
  }

  .nav.is-open { display: flex; animation: nav-in 0.22s ease; }

  .nav-link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--c-line);
  }

  .nav .btn { margin-top: var(--sp-4); }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 22px 0 0;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--c-text-2);
  max-width: 540px;
  margin: 24px 0 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media { position: relative; }

.frame {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-tint);
  box-shadow: var(--shadow-1);
}

.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .frame { aspect-ratio: 4 / 3; }

.hero-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(11, 18, 32, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}

.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Trust bar ---------- */

.trustbar {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--c-line);
}

.stat:first-child { border-left: 0; }

.stat-value {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-2);
}

@media (max-width: 900px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
}

@media (max-width: 520px) {
  .trustbar-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .stat:nth-child(n + 2) { border-top: 1px solid var(--c-line); }
}

/* ---------- Cards & grids ---------- */

.card-grid {
  display: grid;
  gap: var(--sp-5);
}

.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1020px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cols-4 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.card:hover,
.card:hover {
  border-color: rgba(31, 76, 209, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--c-tint);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-5);
  transition: transform 0.4s ease;
}

a.card:hover .card-media img { transform: scale(1.04); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-5);
  flex: 1;
}

.card-body h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-text-2);
}

.card-link {
  margin-top: auto;
  padding-top: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.card-link .btn-arrow { transition: transform 0.2s ease; }
a.card:hover .card-link .btn-arrow { transform: translateX(3px); }

/* ---------- Capability cards ---------- */

.cap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.cap-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-brand);
}

.cap h3 { font-size: 1.2rem; }

.cap p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text-2);
}

/* ---------- Dark feature (about / materials) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feature-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
}

.feature-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-on-dark-2);
  max-width: 560px;
}

.feature-copy p + p { margin-top: var(--sp-4); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-5);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.chip--light {
  border-color: var(--c-line);
  color: var(--c-text-2);
  background: var(--c-surface);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chip--light:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.chip--light .dot { background: var(--c-brand); }

.feature-media .frame {
  aspect-ratio: 4 / 3;
  border-color: var(--c-line-dark);
  background: var(--c-ink-2);
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Spec table ---------- */

.spec-table {
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--c-surface);
}

.spec-table th,
.spec-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.spec-table th {
  width: 42%;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-2);
  background: var(--c-paper);
}

.spec-table td { color: var(--c-text); }

/* ---------- Catalogue sections ---------- */

.page-head {
  padding-block: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 48px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-6);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.breadcrumb a { color: var(--c-text-2); }
.breadcrumb a:hover { color: var(--c-brand); }
.breadcrumb [aria-current="page"] { color: var(--c-brand); }

.page-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 18px 0 0;
}

.page-head .lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--c-text-2);
  max-width: 640px;
  margin-top: 20px;
}

.page-head .chip-row { margin-top: var(--sp-5); }

.cat-section {
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--c-line);
}

.cat-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cat-section:nth-child(even) .cat-media { order: 2; }

.cat-media .frame { aspect-ratio: 4 / 3; }

.thumb-row {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-3);
}

.thumb {
  width: 76px;
  height: 76px;
  padding: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb:hover { border-color: var(--c-muted); }

.thumb[aria-current="true"] {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(31, 76, 209, 0.15);
}

.cat-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.025em;
  margin: 16px 0 14px;
}

.cat-content > p {
  color: var(--c-text-2);
  max-width: 560px;
}

.cat-content .spec-table { margin: var(--sp-5) 0; }

.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-section:nth-child(even) .cat-media { order: 0; }
}

/* ---------- Inquiry / forms ---------- */

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 960px) {
  .inquiry-grid { grid-template-columns: 1fr; }
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.contact-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.contact-card .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-brand-tint);
  color: var(--c-brand);
  border-radius: var(--r-sm);
}

.contact-card dt {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: 6px;
}

.contact-card dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.contact-card dd a { color: var(--c-ink); }
.contact-card dd a:hover { color: var(--c-brand); }

.contact-card .note {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--c-text-2);
}

.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-1);
}

.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-2);
}

.form-card .form-intro {
  font-size: 14.5px;
  color: var(--c-text-2);
  margin-bottom: var(--sp-5);
}

.form-grid {
  display: grid;
  gap: var(--sp-5);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

@media (max-width: 640px) {
  .row-2 { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field ::placeholder { color: var(--c-muted); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4%206l4%204%204-4%22%20stroke%3D%22%2355617a%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field textarea { resize: vertical; min-height: 132px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(31, 76, 209, 0.15);
}

.form-status {
  margin-top: var(--sp-4);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.form-status.ok { color: var(--c-success); }
.form-status.err { color: var(--c-error); }

/* ---------- CTA band ---------- */

.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--c-ink);
  text-align: center;
}

.cta-band h2 {
  color: var(--c-on-dark);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--c-on-dark-2);
  max-width: 520px;
  margin: 0 auto var(--sp-5);
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-ink);
  color: var(--c-on-dark-2);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-on-dark);
}

.footer-brand .brand-mark { width: 38px; height: 38px; }

.footer-brand .brand-word { color: var(--c-on-dark); font-size: 24px; }

.footer-brand .brand-tag { color: var(--c-on-dark-2); }

.footer-blurb {
  margin-top: var(--sp-4);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-on-dark);
  margin-bottom: var(--sp-4);
}

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--c-on-dark-2);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--c-line-dark);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  font-size: 13px;
}

/* ---------- Reveal animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
