:root {
  color-scheme: dark;
  --ink: #f4efe6;
  --muted: #b7aca0;
  --dim: #8b8177;
  --paper: #080807;
  --panel: #12100e;
  --panel-soft: #1b1714;
  --line: rgba(244, 239, 230, 0.14);
  --gold: #c9a66b;
  --tobacco: #6d3f24;
  --cedar: #3a2419;
  --deep-green: #15231f;
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 116px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.gate-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  background: rgba(8, 8, 7, 0.76);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand-mark img {
  width: clamp(150px, 18vw, 220px);
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.56) 42%, rgba(8, 8, 7, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.82), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.hero-logo {
  width: min(340px, 72vw);
  height: auto;
  margin: 0 0 20px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(54px, 9vw, 118px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 5.2vw, 68px);
}

h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

p span {
  display: block;
  margin-top: 8px;
  color: var(--dim);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #15110d;
}

.button-secondary {
  border-color: rgba(201, 166, 107, 0.42);
  background: rgba(18, 16, 14, 0.48);
  color: var(--ink);
}

.button-ghost {
  background: transparent;
  color: var(--muted);
}

.hero-actions,
.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 128px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.intro h2 {
  max-width: 860px;
}

.intro > p,
.section-heading p,
.membership-content p,
.contact p {
  color: var(--muted);
}

.category-band {
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--deep-green), var(--paper) 32%, var(--cedar));
}

.category-track {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-width: 840px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
}

.category-track article {
  min-height: 188px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.category-track article:last-child {
  border-right: 1px solid var(--line);
}

.category-track span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.category-track p {
  margin-bottom: 0;
  color: var(--dim);
  font-size: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  min-width: 0;
  background: var(--panel);
}

.product-image {
  position: relative;
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  background: var(--panel-soft);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.94);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 7, 0.72));
}

.product-body {
  padding: 22px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--dim);
  font-size: 12px;
}

.product-meta span {
  border: 1px solid var(--line);
  padding: 5px 8px;
}

.product-body h3 {
  min-height: 58px;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.18;
}

.product-body p {
  min-height: 96px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.price-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
  font-weight: 650;
}

.lock-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(201, 166, 107, 0.42);
  color: var(--gold);
}

.lock-icon::before {
  content: "";
  width: 10px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 -3px var(--panel), 0 -6px 0 -1px currentColor;
}

.membership {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  min-height: 640px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.membership-image {
  background-image:
    linear-gradient(180deg, rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.88)),
    url("assets/cigar-lounge-hero.png");
  background-position: 70% center;
  background-size: cover;
}

.membership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 8vw, 108px) clamp(28px, 7vw, 88px);
  background:
    linear-gradient(135deg, rgba(21, 35, 31, 0.45), transparent 46%),
    var(--panel);
}

.membership-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 22px 0 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.membership-list div {
  padding: 20px 16px;
  background: rgba(8, 8, 7, 0.42);
}

.membership-list strong,
.membership-list span {
  display: block;
}

.membership-list strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.membership-list span {
  color: var(--dim);
  font-size: 13px;
}

.apply-section {
  border-bottom: 1px solid var(--line);
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.application-form label,
.form-actions {
  min-width: 0;
  background: var(--panel);
}

.application-form label {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.application-form label > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 0;
  background: rgba(8, 8, 7, 0.54);
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 12px 14px;
}

.application-form textarea {
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--gold);
}

.application-form ::placeholder {
  color: rgba(183, 172, 160, 0.56);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: none;
}

.form-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.form-check span {
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.payment-link {
  padding: clamp(70px, 9vw, 124px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(21, 35, 31, 0.42), transparent 38%),
    var(--paper);
}

.payment-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.payment-inner p {
  color: var(--muted);
}

.payment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.payment-form label {
  display: grid;
  min-width: 0;
  gap: 10px;
  padding: 20px;
  background: var(--panel);
}

.payment-form label > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-form input,
.payment-form select,
.payment-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 0;
  background: rgba(8, 8, 7, 0.54);
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 12px 14px;
}

.payment-form textarea {
  resize: vertical;
}

.payment-form input:focus,
.payment-form select:focus,
.payment-form textarea:focus {
  border-color: var(--gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-grid article {
  min-height: 212px;
  padding: 30px;
  background: var(--panel);
}

.trust-grid p {
  color: var(--muted);
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.contact {
  padding: clamp(70px, 9vw, 124px) 0;
  background:
    linear-gradient(90deg, rgba(109, 63, 36, 0.22), transparent 38%),
    #0d0c0a;
}

.contact-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.48fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  font-style: normal;
}

.contact-card div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--panel);
}

.contact-card .contact-method-qr {
  grid-template-columns: 1fr;
}

.contact-card strong {
  color: var(--gold);
  font-size: 13px;
}

.contact-card span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-method strong {
  align-self: start;
}

.contact-value {
  display: grid;
  gap: 12px;
}

.wechat-qr {
  width: min(260px, 100%);
  height: auto;
  padding: 8px;
  border: 1px solid rgba(201, 166, 107, 0.32);
  background: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.age-gate {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.78)),
    url("assets/cigar-lounge-hero.png");
  background-position: center;
  background-size: cover;
}

.age-gate.is-visible {
  display: flex;
}

.age-panel {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(201, 166, 107, 0.34);
  background: rgba(18, 16, 14, 0.93);
  box-shadow: 0 28px 80px var(--shadow);
}

.age-panel h2 {
  font-size: clamp(34px, 6vw, 58px);
}

.age-panel p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 14px 20px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 156px;
  }

  .intro,
  .section-heading,
  .membership,
  .payment-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-image {
    min-height: 320px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-mark img {
    width: 164px;
    height: 56px;
  }

  nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    min-height: 84vh;
    padding: 150px 20px 52px;
  }

  h1 {
    max-width: 9.5ch;
  }

  .hero-actions,
  .age-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-shell,
  .contact-inner,
  .category-track {
    width: calc(100% - 28px);
  }

  .catalog-grid,
  .application-form,
  .payment-form,
  .membership-list {
    grid-template-columns: 1fr;
  }

  .product-body h3,
  .product-body p {
    min-height: 0;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}
