/* ============================================
   Olive & Ash — main stylesheet
   Wood-fired Mediterranean, Alberta Arts District
   ============================================ */

:root {
  --ink: #2b2320;
  --bg: #faf6f0;
  --accent: #b3552c;
  --muted: #8a7a6d;
  --surface: #efe6da;

  --accent-dark: #8f431f;
  --line: #ddceba;

  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Karla', 'Helvetica Neue', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: 4.5rem;

  --radius: 6px;
  --shadow: 0 6px 20px rgba(43, 35, 32, 0.08);
}

/* ---------- Reset-ish basics ---------- */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p {
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

ul {
  margin: 0 0 var(--space-2);
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

@media (min-width: 700px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.7rem; }
}

/* ============================================
   Header & Nav
   ============================================ */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) var(--space-2);
  position: relative;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--accent);
}

/* Nav toggle: visible checkbox-free approach using details/button pattern.
   Since we cannot rely on JS, nav is always visible in a stacked,
   accessible layout on mobile — never hidden without an alternative. */

.nav-toggle {
  display: none;
}

.site-nav {
  width: 100%;
  margin-top: var(--space-2);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--accent-dark);
}

.site-nav a.active {
  color: var(--accent);
  background: var(--surface);
}

@media (min-width: 720px) {
  .site-header .container {
    flex-wrap: nowrap;
  }

  .site-nav {
    width: auto;
    margin-top: 0;
  }

  .site-nav ul {
    flex-direction: row;
    border-top: none;
    padding-top: 0;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.5rem 0.85rem;
  }
}

/* ============================================
   Layout helpers
   ============================================ */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.section {
  padding: var(--space-5) 0;
}

.section-alt {
  padding: var(--space-5) 0;
  background: var(--surface);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: var(--space-5) 0;
  text-align: left;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-title {
  font-size: 2.6rem;
  max-width: 18ch;
  margin-bottom: var(--space-2);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: var(--space-3);
}

@media (min-width: 700px) {
  .hero-title { font-size: 3.6rem; }
  .hero-sub { font-size: 1.35rem; }
}

/* ============================================
   Grids
   ============================================ */

.grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.grid-2 {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 780px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43, 35, 32, 0.12);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
}

.card-body {
  color: var(--ink);
  margin-bottom: 0;
}

/* ============================================
   Buttons / CTA
   ============================================ */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-2);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ============================================
   Text accents
   ============================================ */

.lead {
  font-size: 1.25rem;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: var(--space-3);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

/* ============================================
   Features
   ============================================ */

.feature {
  padding: var(--space-2) 0;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

/* ============================================
   Stats
   ============================================ */

.stat {
  text-align: left;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   Quote
   ============================================ */

.quote {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: var(--space-3);
  margin: var(--space-3) 0;
  line-height: 1.45;
}

.quote-attr {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ============================================
   Checklists
   ============================================ */

.list-checks {
  list-style: none;
  padding-left: 0;
  margin: var(--space-2) 0;
}

.list-checks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
}

.list-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding: var(--space-4) 0 var(--space-3);
  margin-top: var(--space-5);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer a {
  color: var(--surface);
  text-decoration: underline;
  text-decoration-color: rgba(250, 246, 240, 0.35);
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.site-footer p {
  color: rgba(250, 246, 240, 0.75);
  margin-bottom: 0.4rem;
}

@media (min-width: 700px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}