@charset "UTF-8";
/* ==========================================================================
   kwaNgobeni Chauffeur
   Hand-written. No framework, no build step, no preprocessor.

   ONE THEME, and it is dark. Every hero frame on this site is a night
   photograph; a dark page lets them bleed into it instead of sitting in a
   white box. There is deliberately no light/dark toggle — this is a brand
   site and it should look like itself on every screen it lands on.
   ========================================================================== */

:root {
  /* Ground and surfaces — straight off the asphalt in the night frames. */
  --asphalt:    #0F1216;
  --graphite:   #1E232A;
  --graphite-2: #262C34;
  --line:       #2C333C;
  --line-soft:  #232A31;

  /* Type. Platinum is lifted off the bodywork. */
  --text:       #F3F4F6;
  --muted:      #C5CAD1;
  --dim:        #8B939E;

  /* One accent, used sparingly: Pretoria streetlight at eleven at night. */
  --accent:     #C08A2E;
  --accent-lit: #DBA347;
  --accent-dim: rgba(192, 138, 46, .28);

  /* Functional only. The WhatsApp button and nothing else. */
  --wa:         #25D366;
  --wa-ink:     #06301A;

  --display: "Saira", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1120px;
  --pad: 20px;
  --radius: 3px;
}

@media (min-width: 700px) { :root { --pad: 32px; } }

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--asphalt);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

/* Any <picture> used as a cropped fill must stretch to its container, or the
   inner img's height:100% has nothing to resolve against and a landscape
   frame letterboxes inside a portrait tile. */
.hero-media picture, .contact-media picture, .go-media picture,
.card-media picture, .driver-portrait picture, .shot picture {
  display: block;
  width: 100%;
  height: 100%;
}
button { font: inherit; color: inherit; }
a { color: var(--accent-lit); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
hr { border: 0; }

:focus-visible {
  outline: 2px solid var(--accent-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #14181D;
  font-family: var(--display);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ typography -- */

.h-xl { font-size: clamp(34px, 8.2vw, 68px); letter-spacing: -.022em; }
.h-l  { font-size: clamp(26px, 4.4vw, 38px); letter-spacing: -.015em; }
.h-s  { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.005em; }

.lede { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); line-height: 1.5; max-width: 34ch; }

.micro {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.7;
}

.prose { max-width: 62ch; display: flex; flex-direction: column; gap: 18px; }
.prose p { color: var(--muted); }
.prose h2 { color: var(--text); margin-bottom: 2px; }

.rule { height: 1px; background: var(--line); margin: 26px 0; }

/* An unconfirmed detail. Deliberately styled the same as the surrounding
   copy — it must not look like a placeholder to a visitor. Grep the PHP
   for TODO-CONFIRM to find every one of them. */
.tbc { color: inherit; }

/* ----------------------------------------------------------------- mark -- */

.mark { width: 100%; height: 100%; overflow: visible; }
.mark .mark-out  { stroke: var(--accent); }
.mark .mark-back { stroke: var(--muted); }

.brand-mark { width: 30px; height: 30px; flex: none; }

/* ------------------------------------------------------------- wordmark -- */
/* kwa- is the Nguni locative prefix: "at the place of". Lowercase prefix,
   capitalised stem, exactly as in kwaZulu-Natal. It is not a typo and it is
   the only thing making this wordmark theirs. Do not normalise it. */

.wordmark { display: block; line-height: 1; }

.wordmark-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .2em;
  text-indent: .2em;
  color: var(--text);
  white-space: nowrap;
}
.wordmark-kwa { font-weight: 500; color: var(--accent); text-transform: none; }

.wordmark-rule { display: block; height: 1px; background: var(--accent-dim); margin: 5px 0 4px; }

.wordmark-sub {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--dim);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover .wordmark-name { color: var(--text); }

@media (min-width: 700px) {
  .wordmark-name { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  /* The email address is one long unbreakable token and is wider than a 320px
     screen on its own. Let it break inside the button rather than push the
     page sideways. */
  max-width: 100%;
  overflow-wrap: anywhere;
}

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3ee07a; color: var(--wa-ink); }

.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

.btn-sm { padding: 9px 14px; font-size: 14px; }
.ico { width: 17px; height: 17px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-wa {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--wa);
  text-decoration: none;
  border-bottom: 1px solid var(--wa);
  padding-bottom: 1px;
}
.link-wa:hover { color: var(--text); border-color: var(--text); }

/* --------------------------------------------------------------- header -- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 18, 22, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding-block: 10px;
}

/* The wordmark is `white-space: nowrap` and the header is a two-item flex row,
   so on a 320px screen the brand refuses to shrink and shoves the WhatsApp
   button off the side of the page. Step the whole lockup down instead of
   letting it overflow — the wordmark still reads, and the button stays
   reachable, which matters more than a fixed type size. */
@media (max-width: 380px) {
  .site-head-in { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 26px; height: 26px; }
  .wordmark-name { font-size: 14px; letter-spacing: .12em; text-indent: .12em; }
  .wordmark-sub { font-size: 7.5px; letter-spacing: .28em; text-indent: .28em; }
  .site-head .btn-sm { padding: 8px 12px; font-size: 13px; }
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78svh, 660px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15,18,22,.96) 4%, rgba(15,18,22,.72) 38%, rgba(15,18,22,.28) 68%, rgba(15,18,22,.5) 100%);
}

.hero-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 44px 40px;
}
.hero-in .h-xl { max-width: 14ch; }

@media (min-width: 900px) {
  .hero { min-height: min(76svh, 720px); }
  .hero-in { padding-block: 72px 64px; gap: 22px; }
  .hero-in .lede { max-width: 46ch; }
}

/* ---------------------------------------------------------------- bands -- */

.band { padding-block: 56px; }
.band-alt { background: var(--graphite); border-block: 1px solid var(--line-soft); }

@media (min-width: 900px) { .band { padding-block: 84px; } }

/* -------------------------------------------------------------- 03 cards -- */

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }

@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1000px) { .card-media { aspect-ratio: 4 / 5; } }

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.card-body p { color: var(--muted); font-size: 15.5px; }
.card-cta { margin-top: 4px; }

/* -------------------------------------------------------------- 04 steps -- */

.steps { counter-reset: step; display: grid; gap: 30px; }

@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.steps > li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1px;
  left: 0;
  padding-top: 0;
  transform: translateY(-50%);
  background: var(--graphite);
  padding-right: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent);
}

.steps p { color: var(--muted); font-size: 16px; max-width: 42ch; }

/* ----------------------------------------------------- 05 second driver -- */
/* No photograph exists for this block and none will until a reshoot. It is
   carried by type and by the return-arrows mark — the same SVG used as the
   site logo — so it reads as designed, never as a broken image. */

.second {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(192,138,46,.10), transparent 60%),
    var(--asphalt);
  border-block: 1px solid var(--line-soft);
}

.second-in { display: grid; gap: 34px; align-items: center; }

@media (min-width: 880px) {
  .second-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; }
}

.second-copy { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.second-copy p { color: var(--muted); }
.second-copy p:last-of-type { color: var(--text); }
.second-copy .btn-row { margin-top: 8px; }

.second-figure { display: flex; justify-content: center; }

.plaque {
  display: grid;
  place-items: center;
  width: min(230px, 62vw);
  aspect-ratio: 1;
  /* NO PERCENTAGE PADDING HERE, and do not reintroduce it.
     Percentage padding resolves against the CONTAINING BLOCK's width — here
     .second-figure, the grandparent — never against this element's own 230px.
     `padding: 20%` therefore drifted with the viewport instead of tracking the
     ring: at roughly 641px the parent is ~586px wide, giving 117px of padding
     on each side of a 230px box. That collapsed the content box to zero, the
     mark's percentage width resolved to zero with it, and the whole graphic
     silently vanished — while looking perfectly fine at 375px and 1280px.
     The inset is expressed on the mark itself instead (.mark-lg width), which
     resolves against this element's own grid area and cannot drift. */
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(192,138,46,.16), transparent 62%),
    var(--graphite);
  box-shadow: inset 0 0 0 1px rgba(197,202,209,.05);
}

@media (min-width: 880px) { .plaque { width: min(280px, 30vw); } }

/* Sized as a fraction of the plaque itself. A percentage WIDTH resolves
   against this element's own containing block — the plaque's grid area — so
   unlike the percentage padding it used to sit inside, it cannot drift with
   the viewport. Tune this figure freely for optical weight inside the ring:
   it is a design choice, not a load-bearing calculation. */
.mark-lg { width: 58%; height: auto; aspect-ratio: 1; }
.mark-lg .mark-out { stroke: var(--accent-lit); }
.mark-lg .mark-back { stroke: var(--muted); }

/* ------------------------------------------------------------- 06 chips -- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.chips li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ----------------------------------------------------------- 06 gallery -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 34px;
}

@media (min-width: 620px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite-2);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
  transition: border-color .15s ease, transform .15s ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s ease; }
.shot:hover { border-color: var(--accent); }
.shot:hover img { opacity: .82; }

/* ------------------------------------------------------------ 07 driver -- */

.driver-in { display: grid; gap: 30px; align-items: start; }

@media (min-width: 820px) {
  .driver-in { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
}

.driver-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite-2);
  max-width: 380px;
}
.driver-portrait img { width: 100%; height: 100%; object-fit: cover; }

.driver-copy .chips { margin-top: 8px; }

/* ---------------------------------------------------------------- 09 QA -- */

.qa { margin-top: 30px; border-top: 1px solid var(--line); max-width: 76ch; }
.qa dt { padding-top: 22px; color: var(--text); }
.qa dd {
  padding: 8px 0 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 16px;
}

/* ----------------------------------------------------------- 10 contact -- */

.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.contact-media { position: absolute; inset: 0; }
.cover { object-fit: cover; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,18,22,.97) 0%, rgba(15,18,22,.9) 48%, rgba(15,18,22,.66) 100%);
}

.contact-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.contact-in .rule { margin: 12px 0 0; }
.contact-in .btn-row { margin-top: 6px; }
.contact-in .btn-ghost { border-color: rgba(197,202,209,.28); }

/* --------------------------------------------------------------- footer -- */

.site-foot { border-top: 1px solid var(--line); padding-block: 40px 48px; background: var(--asphalt); }
.site-foot-in { display: flex; flex-direction: column; gap: 22px; }

.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }
.foot-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.foot-links a:hover { color: var(--text); border-color: var(--accent); }

.foot-meta { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

@media (min-width: 780px) {
  .site-foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 48px; align-items: center; }
  .brand-foot { grid-row: span 3; align-self: start; }
}

/* ----------------------------------------------------------- 404 page -- */

.notfound { padding-block: 90px 110px; }
.notfound .btn-row { margin-top: 10px; }

/* ================================================================== /go == */
/* One screen, no scrolling. Someone scanning this has four seconds. */

/* No overflow:hidden on the body here. The page is designed to fit one screen
   and does, but a short viewport (landscape, or a visitor with large text set)
   must still be able to reach the buttons. Clipping the page would put the
   Call button off-screen with no way to get to it. */

.go {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
}

.go-media { position: absolute; inset: 0; }
.go-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.go-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,18,22,.97) 12%, rgba(15,18,22,.82) 52%, rgba(15,18,22,.62) 100%);
}

.go-in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(20px, 5vh, 44px) var(--pad) clamp(22px, 5vh, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 3.2vh, 26px);
}

.go-brand { align-self: flex-start; }

.go-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 7.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.go-btns { display: flex; flex-direction: column; gap: 10px; }
.go-btns .btn { width: 100%; padding-block: 15px; font-size: 16px; }

.go .rule { margin: 0; }
.go-note { color: var(--muted); font-size: 16px; }
.go-more { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.go-more a { color: var(--dim); text-decoration: none; }
.go-more a:hover { color: var(--accent-lit); }

/* ============================================================= lightbox == */

.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(9, 11, 14, .96);
}

.lb[hidden] { display: none; }

.lb-fig { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lb-fig picture { display: contents; }
.lb-fig img {
  max-width: min(1100px, 100%);
  max-height: 78svh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-cap {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--dim);
  text-align: center;
  max-width: 60ch;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(30, 35, 42, .9);
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.lb-btn:hover { color: var(--text); border-color: var(--accent); }

.lb-close { top: 14px; right: 14px; }
.lb-prev  { left: 10px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 10px; top: 50%; transform: translateY(-50%); }

@media (min-width: 700px) {
  .lb-close { top: 22px; right: 22px; }
  .lb-prev { left: 22px; }
  .lb-next { right: 22px; }
}

/* ======================================================= reduced motion == */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================================================== print (a fallback) == */

@media print {
  .site-head, .gallery, .lb, .hero-media, .contact-media, .go-media { display: none !important; }
  body { background: #fff; color: #000; }
}
