/* Jenarda's Catering — layout concept: an evening reception in candlelight.
   Deep chocolate grounds (matched to the banner photo's backdrop), warm
   gold type and hairlines, a glow behind the headline like light on a
   gold charger. One look on purpose: dark and gold in every viewer theme. */
:root {
  --cocoa: #1f130d;        /* page ground, matches banner backdrop */
  --cocoa-2: #2a1a11;      /* raised sections */
  --cocoa-3: #3a2517;      /* glow center, cards */
  --gold: #d9b46a;         /* headings, rules, accents */
  --gold-bright: #ecd59f;  /* highlights on dark */
  --gold-deep: #a98443;    /* hairlines, borders */
  --cream: #f1e7d6;        /* body text */
  --cream-soft: #c8b8a0;   /* captions, secondary text */
  --line: rgba(217, 180, 106, 0.28);
  --gold-sheen: linear-gradient(100deg, #c6a35a 0%, #ecd59f 48%, #d4b06a 72%, #b8934e 100%);

  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.35rem;
  --step-2: 1.9rem;
  --step-3: clamp(2.2rem, 5vw, 3rem);
  --step-4: clamp(3rem, 9vw, 5.4rem);

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cocoa);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 300;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-underline-offset: 4px; text-decoration-color: var(--gold-deep); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
strong { font-weight: 500; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--gold);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-style: italic; }
h2 { font-size: var(--step-3); font-style: italic; }
h3 { font-size: var(--step-1); }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.prose { max-width: 66ch; display: grid; gap: 1.1em; }

.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.flourish { display: flex; align-items: center; gap: 12px; color: var(--gold-deep); width: min(220px, 60%); }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.flourish span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.center { justify-items: center; text-align: center; }
.center .flourish { margin-inline: auto; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--cocoa);
}
.site-header { background: var(--cocoa); border-bottom: 1px solid var(--gold-deep); position: relative; z-index: 5; }
.site-header .wrap { padding-block: 20px 0; display: grid; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: grid; gap: 2px; text-decoration: none; color: var(--gold); margin: 0; }
.brand:hover { color: var(--gold-bright); }
.brand-name { font-family: var(--script); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--gold); }
.brand-sub {
  font-family: var(--body); font-size: clamp(0.7rem, 1.6vw, 0.82rem); letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--cream); font-weight: 400;
}
.header-cta { white-space: nowrap; }

.nav-toggle { display: none; }
.site-nav { margin-top: 16px; border-top: 1px solid var(--line); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 30px;
}
.site-nav a {
  display: block; padding: 13px 2px; color: var(--cream); text-decoration: none;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--gold-bright); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 760px) {
  .site-header .wrap { padding-block: 14px 0; }
  .btn.header-cta { padding: 12px 14px; font-size: 0.95rem; }
  .nav-toggle {
    display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%;
    margin-top: 12px; padding: 11px 0; background: transparent; border: 0; border-top: 1px solid var(--line);
    color: var(--gold); font: 400 var(--step--1)/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  }
  .site-nav { margin-top: 0; }
  .site-nav[data-open="false"] { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 13px 0; text-align: center; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
}
@media (max-width: 560px) {
  .header-row { flex-wrap: nowrap; gap: 10px; }
  .brand { min-width: 0; }
  .brand-name { font-size: 2.3rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.18em; }
  .btn.header-cta { font-size: 0.82rem; padding: 10px 11px; gap: 6px; flex-shrink: 0; }
}
@media (max-width: 370px) {
  .brand-sub { letter-spacing: 0.1em; }
  .btn.header-cta { font-size: 0.76rem; padding: 9px 9px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 0;
  font: 400 var(--step-0)/1.1 var(--body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 1px solid var(--gold-deep);
  background: var(--gold-sheen); color: var(--cocoa);
  transition: filter .2s, background .2s, color .2s;
}
.btn:hover { filter: brightness(1.08); color: var(--cocoa); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--gold); }
.btn-ghost:hover { background: rgba(217, 180, 106, 0.12); color: var(--gold-bright); filter: none; }
.btn-gold { font-size: var(--step-1); padding: 22px 40px; }
.text-link {
  color: var(--cream); text-decoration: none; font-size: var(--step-1);
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.text-link:hover { color: var(--gold-bright); }

/* ---------- Home: banner + intro ---------- */
.hero-banner { background: var(--cocoa); border-bottom: 1px solid var(--gold-deep); }
.hero-banner img { width: 100%; max-width: 1440px; margin-inline: auto; }

.intro {
  background: radial-gradient(ellipse 70% 60% at 50% 38%, var(--cocoa-3) 0%, var(--cocoa-2) 45%, var(--cocoa) 100%);
  text-align: center;
}
.intro .wrap {
  padding-block: clamp(48px, 8vw, 88px); display: grid; justify-items: center; gap: 26px;
}
.ornament { display: flex; align-items: center; gap: 18px; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.ornament .dash { width: 92px; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 26px, transparent 26px 40px); }
.ornament .flip { transform: scaleX(-1); }
.ornament .star { font-size: 2rem; }
.intro h1 { color: var(--gold-bright); font-weight: 600; letter-spacing: 0.005em; }
.intro-lede { font-size: var(--step-1); max-width: 34ch; color: var(--cream); }
.intro .btn-gold { margin-top: 8px; }
.intro-meta { letter-spacing: 0.14em; color: var(--cream-soft); font-size: var(--step--1); margin-top: 6px; }
.intro-meta a { color: var(--cream); text-decoration: none; }
@media (max-width: 480px) { .ornament .dash { width: 54px; } .ornament { gap: 12px; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: radial-gradient(ellipse 80% 90% at 30% 0%, var(--cocoa-3) 0%, var(--cocoa-2) 50%, var(--cocoa) 100%);
  border-bottom: 1px solid var(--line);
}
.page-banner .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 14px; justify-items: start; }
.page-banner .lede { color: var(--cream); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(52px, 8vw, 96px); }
.section.tint { background: var(--cocoa-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); justify-items: start; }

.split {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }

.framed { position: relative; isolation: isolate; margin: 0 14px 14px 0; }
.framed::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-deep); z-index: -1; pointer-events: none;
}
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.framed.wide img { aspect-ratio: 3 / 2; }
.stack { position: relative; z-index: 0; }

/* Services set like menu courses */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.course { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.course + .course { padding-left: 24px; border-left: 1px solid var(--line); }
.course:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.course .eyebrow { font-size: 0.75rem; }
.course h3 { color: var(--gold-bright); }
.course p { color: var(--cream-soft); }
@media (max-width: 900px) {
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course:nth-child(3n + 1) { padding-left: 24px; border-left: 1px solid var(--line); }
  .course:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .courses { grid-template-columns: minmax(0, 1fr); }
  .course, .course + .course { padding-left: 0; border-left: 0; padding-right: 0; }
}

.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 680px) { .locations { grid-template-columns: minmax(0, 1fr); } }
.location { border: 1px solid var(--gold-deep); padding: 28px; display: grid; gap: 8px; align-content: start; background: var(--cocoa); }
.location address { font-style: normal; }
.section.tint .location { background: var(--cocoa); }

/* Call band */
.call-band { background: var(--cocoa-2); border-top: 1px solid var(--gold-deep); border-bottom: 1px solid var(--gold-deep); }
.call-band .wrap {
  padding-block: clamp(40px, 6vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.call-band h2 { color: var(--gold-bright); }
.phone-big {
  font-family: var(--display); font-size: var(--step-3); font-weight: 600; color: var(--gold);
  text-decoration: none; font-variant-numeric: lining-nums; white-space: nowrap;
}
.phone-big:hover { color: var(--gold-bright); }

/* Quotes */
.quote { display: grid; gap: 18px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.quote:first-child { padding-top: 0; }
.quote:last-child { border-bottom: 0; }
.quote blockquote {
  margin: 0; font-family: var(--display); font-style: italic; font-size: var(--step-1); line-height: 1.55;
  color: var(--cream); max-width: 62ch;
}
.quote blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.2em; line-height: 0; vertical-align: -0.38em; margin-right: 4px; }
.quote cite { font-style: normal; font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.quote-feature { max-width: 760px; }

/* Menu card */
.menu-card {
  border: 1px solid var(--gold-deep); outline: 1px solid var(--gold-deep); outline-offset: 6px;
  margin: 6px; padding: clamp(24px, 5vw, 56px); background: var(--cocoa-2);
}
.menu-index { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 36px; justify-content: center; }
.menu-index a { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--gold-deep); }
.menu-index a:hover { color: var(--gold-bright); }
.menu-section { padding-block: 34px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.menu-section:first-of-type { border-top: 0; padding-top: 0; }
.menu-section > h2 { text-align: center; font-size: var(--step-2); }
.menu-section > .flourish { margin: 12px auto 22px; }
.menu-cols { columns: 2 260px; column-gap: 48px; }
.menu-group { break-inside: avoid; margin-bottom: 22px; }
.menu-group h3 { font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--body); font-weight: 400; color: var(--gold); margin-bottom: 8px; }
.menu-cols ul { list-style: none; margin: 0; padding: 0; }
.menu-cols li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.menu-cols li small { display: block; color: var(--cream-soft); font-size: var(--step--1); line-height: 1.4; }
.menu-note { text-align: center; color: var(--cream-soft); font-size: var(--step--1); margin-top: 8px; }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { border: 1px solid var(--line); background: var(--cocoa-2); padding: 7px 14px; font-size: var(--step--1); }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; transition: opacity .2s; }
.gallery button:hover img { opacity: 0.85; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 12, 8, 0.95); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: max(56px, env(safe-area-inset-top, 0px)) var(--gutter-r) max(56px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; width: auto; }
.lb-btn { position: absolute; background: rgba(31, 19, 13, 0.7); color: var(--gold); border: 1px solid var(--gold-deep); width: 44px; height: 44px; font-size: 22px; line-height: 1; cursor: pointer; }
.lb-close { top: max(10px, env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }

.event-types { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0; margin: 0; }
.event-types li { list-style: none; font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--gold-bright); }

/* Slideshow (home) */
.moments .section-head { justify-items: center; text-align: center; }
.moments .section-head .flourish { margin-inline: auto; }
.slideshow {
  position: relative; width: calc(100% - 16px); max-width: 880px; aspect-ratio: 880 / 365;
  overflow: hidden; background: var(--cocoa-2); margin: 8px auto;
  outline: 1px solid var(--gold-deep); outline-offset: 8px;
}
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.slide-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer; border: 1px solid var(--gold-bright); background: rgba(31, 19, 13, 0.5); }
.slide-dots button[aria-current="true"] { background: var(--gold-bright); }
@media (max-width: 600px) { .slideshow { outline-offset: 5px; width: calc(100% - 10px); } .slide-dots { bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: #170e09; border-top: 1px solid var(--gold-deep); color: var(--cream-soft); font-size: var(--step--1); }
.site-footer .wrap {
  padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px;
}
.site-footer h3 { color: var(--gold); font-family: var(--body); font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; margin-bottom: 10px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer address { font-style: normal; }
.footer-brand { margin-bottom: 12px; }
.footer-brand .brand-name { font-size: 2.4rem; }
.footer-brand .brand-sub { font-size: 0.7rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: rgba(241, 231, 214, 0.5); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: #170e09; border-top: 1px solid var(--gold-deep);
    align-items: center; justify-content: space-between; gap: 12px; color: var(--cream);
  }
  .call-bar span { font-size: var(--step--1); letter-spacing: 0.08em; }
  .call-bar a { padding: 11px 18px; white-space: nowrap; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Home slideshow band (top of page) */
.hero-band { background: var(--cocoa); }
.hero-band .wrap { padding-block: clamp(22px, 3.5vw, 36px) clamp(10px, 2vw, 18px); }
