/* 58 West Auto Auction */

:root {
  --pine: #1a3c2e;
  --pine-deep: #0f2a20;
  --signal: #d97706;
  --signal-hover: #b45309;
  --asphalt: #2a2e32;
  --mist: #e4e8ec;
  --mist-deep: #d5dbe2;
  --paper: #f7f8fa;
  --ink: #15181c;
  --ink-soft: #4a5159;
  --white: #ffffff;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

address {
  font-style: normal;
  line-height: 1.7;
}

.container {
  width: min(1100px, 90vw);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(21, 24, 28, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1100px, 90vw);
  margin-inline: auto;
  gap: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pine);
}

.nav-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pine);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(21, 24, 28, 0.12);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero — one full-bleed composition */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 42, 32, 0.25) 0%,
      rgba(15, 42, 32, 0.15) 35%,
      rgba(15, 42, 32, 0.78) 100%
    ),
    linear-gradient(
      90deg,
      rgba(15, 42, 32, 0.45) 0%,
      transparent 55%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 90vw);
  margin-inline: auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  color: var(--white);
  animation: rise-in 1s var(--ease) both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--signal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--signal-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Sections */

.section {
  padding-block: 5.5rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.75rem;
}

.section-label--on-dark {
  color: #fbbf24;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

/* Our Story */

.story {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 60, 46, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.story-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 42ch;
}

.story-visual {
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(21, 24, 28, 0.12);
}

.story-visual img {
  width: 100%;
  height: min(480px, 55vw);
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.story-visual:hover img {
  transform: scale(1.04);
}

.story-band {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(21, 24, 28, 0.1);
}

.story-band p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pine);
  max-width: 36ch;
}

/* Visit Us — full-bleed photo section */

.visit {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-block: 6rem;
  color: var(--white);
  overflow: hidden;
}

.visit-media {
  position: absolute;
  inset: 0;
}

.visit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 42, 32, 0.92) 0%, rgba(15, 42, 32, 0.75) 45%, rgba(15, 42, 32, 0.4) 100%);
}

.visit-content {
  position: relative;
  z-index: 1;
}

.visit h2 {
  color: var(--white);
  max-width: 14ch;
}

.visit-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
}

.visit-details h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}

.visit-details address {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.65rem;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  color: #fbbf24;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: #fbbf24;
}

.text-link--lg {
  font-size: 1.2rem;
}

/* Contact */

.contact {
  background:
    linear-gradient(160deg, var(--mist) 0%, var(--paper) 55%, #eef2f0 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-copy > p {
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-points a {
  font-weight: 600;
  color: var(--pine);
}

.contact-points a:hover {
  color: var(--signal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(21, 24, 28, 0.08);
  box-shadow: 0 16px 40px rgba(21, 24, 28, 0.06);
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(21, 24, 28, 0.12);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--pine);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(74, 81, 89, 0.55);
}

/* Footer */

.site-footer {
  padding-block: 2.25rem;
  background: var(--pine-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Mobile */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(21, 24, 28, 0.1);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
  }

  .nav.open .nav-links a {
    padding: 0.75rem 0.5rem;
  }

  .nav.open .nav-phone {
    display: block;
    position: absolute;
    top: calc(var(--header-h) + 160px);
    left: 1.5rem;
    right: 1.5rem;
    text-align: center;
    padding-bottom: 1.25rem;
    background: var(--paper);
  }

  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .story-layout,
  .contact-layout,
  .visit-details {
    grid-template-columns: 1fr;
  }

  .story-visual {
    order: -1;
  }

  .story-visual img {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: 4rem;
  }

  .brand {
    font-size: clamp(2.4rem, 14vw, 3.25rem);
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-inner,
  .reveal,
  .story-visual img {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
