/* Avilian Meals — Marketing Site
   Palette kept from original landing page
   + Gamazine grain overlay
*/

:root {
  --cream: #FDF8F0;
  --cream-soft: #FAFAF9;
  --gold: #E8B042;
  --gold-dark: #B5810A;
  --green: #0B5E42;
  --green-dark: #084832;
  --ink: #1F1F1F;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --white: #ffffff;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 40px rgba(0,0,0,0.06);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.05);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cream-soft);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Gamazine grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.38;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 176, 66, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  color: white !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 94, 66, 0.22);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #d9a235;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: white;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.02rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 9.5rem 0 5.5rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-soft) 55%, #f5f0e6 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(232,176,66,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,176,66,0.15);
}

.hero-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.hero-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(11, 94, 66, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Memberships ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tier {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.tier:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.tier.popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tier-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.tier h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.tier-credits {
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.tier ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.tier li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.45rem;
}

.tier li::before {
  content: "•";
  color: var(--gold);
  font-weight: 700;
}

.tier .btn {
  width: 100%;
  margin-top: auto;
}

/* ---------- Story / About ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.story-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  margin-bottom: 1.25rem;
}

.story-content p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.story-content p strong {
  color: var(--ink);
}

.story-quote {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.4rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--ink-soft);
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-band .btn-gold {
  margin: 0 0.4rem 0.5rem;
}

.cta-band .btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.55);
  margin: 0 0.4rem 0.5rem;
}

.cta-band .btn-outline-light:hover {
  background: white;
  color: var(--green);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #121212;
  color: #c4c4c4;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer h5 {
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.footer ul li {
  margin-bottom: 0.45rem;
}

.footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #888;
}

.footer-chikara {
  color: #aaa;
}

.footer-chikara a {
  color: var(--gold);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 8.5rem 0 3.5rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-soft) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.08rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .tiers {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .section { padding: 3.5rem 0; }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
