/* South of the River London - editorial London theme (matches logo) */
:root {
  --cream: #f4f0e6;
  --cream-2: #ece7d9;
  --paper: #fbf9f3;
  --navy: #10233c;
  --navy-deep: #0b1626;
  --gold: #b0863a;
  --gold-soft: #c79a45;
  --red: #a11f2b;
  --teal: #2f6b6b;
  --muted: #6a6656;
  --line: rgba(16, 35, 60, 0.15);
  --line-strong: rgba(16, 35, 60, 0.3);
  --max: 1080px;
  --radius: 3px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Spectral", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  text-transform: uppercase; letter-spacing: 1.6px;
  padding: 15px 32px; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: var(--red); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(244, 240, 230, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); }
.nav-brand img { width: 44px; height: 44px; }
.nav-brand .riv { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta { color: var(--red); font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* ---- hero ---- */
.hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-banner { width: 100%; height: auto; }
.hero-under { text-align: center; padding: 34px 20px 46px; }
.hero-tagline { max-width: 640px; margin: 0 auto 26px; color: var(--navy); font-size: 1.2rem; font-style: italic; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-bottom: 30px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.4px; font-size: 0.86rem; color: var(--navy); }
.hero-meta span { padding: 0 18px; border-right: 1px solid var(--line-strong); }
.hero-meta span:last-child { border-right: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---- section shell ---- */
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ---- about ---- */
.about p { max-width: 720px; margin-bottom: 20px; }
.about .lede { font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--navy); }
.about .close { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: var(--red); font-size: 1.3rem; }

/* ---- awards: the bill (running order) ---- */
.bill { max-width: 860px; list-style: none; counter-reset: bill; }
.bill li { padding: 20px 0; border-top: 1px solid var(--line); }
.bill li:last-child { border-bottom: 1px solid var(--line); }
.bill-top { border-top: 3px solid var(--gold); padding-top: 24px; }
.bill-role { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); }
.bill-top h3 { font-size: clamp(1.9rem, 4.2vw, 2.5rem); margin: 6px 0 8px; }
.bill-top p { color: var(--muted); font-style: italic; font-size: 1.08rem; max-width: 620px; }
.bill-row { display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; column-gap: 16px; }
.bill-row::before { counter-increment: bill; content: counter(bill, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--gold); }
.bill-row h4 { grid-column: 2; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); }
.bill-row p { grid-column: 2; color: var(--muted); font-size: 1rem; margin-top: 2px; max-width: 640px; }

/* ---- rules: house policy (numbered) ---- */
.policy { max-width: 780px; list-style: none; counter-reset: pol; }
.policy li { position: relative; padding: 16px 0 16px 54px; border-top: 1px solid var(--line); color: var(--navy); }
.policy li:last-child { border-bottom: 1px solid var(--line); }
.policy li::before { counter-increment: pol; content: counter(pol, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.policy b { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px; color: var(--red); font-size: 1rem; }

/* ---- deadlines: the route ---- */
.route { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; margin: 8px 0 30px; }
.route::before { content: ""; position: absolute; top: 10px; left: 8.3%; right: 8.3%; height: 2px; background: var(--teal); opacity: 0.5; }
.route .stop { position: relative; text-align: center; padding: 36px 6px 0; }
.route .stop::before { content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 15px; height: 15px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--teal); }
.route .stop.is-paid::before { background: var(--red); border-color: var(--red); }
.route .stop.is-end::before { background: var(--gold); border-color: var(--gold); width: 18px; height: 18px; top: 1.5px; }
.stop-date { display: block; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.stop-name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; text-transform: uppercase; color: var(--navy); margin-top: 3px; }
.stop-fee { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--red); margin-top: 2px; min-height: 1px; }
.route-note { color: var(--muted); font-size: 0.98rem; max-width: 660px; }
.route-note strong { color: var(--navy); font-weight: 600; }
.route-cta { margin-top: 26px; }

/* ---- venue ---- */
.venue-box { max-width: 640px; }
.venue-box .v-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; text-transform: uppercase; color: var(--navy); }
.venue-box .v-addr { color: var(--muted); }
.venue-write { margin-top: 28px; max-width: 620px; font-size: 1.15rem; font-style: italic; color: var(--navy); }
.venue-write a { color: var(--red); font-style: normal; border-bottom: 1px solid var(--line-strong); }
.venue-write a:hover { color: var(--navy); border-color: var(--navy); }

/* ---- footer ---- */
.footer { padding: 54px 0 40px; background: var(--navy-deep); color: #b9c2cf; border-bottom: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; background: var(--cream); border-radius: 50%; padding: 3px; }
.footer-brand .fb-name { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.footer-brand .fb-name .riv { color: var(--gold-soft); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: #9aa4b2; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: #8892a1; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .nav-links.open { max-height: 340px; }
  .nav-links a { width: 100%; padding: 15px 22px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero-meta span { border-right: 0; }
  section { padding: 60px 0; }
  .route { grid-template-columns: 1fr; }
  .route::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .route .stop { text-align: left; padding: 6px 0 18px 32px; }
  .route .stop::before { left: 0; top: 12px; transform: none; }
  .route .stop.is-end::before { left: -1px; }
}
