/* ============================================================
   Achieving Security — design system
   Palette: electric blue + lime on deep navy/black
   ============================================================ */

:root {
  /* Surfaces */
  --bg-0: #03070f;
  --bg-1: #060c1a;
  --bg-2: #0a1428;
  --bg-3: #0f1c36;
  --line: rgba(124, 156, 200, 0.12);
  --line-strong: rgba(124, 156, 200, 0.28);

  /* Text */
  --text-0: #eaf2ff;
  --text-1: #b8c8e2;
  --text-2: #7e96b6;
  --text-3: #54678a;

  /* Brand */
  --blue: #2c8bff;
  --blue-bright: #5aa9ff;
  --blue-glow: rgba(44, 139, 255, 0.45);
  --lime: #b6ff3c;
  --lime-bright: #d4ff7a;
  --lime-glow: rgba(182, 255, 60, 0.5);
  --violet: #7d6bff;

  /* Status */
  --warn: #ffb547;
  --danger: #ff5c8a;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* -------- Reset + base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-bright); text-decoration: none; transition: color .15s; }
a:hover { color: var(--lime-bright); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--text-1); }

::selection { background: var(--lime); color: #06150b; }

/* -------- Ambient backdrop -------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(44, 139, 255, 0.20), transparent 60%),
    radial-gradient(800px 600px at 110% 8%, rgba(182, 255, 60, 0.10), transparent 60%),
    radial-gradient(1200px 800px at 50% 110%, rgba(125, 107, 255, 0.18), transparent 60%),
    var(--bg-0);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 156, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 156, 200, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* Cursor halo (desktop only) */
.cursor-halo {
  position: fixed;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(44, 139, 255, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .25s;
  opacity: 0;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-halo { opacity: 1; }
}

/* -------- Layout primitives -------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-1); max-width: 60ch; }

/* -------- Top nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(3, 7, 15, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center;
  filter: drop-shadow(0 0 14px rgba(44,139,255,0.18));
  transition: filter .25s;
}
.brand:hover { filter: drop-shadow(0 0 18px rgba(182,255,60,0.30)); }
.brand img {
  height: 40px; width: auto; max-width: 280px;
  display: block;
}
/* Fallback when brand/logo.png is missing — visible alt-equivalent */
.brand__fallback {
  font-family: var(--font-body); font-weight: 500; font-size: 1.15rem;
  color: var(--blue-bright); letter-spacing: -0.01em;
  text-transform: lowercase;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: var(--text-1); font-size: 0.92rem; padding: 8px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(124,156,200,0.06); color: var(--text-0); }
.nav__links a.is-active { color: var(--lime); }
.nav__cta {
  margin-left: 8px;
  padding: 9px 16px !important;
  background: rgba(44,139,255,0.12) !important;
  border: 1px solid rgba(44,139,255,0.4);
  color: var(--blue-bright) !important;
  border-radius: 999px !important;
}
.nav__cta:hover {
  background: rgba(44,139,255,0.22) !important;
  border-color: var(--blue-bright);
  color: var(--text-0) !important;
  box-shadow: 0 0 24px var(--blue-glow);
}

.nav__toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--text-0); padding: 8px 10px; border-radius: 8px;
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav {
    position: sticky;
    top: 0;
    background: rgba(3, 7, 15, 0.96);
  }

  .nav__inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 20px;
  }

  .brand img {
    height: 34px;
    max-width: min(240px, 70vw);
  }

  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav__links {
    width: 100%;
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  }

  .nav__links.is-open {
    max-height: 560px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
  }

  .nav__links a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 12px;
    white-space: nowrap;
  }

  .nav__cta {
    margin-left: 0;
    justify-content: center;
    text-align: center;
  }
}


/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #03070f;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 8px 30px var(--blue-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-bright), var(--lime));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 8px 36px var(--lime-glow);
  color: #03070f;
}

.btn--ghost {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 24px var(--lime-glow);
}

.btn--lime {
  background: var(--lime);
  color: #06150b;
  box-shadow: 0 8px 30px var(--lime-glow);
}
.btn--lime:hover { background: var(--lime-bright); }

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

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero__title .accent {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--lime) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(90, 169, 255, 0.35));
}
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-1); max-width: 60ch; margin: 0 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__orb {
  position: absolute;
  width: 540px; height: 540px;
  right: -120px; top: 30px;
  background:
    radial-gradient(closest-side, rgba(44,139,255,0.32), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(182,255,60,0.18), transparent 60%);
  filter: blur(20px);
  border-radius: 50%;
  z-index: 1;
  animation: orb 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orb {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.05); }
}

@media (max-width: 880px) {
  .hero__orb { width: 360px; height: 360px; right: -100px; }
}

/* Frameworks marquee */
.marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: linear-gradient(90deg, var(--bg-1), var(--bg-0));
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-0), transparent); }
.marquee__track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
}
.marquee__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px var(--lime-glow);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Cards / grids -------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(15,28,54,0.55), rgba(10,20,40,0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 220px at var(--mx, -20%) var(--my, -20%), rgba(44,139,255,0.18), transparent 60%);
  opacity: 0; transition: opacity .25s; z-index: -1;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 139, 255, 0.45);
  box-shadow: 0 20px 60px rgba(2, 8, 22, 0.6);
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(44,139,255,0.16), rgba(182,255,60,0.10));
  border: 1px solid rgba(44,139,255,0.35);
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin: 4px 0 8px; }
.card p { color: var(--text-1); margin-bottom: 0; font-size: 0.96rem; }
.card__link {
  display: inline-flex; gap: 6px; align-items: center;
  margin-top: 16px; color: var(--lime);
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.card__link:hover { color: var(--lime-bright); }

/* feature card variant with corner accent */
.card--accent { border-color: rgba(182,255,60,0.25); }

/* -------- Section headers -------- */
.sec-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 48px; }
.sec-head--center { text-align: center; margin-inline: auto; }

/* -------- Two-col layouts -------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* -------- Lists -------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding-left: 30px; color: var(--text-1);
  line-height: 1.55;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--lime));
  box-shadow: 0 0 12px var(--blue-glow);
}
.checklist--lime li::before { background: var(--lime); box-shadow: 0 0 12px var(--lime-glow); }

/* -------- Tables -------- */
.tbl-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10,20,40,0.4);
}
table.matrix {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem;
}
table.matrix th, table.matrix td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--line);
}
table.matrix th {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime);
  background: rgba(15,28,54,0.6);
  border-bottom-color: var(--line-strong);
}
table.matrix tbody tr:hover { background: rgba(44,139,255,0.05); }
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix code, table.matrix .pill { font-family: var(--font-mono); font-size: 0.82rem; color: var(--blue-bright); }
@media (max-width: 720px) {
  table.matrix th, table.matrix td { padding: 10px 12px; font-size: 0.85rem; }
}

/* -------- Tag / pill -------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-1);
  background: rgba(124,156,200,0.08);
  border: 1px solid var(--line-strong);
  padding: 4px 10px; border-radius: 999px;
}
.pill--blue { color: var(--blue-bright); border-color: rgba(44,139,255,0.45); background: rgba(44,139,255,0.08); }
.pill--lime { color: var(--lime); border-color: rgba(182,255,60,0.45); background: rgba(182,255,60,0.07); }
.pill--violet { color: #b9aeff; border-color: rgba(125,107,255,0.45); background: rgba(125,107,255,0.08); }

/* -------- Stat cluster -------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 18px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(15,28,54,0.4);
}
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  background: linear-gradient(135deg, var(--blue-bright), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.stat__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }

/* -------- Process / phases -------- */
.phases { display: grid; gap: 16px; counter-reset: phase; }
.phase {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(10,20,40,0.4);
  position: relative;
}
.phase::before {
  counter-increment: phase;
  content: "0" counter(phase);
  font-family: var(--font-mono); font-size: 0.95rem;
  color: var(--lime); letter-spacing: 0.06em;
  align-self: start; padding-top: 4px;
}
.phase h3 { margin: 0 0 6px; }
.phase p { margin: 0; color: var(--text-1); }
@media (max-width: 600px) {
  .phase { grid-template-columns: 1fr; padding: 18px 20px; }
}

/* -------- Reveal animation -------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__orb { animation: none; }
}

/* -------- CTA banner -------- */
.cta-banner {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(44,139,255,0.18), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(182,255,60,0.14), transparent 60%),
    linear-gradient(180deg, rgba(15,28,54,0.7), rgba(6,12,26,0.7));
  text-align: center;
  overflow: hidden;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 56ch; margin: 0 auto 24px; }

/* -------- Footer -------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  margin-top: 80px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer h4 {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 12px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--text-1); }
.footer ul a:hover { color: var(--lime); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } }

/* -------- Forms -------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(10,20,40,0.6);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(44,139,255,0.18);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* -------- Page header -------- */
.page-head {
  padding: clamp(80px, 9vw, 120px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute;
  bottom: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(closest-side, rgba(44,139,255,0.25), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 2; }
.crumb {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--lime); }
.crumb span { color: var(--lime); }

/* -------- Anchor offset -------- */
section[id] { scroll-margin-top: 80px; }

/* -------- Helpers -------- */
.text-center { text-align: center; }
.muted { color: var(--text-2); }
.mono { font-family: var(--font-mono); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

/* Glow text for emphasis */
.glow { text-shadow: 0 0 18px var(--blue-glow); }
.glow--lime { text-shadow: 0 0 18px var(--lime-glow); color: var(--lime); }

/* Hide scrollbar in marquee */
.no-scrollbar::-webkit-scrollbar { display: none; }


/* -------- Brand imagery additions -------- */
.hero--with-art .hero__inner,
.page-head--with-art .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__content,
.page-head__copy { min-width: 0; }
.hero__visual,
.page-head__visual,
.feature-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124,156,200,0.18);
  background: rgba(6,12,26,0.45);
  box-shadow: 0 22px 70px rgba(0,0,0,0.35), 0 0 50px rgba(44,139,255,0.12);
  isolation: isolate;
}
.hero__visual { aspect-ratio: 16 / 10; }
.page-head__visual { aspect-ratio: 16 / 10; }
.feature-visual { aspect-ratio: 16 / 7; margin: 0 0 42px; }
.hero__visual img,
.page-head__visual img,
.feature-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
}
.hero__visual::after,
.page-head__visual::after,
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(3,7,15,0) 38%, rgba(3,7,15,0.58) 100%),
    linear-gradient(90deg, rgba(3,7,15,0.18), rgba(3,7,15,0));
  pointer-events: none;
  z-index: 2;
}
.hero__visual::before,
.page-head__visual::before,
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 0 55px rgba(44,139,255,0.12);
  z-index: 3;
  pointer-events: none;
}
.visual-card {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}
.visual-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
}
@media (max-width: 980px) {
  .hero--with-art .hero__inner,
  .page-head--with-art .container { grid-template-columns: 1fr; }
  .hero__visual, .page-head__visual { max-width: 680px; }
}
@media (max-width: 600px) {
  .hero__visual, .page-head__visual { aspect-ratio: 4 / 3; }
  .feature-visual { aspect-ratio: 4 / 3; }
  .visual-card { grid-template-columns: 1fr; }
  .visual-card img { width: 100%; height: auto; aspect-ratio: 16/9; }
}

@media (max-width: 760px) {
  .split,
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr !important;
  }

  .tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .matrix {
    min-width: 760px;
  }

  #schedule .split {
    grid-template-columns: 1fr !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }
}