:root {
  --bg: #060508;
  --bg-soft: #0e0c12;
  --surface: #14111a;
  --surface-hover: #1a1622;
  --text: #f4efe6;
  --text-soft: #b8b0a8;
  --gold: #c4a574;
  --gold-bright: #e8d4a8;
  --gold-dim: rgba(196, 165, 116, 0.25);
  --burgundy: #3d1824;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(61, 24, 36, 0.5), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(196, 165, 116, 0.06), transparent 45%);
}

.wrap {
  width: min(72rem, 100% - 3rem);
  margin-inline: auto;
}
.wrap.narrow { width: min(40rem, 100% - 3rem); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 5, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-dim);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(72rem, 100% - 2rem);
  margin: 0 auto;
  padding: 1rem 0 0.65rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
}

.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.logo-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold-bright); }

.nav-cta {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta:hover {
  background: rgba(196, 165, 116, 0.12);
  color: var(--gold-bright);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--gold-dim);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gold-dim);
  background: rgba(6, 5, 8, 0.95);
  padding: 0.5rem 1.25rem 1.25rem;
}

.nav-panel[hidden] { display: none; }

.nav-panel a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(196, 165, 116, 0.12);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-panel a:hover { color: var(--gold-bright); }

.nav-panel-cta {
  margin-top: 0.75rem;
  text-align: center;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.85rem !important;
}

.header-ribbon {
  margin: 0;
  padding: 0.5rem 1rem 0.65rem;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-cta { display: inline-flex; align-items: center; }
  .nav-toggle { display: none; }
  .nav-panel { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  /* Decorative only — never intercept hero CTAs */
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 5, 8, 0.35) 0%, rgba(6, 5, 8, 0.15) 40%, rgba(6, 5, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 5, 8, 0.7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(72rem, 100% - 3rem);
  margin: 0 auto;
  padding: 8rem 0 4.5rem;
  pointer-events: auto;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-deck {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--text-soft);
  font-weight: 300;
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  pointer-events: auto;
}

/* Hero CTAs — full opacity, solid enough to read on video */
.hero-actions .btn {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

.hero-actions .btn-gold {
  background: rgba(196, 165, 116, 0.22);
  color: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  box-shadow:
    0 0 0 1px rgba(6, 5, 8, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero-actions .btn-gold:hover {
  background: rgba(196, 165, 116, 0.38);
  border-color: #f0e2c0;
  color: #faf6ef;
}

.hero-actions .btn-ghost {
  background: rgba(6, 5, 8, 0.55);
  color: #f4efe6;
  border: 1px solid rgba(244, 239, 230, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero-actions .btn-ghost:hover {
  background: rgba(6, 5, 8, 0.72);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* Buttons — matte gold border, no gradient */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: rgba(196, 165, 116, 0.1);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(244, 239, 230, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-line {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  font-size: 0.65rem;
}

.btn-line:hover {
  background: rgba(196, 165, 116, 0.08);
  border-color: var(--gold);
}

.btn-full { width: 100%; }

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
}

.section-deck {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-weight: 300;
}

/* Doctrine */
.doctrine {
  background: var(--bg-soft);
  border-block: 1px solid var(--gold-dim);
}

.doctrine-quote {
  margin: 0;
  text-align: center;
}

.doctrine-quote p {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-soft);
}

.doctrine-closer {
  margin-top: 1.5rem !important;
  color: var(--gold-bright) !important;
  font-size: clamp(1.25rem, 3vw, 1.65rem) !important;
  font-style: italic;
}

/* Statement */
.statement-text {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
}

.statement-em {
  display: block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-style: italic;
}

.statement-sub {
  margin: 0;
  text-align: center;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 36rem;
  margin-inline: auto;
}

.inline-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
}

.inline-link:hover { color: var(--gold-bright); }

/* Provenance */
.provenance-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .provenance-grid { grid-template-columns: repeat(3, 1fr); }
}

.prov-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.prov-card:hover {
  background: var(--surface-hover);
  border-color: rgba(196, 165, 116, 0.45);
}

.prov-region {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.prov-meta {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.prov-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 300;
}

.ledger {
  text-align: center;
  opacity: 0.35;
}

.ledger pre {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
}

/* Products */
.products {
  display: grid;
  gap: 1px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim);
}

@media (min-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 12rem;
  padding: 2rem 1.75rem;
  background: var(--surface);
  transition: background 0.4s var(--ease);
}

.product:hover { background: var(--surface-hover); }

.product-featured {
  background: linear-gradient(145deg, var(--burgundy) 0%, var(--surface) 70%);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  padding: 0.25rem 0.5rem;
}

.product h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.product-notes {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 300;
  font-style: italic;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-dim);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
}

/* Bag */
.bag {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-soft);
  border: 1px solid var(--gold-dim);
}

.bag-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.bag-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.bag-clear {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.bag-clear:hover { color: var(--gold); }

.bag-lines {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.bag-lines li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bag-total {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bag-total strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.bag-msg {
  min-height: 1.25rem;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--gold);
  text-align: center;
}

/* Visit */
.visit {
  background: var(--bg-soft);
  text-align: center;
}

.visit-inner h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.visit-inner p {
  margin: 0 0 2rem;
  color: var(--text-soft);
  font-weight: 300;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid var(--gold-dim);
}

.footer-inner { text-align: center; }

.footer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.footer-legal {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--gold-bright); }

.footer-note {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  color: var(--text-soft);
  opacity: 0.7;
}

/* Simple pages (shipping, 404) */
.page-simple {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  text-align: center;
}

.page-simple h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.page-simple p {
  margin: 0 auto 1rem;
  max-width: 32rem;
  color: var(--text-soft);
  font-weight: 300;
}

.page-simple .btn { margin-top: 1.5rem; }

/* Reveal — fade only, no bounce */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero drift */
@keyframes hero-drift {
  0% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.08) translate3d(-1.5%, -0.8%, 0); }
  100% { transform: scale(1.05) translate3d(0, 0, 0); }
}

.hero-media img {
  animation: hero-drift 28s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Footer extras */
.footer-hours {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-contact {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
}

.footer-contact a:hover { color: var(--gold-bright); }

.footer-micro {
  margin: 1rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.45;
}

.footer-micro a {
  color: inherit;
  text-decoration: none;
}

.footer-micro a:hover { color: var(--gold); opacity: 1; }

/* King toast (easter egg) */
.king-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.85rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.king-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Menu footnotes (cafeteria) */
.menu-footnote {
  margin: 2rem auto 0;
  max-width: 36rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.55;
  text-align: left;
}

.menu-footnote ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.menu-footnote li { margin-bottom: 0.4rem; }

/* Doctrine page body */
.doctrine-page {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
}

.doctrine-page .doctrine-body {
  max-width: 36rem;
  margin: 0 auto;
}

.doctrine-page .doctrine-body p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-soft);
  margin: 0 0 1rem;
  text-align: center;
}

.doctrine-page .doctrine-body p.closer {
  color: var(--gold-bright);
  font-style: italic;
  margin-top: 1.75rem;
}

/* Print */
@media print {
  .ambient,
  .header,
  .nav-toggle,
  .nav-panel,
  .hero-scrim,
  .bag,
  .king-toast,
  .btn,
  .footer-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }

  .hero-media img {
    animation: none;
    max-height: 40vh;
    object-fit: cover;
  }

  a { color: #000; text-decoration: underline; }

  .section,
  .caf-menu,
  .page-simple {
    padding: 1rem 0;
  }
}

/* Mobile nav — scrollable panel within viewport */
@media (max-width: 767px) {
  .header {
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .header-inner,
  .header-ribbon {
    flex-shrink: 0;
  }

  .nav-panel.is-open {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(70dvh, calc(100dvh - 7.5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-panel.is-open a {
    padding: 0.85rem 0;
    flex-shrink: 0;
  }
}
