/* Swan Street Initiatives — site styles */

:root {
  --paper: #f3f4f1;
  --paper-2: #e8eae5;
  --white: #ffffff;
  --ink: #0f1b2a;
  --ink-deep: #0a1320;
  --ink-2: #3a4754;
  --ink-3: #66727e;
  --line: #d3d7d1;
  --cobalt: #2f52f0;
  --cobalt-dark: #1d3bc4;
  --cobalt-soft: #e4e9fb;
  --pass: #24785a;
  --pass-soft: #dcefe6;
  --warn: #b7790c;
  --warn-soft: #f6ead0;
  --alert: #b3372b;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem);
  --step-4: clamp(2.9rem, 1.4rem + 6vw, 6rem);

  --wrap: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius-s: 6px;
  --radius-l: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dark); }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: 600 1rem/1 var(--body);
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-s);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 244, 241, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.brand svg { width: 34px; height: 38px; flex: none; }
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
}
.nav a:hover { color: var(--cobalt); }
.nav .nav-phone { color: var(--ink-2); font-weight: 600; }
.nav .btn { padding: 0.75rem 1.1rem; font-size: 0.95rem; color: var(--white); }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-s);
  padding: 0.5rem 0.8rem;
  font: 600 0.95rem var(--body);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink-deep);
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,19,32,0.96) 0%, rgba(10,19,32,0.86) 42%, rgba(10,19,32,0.35) 100%),
    linear-gradient(0deg, rgba(10,19,32,0.9) 0%, rgba(10,19,32,0) 35%);
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 { max-width: 15ch; color: var(--white); margin-bottom: 0.4em; }
.hero h1 span { display: block; color: #8ea4ff; }
.hero-lede { font-size: var(--step-1); color: #c9d3de; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.7); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--ink); }
.hero-facts {
  position: relative;
  list-style: none;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #aab6c3;
}
.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}
.hero-visual { position: relative; }

/* Live console */
.console {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  font-size: 0.86rem;
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--pass);
  font-weight: 600;
  font-size: 0.8rem;
}
.live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pass);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(36, 120, 90, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(36, 120, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 120, 90, 0); }
}
.console-feed { list-style: none; margin: 0; padding: 0; height: 290px; overflow: hidden; }
.console-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--paper-2);
  animation: slidein 0.45s ease-out;
}
@keyframes slidein {
  from { opacity: 0; transform: translateY(-10px); background: var(--cobalt-soft); }
  to { opacity: 1; transform: none; background: transparent; }
}
.tag {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-stop { background: #f6dcd8; color: var(--alert); }
.tag-fix { background: var(--warn-soft); color: #8a5a06; }
.tag-ok { background: var(--pass-soft); color: var(--pass); }
.console-feed .what { color: var(--ink); line-height: 1.35; }
.console-feed .what span { display: block; color: var(--ink-3); font-size: 0.78rem; }
.console-feed time { color: var(--ink-3); font-size: 0.75rem; white-space: nowrap; }
.console-foot {
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,19,32,0.82) 0%, rgba(10,19,32,0.94) 60%); }
  .console { margin: 0 auto; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
}

/* Framework ribbon */
.ribbon {
  background: var(--cobalt);
  color: #ffffff;
  overflow: hidden;
  padding: 1.05rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}
.ribbon-track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  animation: ribbon 60s linear infinite;
}
.ribbon-track span { white-space: nowrap; }
.ribbon-track span::after { content: "/"; margin-left: 2.75rem; color: rgba(255,255,255,0.45); }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon-track { animation-play-state: paused; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }

/* Compliance split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 100px;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.service-list h3 { margin: 0; font-size: 1.15rem; }
.service-list p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { position: static; aspect-ratio: 16 / 10; }
  .service-list li { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* Framework finder */
.finder {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.finder h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.finder > p { color: #b8c1cb; max-width: 56ch; }
.finder-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.finder-panel h4 {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #8f9aa6;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
}
.fw-list { list-style: none; margin: 0; padding: 0; }
.fw-list li {
  padding: 0.85rem 0;
  border-top: 1px solid #2c3845;
}
.fw-list strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.fw-list span { color: #b8c1cb; font-size: 0.92rem; }
.fit-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.fit-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.45rem 0;
  color: #dfe4ea;
}
.fit-list li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: #5b7cff;
  transform: translateY(-1px);
}
.finder-panel .btn-primary { background: #4d6bff; }
.finder-panel .btn-primary:hover { background: #3a58ee; }
@media (max-width: 800px) { .finder-panel { grid-template-columns: 1fr; } }

/* Managed security selector */
.selector {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.selector-list { list-style: none; margin: 0; padding: 0; }
.selector-list button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-left: 3px solid var(--line);
  padding: 1rem 1.25rem;
  font: 600 1.05rem var(--body);
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.selector-list button:hover { color: var(--ink); }
.selector-list button[aria-selected="true"] {
  color: var(--ink);
  border-left-color: var(--cobalt);
}
.selector-list small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-3); margin-top: 0.15rem; }
.detail {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.detail-photo { aspect-ratio: 16 / 7; overflow: hidden; background: var(--ink); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.detail-body h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.detail-body > p { color: var(--ink-2); max-width: 60ch; }
.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.detail-cols h4 { font-family: var(--body); font-size: 0.9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-bottom: 0.6rem; }
.detail-cols ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.detail-cols li { margin-bottom: 0.3rem; }
.detail.swap { animation: swap 0.35s ease-out; }
@keyframes swap { from { opacity: 0.35; } to { opacity: 1; } }
.soc-note {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--pass-soft);
  border-radius: var(--radius-l);
  color: #1b4d3b;
}
.soc-note strong { font-family: var(--display); font-size: 1.15rem; }
@media (max-width: 900px) {
  .selector { grid-template-columns: 1fr; }
  .selector-list { display: flex; overflow-x: auto; gap: 0.25rem; padding-bottom: 0.25rem; }
  .selector-list button { border-left: 0; border-bottom: 3px solid var(--line); white-space: nowrap; padding: 0.75rem 1rem; }
  .selector-list button[aria-selected="true"] { border-bottom-color: var(--cobalt); }
  .selector-list small { display: none; }
  .detail-cols { grid-template-columns: 1fr; }
}

/* Process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
  border-top: 2px solid var(--ink);
}
.steps li {
  counter-increment: step;
  padding: 1.75rem 2rem 0 0;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--cobalt);
  margin-bottom: 1rem;
}
.steps h3 { font-size: var(--step-2); }
.steps p { color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps li { padding-right: 0; } }

/* Local band */
.local {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.local img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.local .wrap { position: relative; padding-block: clamp(4rem, 9vw, 7rem); }
.local h2 { max-width: 18ch; }
.local p { max-width: 52ch; color: #d6dce2; font-size: var(--step-1); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact-info dl { margin: 2rem 0 0; }
.contact-info dt { font-size: 0.85rem; color: var(--ink-3); font-weight: 600; }
.contact-info dd { margin: 0.15rem 0 1.25rem; font-size: var(--step-1); font-family: var(--display); font-weight: 600; }
.contact-info dd a { color: var(--ink); text-decoration: none; }
.contact-info dd a:hover { color: var(--cobalt); }
form.contact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input,
.field select,
.field textarea {
  font: 400 1rem var(--body);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  border: 1px solid #b9bfb7;
  border-radius: var(--radius-s);
  background: var(--white);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--cobalt-soft); border-color: var(--cobalt); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 0.9rem 1rem; border-radius: var(--radius-s); margin: 0; }
.form-status.ok { background: var(--pass-soft); color: #1b4d3b; }
.form-status.err { background: #f6dcd8; color: #7c241b; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  form.contact { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b8c1cb;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: #8f9aa6; }
.site-footer h4 { font-family: var(--body); font-size: 0.9rem; color: var(--white); letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b8c1cb; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2c3845;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8f9aa6;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Document pages (policy / legal) */
.doc-hero { padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: var(--step-3); max-width: 24ch; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.doc-meta strong { color: var(--ink); }
.doc {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}
.doc-toc { position: sticky; top: 100px; align-self: start; font-size: 0.92rem; }
.doc-toc h2 { font-family: var(--body); font-size: 0.9rem; color: var(--ink-3); letter-spacing: 0; }
.doc-toc ol { margin: 0; padding-left: 1.2rem; }
.doc-toc li { margin-bottom: 0.45rem; }
.doc-toc a { color: var(--ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--cobalt); text-decoration: underline; }
.doc-body { max-width: 70ch; }
.doc-body h2 { font-size: var(--step-2); margin-top: 2.5rem; scroll-margin-top: 100px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin-top: 1.5rem; }
.doc-body p, .doc-body li { color: var(--ink-2); }
.doc-body ul { padding-left: 1.2rem; }
.doc-body .callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cobalt);
  border-radius: var(--radius-s);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.doc-body .callout p:last-child { margin-bottom: 0; }
.sign-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-top: 2rem;
}
.sign-lines div { border-bottom: 1px solid var(--ink); padding-bottom: 2.25rem; font-size: 0.85rem; color: var(--ink-3); }
.print-btn { margin-top: 2rem; }
@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .sign-lines { grid-template-columns: 1fr; }
}

/* Thank-you page */
.notice-page { padding: clamp(5rem, 12vw, 9rem) 0; }
.notice-page h1 { font-size: var(--step-3); }
.notice-page p { max-width: 50ch; color: var(--ink-2); font-size: var(--step-1); }

@media print {
  .site-header, .site-footer, .doc-toc, .print-btn, .skip { display: none !important; }
  body { background: #fff; }
  .doc { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); gap: 1rem 2.75rem; }
}

.footer-blurb { margin-top: 1.25rem; max-width: 34ch; }

/* Threats we stop */
.threats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.threat {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-l);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.threat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}
.threat::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,19,32,0.1) 0%, rgba(10,19,32,0.55) 45%, rgba(10,19,32,0.96) 100%);
}
.threat:hover img { transform: scale(1.06); }
.threat-body { padding: 1.5rem; }
.threat-body .tag { margin-bottom: 0.9rem; }
.threat h3 { font-size: var(--step-2); color: var(--white); margin-bottom: 0.5rem; }
.threat p { color: #d3dbe4; font-size: 0.95rem; margin-bottom: 1rem; }
.threat .stopped-by {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 0.8rem;
  margin: 0;
  font-size: 0.85rem;
  color: #aab6c3;
}
.threat .stopped-by strong { color: var(--white); font-weight: 600; }
@media (max-width: 1000px) { .threats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .threats { grid-template-columns: 1fr; } .threat { min-height: 380px; } }

/* Industry tiles (framework finder tabs) */
.finder-section { background: var(--ink-deep); color: var(--white); }
.finder-section .section-head h2 { color: var(--white); }
.finder-section .section-head p { color: #aab6c3; }
.industry-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.industry-tiles button {
  position: relative;
  height: 150px;
  border: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  padding: 0;
  font: 600 1.05rem/1.2 var(--display);
  isolation: isolate;
  outline-offset: 3px;
}
.industry-tiles img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.5s;
}
.industry-tiles button::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10,19,32,0.92), rgba(10,19,32,0.15));
}
.industry-tiles button span { position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; }
.industry-tiles button:hover img { opacity: 0.8; transform: scale(1.05); }
.industry-tiles button[aria-selected="true"] { box-shadow: inset 0 0 0 3px #8ea4ff; }
.industry-tiles button[aria-selected="true"] img { opacity: 0.9; }
.finder {
  background: #13233a;
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
@media (max-width: 900px) { .industry-tiles { grid-template-columns: 1fr 1fr; } .industry-tiles button { height: 120px; } }

/* SOC band */
.soc-band { position: relative; color: var(--white); background: var(--ink-deep); overflow: hidden; }
.soc-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,19,32,0.95) 0%, rgba(10,19,32,0.75) 55%, rgba(10,19,32,0.4) 100%);
}
.soc-band .wrap { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.soc-band h2 { font-size: var(--step-4); max-width: 13ch; color: var(--white); }
.soc-band > .wrap > p { max-width: 50ch; color: #c9d3de; font-size: var(--step-1); }
.soc-points {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 18rem)); gap: 2rem;
}
.soc-points li { border-top: 2px solid #8ea4ff; padding-top: 1rem; color: #c9d3de; }
.soc-points strong { display: block; color: var(--white); font-family: var(--display); font-size: 1.2rem; margin-bottom: 0.3rem; }
@media (max-width: 800px) { .soc-points { grid-template-columns: 1fr; } }

/* Service list on compliance section: two columns */
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem;
}
.service-grid li { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.service-grid h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.service-grid p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .service-grid { grid-template-columns: 1fr; } }
.photo-strip {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.photo-strip figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 9; }
.photo-strip figure:last-child { aspect-ratio: auto; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip figure:last-child { aspect-ratio: 16 / 9; } }

/* Why Swan Street */
.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why-intro p { color: var(--ink-2); font-size: var(--step-1); }
.why-photo { margin: 2rem 0 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.why-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 2.5rem;
}
.why-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.why-list svg {
  width: 2.75rem; height: 2.75rem; padding: 0.6rem;
  border-radius: 10px; background: var(--cobalt-soft);
  fill: none; stroke: var(--cobalt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.why-list h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.why-list p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.standards-bar {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.standards-bar p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.standards-bar strong { color: var(--ink); }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr; } .why-photo { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }
