/* Coastwatch Redcar — Norbit.Online concept demo */

:root {
  --navy: #0a2540;
  --navy-soft: #123456;
  --ink: #1e293b;
  --muted: #64748b;
  --sand: #eef6fb;
  --paper: #ffffff;
  --teal: #0e7490;
  --teal-soft: #e0f2fe;
  --cyan: #22d3ee;
  --amber: #ea580c;
  --amber-dark: #c2410c;
  --border: #d4e5f0;
  --bg: #081018;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 7.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: max(clamp(1.25rem, 3vw, 3rem), env(safe-area-inset-left));
}

.content-narrow {
  max-width: none;
}

.lead-plain {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.quote-inline {
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1rem;
  border-left: 3px solid var(--teal);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
}

.quote-inline span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.network-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Demo banner */
.norbit-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0.45rem 0.75rem;
  font: 600 0.72rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
  color: #f8fafc;
  background: linear-gradient(90deg, #1e3a5f, #0f172a);
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.norbit-demo-banner a {
  color: #67e8f9;
  text-decoration: underline;
}

body.has-norbit-demo-banner { padding-top: 2.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 2.25rem;
  z-index: 900;
  background: rgba(238, 246, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
}

.brand-logo {
  height: 3rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a:hover { background: var(--teal-soft); color: var(--teal); }
.nav-links a.active { background: var(--navy); color: #fff; }

.nav-links a.nav-cta {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--amber-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
}

/* Full-bleed hero */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f8fafc;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: heroKenBurns 18s var(--ease) forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.35) 0%, rgba(8, 16, 24, 0.55) 45%, rgba(8, 16, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 37, 64, 0.55) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 10vw, 6rem) clamp(2.5rem, 6vw, 4rem);
  max-width: none;
  margin-inline: 0;
  animation: heroFadeIn 0.9s var(--ease) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.85rem;
}

.hero .lead {
  color: #cbd5e1;
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.25);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover { background: var(--amber-dark); color: #fff; }

.btn-secondary {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover { background: var(--teal-soft); color: var(--teal); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.cta-band .btn-ghost {
  margin-inline: 0.25rem;
}

/* Duty list — replaces icon cards */
.duty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.duty-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.duty-list li:first-child { padding-top: 0; }
.duty-list li:last-child { border-bottom: none; padding-bottom: 0; }

.duty-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.15rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--teal);
  background: var(--teal-soft);
}

.duty-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.duty-list p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

/* Sea conditions links */
.conditions-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.conditions-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1rem;
  border-bottom: 2px solid var(--teal);
  background: transparent;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.conditions-link:hover {
  background: var(--teal-soft);
  color: var(--navy);
}

.conditions-link i {
  margin-top: 0.2rem;
  color: var(--teal);
  font-size: 1.15rem;
}

.conditions-link span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.conditions-link strong {
  font-size: 0.95rem;
}

.conditions-link small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* Sea conditions snapshot dashboard */
.demo-data-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  font-size: 0.9rem;
  color: var(--navy);
}

.demo-data-note i { margin-top: 0.15rem; color: var(--teal); }

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.snapshot-card {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.snapshot-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.snapshot-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.snapshot-dl {
  margin: 0 0 1rem;
  flex: 1;
}

.snapshot-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.snapshot-dl > div:last-child { border-bottom: none; }

.snapshot-dl dt {
  color: var(--muted);
  font-weight: 500;
}

.snapshot-dl dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.snapshot-card__link {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Webcam placeholder */
.webcam-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #0a2540, #123456);
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.webcam-frame__inner {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 28rem;
  color: #cbd5e1;
}

.webcam-frame__inner i {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.webcam-frame__inner p { margin: 0 0 0.75rem; }
.webcam-frame__inner strong { color: #fff; }
.webcam-frame__inner .btn { margin-top: 0.75rem; }

/* Visit map */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  aspect-ratio: 4 / 3;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Training timeline + FAQ */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--teal-soft);
}

.timeline h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  width: 100%;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--teal);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0 0 1.15rem;
  max-width: none;
  color: var(--muted);
}

.steps-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--ink);
}

.steps-list li { margin-bottom: 0.5rem; }

.visit-first {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
}

.visit-first p {
  margin: 0;
  flex: 1;
  min-width: 14rem;
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.section--alt {
  background: var(--paper);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: none;
  margin-bottom: 1.75rem;
}

.section-head--wide {
  max-width: none;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* Stats — simple row, not cards */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  padding: 0;
  border: none;
}

.stat-item {
  text-align: left;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-item__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat-item__label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  color: var(--teal);
  background: var(--teal-soft);
}

.card h3 { font-size: 1.05rem; }

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child { border-bottom: none; }

.info-list i {
  color: var(--teal);
  margin-top: 0.2rem;
  width: 1.25rem;
  text-align: center;
}

.cta-band {
  padding: clamp(2rem, 4.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #e2e8f0;
  text-align: center;
}

.cta-band h2 { color: #fff; }

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: #cbd5e1;
}

.cta-band .btn-primary { margin-inline: 0.25rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: linear-gradient(180deg, #dbeafe, var(--sand));
  border-bottom: 1px solid var(--border);
}

.page-hero--navy {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(34, 211, 238, 0.18), transparent),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  border-bottom: none;
  color: #cbd5e1;
}

.page-hero--navy h1 { color: #fff; }

.page-hero--navy p { color: #cbd5e1; }

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); }

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  margin: 0;
}

.eyebrow--light {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.35);
}

/* Horizon wave divider */
.horizon {
  color: rgba(14, 116, 144, 0.45);
  line-height: 0;
  margin: 0;
  padding: 0 clamp(1rem, 2.5vw, 3rem);
}

.horizon svg {
  width: 100%;
  height: 1.5rem;
  display: block;
}

.horizon__wave {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.horizon.is-drawn .horizon__wave {
  animation: waveDraw 1.4s var(--ease) forwards;
}

@keyframes waveDraw {
  to { stroke-dashoffset: 0; }
}

/* On watch strip */
.on-watch {
  background: var(--navy);
  color: #e2e8f0;
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}

.on-watch__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-block: 0.85rem;
}

.on-watch__pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.on-watch p {
  margin: 0;
  flex: 1;
  min-width: 14rem;
  font-size: 0.95rem;
}

.on-watch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.on-watch__actions a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
}

.on-watch__actions a:hover { color: #fff; }

/* Why it matters */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.why-quote {
  margin: 0;
  padding: 1.75rem;
  border-left: 3px solid var(--amber);
  background: var(--sand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.why-quote p {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.why-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* Safety teaser */
.safety-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.safety-teaser h2 { margin-bottom: 0.4rem; }

.safety-teaser p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

/* News row */
.news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.news-item {
  padding-top: 0.85rem;
  border-top: 2px solid var(--navy);
}

.news-item time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.news-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.news-item p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-item a { font-weight: 700; font-size: 0.9rem; }

/* Donate amounts */
.amount-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.amount-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.amount-tile:hover {
  border-color: var(--teal);
  color: var(--ink);
  transform: translateY(-2px);
}

.amount-tile--featured {
  border-color: var(--amber);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12);
}

.amount-tile__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--amber);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.amount-tile__sum {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.amount-tile__label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.giftaid-panel {
  padding: 1.75rem;
  background: var(--navy);
  color: #cbd5e1;
  border-radius: var(--radius-lg);
}

.giftaid-panel h3 { color: #fff; }

.giftaid-panel__math {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.giftaid-panel__math span { color: var(--cyan); }

.giftaid-panel p { margin: 0 0 1.25rem; }

.sponsor-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sponsor-band h2 { margin-bottom: 0.4rem; }

.sponsor-band p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

/* Safety page */
.emergency-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem;
  background: #7f1d1d;
  color: #fecaca;
  border-radius: var(--radius-lg);
}

.emergency-banner h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.emergency-banner p {
  margin: 0;
  max-width: 40rem;
}

.emergency-banner strong { color: #fff; }

.btn-emergency {
  background: #fff;
  color: #7f1d1d;
  box-shadow: none;
}

.btn-emergency:hover {
  background: #fee2e2;
  color: #7f1d1d;
}

.is-isnt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.is-isnt__col {
  padding: 1.25rem;
  border-radius: var(--radius);
}

.is-isnt__col--is {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.is-isnt__col--isnt {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.is-isnt h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.is-isnt ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.is-isnt li { margin-bottom: 0.4rem; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.checklist__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(0.75rem);
}

.checklist.reveal.is-visible .checklist__item,
.reveal.is-visible .checklist__item {
  animation: checklistIn 0.55s var(--ease) forwards;
}

.checklist__item:nth-child(1) { animation-delay: 0.05s; }
.checklist__item:nth-child(2) { animation-delay: 0.12s; }
.checklist__item:nth-child(3) { animation-delay: 0.19s; }
.checklist__item:nth-child(4) { animation-delay: 0.26s; }
.checklist__item:nth-child(5) { animation-delay: 0.33s; }

@keyframes checklistIn {
  to { opacity: 1; transform: translateY(0); }
}

.checklist__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.checklist__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.checklist__item p {
  margin: 0;
  color: var(--muted);
}

/* Content prose */
.prose { max-width: none; }

.prose p { color: var(--ink); }

.prose p + p { margin-top: 1rem; }

/* Forms */
.form-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-preview-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--amber);
  background: #fff7ed;
  font-size: 0.85rem;
  color: #9a3412;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  color: var(--ink);
  background: var(--sand);
}

.form-group textarea { min-height: 7rem; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(14, 116, 144, 0.35);
  border-color: var(--teal);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 600;
}

.form-success.is-visible { display: block; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; transform: none; }
  .hero__content { animation: none; }
  .on-watch__pulse { animation: none; }
  .horizon__wave { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .checklist__item {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: var(--navy);
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 2.75rem;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 22rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom a { color: #67e8f9; }

/* Responsive */
@media (max-width: 960px) {
  .split-grid,
  .footer-grid,
  .why-grid { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: 1fr 1fr; }

  .stat-row { grid-template-columns: repeat(2, 1fr); }

  .stat-item {
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  .conditions-links { grid-template-columns: 1fr 1fr; }

  .snapshot-grid { grid-template-columns: 1fr 1fr; }

  .news-row,
  .amount-row { grid-template-columns: 1fr; }

  .is-isnt { grid-template-columns: 1fr; }

  .hero { min-height: min(78vh, 36rem); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    background: rgba(238, 246, 251, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .site-header .nav { position: relative; flex-wrap: wrap; }

  .card-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .stat-row { grid-template-columns: 1fr 1fr; }

  .conditions-links { grid-template-columns: 1fr; }

  .snapshot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
}
