/* BrainStorm Therapeutics — main stylesheet
   Palette from the logo: royal #005cb8, indigo #263b82, azure #009add,
   cyan #44afcc / #57c8e7 / #92d3f4, white; navy #0f1d2b / #193047 for text and dark sections. */

:root {
  /* REPLACEABLE IMAGES */
  --img-network: url("assets/network.svg");
  --img-network-soft: url("assets/network-soft.svg");
  /* END REPLACEABLE IMAGES */

  --navy-950: #08121c;
  --navy-900: #0f1d2b;
  --navy-800: #142638;
  --navy-700: #193047;
  --navy-600: #1e3a57;
  --royal: #005cb8;
  --royal-700: #004a96;
  --indigo: #263b82;
  --azure: #009add;
  --azure-700: #0079ad;
  --cyan-400: #44afcc;
  --cyan-300: #57c8e7;
  --cyan-200: #92d3f4;
  --cyan-50: #eef7fd;
  --ink: #0f1d2b;
  --ink-soft: #3d4f63;
  --line: #d6e2ee;
  --surface: #ffffff;
  --surface-soft: #f3f8fc;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 29, 43, .06), 0 8px 24px rgba(15, 29, 43, .08);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7rem);
  --header-h: 72px;
}

@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--royal-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--royal); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--royal);
  background: var(--royal); color: #fff;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--royal-700); border-color: var(--royal-700); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--royal); }
.btn--ghost:hover { background: var(--royal); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--cyan-200); border-color: var(--cyan-200); color: var(--navy-900); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link:hover { text-decoration: underline; }
.on-dark .text-link { color: var(--cyan-200); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand:hover { color: var(--navy-900); text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name span { color: var(--royal); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.nav-list a { color: var(--navy-900); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { color: var(--royal); border-bottom-color: var(--cyan-300); }
.nav-list a[aria-current="page"] { color: var(--royal); border-bottom-color: var(--royal); }
.site-nav .btn { min-height: 42px; padding: .55rem 1.15rem; font-size: .95rem; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  .site-nav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: .75rem; padding-bottom: .5rem; }
  /* With JS: collapsible menu */
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    min-height: 44px; padding: .5rem .9rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--navy-900);
    font: 600 .95rem var(--font); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding: .5rem 0 1rem; }
  .js .site-nav.is-open .nav-list { flex-direction: column; gap: 0; }
  .js .site-nav.is-open .nav-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .site-nav.is-open .btn { margin-top: .5rem; }
}
@media (max-width: 420px) { .brand-name { font-size: 1rem; } .brand img { width: 44px; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--soft { background: var(--surface-soft); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.on-dark { background: var(--navy-900); color: #e6eef6; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede, .on-dark .muted { color: #b9c8d8; }
.on-dark a:not(.btn) { color: var(--cyan-200); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { margin-bottom: 0; }
.kicker { display: block; font-size: .95rem; font-weight: 600; color: var(--royal); margin-bottom: .6rem; }
.on-dark .kicker { color: var(--cyan-300); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(0, 154, 221, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(38, 59, 130, .55), transparent 70%),
    var(--navy-900);
  color: #e6eef6;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img-network) right -120px center / auto 120% no-repeat;
  opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.wordmark { display: block; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: #fff; letter-spacing: -0.01em; margin-bottom: 1rem; }
.wordmark .storm { color: var(--cyan-300); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .h1-main { display: block; }
.hero h1 .accent { color: var(--cyan-300); }
.hero .lede { color: #c9d7e6; max-width: 36em; }
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem .45rem .6rem; border-radius: 999px;
  border: 1px solid rgba(146, 211, 244, .35); background: rgba(0, 92, 184, .25);
  color: #e6f4fc; font-size: .95rem; font-weight: 500; margin-bottom: 1.6rem;
}
.badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 0 4px rgba(87, 200, 231, .25); }
.hero .btn-row { margin-top: .4rem; }

.orbit-figure { position: relative; margin: 0; max-width: 460px; justify-self: center; width: 100%; }
.orbit-figure::before {
  content: ""; position: absolute; inset: -9% -14%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--royal); border-right-color: var(--azure); border-left-color: var(--indigo);
  transform: rotate(-24deg) scaleY(.62);
  pointer-events: none;
}
.orbit-figure img { position: relative; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); background: #000; }
.orbit-figure figcaption { position: relative; margin-top: .9rem; font-size: .85rem; color: #9fb3c8; }
@media (max-width: 899px) { .orbit-figure { max-width: 340px; } }

/* ---------- Recognition strip ---------- */
.proof { background: var(--navy-950); color: #dbe6f1; padding-block: 1.6rem; border-top: 1px solid rgba(146, 211, 244, .12); }
.proof-inner { display: grid; gap: 1rem 2rem; align-items: center; }
@media (min-width: 900px) { .proof-inner { grid-template-columns: auto 1fr; } }
.proof-title { font-size: .95rem; font-weight: 600; color: var(--cyan-300); margin: 0; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.proof-item { border-left: 2px solid var(--royal); padding-left: .8rem; line-height: 1.35; }
.proof-item strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; }
.proof-item span { font-size: .87rem; color: #a9bccf; }
.proof-item a { color: var(--cyan-200); font-size: .87rem; font-weight: 500; }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.2fr .8fr; } }

.pillar { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar h3 { margin-bottom: .45rem; }
.pillar p { margin: 0; color: var(--ink-soft); }
.pillar .node { display: block; width: 34px; height: 34px; margin-bottom: 1rem; }
.pillar--lead { background: var(--navy-900); border-color: var(--navy-900); color: #dbe6f1; }
.pillar--lead h3 { color: #fff; }
.pillar--lead p { color: #b9c8d8; }

.on-dark .pillar { background: var(--navy-800); border-color: rgba(146, 211, 244, .16); }
.on-dark .pillar p { color: #b9c8d8; }

/* Node bullet list: echoes the logo's node mesh */
.node-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.node-list li { position: relative; padding-left: 2rem; }
.node-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan-300); box-shadow: 0 0 0 4px rgba(0, 154, 221, .18);
}
.node-list li::after { content: ""; position: absolute; left: 6px; top: 1.45em; bottom: -1.1rem; width: 2px; background: linear-gradient(var(--cyan-300), transparent); opacity: .5; }
.node-list li:last-child::after { display: none; }

.quote-line { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.quote-line::before { content: ""; display: block; width: 56px; height: 3px; background: linear-gradient(90deg, var(--royal), var(--cyan-300)); margin-bottom: 1.2rem; }

/* Numbered focus steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--cyan-50); color: var(--royal); font-weight: 700; margin-bottom: .9rem; border: 2px solid var(--cyan-200); }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* Media frame */
.media-frame { margin: 0; }
.media-frame img { border-radius: var(--radius-lg); }
.media-frame figcaption { margin-top: .75rem; font-size: .88rem; color: var(--ink-soft); }
.on-dark .media-frame figcaption { color: #9fb3c8; }
.media-frame--dark img { background: #000; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 800px) { .founder { grid-template-columns: 300px 1fr; } }
.founder img { border-radius: var(--radius-lg); width: 100%; max-width: 300px; }
.founder blockquote { margin: 0 0 1.2rem; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--navy-900); }
.founder cite { display: block; font-style: normal; font-weight: 600; color: var(--ink); }
.founder cite span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 90% 20%, rgba(0, 154, 221, .25), transparent 70%), var(--navy-900);
  color: #e6eef6; padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--img-network-soft) right -80px center / auto 130% no-repeat; opacity: .45; pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18em; }
.page-hero .lede { color: #c9d7e6; max-width: 40em; margin-bottom: 0; }
.page-hero--image { padding-block: 0; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.page-hero-grid .hero-art img { border-radius: var(--radius-lg); width: 100%; }
.breadcrumb { font-size: .9rem; margin-bottom: 1.2rem; color: #9fb3c8; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: var(--cyan-200); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.person:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.person-photo { aspect-ratio: 5 / 6; background: var(--cyan-50); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.person h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.person h3 a { color: var(--navy-900); text-decoration: none; }
.person h3 a::after { content: ""; position: absolute; inset: 0; }
.person { position: relative; }
.person h3 a:hover { color: var(--royal); }
.person .role { font-weight: 600; color: var(--royal); font-size: .93rem; margin-bottom: .55rem; line-height: 1.35; }
.person .summary { font-size: .93rem; color: var(--ink-soft); margin: 0 0 1rem; line-height: 1.5; }
.person .more { margin-top: auto; font-size: .92rem; font-weight: 600; color: var(--royal); }

.bio-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 880px) { .bio-layout { grid-template-columns: 340px 1fr; } }
.bio-photo img { border-radius: var(--radius-lg); width: 100%; }
.bio-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 879px) { .bio-aside { position: static; max-width: 340px; } }
.highlights { background: var(--surface-soft); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 2rem; border: 1px solid var(--line); }
.highlights h2 { font-size: 1.15rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .6rem; }
.prose ul li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 3px solid var(--azure); color: var(--ink-soft); }

/* ---------- News / posts ---------- */
.post-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-media { display: block; aspect-ratio: 3 / 2; background: var(--navy-900); }
.post-media img { width: 100%; height: 100%; object-fit: contain; }
.post-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: .85rem; color: var(--ink-soft); margin-bottom: .55rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; background: var(--cyan-50); color: var(--royal-700); border: 1px solid var(--cyan-200); }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: .5rem; }
.post-card h2 a, .post-card h3 a { color: var(--navy-900); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--royal); text-decoration: underline; }
.post-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.article-header { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem); }
.article-header h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22em; }
.article-header .lede { max-width: 42em; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: #b9c8d8; font-size: .95rem; margin-bottom: 1.2rem; }
.article-meta .tag { background: rgba(0, 92, 184, .3); color: #e6f4fc; border-color: rgba(146, 211, 244, .35); }
.article-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4rem) var(--space); }
@media (min-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.article-figure { margin: 0 0 2rem; max-width: 70ch; }
.article-figure img { border-radius: var(--radius); background: var(--navy-900); }
.source-note { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface-soft); border: 1px solid var(--line); font-size: .95rem; }
.side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--navy-900); color: #dbe6f1; border-radius: var(--radius); padding: 1.6rem; }
.side-card h2 { font-size: 1.25rem; color: #fff; }
.side-card p { color: #b9c8d8; font-size: .95rem; }
.side-card .btn { width: 100%; }
.side-card .back { display: inline-block; margin-top: 1rem; color: var(--cyan-200); font-size: .95rem; }
@media (max-width: 979px) { .side-card { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--royal) 0%, var(--indigo) 100%); color: #fff; padding-block: clamp(3.5rem, 7vw, 5rem); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--img-network-soft) right -60px center / auto 160% no-repeat; opacity: .35; pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #dcebf8; margin: 0; max-width: 40em; }
.cta-band a:not(.btn) { color: #fff; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list li { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-list .label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .15rem; }
.contact-list a { font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem; border-radius: 10px;
  border: 1.5px solid #b8c8d8; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(0, 154, 221, .25); }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-weight: 500; }
.form-status.is-success { background: #e8f6ee; color: #11532f; border: 1px solid #a9dcbd; }
.form-status.is-error { background: #fdeeee; color: #7a1d1d; border: 1px solid #f0b9b9; }
.cf-turnstile { margin: .5rem 0 1.2rem; min-height: 65px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b9c8d8; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .97rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.site-footer a { color: #dbe9f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; margin-bottom: 1rem; }
.footer-brand img { width: 54px; height: auto; }
.footer-brand span { font-weight: 600; font-size: 1.1rem; color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-contact li { display: grid; }
.footer-contact .label { font-size: .82rem; color: #8ea3b8; }
.footer-bottom { border-top: 1px solid rgba(146, 211, 244, .14); padding-block: 1.3rem 1.6rem; font-size: .85rem; color: #8ea3b8; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9c8d8; text-decoration: underline; }

/* ---------- Misc ---------- */
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--cyan-50); border: 1px solid var(--cyan-200); font-size: .95rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.values { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.values li { padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--cyan-200); background: #fff; font-weight: 500; font-size: .95rem; color: var(--navy-700); }
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; line-height: 1; color: var(--cyan-300); margin-bottom: .5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Additions ---------- */
.hero-points { font-size: .97rem; font-weight: 500; color: var(--cyan-200); margin-bottom: 1.6rem; }
.footer-cta { margin-top: 1.4rem; }
.media-frame--gif { justify-self: center; }
.media-frame--gif img { max-width: 400px; width: 100%; }
@media (max-width: 960px) {
  .header-inner { gap: .75rem; }
  .js .header-inner { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .brand { gap: .5rem; }
  .brand img { width: 42px; }
  .brand-name { font-size: .98rem; }
  .js .nav-toggle { padding: .45rem .75rem; }
  .hero { padding-top: 2.25rem; }
  .badge { margin-bottom: 1.1rem; }
}
.steps { list-style: none; padding: 0; margin: 0; }
.split--wide-left { align-items: start; }
@media (min-width: 900px) { .split--wide-left > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); } }
.proof-item a { white-space: nowrap; }
.post-media, .person-photo { position: relative; overflow: hidden; }
.post-media img, .person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
