/* COFI — static site styles */
:root {
  --bg: #140e0b;
  --bg-soft: #1c1511;
  --panel: #231a15;
  --cream: #f4eadb;
  --cream-dim: #d7c7b0;
  --gold: #c4a574;
  --gold-bright: #e2c796;
  --roast: #6b3a24;
  --line: rgba(244, 234, 219, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn {
  font-family: var(--sans);
  cursor: pointer;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(20, 14, 11, 0.92);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.28em;
  font-weight: 600;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--cream);
  font-size: 22px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,14,11,0.25) 0%, rgba(20,14,11,0.72) 55%, #140e0b 100%),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero-content {
  text-align: center;
  padding: 120px 20px 80px;
}
.eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.04em;
}
.hero p {
  max-width: 460px;
  margin: 22px auto 32px;
  color: var(--cream-dim);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border: 1px solid var(--cream-dim); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); }

/* Sections */
section { padding: 96px 0; }
.section-kicker {
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
}
.lede {
  color: var(--cream-dim);
  max-width: 540px;
  margin-top: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.split.flip { grid-template-columns: 0.95fr 1.05fr; }
.split.flip img { order: -1; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.price { color: var(--gold); margin-top: 8px; font-size: 14px; letter-spacing: 0.08em; }
.card p { color: var(--cream-dim); margin-top: 10px; font-size: 15px; }

/* Menu list */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  margin-top: 48px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item h3 { font-size: 18px; font-weight: 500; }
.menu-item .dotprice {
  color: var(--gold);
  font-size: 15px;
}
.menu-item p {
  grid-column: 1 / -1;
  color: var(--cream-dim);
  font-size: 14px;
}

/* Quote */
.quote-block {
  text-align: center;
  padding: 100px 20px;
  background:
    linear-gradient(rgba(20,14,11,0.72), rgba(20,14,11,0.72)),
    url("https://images.unsplash.com/photo-1501339848181-14688f5f2105?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.25;
}
.quote-block cite { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-style: normal; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-top: 40px;
}
.info-list { color: var(--cream-dim); }
.info-list dt {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 22px;
}
.info-list dd { margin-top: 6px; }
form {
  display: grid;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}
input, textarea, select {
  width: 100%;
  background: #1a1310;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 14px;
  font: 15px var(--sans);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--cream-dim); font-size: 13px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--cream-dim);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
}
.site-footer .logo { font-size: 22px; color: var(--cream); }
.tiny { font-size: 13px; }

/* Page hero (inner pages) */
.page-hero {
  padding: 168px 0 64px;
  background:
    linear-gradient(180deg, rgba(20,14,11,0.35), #140e0b),
    url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=1600&q=80") center/cover;
}

/* Hours table */
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--cream-dim); }
.hours td:last-child { text-align: right; color: var(--cream); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    background: var(--bg-soft);
    padding: 20px;
    border: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
  .split, .split.flip, .cards, .menu-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .split.flip img { order: 0; }
  .split img { height: 360px; }
  section { padding: 72px 0; }
}

/* v1.1 church additions */
.logo img,
.custom-logo {
  height: 36px;
  width: auto;
  display: block;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-top: 18px;
  background: #000;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-widget { margin-top: 16px; }
.site-footer .menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 10px;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.nav-links.open { z-index: 60; }
