/* ===========================================================================
   BMA-IT, apex bma-it.nl
   Single-page, scroll-revealed business homepage.
   No framework, no build step.

   Design tokens:
     Brand blue   #1a5fa8 (matches twannooitmeer.nl)
     Warm canvas  #faf7f2 (soft paper, friendly)
     Ink          #1a1d24
   =========================================================================== */

:root {
  --brand: #1a5fa8;
  --brand-deep: #134479;
  --brand-soft: #e8f0fa;
  --accent: #f0a500;
  --ink: #1a1d24;
  --ink-soft: #4a5160;
  --ink-mute: #6b7280;
  --canvas: #faf7f2;
  --canvas-deep: #f3eee5;
  --surface: #ffffff;
  --border: #e6e1d6;
  --danger: #b94a48;
  --success: #2f8551;

  --maxw: 1100px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04),
               0 1px 3px rgba(20, 30, 50, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 30, 50, 0.08);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --t-fast: 200ms cubic-bezier(.2, .6, .2, 1);
  --t-med:  500ms cubic-bezier(.2, .6, .2, 1);
}

/* Dark palette: explicit (data-theme="dark") OR system pref when no choice. */
html[data-theme="dark"] {
  --brand: #6aa8ee;
  --brand-deep: #9cc4f4;
  --brand-soft: #1f2a3a;
  --ink: #ecedf0;
  --ink-soft: #b9bfc9;
  --ink-mute: #8b92a0;
  --canvas: #14171c;
  --canvas-deep: #1a1e25;
  --surface: #1c2029;
  --border: #2a2f39;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .35);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .35);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --brand: #6aa8ee;
    --brand-deep: #9cc4f4;
    --brand-soft: #1f2a3a;
    --ink: #ecedf0;
    --ink-soft: #b9bfc9;
    --ink-mute: #8b92a0;
    --canvas: #14171c;
    --canvas-deep: #1a1e25;
    --surface: #1c2029;
    --border: #2a2f39;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .35);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .35);
  }
}

/* i18n: hide the non-active language. */
html[lang="nl"] .en { display: none; }
html[lang="en"] .nl { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
a:hover { color: var(--brand-deep); border-bottom-color: currentColor; }
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  z-index: 100;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0.75rem; }

/* ===== NAV =============================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.2rem);
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] .nav { background: rgba(20, 23, 28, 0.88); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .nav { background: rgba(20, 23, 28, 0.88); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  border: none;
  font-weight: 600;
  flex-shrink: 0;
}
.brand:hover { color: var(--brand); border: none; }

.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name { font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); border: none; }
.nav-links a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.15rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav-links a.nav-cta[aria-current="page"] {
  color: #fff !important;
  background: var(--brand-deep) !important;
}
.nav-links a.nav-cta[aria-current="page"]::after { display: none; }
html[data-theme="dark"] .nav-links a:hover { background: rgba(255, 255, 255, 0.06); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .nav-links a:hover { background: rgba(255, 255, 255, 0.06); }
}

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--brand-deep) !important; }

.controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 0.55rem;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast),
              background var(--t-fast);
}
.ctrl-btn:hover { color: var(--brand); border-color: var(--brand); }
.ctrl-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ctrl-icon { font-size: 1rem; line-height: 1; }

/* Tablet: hide the brand subtitle, keep all nav links visible. */
@media (max-width: 860px) {
  .brand-sub { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.9rem; }
}

/* Phone: stack vertically, links wrap below brand row. */
@media (max-width: 600px) {
  .nav {
    flex-wrap: wrap;
    padding: 0.6rem 0.9rem;
    gap: 0.5rem;
  }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: 0.88rem; }
}

/* ===== HERO ============================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.25rem, 5vw, 2.5rem);
  background:
    radial-gradient(circle at 80% -10%, var(--brand-soft) 0%, transparent 55%),
    radial-gradient(circle at -10% 90%, rgba(240, 165, 0, 0.10) 0%, transparent 45%),
    var(--canvas);
}

.hero-inner {
  max-width: 880px;
  text-align: left;
  animation: fadeUp 800ms cubic-bezier(.2, .6, .2, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 { margin-bottom: 1.3rem; }

.highlight {
  position: relative;
  color: var(--brand-deep);
  white-space: nowrap;
}
.highlight::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.05em;
  height: 0.32em;
  background: rgba(240, 165, 0, 0.30);
  z-index: -1;
  border-radius: 2px;
}
html[data-theme="dark"] .highlight { color: var(--brand); }
html[data-theme="dark"] .highlight::after { background: rgba(240, 165, 0, 0.22); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .highlight { color: var(--brand); }
  html:not([data-theme]) .highlight::after { background: rgba(240, 165, 0, 0.22); }
}

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-meta {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast);
}
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.08rem; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border: none;
}
.btn-primary[disabled],
.btn-primary[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.02);
}
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid var(--ink-mute);
  border-radius: 12px;
  opacity: 0.55;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 7px;
  background: var(--ink-mute);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scroll-bounce 1.7s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: 0.2; }
}

/* ===== SECTIONS (shared) ================================================ */

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 2.5rem);
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(.2, .6, .2, 1),
              transform 700ms cubic-bezier(.2, .6, .2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal] [data-reveal] { transition-delay: 80ms; }
[data-reveal] [data-reveal]:nth-child(2) { transition-delay: 160ms; }
[data-reveal] [data-reveal]:nth-child(3) { transition-delay: 240ms; }
[data-reveal] [data-reveal]:nth-child(4) { transition-delay: 320ms; }
[data-reveal] [data-reveal]:nth-child(5) { transition-delay: 400ms; }

/* ===== SERVICES ========================================================= */

.section-services { background: var(--surface); }
html[data-theme="dark"] .section-services { background: var(--canvas-deep); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .section-services { background: var(--canvas-deep); }
}

.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--canvas);
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              border-color var(--t-fast);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
html[data-theme="dark"] .card { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .card { background: var(--surface); }
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 10px;
}
.card-icon svg { width: 24px; height: 24px; display: block; }

.card h3 { margin-bottom: 0.5rem; }
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}
.card-more {
  margin-top: 1rem !important;
  font-size: 0.92rem;
  font-weight: 500;
}
.card-more a {
  color: var(--brand);
  border-bottom: 1px solid transparent;
}
.card-more a:hover {
  border-bottom-color: currentColor;
}

/* ===== HOW WE WORK ====================================================== */

.section-how {
  background:
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
}

.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.5rem;
}

.step {
  position: relative;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--brand);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ===== PROOF / CREDIBILITY ============================================== */

.section-proof {
  background: var(--surface);
  position: relative;
}
html[data-theme="dark"] .section-proof { background: var(--canvas-deep); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .section-proof { background: var(--canvas-deep); }
}

.proof-inner {
  max-width: 780px;
  border-left: 3px solid var(--brand);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.proof-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}
.proof-list li {
  padding: 1rem 1.2rem;
  background: var(--canvas);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.proof-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
html[data-theme="dark"] .proof-list li { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .proof-list li { background: var(--surface); }
}

.proof-foot {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.proof-foot a { margin-left: 0.25rem; font-weight: 500; }

/* ===== CLIENTS MARQUEE ================================================== */

.section-clients {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--canvas-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-inner {
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  max-width: var(--maxw);
  margin: 0 auto;
}
.clients-title {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: var(--ink-soft);
}

.marquee {
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  /* Fade out the edges so logos slide in/out softly. */
  -webkit-mask-image: linear-gradient(
    90deg, transparent 0%, #000 8%, #000 92%, transparent 100%
  );
  mask-image: linear-gradient(
    90deg, transparent 0%, #000 8%, #000 92%, transparent 100%
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  flex-shrink: 0;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast);
}
.client-logo:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .marquee-group { padding-right: 0; flex-wrap: wrap; justify-content: center; }
  .marquee-group:nth-child(2) { display: none; }
}

/* ===== ABOUT ============================================================ */

.section-about { background: var(--surface); }
html[data-theme="dark"] .section-about { background: var(--canvas-deep); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .section-about { background: var(--canvas-deep); }
}

.about-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}
@media (max-width: 800px) {
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-meta dl {
  margin: 0;
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--canvas);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
html[data-theme="dark"] .about-meta dl { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .about-meta dl { background: var(--surface); }
}
.about-meta dt {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 0.2rem;
}
.about-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.97rem;
}

/* ===== CONTACT FORM ===================================================== */

.section-contact {
  background:
    radial-gradient(circle at 20% 0%, var(--brand-soft) 0%, transparent 50%),
    var(--canvas);
}
.contact-inner { max-width: 720px; margin: 0 auto; }

.contact-form {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .contact-form { background: var(--canvas-deep); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .contact-form { background: var(--canvas-deep); }
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
html[data-theme="dark"] .form-row input,
html[data-theme="dark"] .form-row textarea {
  background: var(--surface);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .form-row input,
  html:not([data-theme]) .form-row textarea {
    background: var(--surface);
  }
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.18);
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

/* Honeypot: hidden from humans and assistive tech, available to bots. */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 0.4rem;
}

.form-fallback {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.form-fallback a { font-weight: 500; }

.form-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* ===== FOOTER =========================================================== */

.footer {
  padding: 2rem clamp(1.25rem, 5vw, 2.5rem);
  background: var(--canvas-deep);
  border-top: 1px solid var(--border);
  color: var(--ink-mute);
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer p { margin: 0; }
.footer a { color: var(--ink-soft); border: none; }
.footer a:hover { color: var(--brand); border: none; }
