/* DivineShield landing page. Self-contained so the shared style.css stays untouched. */
:root {
  --navy-950: #0a1628;
  --navy-900: #0f2250;
  --navy-850: #0f2a5c;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --yellow-500: #f59e0b;
  --yellow-400: #fbbf24;
  --yellow-100: #fef3c7;
  --teal-600: #0f766e;
  --teal-500: #14b8a6;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 50px -20px rgba(15, 34, 80, 0.35);
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 10px 30px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-accent { background: var(--yellow-400); color: var(--navy-950); }
.btn-accent:hover { background: var(--yellow-500); transform: translateY(-2px); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }

/* Navigation */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px; transition: top .4s var(--ease);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 16px; border-radius: 999px;
  background: rgba(10, 22, 40, .55);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled .nav-inner { background: rgba(10, 22, 40, .92); box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .5); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-sub { display: block; font-size: .68rem; color: rgba(255, 255, 255, .55); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .72); font-size: .9rem; font-weight: 600;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-links .btn { padding: 10px 18px; margin-left: 6px; color: var(--white); }
.nav-links .btn:hover { background: var(--blue-700); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 0; color: var(--white);
  font-size: 1.1rem; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 0 140px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(59, 130, 246, .22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(251, 191, 36, .10), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-850) 100%);
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .85);
  margin-bottom: 24px;
}
.hero-kicker img { width: 28px; height: 28px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 2px; }
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.1; font-weight: 800;
}
.hero h1 .hl { color: var(--yellow-400); }
.hero-lead {
  margin-top: 22px; max-width: 46ch;
  font-size: 1.1rem; color: rgba(226, 232, 240, .8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-org { margin-top: 30px; font-size: .85rem; color: rgba(226, 232, 240, .55); max-width: 48ch; }
.hero-org strong { color: rgba(255, 255, 255, .85); font-weight: 600; }

/* Hero photo composition (both original hero images are kept) */
.hero-media { position: relative; height: 540px; }
.hero-shot {
  position: absolute; overflow: hidden; border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot.main { top: 0; right: 0; width: 82%; height: 74%; }
.hero-shot.second { bottom: 0; left: 0; width: 56%; height: 46%; border: 6px solid var(--navy-900); border-radius: 26px; }

/* "Serving children since 2017" stamp */
.hero-stamp {
  position: absolute; right: 4%; bottom: 6%;
  width: 136px; height: 136px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow-400);
  box-shadow: 0 0 0 6px var(--navy-900), 0 24px 50px -16px rgba(0, 0, 0, .6);
}
.stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-ring text {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  fill: var(--navy-950);
}
.stamp-core {
  width: 64px; height: 64px; padding: 12px; border-radius: 50%;
  background: var(--navy-900); position: relative;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats strip overlapping the hero */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(15, 34, 80, .35);
  border: 1px solid var(--line);
}
.stat { padding: 28px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--navy-900); }
.stat-num em { font-style: normal; color: var(--blue-600); }
.stat-label { margin-top: 8px; font-size: .88rem; color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue-600); margin-bottom: 14px;
}
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 800; color: var(--navy-950); max-width: 20ch; }
.lead { margin-top: 16px; font-size: 1.05rem; color: var(--muted); max-width: 60ch; }

/* About bento */
.bento {
  margin-top: 48px; display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
}
.tile { border-radius: var(--radius); overflow: hidden; position: relative; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-a { grid-column: span 7; grid-row: span 2; min-height: 420px; }
.tile-b { grid-column: span 5; min-height: 250px; padding: 32px; background: var(--navy-900); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; }
.tile-c { grid-column: span 5; min-height: 250px; padding: 32px; background: var(--yellow-100); color: var(--navy-950); display: flex; flex-direction: column; justify-content: flex-start; }
.tile-d { grid-column: span 7; padding: 34px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tile-e { grid-column: span 5; min-height: 240px; }
.tile-b > div, .tile-c > div { position: relative; max-width: 58%; }
.tile h3 { font-size: 1.3rem; font-weight: 700; }
.tile-b h3, .tile-c h3 { font-size: 1.7rem; font-weight: 800; }
.tile-b p { color: rgba(226, 232, 240, .8); margin-top: 8px; }
.tile-c p { color: #78350f; margin-top: 8px; }

/* Mission / Vision illustrations */
.tile-art { position: absolute; pointer-events: none; }
.art-mission { top: -26px; right: -26px; width: 230px; }
.art-vision { right: 0; bottom: 0; width: 280px; }
.art-arrow, .art-sun { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .art-arrow { transform: translate(-40px, 40px); opacity: 0; transition: transform 1s var(--ease) .35s, opacity .4s ease .35s; }
  .art-sun { transform: translateY(46px); transition: transform 1.4s var(--ease) .3s; }
  .tile.is-in .art-arrow { transform: none; opacity: 1; }
  .tile.is-in .art-sun { transform: none; }
}
.tile-d p { color: var(--ink-2); }
.tile-d .facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.chip i { color: var(--blue-600); }

/* Workflow */
.flow-section { background: var(--surface); overflow: hidden; }
.flow {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative;
}
/* Moving dashed track the four scenes stand on */
.flow::before {
  content: ""; position: absolute; top: 189px; left: -24px; right: -24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-400) 0 10px, transparent 10px 20px);
  opacity: .45;
}
.flow-step { position: relative; }
.flow-art { height: 200px; display: flex; align-items: flex-end; }
.flow-art svg { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.flow-role {
  display: inline-block; margin-top: 26px; padding: 4px 12px; border-radius: 999px;
  background: var(--yellow-100); color: #b45309; font-size: .76rem; font-weight: 700;
}
.flow-step h3 { margin-top: 12px; font-size: 1.35rem; font-weight: 800; color: var(--navy-950); }
.flow-step p { margin-top: 8px; font-size: .95rem; color: var(--muted); max-width: 30ch; }

.sub-line, .rep-bar, .as-chip, .rep-doc { transform-box: fill-box; }
.sub-line { transform-origin: left center; }
.rep-bar { transform-origin: center bottom; }
.as-chip, .rep-doc { transform-origin: center; }
.sub-pencil, .sub-plane, .val-mag, .as-marker { transform-box: view-box; }

@media (prefers-reduced-motion: no-preference) {
  .flow::before { animation: track 1.4s linear infinite; }
  .sub-line { transform: scaleX(0); transition: transform .7s var(--ease) calc(var(--d, 0s) + .3s + var(--i) * .18s); }
  .val-check, .rep-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .val-check { transition: stroke-dashoffset .5s var(--ease) calc(var(--d, 0s) + .5s + var(--i) * .3s); }
  .rep-bar { transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--d, 0s) + .3s + var(--i) * .12s); }
  .rep-line { transition: stroke-dashoffset 1.1s var(--ease) calc(var(--d, 0s) + .9s); }
  .rep-dot { opacity: 0; transition: opacity .3s ease calc(var(--d, 0s) + 1.8s); }
  .as-marker { transform: translateY(-30px); opacity: 0; transition: transform 1s var(--ease) calc(var(--d, 0s) + .5s), opacity .4s ease calc(var(--d, 0s) + .5s); }
  .as-chip, .rep-doc { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0s) + 1.1s); }

  .flow-step.is-in .sub-line, .flow-step.is-in .rep-bar,
  .flow-step.is-in .as-marker, .flow-step.is-in .as-chip { transform: none; opacity: 1; }
  .flow-step.is-in .val-check, .flow-step.is-in .rep-line { stroke-dashoffset: 0; }
  .flow-step.is-in .rep-dot { opacity: 1; }
  .flow-step.is-in .rep-doc { transform: none; animation: bob 3s ease-in-out calc(var(--d, 0s) + 1.8s) infinite; }

  .sub-pencil { animation: scribble 1.4s ease-in-out infinite; }
  .sub-plane { animation: fly 3.2s ease-in-out infinite; }
  .val-mag { animation: sweep 5s ease-in-out infinite; }
}
@keyframes track { to { background-position: 20px 0; } }
@keyframes scribble { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-16px, 3px); } }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(4px, -8px) rotate(-3deg); } }
@keyframes sweep { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-70px, 24px); } 70% { transform: translate(-60px, 58px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Decision support */
.decision { background: var(--white); }
.ds-grid { margin-top: 52px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.ds-ladder { display: grid; gap: 12px; }
.ds-rung {
  --w: 100%;
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.ds-rung::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w);
  background: var(--tone-soft); transform-origin: left;
}
.ds-rung > * { position: relative; }
.ds-rung.p1 { --tone: #dc2626; --tone-soft: #fee2e2; --w: 100%; }
.ds-rung.p2 { --tone: #d97706; --tone-soft: #fef3c7; --w: 78%; }
.ds-rung.p3 { --tone: var(--blue-600); --tone-soft: var(--blue-50); --w: 56%; }
.ds-rung.p4 { --tone: var(--teal-600); --tone-soft: #ccfbf1; --w: 34%; }
.ds-tag {
  flex-shrink: 0; min-width: 88px; text-align: center;
  padding: 6px 10px; border-radius: 999px;
  background: var(--tone); color: var(--white); font-size: .78rem; font-weight: 700;
}
.ds-rung strong { display: block; font-family: var(--font-display); color: var(--navy-950); font-size: 1rem; }
.ds-rung span:not(.ds-tag) { font-size: .86rem; color: var(--muted); }
.ds-rules { display: grid; gap: 26px; }
.ds-group h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-950); }
.ds-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.ds-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--navy-950);
}
.ds-chip em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .84rem; }
.ds-note {
  padding: 18px 20px; border-radius: 16px;
  background: var(--navy-900); color: rgba(226, 232, 240, .85); font-size: .92rem;
}
.ds-note strong { color: var(--yellow-400); }
@media (prefers-reduced-motion: no-preference) {
  .ds-rung::before { transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--d, 0s) + .25s); }
  .ds-rung.is-in::before { transform: none; }
}
.portals-section { background: var(--surface); }

/* Portals (tabbed) */
.portals-head { display: flex; flex-direction: column; align-items: flex-start; }
.tabs {
  margin-top: 36px; display: inline-flex; gap: 6px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 0; background: transparent;
  font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.tab:hover { color: var(--navy-950); }
.tab[aria-selected="true"] { background: var(--blue-50); color: var(--navy-950); box-shadow: 0 6px 18px -10px rgba(15, 34, 80, .45); }
.tab[aria-selected="true"] i { color: var(--role); }
.panel {
  margin-top: 26px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow);
}
.panel[hidden] { display: none; }
.panel-body { padding: 44px; }
.panel-role {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--role); font-size: .9rem;
}
.panel-role .ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--role-soft); color: var(--role);
}
.panel h3 { margin-top: 18px; font-size: 1.7rem; font-weight: 800; color: var(--navy-950); line-height: 1.2; }
.panel-body > p { margin-top: 10px; color: var(--muted); max-width: 48ch; }
.panel-list {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px;
}
.panel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.panel-list i { color: var(--role); margin-top: 4px; }
.panel-foot { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.panel-foot small { color: var(--muted); font-size: .82rem; display: inline-flex; gap: 8px; align-items: center; }
.panel-side {
  position: relative; min-height: 380px;
  background: var(--role-deep);
}
.panel-art { position: absolute; top: 34px; left: 50%; width: 88%; max-width: 400px; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .art-bars rect { transform-box: fill-box; transform-origin: bottom; animation: grow .9s var(--ease) both; }
  .panel:not([hidden]) .art-bars rect:nth-child(2) { animation-delay: .06s; }
  .panel:not([hidden]) .art-bars rect:nth-child(3) { animation-delay: .12s; }
  .panel:not([hidden]) .art-bars rect:nth-child(4) { animation-delay: .18s; }
  .panel:not([hidden]) .art-bars rect:nth-child(5) { animation-delay: .24s; }
  .panel:not([hidden]) .art-note { animation: rise .8s var(--ease) both .2s; }
}
.panel-art-full { top: 30px; width: calc(100% - 56px); max-width: none; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.panel-side::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 30%, var(--role-deep) 95%);
}
.panel-side-text {
  position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 1; color: var(--white);
}
.panel-side-text strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.panel-side-text span { font-size: .88rem; color: rgba(255, 255, 255, .8); }
.role-admin { --role: var(--blue-600); --role-soft: var(--blue-50); --role-deep: var(--navy-900); }
.role-staff { --role: #d97706; --role-soft: var(--yellow-100); --role-deep: #78350f; }
.role-church { --role: var(--teal-600); --role-soft: #ccfbf1; --role-deep: #134e4a; }

/* Security */
.security {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(59, 130, 246, .14), transparent 60%),
    var(--navy-950);
  color: var(--white);
}
.security .eyebrow { color: var(--yellow-400); }
.security .h2 { color: var(--white); }
.security .lead { color: rgba(203, 213, 225, .75); }
.sec-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.sec-intro .btn { margin-top: 30px; }

.threat h3 { font-size: 1.05rem; font-weight: 700; color: var(--yellow-400); }
.threat-seq { width: 100%; max-width: 560px; height: auto; margin-top: 18px; overflow: visible; }
.att { fill: rgba(255, 255, 255, .06); stroke: rgba(148, 163, 184, .45); stroke-width: 2; }
.seq-link { stroke: rgba(96, 165, 250, .5); stroke-width: 2; stroke-dasharray: 6 6; fill: none; }
.timer-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 8; }
.timer-fill { fill: none; stroke: var(--blue-400); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.seq-num { font-family: var(--font-display); font-size: 17px; font-weight: 700; fill: var(--white); }
.seq-label { font-family: var(--font-body); font-size: 14px; font-weight: 500; fill: rgba(203, 213, 225, .8); }
.lock-body { fill: var(--yellow-400); }
.lock-shackle { fill: none; stroke: var(--yellow-400); stroke-width: 9; stroke-linecap: round; }
.lock, .lock-shackle { transform-box: view-box; }
.threat-notes { margin-top: 26px; display: grid; gap: 8px; padding-left: 16px; border-left: 2px solid rgba(96, 165, 250, .4); }
.threat-notes p { font-size: .95rem; color: rgba(203, 213, 225, .8); }
.threat-notes strong { color: var(--white); font-weight: 600; }

.guards { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.guard { position: relative; padding-top: 20px; }
.guard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: rgba(148, 163, 184, .22); transform-origin: left;
}
.guard::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 3px; border-radius: 2px;
  background: var(--yellow-400); transform-origin: left;
}
.guard h3 { font-size: 1.05rem; font-weight: 700; }
.guard p { margin-top: 6px; font-size: .92rem; color: rgba(148, 163, 184, .95); max-width: 34ch; }

@media (prefers-reduced-motion: no-preference) {
  /* 7s loop: attempts light up, the 5-minute window runs, then the lock closes */
  .att { animation: att 7s ease infinite; animation-delay: calc(var(--i) * .35s); }
  .timer-fill { animation: timer 7s ease-in-out infinite; }
  .lock-shackle { animation: shackle 7s var(--ease) infinite; }
  .lock { animation: lockpulse 7s ease infinite; transform-origin: 470px 110px; }
  .seq-link { animation: dash 1s linear infinite; }
  .guard::before, .guard::after { transform: scaleX(0); transition: transform .9s var(--ease) calc(var(--d, 0s) + .2s); }
  .guard.is-in::before, .guard.is-in::after { transform: none; }
}
@keyframes att {
  0%, 4% { fill: rgba(255, 255, 255, .06); stroke: rgba(148, 163, 184, .45); }
  8%, 82% { fill: #f87171; stroke: #f87171; }
  90%, 100% { fill: rgba(255, 255, 255, .06); stroke: rgba(148, 163, 184, .45); }
}
@keyframes timer {
  0%, 28% { stroke-dashoffset: 1; }
  55%, 88% { stroke-dashoffset: 0; }
  96%, 100% { stroke-dashoffset: 1; }
}
@keyframes shackle {
  0%, 56% { transform: translateY(-12px); }
  62%, 90% { transform: translateY(0); }
  96%, 100% { transform: translateY(-12px); }
}
@keyframes lockpulse {
  0%, 60% { transform: scale(1); }
  64% { transform: scale(1.08); }
  68%, 100% { transform: scale(1); }
}
@keyframes dash { to { stroke-dashoffset: -12; } }

/* Closing CTA + footer */
.cta-band { padding: 90px 0 0; background: var(--white); }
.cta-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  padding: 52px 56px; border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 55%, var(--blue-500));
  color: var(--white);
}
.cta-card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(251, 191, 36, .18); pointer-events: none;
}
.cta-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.2; max-width: 22ch; }
.cta-card p { margin-top: 10px; color: rgba(239, 246, 255, .85); max-width: 52ch; }
.cta-card .btn { position: relative; z-index: 1; }

.footer { background: var(--white); padding: 64px 0 32px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--navy-950); }
.footer .brand-sub { color: var(--muted); }
.footer-about { margin-top: 14px; max-width: 46ch; font-size: .9rem; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; font-size: .92rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue-600); }
.footer-bottom { padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Reveal motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero-shot.main { animation: rise 1.1s var(--ease) both .15s; }
  .hero-shot.second { animation: rise 1.1s var(--ease) both .35s; }
  .hero-stamp { animation: rise 1s var(--ease) both .6s; }
  .stamp-ring { animation: spin 28s linear infinite; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .panel:not([hidden]) { animation: fade .5s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { height: 460px; max-width: 640px; }
  .ds-grid { grid-template-columns: 1fr; gap: 40px; }
  .panel { grid-template-columns: 1fr; }
  .panel-side { min-height: 330px; }
  .panel-art { top: 22px; width: 82%; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 74px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(10, 22, 40, .97); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 16px; }
  .nav-links .btn { margin: 6px 0 0; justify-content: center; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: auto; grid-row: auto; }
  .tile-b { min-height: 280px; }
  .tile-c { min-height: 300px; }
  .tile-b > div { max-width: 100%; }
  .tile-c > div { max-width: 85%; }
  .art-mission { width: 180px; }
  .art-vision { width: 240px; }
  .tile-a { min-height: 300px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
  .flow::before { display: none; }
  .sec-top { grid-template-columns: 1fr; gap: 48px; }
  .guards { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 110px 0 120px; }
  .hero-media { height: 340px; }
  .hero-shot.main { width: 88%; height: 72%; }
  .hero-shot.second { width: 60%; height: 44%; border-width: 4px; }
  .hero-stamp { width: 104px; height: 104px; right: 0; bottom: 6%; }
  .stamp-core { width: 52px; height: 52px; padding: 9px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .stat { padding: 22px 18px; }
  .stat-num { font-size: 1.7rem; }
  .flow { grid-template-columns: 1fr; gap: 48px; }
  .guards { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .seq-label { font-size: 17px; }
  .seq-num { font-size: 19px; }
  .flow-art { height: auto; }
  .panel-body { padding: 28px 22px; }
  .panel-list { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; border-radius: 20px; }
  .tab { flex: 1 1 auto; justify-content: center; }
  .brand-sub { display: none; }
}
