/* Armour Security Group (UK) Ltd: shared stylesheet. Mobile first. Light content, navy bands. */
:root {
  --navy: #0a1628;
  --navy-2: #10213a;
  --navy-3: #172c4a;
  --line-dark: #2a4166;
  --on-dark: #f2f4f7;
  --on-dark-muted: #c2cad6;
  --gold: #e0b23a;
  --gold-2: #f2c94c;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --tint: #eaf0f7;
  --ink: #0f1b2d;
  --ink-2: #4a5568;
  --border: #dde3eb;
  --link: #1b4a87;
  --steel: #3d6a9e;
  --steel-2: #5b84b1;
  --steel-3: #9db4cf;
  --ring: #ffffff;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s9: 72px; --s11: 88px;
  --radius: 12px;
  --header-h: 64px;
  --tab-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 4px 16px rgba(15, 27, 45, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--tab-h) + var(--safe-b));
  -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 780; letter-spacing: -.025em; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
address { font-style: normal; color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; color: var(--navy); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: calc(20px + var(--safe-l)); padding-right: calc(20px + var(--safe-r)); position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
  padding-top: var(--safe-t);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; flex: 0 0 auto; }
.brand picture { display: block; line-height: 0; }
.brand__logo { display: block; height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  background: var(--navy-3); color: var(--on-dark); border: 1px solid var(--line-dark);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--gold-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[hidden] { display: none; }
.header-actions .header-cta { display: none; }

.main-nav { display: none; }
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-2); border-bottom: 1px solid var(--line-dark);
  max-height: calc(100vh - var(--header-h) - var(--tab-h)); overflow-y: auto;
}
.main-nav ul { list-style: none; margin: 0; padding: 8px calc(20px + var(--safe-r)) 16px calc(20px + var(--safe-l)); }
.main-nav li { margin: 0; }
.main-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 8px;
  color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); font-weight: 600;
}
.main-nav a:hover { color: var(--gold-2); }
.main-nav a[aria-current] { color: var(--gold-2); }

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy); border-top: 1px solid var(--line-dark);
  padding-bottom: var(--safe-b); padding-left: var(--safe-l); padding-right: var(--safe-r);
}
.tabbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar li { margin: 0; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--tab-h); color: var(--on-dark-muted); text-decoration: none; font-size: .72rem; font-weight: 600;
}
.tabbar svg { width: 23px; height: 23px; }
.tabbar a[aria-current="page"] { color: var(--gold-2); }

@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .tabbar, .menu-btn, .icon-btn--call, .nav-contact { display: none !important; }
  .header-actions .header-cta { display: inline-flex; }
  .main-nav, .main-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
  .main-nav ul { display: flex; gap: 2px; padding: 0; }
  .main-nav a { border: 0; min-height: 44px; padding: 0 11px; font-size: .94rem; border-radius: 8px; position: relative; }
  .main-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .3s var(--ease); }
  .main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
  .header-bar { min-height: 76px; }
  .brand__logo { height: 46px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(242, 244, 247, .55); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); color: #fff; }
.btn[hidden] { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Heroes (dark) ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 140% at 100% 0%, #1b355b 0%, var(--navy) 55%);
}
.hero h1, .page-hero h1 { max-width: 18ch; color: #fff; }
.hero .lead, .page-hero .lead { color: var(--on-dark-muted); font-size: 1.18rem; max-width: 46ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold-2); margin-bottom: .7em; }

.breadcrumb { font-size: .86rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #8ea2bb; }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--gold-2); }

/* ---------- Light sections ---------- */
.section { padding: var(--s7) 0; }
.section--alt { background: var(--bg-alt); --ring: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: var(--s11) 0; } }
.section h2 { margin-bottom: .6em; }
.section__intro { color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; margin-top: -.2em; }
.lead { font-size: 1.15rem; }
.prose { max-width: 70ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--feature { max-width: 560px; } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; color: var(--ink); }
.card p { color: var(--ink-2); font-size: .98rem; margin-bottom: .8em; }
.card .card__link { margin-top: auto; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.card .card__link:hover { text-decoration: underline; }
.card__link svg { width: 17px; height: 17px; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 10px; background: var(--tint); color: var(--navy); margin-bottom: 14px; flex: 0 0 auto;
}
.card__icon svg { width: 24px; height: 24px; }
.card__meta { font-size: .9rem; color: var(--ink); font-weight: 650; margin-bottom: .5em; }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start;
}
.badge--ok { background: #1c6b40; color: #fff; }
.badge--info { background: #234e80; color: #fff; }

/* ---------- Steps (numbered row) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative; margin: 0; padding: 20px 20px 20px 70px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold-2); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.steps span { color: var(--ink-2); font-size: .96rem; }

@media (min-width: 960px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps__rec { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border); font-style: normal; font-size: .86rem; font-weight: 650; color: var(--navy); }

/* ---------- Checklists, definition tables, accordions ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.checklist svg { width: 22px; height: 22px; color: var(--navy); flex: 0 0 auto; margin-top: 2px; }
.checklist strong { color: var(--ink); }
.section .checklist { max-width: 980px; }
.policy .checklist { color: var(--ink-2); margin-bottom: 1em; }
.policy .table-wrap { margin-bottom: 1em; }
.dtable { min-width: 0; }
@media (min-width: 640px) { .dtable tbody th { width: 26%; } }
@media (max-width: 639px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dtable tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .dtable tbody tr:last-child { border-bottom: 0; }
  .dtable th, .dtable td { display: block; padding: 0; border: 0; }
  .dtable tbody th { font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
  .dtable td + td, .dtable th + td { margin-top: 6px; }
  .dtable td[data-label]::before {
    content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--navy); opacity: .8;
  }
}
@media (max-width: 639px) {
  .grid--compact { gap: 10px; }
  .grid--compact .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .grid--compact .card__icon { width: 40px; height: 40px; margin: 0; grid-row: span 3; }
  .grid--compact .card h3 { font-size: 1.02rem; margin-bottom: .2em; }
  .grid--compact .card p { margin-bottom: 0; }
  .grid--compact .card .card__link { grid-column: 2; }
}
.faq details ul { padding: 0 18px 16px 38px; margin: 0; color: var(--ink-2); }
.acc details[open] { border-color: #c7d3e3; }
.sub { font-size: 1.15rem; margin: 28px 0 12px; }
.more { margin: 22px 0 0; }

/* ---------- Navy feature band ---------- */
.band { background: var(--navy); color: var(--on-dark); padding: 52px 0; border-top: 3px solid var(--gold); }
@media (min-width: 960px) { .band { padding: 72px 0; } }
.band h2 { color: #fff; max-width: 22ch; }
.band__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .band__grid { grid-template-columns: 180px 1fr; gap: 44px; } }
.band__badge .mark--single { flex: none; width: 150px; }
.band__badge .mark__tile { height: 150px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--on-dark); }
.ticks svg { width: 22px; height: 22px; color: var(--gold-2); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--tint); color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
tbody th { font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; min-height: 52px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--navy); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ---------- Threat level ---------- */
.threat { border-radius: var(--radius); background: var(--navy); color: var(--on-dark); padding: 18px 20px; border-left: 6px solid var(--gold); }
.threat__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin: 0 0 4px; }
.threat__level { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; letter-spacing: .03em; }
.threat__level a, .threat__src a { color: inherit; }
.threat__text { margin: 0 0 6px; }
.threat__src { font-size: .88rem; margin: 0; }
.threat__src a { font-weight: 700; }
.threat[data-level="LOW"] { background: #1c6b40; color: #fff; border-left-color: #0f3d24; }
.threat[data-level="MODERATE"] { background: #234e80; color: #fff; border-left-color: #12294a; }
.threat[data-level="SUBSTANTIAL"] { background: #f2c94c; color: #1a1300; border-left-color: #a77d0a; }
.threat[data-level="SEVERE"] { background: #b44714; color: #fff; border-left-color: #6e2a0a; }
.threat[data-level="CRITICAL"] { background: #a3121f; color: #fff; border-left-color: #5c0a12; }
.threat--compact .threat__level { font-size: 1.25rem; }
.split { display: grid; gap: 18px; align-items: center; margin-top: 8px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr auto; } .split > p { margin: 0; } }

/* ---------- Verification marks ---------- */
.marks { margin: 4px 0 24px; }
.marks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.marks li { margin: 0; }
@media (min-width: 640px) { .marks ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.mark { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink-2); }
.mark__tile {
  display: flex; align-items: center; justify-content: center; height: 84px; padding: 10px 12px;
  background: #fff; border-radius: 12px; border: 1px solid var(--border); transition: box-shadow .15s ease;
}
.mark__tile picture { display: flex; width: 100%; height: 100%; }
.mark__tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mark:hover .mark__tile, .mark:focus-visible .mark__tile { box-shadow: 0 0 0 3px var(--gold); }
.mark__cap { font-size: .84rem; font-weight: 650; text-align: center; line-height: 1.3; }
.mark:hover .mark__cap { color: var(--ink); }
@media (min-width: 960px) { .mark__tile { height: 100px; } }
.marks--compact { margin: 28px 0 0; }
.marks--compact ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.marks--compact .mark__tile { height: 54px; padding: 6px; border-radius: 9px; border-color: #fff; }
.mark-aside { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.mark-aside > div { flex: 1 1 260px; }
.mark-aside > div > p:last-child { margin-bottom: 0; }
.mark-aside__title { font-weight: 700; font-size: 1.1rem; }
.mark--single { flex: 0 0 132px; width: 132px; }
.mark--single .mark__tile { height: 132px; }

/* ---------- Call to action band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 70%); color: var(--on-dark); padding: 48px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--on-dark-muted); margin-bottom: 18px; }
@media (min-width: 1080px) {
  .cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .cta-band p { margin-bottom: 0; }
  .cta-band__text { flex: 1 1 auto; min-width: 280px; }
  .cta-band .btn-row { margin: 0; flex-wrap: nowrap; }
}

/* ---------- Forms ---------- */
.contact-form { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-form { grid-template-columns: 1fr 300px; align-items: start; } }
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid #a7b3c4; background: #fff; color: var(--ink); font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .86rem; color: var(--ink-2); margin: 4px 0 0; }
.form-note { font-size: .9rem; color: var(--ink-2); margin: 8px 0 0; }
.form-status { font-weight: 700; color: var(--navy); min-height: 1.5em; margin: 8px 0 0; }
.chat-start { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.chat-start p { color: var(--ink-2); }

/* ---------- Policy pages ---------- */
.policy h2 { font-size: 1.25rem; margin-top: 1.4em; }
.policy h2:first-child { margin-top: 0; }
.policy p { color: var(--ink-2); }
.policy-meta { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; background: var(--bg-alt); border-radius: var(--radius); font-size: .95rem; color: var(--ink) !important; }
.policy-meta svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #071020; color: var(--on-dark); padding: 48px 0 28px; font-size: .94rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--gold-2); }
.footer-logo { margin: 0 0 12px; line-height: 0; }
.footer-logo .brand__logo { height: 46px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr .9fr 1fr 1.2fr 1.2fr; } }
.site-footer h2 { font-size: .85rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 8px; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer p { color: var(--on-dark-muted); margin-bottom: .6em; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy-3); border: 1px solid var(--line-dark); }
.social svg { width: 20px; height: 20px; }
.legal { border-top: 1px solid var(--line-dark); margin-top: 24px; padding-top: 16px; font-size: .84rem; }
.legal p { margin-bottom: .4em; }

/* ---------- Chat assistant ---------- */
.chat-fab {
  position: fixed; z-index: 70; right: calc(14px + var(--safe-r)); bottom: calc(var(--tab-h) + var(--safe-b) + 14px);
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 16px;
  border-radius: 999px; border: 2px solid var(--gold); background: var(--navy); color: #fff;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; box-shadow: 0 6px 20px rgba(10, 22, 40, .35);
}
.chat-fab svg { width: 22px; height: 22px; color: var(--gold-2); }
.chat-fab:hover { background: var(--navy-3); }
.chat-panel {
  position: fixed; z-index: 80; left: calc(8px + var(--safe-l)); right: calc(8px + var(--safe-r));
  bottom: calc(var(--tab-h) + var(--safe-b) + 8px);
  height: min(560px, calc(100vh - var(--tab-h) - var(--safe-b) - var(--header-h) - 24px));
  height: min(560px, calc(100dvh - var(--tab-h) - var(--safe-b) - var(--header-h) - 24px));
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 18px 48px rgba(10, 22, 40, .35); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
body.chat-is-open .chat-fab { display: none; }
@media (min-width: 1080px) {
  .chat-fab { right: 24px; bottom: 24px; }
  .chat-panel { left: auto; right: 24px; bottom: 24px; width: 390px; height: min(600px, calc(100vh - 120px)); }
}
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--navy); color: #fff; padding: 6px 6px 6px 18px; }
.chat-title { font-size: 1.02rem; margin: 0; color: #fff; }
.chat-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { background: var(--navy-3); }
.chat-close svg { width: 22px; height: 22px; }
.chat-note { margin: 0; padding: 8px 18px; font-size: .84rem; font-weight: 600; background: #fff6dc; color: #4d3b00; border-bottom: 1px solid #f0dfaa; }
.chat-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.msg p { margin: 0; }
.msg--bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--link); color: var(--link); font-weight: 650; font-size: .88rem; text-decoration: none;
}
.msg__link:hover { background: var(--tint); }
.msg__link--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.msg__link--primary:hover { background: var(--navy-3); color: #fff; }
.chat-chips { display: flex; flex-wrap: nowrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; overflow-x: auto; scrollbar-width: thin; }
.chat-chip { flex: 0 0 auto; white-space: nowrap; }
.chat-chip {
  min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid #c7d3e3;
  background: var(--tint); color: var(--navy); font: inherit; font-size: .86rem; font-weight: 650; cursor: pointer;
}
.chat-chip:hover { background: #dbe5f1; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px); border-top: 1px solid var(--border); background: #fff; }
.chat-input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid #a7b3c4; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.chat-send { flex: 0 0 auto; width: 46px; min-height: 44px; border-radius: 10px; border: 0; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-send svg { width: 20px; height: 20px; }

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


/* =====================================================================
   Visual layer: illustrations, diagrams, textures and motion.
   Motion animates transform and opacity only. Final states are the defaults,
   so reduced motion and no-JS show finished, static content.
   ===================================================================== */

/* ---------- Header state ---------- */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background: linear-gradient(rgba(5, 12, 24, .32), rgba(5, 12, 24, 0)); opacity: 0; transition: opacity .3s ease;
}
.site-header.is-scrolled::after { opacity: 1; }
.brand__logo { transform-origin: left center; transition: transform .3s var(--ease); }
.site-header.is-scrolled .brand__logo { transform: scale(.9); }

/* scroll progress hairline: pure CSS, only where scroll timelines exist */
@supports (animation-timeline: scroll()) {
  body::before {
    content: ""; position: fixed; z-index: 95; top: 0; left: 0; right: 0; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
}
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn { transition: transform .18s var(--ease), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn--gold { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 18px -8px rgba(224, 178, 58, .7); }
.btn svg { transition: transform .2s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 26px -10px rgba(224, 178, 58, .85); }
  .btn--navy:hover { box-shadow: 0 10px 24px -12px rgba(10, 22, 40, .8); }
  .btn:hover svg:last-child { transform: translateX(3px); }
}
.btn:active { transform: translateY(0) scale(.98); }
.icon-btn { transition: color .18s ease, border-color .18s ease, transform .18s var(--ease); }
.icon-btn:active { transform: scale(.95); }

/* ---------- Heroes ---------- */
.hero, .page-hero { background: url(/assets/img/illustrations/grid.svg), radial-gradient(120% 140% at 100% 0%, #1b355b 0%, var(--navy) 55%); }
.hero { padding: var(--s5) 0 var(--s8); }
.hero__grid { display: grid; gap: var(--s4); align-items: center; }
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 6% -6% 6%; border-radius: 40px; z-index: 0;
  background: radial-gradient(60% 60% at 50% 60%, rgba(224, 178, 58, .22), rgba(224, 178, 58, 0));
}
.scene { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
@media (min-width: 960px) {
  .hero { padding: var(--s9) 0 104px; }
  .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--s6); }
}
.page-hero { padding: var(--s3) 0 var(--s8); }
.page-hero__grid { display: grid; align-items: center; position: relative; }
.page-hero__copy { position: relative; z-index: 1; }
.page-hero__art { position: absolute; z-index: 0; right: -36px; top: -8px; width: 230px; opacity: .2; pointer-events: none; }
.page-art { display: block; width: 100%; height: auto; }
@media (min-width: 860px) {
  .page-hero { padding: var(--s5) 0 var(--s11); }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s5); }
  .page-hero__art { position: static; width: 100%; opacity: 1; pointer-events: auto; }
}
.divider { position: absolute; left: 0; right: 0; bottom: -1px; display: block; width: 100%; height: 28px; z-index: 2; }
@media (min-width: 960px) { .divider { height: 56px; } }

/* hero entrance: one orchestrated sequence; the headline only moves (no opacity), so it paints at once */
.hero__copy > *, .page-hero__copy > * { animation: heroIn .8s var(--ease) both; }
.hero__copy > h1, .page-hero__copy > h1 { animation-name: heroRise; }
.hero__copy > :nth-child(2), .page-hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3), .page-hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4), .page-hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5), .page-hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__visual { animation: heroIn 1s var(--ease) .15s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes heroRise { from { transform: translateY(14px); } }

/* scene parts: play once, then slow idle loops */
.scene .float-a { animation: floatA 16s ease-in-out infinite alternate; }
.scene .float-b { animation: floatB 20s ease-in-out infinite alternate; }
.scene .beam { transform-origin: 551px 354px; animation: sweep 7s ease-in-out 2s infinite alternate; }
.scene .barrier { transform-origin: 140px 397px; animation: lift 4.6s cubic-bezier(.5, 0, .2, 1) .9s 1 both; }
.scene .route-reveal { transform-origin: 290px 0; animation: drawX 2.8s ease-out 1.4s both; }
.scene .cp { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) both; }
.scene .cp1 { animation-delay: 2.5s; }
.scene .cp2 { animation-delay: 3.6s; }
.scene .lamp { animation: glow 6s ease-in-out infinite alternate; }
@keyframes floatA { to { transform: translate(-34px, 20px); } }
@keyframes floatB { to { transform: translate(28px, 16px); } }
@keyframes sweep { from { transform: rotate(-6deg); } to { transform: rotate(5deg); } }
@keyframes lift { 0% { transform: rotate(0); } 24%, 66% { transform: rotate(-74deg); } 100% { transform: rotate(0); } }
@keyframes drawX { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes glow { to { opacity: .7; } }

/* page illustrations */
.page-art .pa-ring { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.page-art .pa-pop { transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease) .55s both; }
.page-art .pa-tile { animation: heroIn .6s var(--ease) both; }
.page-art .pa-d1 { animation-delay: .2s; } .page-art .pa-d2 { animation-delay: .3s; } .page-art .pa-d3 { animation-delay: .4s; }
.page-art .pa-d4 { animation-delay: .5s; } .page-art .pa-d5 { animation-delay: .6s; } .page-art .pa-d6 { animation-delay: .7s; }
.page-art .pa-draw { transform-origin: 0 0; animation: drawX 1.4s ease-out .6s both; }
.page-art .pa-barrier { transform-origin: 205px 164px; animation: lift 3.6s cubic-bezier(.5, 0, .2, 1) .6s 1 both; }
.page-art .pa-wave { animation: wave 2.6s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { from { opacity: .25; } }

/* ---------- Credentials bar ---------- */
.creds { background: #fff; border-bottom: 1px solid var(--border); padding: var(--s1) 0 var(--s3); }
.creds__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); }
.creds__marks, .creds__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.creds__marks { gap: 10px; }
.creds__marks li, .creds__facts li { margin: 0; }
.mark--cred { width: 70px; }
.mark--cred .mark__tile { height: 58px; padding: 6px; border-radius: 10px; transition: transform .2s var(--ease), box-shadow .2s ease; }
@media (hover: hover) { .mark--cred:hover .mark__tile { transform: translateY(-2px); } }
.creds__facts { gap: 0 var(--s3); }
.creds__facts a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.creds__facts a:hover span { text-decoration: underline; }
.creds__facts svg { width: 20px; height: 20px; color: var(--steel); flex: 0 0 auto; }
.creds__facts strong { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (max-width: 639px) { .creds__facts { flex-direction: column; } .creds__facts a { min-height: 40px; } }

/* ---------- Section headings ---------- */
.section .wrap > h2::before, .band h2::before, .cta-band h2::before {
  content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; border-radius: 2px;
  background: var(--gold); transform-origin: left center;
}
.js h2.rv::before { transform: scaleX(0); transition: transform .7s var(--ease) .25s; }
.js h2.rv.is-in::before { transform: none; }

/* ---------- Cards ---------- */
.card { position: relative; overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease);
}
.card__icon { background: var(--navy); color: var(--gold-2); transition: background-color .25s ease, color .25s ease, transform .25s var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: #c9d4e2; box-shadow: 0 2px 4px rgba(15, 27, 45, .05), 0 18px 36px -14px rgba(15, 27, 45, .25); }
  .card:hover::after { transform: scaleX(1); }
  .card:hover .card__icon { background: var(--gold); color: var(--navy); }
}
.card .card__link svg { transition: transform .2s var(--ease); }
.card .card__link:hover svg { transform: translateX(3px); }

/* ---------- Process diagrams ---------- */
.steps--timeline, .steps--flow, .steps--path { counter-reset: step; }
/* timeline: vertical by default, horizontal when the row fits */
.steps--timeline { grid-template-columns: 1fr !important; gap: 0; max-width: 680px; }
.steps--timeline li { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 var(--s4) 64px; min-height: 64px; }
.steps--timeline li::before {
  left: 0; top: 0; width: 42px; height: 42px; font-size: 1.02rem; z-index: 1;
  box-shadow: 0 0 0 6px var(--ring), 0 0 0 7px var(--border); background: var(--navy); color: var(--gold-2);
}
.steps--timeline li::after {
  content: ""; position: absolute; left: 20px; top: 50px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--gold), var(--steel-3)); transform-origin: top center; transition: transform .6s var(--ease);
}
.steps--timeline li:last-child { padding-bottom: 0; }
.steps--timeline li:last-child::after { display: none; }
.steps--timeline .steps__rec { border-top-color: #cfd8e4; }
.js .steps--timeline.rv-line li::after { transform: scaleY(0); }
@media (min-width: 860px) {
  .steps--timeline.steps--n4 { grid-template-columns: repeat(4, 1fr) !important; max-width: none; }
}
@media (min-width: 1080px) {
  .steps--timeline.steps--n6 { grid-template-columns: repeat(6, 1fr) !important; max-width: none; }
}
@media (min-width: 860px) {
  .steps--timeline.steps--n4 li { padding: 64px var(--s3) 0 0; }
  .steps--timeline.steps--n4 li::after { left: 52px; right: 6px; top: 20px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--steel-3)); transform-origin: left center; }
  .js .steps--timeline.steps--n4.rv-line li::after { transform: scaleX(0); }
}
@media (min-width: 1080px) {
  .steps--timeline.steps--n6 li { padding: 64px var(--s3) 0 0; }
  .steps--timeline.steps--n6 li::after { left: 52px; right: 6px; top: 20px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--steel-3)); transform-origin: left center; }
  .js .steps--timeline.steps--n6.rv-line li::after { transform: scaleX(0); }
}
.js .steps.rv-line.is-in li::after { transform: none; }
.steps li:nth-child(2)::after { transition-delay: .15s; } .steps li:nth-child(3)::after { transition-delay: .3s; }
.steps li:nth-child(4)::after { transition-delay: .45s; } .steps li:nth-child(5)::after { transition-delay: .6s; }

/* flow: connected cards with chevrons between */
.steps--flow { gap: 30px; grid-template-columns: 1fr !important; max-width: 680px; }
.steps--flow li { border-top: 3px solid var(--navy); }
.steps--flow li::after {
  content: ""; position: absolute; left: 31px; bottom: -22px; width: 12px; height: 12px; z-index: 1;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(45deg); transition: opacity .4s ease;
}
.steps--flow li:last-child::after { display: none; }
.js .steps--flow.rv-line li::after { opacity: 0; }
.js .steps--flow.rv-line.is-in li::after { opacity: 1; }
@media (min-width: 960px) {
  .steps--flow { max-width: none; }
  .steps--flow.steps--n4 { grid-template-columns: repeat(4, 1fr) !important; }
  .steps--flow.steps--n3 { grid-template-columns: repeat(3, 1fr) !important; }
  .steps--flow li::after { left: auto; right: -22px; bottom: auto; top: 50%; margin-top: -6px; transform: rotate(-45deg); }
}

/* career pathway: each role stands on a taller step */
.steps--path { grid-template-columns: 1fr !important; }
.steps--path li { border-top: 3px solid var(--gold); }
.steps--path li:nth-child(2) { margin-left: 14px; } .steps--path li:nth-child(3) { margin-left: 28px; } .steps--path li:nth-child(4) { margin-left: 42px; }
.steps--path strong { font-size: 1.1rem; color: var(--navy); }
@media (min-width: 960px) {
  .steps--path { grid-template-columns: repeat(4, 1fr) !important; align-items: end; gap: 16px; padding-top: var(--s2); }
  .steps--path li { margin-left: 0 !important; min-height: 270px; }
  .steps--path li:nth-child(1) { margin-bottom: 24px; } .steps--path li:nth-child(2) { margin-bottom: 72px; }
  .steps--path li:nth-child(3) { margin-bottom: 120px; } .steps--path li:nth-child(4) { margin-bottom: 168px; }
  .steps--path li::after {
    content: ""; position: absolute; left: -1px; right: -1px; top: calc(100% + 1px); border-radius: 0 0 10px 10px;
    background: repeating-linear-gradient(135deg, var(--navy) 0 10px, var(--navy-2) 10px 20px);
    transform-origin: bottom center; transition: transform .7s var(--ease);
  }
  .steps--path li:nth-child(1)::after { height: 24px; } .steps--path li:nth-child(2)::after { height: 72px; }
  .steps--path li:nth-child(3)::after { height: 120px; } .steps--path li:nth-child(4)::after { height: 168px; }
  .js .steps--path.rv-line li::after { transform: scaleY(0); }
}

/* ---------- Tables and checklists ---------- */
.th-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -4px 10px 0 0; vertical-align: middle; border-radius: 8px; background: var(--navy); color: var(--gold-2); }
.th-ic svg { width: 18px; height: 18px; }
.dtable tbody tr { transition: background-color .2s ease; }
@media (hover: hover) { .dtable tbody tr:hover { background: #f8fafc; } }
.checklist--icons { gap: 14px; }
.checklist svg.li-ic { width: 36px; height: 36px; padding: 8px; margin-top: -4px; border-radius: 9px; background: var(--navy); color: var(--gold-2); }
.checklist--icons li:has(> svg:not(.li-ic)) svg { margin-left: 7px; margin-right: 7px; }

/* ---------- Accordions ---------- */
.faq details { transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary::after { content: "+"; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq summary:hover { color: var(--link); }
.faq details[open] > :not(summary) { animation: accIn .35s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Threat level dot ---------- */
.threat__dot { position: relative; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.threat__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { opacity: .6; transform: scale(1); } 70%, to { opacity: 0; transform: scale(2.8); } }

/* ---------- Navy bands, CTA, footer ---------- */
.band { position: relative; background: url(/assets/img/illustrations/topo.svg) right center / 900px auto no-repeat, url(/assets/img/illustrations/grid.svg), var(--navy); }
.cta-band { position: relative; border-top: 3px solid var(--gold); background: url(/assets/img/illustrations/topo.svg) left center / 820px auto no-repeat, linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 70%); }
@media (min-width: 960px) { .cta-band { padding: var(--s8) 0; } }
.band__badge .mark__tile { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }
.site-footer { position: relative; background: url(/assets/img/illustrations/grid.svg), #071020; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 30%, var(--steel) 70%, rgba(61, 106, 158, 0) 100%); }
.mark__tile { transition: box-shadow .15s ease, transform .2s var(--ease); }
@media (hover: hover) { .marks .mark:hover .mark__tile { transform: translateY(-3px); } }

/* ---------- Bristol coverage ---------- */
.coverage-wrap { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 860px) { .coverage-wrap { grid-template-columns: minmax(0, 1fr) 420px; gap: var(--s6); } }
.coverage { margin: 0; }
.coverage__map { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(10, 22, 40, .6); }
.coverage figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--navy); }
.coverage figcaption svg { width: 20px; height: 20px; color: var(--steel); }
.cv-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
.cv-pulse--2 { animation-delay: 1.6s; }
@keyframes pulse { from { opacity: .9; transform: scale(.35); } to { opacity: 0; transform: scale(1.5); } }

/* ---------- Back to top, chat nudge ---------- */
.to-top {
  position: fixed; z-index: 65; left: calc(14px + var(--safe-l)); bottom: calc(var(--tab-h) + var(--safe-b) + 16px);
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); background: var(--navy); color: var(--gold-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(10, 22, 40, .35);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease);
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .to-top:hover { background: var(--navy-3); } }
@media (min-width: 1080px) { .to-top { left: auto; right: 24px; bottom: 92px; } }
body.chat-is-open .to-top { display: none; }
.chat-fab::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--gold-2); opacity: 0; pointer-events: none; }
.chat-fab.is-nudge { animation: nudge 1s var(--ease) 1; }
.chat-fab.is-nudge::after { animation: ring 1.6s ease-out 2; }
@keyframes nudge { 30% { transform: translateY(-5px); } 55% { transform: translateY(0); } 75% { transform: translateY(-2px); } }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }

/* ---------- Scroll reveal (only under html.js, only below the fold) ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js tr.rv { transform: none; }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .06s; } .js .rv-d2 { transition-delay: .12s; } .js .rv-d3 { transition-delay: .18s; }
.js .rv-d4 { transition-delay: .24s; } .js .rv-d5 { transition-delay: .3s; } .js .rv-d6 { transition-delay: .36s; }

/* ---------- Print: policy pages and anything else printed ---------- */
@media print {
  .site-header, .tabbar, .site-footer, .btn-row, .chat-fab, .chat-panel, .to-top, .hero__visual, .page-hero__art,
  .divider, .creds__marks, .cta-band, .breadcrumb, .more { display: none !important; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  body::before { display: none !important; }
  .hero, .page-hero, .band, .section--alt { background: #fff !important; color: #000; padding: 12pt 0; }
  .hero h1, .page-hero h1, .hero .lead, .page-hero .lead, .eyebrow { color: #000; }
  .page-hero__grid { display: block; }
  .section { padding: 10pt 0; }
  .prose { max-width: none; }
  .prose a[href^="http"]::after, .prose a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .card, .table-wrap, .policy-meta { box-shadow: none; break-inside: avoid; }
  tr, li { break-inside: avoid; }
  h2 { break-after: avoid; }
  .rv { opacity: 1 !important; transform: none !important; }
  .section .wrap > h2::before { display: none; }
}
