/* =========================================================
   GAP Trial — Stylesheet
   Palette derived from logo: navy #0b2545, red #d62828,
   light blue #1976d2, white, neutral greys.
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-700: #122c52;
  --navy-50: #eef2f8;
  --red: #d62828;
  --red-700: #b21f1f;
  --blue: #1976d2;
  --blue-50: #e8f1fb;
  --ink: #1b2435;
  --ink-2: #475063;
  --muted: #6b748a;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-dark: #0b2545;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06), 0 1px 3px rgba(11,37,69,0.08);
  --shadow-md: 0 8px 24px rgba(11,37,69,0.08);
  --container: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.primary-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; display: flex; gap: 1.5rem;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--navy); font-weight: 500; font-size: 0.95rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav-list a:hover { color: var(--red); text-decoration: none; }
.nav-list a.active { border-bottom-color: var(--red); color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 0.55rem 1.1rem; border-radius: 999px;
  border-bottom: 0 !important;
}
.nav-cta:hover { background: var(--red); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.5rem; width: 44px; height: 44px;
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px auto;
}

/* ---------- Hero (homepage) ---------- */
.hero {
  background: linear-gradient(180deg, #f3f6fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(25,118,210,0.08), transparent 65%);
  z-index: 0; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 3rem; align-items: center; position: relative; z-index: 1;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 600;
  color: var(--red); margin: 0 0 0.75rem;
}
.lead {
  font-size: 1.18rem; color: var(--ink-2);
  max-width: 36rem; margin-bottom: 2rem;
}
.hero-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.btn {
  display: inline-block; padding: 0.85rem 1.4rem;
  border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; transition: all 0.2s;
  cursor: pointer; text-align: center;
}
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover {
  background: var(--red); color: #fff !important;
  text-decoration: none; transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy); color: #fff !important;
  text-decoration: none;
}
.btn-block { display: block; width: 100%; }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; border-top: 1px solid var(--line); padding-top: 1.5rem;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-serif); color: var(--navy);
  font-size: 1.7rem; line-height: 1;
}
.hero-stats span {
  font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--red);
}
.card-title {
  font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.25rem;
  color: var(--navy);
}
.hero-card dl { margin: 0; }
.hero-card dl div {
  display: flex; flex-direction: column;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.hero-card dl div:last-child { border-bottom: 0; }
.hero-card dt {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); font-weight: 600;
}
.hero-card dd {
  margin: 0.2rem 0 0; color: var(--ink); font-weight: 500;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #f3f6fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0 2.75rem;
}
.page-hero h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.page-hero .lead { margin-bottom: 0; max-width: 48rem; }
.breadcrumb {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 1rem; list-style: none; padding: 0;
}
.breadcrumb li::after {
  content: "/"; margin-left: 0.5rem; color: var(--line);
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-light { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #e7ecf5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #ff8a8a; }
.section-dark .prose strong { color: #fff; }
.section-header { max-width: 50rem; margin-bottom: 2.5rem; }
.section-lead { font-size: 1.1rem; color: var(--ink-2); margin: 0; }
.section-dark .section-lead { color: #c7d1e2; }

/* ---------- Two-col ---------- */
.two-col {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3rem; align-items: start;
}
.prose p { font-size: 1.02rem; color: var(--ink-2); }
.prose strong { color: var(--navy); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; color: var(--ink-2); }

.callout {
  background: #fff; border: 1px solid var(--line);
  padding: 1.75rem; border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.callout h3 { margin-top: 0; }
.callout-accent {
  background: var(--navy); color: #fff; border-left-color: var(--red);
}
.callout-accent h3 { color: #fff; }
.callout-accent p { color: #d3dbeb; }

/* ---------- Design grid ---------- */
.design-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.design-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.design-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.design-num {
  display: inline-block; font-family: var(--font-serif);
  font-size: 1.4rem; color: var(--red); font-weight: 600;
  margin-bottom: 0.75rem; letter-spacing: 0.04em;
}
.design-card h3 { margin-bottom: 0.5rem; }
.design-card p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.design-card-accent {
  background: var(--navy); color: #e7ecf5; border-color: var(--navy);
}
.design-card-accent h3 { color: #fff; }
.design-card-accent .design-num { color: #ff8a8a; }
.design-card-accent p { color: #c7d1e2; }

.analysis-box {
  background: var(--blue-50);
  border: 1px solid #cfe2f7;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}
.analysis-box h3 { margin-top: 0; }
.analysis-box p:last-child { margin-bottom: 0; }

/* ---------- Mechanistic grid ---------- */
.mech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.mech-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.75rem; border-radius: var(--radius-lg);
}
.mech-item h3 { margin-bottom: 0.5rem; }
.mech-item p { color: #c7d1e2; margin: 0; }

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.team-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card-lead { border-top: 4px solid var(--red); }
.team-card .role {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.75rem; font-weight: 600; color: var(--red);
  margin: 0 0 0.5rem;
}
.team-card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.team-card .affiliation {
  font-size: 0.92rem; color: var(--ink-2);
  margin: 0 0 0.9rem; line-height: 1.5;
}
.team-card .bio {
  font-size: 0.92rem; color: var(--muted);
  margin: 0; line-height: 1.55;
}

/* ---------- Sites / stats tiles ---------- */
.sites-info {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; margin-bottom: 2rem;
}
.info-tile {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem 1.25rem;
  text-align: center;
}
.info-tile h3 {
  font-size: 2rem; margin: 0 0 0.25rem; color: var(--red);
}
.info-tile p {
  margin: 0; color: var(--muted);
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sites-note { color: var(--ink-2); max-width: 60rem; }

/* ---------- UK Map ---------- */
.map-wrap {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 2rem; align-items: start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.uk-map {
  width: 100%; height: auto; display: block;
  background: var(--bg-soft); border-radius: var(--radius);
}
.uk-map .land {
  fill: #dde6f3; stroke: #b9c5d8; stroke-width: 0.6;
  transition: fill 0.2s;
}
.uk-map .land:hover { fill: #c7d3e7; }
.uk-map .site-marker {
  cursor: pointer; transition: transform 0.15s;
  transform-origin: center; transform-box: fill-box;
}
.uk-map .site-marker:hover { transform: scale(1.4); }
.uk-map .site-marker .outer { fill: var(--red); opacity: 0.25; }
.uk-map .site-marker .inner { fill: var(--red); stroke: #fff; stroke-width: 1.2; }
.uk-map .label {
  font-family: var(--font-sans); font-size: 9px;
  font-weight: 600; fill: var(--navy);
  pointer-events: none;
}
.map-legend {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.92rem;
}
.map-legend h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.map-legend ul {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: grid; gap: 0.45rem;
}
.map-legend ul li {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--ink-2);
}
.map-legend .dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--red); flex-shrink: 0;
}
.map-legend .dot-pending {
  background: transparent;
  border: 2px solid var(--blue);
}
.map-disclaimer {
  font-size: 0.82rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 0.75rem;
  margin: 0;
}

/* ---------- News ---------- */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.news-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  border-top: 4px solid var(--blue);
}
.news-date {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.75rem; font-weight: 600; color: var(--blue);
  margin: 0 0 0.6rem;
}
.news-card h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.news-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.contact-card h3 { margin-top: 0; }
.contact-card p { color: var(--ink-2); }
.contact-card a { font-weight: 500; }

.form-wrap {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem; align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-aside {
  background: var(--navy); color: #d3dbeb;
  border-radius: var(--radius-lg); padding: 2rem;
}
.form-aside h3 { color: #fff; margin-top: 0; }
.form-aside ul { padding-left: 1.1rem; margin: 0; }
.form-aside li { margin-bottom: 0.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block; font-weight: 600; font-size: 0.9rem;
  color: var(--navy); margin-bottom: 0.4rem;
}
.form-row label .required { color: var(--red); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; font-family: var(--font-sans);
  color: var(--ink); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25,118,210,0.18);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row .hint {
  display: block; font-size: 0.82rem; color: var(--muted);
  margin-top: 0.35rem;
}
.form-row.checks fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 0;
}
.form-row.checks legend {
  font-weight: 600; font-size: 0.9rem;
  color: var(--navy); padding: 0 0.4rem;
}
.form-row.checks label {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-weight: 400; font-size: 0.95rem;
  color: var(--ink); margin: 0.5rem 0 0;
  cursor: pointer;
}
.form-row.checks input[type="checkbox"],
.form-row.checks input[type="radio"] {
  margin-top: 0.25rem; flex-shrink: 0;
}
.form-actions { display: flex; gap: 0.75rem; align-items: center; }
.form-status {
  margin-top: 1rem; padding: 0.85rem 1rem;
  border-radius: var(--radius); display: none;
  font-size: 0.95rem;
}
.form-status.success {
  display: block; background: #e8f5ec;
  border: 1px solid #b4d8bf; color: #1e6b3a;
}
.form-status.error {
  display: block; background: #fbe9e9;
  border: 1px solid #f0bcbc; color: #9c1818;
}
.honeypot {
  position: absolute; left: -9999px; opacity: 0;
  pointer-events: none;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}
.cta-banner .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin: 0 0 0.4rem; }
.cta-banner p { color: #c7d1e2; margin: 0; max-width: 38rem; }
.cta-banner .btn-primary { background: var(--red); }
.cta-banner .btn-primary:hover { background: #fff; color: var(--navy) !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b8c2d5;
  padding: 3.5rem 0 1.5rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-logo {
  height: 56px; width: auto;
  background: #fff; padding: 0.5rem; border-radius: 8px;
}
.footer-brand p { margin: 0; max-width: 32rem; color: #c7d1e2; }
.footer-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-meta h4 {
  color: #fff; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 0 0 0.6rem; font-family: var(--font-sans);
  font-weight: 600;
}
.footer-meta p { margin: 0; font-size: 0.92rem; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #c7d1e2; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.footer-bottom p {
  font-size: 0.82rem; color: #8e9cb8;
  margin: 0; max-width: 60rem;
}

/* ---------- Thank-you page ---------- */
.thanks {
  text-align: center; max-width: 38rem; margin: 5rem auto;
  padding: 3rem 1.5rem;
}
.thanks .check {
  width: 76px; height: 76px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: #e8f5ec;
  display: flex; align-items: center; justify-content: center;
}
.thanks .check svg { width: 36px; height: 36px; color: #1e6b3a; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .form-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .map-wrap { grid-template-columns: 1fr; }
  .design-grid, .team-grid, .mech-grid, .news-grid, .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sites-info { grid-template-columns: repeat(2, 1fr); }
  .footer-meta { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0 1.25rem; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-list.open { max-height: 600px; padding: 1rem 1.25rem; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: 0.8rem 0; }
  .nav-cta { display: inline-block; margin-top: 0.5rem; }
  .hero { padding: 3rem 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .section { padding: 3rem 0; }
  .design-grid, .team-grid, .mech-grid, .news-grid, .contact-grid,
  .sites-info { grid-template-columns: 1fr; }
  .brand-logo { height: 40px; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   WordPress theme additions (v1.0.0)
   ============================================================ */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #0b2545; color: #fff; padding: 0.5rem 0.75rem; z-index: 9999; border-radius: 4px; }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }

/* Brand wrapper override */
.brand img.custom-logo { height: 60px; width: auto; }

/* Primary nav mobile open state */
@media (max-width: 820px) {
  .primary-nav { display: none; }
  .primary-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e6e9f0; padding: 1rem; }
  .primary-nav.open .nav-list { flex-direction: column; gap: 0.75rem; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 821px) {
  .nav-toggle { display: none; }
}

/* Map container */
.map-wrap { background: #f6f8fc; border-radius: 12px; padding: 1rem; margin: 2rem 0; }
#uk-map { max-width: 560px; margin: 0 auto; }
#uk-map svg { width: 100%; height: auto; display: block; }
#uk-map .land { fill: #dfe6f4; stroke: #b9c3da; stroke-width: 1; }
#uk-map .land.greyed { fill: #e9ecf2; stroke: #ccd2dd; }
#uk-map .site-marker .outer { fill: rgba(214,40,40,0.18); }
#uk-map .site-marker .inner { fill: #d62828; stroke: #fff; stroke-width: 1.5; }
#uk-map .site-marker:hover .outer,
#uk-map .site-marker:focus .outer { fill: rgba(214,40,40,0.36); }

/* WordPress contact form layout */
.gap-form .form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.gap-form label { font-weight: 600; color: #0b2545; font-size: 0.95rem; }
.gap-form input[type="text"],
.gap-form input[type="email"],
.gap-form input[type="url"],
.gap-form textarea {
  border: 1px solid #c7cfdc; border-radius: 8px; padding: 0.6rem 0.75rem;
  font: inherit; background: #fff; transition: border-color 0.15s;
}
.gap-form input:focus, .gap-form textarea:focus { outline: 2px solid #1976d2; outline-offset: 1px; border-color: #1976d2; }
.gap-form fieldset { border: 1px solid #e0e4ee; border-radius: 8px; padding: 0.75rem 1rem; margin: 0 0 1rem; }
.gap-form fieldset legend { padding: 0 0.5rem; font-weight: 600; color: #0b2545; }
.gap-form .check { display: flex; align-items: center; gap: 0.5rem; margin: 0.35rem 0; font-weight: 400; cursor: pointer; }
.gap-form .check input { width: 1.05rem; height: 1.05rem; }
.gap-form .consent { margin: 1rem 0; }
.gap-form .honeypot { position: absolute; left: -9999px; }
.gap-form .form-status { margin-top: 0.75rem; font-size: 0.95rem; }
.gap-form .form-status.error { color: #b40e0e; }
.gap-form .form-status.success { color: #0a7d2c; }

/* Two-column layout used on homepage and contact */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1.5fr 1fr; align-items: start; } }

/* Three-column layout */
.three-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { .three-col { grid-template-columns: repeat(3, 1fr); } }

/* News card */
.news-card { padding: 1.25rem 1.5rem; background: #fff; border: 1px solid #e6e9f0; border-radius: 12px; border-top: 3px solid #1976d2; }
.news-card h2, .news-card h3 { margin-top: 0; }
.news-card .news-date, .news-eyebrow { color: #1976d2; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Page hero variant */
.page-hero { background: #f6f8fc; padding: 3rem 0 2.5rem; border-bottom: 1px solid #e6e9f0; }
.page-hero h1 { margin: 0.5rem 0 0; }
.page-hero .breadcrumb { font-size: 0.85rem; color: #4a5775; }
.page-hero .breadcrumb a { color: #4a5775; }

/* Prose narrow column */
.container.narrow, .prose.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose p, .prose ul, .prose ol { line-height: 1.65; }

/* Section spacing */
.section { padding: 4rem 0; }
.section-soft { background: #f6f8fc; }

/* Callout (homepage right column) */
.callout { background: #fff; border-left: 4px solid #1976d2; padding: 1.25rem 1.5rem; border-radius: 0 8px 8px 0; box-shadow: 0 2px 8px rgba(11,37,69,0.05); }
.callout h3 { margin-top: 0; }

/* Cards on homepage */
.card { display: block; padding: 1.5rem; background: #fff; border: 1px solid #e6e9f0; border-radius: 12px; color: inherit; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,37,69,0.08); }
.card .card-num { color: #d62828; font-weight: 700; font-size: 0.9rem; }
.card-dark { background: #0b2545; color: #fff; border-color: #0b2545; }
.card-dark .card-num { color: #ff6b6b; }
.card-dark h3 { color: #fff; }
