/* Parking CEO — a parking lot seen from above, freshly painted. Tokens: DESIGN.md */

:root {
  --asphalt: #2a2c2f;
  --asphalt-patch: #232528;
  --kerb: #1f2123;
  --line-paint: #ecebe5;
  --sign-white: #f2f2ee;
  --worn-paint: #dcddd9;
  --faded-paint: #c9cbc7;
  --marking-yellow: #f5c400;
  --marking-yellow-fresh: #ffd52a;
  --accessible-blue: #2f5fd0;
  --tar-ink: #1c1d1f;

  --font-stencil: 'Big Shoulders Stencil', 'Overpass', sans-serif;
  --font-road: 'Overpass', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --container: 1240px;
  --lane-line: 3px dashed rgba(236, 235, 229, 0.6);
}

* { box-sizing: border-box; }

html {
  scrollbar-color: #55585d var(--kerb);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--sign-white);
  font-family: var(--font-road);
  font-size: 18px;
  line-height: 1.55;
}

::selection { background: var(--marking-yellow); color: var(--tar-ink); }

a { color: var(--sign-white); }
a:hover { color: var(--marking-yellow); }
a:focus-visible { outline: 3px solid var(--marking-yellow); outline-offset: 4px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--marking-yellow);
  color: var(--tar-ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 8px; }
.skip:hover { color: var(--tar-ink); }

/* Signs */

.p-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accessible-blue);
  color: var(--sign-white);
  font-weight: 800;
  line-height: 1;
}

/* Header */

.site-header {
  background: var(--kerb);
  border-bottom: 3px solid var(--line-paint);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--sign-white);
  text-decoration: none;
}
.brand .p-sign {
  width: 36px;
  height: 36px;
  border: 2px solid var(--sign-white);
  border-radius: 4px;
  font-size: 24px;
  padding-top: 3px;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: 0.01em; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-weight: 600;
  font-size: 16px;
}

.link {
  padding-block: 10px;
  text-decoration: underline;
  text-decoration-color: rgba(242, 242, 238, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link:hover { text-decoration-color: var(--marking-yellow); }

/* Bays: three painted sides, open towards the lane */

.bay {
  border: 3px solid var(--line-paint);
  border-bottom: none;
}

.bay-link {
  color: var(--marking-yellow);
  text-decoration: none;
  border: 4px solid var(--marking-yellow);
  border-bottom: none;
}
.bay-link:hover { background: rgba(245, 196, 0, 0.08); color: var(--marking-yellow); }

.bay-link--nav {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-width: 3px;
  font-weight: 800;
}

/* Hero */

.lot {
  position: relative;
  background: var(--asphalt);
}
.lot canvas {
  display: block;
  width: 100%;
  height: 440px;
}
.lot-note {
  position: absolute;
  right: var(--gutter);
  bottom: 10px;
  margin: 0;
  padding: 4px 10px;
  background: var(--kerb);
  color: var(--faded-paint);
  font-size: 13px;
  line-height: 1.4;
}

.hero-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 48px 64px;
  padding-top: 56px;
  padding-bottom: clamp(64px, 8vw, 88px);
}
.hero-copy { flex: 1 1 560px; min-width: 0; }

.display {
  margin: 0;
  font-family: var(--font-stencil);
  font-weight: 900;
  font-size: clamp(64px, 11vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pitch {
  margin: 24px 0 0;
  max-width: 34ch;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 600;
  text-wrap: pretty;
}

.sign-plate {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 520px;
  margin-top: 32px;
  background: var(--sign-white);
  color: var(--tar-ink);
  border-radius: 4px;
  overflow: hidden;
}
.sign-plate .p-sign { width: 64px; font-size: 40px; padding-top: 4px; }
.sign-plate p {
  flex: 1 1 200px;
  margin: 0;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-action {
  flex: 0 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bay-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 220px;
  padding: 28px 28px 32px;
}
.bay-legend {
  font-family: var(--font-stencil);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bay-cta-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  color: var(--sign-white);
}
.bay-cta-note { font-size: 16px; line-height: 1.45; color: var(--faded-paint); }

.follow-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 16px;
  font-weight: 600;
}
.follow-row span { padding-block: 10px; color: var(--faded-paint); font-weight: 400; }

/* Sections */

.section { border-top: var(--lane-line); }
.section--patch { background: var(--asphalt-patch); }
.section-inner { padding-top: clamp(80px, 10vw, 112px); padding-bottom: clamp(88px, 11vw, 120px); }

.headline {
  margin: 0;
  font-family: var(--font-stencil);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 20px;
  color: var(--worn-paint);
  text-wrap: pretty;
}

/* Traffic behaviours */

.behaviours {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 0 64px;
}
.behaviour {
  display: flex;
  gap: 20px;
  padding: 28px 0 32px;
  border-top: 3px solid var(--line-paint);
}
.behaviour svg { flex: none; }
.behaviour h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; }
.behaviour p { margin: 8px 0 0; font-size: 16px; color: var(--faded-paint); }

/* Site plan */

.plan {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.pillar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 40px;
}
.pillar-label { flex: 0 0 200px; }
.pillar-label h3 {
  margin: 0;
  font-family: var(--font-stencil);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--marking-yellow);
}
.pillar-label p { margin: 6px 0 0; font-size: 16px; color: var(--faded-paint); }

.bays {
  flex: 1 1 560px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.bays li { flex: 1 1 240px; padding: 20px 20px 32px; }
.bays h4 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
.bays p { margin: 6px 0 0; font-size: 16px; color: var(--faded-paint); }

/* Closing call */

.section--follow .section-inner { padding-bottom: 0; }

.reserved {
  border: 6px solid var(--marking-yellow);
  border-bottom: none;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
}
.reserved .headline { color: var(--marking-yellow); }
.reserved .lead { max-width: 52ch; color: var(--sign-white); }

.actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
.btn--primary {
  padding: 0 28px;
  background: var(--marking-yellow);
  color: var(--tar-ink);
  font-size: 20px;
}
.btn--primary:hover { background: var(--marking-yellow-fresh); color: var(--tar-ink); }
.btn--ghost {
  border: 3px solid rgba(242, 242, 238, 0.6);
  color: var(--sign-white);
}
.btn--ghost:hover { border-color: var(--sign-white); color: var(--sign-white); }

/* Footer */

.site-footer {
  background: var(--kerb);
  border-top: 3px solid var(--line-paint);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  padding-top: 32px;
  padding-bottom: 40px;
  font-size: 16px;
  color: var(--faded-paint);
}
.site-footer p { margin: 0; }
