/* HDS Taxi. Black and gold, from the flyer: diamonds, gold bars, the phone number up front.
   Layout: a full-screen hero with giant words, then a timeline rail beside the sections. */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #0A0A0A;
  --ink-2: #141311;
  --ink-3: #1F1C17;
  --gold: #D4AF5F;
  --gold-hi: #E9CC88;
  --white: #FFFFFF;
  --muted: #B9B3A7;
  --line: rgba(212, 175, 95, .24);
  --faint: rgba(212, 175, 95, .1);
  /* Loudwren colours, for the credit only */
  --lw-paper: #F3EEE3;
  --lw-signal: #FF6A3D;
  --lw-signal-hi: #FF8A5C;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
/* The serif accent word in each heading */
em { font-family: var(--serif); font-style: normal; font-weight: 700; color: var(--gold); letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

/* Only shown once a booking link is saved in /admin (the server adds .online to <html>). */
html:not(.online) .only-online { display: none !important; }
html.online .only-offline { display: none !important; }

.sprite { position: absolute; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 99px; font-weight: 700; }
.skip:focus { top: 1rem; }
.eyebrow { color: var(--gold); font: 700 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }

/* ===== Pills & links ===== */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 54px;
  padding: 0 1.6rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 700 14px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.pill:hover { background: var(--gold); color: var(--ink); }
.pill .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.pill:hover span + .ico { transform: translateX(4px); }
.pill--accent { color: var(--gold); }
.pill--gold, .pill--call { background: var(--gold); color: var(--ink); }
.pill--gold:hover, .pill--call:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
/* With online booking on, that becomes the main action and calling steps back. */
.online .pill--call { background: transparent; color: var(--white); }
.online .pill--call:hover { background: var(--gold); color: var(--ink); }
.under {
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease), color .2s;
}
.under:hover { color: var(--gold-hi); background-size: 0 1.5px; background-position: 100% 100%; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }

/* ===== Top bar: floats over the page ===== */
.top {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px var(--pad);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top__logo img { height: 58px; width: auto; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .7)); }
.top__right { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.top .pill { min-height: 44px; padding: 0 1.2rem; background: rgba(10, 10, 10, .6); color: var(--gold); letter-spacing: .1em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.top .pill:hover { background: var(--gold); color: var(--ink); }
.top .under { text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px 0 100px;
  background: radial-gradient(48% 60% at 74% 50%, #1e1a12 0%, var(--ink) 72%);
}
.hero__in {
  position: relative;
  z-index: 3;
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__intro { max-width: 640px; }
.hero__intro .eyebrow { margin-bottom: 22px; }
h1 { font: 800 clamp(44px, 6.2vw, 90px)/1 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
h1 em { font-size: 1.04em; }
.lede { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); margin-top: 24px; max-width: 32em; }

/* The giant words, behind everything */
.word {
  position: absolute;
  z-index: 1;
  font: 800 clamp(90px, 17vw, 280px)/.8 var(--sans);
  letter-spacing: -.05em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}
.word--1 { top: 96px; right: -2vw; color: transparent; -webkit-text-stroke: 1.5px rgba(212, 175, 95, .3); }
.word--2 { bottom: 38px; left: -1vw; color: var(--gold); opacity: .12; }
.js .hero:not(.is-in) .word--1 { opacity: 0; transform: translateX(60px); }
.js .hero:not(.is-in) .word--2 { opacity: 0; transform: translateX(-60px); }
.js .hero.is-in .word--2 { transition-delay: .15s; }

/* The diamond: holds the QR on computers and the mark on phones */
.gem {
  position: relative;
  width: clamp(340px, 34vw, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: opacity 1.2s var(--ease) .1s, transform 1.4s var(--ease) .1s;
}
.js .hero:not(.is-in) .gem { opacity: 0; transform: translateY(30px) scale(.96); }
.gem__frame { position: absolute; inset: 0; width: 100%; height: 100%; animation: breathe 7s ease-in-out infinite; }
.gem__mark { display: none; }
@keyframes breathe { 50% { transform: scale(1.03); } }

/* ===== QR ===== */
.qr { position: relative; display: grid; justify-items: center; gap: 12px; }
.qr figcaption { font: 800 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.qr__tile { background: var(--white); padding: 10px; border-radius: 6px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 8px var(--ink), 0 0 0 9px var(--line); }
.qr__tile img { width: 190px; height: 190px; object-fit: contain; }
.qr__by { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.qr__by img { height: 20px; width: auto; }
/* One QR on screen at a time: the hero on computers, the Book section on phones. */
.qr--book { display: none; }

/* ===== Spinning call badge ===== */
.badge { position: absolute; z-index: 4; right: calc(var(--pad) + 10px); bottom: 66px; width: 136px; height: 136px; display: grid; place-items: center; }
.badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font: 700 14.5px var(--sans); letter-spacing: .3em; fill: var(--white); }
.badge__core { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transition: transform .35s var(--ease), background .25s; }
.badge__core .ico { width: 24px; height: 24px; }
.badge:hover .badge__core { transform: scale(1.12) rotate(-12deg); background: var(--gold-hi); }
@keyframes spin { to { transform: rotate(360deg); } }

/* A strip of road along the foot of the hero, dashes rolling by. */
.road { position: absolute; z-index: 2; inset: auto 0 0; height: 30px; background: var(--ink-3); border-top: 1px solid var(--line); }
.road::after {
  content: "";
  position: absolute;
  inset: 13px -120px auto 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 60px, transparent 60px 120px);
  animation: roll 2.4s linear infinite;
}
@keyframes roll { to { transform: translateX(-120px); } }

/* ===== Body: timeline rail + sections ===== */
.body { position: relative; display: grid; grid-template-columns: minmax(220px, 26%) minmax(0, 1fr); }
.rail { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-left: clamp(24px, 5vw, 80px); }
.rail ol { position: relative; display: grid; gap: 34px; }
.rail ol::before { content: ""; position: absolute; left: 9px; top: -50vh; bottom: -50vh; width: 1.5px; background: linear-gradient(transparent, var(--gold) 25%, var(--gold) 75%, transparent); opacity: .7; }
.rail a { position: relative; display: flex; align-items: center; gap: 1.1rem; color: rgba(255, 255, 255, .4); font: 700 14px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: color .3s, font-size .3s; }
.rail a:hover { color: var(--white); }
/* Diamonds, not dots: the flyer's shape */
.rail__dot { position: relative; width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.rail__dot::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); transition: transform .4s var(--ease), background .3s; }
.rail__dot::after { content: ""; position: absolute; width: 24px; height: 24px; border: 1.5px solid var(--gold); transform: rotate(45deg) scale(.3); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.rail a.is-active { color: var(--gold); font-size: 16px; }
.rail a.is-active .rail__dot::before { transform: rotate(45deg) scale(.7); }
.rail a.is-active .rail__dot::after { transform: rotate(45deg) scale(1); opacity: 1; }

.content { min-width: 0; padding-right: var(--pad); overflow: hidden; overflow: clip; }
.sec { position: relative; padding: clamp(96px, 13vh, 150px) 0 clamp(64px, 10vh, 112px); }
.sec + .sec { border-top: 1px solid var(--line); }
.ghost {
  position: absolute;
  z-index: 0;
  top: clamp(36px, 7vh, 80px);
  right: -4vw;
  font: 800 clamp(90px, 13vw, 230px)/.8 var(--sans);
  letter-spacing: -.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--faint);
  pointer-events: none;
  user-select: none;
}
.sec > *:not(.ghost) { position: relative; z-index: 1; }
.sec > .eyebrow { margin-bottom: 18px; }
.sec h2 { font: 800 clamp(38px, 4.6vw, 68px)/1.03 var(--sans); letter-spacing: -.035em; max-width: 14em; text-wrap: balance; }
.sec h2 em { font-size: 1.04em; }
.lead { margin-top: 1.4rem; max-width: 40em; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.lead + .lead { margin-top: 1rem; }

/* Services: numbered rows */
.list { margin: clamp(40px, 6vh, 60px) 0 clamp(36px, 5vh, 52px); border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 28px 0; border-bottom: 1px solid var(--line); }
.list__n { font: 300 44px/1 var(--sans); color: rgba(255, 255, 255, .28); letter-spacing: -.03em; transition: color .3s; }
.list li:hover .list__n { color: var(--gold); }
.list h3, .routes h3 { font: 700 clamp(21px, 1.9vw, 27px)/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: .35rem; }
.list p, .routes p { color: var(--muted); max-width: 40em; }

/* Airports: tagged rows */
.routes { margin-top: clamp(40px, 6vh, 60px); border-top: 1px solid var(--line); }
.routes li { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 24px 0; border-bottom: 1px solid var(--line); }
.routes__tag { font: 700 12px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: 7px; }

/* Areas: big uppercase names with diamonds between */
.towns { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(36px, 5vh, 52px); padding: 28px 0; border-block: 1px solid var(--line); }
.towns li { display: flex; align-items: center; gap: 26px; font: 800 clamp(19px, 1.9vw, 27px)/1.1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.towns li:not(:last-child)::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }


/* Book */
.book { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(40px, 6vh, 60px); }
.direct { border-top: 1px solid var(--line); }
.direct li { border-bottom: 1px solid var(--line); }
.direct a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; row-gap: 6px; padding: 20px 4px 20px 0; transition: color .2s, padding .3s var(--ease), background .2s; }
.direct a:hover { color: var(--gold-hi); padding-left: 10px; }
.direct .eyebrow { grid-column: 1; color: var(--muted); }
.direct strong { grid-column: 1; font: 700 clamp(22px, 2.2vw, 30px)/1.2 var(--sans); letter-spacing: -.015em; overflow-wrap: anywhere; }
.direct .direct__num { font-size: clamp(28px, 3.2vw, 42px); color: var(--gold); }
.direct .direct__mail { font-size: clamp(18px, 1.8vw, 24px); }
.direct .ico { grid-column: 2; grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--gold); }
.direct a.direct__go { margin: 12px 0; padding: 20px 22px; border-radius: 6px; background: var(--gold); color: var(--ink); }
.direct a.direct__go:hover { background: var(--gold-hi); color: var(--ink); }
.direct__go .eyebrow, .direct__go .ico { color: var(--ink) !important; }
.direct__info { display: grid; gap: 6px; padding: 20px 0; color: var(--muted); font-size: 16px; }
.direct__info .eyebrow { color: var(--muted); }

.licence { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.licence li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.licence .ico { width: 24px; height: 24px; color: var(--gold); }
.licence span { overflow-wrap: anywhere; }
.licence b { color: var(--white); font-weight: 700; }
.licence[hidden], .licence li[hidden] { display: none; }

.how { margin-top: clamp(48px, 7vh, 72px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; font: 300 40px/1 var(--sans); letter-spacing: -.03em; color: var(--gold); margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 6px; }

/* The flyer's gold bar, under the Book section */
#book::after { content: ""; position: absolute; right: -12px; bottom: 30px; width: min(30vw, 320px); height: 12px; background: var(--gold); transform: skewX(-38deg); }

/* FAQ */
.faq { display: grid; max-width: 860px; margin-top: clamp(36px, 5vh, 52px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 24px 56px 24px 0; font: 700 clamp(18px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -.01em; transition: color .2s; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding: 0 56px 24px 0; max-width: 44em; }
.faq details a { color: var(--gold); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.foot > img { height: 50px; width: auto; }
.foot__legal { display: grid; justify-items: end; gap: 6px; color: var(--muted); font-size: 14px; text-align: right; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--gold-hi); border-color: var(--gold); }
.social .ico { width: 22px; height: 22px; }
.credit { display: inline-flex; align-items: center; gap: 8px; color: var(--lw-paper); }
.credit img { height: 22px; width: auto; }
.credit b { color: var(--lw-signal); font-weight: 700; transition: color .2s; }
.credit:hover b { color: var(--lw-signal-hi); }

/* ===== Reveal on scroll (only with JavaScript) ===== */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Thumb-height actions on phones */
.dock { display: none; }

/* ===== Tablet and phone ===== */
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .gem { width: min(380px, 70vw); justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 900px) {
  /* The rail becomes a strip stuck to the top */
  .body { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; top: 0; z-index: 50; min-width: 0; height: auto; padding: 0; background: rgba(10, 10, 10, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .rail ol { display: flex; gap: 22px; width: 100%; overflow-x: auto; padding: 15px var(--pad); scrollbar-width: none; }
  .rail ol::-webkit-scrollbar { display: none; }
  .rail ol::before { display: none; }
  .rail a, .rail a.is-active { font-size: 12px; gap: .55rem; white-space: nowrap; }
  .rail__dot { width: 14px; height: 14px; }
  .rail__dot::before { width: 7px; height: 7px; }
  .rail__dot::after { width: 16px; height: 16px; }
  .content { padding-inline: var(--pad); }
  .ghost { right: -8vw; font-size: 24vw; }
  .list li { grid-template-columns: 56px 1fr; }
  .list__n { font-size: 30px; }
  .routes li { grid-template-columns: 1fr; gap: .3rem; }
  .routes__tag { padding-top: 0; }
  .foot { flex-direction: column; text-align: center; }
  .foot__legal { justify-items: center; text-align: center; }
}

@media (max-width: 820px) {
  :root { --dock-h: 74px; }
  html { scroll-padding-top: 52px; }
  body { font-size: 16px; }
  .top { position: absolute; padding-top: 14px; }
  .top__logo img { height: 46px; }
  .top .under { display: none; }
  .hero { padding: 100px 0 72px; align-items: start; }
  .hero__in { gap: 36px; }
  .word--1 { top: auto; bottom: 30%; right: -6vw; font-size: 30vw; }
  .word--2 { bottom: 40px; font-size: 26vw; }
  /* Nobody can scan their own phone, so the QR moves to the Book section for showing to a friend. */
  .qr--hero { display: none; }
  .gem { width: min(230px, 56vw); }
  .gem__mark { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .badge { display: none; }
  .cta .pill--call, .cta .pill--gold { flex: 1 1 100%; }
  .book { grid-template-columns: 1fr; }
  .qr--book { display: grid; justify-self: center; }
  #book::after { width: 46vw; }
  .dock {
    display: flex;
    gap: 8px;
    position: fixed;
    inset: auto 0 0;
    z-index: 70;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: 1px solid var(--line);
  }
  .dock .pill { flex: 1; min-height: 52px; padding: 0 10px; font-size: 13px; letter-spacing: .08em; }
}

@media (max-width: 520px) {
  .faq summary { padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .towns { gap: 10px 18px; }
  .towns li { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero .word--1, .js .hero .gem, .js .rv { opacity: 1 !important; transform: none !important; }
  .js .hero .word--2 { opacity: .12 !important; transform: none !important; }
}
