/* LocoMo — shared site styles
   Palette sampled directly from LocoMo_Key_Art.png */
:root {
  --teal-bright: #4FD1D6;
  --teal-deep: #12808F;
  --sky-light: #DFF7F5;
  --terracotta: #C2502E;
  --terracotta-dark: #8F3A22;
  --amber: #E3A83E;
  --amber-light: #F0C878;
  --sand: #F3E6C0;
  --forest: #3E6A38;
  --meadow: #7CAE5A;
  --brown-deep: #4A2E1A;
  --cream: #FBF6E9;
  --white: #FFFFFF;

  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(74, 46, 26, 0.12);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown-deep);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--brown-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 233, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--amber);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 44px; width: auto; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--terracotta);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-family: var(--font-display);
  color: var(--brown-deep);
  font-size: 1.02rem;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--terracotta);
  text-decoration: none;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white) !important;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn.secondary {
  background: var(--teal-deep);
}
.btn.secondary:hover { background: #0d6673; }

.btn.small { padding: 9px 20px; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--cream) 100%);
  padding: 72px 0 48px;
}

.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
  border: 6px solid var(--white);
}

.hero-art picture, .hero-art img { width: 100%; height: auto; }

.hero-copy { text-align: center; max-width: 780px; margin: 0 auto; }

.hero-copy .eyebrow {
  font-family: var(--font-display);
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.hero-copy p.lede {
  font-size: 1.2rem;
  color: #5b4530;
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }

section.alt { background: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  font-family: var(--font-display);
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

/* Pillars / feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--amber);
}

.card:nth-child(4n+2) { border-top-color: var(--teal-bright); }
.card:nth-child(4n+3) { border-top-color: var(--terracotta); }
.card:nth-child(4n+4) { border-top-color: var(--meadow); }

.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: #5b4530; }

/* Trailer */
.trailer-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--brown-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.trailer-frame iframe,
.trailer-frame .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-frame .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--sand);
  font-family: var(--font-display);
  text-align: center;
  padding: 20px;
}

/* Gardens callout */
.gardens-band {
  background: linear-gradient(135deg, var(--forest), var(--meadow));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.gardens-band h2, .gardens-band .eyebrow { color: var(--cream); }
.gardens-band p { color: #eef7e6; }
.gardens-band .badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.gardens-visual {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-align: center;
  padding: 20px;
  border: 2px dashed rgba(255,255,255,0.5);
}

/* Traction stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--terracotta);
  display: block;
}

.stat-note {
  font-size: 0.85rem;
  color: #7a6a52;
  display: block;
  margin-top: 6px;
}

/* Award spotlight (single-item highlight, e.g. TooManyGames win) */
.award-spotlight-single {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.award-spotlight-single img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-display);
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--terracotta);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item .faq-body {
  padding: 0 26px 22px;
  color: #5b4530;
}

.faq-group-title {
  font-family: var(--font-display);
  color: var(--teal-deep);
  margin: 40px 0 16px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.faq-group-title:first-child { margin-top: 0; }

/* Press kit */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.fact-table tr:nth-child(even) { background: var(--sand); }
.fact-table td { padding: 14px 22px; }
.fact-table td:first-child {
  font-family: var(--font-display);
  color: var(--terracotta);
  width: 180px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.asset-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.asset-card .asset-preview {
  background: var(--sky-light);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.asset-card .asset-preview img { max-height: 120px; width: auto; }

.asset-card .asset-meta { padding: 16px; }

/* Media page placeholder */
.coming-soon {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--brown-deep);
  color: var(--sand);
  padding: 48px 0 28px;
  margin-top: 40px;
}

footer.site-footer a { color: var(--amber-light); }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand img { height: 40px; margin-bottom: 10px; }
.halfmile-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 8px 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.halfmile-badge:hover { opacity: 1; }
.halfmile-badge img { height: 32px; margin-bottom: 0; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 10px; }
.footer-links a { display: block; margin-bottom: 8px; color: var(--sand); opacity: 0.9; }
.footer-links a:hover { color: var(--amber-light); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  nav.main-nav { display: none; }
  .gardens-band { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

.mobile-only { display: none; }
@media (max-width: 780px) {
  .mobile-only { display: inline-flex; }
}
