:root {
  --bg: #0a0807;
  --bg-soft: #14110f;
  --gold: #c9a263;
  --gold-soft: #b89055;
  --gold-deep: #8a6a3d;
  --ink: #f4ecdd;
  --muted: rgba(244, 236, 221, 0.72);
  --muted-2: rgba(244, 236, 221, 0.55);
  --line: rgba(201, 162, 99, 0.35);
  --card-bg: rgba(10, 8, 7, 0.78);
  --card-border: rgba(201, 162, 99, 0.22);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* --- Background image + overlay --- */
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('./assets/cigarandwiskey.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  filter: saturate(0.9) brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.85) 55%, rgba(10,8,7,0.97) 100%),
    linear-gradient(to bottom, rgba(10,8,7,0.85) 0%, rgba(10,8,7,0.55) 30%, rgba(10,8,7,0.75) 70%, var(--bg) 100%);
  z-index: -1;
}

/* --- Hero section --- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) 24px 60px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: clamp(36px, 6vw, 64px);
}

.brand { display: flex; flex-direction: column; align-items: center; max-width: 640px; }

.crown {
  width: 54px;
  height: auto;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0.95;
}

.wordmark {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 96px);
  letter-spacing: 0.22em;
  line-height: 1;
  color: #f7efe1;
  margin-left: 0.22em; /* optical centering for tracked text */
}

.tagline {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ece4d2;
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto 24px;
  opacity: 0.7;
}

.lede {
  max-width: 460px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.65;
}

/* --- Access card --- */
.access-card {
  width: 100%;
  max-width: 460px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.card-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.card-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.access-card input {
  width: 100%;
  background: rgba(10, 8, 7, 0.55);
  border: 1px solid rgba(244, 236, 221, 0.15);
  color: var(--ink);
  font: 400 14px/1 'Inter', sans-serif;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.access-card input::placeholder { color: rgba(244, 236, 221, 0.45); }

.access-card input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(10, 8, 7, 0.75);
}

.access-card button {
  width: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a130a;
  border: none;
  font: 600 13px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.access-card button:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(201, 162, 99, 0.25);
}

.access-card button:active { transform: translateY(1px); }

/* Secondary sign-in link, sits under the gold "Request Access" CTA. */
.signin-link {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  background: transparent;
  border: 1px solid rgba(201, 162, 99, 0.4);
  color: var(--gold);
  font: 500 11px/1 'Inter', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.signin-link:hover {
  background: rgba(201, 162, 99, 0.08);
  border-color: var(--gold);
  color: #f7efe1;
}

/* --- Pillars --- */
.pillars {
  position: relative;
  background: var(--bg-soft);
  border-top: 1px solid rgba(201, 162, 99, 0.12);
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar {
  text-align: center;
  padding: 0 8px;
}

.pillar svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin: 0 auto 18px;
  display: block;
}

.pillar h3 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.pillar p {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
}

/* --- Footer --- */
.foot {
  background: var(--bg-soft);
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 221, 0.35);
}

/* --- Responsive --- */
@media (max-width: 1080px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
    padding: 48px 20px 56px;
  }
  .access-card { padding: 32px 24px 28px; }
  .wordmark { letter-spacing: 0.18em; }
}

@media (max-width: 420px) {
  .pillars { grid-template-columns: 1fr; }
}
