/* Mack's Garage parking page — matches the full-site design system.
   Light: white + warm gold. Dark: true black + gold.
   Gold is reserved for primary CTAs and a few focus/active cues. */

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted: #5c5c5c;
  --muted-bg: #f5f3ef;
  --border: rgb(10 10 10 / 0.12);
  --border-strong: rgb(10 10 10 / 0.28);
  --gold: #c08a2e;
  --gold-hover: #a87424;
  --gold-soft: rgb(192 138 46 / 0.16);
  --cta: var(--gold);
  --cta-hover: var(--gold-hover);
  --cta-fg: #0a0a0a;
  --surface: #ffffff;
  --shadow: 0 1px 2px rgb(10 10 10 / 0.06), 0 4px 12px rgb(10 10 10 / 0.04);
  --radius: 4px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 160ms;
  --duration: 220ms;
  --duration-theme: 360ms;
  --container: 80rem;
  --font-sans: "DM Sans", ui-sans-serif, sans-serif;
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
}

html.dark {
  --background: #000000;
  --foreground: #f5f5f5;
  --muted: #a3a3a3;
  --muted-bg: #111111;
  --border: rgb(245 245 245 / 0.14);
  --border-strong: rgb(245 245 245 / 0.32);
  --gold: #d4a63a;
  --gold-hover: #e0b54c;
  --gold-soft: rgb(212 166 58 / 0.2);
  --cta: var(--gold);
  --cta-hover: var(--gold-hover);
  --cta-fg: #0a0a0a;
  --surface: #0a0a0a;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.5), 0 4px 16px rgb(0 0 0 / 0.4);
}

html.theme-animating,
html.theme-animating *:not(img):not(video):not(canvas),
html.theme-animating *::before,
html.theme-animating *::after {
  transition:
    background-color var(--duration-theme) var(--ease-out),
    color var(--duration-theme) var(--ease-out),
    border-color var(--duration-theme) var(--ease-out),
    outline-color var(--duration-theme) var(--ease-out),
    box-shadow var(--duration-theme) var(--ease-out),
    fill var(--duration-theme) var(--ease-out),
    stroke var(--duration-theme) var(--ease-out) !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

p {
  margin: 0;
}

::selection {
  background: color-mix(in oklab, var(--gold) 35%, transparent);
  color: var(--foreground);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  margin-inline: auto;
  width: 100%;
  max-width: var(--container);
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fade-up var(--duration) var(--ease-out) both;
}

.btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--cta);
  color: var(--cta-fg);
}

.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--muted-bg);
}

.btn-hero-primary {
  background: #fff;
  color: #0a0a0a;
  border-color: transparent;
}

.btn-hero-primary:hover {
  background: #e5e5e5;
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.5);
}

.btn-hero-secondary:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn-lg {
  min-height: 3.5rem;
  padding-inline: 1.5rem;
  font-size: 1.125rem;
}

.notice-bar {
  border-bottom: 1px solid var(--border);
  background: var(--muted-bg);
  color: var(--foreground);
  font-size: 0.875rem;
}

.notice-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  text-align: center;
}

.notice-bar strong {
  font-weight: 500;
}

.notice-bar span {
  color: var(--muted);
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: calc(var(--header-h) + 3.25rem);
  }

  .notice-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 39;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--foreground);
  transition: color var(--duration-fast) var(--ease-out);
}

.brand:hover {
  color: var(--gold);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.header-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-phone {
  display: none;
  margin-right: 0.25rem;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.header-phone:hover {
  color: var(--foreground);
}

.nav-link {
  --underline-origin: left;
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--foreground);
}

.nav-link-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: var(--underline-origin);
  transition: transform var(--duration) var(--ease-out);
  pointer-events: none;
}

.nav-link:hover .nav-link-underline,
.nav-link.is-active .nav-link-underline {
  transform: scaleX(1);
}

.icon-btn {
  position: relative;
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.icon-btn:hover {
  background: var(--muted-bg);
}

.icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.theme-icon {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.theme-icon svg {
  position: absolute;
  inset: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

html:not(.dark) .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

html.dark .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.menu-lines span {
  display: block;
  height: 2px;
  width: 1.25rem;
  background: var(--foreground);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  animation: fade-in var(--duration-fast) var(--ease-out) both;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.75rem;
}

.mobile-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(62vh, 560px);
  border-bottom: 1px solid var(--border);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 0.8),
    rgb(0 0 0 / 0.55),
    rgb(0 0 0 / 0.25)
  );
}

html.dark .hero-overlay {
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 0.9),
    rgb(0 0 0 / 0.65),
    rgb(0 0 0 / 0.35)
  );
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: min(62vh, 560px);
  align-items: center;
  padding-block: 5rem;
}

.hero-copy {
  max-width: 36rem;
  color: #fff;
  text-align: left;
}

.hero-copy .font-display {
  font-size: 3rem;
  margin: 0;
}

.hero-copy h1 {
  margin: 1.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.hero-lede {
  margin-top: 1rem;
  max-width: 32rem;
  color: rgb(255 255 255 / 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-copy .font-display {
    font-size: 3.75rem;
  }

  .hero-copy h1 {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .hero,
  .hero-inner {
    min-height: min(68vh, 640px);
  }

  .hero-copy .font-display {
    font-size: 4.5rem;
  }
}

/* Service strip */
.service-strip {
  border-bottom: 1px solid var(--border);
}

.service-strip-inner {
  padding-block: 2rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 1.5rem;
}

.service-item {
  display: flex;
  min-height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.service-item:hover {
  opacity: 0.7;
}

.service-item strong {
  font-size: 1.125rem;
  font-weight: 500;
}

.service-item span {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 639px) {
  .service-item + .service-item {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
}

@media (min-width: 640px) {
  .service-strip-inner {
    padding-block: 2.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .service-item {
    padding: 1.25rem 1.5rem 1.25rem 0;
  }

  .service-item:nth-child(even) {
    border-left: 1px solid var(--border);
    padding-left: 1.5rem;
    padding-right: 0;
  }

  .service-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-item,
  .service-item:nth-child(even),
  .service-item:nth-child(n + 3) {
    border: 0;
    padding: 0 2rem 0 0;
  }

  .service-item + .service-item {
    border-left: 1px solid var(--border);
    padding-left: 2rem;
  }

  .service-item:last-child {
    padding-right: 0;
  }
}

/* Sections */
.section {
  padding-block: 4rem;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.75rem 0 0;
  font-size: 2.25rem;
}

.section-heading p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--muted-bg);
  aspect-ratio: 4 / 3;
}

.photo-tall {
  aspect-ratio: 3 / 4;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.photo:hover img {
  transform: scale(1.02);
}

.photo-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  background: rgb(0 0 0 / 0.7);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #fff;
}

.muted {
  color: var(--muted);
}

.prose-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.prose-list li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.steps h3 {
  margin: 0.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
}

.steps p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.packages {
  display: grid;
  gap: 1.5rem;
}

.package {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.package h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
}

.package p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.photo-pair {
  display: grid;
  gap: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--muted-bg);
  padding: 1.5rem;
}

.panel h2 {
  margin: 0;
  font-size: 1.875rem;
}

.link-underline {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.link-underline:hover {
  opacity: 0.7;
}

@media (min-width: 640px) {
  .packages {
    grid-template-columns: 1fr 1fr;
  }

  .photo-pair {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .packages {
    grid-template-columns: repeat(4, 1fr);
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split-reverse .split-copy {
    order: 1;
  }

  .split-reverse .photo {
    order: 2;
  }

  .section {
    padding-block: 5rem;
  }
}

.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .two-col > * + * {
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
  }

  .two-col > *:first-child {
    padding-right: 2.5rem;
  }

  .two-col .packages {
    grid-template-columns: 1fr;
  }
}

.facts {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.facts strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
}

.facts span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  .facts > * + * {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .facts > * {
    padding-right: 2rem;
  }

  .facts > * + * {
    border-left: 1px solid var(--border);
    padding-left: 2rem;
  }

  .facts > *:last-child {
    padding-right: 0;
  }
}

.reviews {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.rating-score {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stars {
  margin: 0.5rem 0 0;
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.reviews h2 {
  margin: 0;
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .reviews {
    grid-template-columns: 16rem 1fr;
    gap: 4rem;
  }

  .reviews h2 {
    font-size: 2.5rem;
  }
}

/* Visit */
.visit-grid {
  display: grid;
  gap: 2.5rem;
}

.visit-actions a {
  display: block;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.visit-actions a:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .visit-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

/* Footer */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
}

.site-footer .font-display {
  font-size: 1.5rem;
  margin: 0;
}

.footer-blurb {
  margin-top: 0.75rem;
  max-width: 24rem;
  color: var(--muted);
}

.footer-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
}

.footer-links a {
  min-height: 2.75rem;
  padding-block: 0.5rem;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-legal {
  border-top: 1px solid var(--border);
}

.footer-legal-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-legal-inner a:hover {
  color: var(--foreground);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-fade-up,
  .mobile-nav {
    animation: none !important;
  }

  .btn:active,
  .photo:hover img,
  .theme-icon svg {
    transform: none;
  }
}
