/* Motorcycle Club ? New Old School
   Navy + oxidado + asfalto */

:root {
  --navy: #132533;
  --navy-deep: #0b1620;
  --navy-mid: #1c3548;
  --rust: #d4893f;
  --rust-light: #e8b06a;
  --sand: #d9c4a5;
  --ink: #e8e2d8;
  --muted: rgba(232, 226, 216, 0.68);
  --line: rgba(196, 120, 58, 0.35);
  --font-display: "Oswald", sans-serif;
  --font-stencil: "Stardos Stencil", serif;
  --font-body: "Barlow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rust);
  color: var(--navy-deep);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ??? Header ??? */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(11, 22, 32, 0.92), rgba(11, 22, 32, 0));
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 22, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 196, 165, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand-lockup img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-principal {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.nav-principal a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-principal a:hover,
.nav-principal a:focus-visible {
  color: var(--rust-light);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ??? Hero ??? */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 28s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 22, 32, 0.88) 0%, rgba(11, 22, 32, 0.55) 42%, rgba(11, 22, 32, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 22, 32, 0.85) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 4.5rem) 5.5rem;
  max-width: 42rem;
  animation: rise-in 1.1s var(--ease) both;
}

.hero-logo {
  width: clamp(9.5rem, 22vw, 15rem);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: logo-settle 1.4s var(--ease) 0.15s both;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-stencil);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-light);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rust);
  color: var(--navy-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--rust-light);
}

.btn-ghost {
  border-color: rgba(232, 226, 216, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--rust-light);
  color: var(--rust-light);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(232, 226, 216, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 0.45rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--rust-light);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ??? About ??? */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85svh;
  background: var(--navy);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4.5rem);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-stencil);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.section-kicker.light {
  color: var(--rust-light);
}

.about h2,
.road h2,
.community h2,
.contact h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  color: var(--muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-visual {
  margin: 0;
  position: relative;
  min-height: 28rem;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 18%);
  pointer-events: none;
}

/* ??? Road band ??? */
.road {
  position: relative;
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.road-media {
  position: absolute;
  inset: 0;
}

.road-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.road-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 32, 0.55), rgba(11, 22, 32, 0.72)),
    radial-gradient(ellipse at center, transparent 20%, rgba(11, 22, 32, 0.55) 100%);
}

.road-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 40rem;
}

.road-content p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ??? Community ??? */
.community {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(ellipse at top right, rgba(196, 120, 58, 0.08), transparent 45%),
    var(--navy-deep);
}

.community-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.community-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(12rem, 22vw);
  gap: 0.65rem;
}

.gallery-item {
  margin: 0;
  grid-column: span 4;
  overflow: hidden;
  position: relative;
}

.gallery-item--wide {
  grid-column: span 8;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(217, 196, 165, 0.08);
  pointer-events: none;
}

/* ??? Contact ??? */
.contact {
  position: relative;
  padding: clamp(4rem, 10vw, 7.5rem) 1.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, var(--navy-deep), var(--navy)),
    var(--navy);
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.contact-logo {
  width: 9rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

.contact p {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rust-light);
  border-bottom: 1px solid rgba(224, 160, 90, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--sand);
  border-color: var(--sand);
}

.social-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--rust-light);
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.contact-meta {
  margin-top: 2rem !important;
  font-family: var(--font-stencil);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 226, 216, 0.45) !important;
}

.social-list--footer {
  margin: 0;
  gap: 1rem 1.25rem;
}

.social-list--footer .social-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(232, 226, 216, 0.55);
}

/* ??? Footer ??? */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: var(--navy-deep);
  border-top: 1px solid rgba(217, 196, 165, 0.08);
  color: rgba(232, 226, 216, 0.45);
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 0.8rem;
}

.footer-brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: 50%;
}

/* ??? Reveal on scroll ??? */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ??? Motion ??? */
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes logo-settle {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(12px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-content,
  .hero-logo,
  .hero-scroll span,
  .gallery-item img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ??? Responsive ??? */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 55vw;
    order: -1;
  }

  .about-visual::after {
    background: linear-gradient(0deg, var(--navy) 0%, transparent 28%);
  }

  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(10rem, 38vw);
  }

  .gallery-item {
    grid-column: span 3;
  }

  .gallery-item--wide {
    grid-column: span 6;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-principal {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    background: rgba(11, 22, 32, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-principal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-principal a {
    font-size: 1.15rem;
  }

  .hero-content {
    padding-bottom: 4.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 14rem;
  }

  .gallery-item,
  .gallery-item--wide {
    grid-column: span 1;
  }
}
