:root {
  --black: #131110;
  --white: #ffffff;
  --cream: #f6f3ee;
  --rust: #b5482f;
  --line: rgba(19,17,16,0.15);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}
.section-title--light { color: var(--white); }

.attribute-list {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(19,17,16,0.55);
  margin-bottom: 1.4rem;
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(19,17,16,0.8);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { opacity: 0.85; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { opacity: 0.85; }
.btn--outline-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }

/* Marquee */
.marquee {
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.marquee__track {
  display: inline-flex;
  animation: scroll-left 66s linear infinite;
}
.marquee__track span {
  display: inline-block;
  flex-shrink: 0;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--white);
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: 1.1rem;
}
.logo--footer {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}
.logo-word--small { font-size: 0.55em; letter-spacing: 0.2em; font-weight: 700; margin-bottom: 0.2em; }
.logo-word--big { font-size: 1.35em; font-weight: 900; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 1.6rem; font-size: 0.85rem; font-weight: 500; }
.nav-left a:hover, .nav-right a:hover { color: var(--rust); }
.social-icon { display: flex; color: var(--black); }
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { color: var(--rust); }
.nav-cta {
  border: 1px solid var(--black);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--black); color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--black); }

/* Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.6) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
}
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.hero__sub {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__ctas {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.3rem;
  z-index: 2;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Machine */
.machine {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 0;
}
.machine__media img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.machine__text { padding: 4rem 5vw; }
.machine__text h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

/* Rides */
.rides { padding: 5rem 1.5rem; background: var(--cream); }
.rides__card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}
.rides__card img { width: 100%; height: 480px; object-fit: cover; }
.rides__card iframe { width: 100%; height: 480px; border: 0; display: block; }
.play-btn { cursor: pointer; }
.rides__card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.75));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.play-btn {
  width: 64px; height: 64px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
}
.rides__card-overlay h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 0.6rem; }
.rides__card-overlay p { max-width: 26rem; margin-bottom: 1.6rem; color: rgba(255,255,255,0.85); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.3s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* Instagram */
.instagram { text-align: center; padding: 6rem 1.5rem; }
.instagram__lede { max-width: 32rem; margin: 0 auto 2.2rem; font-size: 1.05rem; color: rgba(19,17,16,0.75); line-height: 1.7; }

/* Contact */
.contact { background: var(--black); color: var(--white); padding: 6rem 1.5rem; }
.contact__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact__lede { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.7; }
.contact__links { display: flex; flex-direction: column; gap: 1rem; }
.contact__link {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1.1rem 1.5rem;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact__link span { color: rgba(255,255,255,0.55); font-weight: 400; }
.contact__link:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.5); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  color: rgba(19,17,16,0.6);
  font-size: 0.85rem;
}
.site-footer .logo--footer { color: var(--black); }

/* Responsive */
@media (max-width: 900px) {
  .machine { grid-template-columns: 1fr; }
  .machine__media img { min-height: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-left { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; position: relative; z-index: 2; }
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
  }
  .logo {
    font-size: 0.72rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-right { gap: 0.45rem; font-size: 0.8rem; flex-shrink: 0; position: relative; z-index: 2; }
  .social-icon svg { width: 16px; height: 16px; }
  .nav-cta { padding: 0.4rem 0.6rem; font-size: 0.62rem; letter-spacing: 0.03em; }
  body.nav-open .nav-left {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    z-index: 10;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 220px; }
}

@media (max-width: 1024px) {
  .nav-cta { display: none; }
}
