/* =====================================================================
   VANITY MEALS — Fuel for the Exceptional
   Brand stylesheet
   Palette:  Black #0B0B0B · Gold #C8A46B · White #FFFFFF · Soft #F5F5F5
   Type:     Playfair Display (headlines) · Montserrat (body)
   ===================================================================== */

:root {
  --black:      #0B0B0B;
  --black-soft: #16120B;   /* alternate section — dark, tinted very slightly gold */
  --black-card: #191510;   /* cards — warm dark, sits above sections */
  --logo-black: #000000;   /* matches the logo PNG background so its square blends in */
  --gold:       #C8A46B;
  --gold-deep:  #A8823F;
  --gold-light: #E6CE9E;
  --white:      #FFFFFF;
  --soft:       #F5F5F5;
  --muted:      #B9B4A9;
  --line:       rgba(200, 164, 107, 0.28);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Montserrat", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gold-grad: linear-gradient(135deg, #E6CE9E 0%, #C8A46B 45%, #A8823F 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--soft);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.2px;
  overflow-x: hidden;
}
/* Beat Astra's white .ast-plain-container background on the brand (canvas) pages. */
body.vanity-canvas,
body.vanity-canvas.ast-plain-container,
body.vanity-canvas .ast-page-builder-template { background-color: var(--black); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--white); }
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* Thin gold divider with center diamond */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin: 1.4rem 0;
}
.divider::before, .divider::after {
  content: ""; height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { color: var(--gold); font-size: 0.7rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; background: var(--black); }
.section--tight { padding: 80px 0; }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 34px; cursor: pointer; border: 1px solid var(--gold);
  transition: background-color 0.35s ease, color 0.3s ease, border-color 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  background: transparent; color: var(--gold);
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn--solid { background: var(--gold-grad); color: var(--black); border-color: transparent; }
.btn--solid:hover { background: var(--gold-grad); filter: brightness(1.08); transform: translateY(-2px); }
.btn--light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--lg { padding: 20px 50px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  background: var(--logo-black); /* match the logo square's black */
  border-bottom: 1px solid transparent; padding: 18px 0;
}
.site-header.scrolled {
  background: var(--logo-black); backdrop-filter: blur(12px);
  border-bottom-color: var(--line); padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 54px; width: auto; transition: height 0.4s ease; }
.scrolled .nav__logo img { height: 44px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--soft); position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s ease;
}
.nav__links a:hover, .nav__links a:focus, .nav__links a.active { color: var(--gold); }
.nav__links a:hover::after, .nav__links a:focus::after, .nav__links a.active::after { width: 100%; }
.nav__links a.nav__cta { border: 1px solid var(--gold); color: var(--gold); padding: 10px 22px; }
.nav__cta::after { display: none; }
/* Higher specificity than `.nav__links a:hover` so the text stays dark (visible) on the gold hover fill. */
.nav__links a.nav__cta:hover { background: var(--gold); color: var(--black); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: var(--black); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.42) saturate(1.05); transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(11,11,11,0.35), rgba(11,11,11,0.9)),
    linear-gradient(180deg, rgba(11,11,11,0.85) 0%, rgba(11,11,11,0.45) 45%, rgba(11,11,11,0.96) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; padding: 120px 0; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: 0.5px;
  margin-bottom: 1.4rem;
}
.hero p.sub {
  font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--soft); max-width: 560px;
  margin-bottom: 2.6rem; font-weight: 300;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gold); font-size: 0.62rem; letter-spacing: 0.35em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Feature cards (Why) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.feature {
  background: var(--black-card); border: 1px solid var(--line); padding: 46px 34px;
  text-align: center; transition: transform 0.4s ease, border-color 0.4s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--gold); }
.feature .icon { color: var(--gold); margin-bottom: 22px; display: inline-block; }
.feature .icon svg { width: 44px; height: 44px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Membership tier cards ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier {
  position: relative; background: var(--black-card); border: 1px solid var(--line);
  padding: 44px 34px; display: flex; flex-direction: column; transition: transform 0.4s, border-color 0.4s;
}
.tier:hover { transform: translateY(-6px); border-color: var(--gold); }
.tier--featured { border-color: var(--gold); background: linear-gradient(180deg, #1c1811, var(--black-card)); }
.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: var(--black); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 18px;
}
.tier .icon { color: var(--gold); margin-bottom: 16px; }
.tier .icon svg { width: 38px; height: 38px; }
.tier h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.tier .tier__tag { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.6rem; }
.tier__prices { border-top: 1px solid var(--line); margin-top: auto; }
.tier__prices .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(200,164,107,0.12);
}
.tier__prices .row .meals { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tier__prices .row .price { font-family: var(--serif); font-size: 1.35rem; color: var(--white); }
.tier__prices .row .price span { font-size: 0.8rem; color: var(--gold); font-family: var(--sans); }
.tier .btn { margin-top: 28px; width: 100%; }

/* ---------- Split / editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line); }
.split__media { position: relative; }
.split__media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold); pointer-events: none; opacity: 0.35;
}
.split__body h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1.2rem; }
.split__body p { color: var(--muted); margin-bottom: 1.1rem; }

/* Lifestyle quote band */
.quote-band { background: var(--black-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-band blockquote {
  max-width: 860px; margin: 0 auto; text-align: center; font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.4; color: var(--white); font-style: italic; font-weight: 400;
}
.quote-band blockquote .gold-text { font-style: normal; }
.quote-band cite { display: block; margin-top: 1.6rem; font-family: var(--sans); font-style: normal; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Founders ---------- */
.founders__names { display: flex; gap: 40px; margin-top: 1.6rem; }
.founders__names .name h4 { font-size: 1.2rem; color: var(--gold); letter-spacing: 0.05em; }
.founders__names .name span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Menu grid (products) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.dish {
  background: var(--black-card); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s, border-color 0.4s;
}
.dish:hover { transform: translateY(-5px); border-color: var(--gold); }
.dish__img { aspect-ratio: 16/11; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish__body { padding: 26px 28px 30px; }
.dish__body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.dish__body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.macros { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.macros .m { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.macros .m b { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--gold); letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 4px 10px; }

/* ---------- CTA / Founding ---------- */
.founding {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--black), var(--black-soft));
  border-top: 1px solid var(--line);
}
.founding h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.founding p { color: var(--muted); max-width: 560px; margin: 0 auto 2.2rem; }
.founding__qr {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 2.6rem;
}
.founding__qr img { width: 130px; height: 130px; padding: 12px; background: var(--white); }
.founding__qr span { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 26px 48px 26px 0; position: relative; font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--white); transition: color 0.3s;
}
.faq__q:hover, .faq__q:focus, .faq__q:focus-visible, .faq__q:active {
  color: var(--gold);
  background: rgba(200, 164, 107, 0.08); /* subtle gold wash — overrides Astra's default blue button hover/focus */
  outline: none;
}
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform 0.3s;
}
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq__a p { color: var(--muted); padding: 0 40px 28px 0; font-size: 0.98rem; }
.faq__a p + p { padding-top: 14px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 200px 0 90px; text-align: center; position: relative; background: var(--black-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.6rem; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- Info strip ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { background: var(--black-card); border: 1px solid var(--line); padding: 34px 30px; }
.info-card h4 { color: var(--gold); font-size: 1.15rem; margin-bottom: 0.7rem; }
.info-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact-form { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  background: var(--black-card); border: 1px solid var(--line); color: var(--soft);
  padding: 15px 18px; font-family: var(--sans); font-size: 0.92rem; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: none; }
.contact-form textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: #070707; border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .f-logo img { height: 68px; margin-bottom: 18px; }
.site-footer p { color: var(--muted); font-size: 0.9rem; }
.site-footer h5 { color: var(--gold); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .f-links a { display: block; color: var(--muted); font-size: 0.9rem; padding: 6px 0; transition: color 0.3s; }
.site-footer .f-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(200,164,107,0.14); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .tiers, .info-grid { grid-template-columns: 1fr; }
  .split, .grid-2, .menu-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column;
    justify-content: center; background: rgba(11,11,11,0.98); backdrop-filter: blur(10px);
    transform: translateX(100%); transition: transform 0.4s ease; gap: 26px; padding: 40px;
    border-left: 1px solid var(--line);
  }
  .nav__links.open { transform: none; }
  .nav__toggle { display: block; z-index: 101; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .founders__names { flex-direction: column; gap: 20px; }
}

/* =====================================================================
   Astra default-blue overrides
   Astra's palette uses a primary blue (#046BD2) on native/interactive
   elements. Re-skin every spot that could surface on brand pages in gold.
   ===================================================================== */

/* Text selection highlight */
::selection      { background: var(--gold); color: var(--black); }
::-moz-selection { background: var(--gold); color: var(--black); }

/* Mobile nav toggle is a <button> — never let Astra fill it blue on hover/focus */
.nav__toggle:hover, .nav__toggle:focus, .nav__toggle:active {
  background: none; box-shadow: none; outline: none;
}

/* Buttons: keep brand styling on :focus (Astra sets a blue fill/text on button:focus & a:focus) */
.btn:focus        { background: transparent;       color: var(--gold);  }
.btn--solid:focus { background: var(--gold-grad);  color: var(--black); }
.btn--light:focus { background: transparent;       color: var(--white); }

/* On-brand, visible keyboard focus ring (replaces Astra's blue outline) */
.btn:focus-visible,
.nav__links a:focus-visible,
.faq__q:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
