@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Pinyon+Script&display=swap");
@import "tokens.css";

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand-link { display: flex; align-items: center; gap: 0.75rem; }
.brand-link img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav a:hover { opacity: 1; color: var(--red); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(155, 35, 53, 0.25); }
.btn-secondary { background: var(--navy); color: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero-logo { width: min(520px, 88vw); margin: 0 auto 1.5rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.tagline-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem auto 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.tagline-rule::before, .tagline-rule::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}
.hero p.lead {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Virtual aisles */
.section { padding: 3.5rem 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark .section-label { color: var(--gold); }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: inherit;
}
.section-intro { max-width: 36rem; color: var(--text-muted); margin-bottom: 2rem; }
.section-dark .section-intro { color: rgba(248, 244, 235, 0.75); }

.aisle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.aisle-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 68, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aisle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 31, 68, 0.16);
}
.aisle-card img { width: 48px; height: 48px; }
.aisle-card h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }
.aisle-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); flex: 1; }
.aisle-card .aisle-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.section-dark .aisle-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(248, 244, 235, 0.1);
  color: var(--cream);
}
.section-dark .aisle-card h3 { color: var(--cream); }
.section-dark .aisle-card p { color: rgba(248, 244, 235, 0.7); }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.trust-item { text-align: center; padding: 1rem; }
.trust-item img { width: 44px; height: 44px; margin: 0 auto 0.75rem; }
.trust-item h4 { margin: 0 0 0.35rem; font-size: 1rem; }
.trust-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* Coming soon banner */
.coming-soon {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.coming-soon h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--gold);
}
.notify-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 1rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.notify-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(248, 244, 235, 0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-family: inherit;
}
.notify-form input::placeholder { color: rgba(248,244,235,0.5); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(248, 244, 235, 0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--gold); margin: 0 0 0.75rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(248, 244, 235, 0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skyline-divider {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-link img { height: 42px; }
}