/* Singapore Valet. Follows brand/brand-guide.html:
   white paper, black words, one typeface, red for the price and the one
   main button. No rounded boxes, shadows, textures or moving parts. */

@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #151413;
  --soft: #66615f;
  --line: #dcd8d6;
  --red: #d2231d;
  --red-dark: #a91b16;
  --wa: #25d366;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
h1, h2, h3, p, ul, ol, figure, table, fieldset { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

h1 { font-size: clamp(34px, 6.4vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(25px, 3.6vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -0.012em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 800; }
.lede { font-size: 20px; line-height: 1.45; max-width: 34em; }
.small { font-size: 15px; }
.soft { color: var(--soft); }
strong, b { font-weight: 700; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.measure { max-width: 42rem; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* ── Friend's code notice ─────────────────────────────────────────────── */
.ribbon { background: var(--ink); color: #fff; font-size: 15px; padding: 9px var(--gutter); }
.ribbon b { font-weight: 800; }

/* ── Header ───────────────────────────────────────────────────────────── */
.top { border-bottom: 1px solid var(--line); position: relative; }
.top-row { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo { display: block; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { height: 38px; width: auto; }
.nav { display: none; gap: 22px; margin-left: auto; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; padding-block: 6px; }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--ink); }
.top .btn { margin-left: auto; }
.menu { order: 3; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding: 9px 0 9px 6px; text-decoration: underline; text-underline-offset: 0.18em; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); border-top: 1px solid var(--line); padding: 4px var(--gutter) 12px; display: flex; flex-direction: column; }
.menu-panel a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 18px; }
.menu-panel a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .top .btn { margin-left: 4px; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; padding: 14px 22px; border: 2px solid transparent; border-radius: 0; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-wa { background: var(--wa); color: var(--ink); border-color: var(--wa); }
.btn-wa:hover { color: var(--ink); filter: brightness(0.94); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { font-size: 15px; padding: 9px 14px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.hero { padding-block: 40px 48px; }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .hero { padding-block: 56px 72px; } .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; } }
.price { color: var(--red); font-weight: 900; font-size: clamp(60px, 15vw, 112px); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.price-sub { font-weight: 800; font-size: clamp(24px, 4.4vw, 32px); line-height: 1.15; letter-spacing: -0.012em; }
.photo img { width: 100%; height: auto; }
.photo figcaption { font-size: 14px; color: var(--soft); margin-top: 6px; }

.sec { padding-bottom: 60px; }
.sec > .wrap > .rule { border-top: 2px solid var(--ink); padding-top: 26px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.cols { display: grid; gap: 36px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 64px; } .cols.wide-left { grid-template-columns: 1.25fr 0.75fr; } }
.cols > * { min-width: 0; }

.page-head { padding-block: 28px 44px; }
.page-head .stack { gap: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
.crumbs li + li::before { content: "/"; margin: 0 8px; }

/* ── Bands: night picture, black, red ─────────────────────────────────── */
.night { position: relative; background: #0b0b0d center / cover no-repeat; color: #fff; }
.night::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.66) 55%, rgba(8, 8, 10, 0.4) 100%); }
.night > .wrap { position: relative; }
.night a:hover { color: #fff; }
.price-tag { display: inline-block; align-self: flex-start; background: var(--red); color: #fff; padding: 14px 24px 18px; }
.price-tag .price { color: #fff; }
.hero .book { background: var(--paper); color: var(--ink); border: 0; }
.hero .book a:hover { color: var(--red); }

.strip { border-bottom: 1px solid var(--line); margin-bottom: 56px; }
/* One fact per row on a phone, side by side from a tablet up. The columns
   share the width however many facts there are, so none is left empty. */
.strip ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; }
.strip li { padding: 14px 0; font-size: 16px; line-height: 1.35; color: var(--soft); }
.strip li + li { border-top: 1px solid var(--line); }
.strip li b { display: block; font-weight: 800; font-size: 18px; color: var(--ink); }
@media (min-width: 700px) {
  .strip ul { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; gap: 0 32px; }
  .strip li { padding: 22px 0; }
  .strip li + li { border-top: 0; }
}

.band { padding-block: 56px; margin-bottom: 60px; }
.band-dark { background: var(--ink); color: #fff; }
.band-red { background: var(--red); color: #fff; }
.band a:hover { color: #fff; }
.band.last { margin-bottom: 0; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band-red .btn-line { background: transparent; color: #fff; border-color: #fff; }
.band-red .btn-line:hover { background: #fff; color: var(--ink); }

.penalties { list-style: none; padding: 0; }
.penalties li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.penalties li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.penalties b { font-weight: 900; font-size: clamp(28px, 5.4vw, 40px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.source { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* The one moving thing on the site: the road block lights. */
.block { background-position: 50% 45%; }
.block .block-text { max-width: 30rem; }
.block.night::before { background: linear-gradient(90deg, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.78) 34%, rgba(8, 8, 10, 0.12) 62%, rgba(8, 8, 10, 0.12) 100%); }
.lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lights::before, .lights::after { content: ""; position: absolute; top: 30%; width: 13%; aspect-ratio: 1; border-radius: 50%; filter: blur(34px); mix-blend-mode: screen; opacity: 0; }
.lights::before { left: 37%; background: rgba(255, 46, 38, 0.85); animation: flash 1.8s infinite; }
.lights::after { left: 45%; background: rgba(56, 112, 255, 0.85); animation: flash 1.8s 0.9s infinite; }
@keyframes flash { 0%, 55%, 100% { opacity: 0; } 12%, 38% { opacity: 0.8; } }
@media (max-width: 899px) {
  .night::before, .block.night::before { background: rgba(8, 8, 10, 0.7); }
  .lights::before, .lights::after { top: 34%; width: 40%; }
  .lights::before { left: 8%; }
  .lights::after { left: 30%; }
}
@media (prefers-reduced-motion: reduce) { .lights::before, .lights::after { animation: none; } }

.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.slot { aspect-ratio: 4 / 3; border: 1.5px dashed var(--soft); color: var(--soft); display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; font-size: 14px; line-height: 1.4; }
.steps .shot, .steps .slot { margin-top: 14px; }

/* ── Lists and tables ─────────────────────────────────────────────────── */
ul.plain, ol.plain { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps { padding-left: 24px; display: flex; flex-direction: column; gap: 22px; }
.steps li::marker { font-weight: 800; font-size: 19px; }
.steps li > * + * { margin-top: 6px; }
@media (min-width: 900px) { .steps.across { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; } }
/* The steps with one picture beside them. */
.steps-side { display: grid; gap: 28px; }
.steps-side .shot { margin: 0; }
@media (min-width: 900px) { .steps-side { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .steps-side .steps { gap: 28px; } }

.fare { width: 100%; border-collapse: collapse; }
.fare caption { text-align: left; font-size: 15px; color: var(--soft); padding-bottom: 8px; }
.fare th, .fare td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--line); }
.fare tr:last-child th, .fare tr:last-child td { border-bottom: 1px solid var(--line); }
.fare th { font-weight: 700; padding-right: 16px; }
.fare th small { display: block; font-weight: 400; font-size: 15px; color: var(--soft); margin-top: 2px; }
.fare .amt { text-align: right; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.fare .amt.red { color: var(--red); }
.fare th small a { color: inherit; }

/* The two trips side by side. The $50 column is first and its price is red. */
.measure-wide { max-width: 52rem; }
.tiers { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tiers th, .tiers td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); overflow-wrap: break-word; }
.tiers thead th, .tiers thead td { border-top: 0; padding-top: 0; font-weight: 800; font-size: 18px; }
.tiers tbody tr:last-child th, .tiers tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.tiers tbody th { font-weight: 400; color: var(--soft); font-size: 15px; width: 22%; }
.tiers thead td { width: 22%; }
.tiers.three tbody th, .tiers.three thead td { width: 30%; }
.prose .tiers { margin-top: 14px; }
.tiers .amt { display: block; font-weight: 800; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.tiers .amt.red { color: var(--red); }
.tiers small { display: block; font-size: 15px; color: var(--soft); margin-top: 2px; }
@media (max-width: 480px) { .tiers th, .tiers td { padding-right: 10px; font-size: 16px; } .tiers tbody th { font-size: 14px; } }

.areas { list-style: none; padding: 0; columns: 2; column-gap: 32px; font-weight: 700; font-size: 18px; }
.areas li { padding: 9px 0; border-top: 1px solid var(--line); break-inside: avoid; }
@media (min-width: 700px) { .areas { columns: 3; } }
.area-list { display: flex; flex-direction: column; }
.area-list > a { display: block; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.area-list > a:last-child { border-bottom: 1px solid var(--line); }
.area-list h2 { font-size: 21px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.area-list p { color: var(--soft); margin-top: 4px; }
.area-list a:hover p { color: var(--soft); }

.points { display: grid; gap: 28px 48px; }
@media (min-width: 700px) { .points { grid-template-columns: 1fr 1fr; } .points.three { grid-template-columns: repeat(3, 1fr); } }
.points > div > * + * { margin-top: 6px; }

.box { border: 1px solid var(--ink); padding: 18px 20px; }
.box > * + * { margin-top: 10px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.35; padding: 16px 0; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; max-width: 42rem; }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 25px; }
.prose h3 { margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.book { border: 2px solid var(--ink); padding: 22px 20px 24px; }
.book.flat { border: 0; padding: 0; }
.form-title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.form-sub { margin-top: 6px; color: var(--soft); font-size: 16px; }
.book form { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.field { border: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 16px; padding: 0; }
.field legend { margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--soft); font-size: 14px; }
.input { font: inherit; font-size: 18px; width: 100%; padding: 12px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); -webkit-appearance: none; appearance: none; }
.input::placeholder { color: #9a9593; }
.input.caps { text-transform: uppercase; }
.input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-weight: 700; font-size: 15px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hint { font-size: 15px; margin-top: 8px; }
.choice label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 18px; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; padding: 12px 0; font-size: 16px; text-decoration: underline; text-underline-offset: 0.18em; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] { padding-bottom: 16px; }
.more .field + .field { margin-top: 14px; }
.form-note { font-size: 14px; color: var(--soft); line-height: 1.45; }
.done { margin-top: 4px; }
.done > * + * { margin-top: 10px; }
.done h3 { font-size: 24px; }
.done .ref { font-weight: 800; font-variant-numeric: tabular-nums; }

.ref-out { margin-top: 22px; border-top: 2px solid var(--ink); padding-top: 18px; }
.ref-out > * + * { margin-top: 10px; }
.ref-out .code { font-weight: 900; font-size: 34px; line-height: 1.1; letter-spacing: 0.01em; color: var(--red); }
.ref-out .link { font-size: 16px; overflow-wrap: anywhere; }

/* ── Closing call, footer, phone bar ──────────────────────────────────── */
.closer .price-sub { margin-top: 6px; }
.closer .cta-row { margin-top: 24px; }
.closer + .foot, .band.last + .foot { border-top: 0; }

.foot { border-top: 2px solid var(--ink); padding-block: 36px 40px; font-size: 16px; }
.foot .logo svg { height: 44px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.foot h2 { font-size: 16px; font-weight: 800; letter-spacing: 0; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-about > * + * { margin-top: 12px; }
.foot-legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 24px; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--ink); display: flex; gap: 10px; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
.bar .btn { flex: 1; padding: 13px 10px; }
.has-bar .foot { padding-bottom: 110px; }
@media (min-width: 900px) { .bar { display: none; } .has-bar .foot { padding-bottom: 40px; } }

@media print { .bar, .menu, .ribbon { display: none; } }

/* Opening soon: one plain strip above the header, gone when bookings open. */
.notice { background: var(--ink); color: var(--paper); text-align: center; font-size: 15px; font-weight: 600; padding: 9px 16px; }

/* ── Finish ───────────────────────────────────────────────────────────── */
/* Lines of text break without leaving one word alone on the last line. */
h3, .price-sub, .form-title { text-wrap: balance; }
p, li, td, th, summary { text-wrap: pretty; }
/* A button answers the press at once: it moves down one pixel. */
.btn:active { transform: translateY(1px); }
.btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* On a touch screen a tapped button must not stay in its hover colours. */
@media (hover: none) {
  a:hover { color: inherit; }
  .btn-red:hover { background: var(--red); border-color: var(--red); color: #fff; }
  .btn-line:hover { background: var(--paper); color: var(--ink); }
  .btn-white:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .band-red .btn-line:hover { background: transparent; color: #fff; }
  .btn-wa:hover { filter: none; }
}

/* ── Phone ────────────────────────────────────────────────────────────── */
/* A comparison table becomes a list on a phone: one block per row, with
   each value under its own small heading. Three narrow columns of wrapped
   text are hard to read on a small screen. */
@media (max-width: 640px) {
  .tiers, .tiers tbody, .tiers tbody tr, .tiers tbody th, .tiers.three tbody th, .tiers td { display: block; width: auto; }
  .tiers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tiers tbody tr { border-top: 1px solid var(--line); padding: 16px 0; }
  .tiers tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .tiers tbody th, .tiers.three tbody th, .tiers td { border: 0 !important; padding: 0; }
  .tiers tbody th, .tiers.three tbody th { color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
  .tiers td { font-size: 17px; }
  .tiers td + td { margin-top: 10px; }
  .tiers td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--soft); }
}
/* Small links get a finger-sized area without moving anything. */
.crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 899px) {
  .foot ul { gap: 0; }
  .foot ul a { display: inline-block; padding: 9px 0; }
}
/* The whole row of an area link takes the tap, not only the words. */
.areas a { display: block; padding: 12px 0; margin: -12px 0; }
