/* Alpha Parking — yard-plan direction.
   Deep cobalt field like a lot seen from above, white stall lines, hi-vis
   yellow-green from a safety vest for the one action that matters.
   Big Shoulders Stencil = pavement stencil; Barlow = highway-plate legibility. */

:root {
  --c-cobalt: #10267a;
  --c-cobalt-deep: #0a1850;
  --c-cobalt-soft: #233a9e;
  --c-line: rgba(255, 255, 255, 0.18);
  --c-paint: #ffffff;
  --c-hivis: #d4ff3a;
  --c-hivis-deep: #b9e41a;
  --c-paper: #f2f4fb;
  --c-paper-deep: #dde2f3;
  --c-ink: #0d1230;
  --c-ink-soft: #4b5277;

  --f-stencil: "Big Shoulders Stencil", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-h2: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  --text-h1: clamp(4rem, 1.5rem + 12vw, 11rem);

  --space-section: clamp(4rem, 2.5rem + 5vw, 8rem);
  --wrap: 1180px;

  --dur: 220ms;
  --dur-slow: 1400ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--c-paint);
  background: var(--c-cobalt);
  overflow-x: hidden;
}
.site { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* --------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--c-hivis); outline-offset: 3px; }
.btn-call { background: var(--c-hivis); color: var(--c-ink); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.8); }
.btn-call:hover { background: #e2ff66; }
.btn-dir { background: transparent; color: var(--c-paint); border: 3px solid var(--c-paint); }
.btn-dir:hover { background: var(--c-paint); color: var(--c-cobalt); }

/* ---------------------------------------------------------------- Header -- */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--c-cobalt-deep); border-bottom: 1px solid var(--c-line); }
.hdr-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 3px solid var(--c-hivis);
  border-radius: 4px;
  font-family: var(--f-stencil);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--c-hivis);
}
.brand-name { font-family: var(--f-stencil); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hdr-nav { display: flex; gap: 1.5rem; }
.hdr-nav a { text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.06em; opacity: 0.85; border-bottom: 2px solid transparent; transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.hdr-nav a:hover { opacity: 1; border-bottom-color: var(--c-hivis); }
.hdr-call { min-height: 2.6rem; padding: 0.45rem 1rem; font-size: 0.9rem; }

/* ------------------------------------------------------------------ Hero -- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(94svh, 940px);
  display: grid;
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: -10% 0; z-index: -3; will-change: transform; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 24, 80, 0.82) 0%, rgba(10, 24, 80, 0.3) 55%, rgba(10, 24, 80, 0) 100%),
    linear-gradient(180deg, rgba(10, 24, 80, 0.05), rgba(10, 24, 80, 0.55));
}
.hero-stalls { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.8; }
/* Rig outline backs into the stall between the 3rd and 4th lines, once. */
.stall-rig { transform: translate(760px, 330px) rotate(-22deg); }
@media (prefers-reduced-motion: no-preference) {
  .stall-rig { animation: back-in var(--dur-slow) var(--ease-out-expo) 300ms both; }
  @keyframes back-in {
    from { transform: translate(1000px, -80px) rotate(-10deg); }
    to { transform: translate(760px, 330px) rotate(-22deg); }
  }
}
.hero-in { display: grid; gap: 1rem; justify-items: start; max-width: 820px; }
.hero-stencil {
  font-family: var(--f-stencil);
  font-weight: 700;
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.6rem);
  letter-spacing: 0.3em;
  color: var(--c-hivis);
  opacity: 0.9;
}
.hero h1 {
  font-family: var(--f-stencil);
  font-weight: 900;
  font-size: var(--text-h1);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 3px var(--c-paint); text-shadow: none; }
.hero-sub { max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); margin-top: 0.5rem; }
.hero-call {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1.6rem 0.8rem;
  border-left: 8px solid var(--c-hivis);
  background: rgba(10, 24, 80, 0.75);
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.hero-call:hover { transform: translateX(4px); background: rgba(10, 24, 80, 0.95); }
.hero-call:focus-visible { outline: 3px solid var(--c-hivis); outline-offset: 3px; }
.hero-call-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.85; }
.hero-call-num { font-family: var(--f-stencil); font-weight: 900; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); line-height: 1; color: var(--c-hivis); letter-spacing: 0.02em; }

@media (prefers-reduced-motion: no-preference) {
  .hero-stencil, .hero h1, .hero-sub, .hero-call { animation: rise 800ms var(--ease-out-expo) both; }
  .hero h1 { animation-delay: 80ms; }
  .hero-sub { animation-delay: 200ms; }
  .hero-call { animation-delay: 320ms; }
  @keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
}

/* -------------------------------------------------------------- Sections -- */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.25rem; align-items: baseline; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-num { grid-row: 1 / 3; font-family: var(--f-stencil); font-weight: 900; font-size: clamp(3.5rem, 2rem + 6vw, 7rem); line-height: 0.8; color: var(--c-hivis); align-self: start; }
.sec-head h2 { font-family: var(--f-stencil); font-weight: 900; font-size: var(--text-h2); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.02em; }
.sec-head p { color: inherit; opacity: 0.8; font-weight: 500; }

/* What we park — spec drawing on paper */
.park { padding: var(--space-section) 0; background: var(--c-paper); color: var(--c-ink); }
.park .sec-num { color: var(--c-cobalt); }
.spec { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--c-paint); border: 2px solid var(--c-paper-deep); color: var(--c-cobalt); }
.spec-draw { width: 100%; }
.spec-cap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; color: var(--c-ink); font-size: 1rem; }
.spec-cap strong { color: var(--c-cobalt); }
.park-note { margin-top: 2rem; font-weight: 500; color: var(--c-ink-soft); }
.park-note a { color: var(--c-cobalt); font-weight: 700; }

/* The yard — numbered stalls */
.yard { padding: var(--space-section) 0; background: var(--c-cobalt); position: relative; overflow: hidden; }
.yard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 140px, var(--c-line) 140px 144px);
  pointer-events: none;
}
.yard .wrap { position: relative; }
.stalls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 4px solid var(--c-paint); }
.stalls li { display: grid; gap: 0.3rem; align-content: start; padding: 1.5rem 1.25rem 2rem; border-right: 4px solid var(--c-paint); border-top: 4px solid var(--c-paint); border-bottom: 4px dashed var(--c-line); }
.stall-no { font-family: var(--f-stencil); font-weight: 900; font-size: 2.6rem; line-height: 0.9; color: var(--c-hivis); margin-bottom: 0.6rem; }
.stalls strong { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.stalls span:last-child { font-size: 0.95rem; opacity: 0.85; }
.yard-rates { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; font-weight: 500; }

/* Find us */
.find { padding: var(--space-section) 0; background: var(--c-cobalt-deep); }
.find-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.find-in .sec-head { margin-bottom: 0; }
.find-body { display: grid; gap: 1.25rem; justify-items: start; }
.find-addr { font-family: var(--f-stencil); font-weight: 900; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 0.95; text-transform: uppercase; }
.find-body > p:not(.find-addr) { max-width: 52ch; opacity: 0.9; }
.find-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.find-sister { padding-top: 1rem; border-top: 1px solid var(--c-line); opacity: 0.85; font-size: 0.98rem; }

/* ---------------------------------------------------------------- Footer -- */
.foot { background: var(--c-ink); padding: clamp(3rem, 5vw, 4.5rem) 0 5.5rem; border-top: 4px solid var(--c-hivis); }
.foot-top { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem 3rem; align-items: start; }
.foot-brand { display: grid; gap: 0.6rem; justify-items: start; }
.foot-brand-name { font-family: var(--f-stencil); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.foot-contact { font-style: normal; display: grid; gap: 0.35rem; }
.foot-contact a { text-decoration: none; font-family: var(--f-stencil); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--c-hivis); }
.foot-contact a:hover { text-decoration: underline; }
.foot-sister { display: grid; gap: 0.35rem; font-size: 0.95rem; }
.foot-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.7; }
.foot-sister a { font-weight: 700; text-decoration: none; }
.foot-sister a:hover { text-decoration: underline; }

.foot-by { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.foot-by-card { display: block; flex: none; width: 168px; background: var(--c-paint); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5); transition: transform var(--dur) var(--ease); }
.foot-by-card:hover { transform: translateY(-2px); }
.foot-by-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.foot-by-text { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); display: grid; gap: 0.15rem; }
.foot-by-text a { color: var(--c-paint); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.foot-by-text a:hover { border-bottom-color: var(--c-paint); }
.foot-by-url { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

.callbar { display: none; }

/* ------------------------------------------------------------ Responsive -- */
@media (max-width: 960px) {
  .hdr-nav { display: none; }
  .stalls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .find-in { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hdr-in { gap: 0.75rem; }
  .brand-name { display: none; }
  .hdr-call { font-size: 0.85rem; padding-inline: 0.8rem; }
  .hero { min-height: 0; padding-top: 3rem; }
  .hero-stalls { opacity: 0.45; }
  .hero-call { width: 100%; }
  .spec-cap { grid-template-columns: 1fr; }
  .stalls { grid-template-columns: 1fr; }
  .stalls li { padding: 1.25rem 1rem 1.5rem; }
  .foot-top { grid-template-columns: 1fr; }
  .callbar {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--c-cobalt-deep);
    border-top: 3px solid var(--c-hivis);
  }
  .callbar a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    border-radius: 4px;
    background: var(--c-hivis);
    color: var(--c-ink);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hero-call, .foot-by-card { transition: none; }
}
