/* Saint Hill Shuttle – public site */
:root {
  --navy: #0f2a4a;
  --navy-deep: #0a1d35;
  --navy-soft: #1b3d66;
  --gold: #c9a04a;
  --gold-light: #e8cf86;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --ink: #1b2432;
  --ink-soft: #4b566a;
  --line: rgba(15, 42, 74, 0.14);
  --line-gold: rgba(201, 160, 74, 0.55);
  --radius: 14px;
  --measure: 62ch;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--ink-soft); }

.wrap { width: min(100% - 2rem, 1120px); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.on-navy { background: var(--navy); color: #fff; }
.on-navy h2, .on-navy h3 { color: #fff; }
.on-navy p { color: rgba(255,255,255,0.84); }
.on-navy a { color: var(--gold-light); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
/* a.btn-* beats the ".on-navy a" link colour */
a.btn-gold { background: var(--gold); color: var(--navy-deep); }
a.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
a.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
a.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
a.btn-navy { background: var(--navy); color: #fff; }
a.btn-navy:hover { background: var(--navy-soft); }
a.btn-whatsapp { background: #1fa855; color: #fff; }
a.btn-whatsapp:hover { background: #178f47; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy-deep); color: #fff;
  border-bottom: 1px solid rgba(201,160,74,0.35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 0.4rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; background: var(--navy-deep);
    border-bottom: 1px solid rgba(201,160,74,0.35);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* hero */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #1f4877 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.3em; }
.hero .tagline { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--gold-light); font-style: italic; margin-bottom: 1.6rem; }
.hero .price {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
  padding: 0.6rem 0; margin-bottom: 1.6rem;
}
.hero .price strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.hero .price span { color: rgba(255,255,255,0.85); }
.hero-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.5rem; max-width: 36rem; }
.hero-facts li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255,255,255,0.9); }
.hero-facts svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.phone {
  justify-self: center; width: min(100%, 300px); aspect-ratio: 9 / 16;
  border-radius: 28px; padding: 10px; background: #0b1a2e;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,160,74,0.5);
  position: relative;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: #000; }
.phone .play {
  position: absolute; inset: 10px; border-radius: 20px; border: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(10,29,53,0.75), rgba(10,29,53,0) 55%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.6rem; padding-bottom: 1.4rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
}
.phone .play svg { width: 56px; height: 56px; }
.phone.playing .play { display: none; }
.phone .caption { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin-top: 1.5rem; margin-bottom: 2.5rem; }
  .hero-facts { grid-template-columns: 1fr; }
}

/* how it works */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.5rem; }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.assurances { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; max-width: 60rem; }
.assurances div { display: flex; gap: 0.8rem; align-items: flex-start; }
.assurances svg { width: 24px; height: 24px; flex: none; color: var(--navy); margin-top: 2px; }
.assurances p { margin: 0; font-size: 1rem; }
.assurances strong { display: block; color: var(--navy); }
@media (max-width: 640px) { .assurances { grid-template-columns: 1fr; } }

/* timetable – the departure board */
.board-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 2rem; border: 1px solid var(--line-gold); border-radius: var(--radius); }
.board { width: 100%; min-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board caption { text-align: left; padding: 1rem 1.2rem; font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); border-bottom: 1px solid var(--line-gold); }
.board th, .board td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
.board thead th { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gold-light); font-weight: 600; border-bottom: 1px solid var(--line-gold); }
.board th.returns, .board td.returns { border-left: 1px solid var(--line-gold); }
.board tbody th { font-weight: 600; color: #fff; }
.board tbody th small { display: block; font-weight: 400; color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.board td { color: #fff; font-size: 1.1rem; }
.board td.dash { color: rgba(255,255,255,0.3); }
.board tbody tr:last-child th, .board tbody tr:last-child td { background: rgba(201,160,74,0.14); }
.board-notes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; }
.board-notes li { display: flex; gap: 0.5rem; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 1rem; }
.board-notes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 0.55em; }

.route { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.route figure { margin: 0; }
.route img { border-radius: var(--radius); border: 1px solid var(--line-gold); }
.route figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
@media (max-width: 800px) { .route { grid-template-columns: 1fr; } }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; border-top: 1px solid var(--line); }
.prices > div { padding: 1.6rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.prices > div + div { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.prices .amount { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; margin: 0 0 0.3rem; }
.prices .amount small { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.prices h3 { margin-bottom: 0.4rem; }
.prices p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) {
  .prices { grid-template-columns: 1fr; }
  .prices > div + div { border-left: 0; padding-left: 0; }
}

/* app */
.app .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.app ol { padding-left: 1.2rem; margin: 1rem 0 1.5rem; color: rgba(255,255,255,0.85); }
.app ol li { margin-bottom: 0.4rem; }
.app .note { font-size: 1rem; color: rgba(255,255,255,0.7); margin-top: 1.2rem; }
.app .poster { border-radius: var(--radius); border: 1px solid var(--line-gold); }
@media (max-width: 820px) { .app .wrap { grid-template-columns: 1fr; } }

/* contact / footer */
.contact { padding-bottom: 2rem; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact address { font-style: normal; color: var(--ink-soft); }
.contact address strong { color: var(--ink); }
@media (max-width: 640px) { .contact .wrap { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 1.5rem 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 1.5rem; align-items: center; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* legal pages */
.legal { padding-top: 3rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.2rem; }
.draft {
  border-left: 4px solid var(--gold); background: var(--paper); padding: 0.8rem 1rem; margin: 1.5rem 0 2rem;
  font-size: 1rem; color: var(--ink-soft);
}
.updated { color: var(--ink-soft); font-size: 0.95rem; }
