@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #7a1f1f;
  --primary-dark: #5c1414;
  --secondary: #f3e9d2;
  --cream: #faf5ea;
  --gold: #c9a24b;
  --ink: #2b2018;
  --muted: #6f6055;
  --line: #e4d8be;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(43, 32, 24, 0.14);
  --radius: 6px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Lato', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 5vw; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.section { padding: 80px 5vw; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.divider { width: 56px; height: 2px; background: var(--gold); margin: 1.1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.95rem 2.1rem; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--cream); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-cta { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-cta:hover { background: #b8902f; border-color: #b8902f; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--primary); border-color: var(--cream); }
.btn-light:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

/* ---------- Navbar ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  height: 76px; box-sizing: border-box;
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-head.scrolled { box-shadow: 0 6px 24px rgba(43,32,24,.10); border-bottom-color: var(--line); }
.head-inner {
  height: 76px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--primary); letter-spacing: .02em; line-height: 1;
}
.brand small { display: block; font-family: var(--sans); font-size: .56rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink); transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); }
.head-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: .3rem;
  position: absolute; top: 76px; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 1rem 5vw 1.8rem; box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .7rem 0; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,20,15,.55) 0%, rgba(43,20,15,.78) 100%); }
.hero-fallback { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #3a1414, #7a1f1f); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 6rem 5vw; text-align: center; margin: 0 auto; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); color: var(--cream); margin-bottom: 1.3rem; }
.hero p { font-size: 1.18rem; color: #f0e6d4; max-width: 560px; margin: 0 auto 2.4rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; background: var(--secondary); }
.about-img::before { content: ''; position: absolute; inset: -18px -18px auto auto; width: 60%; height: 60%; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about-body h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.3rem; }
.about-body p { color: var(--muted); margin-bottom: 1.1rem; }
.about-sign { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--primary); margin-top: 1.4rem; }

/* ---------- Menu ---------- */
.menu { background: var(--secondary); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 4rem; max-width: 980px; margin: 0 auto; }
.menu-item { display: flex; gap: 1rem; align-items: baseline; padding-bottom: 1.3rem; border-bottom: 1px dashed var(--line); }
.menu-item-main { flex: 1; }
.menu-item-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; color: var(--ink); }
.menu-item-desc { font-size: .92rem; color: var(--muted); margin-top: .15rem; }
.menu-item-price { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.menu-note { text-align: center; margin-top: 3rem; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.2rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1/1; background: var(--secondary); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 2; aspect-ratio: 1/2; }

/* ---------- Info / hours ---------- */
.info { background: var(--primary); color: var(--cream); }
.info .section-head h2 { color: var(--cream); }
.info .section-head p { color: #f0dccf; }
.info .divider { background: var(--gold); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 980px; margin: 0 auto; }
.info-card { background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,75,.4); border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center; }
.info-card .ic { color: var(--gold); margin-bottom: 1rem; display: inline-flex; }
.info-card .ic svg { width: 38px; height: 38px; }
.info-card h3 { font-size: 1.5rem; color: var(--cream); margin-bottom: .5rem; }
.info-card p { color: #f0dccf; font-size: .98rem; white-space: pre-line; }

/* ---------- Reservation form ---------- */
.reserve { background: var(--cream); }
.reserve-card { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 3rem clamp(1.4rem, 5vw, 3rem); }
[data-cms-contact] { display: block; }
[data-cms-contact] form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
[data-cms-contact] .form-row { display: contents; }
[data-cms-contact] label { display: flex; flex-direction: column; gap: .4rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
[data-cms-contact] input, [data-cms-contact] textarea, [data-cms-contact] select {
  font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); color: var(--ink); width: 100%;
}
[data-cms-contact] input:focus, [data-cms-contact] textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
[data-cms-contact] textarea { min-height: 110px; resize: vertical; }
[data-cms-contact] .form-field-textarea, [data-cms-contact] .field-textarea { grid-column: 1 / -1; }
.btn-submit {
  grid-column: 1 / -1; margin-top: .5rem;
  background: var(--primary); color: var(--cream); border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05rem 2rem; border-radius: var(--radius); transition: background .25s, transform .25s; width: 100%;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #cdbfa9; padding: 4.5rem 5vw 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1180px; margin: 0 auto 3rem; }
.foot-about .brand { color: var(--cream); }
.foot-about p { margin-top: 1rem; max-width: 320px; font-size: .95rem; }
.site-foot h4 { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; }
.site-foot ul { list-style: none; }
.site-foot li { padding: .3rem 0; }
.site-foot a:hover { color: var(--cream); }
.foot-bottom { max-width: 1180px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- list edit helpers visibility ---------- */
.wb-list-item { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .head-cta .btn, .head-cta .head-phone { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img::before { display: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 1; aspect-ratio: 1/1; }
  .info-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .section { padding: 56px 6vw; }
  .hero { min-height: 86vh; }
  .hero-inner { padding: 4rem 6vw; }
  [data-cms-contact] form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .reserve-card { padding: 2rem 1.3rem; }
  .foot-bottom { flex-direction: column; }
}

/* qcms-form-fix */
.rsvp-form .form-rows-wrap { flex-wrap: wrap; }
.rsvp-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.rsvp-form .form-lbl {
  font-family: var(--sans); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: var(--muted);
}
.rsvp-form .wb-form-req { color: var(--primary); }
.rsvp-form .form-inp,
.rsvp-form .form-sel,
.rsvp-form .form-ta {
  display: block; width: 100%; box-sizing: border-box;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.rsvp-form .form-ta { min-height: 120px; resize: vertical; }
.rsvp-form .form-sel {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f6055' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.rsvp-form .form-inp:focus,
.rsvp-form .form-sel:focus,
.rsvp-form .form-ta:focus {
  border-color: var(--primary); outline: none;
  box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}
.rsvp-form .form-bool { flex-direction: row; align-items: center; gap: 8px; }
.rsvp-form .form-bool input { width: auto; }
@media (max-width: 640px) {
  .rsvp-form .form-row { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; }
}


/* logo-mark */
.brand-logo{height:34px;width:34px;border-radius:8px;display:block;flex:0 0 auto}
.foot-logo{height:34px;width:34px;border-radius:8px;display:block;flex:0 0 auto}
.brand{display:inline-flex;align-items:center;gap:.6rem}
.brand > div, .brand .wb-img-wrap{display:inline-flex;align-items:center;line-height:0}
.brand .brand-text{display:inline-block;line-height:1}


.wb-brandmark{position:relative;display:inline-flex;align-items:center;}
.wb-brand-img{height:34px;width:auto;max-width:180px;display:block;object-fit:contain;}
.wb-brandmark .wb-list-edit{position:absolute;top:-10px;right:-10px;z-index:10;width:24px;height:24px;border-radius:50%;border:2px solid #fff;background:#3a5a8c;color:#fff;font-size:12px;line-height:1;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.3);opacity:1;transform:none;}
