/* ============================================================
   GB Birmingham & GB Sutton Parade proposal
   ============================================================ */

/* Fonts */
@font-face { font-family:'AdihausDIN'; src:url('fonts/AdihausDIN-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'AdihausDIN'; src:url('fonts/AdihausDIN-Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'AdihausDIN'; src:url('fonts/AdihausDIN-Medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'AdihausDIN'; src:url('fonts/AdihausDIN-MediumItalic.ttf') format('truetype'); font-weight:500; font-style:italic; font-display:swap; }
@font-face { font-family:'AdihausDIN Condensed'; src:url('fonts/AdihausDIN-CnBold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --red:       #E2211C;
  --red-deep:  #7C1313;
  --ink:       #1A1A1A;
  --ink-2:     #333333;
  --ink-3:     #6F6F6F;
  --ink-4:     #8C9091;
  --line:      #E6E6E6;
  --line-2:    #D5D5D5;
  --bg:        #FCFCFC;
  --bg-2:      #F4F4F4;
  --bg-card:   #FFFFFF;
  --cobalt:    #B9C9E6;

  --font-display: 'AdihausDIN Condensed','Barlow Condensed','Oswald',Impact,sans-serif;
  --font-body:    'AdihausDIN','Barlow',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  --max: 1080px;
  --nav-h: 60px;
  --radius: 6px;
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff;
  padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0;
}
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 0.96; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.05; }
h3 { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.2; }
h4 { font-size: 14px; line-height: 1.25; letter-spacing: 0.04em; }

p { margin: 0 0 12px 0; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 10px;
}

.lead { font-size: 18px; line-height: 1.5; color: var(--ink); }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 12px; }

/* Layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.section.alt { background: var(--bg-2); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 60ch; }
.section-head h2 { margin-bottom: 8px; }
.section-head .lead { color: var(--ink-2); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,252,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; }

.nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list a {
  display: inline-block; padding: 8px 10px;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a.is-active { color: var(--red); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); cursor: pointer;
}

@media (max-width: 880px) {
  .nav-list { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav-list {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px; gap: 0;
  }
  .site-header.is-open .nav-list a {
    padding: 12px; border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .site-header.is-open .nav-list li:last-child a { border-bottom: 0; }
}

/* Hero */
.hero {
  padding: 72px 0 56px 0;
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 16ch; margin-bottom: 18px; }
.hero h1 .accent { border-bottom: 4px solid var(--red); padding-bottom: 2px; }
.hero .lead { max-width: 52ch; color: var(--ink-2); }
.hero-meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

/* Stat row */
.stats {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 36px;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.stat .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; line-height: 1; color: var(--ink);
}
.stat .label {
  margin-top: 6px;
  font-size: 12px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Two-up cards (strategies, summary, competitors, marketing, pricing, timetables) */
.two {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 24px;
}
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 20px; } }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-3); margin-bottom: 10px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; }
.card ul { margin: 12px 0 0 0; padding-left: 1.1em; }
.card li { margin-bottom: 6px; color: var(--ink-2); font-size: 15px; }
.card .bar { height: 3px; margin: -24px -24px 18px -24px; background: var(--line-2); border-radius: var(--radius) var(--radius) 0 0; }
.card.is-bham .bar { background: var(--red); }
.card.is-sutton .bar { background: var(--cobalt); }
.card.is-bham .tag { color: var(--red); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.t {
  width: 100%; border-collapse: collapse;
  font-size: 15px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.t caption {
  text-align: left;
  font-family: var(--font-display);
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-3); padding-bottom: 10px; caption-side: top;
}
.t thead th {
  background: var(--bg-2); text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-2);
  padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.t tbody td {
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  color: var(--ink-2); vertical-align: top;
}
.t tbody tr:last-child td { border-bottom: 0; }
.t .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.t th.num { text-align: right; }
.t .name { color: var(--ink); }

/* Pricing */
.price-card header { margin-bottom: 14px; }
.price-card .current {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.price-card .current s { color: var(--ink-4); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: middle;
}
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-family: var(--font-body); font-weight: 400; color: var(--ink-2); font-size: 14px; }
.price-table .price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--ink); text-align: right;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

.note {
  margin-top: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.note h4 { margin-bottom: 4px; color: var(--ink); }
.note p { font-size: 14px; color: var(--ink-2); }

/* Timetables */
.tt-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tt-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.tt-card .tag { color: var(--red); }
.tt-card h3 { margin-bottom: 8px; }
.tt-card p { font-size: 14px; color: var(--ink-2); }
.tt-card .cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em;
  color: var(--red);
}
.tt-card .cta svg { width: 12px; height: 12px; }

/* Timeline */
.timeline {
  list-style: none; padding: 0; margin: 24px 0 0 0;
  display: grid; grid-template-columns: 1fr; gap: 16px;
  position: relative;
}
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .timeline::before {
    content: ""; position: absolute;
    top: 7px; left: 6px; right: 6px;
    height: 2px; background: var(--line); z-index: 0;
  }
}
.step { position: relative; padding-top: 24px; z-index: 1; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%; background: var(--red);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-2);
}
.section.alt .step::before { border-color: var(--bg-2); }
.step .when {
  font-family: var(--font-display); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--red); margin-bottom: 4px;
}
.step h3 { margin-bottom: 8px; font-size: 16px; }
.step ul { padding-left: 1em; margin: 0; }
.step li { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-bottom: 4px; }

/* Marketing ratios */
.ratio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.ratio-card .tag { color: var(--ink-3); }
.ratio-card .ratio {
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; line-height: 1; color: var(--ink);
  margin: 4px 0 8px 0;
}
.ratio-card .ratio em { font-style: normal; color: var(--red); }
.ratio-card p { font-size: 14px; color: var(--ink-2); }

/* Tasks tile */
.task-tile {
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 720px) {
  .task-tile { flex-direction: row; align-items: center; justify-content: space-between; }
}
.task-tile h3 { margin-bottom: 4px; }
.task-tile p { font-size: 14px; color: var(--ink-2); }
.task-tile .btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  padding: 10px 16px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius); white-space: nowrap;
}
.task-tile .btn:hover { background: var(--red-deep); color: #fff; }
.task-tile .btn.placeholder { background: var(--line-2); color: var(--ink-3); cursor: not-allowed; }
.task-tile .btn.placeholder:hover { background: var(--line-2); color: var(--ink-3); }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 32px 0 28px 0; margin-top: 0;
  font-size: 13px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) { .site-footer .container { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-footer .brand-row { display: flex; align-items: center; gap: 10px; color: #fff; }
.site-footer .brand-row img { width: 22px; height: 22px; }
.site-footer .brand-row span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.site-footer .meta { color: rgba(255,255,255,0.5); }

/* Utilities */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-lg { margin-top: 24px; }

/* Reveal animations */
.r-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.r-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* H1 accent underline draw-in */
.hero h1 .accent {
  position: relative;
  border-bottom: 0;
  padding-bottom: 2px;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero h1.is-visible .accent::after { transform: scaleX(1); }

/* Card hover lift */
.card, .ratio-card, .tt-card, .task-tile {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover, .ratio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.06);
}

/* Stat number count-up: small pop on reveal */
.stat .big { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Brand mark gentle spin-in on load */
@keyframes brandIn {
  from { opacity: 0; transform: rotate(-12deg) scale(0.8); }
  to   { opacity: 1; transform: rotate(0) scale(1); }
}
.brand img { animation: brandIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Nav link underline on active */
.nav-list a {
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.nav-list a.is-active::after,
.nav-list a:hover::after { transform: scaleX(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .r-up { opacity: 1; transform: none; }
  .hero h1 .accent::after { transform: scaleX(1); }
}
