﻿:root {
  --ink: #151515;
  --charcoal: #211d19;
  --paper: #f7f1e6;
  --ivory: #fffaf0;
  --gold: #cf9f42;
  --red: #8b1e2f;
  --sage: #d7dfd1;
  --line: rgba(21, 21, 21, 0.15);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.55; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.age-toggle { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.age-toggle:checked + .age-gate { display: none; }
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; min-height: 100dvh; padding: 22px; background: rgba(14, 13, 12, 0.92); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.age-gate.hidden { display: none; }
.age-panel { width: min(480px, 100%); padding: 30px; border: 1px solid rgba(207, 159, 66, 0.45); border-radius: 8px; background: var(--ivory); text-align: center; box-shadow: var(--shadow); }
.age-panel img { width: 180px; height: 100px; margin: 0 auto 12px; object-fit: contain; }
.age-panel h1 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; }
.age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 78px; padding: 12px clamp(18px, 4vw, 56px); color: var(--ivory); transition: background 0.2s ease, border-color 0.2s ease; }
.site-header.scrolled { background: rgba(21, 21, 21, 0.94); border-bottom: 1px solid rgba(255, 250, 240, 0.13); }
.brand img { width: 132px; height: 54px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; text-transform: uppercase; }
.site-nav a { color: rgba(255, 250, 240, 0.9); text-decoration: none; }
.site-nav a:hover { color: var(--gold); }
.language-switcher { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(255, 250, 240, 0.24); border-radius: 8px; background: rgba(0, 0, 0, 0.18); }
.language-option { min-width: 38px; min-height: 34px; border: 0; border-radius: 6px; background: transparent; color: rgba(255, 250, 240, 0.82); font-size: 12px; font-weight: 900; letter-spacing: 0; cursor: pointer; }
.language-option.active { background: var(--gold); color: #17130d; }
.language-option:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 250, 240, 0.35); border-radius: 8px; background: rgba(0, 0, 0, 0.18); padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ivory); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button.primary { background: var(--gold); color: #17130d; }
.button.secondary { border-color: rgba(255, 250, 240, 0.58); background: rgba(255, 250, 240, 0.08); color: var(--ivory); }
.button.ghost { border-color: var(--line); background: transparent; }

.hero { position: relative; min-height: 92vh; display: grid; align-items: end; padding: 132px clamp(20px, 5vw, 72px) 34px; color: var(--ivory); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, 0.9) 0%, rgba(11, 10, 9, 0.55) 46%, rgba(11, 10, 9, 0.18) 100%), linear-gradient(0deg, rgba(11, 10, 9, 0.82), rgba(11, 10, 9, 0.08) 42%), url("assets/images/hero-chico-highres.jpg") 62% 16% / cover no-repeat; }
.hero-content, .hero-stats { position: relative; z-index: 1; }
.hero-content { max-width: 780px; padding-bottom: 44px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.hero h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.hero h1 { margin: 0; font-size: clamp(54px, 9vw, 118px); line-height: 0.92; }
.hero-content > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; font-size: clamp(20px, 3vw, 31px); line-height: 1.18; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 12px; width: min(1120px, 100%); }
.hero-stats div { position: relative; min-height: 126px; padding: 18px 18px 18px 22px; border: 1px solid rgba(21, 21, 21, 0.12); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, rgba(255, 250, 240, 0.9) 100%); box-shadow: 0 12px 26px rgba(21, 21, 21, 0.14); overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.hero-stats div::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.hero-stats div:hover { transform: translateY(-6px); border-color: rgba(123, 31, 38, 0.28); box-shadow: 0 20px 38px rgba(21, 21, 21, 0.18); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { color: var(--red); font-size: 18px; }
.hero-stats span { color: rgba(21, 21, 21, 0.72); font-size: 13px; line-height: 1.35; }

.section, .intro { padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px); }
.section, .intro, .hero { scroll-margin-top: 88px; }
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.intro { background: var(--paper); }
.intro-grid, .split, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr); gap: clamp(28px, 6vw, 78px); align-items: center; }
.split.reverse { grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1fr); }
h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
h3 { margin: 0; font-size: 24px; }
.copy p, .section-heading > p:not(.eyebrow), .intro-grid > p { color: rgba(21, 21, 21, 0.74); font-size: 18px; }
.feature-image { margin: 0; }
.feature-image img { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow); }
.feature-image figcaption { margin-top: 10px; color: rgba(21, 21, 21, 0.62); font-size: 14px; }

.dark { background: var(--charcoal); color: var(--ivory); }
.dark .section-heading > p:not(.eyebrow), .dark .process p { color: rgba(255, 250, 240, 0.74); }
.section-heading { width: min(760px, 100%); margin-bottom: 36px; }
.section-heading.compact { margin-bottom: 22px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process article { position: relative; min-height: 236px; padding: 58px 24px 24px; border: 1px solid rgba(21, 21, 21, 0.12); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, rgba(255, 250, 240, 0.86) 100%); color: var(--ink); box-shadow: 0 12px 26px rgba(21, 21, 21, 0.11); overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.process article::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.process article:hover { transform: translateY(-6px); border-color: rgba(123, 31, 38, 0.28); box-shadow: 0 20px 38px rgba(21, 21, 21, 0.16); }
.process span { position: absolute; top: 18px; left: 22px; display: inline-block; margin-bottom: 0; color: var(--gold); font-weight: 900; }
.process h3 { color: var(--red); }
.dark .process p { color: rgba(21, 21, 21, 0.72); }

.principles-section { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: principle; }
.principles-grid article {
  position: relative;
  min-height: 272px;
  padding: 58px 24px 24px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 250, 240, 0.86) 100%);
  box-shadow: 0 12px 26px rgba(21, 21, 21, 0.07);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: principle-in 0.72s ease forwards;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.principles-grid article::before {
  counter-increment: principle;
  content: "0" counter(principle);
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.principles-grid article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  opacity: 0.9;
}
.principles-grid article:nth-child(2) { animation-delay: 0.08s; }
.principles-grid article:nth-child(3) { animation-delay: 0.16s; }
.principles-grid article:nth-child(4) { animation-delay: 0.24s; }
.principles-grid article:nth-child(5) { animation-delay: 0.32s; }
.principles-grid article:nth-child(6) { animation-delay: 0.4s; }
.principles-grid article:hover { transform: translateY(-6px); border-color: rgba(123, 31, 38, 0.28); box-shadow: 0 20px 38px rgba(21, 21, 21, 0.13); }
.principles-grid h3 { color: var(--red); font-size: 24px; line-height: 1.08; }
.principles-grid p { margin-bottom: 0; color: rgba(21, 21, 21, 0.72); }
.principles-statement {
  position: relative;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(207, 159, 66, 0.42);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2c211b 100%);
  color: var(--ivory);
  box-shadow: 0 20px 44px rgba(21, 21, 21, 0.2);
  overflow: hidden;
}
.principles-statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(207, 159, 66, 0.16) 42%, transparent 74%);
  pointer-events: none;
}
.principles-statement strong { position: relative; z-index: 1; display: block; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 4vw, 40px); line-height: 1.08; }
.principles-statement p { position: relative; z-index: 1; max-width: 880px; margin: 12px 0 0; color: rgba(255, 250, 240, 0.82); font-size: 19px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.filter { min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; background: transparent; cursor: pointer; }
.filter.active { border-color: var(--red); background: var(--red); color: var(--ivory); }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cigar-card { position: relative; border: 1px solid rgba(21, 21, 21, 0.12); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, rgba(255, 250, 240, 0.86) 100%); overflow: hidden; box-shadow: 0 12px 26px rgba(21, 21, 21, 0.08); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.cigar-card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.cigar-card:hover { transform: translateY(-6px); border-color: rgba(123, 31, 38, 0.28); box-shadow: 0 20px 38px rgba(21, 21, 21, 0.13); }
.cigar-card img { width: 100%; aspect-ratio: 1 / 1.14; object-fit: cover; background: var(--paper); }
.cigar-card div { padding: 18px; }
.cigar-card p, .cigar-card span { margin: 0; color: rgba(21, 21, 21, 0.62); }
.cigar-card p { color: var(--red); font-size: 13px; font-weight: 900; text-transform: uppercase; }

.gallery-section { background: var(--sage); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 12px; }
.gallery-item { position: relative; border: 0; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; background: var(--charcoal); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(21, 21, 21, 0.72); color: var(--ivory); font-size: 13px; font-weight: 800; text-align: left; }

.partner { background: var(--ivory); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.partner-card { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid rgba(21, 21, 21, 0.12); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, rgba(255, 250, 240, 0.86) 100%); overflow: hidden; box-shadow: 0 12px 26px rgba(21, 21, 21, 0.08); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.partner-card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.partner-card:hover { transform: translateY(-6px); border-color: rgba(123, 31, 38, 0.28); box-shadow: 0 20px 38px rgba(21, 21, 21, 0.13); }
.partner-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper); }
.partner-card > div { padding: 24px; }
.partner-card h3 { color: var(--red); font-size: 27px; line-height: 1.08; }
.partner-card p:not(.eyebrow) { color: rgba(21, 21, 21, 0.72); font-size: 17px; }
.partner-card .check-list { margin-top: 18px; }
.partner-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 24px; border: 1px solid rgba(207, 159, 66, 0.36); border-radius: 8px; background: var(--paper); }
.partner-cta h3 { color: var(--red); font-size: 28px; }
.partner-cta p:not(.eyebrow) { max-width: 780px; margin-bottom: 0; color: rgba(21, 21, 21, 0.72); }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 15px; height: 9px; border-left: 2px solid #486d65; border-bottom: 2px solid #486d65; transform: rotate(-45deg); }
.contact-section { background: var(--paper); }
.contact-card { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-card a, .contact-card button { max-width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 9px 13px; background: #fff; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
.contact-form { display: grid; gap: 14px; padding: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08); }
.contact-form label { display: grid; gap: 6px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(21, 21, 21, 0.24); border-radius: 6px; padding: 11px 12px; background: #fff; }
.contact-form textarea { resize: vertical; }
.form-status { min-height: 24px; margin: 0; color: #486d65; font-weight: 800; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 5vw, 72px); background: var(--ink); color: rgba(255, 250, 240, 0.78); }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--gold); }
.site-footer p { margin: 0; }
.lightbox { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.88); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255, 250, 240, 0.3); border-radius: 8px; background: rgba(255, 250, 240, 0.12); color: var(--ivory); font-size: 30px; line-height: 1; cursor: pointer; }

@keyframes principle-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .principles-grid article {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .principles-grid article:hover { transform: none; }
  .hero-stats div, .process article, .cigar-card, .partner-card { transition: none; }
  .hero-stats div:hover, .process article:hover, .cigar-card:hover, .partner-card:hover { transform: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .language-switcher { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .site-nav { position: fixed; top: 78px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid rgba(255, 250, 240, 0.16); border-radius: 8px; background: rgba(21, 21, 21, 0.98); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; padding: 13px; }
  .intro-grid, .split, .split.reverse, .contact-layout { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-cta { display: grid; }
  .process, .collection-grid, .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
}

@media (max-width: 620px) {
  body.locked { overflow: auto; }
  .age-gate { align-items: start; padding: 14px; }
  .age-panel { padding: 22px 18px; margin: auto 0; }
  .site-header { min-height: 66px; padding: 8px 14px; }
  .brand img { width: 108px; height: 48px; }
  .language-switcher { gap: 2px; padding: 3px; }
  .language-option { min-width: 32px; min-height: 30px; font-size: 11px; }
  .site-nav { top: 66px; }
  .button { width: 100%; min-height: 48px; }
  .hero { min-height: 86svh; padding: 104px 20px 22px; }
  .hero-media { background: linear-gradient(90deg, rgba(11, 10, 9, 0.88) 0%, rgba(11, 10, 9, 0.5) 60%, rgba(11, 10, 9, 0.2) 100%), linear-gradient(0deg, rgba(11, 10, 9, 0.82), rgba(11, 10, 9, 0.04) 48%), url("assets/images/hero-chico-highres.jpg") 54% 14% / cover no-repeat; }
  .hero-content { padding-bottom: 24px; }
  .hero h1 { font-size: clamp(38px, 12vw, 48px); line-height: 0.98; }
  .hero-content > p:not(.eyebrow) { font-size: 20px; }
  .section, .intro { padding: 54px 20px; }
  h2 { font-size: clamp(32px, 11vw, 44px); }
  .process, .collection-grid, .principles-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { min-height: 0; padding: 16px 16px 16px 20px; }
  .principles-grid article { min-height: 0; padding: 54px 20px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 172px; gap: 9px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-label { left: 7px; right: 7px; bottom: 7px; padding: 6px 7px; font-size: 12px; }
  .site-footer { display: grid; }
}
