/* =====================================================================
   PARLOR KITCHEN — Global Stylesheet
   Static (Path A) build. Authored in section blocks for clean
   HTML -> Shopify Liquid section porting later.

   Brand system (sourced from live parlorkitchen.com Elementor kit):
   - Base = white / warm-white, airy & food-forward.
   - Black + gold are the brand. Near-black #070707, gold #BB7E5F.
   - Dark/black moments reserved for hero + premium product features
     (Lantern Society, premium product features, select banners) so they pop.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Light base */
  --white:        #ffffff;   /* page background */
  --warm-white:   #faf7f2;   /* alt sections */
  --paper:        #f2efec;   /* card wells / hairline fills */
  --line:         #e8e2d8;   /* hairlines on light */

  /* Ink / dark */
  --ink:          #070707;   /* near-black — primary text + dark sections */
  --ink-soft:     #2c2b2b;   /* charcoal */

  /* Gold (brand accent) */
  --gold:         #bb7e5f;   /* signature copper-gold */
  --gold-deep:    #9c6444;   /* hover / pressed */
  --gold-bright:  #cf9876;   /* lighter accent on dark */
  --gold-light:   #fed79c;   /* highlight gold */

  /* Text */
  --text:         #1a1715;   /* primary on light */
  --text-muted:   #6f6862;   /* secondary on light */
  --text-on-dark: #f7f4ef;   /* primary on dark */
  --text-on-dark-muted: #c9c1b6;

  /* System */
  --radius:       3px;
  --radius-lg:    6px;
  --shadow-card:  0 22px 48px -28px rgba(7, 7, 7, 0.45);
  --shadow-soft:  0 12px 32px -22px rgba(7, 7, 7, 0.3);
  --maxw:         1180px;
  --gutter:       clamp(20px, 5vw, 56px);

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-sc:      "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --ff-ui:      "Poppins", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--ff-ui);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; }

/* ---------- Typography helpers ---------- */
.display { font-family: var(--ff-display); font-weight: 500; letter-spacing: -0.005em; }
.sc { font-family: var(--ff-sc); }
.eyebrow {
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--warm { background: var(--warm-white); }
.center { text-align: center; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--ff-ui); font-weight: 500; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.95em 1.7em; border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--ink); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--ink-soft); }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }

.btn--gold-outline { background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn--gold-outline:hover { background: var(--gold); color: #fff; }

.btn--ghost-light { background: transparent; color: var(--text-on-dark); border-color: rgba(247, 244, 239, 0.5); }
.btn--ghost-light:hover { background: rgba(247, 244, 239, 0.12); border-color: var(--text-on-dark); }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.7rem; font-weight: 500; color: var(--gold-deep);
}
.link-arrow:hover { color: var(--ink); }
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* =====================================================================
   ANNOUNCEMENT BAR  (dark "select banner" moment)
   ===================================================================== */
.announce {
  background: var(--ink); color: var(--text-on-dark-muted);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.announce .container {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; min-height: 40px; position: relative;
}
.announce__msg { font-weight: 400; }
.announce__social { position: absolute; right: var(--gutter); display: flex; gap: 0.9rem; align-items: center; }
.announce__social a { color: var(--text-on-dark-muted); transition: color .25s; }
.announce__social a:hover { color: var(--gold-light); }
.announce__social svg { width: 15px; height: 15px; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 48px; width: auto; }
.footer__brand .brand__logo { height: 56px; }

.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav__link {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em;
  font-weight: 400; color: var(--text); position: relative; padding-block: 0.4rem; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-deep); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.icon-btn { background: none; border: none; padding: 4px; color: var(--text); display: inline-flex; position: relative; transition: color .25s; }
.icon-btn:hover { color: var(--gold-deep); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -6px; background: var(--gold); color: #fff;
  font-size: 0.6rem; min-width: 16px; height: 16px; border-radius: 999px;
  display: grid; place-items: center; font-weight: 500;
}
.nav-toggle { display: none; background: none; border: none; padding: 6px; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* =====================================================================
   HERO  (dark cinematic)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(540px, 72vh, 720px);
  display: flex; align-items: center; color: var(--text-on-dark); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,7,7,0.94) 0%, rgba(7,7,7,0.62) 44%, rgba(7,7,7,0.15) 72%),
    linear-gradient(0deg, rgba(7,7,7,0.55), rgba(7,7,7,0.1));
}
/* placeholder cinematic backdrop until photography lands */
.hero__media {
  background:
    radial-gradient(120% 90% at 80% 36%, rgba(187,126,95,0.5), transparent 55%),
    radial-gradient(70% 60% at 90% 64%, rgba(254,215,156,0.18), transparent 60%),
    linear-gradient(120deg, #0a0a0a 0%, #161210 46%, #241a13 100%);
}
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 96px); }
.hero__divider { display: flex; align-items: center; gap: 0.8rem; color: var(--gold-bright); margin-bottom: 1.6rem; font-size: 0.68rem; letter-spacing: 0.3em; }
.hero__divider::before, .hero__divider::after { content: ""; height: 1px; width: 46px; background: currentColor; opacity: 0.6; }
.hero h1 { font-family: var(--ff-display); font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 500; line-height: 1.0; max-width: 13ch; }
.hero h1 .accent { color: var(--gold-bright); font-style: italic; display: block; }
.hero__copy { margin-top: 1.5rem; max-width: 38ch; font-size: 1rem; color: var(--text-on-dark-muted); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero__badge {
  position: absolute; right: clamp(20px, 5vw, 72px); bottom: clamp(28px, 6vw, 64px);
  z-index: 3; width: clamp(116px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--gold); background: rgba(7, 7, 7, 0.72); backdrop-filter: blur(3px);
  display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--text-on-dark);
}
.hero__badge .badge-top { display: block; font-size: 0.5rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.4rem; }
.hero__badge .badge-main { display: block; font-family: var(--ff-sc); font-size: 0.95rem; line-height: 1.15; letter-spacing: 0.05em; text-transform: uppercase; }

/* =====================================================================
   FEATURED ON
   ===================================================================== */
.featured-on { background: var(--white); }
.featured-on__label { text-align: center; margin-bottom: 2.4rem; }
.featured-on__label span {
  display: inline-flex; align-items: center; gap: 1rem;
  text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.7rem; color: var(--text-muted);
}
.featured-on__label span::before, .featured-on__label span::after { content: ""; width: 30px; height: 1px; background: var(--line); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3rem); }
.logo-row .press {
  font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--ink); text-align: center; opacity: 0.55; transition: opacity .3s, color .3s;
}
.logo-row .press small { display: block; font-size: 0.55rem; letter-spacing: 0.2em; font-family: var(--ff-ui); color: var(--text-muted); }
.logo-row .press:hover { opacity: 1; color: var(--gold-deep); }

/* =====================================================================
   FEATURE TRIO (dark photo cards)
   ===================================================================== */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 260px; display: flex; align-items: flex-end;
  color: var(--text-on-dark); padding: 1.8rem; background: var(--ink);
}
.feature-card .ph { position: absolute; inset: 0; }
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(15deg, rgba(7,7,7,0.92) 8%, rgba(7,7,7,0.25) 70%);
  transition: background .4s var(--ease);
}
.feature-card:hover::after { background: linear-gradient(15deg, rgba(7,7,7,0.86) 4%, rgba(7,7,7,0.1) 75%); }
.feature-card__body { position: relative; z-index: 2; }
.feature-card h3 { font-family: var(--ff-sc); font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; margin-bottom: 1rem; max-width: 9ch; }
.feature-card h3 sup { font-size: 0.45em; }

/* =====================================================================
   TWO-COLUMN: POPUPS + LANTERN SOCIETY
   ===================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: stretch; }

/* Popups panel (light) */
.popups { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-soft); }
.popups__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.popups__head h3 { font-family: var(--ff-sc); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.popup-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; padding-block: 1.05rem; border-top: 1px solid var(--line); }
.popup-item:first-of-type { border-top: none; }
.popup-date { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.7rem; min-width: 58px; background: var(--warm-white); }
.popup-date .m { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.popup-date .d { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--ink); }
.popup-date .w { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.popup-info h4 { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; }
.popup-info p { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--text-muted); }
.popups__foot { margin-top: 1.3rem; }

/* Lantern Society card (premium dark moment) */
.society {
  position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 3.2vw, 2.6rem); box-shadow: var(--shadow-card);
}
.society::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 85% 0%, rgba(187,126,95,0.28), transparent 55%); }
.society > * { position: relative; z-index: 2; }
.society__eyebrow { color: var(--gold-bright); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.68rem; }
.society h3 { font-family: var(--ff-sc); font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.5rem; }
.society__price { font-family: var(--ff-display); font-size: 1.1rem; color: var(--text-on-dark-muted); margin-top: 0.3rem; }
.society__perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.8rem 0; padding-block: 1.4rem; border-block: 1px solid rgba(247,244,239,0.14); }
.perk { text-align: left; }
.perk__icon { width: 30px; height: 30px; color: var(--gold-bright); margin-bottom: 0.6rem; }
.perk strong { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.perk span { font-size: 0.7rem; color: var(--text-on-dark-muted); }
.society__cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.society__cta .link-arrow { color: var(--gold-bright); }
.society__cta .link-arrow:hover { color: #fff; }

/* =====================================================================
   PROMO GRID
   ===================================================================== */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.promo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.promo h3 { font-family: var(--ff-sc); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.promo p { font-size: 0.82rem; color: var(--text-muted); margin: 0.5rem 0 1.2rem; flex: 1; }
.promo .ph { aspect-ratio: 16/10; border-radius: var(--radius); margin-top: 1.2rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--warm-white); border-top: 1px solid var(--line); }
.footer__main { display: grid; grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(48px, 6vw, 72px); }
.footer__brand .brand { margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.84rem; color: var(--text-muted); max-width: 34ch; }
.footer__col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink); margin-bottom: 1.1rem; font-weight: 500; }
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a { font-size: 0.86rem; color: var(--text-muted); transition: color .25s; }
.footer__col a:hover { color: var(--gold-deep); }

.newsletter h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.7rem; font-weight: 500; }
.newsletter p { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 1rem; }
.newsletter__form { display: flex; gap: 0.5rem; max-width: 340px; }
.newsletter__form input { flex: 1; min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-family: var(--ff-ui); font-size: 0.85rem; color: var(--text); }
.newsletter__form input:focus { outline: none; border-color: var(--gold); }
.newsletter__follow { margin-top: 1.4rem; }
.newsletter__follow .label { font-family: var(--ff-display); font-style: italic; font-size: 1rem; color: var(--gold-deep); margin-bottom: 0.6rem; }
.social-row { display: flex; gap: 0.9rem; }
.social-row a { color: var(--ink); transition: color .25s, transform .25s; }
.social-row a:hover { color: var(--gold-deep); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.footer__bottom .tagline { font-family: var(--ff-display); font-style: italic; letter-spacing: 0.02em; text-transform: none; font-size: 1rem; color: var(--gold-deep); }

/* =====================================================================
   IMAGE PLACEHOLDERS (swap for client photography)
   ===================================================================== */
.ph {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 90% at 70% 25%, rgba(187,126,95,0.45), transparent 55%), linear-gradient(140deg, #141210, #241a13 60%, #33251a);
  display: grid; place-items: center;
}
.ph[data-label]::after { content: attr(data-label); font-family: var(--ff-display); font-style: italic; font-size: 0.85rem; color: rgba(247,244,239,0.5); letter-spacing: 0.04em; padding: 0.5rem 1rem; text-align: center; }
.ph--light { background: radial-gradient(110% 90% at 70% 25%, rgba(187,126,95,0.16), transparent 55%), linear-gradient(140deg, var(--paper), #faf7f2); }
.ph--light::after { color: rgba(111, 101, 90, 0.6); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .society__perks { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav, .header__actions .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
  .duo, .trio, .promo-grid { grid-template-columns: 1fr; }
  .announce__social { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.2rem; box-shadow: var(--shadow-soft);
  }
  .nav.is-open .nav__link { padding-block: 0.85rem; border-bottom: 1px solid var(--line); width: 100%; font-size: 0.8rem; }
  .nav.is-open .nav__link::after { display: none; }
}
@media (max-width: 560px) {
  .trio { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__badge { display: none; }
  .society__perks { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
