/* =========================================================================
   National Parade Group, parades.uk
   Single stylesheet. Navy + gold ceremonial colourway.
   House style follows parktec.co.uk: confident single page, anchored nav.
   ========================================================================= */

:root {
  /* Brand palette (build brief, section 7) */
  --navy: #0E2740;        /* primary: trust, civic */
  --navy-2: #0b1f33;      /* deeper navy for gradients */
  --navy-3: #122e4d;      /* raised navy surface */
  --gold: #F4B739;        /* accent: celebration, the finale */
  --gold-deep: #8a6410;   /* darker gold for text on light (passes WCAG AA) */
  --gold-soft: #f7c95f;
  --offwhite: #F7F5F0;    /* backgrounds */
  --stone: #8A8676;       /* secondary text */
  --white: #FFFFFF;

  /* Working tokens */
  --ink-on-light: #15263a;
  --muted-on-light: #5b6470;
  --text-on-dark: #eef2f6;
  --muted-on-dark: #a9b6c4;
  --muted-on-dark-2: #7e8ea0;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-light: #e6e1d6;

  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1140px;
  --shadow: 0 22px 55px -26px rgba(7, 18, 31, 0.65);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -30px rgba(0, 0, 0, 0.55);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  /* Serif display face for headings: quiet, editorial, law-firm gravitas */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Hoefler Text",
    Garamond, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink-on-light);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold); }

/* skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; max-width: none; display: block; }
.site-footer .logo img { height: 34px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primary {
  background: var(--gold);
  color: #2c2003;
  box-shadow: 0 6px 18px -8px rgba(244, 183, 57, 0.5);
}
.btn-primary:hover {
  background: var(--gold-soft);
  box-shadow: 0 10px 24px -8px rgba(244, 183, 57, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(14, 39, 64, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 15px;
  color: var(--muted-on-dark);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--text-on-dark);
  padding: 96px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 82% -20%, rgba(244, 183, 57, 0.10), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  letter-spacing: -0.03em;
  margin-top: 18px;
  color: #fff;
}
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted-on-dark);
  max-width: 40ch;
}
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-on-dark-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note .dot { color: var(--gold); }

/* Hero visual: restrained credentials panel */
.hero-visual { position: relative; }
.credcard {
  background: linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.credcard-head {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.credcard-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-on-dark);
}
.credcard-rule {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.credcard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.credcard-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.credcard-list .tick {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid rgba(244, 183, 57, 0.5);
  color: var(--gold);
  display: grid; place-items: center;
}
.credcard-list strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.credcard-list span { display: block; color: var(--muted-on-dark); font-size: 13.5px; margin-top: 2px; }
.credcard-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-on-dark-2);
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-2);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-lead { font-size: 14px; color: var(--muted-on-dark); max-width: 34ch; }
.trust-lead strong { color: #fff; font-weight: 600; }
.trust-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.stat .n em { color: var(--gold); font-style: normal; }
.stat .l { font-size: 13px; color: var(--muted-on-dark-2); margin-top: 2px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 92px 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted-on-light); font-size: 18px; }

.on-navy {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--text-on-dark);
}
.on-navy h2 { color: #fff; }

/* Section heading utilities (used instead of inline styles, so text edits stay clean) */
.sec-title { margin-top: 14px; font-size: clamp(28px, 3.6vw, 40px); color: var(--navy); }
.on-navy .sec-title { color: #fff; }
.sec-lead { margin-top: 16px; font-size: 18px; color: var(--muted-on-light); }
.on-navy .sec-lead { color: var(--muted-on-dark); }
.band-white { background: var(--white); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }

/* ---------- Lifecycle cards (What we do) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 34px -28px rgba(14, 39, 64, 0.5);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -30px rgba(14, 39, 64, 0.55);
}
.card-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(14, 39, 64, 0.06);
  border: 1px solid rgba(14, 39, 64, 0.12);
  color: var(--navy);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--navy); }
.card p { margin-top: 9px; color: var(--muted-on-light); font-size: 15.5px; }

/* ---------- Safety section ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.safety-points { display: grid; gap: 16px; }
.safety-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px 20px;
}
.safety-point .ic { color: var(--gold); flex: none; margin-top: 2px; }
.safety-point strong { display: block; color: #fff; font-size: 16px; }
.safety-point span { display: block; color: var(--muted-on-dark); font-size: 14.5px; margin-top: 3px; }

/* ---------- Case study (Coventry) ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.case-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(165deg, #16314e 0%, #0E2740 55%, #0b1f33 100%);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-media .case-caption {
  padding: 26px;
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(11,31,51,0.55));
}
.case-media .case-caption strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.case-media .case-caption span { display: block; font-size: 14px; color: var(--muted-on-dark); margin-top: 5px; }
.case h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.case p { margin-top: 16px; color: var(--muted-on-light); font-size: 17px; }
.case-stats {
  margin-top: 26px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.case-stat .n { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.case-stat .l { font-size: 13.5px; color: var(--muted-on-light); margin-top: 2px; max-width: 18ch; }

/* ---------- Sectors ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.sector-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-light);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-on-light);
}
.chip .ic { color: var(--gold-deep); display: inline-flex; }

/* ---------- Credibility strip ---------- */
.credibility {
  background:
    linear-gradient(rgba(11, 31, 51, 0.84), rgba(11, 31, 51, 0.84)),
    url("assets/photo-parade-escort.jpg") center 32% / cover no-repeat,
    var(--navy-2);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 84px 0;
}
/* ---------- Statement band ---------- */
.statement { max-width: 860px; margin: 0 auto; text-align: center; }
.statement p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: #fff;
}
.statement p .accent { color: var(--gold); }
.statement .by {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark-2);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: start; }
.about-grid p { color: var(--muted-on-light); font-size: 17px; margin-top: 16px; }
.about-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  box-shadow: 0 14px 34px -28px rgba(14, 39, 64, 0.5);
  margin-bottom: 20px;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 34px -28px rgba(14, 39, 64, 0.5);
}
.about-card h3 { font-size: 17px; color: var(--navy); }
.about-list { list-style: none; margin: 14px 0 0; padding: 0; }
.about-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-on-light);
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 183, 57, 0.22);
}
/* ---------- Contact / enquiry ---------- */
.contact {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--text-on-dark);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-aside h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; color: #fff; }
.contact-aside p { margin-top: 16px; color: var(--muted-on-dark); font-size: 18px; }
.contact-direct { margin-top: 28px; display: grid; gap: 14px; }
.contact-direct a, .contact-direct span.line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark);
  font-size: 16px;
  font-weight: 500;
}
.contact-direct .ic { color: var(--gold); flex: none; display: inline-flex; }
.contact-direct a:hover { color: var(--gold); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  color: var(--ink-on-light);
}
.field { margin-bottom: 16px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted-on-light); margin-bottom: 7px; }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px; /* 16px stops iOS Safari auto-zooming the form */
  color: var(--ink-on-light);
  background: var(--offwhite);
  border: 1px solid var(--line-light);
  border-radius: 11px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6470' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-on-light); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(138, 100, 16, 0.30);
}
.field textarea { resize: vertical; min-height: 110px; }
/* honeypot: hidden from people, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 6px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-msg { font-size: 14px; font-weight: 600; }
.form-msg.ok { color: var(--gold-deep); }
.form-msg.err { color: #c0392b; }
.form-tiny { margin-top: 14px; font-size: 12.5px; color: var(--muted-on-light); }
.form-tiny a { color: var(--gold-deep); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-2);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-meta { font-size: 13.5px; color: var(--muted-on-dark-2); max-width: 52ch; }
.footer-meta a { color: var(--muted-on-dark); }
.footer-meta a:hover { color: var(--gold); }

/* ---------- Simple legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); color: var(--navy); }
.legal h2 { font-size: 21px; color: var(--navy); margin-top: 36px; }
.legal p, .legal li { color: var(--muted-on-light); font-size: 16px; margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-deep); }
.legal .back { display: inline-block; margin-top: 32px; font-weight: 600; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  html { scroll-padding-top: 126px; }
  .hero-grid, .safety-grid, .case, .sectors-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  /* Two-row header: logo and button on top, section links in a swipeable row below */
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .nav { display: contents; }
  .nav .btn { order: 2; margin-left: auto; padding: 10px 16px; font-size: 14px; }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 22px;
    padding: 10px 2px 12px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .hero { padding: 64px 0 60px; }
  .section-pad { padding: 68px 0; }
  .case-media { min-height: 240px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { height: 30px; }
  .nav .btn { padding: 9px 13px; font-size: 13.5px; }
  .cards { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .trust-stats { gap: 24px; }
  .case-stats { gap: 24px; }
}

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

/* ---------- Print ---------- */
@media print {
  .skip-link, .site-header, .hero-cta, .btn, .form-card, .hero-visual { display: none !important; }
  body, .hero, .on-navy, .trust, .credibility, .contact, .site-footer {
    background: #fff !important;
    color: #111 !important;
  }
  .hero::before { display: none !important; }
  .hero h1, .on-navy h2, .on-navy .sec-title, .contact-aside h2, .statement p, .stat .n { color: #111 !important; }
  .hero-sub, .on-navy .sec-lead, .trust-lead, .stat .l, .contact-aside p, .footer-meta,
  .safety-point span, .credcard-sub, .credcard-list span, .credcard-foot { color: #333 !important; }
  .trust-lead strong, .safety-point strong, .credcard-head, .credcard-list strong,
  .statement p .accent, .stat .n em { color: #111 !important; }
  .safety-point, .credcard { background: #fff !important; border-color: #ddd !important; }
  .eyebrow, .eyebrow.on-dark { color: #555 !important; }
}
