/* ============================================================================
   Active Resilience Solutions GmbH — production stylesheet
   Ported from the Claude Design handoff (colors_and_type.css + site.css),
   consolidated, mobile-first, with the landed "expressive + dark hero +
   smooth/flowing" look locked in (no runtime tweak knobs).
   Four-color discipline: Brand Blue / Black / White / Cool Gray.
   ============================================================================ */

/* -----------------------------  Webfonts  --------------------------------- */
@font-face {
  font-family: "Anta";
  src: url("fonts/Anta-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype-variations"),
       url("fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Brand palette */
  --ars-brand-blue: #1C398F;
  --ars-black:      #0C1117;
  --ars-white:      #F2F2F2;
  --ars-cool-gray:  #8A93A6;

  /* Derived neutrals (cool, no warm sand) */
  --ars-paper:      #F4F6F9;
  --ars-paper-soft: #EEF1F6;
  --ars-line:       #E3E7EE;
  --ars-line-cool:  #D9DCE3;
  --ars-ink-soft:   #2A2F38;
  --ars-mute:       #5A6172;
  --ars-blue-tint:  #E8ECF6;
  --ars-blue-deep:  #142A6B;
  --ars-blue-12:    rgba(28, 57, 143, .12);
  --ars-blue-24:    rgba(28, 57, 143, .24);

  /* Semantic */
  --bg-page:   var(--ars-white);
  --bg-hero:   var(--ars-paper);
  --fg-1:      var(--ars-black);
  --fg-2:      var(--ars-mute);
  --fg-3:      var(--ars-cool-gray);
  --border:    var(--ars-line);
  --border-cool: var(--ars-line-cool);

  /* Type */
  --font-display: "Anta", "Eurostile", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --lh-display: 1.05; --lh-heading: 1.12; --lh-body: 1.55; --lh-tight: 1.25;
  --tracking-label: 0.14em; --tracking-display: -0.005em;

  /* Layout */
  --max-w:  1280px;
  --gutter: 20px;

  /* Motion */
  --ease-out:    cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 360ms;

  /* Flowing radii + soft shadows */
  --r-xl: 44px; --r-lg: 28px; --r-md: 18px;
  --shadow-soft: 0 16px 44px -26px rgba(12,17,23,.24), 0 4px 14px -10px rgba(12,17,23,.10);
  --shadow-lift: 0 30px 70px -30px rgba(12,17,23,.34), 0 10px 26px -14px rgba(12,17,23,.16);
}

/* -----------------------------  Reset  ------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-page); color: var(--fg-1);
  font-family: var(--font-body); font-size: 15px; line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ars-brand-blue); outline-offset: 2px; }

/* -----------------------------  Layout  ----------------------------------- */
.content { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }

.band         { padding: 64px 0; }
.band--paper  { background: var(--bg-hero); }
.band--white  { background: #FFFFFF; }
.band--dark   { background: var(--ars-black); color: var(--ars-white); }
.band--xl     { padding: 84px 0; }

section[id] { scroll-margin-top: 84px; }

/* -----------------------------  Type  ------------------------------------- */
.display { font-family: var(--font-display); letter-spacing: var(--tracking-display); line-height: var(--lh-display); }
.h1 { font-family: var(--font-display); font-size: clamp(34px, 9vw, 48px); line-height: 1.04; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-size: clamp(26px, 6.4vw, 34px); line-height: 1.06; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.15; margin: 0; text-wrap: balance; }
.h4 { font-family: var(--font-display); font-size: 18px; line-height: 1.2; margin: 0; }
.label { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ars-brand-blue); }
.label--mute { color: var(--ars-cool-gray); }
.body { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--fg-1); }
.caption { font-size: 12px; color: var(--ars-cool-gray); line-height: 1.45; }
.eyebrow-row { display: flex; gap: 10px; align-items: center; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .band { padding: 88px 0; }
  .band--xl { padding: 112px 0; }
  .h1 { font-size: clamp(56px, 7vw, 92px); line-height: 1.0; }
  .h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.04; }
  .h3 { font-size: 30px; }
}

/* micro-bar */
.bar { display: inline-block; width: 48px; height: 4px; background: var(--ars-brand-blue); }
.bar--red { background: #C53030; }
.bar--white { background: #FFFFFF; opacity: .9; }

/* -----------------------------  Status bar / header  ---------------------- */
.statusbar { background: transparent; font-size: 11px; color: var(--ars-mute); }
.statusbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.statusbar__lang { display: inline-flex; gap: 7px; align-items: center; }
.statusbar__lang a { font-size: 11px; letter-spacing: .06em; color: var(--ars-cool-gray); transition: color var(--dur-base) var(--ease-out); }
.statusbar__lang a:hover { color: var(--fg-1); }
.statusbar__lang a.on { color: var(--fg-1); font-weight: 600; }
.statusbar__lang .sep { color: var(--ars-line-cool); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow var(--dur-base) var(--ease-out); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; transition: padding var(--dur-base) var(--ease-out); }
.header.is-shrunk .header__inner { padding: 9px 0; }
.header.is-shrunk { box-shadow: 0 10px 30px -18px rgba(12,17,23,.28); }
.header__brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.header__brand img { width: 39px; height: 39px; transition: all var(--dur-base) var(--ease-out); }
.header.is-shrunk .header__brand img { width: 31px; height: 31px; }
.header__brand .wordmark { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.05em; line-height: 1.05; }
.header__nav { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.nav-links { display: none; }
.header__nav a.navlink { color: var(--fg-1); opacity: .62; transition: opacity var(--dur-base) var(--ease-out); cursor: pointer; position: relative; padding: 4px 0; }
.header__nav a.navlink:hover { opacity: 1; }
.header__nav a.navlink.is-active { opacity: 1; }
.header__nav a.navlink.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; background: var(--ars-brand-blue); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: transparent; border: 0; cursor: pointer; border-radius: 999px; transition: background var(--dur-base) var(--ease-out); }
.nav-toggle:hover { background: rgba(12,17,23,.06); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav-toggle__bars i { display: block; height: 2px; width: 100%; background: var(--fg-1); border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.nav-toggle__bars[data-open] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle__bars[data-open] i:nth-child(2) { opacity: 0; }
.nav-toggle__bars[data-open] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { padding-top: 6px; padding-bottom: 14px; display: none; gap: 2px; }
.nav-mobile.is-open { display: grid; }
.nav-mobile a { padding: 14px 16px; border-radius: 14px; cursor: pointer; font-size: 16px; color: var(--fg-1); transition: background var(--dur-base) var(--ease-out); }
.nav-mobile a:hover { background: rgba(28,57,143,.06); }
.nav-mobile a.is-active { background: rgba(28,57,143,.10); color: var(--ars-brand-blue); font-weight: 600; }

@media (min-width: 921px) {
  .nav-links { display: inline-flex; gap: 26px; align-items: center; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}
@media (max-width: 560px) {
  .statusbar__brandline { display: none; }
  [data-nav-talk] { display: none !important; }
}

/* -----------------------------  Buttons  ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 13px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.btn:active { opacity: .92; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn--primary { background: var(--ars-black); color: var(--ars-white); }
.btn--primary:hover { background: var(--ars-brand-blue); }
.btn--invert { background: var(--ars-white); color: var(--ars-black); }
.btn--invert:hover { background: var(--ars-brand-blue); color: var(--ars-white); }
.btn--ghost { background: transparent; color: var(--fg-1); border-color: var(--fg-1); }
.btn--ghost:hover { background: var(--fg-1); color: var(--ars-white); }
.btn--soft { background: #FFFFFF; color: var(--fg-1); border-color: var(--border-cool); }
.btn--soft:hover { border-color: var(--fg-1); }
.btn--blue { background: var(--ars-brand-blue); color: var(--ars-white); }
.btn--blue:hover { background: var(--ars-blue-deep); }

.link-arrow { color: var(--ars-brand-blue); cursor: pointer; transition: color var(--dur-base) var(--ease-out); }
.link-arrow:hover { color: var(--ars-blue-deep); }

/* -----------------------------  Cards  ------------------------------------ */
.card { position: relative; background: #FFFFFF; border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card--paper { background: var(--bg-hero); }
.card--dark { background: var(--ars-black); color: var(--ars-white); box-shadow: 0 30px 70px -34px rgba(12,17,23,.7); }
.card--blue { background: var(--ars-blue-tint); }

.rule { height: 22px; }

/* -----------------------------  Grids  ------------------------------------ */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 28px; }
.stack-12 { display: grid; gap: 12px; } .stack-16 { display: grid; gap: 16px; }
.js-split { display: grid; grid-template-columns: 1fr; gap: 32px; }

@media (min-width: 721px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

/* index numbers */
.indexnum { font-family: var(--font-display); font-size: 26px; color: var(--ars-brand-blue); line-height: 1; }
.indexnum--inline { font-size: 34px; }
.indexnum--inline::after { content: " ——"; opacity: .85; }

/* brand pill list */
.brand-list { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 500 12px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-1); }

/* -----------------------------  Section opener  --------------------------- */
.sec-head { position: relative; padding-top: 12px; }
.sec-num { display: block; position: absolute; right: 0; top: -18px; font-family: var(--font-display);
  font-size: 120px; line-height: .8; color: var(--ars-brand-blue); opacity: .07; pointer-events: none; user-select: none; letter-spacing: -0.04em; }
.band--dark .sec-num { color: #FFFFFF; opacity: .06; }
@media (min-width: 721px) { .sec-num { font-size: 200px; top: -36px; } }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* -----------------------------  Scroll progress  -------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--ars-brand-blue);
  transform: scaleX(0); transform-origin: 0 50%; z-index: 60; transition: transform .08s linear; }

/* -----------------------------  Hero (cinematic dark)  -------------------- */
.hero { position: relative; overflow: hidden; background: var(--ars-black); color: var(--ars-white); min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; justify-content: center; }
.hero .content { position: relative; z-index: 1; }
.hero__watermark { position: absolute; top: 1.5%; left: 50%; transform: translateX(-50%); width: min(340px, 48vw); aspect-ratio: 1 / 1; background-position: center; background-repeat: no-repeat; background-size: contain; opacity: .07; pointer-events: none; z-index: 0; }
@media (max-width: 720px) { .hero__watermark { width: 56vw; opacity: .06; } }
.hero .h1 { color: var(--ars-white); }
.hero .body { color: var(--ars-cool-gray); }
.hero .label { color: #6B8AE0; }
.hero .btn--primary { background: var(--ars-white); color: var(--ars-black); }
.hero .btn--primary:hover { background: var(--ars-brand-blue); color: var(--ars-white); }
.hero .btn--ghost { background: transparent; color: var(--ars-white); border-color: var(--ars-white); }
.hero .btn--ghost:hover { background: var(--ars-white); color: var(--ars-black); }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 721px) { .hero__grid { grid-template-columns: 1.1fr 0.95fr; gap: 56px; } }
.hero__btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__card { background: #11161F; color: var(--ars-white); border-radius: var(--r-lg); box-shadow: 0 30px 70px -34px rgba(0,0,0,.6); padding: 0; overflow: hidden; }
.portfolio-row { padding: 20px 22px; display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 14px; cursor: pointer; border-radius: 14px; transition: background var(--dur-base) var(--ease-out); }
.portfolio-row:not(:first-child):hover { background: rgba(255,255,255,.05); }
.portfolio-row .h4 { color: var(--ars-white); font-size: 19px; }
.hero-cue { display: flex; align-items: center; gap: 10px; margin-top: 48px; font: 500 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ars-cool-gray); }
.hero-cue .line { width: 40px; height: 1px; background: var(--ars-cool-gray); position: relative; overflow: hidden; }
.hero-cue .line::after { content: ""; position: absolute; inset: 0; background: var(--ars-brand-blue); transform: translateX(-100%); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0%{transform:translateX(-100%)} 55%{transform:translateX(100%)} 100%{transform:translateX(100%)} }
@media (prefers-reduced-motion: reduce) { .hero-cue .line::after { animation: none; } }

/* -----------------------------  Flowing sections  ------------------------- */
main { background: var(--ars-black); }
main > section:not(#home) { position: relative; border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl); margin-top: -40px; }
footer.footer { position: relative; border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl); margin-top: -40px; }

/* -----------------------------  CTA strip  -------------------------------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-top: 56px; padding: 28px 32px; background: var(--bg-hero); border-radius: var(--r-xl); box-shadow: var(--shadow-soft); }
.cta-strip--dark { background: var(--ars-black); color: var(--ars-white); box-shadow: 0 30px 70px -34px rgba(12,17,23,.6); }
.cta-strip__text { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; max-width: 640px; }
@media (min-width: 721px) { .cta-strip__text { font-size: 22px; } }

/* -----------------------------  Brand panels  ----------------------------- */
.brands__stack { display: grid; gap: 28px; margin-top: 40px; }
.brandpanel { border-radius: var(--r-xl); padding: 40px 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.brandpanel--paper { background: var(--ars-paper); }
.brandpanel--dark { background: var(--ars-black); color: var(--ars-white); box-shadow: 0 40px 90px -40px rgba(12,17,23,.7); }
.brandpanel--blue { background: var(--ars-blue-tint); }
.brandpanel__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.brandpanel__logobox { display: flex; align-items: center; justify-content: center; min-height: 180px; padding: 8px; }
.brandpanel__biglogo { width: 100%; max-width: 460px; height: auto; max-height: 180px; object-fit: contain; object-position: center; }
.brandpanel__index { font-family: var(--font-display); font-size: 60px; line-height: 1; }
.brandpanel__tagline { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 6vw, 40px); line-height: 1.08; letter-spacing: -.01em; margin: 16px 0 0; text-wrap: balance; }
.brandpanel__stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.brandpanel__statv { font-family: var(--font-display); font-size: 24px; }
.brandpanel__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.brandpanel__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 9px 15px 9px 13px; border-radius: 999px; font-size: 13px; line-height: 1.3; background: var(--ars-blue-12); color: var(--ars-brand-blue); font-weight: 500; }
.brandpanel--dark .brandpanel__note { background: rgba(255,255,255,.10); color: var(--ars-white); }
.brandpanel__note-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ars-brand-blue); flex: none; }
.brandpanel--dark .brandpanel__note-dot { background: #6B8AE0; }
@media (min-width: 861px) {
  .brandpanel { padding: 72px; }
  .brandpanel__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .brandpanel__grid.flip .brandpanel__media { order: 2; }
  .brandpanel__logobox { min-height: 360px; padding: 24px; }
  .brandpanel__biglogo { max-height: 320px; }
}

/* -----------------------------  Image slots (photography)  ---------------- */
.slot-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.slot { width: 100%; display: flex; align-items: flex-end; padding: 16px;
  background: #E1E4EC url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%238A93A6" stroke-width="1.2"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg>') center center / 40px no-repeat;
  font: 500 10px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #5A6172; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.hero .slot, .band--dark .slot { background-color: #11161F; color: #6E7689; }

/* -----------------------------  Inputs  ----------------------------------- */
.field { display: grid; gap: 6px; }
.field__label { font: 500 10px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-1); }
.field__label .req { color: var(--ars-brand-blue); margin-left: 4px; }
.field__input { width: 100%; padding: 14px 16px; background: var(--ars-paper-soft); border: 0; border-radius: 14px; font-size: 14px; outline: none; color: var(--fg-1); }
.field__input:focus { box-shadow: inset 0 0 0 2px var(--ars-brand-blue); }
.field__input::placeholder { color: var(--ars-cool-gray); }
.card .field__input { background: var(--bg-hero); }
textarea.field__input { min-height: 140px; resize: vertical; }
select.field__input { -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A93A6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--ars-paper-soft); border: 0; border-radius: 999px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.chip:hover { background: #E2E6EE; }
.chip.is-active { background: var(--ars-black); color: var(--ars-white); }

/* feed cards */
.feedcard { padding: 0 !important; overflow: hidden; }
.feedcard__meta { padding: 18px; }
.feedcard__foot { padding: 12px 18px; display: flex; justify-content: space-between; }

/* -----------------------------  Footer  ----------------------------------- */
.footer { padding: 64px 0 36px; background: var(--bg-hero); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer__col h5 { font: 500 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ars-cool-gray); margin: 0 0 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.footer__col a { color: var(--fg-1); cursor: pointer; }
.footer__col a:hover { color: var(--ars-brand-blue); }
.footer__sub { display: flex; flex-direction: column; gap: 6px; padding-top: 32px; margin-top: 32px; font-size: 11px; color: var(--ars-mute); }
@media (min-width: 561px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer__sub { flex-direction: row; justify-content: space-between; gap: 16px; flex-wrap: wrap; } }
@media (min-width: 1081px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }

/* -----------------------------  Modals  ----------------------------------- */
.modal-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(12,17,23,.58); display: none;
  align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto; }
.modal-scrim.is-open { display: flex; }
.modal { position: relative; width: 100%; max-width: 660px; margin: auto 0; background: #FFFFFF; border-radius: var(--r-xl); box-shadow: 0 50px 110px -40px rgba(12,17,23,.65); overflow: hidden; animation: modalPop .22s var(--ease-out); }
@keyframes modalPop { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 999px; cursor: pointer; color: inherit; opacity: .65; transition: opacity var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.modal__close:hover { opacity: 1; background: rgba(127,127,127,.12); }
.modal__close svg { width: 16px; height: 16px; }
.modal__head { padding: 34px 24px 26px; }
@media (min-width:561px){ .modal__head { padding: 34px 40px 26px; } }
.modal--gov .modal__head { background: var(--ars-black); color: var(--ars-white); }
.modal--gov .modal__close { color: var(--ars-white); }
.modal--biz .modal__head { background: var(--ars-blue-tint); }
.modal__kicker { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.modal--gov .modal__kicker { color: #8FA6E6; }
.modal--biz .modal__kicker { color: var(--ars-brand-blue); }
.modal__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.12; margin: 14px 0 0; letter-spacing: -.01em; }
.modal__sub { font-size: 13px; line-height: 1.5; margin: 12px 0 0; max-width: 46ch; }
.modal--gov .modal__sub { color: var(--ars-cool-gray); }
.modal--biz .modal__sub { color: var(--ars-mute); }
.modal__body { padding: 30px 24px 38px; }
@media (min-width:561px){ .modal__body { padding: 30px 40px 38px; } }
.modal__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width:561px){ .modal__grid { grid-template-columns: 1fr 1fr; } }
.modal__row { margin-top: 20px; }
.modal__legend { font: 500 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-1); margin-bottom: 12px; display: block; }
.opt-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; cursor: pointer; background: var(--ars-paper-soft); border-radius: 12px; font-size: 13px; color: var(--fg-1); user-select: none; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.opt:hover { background: #E2E6EE; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt__box { width: 16px; height: 16px; border-radius: 4px; flex: none; border: 1.5px solid var(--ars-cool-gray); display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.opt__box svg { width: 11px; height: 11px; opacity: 0; }
.opt input:checked + .opt__box { background: var(--ars-brand-blue); border-color: var(--ars-brand-blue); }
.opt input:checked + .opt__box svg { opacity: 1; color: #fff; }
.dropzone { border: 1.5px dashed var(--ars-cool-gray); border-radius: 14px; padding: 26px 22px; text-align: center; cursor: pointer; background: var(--ars-paper-soft); transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.dropzone:hover, .dropzone.is-drag { border-color: var(--ars-brand-blue); background: #EEF1F8; }
.dropzone__icon { display: flex; justify-content: center; margin-bottom: 10px; color: var(--ars-brand-blue); }
.dropzone__icon svg { width: 24px; height: 24px; }
.dropzone__main { font-size: 13px; font-weight: 500; color: var(--fg-1); }
.dropzone__main u { color: var(--ars-brand-blue); text-decoration: none; }
.dropzone__hint { font-size: 11px; color: var(--ars-cool-gray); margin-top: 6px; }
.filelist { display: grid; gap: 8px; margin-top: 12px; }
.filerow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #FFFFFF; border: 1px solid var(--border-cool); border-radius: 10px; }
.filerow__doc { color: var(--ars-brand-blue); flex: none; }
.filerow__doc svg { width: 16px; height: 16px; display: block; }
.filerow__name { font-size: 13px; color: var(--fg-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.filerow__size { font-size: 11px; color: var(--ars-cool-gray); flex: none; }
.filerow__x { background: none; border: 0; cursor: pointer; color: var(--ars-cool-gray); padding: 2px; line-height: 0; flex: none; }
.filerow__x:hover { color: #C53030; }
.filerow__x svg { width: 14px; height: 14px; }
.modal__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.modal__consent { display: flex; gap: 11px; align-items: flex-start; font-size: 12px; color: var(--ars-mute); cursor: pointer; line-height: 1.45; margin-top: 22px; }
.modal__consent input { margin-top: 2px; flex: none; }
.modal__sent { padding: 22px 0 8px; }

/* form sent confirmation */
.sent-state { padding: 8px 0; }
.sent-dot { width: 8px; height: 8px; border-radius: 999px; background: #1F8A5B; display: inline-block; }

/* utility */
.is-hidden { display: none !important; }
.mt-auto { margin-top: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ars-black); padding: 10px 16px; z-index: 200; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
