/* ============================================================
   BROTHERS OF THE LEAF — STYLES
   Palette, type, and layout tokens live at the top. Change a
   value here and it updates across every page.
   ============================================================ */

:root {
  /* Color */
  --ink: #1c1410;
  --walnut: #2b1d14;
  --walnut-deep: #1f140d;
  --leather: #8c5a36;
  --ember: #c97a2b;
  --ember-bright: #e0954a;
  --parchment: #f4ecdd;
  --parchment-deep: #e9dcc3;
  --line: rgba(28, 20, 16, 0.12);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

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

/* ---------- Skip link / focus ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--ember);
  color: var(--walnut-deep);
  padding: 8px 14px;
  border-radius: var(--radius);
  z-index: 100;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--walnut);
  border-bottom: 3px solid var(--ember);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  font-family: var(--display);
  color: var(--parchment);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand span { color: var(--ember-bright); }

.nav-toggle { display: none; }
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--parchment-deep);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--parchment);
  border-bottom-color: var(--ember);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--leather);
    color: var(--parchment);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-family: var(--body);
    font-size: 13px;
  }
  .nav-list {
    position: absolute;
    inset: 76px 0 auto 0;
    background: var(--walnut);
    flex-direction: column;
    gap: 0;
    border-bottom: 3px solid var(--ember);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a {
    padding: 14px 24px;
    width: 100%;
    border-bottom: 1px solid rgba(244,236,221,0.08);
  }
  .site-header { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 50% -10%, rgba(201,122,43,0.35), transparent 60%), var(--walnut);
  color: var(--parchment);
  padding: 96px 0 88px;
  text-align: center;
  overflow: hidden;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  max-width: 820px;
  margin: 0 auto;
}
.hero .rule {
  width: 64px;
  height: 3px;
  background: var(--ember);
  margin: 28px auto;
}
.hero p.lede {
  max-width: 560px;
  margin: 0 auto;
  color: var(--parchment-deep);
  font-size: 18px;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.btn-primary { background: var(--ember); color: var(--walnut-deep); }
.btn-primary:hover { background: var(--ember-bright); }
.btn-ghost { border-color: var(--leather); color: var(--parchment); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-bright); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p { color: #4a3a2c; margin-top: 14px; }

.grid-3 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--walnut);
}
.value-card p { color: #4a3a2c; margin: 0; }
.value-card .mark {
  width: 38px; height: 2px; background: var(--ember); margin-bottom: 16px;
}

/* ---------- Cigar-band cards (signature element) ---------- */
.band-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) { .band-grid { grid-template-columns: 1fr; } }

.band {
  position: relative;
  background: var(--parchment-deep);
  border: 1px solid var(--line);
  border-radius: 30px / 10px;
  padding: 22px 26px;
}
.band::before, .band::after {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  width: 10px;
  border: 1px solid var(--ember);
  opacity: 0.55;
}
.band::before { left: 8px; border-right: none; border-radius: 20px 0 0 20px; }
.band::after { right: 8px; border-left: none; border-radius: 0 20px 20px 0; }

.band .region {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 6px;
}
.band h3 {
  font-size: 21px;
  color: var(--walnut);
  margin-bottom: 4px;
}
.band .addr {
  font-size: 14px;
  color: #5b4a3a;
  margin-bottom: 14px;
}
.band .addr a {
  color: #5b4a3a;
  text-decoration: underline;
  text-decoration-color: var(--ember);
}
.band .addr a:hover {
  color: var(--ember);
}
.band .stat {
  font-size: 14px;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px dashed rgba(140,90,54,0.4);
}
.band .stat strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  color: var(--ember);
  margin-bottom: 2px;
}
.band .stat.muted strong { color: var(--leather); }

/* ---------- Feature blocks (events page) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: none; }
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } }
.feature .tag {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}
.feature h3 { font-size: 24px; color: var(--walnut); margin: 8px 0 10px; }
.feature p { color: #4a3a2c; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Contact band ---------- */
.contact-band {
  background: var(--walnut);
  color: var(--parchment);
  text-align: center;
  padding: 56px 0;
}
.contact-band h2 { font-size: 28px; margin-bottom: 12px; }
.contact-band a {
  color: var(--ember-bright);
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid var(--ember);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--walnut-deep);
  color: var(--parchment-deep);
  font-size: 13px;
  text-align: center;
  padding: 28px 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
