:root {
  --ink: #071521;
  --ink-2: #0b2132;
  --paper: #f4f1e9;
  --paper-2: #fffcf5;
  --blue: #0079bd;
  --blue-bright: #00a9ec;
  --yellow: #f8d94e;
  --red: #e3463e;
  --line: rgba(7, 21, 33, 0.16);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(7, 21, 33, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.emergency-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .4rem 5vw;
  color: white;
  background: var(--red);
  font-size: .78rem;
  letter-spacing: .02em;
}
.emergency-bar a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: white; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, .92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand-lockup { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.brand-lockup img { width: 174px; height: auto; }
.brand-lockup .ema-mark { width: 54px; height: 54px; object-fit: contain; }
.brand-divider { width: 1px; height: 38px; background: var(--line); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.site-header nav a { text-decoration: none; font-size: .88rem; font-weight: 700; }
.site-header nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: .72rem 1.1rem; color: white; background: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .6rem; }

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
}
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.3rem; color: var(--blue); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }
h1 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(3.7rem, 7.5vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.07em;
  text-wrap: balance;
}
h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 650px; margin: 2rem 0 0; color: #39505e; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9rem 1.3rem; text-decoration: none; font-weight: 800; }
.button-primary { color: white; background: var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.button-primary:hover { background: var(--blue); }
.text-link { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }
.hero-proof { display: flex; gap: 0; margin: 3.2rem 0 0; }
.hero-proof div { min-width: 120px; padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border: 0; }
.hero-proof dt { color: #60727d; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-proof dd { margin: .2rem 0 0; font-family: "Manrope", sans-serif; font-size: 1.6rem; font-weight: 800; }

.hero-visual { position: relative; min-height: 550px; padding: 1rem 0 2.4rem 2.4rem; }
.hero-visual::before { content: ""; position: absolute; inset: 0 1.2rem 1.4rem 0; background: var(--blue); clip-path: polygon(12% 0,100% 0,100% 90%,88% 100%,0 100%,0 12%); }
.hero-visual > img { position: absolute; inset: 2rem 0 0 3.5rem; width: calc(100% - 3.5rem); height: calc(100% - 2rem); object-fit: cover; filter: saturate(.78) contrast(1.04); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 2rem 0 0 3.5rem; background: linear-gradient(180deg, transparent 42%, rgba(4,16,26,.72)); pointer-events: none; }
.visual-caption { position: absolute; z-index: 3; left: 5.5rem; bottom: 1.7rem; display: flex; align-items: flex-start; gap: .8rem; color: white; }
.visual-caption p { margin: 0; font-weight: 700; }
.visual-caption small { display: block; color: #b9d9e9; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { width: 10px; height: 10px; margin-top: .5rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(248,217,78,.16); }
.route-line { position: absolute; z-index: 4; border: 2px solid var(--yellow); pointer-events: none; }
.route-one { width: 62px; height: 62px; top: 0; right: -12px; border-left: 0; border-bottom: 0; }
.route-two { width: 48px; height: 48px; left: 2rem; bottom: 0; border-right: 0; border-top: 0; }

.pathways { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 clamp(1.2rem, 5vw, 5rem) 5rem; background: var(--ink); box-shadow: var(--shadow); }
.pathway { min-height: 142px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.8rem; color: white; text-decoration: none; border-right: 1px solid var(--white-line); }
.pathway:hover { background: var(--ink-2); }
.pathway small { display: block; color: #9bb1bd; font-size: .74rem; }
.pathway strong { display: block; margin-top: .2rem; font-family: "Manrope", sans-serif; font-size: 1.15rem; }
.path-number { align-self: start; color: #7190a0; font-size: .65rem; }
.path-arrow { font-size: 1.3rem; }
.emergency-path { color: var(--ink); background: var(--yellow); }
.emergency-path:hover { background: #ffe67a; }
.emergency-path small, .emergency-path .path-number { color: #625820; }

.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.2rem, 5vw, 5rem); color: #b5c5ce; background: var(--ink); }
.site-footer a { color: white; }
.mobile-emergency { display: none; }

.relationship, .services-section, .credentials, .contact-section, .locations { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5rem); }
.section-tag { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.relationship { border-top: 1px solid var(--line); }
.relationship-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; margin-top: 2.4rem; }
.relationship h2, .section-heading h2, .credentials h2, .contact-copy h2, .locations h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.relationship-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: #425966; }
.relationship-copy p { margin: 0; }
.relationship-copy strong { display: block; margin-bottom: .55rem; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 1.04rem; }

.services-section { background: var(--paper-2); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; }
.section-heading > p { max-width: 560px; margin: 0 0 .4rem; color: #526875; font-size: 1.06rem; }
.service-explorer { display: grid; grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr); margin-top: 4rem; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.service-tabs { display: flex; flex-direction: column; background: var(--ink); }
.service-tab { position: relative; min-height: 96px; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; color: #b7c9d2; border: 0; border-bottom: 1px solid var(--white-line); background: transparent; font: 700 1rem "DM Sans", sans-serif; text-align: left; cursor: pointer; }
.service-tab span { color: #6f8c9c; font-size: .66rem; }
.service-tab::after { content: "→"; position: absolute; right: 1.2rem; opacity: .3; }
.service-tab:hover { color: white; background: var(--ink-2); }
.service-tab.active { color: var(--ink); background: var(--yellow); }
.service-tab.active span { color: #66591a; }
.service-tab.active::after { opacity: 1; }
.service-panels { min-width: 0; }
.service-panel { min-height: 510px; display: grid; grid-template-columns: 1.05fr .95fr; }
.service-panel[hidden] { display: none; }
.service-panel > div:first-child { padding: clamp(2rem, 4vw, 4.5rem); }
.service-panel > img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; }
.panel-kicker { margin: 0 0 1rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-panel h3 { max-width: 570px; margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.1rem, 3.5vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.service-panel h3 + p { max-width: 580px; color: #526875; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; margin: 2rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.5rem; font-size: .9rem; font-weight: 600; }
.check-list li::before { content: "+"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.panel-graphic { min-height: 510px; display: flex; align-items: center; justify-content: center; color: white; background: var(--blue); }
.safety-graphic { flex-direction: column; font-family: "Manrope", sans-serif; }
.safety-graphic strong { font-size: clamp(3rem, 6vw, 6rem); line-height: .85; letter-spacing: -.06em; }
.safety-graphic span { margin: .6rem 0 1.3rem; color: #c5eafb; text-transform: uppercase; letter-spacing: .13em; }
.safety-graphic i { margin-bottom: 1.2rem; color: var(--yellow); font-size: 2rem; font-style: normal; }
.equipment-graphic { flex-direction: column; color: var(--ink); background: var(--yellow); }
.equipment-graphic .cross { font: 800 10rem/.8 "Manrope", sans-serif; }
.equipment-graphic p { font: 800 1.6rem/1.3 "Manrope", sans-serif; text-align: center; text-transform: uppercase; letter-spacing: .08em; }

.training-story { min-height: 760px; display: grid; grid-template-columns: 1fr .92fr .76fr; color: white; background: var(--ink); overflow: hidden; }
.training-image { position: relative; min-height: 100%; }
.training-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.training-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,21,33,.75)); }
.training-image span { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.5rem; padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.35); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.training-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 5vw, 6rem); }
.eyebrow.light { color: #a7dbee; }
.eyebrow.light span { background: var(--yellow); }
.training-copy h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .94; letter-spacing: -.06em; }
.training-copy h2 em { color: var(--yellow); font-style: normal; }
.training-copy > p:not(.eyebrow) { margin: 2rem 0; color: #b8c9d1; font-size: 1.05rem; }
.button-yellow { align-self: flex-start; color: var(--ink); background: var(--yellow); }
.button-yellow:hover { background: white; }

.credentials { background: var(--blue); color: white; }
.credentials .section-tag { color: var(--yellow); }
.credential-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.35); }
.credential-grid article { min-height: 230px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.35); }
.credential-grid article:last-child { border-right: 0; }
.credential-grid span { color: var(--yellow); font-size: .68rem; }
.credential-grid h3 { margin: 3.6rem 0 .8rem; font: 800 1.35rem "Manrope", sans-serif; }
.credential-grid p { margin: 0; color: #d2edf7; font-size: .88rem; }
.credentials-link { display: inline-block; margin-top: 2rem; color: white; }

.ema-section { color: white; background: #08131c; overflow: hidden; }
.ema-intro { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 760px; }
.ema-copy { padding: clamp(5rem, 8vw, 9rem) clamp(1.2rem, 5vw, 5rem); }
.ema-logo-large { width: 112px; margin-bottom: 3rem; }
.eyebrow.yellow { color: var(--yellow); }
.eyebrow.yellow span { background: var(--yellow); }
.ema-copy h2 { max-width: 760px; margin: 0; font: 800 clamp(3rem, 5.7vw, 6.2rem)/.94 "Manrope", sans-serif; letter-spacing: -.065em; }
.ema-copy > p:not(.eyebrow) { max-width: 650px; margin: 2rem 0; color: #bacbd3; font-size: 1.05rem; }
.ema-actions { display: flex; align-items: center; gap: 1.7rem; }
.light-link { color: white; font-weight: 800; text-underline-offset: 4px; }
.ambulance-stage { position: relative; display: flex; align-items: flex-end; min-height: 650px; background: var(--yellow); overflow: hidden; }
.ambulance-stage::before { content: "E.M.A."; position: absolute; top: 8%; right: -4%; color: rgba(7,21,33,.09); font: 800 clamp(6rem, 15vw, 15rem)/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.ambulance-stage > img { position: relative; z-index: 2; width: 112%; max-width: none; margin-left: -8%; margin-bottom: 4%; filter: drop-shadow(0 24px 18px rgba(7,21,33,.28)); }
.ambulance-stage > p { position: absolute; z-index: 3; right: 2rem; bottom: 1.2rem; color: var(--ink); font-weight: 800; }
.dispatch-note { position: absolute; z-index: 4; top: 2rem; left: 2rem; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; padding: 1rem 1.2rem; color: white; background: var(--ink); box-shadow: 10px 10px 0 rgba(255,255,255,.5); }
.dispatch-note span { grid-row: 1 / 3; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227,70,62,.2); }
.dispatch-note small { color: #a9bdc7; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.dispatch-note strong { font: 800 2rem/1 "Manrope", sans-serif; }
.impact-board { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); position: relative; border-top: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); }
.impact-board > div { min-height: 220px; padding: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid var(--white-line); }
.impact-heading h3 { margin: 3.4rem 0 0; font: 800 2rem/1 "Manrope", sans-serif; }
.light-tag { color: #9fb5bf; }
.impact-stat { display: flex; flex-direction: column; justify-content: center; }
.impact-stat strong { color: var(--yellow); font: 800 clamp(2.4rem, 4vw, 4.8rem)/1 "Manrope", sans-serif; letter-spacing: -.055em; }
.impact-stat span { margin-top: .8rem; color: #afc1ca; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.impact-source { position: absolute; left: clamp(1.5rem, 3vw, 3rem); bottom: 1.2rem; color: #8199a5; font-size: .68rem; }
.ema-tools { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 5vw, 5rem); }
.ema-tools article { min-height: 250px; padding: 1.8rem; border-left: 1px solid var(--white-line); }
.ema-tools article:last-child { border-right: 1px solid var(--white-line); }
.tool-number { color: var(--yellow); font-size: .68rem; }
.ema-tools h3 { margin: 4.5rem 0 .7rem; font: 800 1.4rem "Manrope", sans-serif; }
.ema-tools p { min-height: 66px; color: #aebfc7; font-size: .88rem; }
.ema-tools a { color: var(--yellow); font-size: .82rem; font-weight: 800; text-underline-offset: 4px; }

.contact-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(3rem, 9vw, 9rem); background: var(--paper-2); }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: #536a76; font-size: 1.05rem; }
.direct-contact { display: grid; gap: 1rem; margin-top: 3rem; }
.direct-contact a { text-decoration: none; }
.direct-contact small { display: block; color: #71828b; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.direct-contact strong { font: 800 1.1rem "Manrope", sans-serif; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; padding: clamp(1.6rem, 4vw, 3.5rem); border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .45rem; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form label span { font-size: .74rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #bac4c9; border-radius: 0; padding: .85rem .9rem; color: var(--ink); background: white; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form .button { border: 0; cursor: pointer; }
.form-note { align-self: center; margin: 0; color: #71828b; font-size: .72rem; }

.locations { padding-top: 0; background: var(--paper-2); }
.locations-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.location-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.location-list article { min-height: 280px; padding: 2rem; border-right: 1px solid var(--line); }
.location-list article:last-child { border-right: 0; }
.location-list span { color: var(--blue); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.location-list h3 { margin: 3rem 0 1rem; font: 800 1.8rem "Manrope", sans-serif; }
.location-list p { color: #60727c; }
.location-list a { font-size: .82rem; font-weight: 800; text-underline-offset: 4px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; align-items: start; padding-top: 5rem; padding-bottom: 2rem; }
.footer-lockup img { filter: brightness(0) invert(1); }
.footer-lockup .ema-mark { filter: none; }
.footer-brand > p { max-width: 360px; margin-top: 2rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-links strong { margin-bottom: .5rem; color: #78929f; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: white; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--white-line); font-size: .74rem; }
.footer-bottom p { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header { min-height: 76px; }
  .brand-lockup img { width: 145px; }
  .brand-lockup .ema-mark { width: 42px; height: 42px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.2rem 1.2rem; background: var(--paper-2); box-shadow: 0 16px 30px rgba(7,21,33,.12); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .9rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 510px; }
  .pathways { grid-template-columns: 1fr; }
  .pathway { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .relationship-grid, .section-heading, .contact-section { grid-template-columns: 1fr; }
  .service-explorer { grid-template-columns: 1fr; }
  .service-tabs { flex-direction: row; overflow-x: auto; }
  .service-tab { min-width: 210px; }
  .training-story { grid-template-columns: 1fr 1fr; }
  .training-copy { grid-column: 1 / -1; grid-row: 1; min-height: 520px; }
  .training-image { min-height: 420px; }
  .credential-grid { grid-template-columns: 1fr 1fr; }
  .credential-grid article:nth-child(2) { border-right: 0; }
  .credential-grid article { border-bottom: 1px solid rgba(255,255,255,.35); }
  .ema-intro { grid-template-columns: 1fr; }
  .impact-board { grid-template-columns: 1fr 1fr; }
  .impact-board > div:nth-child(2) { border-right: 0; }
  .impact-source { left: auto; right: 1rem; }
  .ema-tools { grid-template-columns: 1fr 1fr; }
  .ema-tools article:nth-child(2) { border-right: 1px solid var(--white-line); }
}

@media (max-width: 560px) {
  body { padding-bottom: 68px; }
  .emergency-bar { justify-content: space-between; }
  .site-header { padding-inline: 1rem; }
  .brand-lockup { gap: .6rem; }
  .brand-lockup img { width: 120px; }
  .brand-lockup .ema-mark { width: 38px; height: 38px; }
  .brand-divider { height: 30px; }
  .hero { padding-inline: 1rem; padding-bottom: 3rem; }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { justify-content: space-between; }
  .hero-proof div { min-width: 0; padding-right: .8rem; margin-right: .8rem; }
  .hero-visual { min-height: 390px; padding-left: .8rem; }
  .hero-visual > img, .hero-visual::after { left: 1.7rem; width: calc(100% - 1.7rem); }
  .visual-caption { left: 2.7rem; right: 1rem; }
  .pathways { margin-inline: 1rem; }
  .pathway { padding: 1.3rem; }
  .relationship-copy { grid-template-columns: 1fr; }
  .relationship h2, .section-heading h2, .credentials h2, .contact-copy h2, .locations h2 { font-size: 2.65rem; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel > img, .panel-graphic { min-height: 330px; }
  .check-list { grid-template-columns: 1fr; }
  .training-story { grid-template-columns: 1fr; }
  .training-copy { min-height: 500px; }
  .training-image { min-height: 360px; }
  .secondary-image { display: none; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-grid article, .credential-grid article:nth-child(2) { min-height: auto; border-right: 0; }
  .credential-grid h3 { margin-top: 2rem; }
  .ema-copy h2 { font-size: 3.2rem; }
  .ambulance-stage { min-height: 500px; }
  .impact-board { grid-template-columns: 1fr; }
  .impact-board > div, .impact-board > div:nth-child(2) { min-height: 175px; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .impact-source { position: static; padding: 1rem 1.5rem; }
  .ema-tools { grid-template-columns: 1fr; }
  .ema-tools article, .ema-tools article:nth-child(2), .ema-tools article:last-child { min-height: auto; border-right: 1px solid var(--white-line); border-bottom: 1px solid var(--white-line); }
  .ema-tools h3 { margin-top: 2rem; }
  .ema-tools p { min-height: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(3), .contact-form label:nth-child(4) { grid-column: auto; }
  .locations-heading { align-items: flex-start; flex-direction: column; }
  .location-list { grid-template-columns: 1fr; }
  .location-list article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; gap: 3rem; align-items: flex-start; }
  .footer-links { gap: 1.5rem; }
  .footer-bottom { grid-column: auto; align-self: auto; gap: 1rem; flex-direction: column; }
  .mobile-emergency { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.2rem; color: var(--ink); background: var(--yellow); text-decoration: none; box-shadow: 0 -8px 20px rgba(7,21,33,.16); }
  .mobile-emergency span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-emergency strong { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Experience layer: motion, navigation and emergency utilities --- */
.scroll-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--blue-bright), var(--red)); box-shadow: 0 0 14px rgba(0,169,236,.7); }
.grain { position: fixed; z-index: 90; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.status-beacon { display: inline-block; width: 7px; height: 7px; margin-right: .45rem; border-radius: 50%; background: white; box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: beacon 2s infinite; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-emergency { display: flex; align-items: baseline; gap: .55rem; padding-right: 1rem; border-right: 1px solid var(--line); text-decoration: none; }
.header-emergency span { color: #60727d; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.header-emergency strong { color: var(--red); font: 800 1.2rem "Manrope", sans-serif; }
.menu-toggle { display: flex; align-items: center; gap: .7rem; border: 0; background: transparent; padding: .65rem .25rem .65rem .65rem; color: var(--ink); cursor: pointer; }
.menu-toggle .menu-label { width: auto; height: auto; margin: 0; background: none; font: 800 .72rem "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.menu-icon { width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; background: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.menu-icon i { display: block; width: 16px; height: 1px; margin: 2px 0; background: white; transition: transform .3s, width .3s; }
.menu-toggle:hover .menu-icon { transform: rotate(12deg) scale(1.08); background: var(--blue); }
.menu-toggle:hover .menu-icon i:nth-child(2) { width: 10px; }
.navigation-drawer { position: fixed; z-index: 85; inset: 38px 0 0; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.5rem, 5vw, 5rem); color: white; background: rgba(7,21,33,.98); visibility: hidden; opacity: 0; transform: translateY(-18px); transition: opacity .28s, transform .38s cubic-bezier(.2,.8,.2,1), visibility .28s; }
.navigation-drawer.open { visibility: visible; opacity: 1; transform: translateY(0); }
body.menu-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--white-line); }
.drawer-top p { margin: 0; color: #8ba2ae; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.drawer-close { display: flex; align-items: center; gap: .6rem; border: 0; color: white; background: none; font: 700 .72rem "DM Sans", sans-serif; text-transform: uppercase; cursor: pointer; }
.drawer-close span { font-size: 1.8rem; font-weight: 400; }
.drawer-links { display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 1px; background: var(--white-line); }
.drawer-links a { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: white; background: var(--ink); text-decoration: none; transition: background .22s, transform .22s; }
.drawer-links a:hover { position: relative; z-index: 2; color: var(--ink); background: var(--yellow); transform: translateY(-8px); }
.drawer-links a > span { margin-bottom: auto; color: var(--yellow); font-size: .65rem; }
.drawer-links a:hover > span { color: #756716; }
.drawer-links strong { font: 800 clamp(1.2rem, 2vw, 2rem)/1 "Manrope", sans-serif; }
.drawer-links small { margin-top: .45rem; color: #91a6b1; }
.drawer-links a:hover small { color: #615717; }
.drawer-emergency { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.2rem; }
.drawer-emergency p { margin: 0; color: #9eb0b9; }
.drawer-emergency a { display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1rem; color: white; background: var(--red); text-decoration: none; font-weight: 800; }

.signal-ticker { overflow: hidden; padding: .85rem 0; color: var(--ink); background: var(--yellow); border-block: 1px solid rgba(7,21,33,.3); }
.signal-ticker > div { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.signal-ticker span { margin-inline: 1.5rem; font: 800 .7rem "Manrope", sans-serif; letter-spacing: .14em; }
.signal-ticker i { font-style: normal; color: var(--red); }
.response-orbit { position: absolute; z-index: 5; width: 150px; height: 150px; top: 0; left: 0; border: 1px solid rgba(248,217,78,.5); border-radius: 50%; animation: orbit-spin 12s linear infinite; }
.response-orbit::before, .response-orbit::after { content: ""; position: absolute; inset: 20%; border: 1px dashed rgba(255,255,255,.48); border-radius: inherit; }
.response-orbit::after { inset: 43%; background: var(--yellow); border: 0; }
.response-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); }
.response-orbit span:first-child { top: -4px; left: 50%; }
.response-orbit span:nth-child(2) { bottom: 18px; left: 10px; }
.response-orbit span:nth-child(3) { right: 2px; bottom: 36px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.pathway, .credential-grid article, .ema-tools article, .response-card, .video-feature { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, box-shadow .25s; }
.pathway:hover, .credential-grid article:hover, .ema-tools article:hover, .response-card:hover, .video-feature:hover { position: relative; z-index: 2; transform: translateY(-7px); box-shadow: 0 22px 42px rgba(7,21,33,.18); }
.magnetic { will-change: transform; transition: transform .22s cubic-bezier(.2,.8,.2,1), background .22s, box-shadow .22s; }

.credential-grid { grid-template-columns: repeat(5, 1fr); }
.credential-links { display: flex; flex-wrap: wrap; gap: .8rem 2rem; }

.broadcast-section { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5rem); background: var(--paper); }
.broadcast-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.broadcast-head h2 { margin: 0; font: 800 clamp(3rem, 6vw, 6.7rem)/.92 "Manrope", sans-serif; letter-spacing: -.065em; }
.broadcast-head h2 em { color: var(--blue); font-style: normal; }
.broadcast-head > p { max-width: 570px; margin: 0 0 .7rem; color: #4b626f; font-size: 1.05rem; }
.broadcast-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 1rem; margin-top: 4rem; }
.radio-console { min-height: 480px; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 3rem); color: white; background: var(--ink); box-shadow: var(--shadow); }
.radio-topline { display: flex; align-items: center; gap: .65rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.radio-topline small { margin-left: auto; color: #8ea5b1; }
.on-air-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(227,70,62,.18); animation: beacon 1.5s infinite; }
.radio-dial { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin: 5rem 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--white-line); color: #68818e; font-size: .65rem; }
.radio-dial b { color: var(--yellow); font-size: 1rem; }
.radio-dial i { position: absolute; left: 52%; bottom: -9px; width: 2px; height: 32px; background: var(--yellow); box-shadow: 0 0 10px rgba(248,217,78,.7); }
.radio-console h3 { margin: 0; font: 800 clamp(2.6rem, 4vw, 4.8rem)/.92 "Manrope", sans-serif; letter-spacing: -.06em; }
.radio-console > p:not(.radio-note) { color: #9eb3bd; }
.radio-controls { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.radio-play { display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: .75rem 1rem; color: var(--ink); border: 0; background: var(--yellow); font: 800 .78rem "DM Sans", sans-serif; cursor: pointer; }
.radio-controls > a { margin-left: auto; color: white; font-size: .72rem; font-weight: 800; }
.equalizer { height: 30px; display: flex; align-items: center; gap: 3px; }
.equalizer i { width: 3px; height: 25%; background: var(--blue-bright); }
.radio-console.playing .equalizer i { animation: equalize .7s ease-in-out infinite alternate; }
.radio-console.playing .equalizer i:nth-child(2) { animation-delay: -.25s; }
.radio-console.playing .equalizer i:nth-child(3) { animation-delay: -.45s; }
.radio-console.playing .equalizer i:nth-child(4) { animation-delay: -.1s; }
.radio-console.playing .equalizer i:nth-child(5) { animation-delay: -.35s; }
.radio-note { margin: 1rem 0 0; color: #6d8793; font-size: .65rem; }
.video-feature { min-width: 0; background: white; border: 1px solid var(--line); }
.video-frame { position: relative; aspect-ratio: 16/10; background: #020609; overflow: hidden; }
.video-launch { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; color: white; background: #020609; cursor: pointer; overflow: hidden; }
.video-launch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,9,.02), rgba(2,6,9,.56)); }
.video-launch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s; }
.video-launch:hover img { transform: scale(1.055); filter: saturate(1.12); }
.video-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 68px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: white; background: #ff0033; box-shadow: 0 12px 32px rgba(0,0,0,.32); transform: translate(-50%,-50%); transition: transform .22s; }
.video-launch:hover .video-play { transform: translate(-50%,-50%) scale(1.1); }
.video-launch-label { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; padding: .45rem .65rem; background: rgba(7,21,33,.9); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.video-source-link { display: inline-flex; margin-top: .4rem; color: var(--blue); font-size: .78rem; font-weight: 800; text-underline-offset: 4px; }
.video-source-link:hover { color: var(--ink); }
.video-copy { padding: 1.5rem; }
.video-copy span { color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.video-copy h3 { margin: 1rem 0 .7rem; font: 800 1.35rem/1.05 "Manrope", sans-serif; }
.video-copy p { margin: 0; color: #60727c; font-size: .84rem; }
.show-strip { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); background: white; }
.show-strip > div { display: flex; align-items: baseline; gap: 1rem; }
.show-strip strong { font: 800 1.8rem "Manrope", sans-serif; }
.show-strip span { color: #60727c; font-size: .8rem; }

.response-centre { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5rem); color: white; background: radial-gradient(circle at 80% 10%, rgba(0,169,236,.15), transparent 32%), var(--ink); }
.response-head { max-width: 960px; }
.response-head h2 { margin: 0; font: 800 clamp(3rem, 6.5vw, 7rem)/.92 "Manrope", sans-serif; letter-spacing: -.07em; }
.response-head h2 em { color: var(--yellow); font-style: normal; }
.response-head > p:not(.eyebrow) { max-width: 680px; color: #abc0ca; }
.response-head a { color: var(--yellow); font-weight: 800; }
.readiness-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4rem 0 1rem; border: 1px solid var(--white-line); background: rgba(255,255,255,.03); }
.readiness-bar > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: 1.2rem; border-right: 1px solid var(--white-line); }
.readiness-bar > div:last-child { border-right: 0; }
.readiness-dot { grid-row: 1/3; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: #44d79a; box-shadow: 0 0 0 5px rgba(68,215,154,.12); }
.readiness-dot.offline { background: var(--red); }
.readiness-dot.location-dot { background: #728b97; }
.readiness-dot.location-dot.ready { background: var(--yellow); box-shadow: 0 0 0 5px rgba(248,217,78,.12); }
.readiness-bar small { color: #718c99; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.readiness-bar strong { font-size: .9rem; }
.response-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--white-line); }
.response-card { position: relative; min-height: 380px; display: flex; flex-direction: column; padding: 1.6rem; background: #0d2130; overflow: hidden; }
.response-card::before { content: ""; position: absolute; width: 130px; height: 130px; top: -70px; right: -70px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transition: transform .4s; }
.response-card:hover::before { transform: scale(1.45); }
.urgent-card { background: var(--red); }
.response-index { color: #6f8996; font-size: .65rem; }
.urgent-card .response-index { color: rgba(255,255,255,.65); }
.response-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 3.6rem 0 1.5rem; border: 1px solid var(--white-line); border-radius: 50%; color: var(--yellow); font-size: 1.4rem; }
.urgent-card .response-icon { color: white; }
.response-card h3 { margin: 0 0 .8rem; font: 800 1.4rem "Manrope", sans-serif; }
.response-card p { color: #aac0ca; font-size: .84rem; }
.urgent-card p { color: rgba(255,255,255,.78); }
.response-card > button { margin-top: auto; display: flex; justify-content: space-between; width: 100%; padding: 1rem 0 .3rem; color: white; border: 0; border-top: 1px solid var(--white-line); background: transparent; font: 800 .76rem "DM Sans", sans-serif; text-align: left; cursor: pointer; }
.location-result { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.location-result a, .location-result button { padding: .45rem .6rem; color: var(--ink); border: 0; background: var(--yellow); font: 700 .68rem "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.assistant-promo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; margin-top: 1rem; padding: 1.4rem 1.6rem; color: var(--ink); background: var(--yellow); }
.assistant-avatar { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 8px rgba(7,21,33,.1); }
.assistant-avatar span { position: absolute; inset: -6px; border: 1px dashed var(--ink); border-radius: 50%; animation: orbit-spin 10s linear infinite; }
.assistant-avatar b { color: var(--yellow); font-size: 1.8rem; }
.assistant-promo p { margin: 0; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.assistant-promo h3 { margin: .15rem 0; font: 800 1.4rem "Manrope", sans-serif; }
.assistant-promo > div:nth-child(2) > span { color: #62591f; font-size: .8rem; }
.assistant-promo .button-yellow { border: 1px solid var(--ink); cursor: pointer; }

.command-dock { position: fixed; z-index: 55; right: 1.1rem; bottom: 1.1rem; display: flex; gap: .35rem; padding: .4rem; color: white; background: rgba(7,21,33,.94); box-shadow: 0 14px 44px rgba(7,21,33,.34); backdrop-filter: blur(12px); }
.command-dock a, .command-dock button { min-width: 62px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; color: white; border: 0; background: transparent; text-decoration: none; cursor: pointer; }
.command-dock a:hover, .command-dock button:hover { color: var(--ink); background: var(--yellow); }
.command-dock span { font-size: 1rem; }
.command-dock small { font-size: .55rem; text-transform: uppercase; letter-spacing: .08em; }
.command-dock .dock-emergency { color: white; background: var(--red); }
.command-dock .dock-emergency .pulse { width: 6px; height: 6px; }
.command-dock .dock-emergency strong { font-size: 1rem; line-height: 1; }

.guide-dialog { width: min(680px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; color: var(--ink); background: transparent; overflow: visible; }
.guide-dialog::backdrop { background: rgba(3,12,18,.75); backdrop-filter: blur(8px); }
.guide-shell { max-height: calc(100dvh - 2rem); background: var(--paper-2); box-shadow: 0 30px 90px rgba(0,0,0,.35); overflow: auto; }
.guide-topbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; color: white; background: var(--ink); }
.guide-topbar > span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-topbar button { border: 0; color: white; background: none; font-size: 2rem; cursor: pointer; }
.guide-content { padding: clamp(1.5rem, 5vw, 3.5rem); }
.guide-content h2 { margin: 0; font: 800 clamp(2.1rem, 5vw, 4rem)/.98 "Manrope", sans-serif; letter-spacing: -.05em; }
.guide-content > p { color: #526875; }
.guide-steps { display: grid; gap: .7rem; margin: 2rem 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-steps li { counter-increment: guide; display: grid; grid-template-columns: 34px 1fr; gap: 1rem; align-items: start; padding: 1rem; border: 1px solid var(--line); background: white; }
.guide-steps li::before { content: counter(guide); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: var(--yellow); font-weight: 800; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.guide-actions a, .guide-actions button { min-height: 46px; display: inline-flex; align-items: center; padding: .7rem 1rem; color: white; border: 0; background: var(--ink); font-weight: 800; text-decoration: none; cursor: pointer; }
.report-builder { display: grid; gap: 1rem; margin-top: 1.5rem; }
.report-builder label { display: grid; gap: .4rem; font-size: .72rem; font-weight: 800; }
.report-builder input, .report-builder select, .report-builder textarea { width: 100%; padding: .8rem; border: 1px solid #aab6bc; font: inherit; }

.assistant-panel { position: fixed; z-index: 80; right: 1rem; bottom: 1rem; width: min(390px, calc(100% - 2rem)); height: min(650px, calc(100dvh - 2rem)); display: grid; grid-template-rows: auto auto 1fr auto auto; color: var(--ink); background: var(--paper-2); box-shadow: 0 26px 90px rgba(7,21,33,.4); visibility: hidden; opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right; transition: opacity .25s, transform .32s cubic-bezier(.2,.8,.2,1), visibility .25s; }
.assistant-panel.open { visibility: visible; opacity: 1; transform: none; }
.assistant-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; color: white; background: var(--ink); }
.assistant-identity { display: flex; align-items: center; gap: .8rem; }
.assistant-avatar.small { width: 42px; height: 42px; background: var(--yellow); box-shadow: none; }
.assistant-avatar.small span { border-color: var(--yellow); }
.assistant-avatar.small b { color: var(--ink); font-size: 1.3rem; }
.assistant-identity strong, .assistant-identity small { display: block; }
.assistant-identity small { color: #99aeb8; font-size: .65rem; }
.assistant-identity small i { display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; background: #44d79a; }
.assistant-header > button { border: 0; color: white; background: none; font-size: 1.8rem; cursor: pointer; }
.assistant-alert { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; color: white; background: var(--red); font-size: .72rem; }
.assistant-alert a { color: white; font-weight: 800; }
.assistant-chat { padding: 1rem; overflow-y: auto; }
.chat-message { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.chat-message > span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: .55rem; font-weight: 800; }
.chat-message.user { flex-direction: row-reverse; }
.chat-message.user > span { color: white; background: var(--blue); }
.chat-message p { max-width: 82%; margin: 0; padding: .8rem; border: 1px solid var(--line); background: white; font-size: .82rem; }
.chat-message.user p { color: white; border-color: var(--blue); background: var(--blue); }
.chat-message p a { color: var(--blue); font-weight: 800; }
.assistant-options { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1rem 1rem; }
.assistant-options button { padding: .55rem .7rem; border: 1px solid var(--line); background: white; font: 700 .72rem "DM Sans", sans-serif; cursor: pointer; }
.assistant-options button:hover { border-color: var(--blue); color: white; background: var(--blue); }
.assistant-disclaimer { margin: 0; padding: .75rem 1rem; color: #647781; background: #ece8de; font-size: .6rem; }

.solarspin-credit { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 1rem; padding: 1.2rem 0 0; color: white; border-top: 1px solid var(--white-line); text-decoration: none; }
.solarspin-credit span { grid-column: 1; color: #718c99; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
.solarspin-credit strong { grid-column: 1; font: 800 clamp(1.6rem, 3vw, 3.2rem) "Manrope", sans-serif; letter-spacing: -.04em; }
.solarspin-credit i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 2rem; transition: transform .25s; }
.solarspin-credit:hover { color: var(--yellow); }
.solarspin-credit:hover i { transform: translate(6px,-6px); }

.install-prompt { position: fixed; z-index: 70; left: 1rem; bottom: 1rem; max-width: 440px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: 1rem; color: white; background: var(--ink); box-shadow: 0 20px 60px rgba(7,21,33,.34); animation: install-in .5s cubic-bezier(.2,.8,.2,1); }
.install-prompt[hidden] { display: none; }
.install-prompt strong, .install-prompt span { display: block; }
.install-prompt strong { font: 800 .9rem "Manrope", sans-serif; }
.install-prompt span { color: #9cb0ba; font-size: .68rem; }
.install-prompt button { min-height: 38px; padding: .55rem .8rem; color: var(--ink); border: 0; background: var(--yellow); font-weight: 800; cursor: pointer; }
.install-prompt #dismiss-install { padding: .2rem; color: #9cb0ba; background: transparent; font-size: 1.4rem; }

@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes equalize { from { height: 22%; } to { height: 96%; } }
@keyframes install-in { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 1050px) {
  .drawer-links { grid-template-columns: repeat(3, 1fr); overflow-y: auto; }
  .drawer-links a { min-height: 150px; }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .broadcast-grid { grid-template-columns: 1fr 1fr; }
  .radio-console { grid-column: 1 / -1; }
  .response-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-emergency, .menu-label { display: none; }
  .menu-toggle { display: flex; }
  .navigation-drawer { padding: 1rem; }
  .drawer-links { grid-template-columns: 1fr 1fr; align-content: start; margin: 1rem 0; }
  .drawer-links a { min-height: 128px; padding: 1rem; }
  .drawer-links strong { font-size: 1.05rem; }
  .drawer-emergency { align-items: stretch; flex-direction: column; gap: .7rem; }
  .drawer-emergency a { justify-content: center; }
  .response-orbit { width: 110px; height: 110px; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-grid article { border-right: 0; }
  .broadcast-head { grid-template-columns: 1fr; }
  .broadcast-grid { grid-template-columns: 1fr; }
  .radio-console { grid-column: auto; min-height: 420px; }
  .show-strip { align-items: flex-start; flex-direction: column; }
  .show-strip > div { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .readiness-bar { grid-template-columns: 1fr 1fr; }
  .readiness-bar > div:nth-child(2) { border-right: 0; }
  .readiness-bar > div { border-bottom: 1px solid var(--white-line); }
  .response-grid { grid-template-columns: 1fr; }
  .response-card { min-height: 320px; }
  .assistant-promo { grid-template-columns: auto 1fr; }
  .assistant-promo .button { grid-column: 1 / -1; width: 100%; }
  .command-dock { right: .7rem; bottom: 76px; flex-direction: column; padding: .25rem; }
  .command-dock a, .command-dock button { min-width: 48px; width: 48px; height: 44px; }
  .command-dock small { display: none; }
  .command-dock .dock-emergency { display: none; }
  .assistant-panel { right: 0; bottom: 0; width: 100%; height: calc(100dvh - 38px); max-width: none; }
  .solarspin-credit { grid-column: auto; }
  .install-prompt { left: .7rem; right: .7rem; bottom: 76px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-ticker > div, .response-orbit, .assistant-avatar span, .on-air-dot, .status-beacon, .equalizer i { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .magnetic { transform: none !important; }
}

/* --- Iconic field-led art direction --- */
.emergency-bar { position: relative; overflow: hidden; background: linear-gradient(100deg, #c52c2a 0%, #f04c43 42%, #d22632 63%, #0979bd 120%); }
.emergency-bar::after { content: ""; position: absolute; inset: 0; width: 26%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent); transform: skewX(-20deg) translateX(-180%); animation: siren-sweep 5s ease-in-out infinite; }
.hero { position: relative; background: radial-gradient(circle at 72% 28%, rgba(0,169,236,.11), transparent 28%), linear-gradient(115deg, rgba(255,252,245,.98) 0 52%, rgba(244,241,233,.82) 80%), url("assets/first-aid-training.jpg") center/cover fixed; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(7,21,33,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7,21,33,.035) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.hero > * { position: relative; z-index: 2; }
.hero-visual { animation: image-float 7s ease-in-out infinite; }
.hero-visual > img { filter: saturate(.88) contrast(1.1); }
.hero h1 em { position: relative; display: inline-block; text-shadow: 0 10px 30px rgba(0,121,189,.12); }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.07em; height: .08em; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform: scaleX(.2); transform-origin: left; animation: line-charge 1.1s .35s cubic-bezier(.2,.8,.2,1) forwards; }
.emergency-path strong { animation: micro-pulse 2.6s ease-in-out infinite; }

.field-mosaic { height: min(72vw, 880px); min-height: 620px; display: grid; grid-template-columns: 1.5fr .8fr; grid-template-rows: 1fr 1fr; gap: .6rem; padding: .6rem; background: var(--ink); overflow: hidden; }
.field-tile { position: relative; min-height: 0; margin: 0; overflow: hidden; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.field-tile-wide { grid-row: 1 / 3; }
.field-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); transform: scale(1.02); transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s; }
.field-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(3,12,18,.85)); transition: opacity .5s; }
.field-tile::before { content: ""; position: absolute; z-index: 3; top: 1.2rem; right: 1.2rem; width: 54px; height: 54px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); }
.field-tile:hover img { transform: scale(1.09); filter: saturate(1) contrast(1.04); }
.field-tile:hover::after { opacity: .78; }
.field-tile figcaption { position: absolute; z-index: 4; left: clamp(1.4rem, 4vw, 4rem); right: 1.4rem; bottom: clamp(1.4rem, 4vw, 4rem); color: white; }
.field-tile figcaption span { display: inline-block; margin-bottom: .7rem; padding: .35rem .55rem; color: var(--ink); background: var(--yellow); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field-tile figcaption strong { display: block; font: 800 clamp(1.7rem, 4vw, 4.7rem)/.95 "Manrope", sans-serif; letter-spacing: -.055em; }
.field-tile:not(.field-tile-wide) figcaption strong { font-size: clamp(1.35rem, 2.4vw, 2.5rem); }
.field-tile figcaption small { display: block; margin-top: .5rem; color: #b7cbd4; text-transform: uppercase; letter-spacing: .1em; }

.services-section { position: relative; isolation: isolate; background: linear-gradient(105deg, rgba(255,252,245,.97) 0%, rgba(255,252,245,.91) 48%, rgba(244,241,233,.72)), url("assets/training-room.jpg") center/cover fixed; }
.services-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 90% 15%, rgba(0,169,236,.23), transparent 27%), linear-gradient(125deg, transparent 67%, rgba(248,217,78,.24)); }
.service-explorer { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.safety-graphic { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(rgba(0,80,128,.72), rgba(0,121,189,.88)), url("assets/medical-response.jpg") center/cover; }
.safety-graphic::after { content: ""; position: absolute; z-index: -1; inset: -30%; background: repeating-linear-gradient(115deg, transparent 0 35px, rgba(255,255,255,.08) 35px 37px); animation: field-shift 14s linear infinite; }
.equipment-graphic { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(rgba(248,217,78,.82), rgba(248,217,78,.93)), url("assets/first-aid-training.jpg") center/cover; }
.equipment-graphic::after { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; border: 1px solid rgba(7,21,33,.22); border-radius: 50%; animation: orbit-spin 11s linear infinite; }

.training-story { position: relative; background: none; }
.training-copy { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, rgba(7,21,33,.96), rgba(7,21,33,.8)), url("assets/first-aid-training.jpg") center/cover; }
.training-copy::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(0,169,236,.3), transparent 30%), repeating-linear-gradient(135deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px); }
.training-image.primary-image { transform: translateZ(0); }

.credentials { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, rgba(0,65,103,.94), rgba(0,121,189,.82)), url("assets/medical-response.jpg") center/cover fixed; }
.credentials::after { content: "05"; position: absolute; z-index: -1; right: -2vw; bottom: -7vw; color: rgba(255,255,255,.08); font: 800 clamp(12rem, 28vw, 30rem)/.8 "Manrope", sans-serif; letter-spacing: -.12em; }
.credential-grid { background: rgba(5,40,61,.18); backdrop-filter: blur(6px); }
.credential-grid article:hover { background: rgba(248,217,78,.96); color: var(--ink); }
.credential-grid article:hover p, .credential-grid article:hover span { color: var(--ink); }

.ema-section { background: linear-gradient(rgba(3,12,18,.9), rgba(3,12,18,.94)), url("assets/rescue-response.jpg") center/cover fixed; }
.ema-copy { position: relative; isolation: isolate; background: linear-gradient(100deg, rgba(7,21,33,.96), rgba(7,21,33,.72)), url("assets/rescue-response.jpg") center/cover; }
.ema-copy::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(130deg, transparent 55%, rgba(0,169,236,.2)); }
.ambulance-stage { background: linear-gradient(135deg, rgba(248,217,78,.83), rgba(248,217,78,.58)), url("assets/medical-response.jpg") center/cover; }
.ambulance-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,.15), transparent 35%), repeating-linear-gradient(125deg, transparent 0 70px, rgba(7,21,33,.04) 70px 71px); }
.ambulance-stage > img, .ambulance-stage > p, .dispatch-note { position: absolute; }
.ambulance-stage > img { bottom: 0; }
.impact-board { background: linear-gradient(100deg, rgba(7,21,33,.9), rgba(7,21,33,.76)), url("assets/first-aid-training.jpg") center/cover; }
.impact-board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 75% 50%, rgba(227,70,62,.17), transparent 28%); }
.ema-tools { background: linear-gradient(rgba(7,21,33,.87), rgba(7,21,33,.96)), url("assets/rescue-response.jpg") center/cover fixed; }
.ema-tools article { background: rgba(7,21,33,.52); backdrop-filter: blur(5px); }
.ema-tools article:hover { color: var(--ink); background: var(--yellow); }
.ema-tools article:hover p, .ema-tools article:hover a, .ema-tools article:hover .tool-number { color: var(--ink); }

.broadcast-section { position: relative; isolation: isolate; background: linear-gradient(115deg, rgba(244,241,233,.97), rgba(244,241,233,.82)), url("assets/first-aid-training.jpg") center/cover fixed; }
.broadcast-section::after { content: "ON AIR"; position: absolute; z-index: -1; right: -3vw; top: 10%; color: rgba(227,70,62,.07); font: 800 clamp(8rem, 20vw, 22rem)/.8 "Manrope", sans-serif; letter-spacing: -.1em; writing-mode: vertical-rl; }
.radio-console { background: linear-gradient(135deg, rgba(7,21,33,.93), rgba(4,43,66,.9)), url("assets/medical-response.jpg") center/cover; }
.video-feature { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); }

.response-centre { position: relative; isolation: isolate; background: linear-gradient(112deg, rgba(7,21,33,.97) 0%, rgba(7,21,33,.85) 55%, rgba(3,44,68,.82)), url("assets/medical-response.jpg") center/cover fixed; }
.response-centre::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(0,169,236,.3), transparent 24%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 79px 80px); }
.readiness-bar { background: rgba(7,21,33,.58); backdrop-filter: blur(12px); }
.response-card { background: linear-gradient(145deg, rgba(13,33,48,.88), rgba(8,24,36,.94)), url("assets/rescue-response.jpg") center/cover; background-blend-mode: normal; }
.response-card:nth-child(2) { background-image: linear-gradient(145deg, rgba(13,33,48,.9), rgba(8,24,36,.94)), url("assets/medical-response.jpg"); }
.response-card:nth-child(3) { background-image: linear-gradient(145deg, rgba(13,33,48,.9), rgba(8,24,36,.94)), url("assets/oshmed-hero.jpg"); }
.response-card:nth-child(4) { background-image: linear-gradient(145deg, rgba(13,33,48,.9), rgba(8,24,36,.94)), url("assets/fire-training.jpg"); }
.response-card.urgent-card { background: linear-gradient(145deg, rgba(227,70,62,.9), rgba(149,26,28,.94)), url("assets/rescue-response.jpg") center/cover; }
.response-card:hover { background-blend-mode: multiply; }

.contact-section { position: relative; background: linear-gradient(100deg, rgba(255,252,245,.97), rgba(255,252,245,.82)), url("assets/training-room.jpg") center/cover fixed; }
.contact-form { background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.locations { background: linear-gradient(120deg, rgba(255,252,245,.97), rgba(244,241,233,.86)), url("assets/medical-response.jpg") center/cover fixed; }
.location-list article { background: rgba(255,252,245,.7); backdrop-filter: blur(10px); }
.site-footer { background: linear-gradient(105deg, rgba(7,21,33,.97), rgba(7,21,33,.8)), url("assets/rescue-response.jpg") center/cover fixed; }

@keyframes siren-sweep { 0%, 55% { transform: skewX(-20deg) translateX(-180%); } 82%, 100% { transform: skewX(-20deg) translateX(600%); } }
@keyframes image-float { 0%,100% { transform: translateY(0) rotate(.001deg); } 50% { transform: translateY(-9px) rotate(.001deg); } }
@keyframes line-charge { to { transform: scaleX(1); } }
@keyframes micro-pulse { 0%,100% { transform: scale(1); } 45% { transform: scale(1); } 50% { transform: scale(1.05); } 55% { transform: scale(1); } 60% { transform: scale(1.035); } }
@keyframes field-shift { to { transform: translateX(110px); } }

@media (max-width: 720px) {
  .hero, .services-section, .credentials, .ema-section, .ema-tools, .broadcast-section, .response-centre, .contact-section, .locations, .site-footer { background-attachment: scroll; }
  .field-mosaic { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; }
  .field-tile, .field-tile-wide { grid-row: auto; min-height: 390px; }
  .field-tile:not(.field-tile-wide) { min-height: 300px; }
  .ambulance-stage > img { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  .emergency-bar::after, .hero-visual, .hero h1 em::after, .emergency-path strong, .safety-graphic::after, .equipment-graphic::after { animation: none !important; }
}

/* --- Mobile hardening: stable geometry from 320px through tablet --- */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { min-width: 0; overscroll-behavior-x: none; }
main, header, footer, section, article, aside, nav, form, fieldset, div { min-width: 0; }
img, video, iframe, svg, canvas { max-width: 100%; }
img, video { height: auto; }
iframe { border: 0; }
input, select, textarea, button { max-width: 100%; }
section[id] { scroll-margin-top: 92px; }
.brand-lockup .unified-logo { width: min(330px, 42vw); height: auto; flex: 0 1 auto; }
.footer-lockup .unified-logo { width: min(390px, 100%); filter: none; }
.service-tabs { max-width: 100%; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.direct-contact strong, .footer-links a, .form-note, .assistant-alert { overflow-wrap: anywhere; }
.contact-form input, .contact-form select, .contact-form textarea,
.report-builder input, .report-builder select, .report-builder textarea { font-size: 16px; }
.emergency-bar { padding-top: max(.4rem, env(safe-area-inset-top)); padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
.navigation-drawer { padding-left: max(clamp(1.5rem, 5vw, 5rem), env(safe-area-inset-left)); padding-right: max(clamp(1.5rem, 5vw, 5rem), env(safe-area-inset-right)); }
.command-dock { right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); }

@media (max-width: 900px) {
  .brand-lockup .unified-logo { width: min(290px, 50vw); }
}

@media (max-width: 560px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .menu-toggle .menu-label { display: none !important; }
  .site-header { padding-left: max(.75rem, env(safe-area-inset-left)); padding-right: max(.75rem, env(safe-area-inset-right)); gap: .5rem; }
  .brand-lockup { flex: 1 1 auto; overflow: hidden; }
  .brand-lockup .unified-logo { width: min(220px, 68vw); }
  .menu-toggle { flex: 0 0 auto; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .hero-proof div { min-width: 0; padding-right: .55rem; margin-right: .55rem; }
  .hero-proof dt { font-size: .58rem; letter-spacing: .08em; }
  .hero-proof dd { font-size: clamp(1rem, 5.4vw, 1.35rem); }
  .pathway { grid-template-columns: 1.3rem minmax(0, 1fr) auto; }
  .pathway strong { overflow-wrap: anywhere; }
  .service-tab { min-width: min(190px, 72vw); }
  .ema-copy h2 { font-size: clamp(2.55rem, 14vw, 3.2rem); overflow-wrap: break-word; }
  .dispatch-note { left: 1rem; right: 1rem; max-width: calc(100% - 2rem); }
  .ambulance-stage > img { width: 118%; max-width: none; margin-left: -9%; }
  .readiness-bar > div { padding: .85rem; }
  .readiness-bar strong { font-size: .78rem; overflow-wrap: anywhere; }
  .assistant-promo { gap: 1rem; padding: 1.1rem; }
  .command-dock { right: max(.55rem, env(safe-area-inset-right)); bottom: calc(72px + env(safe-area-inset-bottom)); }
  .assistant-panel { height: calc(100dvh - max(38px, env(safe-area-inset-top))); padding-bottom: env(safe-area-inset-bottom); }
  .guide-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom))); }
  .guide-shell { max-height: inherit; }
  .install-prompt { left: max(.55rem, env(safe-area-inset-left)); right: max(.55rem, env(safe-area-inset-right)); bottom: calc(72px + env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; }
  .install-prompt #dismiss-install { position: absolute; top: .2rem; right: .2rem; }
  .install-prompt > div { padding-right: 1.3rem; }
  .mobile-emergency { height: calc(68px + env(safe-area-inset-bottom)); padding: .7rem max(1.2rem, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(1.2rem, env(safe-area-inset-left)); }
  .solarspin-credit strong { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  .emergency-bar { gap: .35rem; font-size: .68rem; }
  .emergency-bar > span { max-width: 52%; line-height: 1.15; }
  .brand-lockup .unified-logo { width: min(200px, 65vw); }
  .drawer-links { grid-template-columns: 1fr; }
  .drawer-links a { min-height: 88px; }
  .hero { padding-inline: .85rem; }
  h1 { font-size: clamp(2.9rem, 16vw, 3.7rem); }
  .hero-actions .button, .hero-actions .text-link { width: 100%; text-align: center; }
  .pathways { margin-inline: .75rem; }
  .field-tile, .field-tile-wide { min-height: 330px; }
  .field-tile:not(.field-tile-wide) { min-height: 260px; }
  .relationship, .services-section, .credentials, .contact-section, .locations, .response-centre { padding-inline: 1rem; }
  .assistant-promo { grid-template-columns: 1fr; }
  .assistant-avatar { width: 52px; height: 52px; }
  .readiness-bar { grid-template-columns: 1fr; }
  .readiness-bar > div { border-right: 0; }
  .footer-links { grid-template-columns: 1fr; }
  .solarspin-credit { grid-template-columns: minmax(0, 1fr) auto; }
  .solarspin-credit strong { font-size: 1.35rem; }
}

/* --- Material pass: photography, glass and atmosphere instead of flat paint --- */
.site-header {
  background:
    linear-gradient(100deg, rgba(244,241,233,.93), rgba(255,252,245,.82)),
    url("assets/rescue-response.jpg") center 58% / cover;
  box-shadow: 0 12px 40px rgba(7,21,33,.08);
  backdrop-filter: blur(18px) saturate(1.18);
}

.pathways { gap: 1px; background: rgba(7,21,33,.3); }
.pathway {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(7,21,33,.91), rgba(7,21,33,.54)), url("assets/fire-training.jpg") center / cover;
}
.pathway::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.09), transparent 40%), repeating-linear-gradient(120deg, transparent 0 42px, rgba(255,255,255,.035) 42px 43px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.pathway:hover {
  background: linear-gradient(115deg, rgba(7,21,33,.84), rgba(7,21,33,.38)), url("assets/fire-training.jpg") center 46% / cover;
}
.pathway:hover::before { transform: translateX(8px); opacity: .7; }
.pathway > * { position: relative; z-index: 1; }
.pathway:nth-child(3) { background-image: linear-gradient(115deg, rgba(7,21,33,.88), rgba(7,21,33,.48)), url("assets/rescue-response.jpg"); }
.pathway:nth-child(3):hover { background: linear-gradient(115deg, rgba(7,21,33,.8), rgba(7,21,33,.32)), url("assets/rescue-response.jpg") center 46% / cover; }
.pathway.emergency-path {
  color: white;
  background: linear-gradient(115deg, rgba(166,25,29,.91), rgba(227,70,62,.54)), url("assets/rescue-response.jpg") center 58% / cover;
}
.pathway.emergency-path:hover { background: linear-gradient(115deg, rgba(166,25,29,.82), rgba(227,70,62,.4)), url("assets/rescue-response.jpg") center 52% / cover; }
.emergency-path small, .emergency-path .path-number { color: rgba(255,255,255,.78); }

.relationship {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(255,252,245,.96) 0 34%, rgba(255,252,245,.76) 56%, rgba(7,21,33,.18) 100%),
    url("assets/rescue-response.jpg") center / cover no-repeat;
}
.relationship::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(rgba(7,21,33,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7,21,33,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}
.relationship-copy {
  padding: 1.5rem;
  background: rgba(255,252,245,.68);
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: 0 20px 60px rgba(7,21,33,.1);
  backdrop-filter: blur(12px) saturate(1.08);
}

.services-section {
  background:
    linear-gradient(105deg, rgba(255,252,245,.88) 0 42%, rgba(255,252,245,.54) 100%),
    url("assets/training-room.jpg") center / cover fixed;
}
.service-explorer { background: rgba(255,255,255,.68); border-color: rgba(255,255,255,.72); }
.service-tabs { background: linear-gradient(rgba(7,21,33,.75), rgba(7,21,33,.9)), url("assets/fire-training.jpg") center / cover; }
.service-tab { background: rgba(7,21,33,.38); backdrop-filter: blur(3px); }
.service-tab:hover { background: rgba(7,21,33,.68); }
.service-tab.active { background: linear-gradient(105deg, rgba(248,217,78,.96), rgba(248,217,78,.72)), url("assets/first-aid-training.jpg") center / cover; }
.service-panel > div:first-child {
  background: linear-gradient(112deg, rgba(255,255,255,.95), rgba(255,255,255,.79)), url("assets/first-aid-training.jpg") center / cover;
}

.credentials {
  background: linear-gradient(110deg, rgba(0,65,103,.78), rgba(0,121,189,.48)), url("assets/medical-response.jpg") center / cover fixed;
}
.credential-grid { background: rgba(5,40,61,.12); }
.credential-grid article { background: rgba(5,40,61,.24); backdrop-filter: blur(3px); }
.credential-grid article:hover { background: linear-gradient(rgba(248,217,78,.9), rgba(248,217,78,.78)), url("assets/first-aid-training.jpg") center / cover; }

.ema-section { background: linear-gradient(rgba(3,12,18,.74), rgba(3,12,18,.86)), url("assets/rescue-response.jpg") center / cover fixed; }
.ema-copy { background: linear-gradient(100deg, rgba(7,21,33,.85), rgba(7,21,33,.52)), url("assets/rescue-response.jpg") center / cover; }
.ambulance-stage { background: linear-gradient(135deg, rgba(248,217,78,.66), rgba(248,217,78,.3)), url("assets/medical-response.jpg") center / cover; }
.impact-board { background: linear-gradient(100deg, rgba(7,21,33,.76), rgba(7,21,33,.54)), url("assets/first-aid-training.jpg") center / cover; }
.ema-tools { gap: 1px; background: linear-gradient(rgba(7,21,33,.58), rgba(7,21,33,.76)), url("assets/rescue-response.jpg") center / cover; }
.ema-tools article {
  --tool-photo: url("assets/rescue-response.jpg");
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(7,21,33,.52), rgba(7,21,33,.9)), var(--tool-photo) center / cover;
  backdrop-filter: none;
}
.ema-tools article:nth-child(2) { --tool-photo: url("assets/first-aid-training.jpg"); }
.ema-tools article:nth-child(3) { --tool-photo: url("assets/fire-training.jpg"); }
.ema-tools article:nth-child(4) { --tool-photo: url("assets/medical-response.jpg"); }
.ema-tools article:hover {
  color: white;
  background: linear-gradient(180deg, rgba(7,21,33,.4), rgba(7,21,33,.82)), var(--tool-photo) center / cover;
  filter: saturate(1.12) brightness(1.08);
}
.ema-tools article:hover p { color: #d2e1e8; }
.ema-tools article:hover a, .ema-tools article:hover .tool-number { color: var(--yellow); }

.broadcast-section {
  background: linear-gradient(115deg, rgba(244,241,233,.86), rgba(244,241,233,.5)), url("assets/first-aid-training.jpg") center / cover fixed;
}
.radio-console { background: linear-gradient(135deg, rgba(7,21,33,.78), rgba(4,43,66,.84)), url("assets/medical-response.jpg") center / cover; }
.video-feature { background: rgba(255,255,255,.73); border: 1px solid rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(1.08); }
.show-strip { background: linear-gradient(100deg, rgba(255,255,255,.86), rgba(255,255,255,.62)), url("assets/ema-community.jpg") center / cover; backdrop-filter: blur(8px); }

.response-centre {
  background: linear-gradient(112deg, rgba(7,21,33,.86) 0, rgba(7,21,33,.68) 58%, rgba(3,44,68,.5)), url("assets/medical-response.jpg") center / cover fixed;
}
.response-card { background-image: linear-gradient(180deg, rgba(8,24,36,.5), rgba(8,24,36,.9)), url("assets/rescue-response.jpg"); }
.response-card:nth-child(2) { background-image: linear-gradient(180deg, rgba(8,24,36,.46), rgba(8,24,36,.9)), url("assets/medical-response.jpg"); }
.response-card:nth-child(3) { background-image: linear-gradient(180deg, rgba(8,24,36,.48), rgba(8,24,36,.9)), url("assets/oshmed-hero.jpg"); }
.response-card:nth-child(4) { background-image: linear-gradient(180deg, rgba(8,24,36,.48), rgba(8,24,36,.9)), url("assets/fire-training.jpg"); }
.response-card.urgent-card { background: linear-gradient(180deg, rgba(227,70,62,.64), rgba(125,18,24,.92)), url("assets/rescue-response.jpg") center / cover; }

.contact-section {
  background: linear-gradient(100deg, rgba(255,252,245,.9) 0 42%, rgba(255,252,245,.5)), url("assets/training-room.jpg") center / cover fixed;
}
.contact-form { background: rgba(255,255,255,.74); border-color: rgba(255,255,255,.74); backdrop-filter: blur(18px) saturate(1.08); }
.locations { background: linear-gradient(120deg, rgba(255,252,245,.86), rgba(244,241,233,.5)), url("assets/medical-response.jpg") center / cover fixed; }
.location-list { gap: 1px; background: rgba(7,21,33,.14); }
.location-list article { border: 0; background: linear-gradient(105deg, rgba(255,252,245,.88), rgba(255,252,245,.68)), url("assets/rescue-response.jpg") center / cover; }
.location-list article:nth-child(2) { background-image: linear-gradient(105deg, rgba(255,252,245,.88), rgba(255,252,245,.68)), url("assets/training-room.jpg"); }
.location-list article:nth-child(3) { background-image: linear-gradient(105deg, rgba(255,252,245,.88), rgba(255,252,245,.68)), url("assets/medical-response.jpg"); }

.site-footer { background: linear-gradient(105deg, rgba(7,21,33,.84), rgba(7,21,33,.56)), url("assets/rescue-response.jpg") center / cover fixed; }
.navigation-drawer { isolation: isolate; background: linear-gradient(115deg, rgba(7,21,33,.86), rgba(7,21,33,.6)), url("assets/rescue-response.jpg") center / cover; }
.navigation-drawer::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 78% 16%, rgba(0,169,236,.24), transparent 28%); }
.drawer-links { background: rgba(255,255,255,.15); }
.drawer-links a { background: rgba(7,21,33,.61); backdrop-filter: blur(5px); }
.guide-shell, .assistant-panel { background: linear-gradient(rgba(255,252,245,.94), rgba(255,252,245,.88)), url("assets/training-room.jpg") center / cover; }

@media (max-width: 720px) {
  .services-section, .credentials, .ema-section, .broadcast-section, .response-centre, .contact-section, .locations, .site-footer { background-attachment: scroll; }
  .relationship { background-position: 68% center; }
  .relationship-copy { background: rgba(255,252,245,.82); }
  .pathway { background-position: center; }
  .ema-tools article { background-position: center; }
  .location-list article { background-position: center; }
}
