/* ============================================================
   CORK CONNOISSEUR — production stylesheet
   Brand: warm, premium, playful. Never pretentious.
   Tokens + base + sections + Wine Files modal.
   ============================================================ */

:root {
  /* Brand palette */
  --burgundy:  #8B3E3D;
  --burgundy-deep: #6E2E2D;
  --cream:     #E9D6B4;
  --cream-soft:#F3E8D2;
  --charcoal:  #1F1F1F;
  --ivory:     #F8F6F2;
  --green:     #50644A;
  --gold:      #C6A15B;
  --gold-soft: #DBC08A;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --ink:   var(--charcoal);
  --ink-2: #5b5450;
  --page:  var(--ivory);

  --radius:   18px;
  --radius-sm:12px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(31,31,31,.06);
  --shadow:    0 14px 40px -18px rgba(31,31,31,.28);
  --shadow-lg: 0 40px 90px -40px rgba(110,46,45,.45);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--burgundy); color: var(--ivory); }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--gold); display: inline-block;
}
.eyebrow.center::before { display: none; }

.section { padding-block: clamp(64px, 9vw, 130px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--burgundy); --fg: var(--ivory);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(139,62,61,.7); }
.btn:active { transform: translateY(-1px); }
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(31,31,31,.22); }
.btn--ghost:hover { border-color: var(--burgundy); color: var(--burgundy); box-shadow: none; transform: translateY(-3px); }
.btn--gold { --bg: var(--gold); --fg: #3a2c12; }
.btn--cream { --bg: var(--cream); --fg: var(--burgundy-deep); }
.btn--ondark { --bg: var(--ivory); --fg: var(--burgundy-deep); }
.btn--onghost-dark { --bg: transparent; --fg: var(--ivory); border-color: rgba(248,246,242,.4); }
.btn--onghost-dark:hover { border-color: var(--ivory); color: var(--ivory); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn[disabled] { cursor: not-allowed; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- image placeholders (swap for real <img>) ----------
   Production replacement for the prototype's <image-slot>. Empty-state
   shows the descriptive caption so the layout reads intentionally before
   photos are added. To add a photo: replace the .imgslot element with
   <img class="imgfill" src="assets/your-photo.jpg" alt="..."> (or set a
   background-image on the .imgslot). */
.imgslot {
  display: grid; place-items: center; text-align: center;
  background: var(--cream-soft); color: var(--burgundy-deep);
  border-radius: var(--radius); overflow: hidden;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; padding: 18px;
  position: relative;
}
.imgslot::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(110,46,45,.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(110,46,45,.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.imgslot span { position: relative; max-width: 22ch; opacity: .72; }
.imgfill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 20px;
}
.nav__row { display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.nav__word { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .005em; line-height: 1; white-space: nowrap; }
.nav__word small { display:block; font-family: var(--font-body); font-weight:600; font-size: 9.5px; letter-spacing:.32em; text-transform:uppercase; opacity:.7; margin-top:3px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14.5px; font-weight: 500; position: relative; padding-block: 6px; }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px; background: var(--gold); transition: right .3s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav--light { color: var(--ivory); }
.nav--light .nav__word small { color: var(--cream); }
.nav--solid {
  background: rgba(248,246,242,.92); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(31,31,31,.07), var(--shadow-sm);
  padding-block: 12px; color: var(--ink);
}
.nav--solid .nav__word small { color: var(--ink-2); }

.nav__burger { display:none; width:44px; height:44px; border:none; background:transparent; flex-direction: column; gap:5px; align-items:center; justify-content:center; }
.nav__burger span { width:24px; height:2px; background: currentColor; border-radius:2px; transition: .3s var(--ease); }

.nav__mobile {
  position: fixed; inset: 0; z-index: 70;
  background: var(--burgundy-deep); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.nav__mobile.open { transform: none; }
.nav__mobile a { font-family: var(--font-head); font-size: clamp(28px, 8vw, 44px); padding-block: 8px; }
.nav__mobile .btn { margin-top: 24px; align-self: flex-start; }
.nav__close { position:absolute; top: 22px; right: var(--gutter); width:44px;height:44px; background:none;border:none;color:var(--ivory); font-size: 30px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ===================== HERO (shared) ===================== */
.hero { position: relative; isolation: isolate; }
.hero__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; opacity: .75;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__cue i { width:1px; height:34px; background: currentColor; animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0%{transform:scaleY(0);opacity:0} 40%{opacity:1} 100%{transform:scaleY(1);opacity:0} }

.hero__h1 { font-size: clamp(40px, 7.2vw, 92px); }
.hero__sub { font-family: var(--font-head); font-style: italic; font-size: clamp(20px,2.4vw,30px); }
.hero__support { font-size: clamp(15px,1.3vw,18.5px); max-width: 46ch; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- editorial variant (shipping default) --- */
.hero--editorial { min-height: 100svh; display: flex; align-items: flex-end; color: var(--ivory); }
.hero--editorial .hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero--editorial .hero__bg .imgslot {
  width: 100%; height: 100%; border-radius: 0; color: rgba(248,246,242,.8);
  background: radial-gradient(120% 100% at 70% 20%, #6e2e2d 0%, #4a1f1e 55%, #2a1110 100%);
}
.hero--editorial .hero__bg .imgslot::before { display: none; }
.hero--editorial .hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,15,15,.36) 0%, rgba(31,15,15,0) 30%),
    linear-gradient(0deg, rgba(31,13,13,.86) 4%, rgba(31,13,13,.30) 42%, rgba(31,13,13,0) 70%);
}
.hero--editorial .hero__inner { padding-block: 120px 96px; max-width: 880px; }
.hero--editorial .hero__support { color: rgba(248,246,242,.86); }
.hero--editorial .eyebrow { color: var(--cream); }
.hero--editorial .eyebrow::before { background: var(--gold); }
.hero--editorial .hero__h1 { margin-top: 20px; }
.hero--editorial .hero__sub { color: var(--cream); margin: 18px 0 22px; }

/* ===================== WINE FILES FEATURE ===================== */
.wf { background: var(--burgundy-deep); color: var(--ivory); position: relative; overflow: hidden; }
.wf::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none; background: radial-gradient(80% 60% at 12% 0%, rgba(198,161,91,.20), transparent 60%); }
.wf__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(34px,5vw,80px); align-items: center; position: relative; }
.wf .eyebrow { color: var(--gold-soft); }
.wf .eyebrow::before { background: var(--gold); }
.wf h2 { font-size: clamp(34px,4.6vw,62px); margin: 18px 0 18px; }
.wf__lead { font-size: clamp(16px,1.4vw,19px); color: rgba(248,246,242,.84); max-width: 46ch; }
.wf__roadmap { display:flex; flex-wrap:wrap; gap:10px; margin: 26px 0 30px; }
.chip { font-size: 12.5px; font-weight:600; letter-spacing:.04em; padding: 8px 15px; border-radius: var(--radius-pill); border: 1px solid rgba(248,246,242,.26); color: rgba(248,246,242,.9); }
.chip--soon { opacity:.62; }
.chip--soon::after { content:" · soon"; color: var(--gold-soft); }

.wf__collage { position: relative; min-height: 440px; }
.wf__collage .imgslot { position:absolute; box-shadow: var(--shadow-lg); border:1px solid rgba(248,246,242,.12); }
.wf__shot1 { width: 62%; height: 320px; top: 0; right: 0; border-radius: 20px; }
.wf__shot2 { width: 50%; height: 240px; left: 0; bottom: 12px; border-radius: 18px; z-index: 2; }
.wf__char {
  position:absolute; left: 44%; bottom: -10px; z-index: 3;
  background: var(--cream); color: var(--charcoal); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display:flex; align-items:center; gap:11px; max-width: 230px;
}
.wf__char .imgslot { position: static; width:44px;height:44px;border-radius:50%; flex:none; box-shadow:none; font-size:9px; padding:4px; }
.wf__char b { display:block; font-size:13.5px; }
.wf__char span { font-size: 11.5px; color: var(--ink-2); }

@media (max-width: 880px) {
  .wf__grid { grid-template-columns: 1fr; }
  .wf__collage { min-height: 380px; margin-top: 8px; }
}

/* ===================== WHAT YOU'LL FIND ===================== */
.find { background: var(--ivory); }
.find__head { display:flex; align-items:flex-end; justify-content:space-between; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; }
.find__head h2 { font-size: clamp(30px,4vw,52px); max-width: 16ch; }
.find__head p { color: var(--ink-2); max-width: 40ch; }
.find__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: #fff; border: 1px solid rgba(31,31,31,.07); border-radius: var(--radius);
  padding: 30px 28px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden; min-height: 220px; display:flex; flex-direction: column;
  text-align: left; color: inherit; font: inherit; width: 100%;
}
button.fcard { cursor: pointer; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fcard__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--cream-soft); display:grid; place-items:center; color: var(--burgundy); margin-bottom: 20px; transition: background .4s, color .4s; }
.fcard:hover .fcard__ic { background: var(--burgundy); color: var(--cream); }
.fcard h3 { font-size: 23px; margin-bottom: 7px; }
.fcard p { font-size: 14px; color: var(--ink-2); }
.fcard__go { margin-top: auto; padding-top: 18px; font-size: 12.5px; font-weight:600; letter-spacing:.04em; color: var(--burgundy); display:flex; align-items:center; gap:7px; opacity:0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.fcard:hover .fcard__go { opacity:1; transform:none; }
.fcard--feature { background: var(--burgundy); color: var(--ivory); }
.fcard--feature h3, .fcard--feature .fcard__go { color: var(--cream); }
.fcard--feature p { color: rgba(248,246,242,.82); }
.fcard--feature .fcard__ic { background: rgba(248,246,242,.14); color: var(--cream); }
.fcard--feature:hover .fcard__ic { background: var(--gold); color:#3a2c12; }

@media (max-width: 820px) { .find__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .find__grid { grid-template-columns: 1fr; } }

/* ===================== FEATURED CONTENT ===================== */
.feat { background: var(--cream-soft); }
.feat__head { text-align:center; margin-bottom: 50px; }
.feat__head h2 { font-size: clamp(30px,4vw,52px); margin-top: 14px; }
.feat__grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.acard { background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display:flex; flex-direction:column; }
.acard:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.acard .imgslot { width:100%; height: 210px; border-radius:0; }
.acard__body { padding: 22px 22px 26px; display:flex; flex-direction:column; flex:1; }
.acard__meta { display:flex; gap: 10px; align-items:center; font-size: 11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color: var(--burgundy); margin-bottom: 12px; }
.acard__meta .dot { width:3px;height:3px;border-radius:50%;background:var(--gold); }
.acard__meta .t { color: var(--ink-2); font-weight:500; letter-spacing:.04em; }
.acard h3 { font-size: 21px; line-height:1.18; }
.acard__link { margin-top: auto; padding-top: 18px; font-size:12.5px;font-weight:600;color:var(--burgundy); display:flex; align-items:center; gap:7px; }
.acard__wrap { position: relative; }
.acard__badge { position:absolute; top:14px; left:14px; z-index:2; background: rgba(31,15,15,.7); color:var(--ivory); backdrop-filter: blur(6px); font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase; padding:6px 12px;border-radius: var(--radius-pill); }
@media (max-width: 820px) { .feat__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }

/* ===================== ABOUT ===================== */
.about { background: var(--ivory); }
.about__grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px,6vw,84px); align-items:center; }
.about__media { position: relative; }
.about__media .imgslot { width:100%; height: clamp(360px,46vw,520px); border-radius: 22px; }
.about__media .badge { position:absolute; bottom: -22px; right: -10px; background: var(--gold); color:#3a2c12; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 200px; }
.about__media .badge b { font-family: var(--font-head); font-size: 30px; display:block; line-height:1; }
.about__media .badge span { font-size: 11.5px; font-weight:600; letter-spacing:.04em; }
.about h2 { font-size: clamp(30px,4.4vw,58px); margin: 16px 0 20px; }
.about__body { font-size: clamp(15px,1.3vw,18px); color: var(--ink-2); }
.about__body p + p { margin-top: 16px; }
.about__sign { margin-top: 26px; display:flex; align-items:baseline; gap: 14px; flex-wrap: wrap; }
.about__sign .nm { font-family: var(--font-head); font-style: italic; font-size: 26px; color: var(--burgundy); white-space: nowrap; }
.about__sign .rl { font-size: 12.5px; color: var(--ink-2); letter-spacing:.04em; }
.about__cta { margin-top: 30px; }
@media (max-width: 840px) { .about__grid { grid-template-columns: 1fr; } .about__media .badge{ right: 10px; } }

/* ===================== PRESS STRIP ===================== */
.press { background: var(--ivory); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(31,31,31,.08); }
.press__inner { display:flex; align-items:center; gap: clamp(20px,4vw,54px); flex-wrap: wrap; justify-content: center; text-align: center; }
.press__label { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.press__items { display:flex; align-items:center; gap: clamp(18px,3vw,40px); flex-wrap: wrap; justify-content: center; }
.press__item { display:flex; flex-direction: column; gap: 4px; align-items: center; max-width: 30ch; }
.press__item .o { font-family: var(--font-head); font-size: 19px; color: var(--burgundy); }
.press__item .q { font-size: 12.5px; color: var(--ink-2); display:inline-flex; align-items:center; gap:6px; }
.press__item .q .ar { transition: transform .3s var(--ease); }
.press__item:hover .o { color: var(--burgundy-deep); }
.press__item:hover .q .ar { transform: translateX(3px); }

/* ===================== SOMMELIER TEASER ===================== */
.somm { background: var(--green); color: var(--ivory); position: relative; }
.somm__grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items:center; }
.somm .eyebrow { color: var(--cream); }
.somm .eyebrow::before { background: var(--gold); }
.somm h2 { font-size: clamp(30px,4.2vw,54px); margin: 16px 0 16px; }
.somm__lead { color: rgba(248,246,242,.86); font-size: clamp(15px,1.3vw,18px); max-width: 42ch; }
.somm__list { list-style:none; padding:0; margin: 24px 0 30px; display:grid; gap: 12px; }
.somm__list li { display:flex; gap:12px; align-items:flex-start; font-size:15px; }
.somm__list i { width:22px;height:22px;border-radius:50%;background:rgba(248,246,242,.16); flex:none; display:grid;place-items:center; margin-top:1px; color: var(--gold-soft); font-style:normal; font-size: 12px; }
.chat { background: var(--ivory); color: var(--charcoal); border-radius: 22px; box-shadow: var(--shadow-lg); overflow:hidden; }
.chat__bar { display:flex; align-items:center; gap:10px; padding: 16px 20px; border-bottom:1px solid rgba(31,31,31,.08); }
.chat__bar .av { width:34px;height:34px;border-radius:50%; background: var(--burgundy); color:var(--ivory); display:grid;place-items:center; font-family:var(--font-head); font-weight:700; font-size:16px; }
.chat__bar b { font-size: 14.5px; }
.chat__bar span { font-size: 11.5px; color: var(--green); display:flex;align-items:center;gap:6px; }
.chat__bar span::before { content:""; width:7px;height:7px;border-radius:50%; background: var(--green); }
.chat__body { padding: 22px 20px; display:grid; gap: 14px; }
.bubble { max-width: 84%; padding: 13px 16px; border-radius: 16px; font-size: 14px; line-height:1.5; }
.bubble--q { background: var(--cream-soft); border-bottom-right-radius: 5px; justify-self:end; }
.bubble--a { background: var(--burgundy); color: var(--ivory); border-bottom-left-radius: 5px; }
.bubble--a b { color: var(--gold-soft); }
.chat__input { display:flex; gap:10px; padding: 14px 16px; border-top:1px solid rgba(31,31,31,.08); align-items:center; }
.chat__input .fake { flex:1; background: var(--ivory); border:1px solid rgba(31,31,31,.12); border-radius: var(--radius-pill); padding: 11px 16px; font-size:13.5px; color: var(--ink-2); }
.chat__input .send { width:42px;height:42px;border-radius:50%; background: var(--burgundy); color:var(--ivory); border:none; display:grid;place-items:center; }
.somm__soon { position:absolute; top: 22px; right: var(--gutter); font-size:11px;font-weight:600; letter-spacing:.18em; text-transform:uppercase; color: var(--cream); border:1px solid rgba(248,246,242,.4); padding:7px 14px; border-radius: var(--radius-pill); }
@media (max-width: 840px) { .somm__grid { grid-template-columns: 1fr; } }

/* ===================== NEWSLETTER ===================== */
.news { background: var(--burgundy); color: var(--ivory); text-align:center; }
.news__inner { max-width: 660px; margin-inline:auto; }
.news .eyebrow { color: var(--gold-soft); justify-content:center; }
.news h2 { font-size: clamp(32px,4.6vw,60px); margin: 16px 0 14px; }
.news p { color: rgba(248,246,242,.84); font-size: clamp(15px,1.3vw,18px); }
.news__form { display:flex; gap: 10px; margin-top: 30px; background: rgba(248,246,242,.1); padding: 8px; border-radius: var(--radius-pill); border:1px solid rgba(248,246,242,.2); }
.news__form input[type=email] { flex:1; background:transparent; border:none; outline:none; color: var(--ivory); font-size: 15px; padding: 12px 20px; font-family: var(--font-body); }
.news__form input::placeholder { color: rgba(248,246,242,.6); }
.news__ok { margin-top: 24px; font-family: var(--font-head); font-style:italic; font-size: 22px; color: var(--cream); }
.news__fine { margin-top: 16px; font-size: 12px; color: rgba(248,246,242,.6); min-height: 1em; }
.news__fine.err { color: #f1c0b8; }
/* honeypot — hidden from humans, catches bots */
.news__hp { position:absolute !important; left:-9999px !important; width:1px;height:1px;overflow:hidden; }
@media (max-width: 560px) { .news__form { flex-direction: column; border-radius: 20px; } .news__form .btn{justify-content:center;} }

/* ===================== FOOTER ===================== */
.foot { background: var(--charcoal); color: rgba(248,246,242,.78); padding-block: 64px 34px; }
.foot__top { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot__brand .nav__word { color: var(--ivory); }
.foot__brand p { font-size: 13.5px; margin-top: 14px; max-width: 30ch; }
.foot__social { display:flex; gap: 10px; margin-top: 20px; }
.foot__social a { width:38px;height:38px;border-radius:50%; border:1px solid rgba(248,246,242,.2); display:grid;place-items:center; color: var(--ivory); transition:.3s var(--ease); }
.foot__social a svg { width:17px; height:17px; display:block; }
.foot__social a:hover { background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-3px); }
.foot__col h4 { font-family: var(--font-body); font-size: 12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.foot__col a { display:block; font-size: 14px; padding-block: 6px; transition: color .25s, padding-left .25s; }
.foot__col a:hover { color: var(--ivory); padding-left: 5px; }
.foot__bottom { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top: 48px; padding-top: 24px; border-top:1px solid rgba(248,246,242,.12); font-size:12.5px; color: rgba(248,246,242,.55); }
@media (max-width: 760px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand{grid-column:1/-1;} }

/* ============================================================
   THE WINE FILES — playable demo modal
   ============================================================ */
.gm__overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,8,8,.62); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px;
  animation: gmfade .3s var(--ease);
}
@keyframes gmfade { from { opacity: 0; } }
.gm {
  width: min(680px, 100%); max-height: 92vh; overflow: auto;
  background: linear-gradient(180deg, #5d2625, var(--burgundy-deep));
  color: var(--ivory); border-radius: 24px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(198,161,91,.4); animation: gmrise .45s var(--ease);
}
@keyframes gmrise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.gm__head { display:flex; align-items:center; gap: 14px; padding: 22px 26px 0; }
.gm__head .badge { font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase; color:#3a2c12; background: var(--gold); padding:6px 12px; border-radius: var(--radius-pill); }
.gm__head .file { font-size: 12.5px; letter-spacing:.16em; text-transform:uppercase; color: var(--gold-soft); }
.gm__x { margin-left:auto; width:38px;height:38px;border-radius:50%; background: rgba(248,246,242,.12); border:none; color:var(--ivory); font-size:20px; display:grid;place-items:center; transition:.25s; }
.gm__x:hover { background: rgba(248,246,242,.24); }
.gm__body { padding: 22px 26px 28px; }
.gm__loc { font-size: 12.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-soft); display:flex; align-items:center; gap:8px; margin-bottom: 10px; }
.gm__loc::before { content:""; width:6px;height:6px;border-radius:50%; background:var(--gold); }
.gm h3 { font-size: clamp(26px,4vw,38px); line-height: 1.05; }
.gm__setup { color: rgba(248,246,242,.85); font-size: 15.5px; margin-top: 14px; max-width: 52ch; }
.gm__progress { display:flex; gap:7px; margin: 22px 0; }
.gm__progress i { height:4px; flex:1; border-radius:3px; background: rgba(248,246,242,.18); transition:.4s var(--ease); }
.gm__progress i.on { background: var(--gold); }
.gm__clues { display:grid; gap: 12px; }
.clue { text-align:left; width:100%; background: rgba(248,246,242,.07); border:1px solid rgba(248,246,242,.16); border-radius: 14px; padding: 16px 18px; color: var(--ivory); display:flex; gap: 14px; align-items:center; transition: .3s var(--ease); }
.clue:not(.revealed):hover { background: rgba(248,246,242,.13); transform: translateX(3px); }
.clue__n { width:30px;height:30px;border-radius:8px; background: rgba(198,161,91,.22); color: var(--gold-soft); display:grid;place-items:center; font-weight:700; font-size:14px; flex:none; }
.clue__lab { font-size: 13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.clue__txt { display:block; font-size: 13.5px; color: rgba(248,246,242,.82); margin-top:3px; font-family: var(--font-head); font-style: italic; }
.clue.revealed { background: rgba(198,161,91,.12); border-color: rgba(198,161,91,.4); }
.clue.revealed .clue__n { background: var(--gold); color: #3a2c12; }
.clue__hint { margin-left:auto; font-size: 12px; color: var(--gold-soft); white-space:nowrap; }
.gm__suspects { display:grid; gap: 12px; }
.suspect { text-align:left; width:100%; background: rgba(248,246,242,.06); border:1.5px solid rgba(248,246,242,.16); border-radius: 14px; padding: 15px 18px; color: var(--ivory); transition:.25s var(--ease); cursor:pointer; }
.suspect:hover { border-color: var(--gold-soft); background: rgba(248,246,242,.11); }
.suspect b { font-family: var(--font-head); font-size: 19px; }
.suspect span { display:block; font-size: 12.5px; color: rgba(248,246,242,.7); margin-top: 3px; }
.suspect.right { border-color: #7faf6e; background: rgba(80,100,74,.32); }
.suspect.wrong { border-color: #c98; background: rgba(160,80,70,.28); opacity:.85; }
.gm__verdict { text-align:center; padding: 6px 0; }
.gm__verdict .seal { width:74px;height:74px;border-radius:50%; margin: 0 auto 16px; display:grid;place-items:center; font-family: var(--font-head); font-size: 34px; font-weight:700; }
.seal--win { background: var(--gold); color:#3a2c12; }
.seal--lose { background: rgba(248,246,242,.16); color: var(--cream); }
.gm__verdict h3 { margin-bottom: 10px; }
.gm__verdict p { color: rgba(248,246,242,.86); font-size: 15px; max-width: 46ch; margin: 0 auto; }
.gm__actions { display:flex; gap: 12px; flex-wrap:wrap; margin-top: 24px; }
.gm__note { margin-top: 14px; font-size: 12px; color: rgba(248,246,242,.55); text-align:center; }
