:root {
  --bric-red: #b32e26;
  --ivory-mist: #fffaec;
  --wine-plum: #753742;
  --espresso: #572d2d;
  --khaki-beige: #9e968d;

  --bg: var(--khaki-beige);
  --surface: var(--ivory-mist);
  --surface-alt: var(--wine-plum);
  --surface-strong: var(--espresso);
  --text: var(--espresso);
  --text-on-dark: var(--ivory-mist);
  --accent: var(--bric-red);
  --line: var(--espresso);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Founders Grotesk Light", "Founders Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Cairo", sans-serif;
  margin: 0 0 0.75rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}

p {
  margin: 0;
  line-height: 1.6;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.texture {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(87, 45, 45, 0.16) calc(100% - 1px)
    ),
    linear-gradient(
      0deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(87, 45, 45, 0.12) calc(100% - 1px)
    );
  background-size: 84px 84px, 84px 84px;
  z-index: -1;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-bottom: 4rem;
  position: relative;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.3rem;
  background: var(--ivory-mist);
  border: 1px solid var(--line);
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.hero-content {
  padding: 5rem 0 1rem;
  animation: fade-up 0.9s ease-out both;
}

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--ivory-mist);
  border: 2px solid var(--line);
  padding: clamp(0.8rem, 2.4vw, 1.4rem);
  box-shadow: 10px 10px 0 var(--wine-plum);
}

.hero-logo {
  width: min(560px, 78vw);
  height: auto;
  display: block;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--wine-plum);
  font-family: "Founders Grotesk Medium", "Founders Grotesk", sans-serif;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

h1 {
  font-size: clamp(2.4rem, 8.8vw, 6.7rem);
  letter-spacing: 0.005em;
  font-weight: 900;
}

.lead {
  color: var(--espresso);
  max-width: 60ch;
  margin-top: 1rem;
}

.section-lead {
  margin-top: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Founders Grotesk Medium", "Founders Grotesk", sans-serif;
  font-weight: 500;
  border-radius: 0;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  transition: 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.btn-solid {
  background: var(--accent);
  color: var(--text-on-dark);
  border-color: var(--accent);
}

.btn-outline {
  border-color: var(--espresso);
  color: var(--espresso);
  background: transparent;
}

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

.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: clamp(1.7rem, 5vw, 3rem);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  margin-top: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.25rem;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--text);
}

.quote-block {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-family: "Founders Grotesk Medium", "Founders Grotesk", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt h2,
.section-alt h3,
.section-alt p,
.section-alt li,
.section-alt .section-label,
.section-alt .lead,
.section-alt .quote-block {
  color: var(--text-on-dark);
}

.section-alt .card,
.section-alt .hours-box {
  background: var(--surface-strong);
  border-color: var(--ivory-mist);
}

.section-alt .section-label {
  color: var(--ivory-mist);
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
  align-items: start;
}

.logo-rail {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--surface);
}

.logo-rail-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: rail 24s linear infinite;
}

.logo-rail-track img {
  height: 60px;
  width: auto;
  display: block;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text);
}

.hours-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.hours-box .btn {
  margin-top: 0.7rem;
  justify-self: start;
}

.contact-grid {
  margin-top: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem;
}

.image-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.image-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.6rem;
}

.image-card img {
  width: 100%;
  height: 260px;
  display: block;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center;
}

.image-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--espresso);
}

.section-stamp {
  width: clamp(180px, 32vw, 360px);
  height: auto;
  margin: 0.5rem 0 0.25rem;
}

.pillars {
  margin-top: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillars p {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
  background: var(--surface-strong);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-on-dark);
  font-size: 0.95rem;
}

.footer-brand {
  margin-right: auto;
}

.footer-logo {
  height: 70px;
  width: auto;
  opacity: 1;
  background: var(--ivory-mist);
  border: 1px solid var(--ivory-mist);
}

@keyframes rail {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .cards,
  .image-grid,
  .pillars,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .image-card img {
    height: 220px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 92vh;
  }

  .brand-logo {
    height: 46px;
  }

  .hero-logo-wrap {
    box-shadow: 6px 6px 0 var(--wine-plum);
  }

  .logo-rail-track img {
    height: 44px;
  }

  .footer-logo {
    height: 54px;
  }

}
