/* Pokénnoisseur — shared site styles */

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

:root {
  --cream:    #ede8dc;
  --cream-dk: #e0d9cb;
  --ink:      #1a1614;
  --ink-soft: #3d3530;
  --green:    #1a3d2b;
  --green-lt: #2a5c40;
  --red:      #7a1c1c;
  --red-lt:   #9c2626;
  --gold:     #c9a84c;
  --muted:    #8a7f74;
  --rule:     rgba(26,22,20,.14);
  --rule-strong: rgba(26,22,20,.28);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

::selection {
  background: rgba(26,61,43,.18);
  color: var(--ink);
}

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: padding .25s ease, border-color .3s, box-shadow .3s, background .3s;
}
nav.site-nav.scrolled {
  padding: 14px 56px;
  background: rgba(237,232,220,.94);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 24px rgba(26,22,20,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.nav-logo { width: 38px; height: 38px; flex-shrink: 0; transition: transform .3s ease; }
.nav-brand:hover .nav-logo { transform: rotate(-6deg); }
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink);
}
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--green);
  transition: right .35s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--green); }

.btn-nav {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--cream);
  padding: 10px 20px;
  border: 1px solid var(--ink);
  position: relative;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn-nav:hover {
  background: var(--red); border-color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.55);
}
nav.site-nav.scrolled .btn-nav {
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.3);
}
nav.site-nav.scrolled .btn-nav:hover {
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.7), 0 2px 12px rgba(122,28,28,.15);
}

/* Language toggle (injected by nav.js). Quiet text link in the nav idiom (muted, one step below
   the nav links), clustered with the CTA via .nav-cta-group rather than a foreign pill. */
.nav-lang {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  color: var(--muted);
  position: relative; padding-bottom: 4px;
  transition: color .2s;
}
.nav-lang::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--muted);
  transition: right .35s ease;
}
.nav-lang:hover { color: var(--ink-soft); }
.nav-lang:hover::after { right: 0; }
/* Right-hand cluster: toggle sits just left of the CTA with a controlled gap. */
.nav-cta-group { display: flex; align-items: center; gap: 18px; }

/* ── Law 25 consent banner (injected by consent.js, Quebec only) ── */
.pk-consent-backdrop {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(26,22,20,.5);
}
.pk-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--cream); border-top: 1px solid var(--rule-strong);
  box-shadow: 0 -2px 16px rgba(26,22,20,.1);
}
.pk-consent-inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.pk-consent-text { flex: 1; min-width: 260px; font-family: 'Cormorant Garamond', serif; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.pk-consent-text a { color: var(--green); }
.pk-consent-actions, .pk-consent-custom-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pk-consent-custom { flex-basis: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.pk-consent-custom[hidden], .pk-consent-actions[hidden] { display: none; } /* attribute selector outranks the display:flex rules above so [hidden] is honoured */
.pk-consent-opt { display: flex; gap: 10px; align-items: flex-start; font-family: 'DM Mono', monospace; font-size: 12px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.pk-consent-opt input { margin-top: 3px; }
.pk-btn {
  font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; padding: 10px 16px; border-radius: 2px;
  transition: background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.pk-btn.pk-primary { background: var(--green); color: var(--cream); border: 1px solid var(--green); }
.pk-btn.pk-primary:hover { background: var(--green-lt); border-color: var(--green-lt); }
.pk-btn.pk-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.pk-btn.pk-ghost:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 620px) { .pk-consent-inner { padding: 14px 18px; } .pk-consent-actions, .pk-consent-custom-actions { width: 100%; } .pk-btn { flex: 1; text-align: center; } }

/* ── MOBILE NAV (hamburger) ── */
/* Wrapper is transparent on desktop: nav-links + btn-nav stay direct flex items. */
.nav-menu { display: contents; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 30px; height: 30px; padding: 0;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
}
nav.site-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.site-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.site-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── LAUNCH PROMO BANNER (remove after 2026-07-31) ── */
.promo-banner {
  /* sits in-flow below the fixed .site-nav (~82px tall) */
  margin: 82px 0 0; padding: 14px 56px;
  background: rgba(122,28,28,.08);
  border-left: 4px solid var(--red);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px; font-style: italic; font-weight: 500; line-height: 1.5;
  color: var(--ink); text-align: center;
}
.promo-banner a {
  color: var(--red); font-weight: 700; font-style: normal;
  text-decoration: underline; text-underline-offset: 2px;
}
.promo-banner a:hover { color: var(--red-lt); }
@media (max-width: 720px) {
  .promo-banner { padding: 12px 24px; font-size: 16px; text-align: left; }
}

/* ── LOGO LIQUID ANIMATION ── */
.wine-body  { transform-origin: 40px 40px; animation: wineSwish 4.2s ease-in-out infinite; }
.wine-shine { transform-origin: 40px 40px; animation: wineSwish 4.2s ease-in-out infinite; }
@keyframes wineSwish {
  0%, 100% { transform: rotate(-7deg); }
  50%      { transform: rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wine-body, .wine-shine { animation: none; }
  nav.site-nav, .btn-nav, .nav-links a::after,
  .nav-toggle span, .nav-menu { transition: none; }
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--cream);
  padding: 16px 34px;
  border: 1.5px solid var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  position: relative;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.btn-primary::after {
  content: '→';
  font-family: 'DM Mono', monospace;
  display: inline-block;
  transform: translateX(0);
  transition: transform .3s ease, color .25s;
  color: rgba(237,232,220,.7);
}
.btn-primary:hover {
  background: var(--red); border-color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.5);
}
.btn-primary:hover::after { transform: translateX(4px); color: var(--gold); }

.btn-ghost {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink);
  padding: 16px 4px;
  display: inline-flex; align-items: center; gap: 12px;
  position: relative;
  transition: color .25s;
}
.btn-ghost::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 8px;
  height: 1px; background: var(--green);
  transition: right .4s cubic-bezier(.6,.05,.2,1);
}
.btn-ghost:hover { color: var(--green); }
.btn-ghost:hover::after { right: 0; }

/* ── SHARED ORNAMENTAL DIVIDER ── */
.ornament-rule {
  display: flex; align-items: center; gap: 24px;
  padding: 0 56px;
  max-width: 1280px; margin: 0 auto;
}
.ornament-rule .line { flex: 1; height: 1px; background: var(--rule); }
.ornament-rule .mark {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px; letter-spacing: .04em;
  color: var(--muted);
}
.ornament-rule .mark svg { width: 22px; height: 10px; color: var(--red); opacity: .7; }

/* ── ARTICLE PAGE LAYOUT ── */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 160px 32px 120px;
}
.article .eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.article .eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--red); opacity: .65;
}
.article h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 300; line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 44px;
  text-wrap: pretty;
}
.article h1 em { font-style: italic; color: var(--green); font-weight: 300; }
.article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500;
  margin: 64px 0 18px;
  color: var(--ink);
  letter-spacing: -.005em;
}
.article h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  margin: 40px 0 12px;
  color: var(--ink);
}
.article p {
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 22px;
  text-wrap: pretty;
}
.article p.lead {
  font-size: 22px; color: var(--ink); font-weight: 400;
  line-height: 1.6;
  margin-bottom: 28px;
}
.article ul, .article ol {
  margin: 0 0 22px 24px;
  color: var(--ink-soft);
}
.article li {
  font-size: 17px; line-height: 1.78;
  margin-bottom: 10px;
}
.article a:not(.btn-primary):not(.btn-ghost) {
  color: var(--green);
  text-decoration: none;
  background-image: linear-gradient(var(--green), var(--green));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  padding-bottom: 1px;
  transition: background-size .3s ease;
}
.article a:not(.btn-primary):not(.btn-ghost):hover {
  background-size: 100% 2px;
}
.article hr {
  border: none; border-top: 1px solid var(--rule);
  margin: 64px 0;
}
.article .byline {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 40px; display: flex; gap: 16px;
}
.article blockquote {
  border-left: 2px solid var(--green);
  padding-left: 22px;
  margin: 36px 0;
  font-style: italic;
  color: var(--ink);
  font-size: 20px;
}
.article code {
  font-family: 'DM Mono', monospace; font-size: 14px;
  background: rgba(26,22,20,.06); padding: 2px 6px; border-radius: 2px;
}

/* ── FOOTER CTA + FOOTER ── */
.footer-cta {
  padding: 140px 56px;
  text-align: center;
  border-top: 1px solid var(--rule);
  background: var(--ink);
}
.footer-cta .eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  color: rgba(237,232,220,.35); margin-bottom: 24px;
}
.footer-cta .eyebrow::before,
.footer-cta .eyebrow::after {
  content: ''; width: 18px; height: 1px; background: var(--red); opacity: .55;
}
.footer-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300; color: var(--cream);
  margin-bottom: 20px; line-height: 1.1;
}
.footer-cta h2 em { font-style: italic; color: #6aa884; }

footer.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(237,232,220,.06);
  padding: 36px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
footer.site-footer .nav-wordmark { color: rgba(237,232,220,.34); font-size: 15px; }
footer.site-footer .disclosure,
footer.site-footer .copy {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,232,220,.52);
}
footer.site-footer .disclosure {
  max-width: 480px; text-align: center;
  font-style: normal;
}
footer.site-footer .disclosure .disclosure-link {
  color: rgba(237,232,220,.82);
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}
footer.site-footer .disclosure .disclosure-link:hover { color: #ede8dc; }
footer.site-footer .footer-links {
  display: flex; gap: 22px; list-style: none;
}
footer.site-footer .footer-links a {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237,232,220,.45); text-decoration: none;
  position: relative;
  transition: color .2s;
}
footer.site-footer .footer-links a:hover { color: var(--cream); }

/* ── ACCESS FORM ── */
.access-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}
.access-form .field {
  position: relative;
  display: block;
}
.access-form .field-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237,232,220,.45);
  margin-bottom: 10px;
  transition: color .25s;
}
.access-form .field-label em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; text-transform: none;
  font-size: 13px; letter-spacing: .02em;
  color: rgba(237,232,220,.32);
  margin-left: 6px;
}
.access-form input[type="text"],
.access-form input[type="email"],
.access-form textarea {
  width: 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--cream);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237,232,220,.2);
  padding: 8px 0 12px;
  outline: none;
  transition: border-color .25s;
}
.access-form input::placeholder,
.access-form textarea::placeholder {
  color: rgba(237,232,220,.32);
  font-style: italic;
}
.access-form textarea {
  resize: vertical;
  min-height: 64px;
  line-height: 1.6;
}
/* Animated underline that grows on focus */
.access-form .field-rule {
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .45s cubic-bezier(.6,.05,.2,1);
  pointer-events: none;
}
.access-form .field:focus-within .field-rule { right: 0; }
.access-form .field:focus-within .field-label { color: rgba(237,232,220,.85); }

/* Chip group — single-select, optional */
.access-form .chip-group {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 4px;
}
.access-form .chip {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237,232,220,.7);
  background: transparent;
  border: 1px solid rgba(237,232,220,.22);
  padding: 8px 14px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.access-form .chip:hover { color: var(--cream); border-color: rgba(237,232,220,.42); }
.access-form .chip[aria-checked="true"] {
  color: var(--cream);
  border-color: rgba(201,168,76,.7);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.5);
}

.access-form button[type="submit"] {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase;
  background: transparent; color: var(--cream);
  padding: 16px 32px;
  border: 1.5px solid rgba(237,232,220,.32);
  cursor: pointer;
  position: relative;
  align-self: flex-start;
  margin-top: 8px;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
  display: inline-flex; align-items: center; gap: 14px;
  min-width: 180px;
  justify-content: center;
}
.access-form button[type="submit"]:hover:not(:disabled) {
  background: var(--cream); color: var(--ink); border-color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.access-form button[type="submit"]:disabled { cursor: progress; }
.access-form button[type="submit"] .btn-label { transition: opacity .2s; }
.access-form button[type="submit"] .btn-dots {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; gap: 5px;
  opacity: 0; transition: opacity .2s;
}
.access-form button[type="submit"] .btn-dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.access-form button[type="submit"] .btn-dots span:nth-child(2) { animation-delay: .2s; }
.access-form button[type="submit"] .btn-dots span:nth-child(3) { animation-delay: .4s; }
.access-form button[type="submit"].is-loading .btn-label { opacity: 0; }
.access-form button[type="submit"].is-loading .btn-dots { opacity: 1; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: .3; transform: scale(.8); }
  40%           { opacity: 1;  transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .access-form button[type="submit"] .btn-dots span { animation: none; opacity: .6; }
}

.access-form .form-msg {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase;
  min-height: 14px;
  margin-top: -8px;
  text-align: left;
}
.access-form .form-msg.error   { color: #d96565; }
.access-form .form-msg.success { color: #6aa884; }

/* Success block — fuller acknowledgement */
.form-success {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 0;
  text-align: center;
  animation: fadeUp .6s ease both;
}
.form-success .success-flourish {
  display: flex; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}
.form-success .success-flourish svg { width: 60px; height: 16px; }
.form-success .success-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.form-success .success-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: #6aa884;
  font-style: italic;
}
.form-success .success-note em { font-style: italic; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-success { animation: none; }
}

/* ── MOBILE ── */
@media (max-width: 880px) {
  nav.site-nav,
  nav.site-nav.scrolled { padding: 14px 24px; }
  .nav-wordmark { font-size: 17px; }

  .nav-toggle { display: flex; }

  /* Dropdown panel below the fixed bar */
  .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 24px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 22px 24px 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 28px rgba(26,22,20,.10);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  nav.site-nav.menu-open .nav-menu {
    opacity: 1; transform: none; pointer-events: auto;
  }
  .nav-menu .nav-links {
    flex-direction: column; align-items: flex-start; gap: 22px;
  }
  .nav-menu .nav-links a { font-size: 12px; padding-bottom: 2px; }
  .nav-menu .btn-nav { text-align: center; padding: 13px 20px; }
  /* In the dropdown the cluster stacks; the toggle reads as a nav-link-scale row item. */
  .nav-menu .nav-cta-group { flex-direction: column; align-items: stretch; gap: 24px; }
  .nav-menu .nav-lang { font-size: 12px; color: var(--ink-soft); align-self: flex-start; padding-bottom: 2px; }
  .nav-menu .nav-lang::after { display: none; }

  .ornament-rule { padding: 0 24px; }

  .article { padding: 120px 24px 80px; }
  .article h2 { margin-top: 48px; }

  .footer-cta { padding: 96px 24px; }

  footer.site-footer {
    flex-direction: column; gap: 18px; text-align: center; padding: 36px 24px;
  }
  footer.site-footer .disclosure { text-align: center; }

  .access-form button[type="submit"] { width: 100%; align-self: stretch; }
}
</content>
</invoke>