/* Continuum Risk — site styles.
   Brand tokens from the Continuum Risk design system, with text-safe shades so every
   text/background pair passes WCAG 2.2 AA. Signal orange #D96C2C is kept for decoration
   (beacon dot, rules); text and buttons use the darker --signal-text. */
:root {
  color-scheme: light;
  --slate: #31363F;
  --ink: #1E2228;
  --signal: #D96C2C;
  --signal-text: #A84D1A;        /* 5.6:1 with white, 5.2:1 on paper */
  --signal-text-hover: #8F4116;
  --signal-on-dark: #F08A4B;     /* orange text on slate/ink: 5.0:1 on slate */
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --inset: #EFEDE8;
  --line: #E3E1DC;
  --line-control: #8A8F96;       /* input borders: 3.3:1 on white */
  --text-strong: #1E2228;
  --text-body: #2A2E35;
  --text-muted: #5F646B;         /* 5.5:1 on paper, 5.1:1 on inset */
  --text-on-dark: #F6F5F2;
  --text-on-dark-muted: #B4B8BE; /* 6.6:1 on slate */
  --line-on-dark: rgba(255,255,255,0.16);
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 6px rgba(30,34,40,0.08);
  --shadow-md: 0 6px 18px rgba(30,34,40,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(40px, env(safe-area-inset-left, 0px));
  padding-right: max(40px, env(safe-area-inset-right, 0px));
}
@media (max-width: 720px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}

h1, h2, h3 { color: var(--text-strong); text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--signal-text-hover); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-md);
}
.skip:focus { top: 12px; }

/* ---------- Labels ---------- */
.kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.dark .kicker { color: var(--text-on-dark-muted); }
.kicker-accent { color: var(--signal-text); }
.dark .kicker-accent { color: var(--signal-on-dark); }
.beacon { display: inline-block; width: 12px; height: 12px; border-radius: 999px; background: var(--signal); position: relative; }
.beacon-live::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--signal);
  animation: beacon 1.8s cubic-bezier(0.16,1,0.3,1) infinite;
}
@keyframes beacon { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(246,245,242,0.97); border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 80px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px 32px; flex-wrap: wrap; padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand-word { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.brand-word span { color: var(--signal-text); }
.site-nav { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.nav-list a {
  display: inline-block; padding: 10px 12px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; color: var(--text-strong); text-decoration: none;
}
.nav-list a:hover { background: rgba(49,54,63,0.08); color: var(--text-strong); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
@media (max-width: 720px) {
  .site-header { position: static; }
  .header-inner { min-height: 0; }
  .site-nav { width: 100%; }
  .nav-list a { padding: 8px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
}
.btn-lg { min-height: 50px; padding: 14px 26px; font-size: 17px; }
.btn-accent { background: var(--signal-text); color: var(--white); }
.btn-accent:hover { background: var(--signal-text-hover); color: var(--white); }
.btn-secondary { background: transparent; color: var(--text-strong); border-color: var(--slate); }
.btn-secondary:hover { background: rgba(49,54,63,0.08); color: var(--text-strong); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.5); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); color: var(--paper); }
.btn:disabled { cursor: progress; opacity: 0.75; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-tight { padding-block: 72px; }
.dark { background: var(--slate); color: var(--text-on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.ink { background: var(--ink); }
.inset { background: var(--inset); }
.bordered { border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding-block: 64px; } .section-tight { padding-block: 48px; } }

.section-header { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 40px; }
.dark .section-header { border-bottom-color: var(--line-on-dark); }
.section-header .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--signal-text); }
.dark .section-header .num { color: var(--signal-on-dark); }
.section-header h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.022em; }

/* ---------- Page hero ---------- */
.hero { padding-block: 104px 112px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,0.98fr); gap: 72px; align-items: center; position: relative; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -0.028em; }
.hero .lede { max-width: 540px; font-size: 18px; line-height: 1.62; color: var(--text-on-dark-muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 8px 0 0; padding: 0; list-style: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.ghost-mark { position: absolute; right: -160px; bottom: -200px; width: 620px; opacity: 0.05; pointer-events: none; }
.page-hero { padding-block: 80px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.026em; max-width: 900px; }
.page-hero .lede { max-width: 640px; font-size: 18px; color: var(--text-on-dark-muted); }
@media (max-width: 900px) {
  .hero { padding-block: 64px 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ghost-mark { display: none; }
}
@media (max-width: 720px) { .page-hero { padding-block: 56px; } }

/* ---------- Photos ---------- */
.photo-frame { border: 1px solid var(--line); background: var(--inset); padding: 10px; }
.dark .photo-frame { border-color: rgba(255,255,255,0.14); background: var(--ink); }
.photo-frame img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-caption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-muted); }
.dark .photo-caption { color: var(--text-on-dark-muted); }

/* ---------- Stats ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stats li { padding: 40px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.stats li:first-child { padding-left: 0; }
.stats li:last-child { border-right: 0; padding-right: 0; }
.stat-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.stat-value { font-family: var(--font-mono); font-weight: 500; font-size: 48px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-value span { font-size: 24px; color: var(--text-muted); margin-left: 2px; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats li { padding: 28px 16px 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats li:nth-child(odd) { padding-left: 0; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; height: 100%;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.card:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.card .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--signal-text); }
.card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.card h3 a:focus-visible { outline: none; }
.card p { font-size: 16px; line-height: 1.6; }
.card-inset { background: var(--inset); box-shadow: none; }
.card-inset:hover { box-shadow: none; transform: none; }

/* ---------- Method ---------- */
.beats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.beats li { padding: 0 40px; border-right: 1px solid var(--line-on-dark); display: flex; flex-direction: column; gap: 14px; }
.beats li:first-child { padding-left: 0; }
.beats li:last-child { padding-right: 0; border-right: 0; }
.beats h3 { font-size: 26px; letter-spacing: -0.02em; }
.beats p { color: var(--text-on-dark-muted); }
@media (max-width: 900px) {
  .beats { grid-template-columns: 1fr; gap: 32px; }
  .beats li { padding: 0 0 32px; border-right: 0; border-bottom: 1px solid var(--line-on-dark); }
  .beats li:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Product promo ---------- */
.promo { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr); gap: 48px; align-items: center; }
.promo-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.promo-copy h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.022em; }
.promo-copy p { max-width: 600px; }
.promo-panel { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel-row { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; }
.led { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.led-alarm { background: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,0.25); }
.led-fault { background: #F2B13C; }
.led-normal { background: #3FB36E; }
.panel-row span:last-child { color: var(--text-on-dark-muted); margin-left: auto; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }

/* ---------- Badges ---------- */
.standards { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badge { display: inline-block; padding: 5px 10px; border: 1px solid var(--slate); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--text-strong); background: var(--white); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 72px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split-copy h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.022em; }
.split-copy p { max-width: 560px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- CTA band ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.cta-copy h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.022em; }
.cta-copy p { color: var(--text-on-dark-muted); }

/* ---------- Services ---------- */
.service-list { display: flex; flex-direction: column; gap: 72px; }
.service { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,380px); gap: 64px; align-items: start; scroll-margin-top: 100px; }
.service .section-header { margin-bottom: 24px; }
.service-desc { max-width: 640px; }
.deliverables { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.dot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dot-list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.5; }
.dot-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 999px; background: var(--signal); transform: translateY(-2px); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(260px,380px) minmax(0,1fr); gap: 64px; align-items: start; }
.about-aside { display: flex; flex-direction: column; gap: 20px; }
.portrait-slot { aspect-ratio: 4 / 5; border: 1px dashed var(--line-control); background: var(--inset); display: grid; place-items: center; padding: 24px; text-align: center; color: var(--text-muted); font-size: 15px; }
.person-name { font-weight: 700; font-size: 20px; letter-spacing: -0.015em; color: var(--text-strong); }
.about-body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.about-body p { max-width: 700px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; list-style: none; margin: 12px 0 0; padding: 0; }
.principles h3 { font-size: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .principles { grid-template-columns: 1fr; } }
.cred-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 64px; }
.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); color: var(--paper); }
.cred-list .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-on-dark-muted); white-space: nowrap; }
@media (max-width: 900px) { .cred-grid { grid-template-columns: 1fr; } .cred-list li { flex-direction: column; gap: 4px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,400px); gap: 64px; align-items: start; }
.contact-direct { display: flex; flex-direction: column; gap: 24px; }
.contact-big { font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; color: var(--text-strong); text-decoration: none; line-height: 1.1; }
.contact-mid { font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; color: var(--text-strong); text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover, .contact-mid:hover { color: var(--signal-text); text-decoration: underline; }
.contact-card { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 28px; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-card dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.contact-card dd { margin: 4px 0 0; color: var(--paper); overflow-wrap: anywhere; }
.contact-card a { color: var(--paper); }
.next-steps { margin-top: 24px; border: 1px solid var(--line); background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.next-steps li { display: flex; gap: 14px; counter-increment: step; }
.next-steps li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--signal-text); padding-top: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Plans (subscriptions page) ---------- */
.status:empty, .error:empty { display: none; }
.status { color: var(--text-muted); }
.error { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--signal-text); background: #FBF1EA; color: var(--text-strong); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.plan { background: var(--white); border: 1px solid #C9CCD0; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan h3 { font-size: 24px; letter-spacing: -0.015em; }
.plan-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-amount { font-family: var(--font-mono); font-weight: 500; font-size: 44px; line-height: 1; color: var(--ink); }
.price-billing { font-size: 16px; color: var(--text-muted); }
.plan-meta { font-size: 15px; color: var(--text-muted); }
.plan .btn { align-self: flex-start; margin-top: 8px; }
.empty { padding: 32px; border: 1px dashed #C9CCD0; border-radius: var(--radius-lg); background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.step-num { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em; color: var(--signal-text); }
.note { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: 48px; padding-block: 64px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand .brand-word { color: var(--paper); font-size: 24px; }
.footer-brand .brand-word span { color: var(--signal-on-dark); }
.footer-brand .tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-brand p { max-width: 340px; font-size: 15px; }
.footer-col h2 { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--signal-on-dark); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

/* ---------- Simulator demo + screenshots ---------- */
.demo { display: grid; grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr); gap: 56px; align-items: center; }
.demo-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.demo-copy .section-header { margin-bottom: 4px; }
.video-frame { background: var(--ink); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-md); min-width: 0; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 4px; background: var(--ink); }
.video-note { margin-top: 8px; padding-inline: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-on-dark-muted); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 32px; } }
.shot-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot { display: block; border: 1px solid var(--line); background: var(--white); padding: 8px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow 180ms ease; }
.shot:hover { box-shadow: var(--shadow-md); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.shot-grid figcaption { font-size: 16px; color: var(--text-body); }
.shot-grid figcaption strong { color: var(--text-strong); }

/* ---------- Fire Panel Simulator page: tighter rhythm ---------- */
.page-fps .page-hero { padding-block: 56px; }
.page-fps .section { padding-block: 56px; }
.page-fps .section + .section:not(.inset) { padding-top: 0; }
.page-fps .section-header { margin-bottom: 24px; }
.page-fps .demo { gap: 40px; }
.page-fps .demo-copy { gap: 16px; }
.page-fps .shot-grid { gap: 24px; }
.page-fps .note { margin-top: 24px; }
@media (max-width: 720px) {
  .page-fps .page-hero, .page-fps .section { padding-block: 40px; }
  .page-fps .section + .section:not(.inset) { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}