/* ================================================================
   QUEIZEN — style.css
   Forest Green + Gold editorial design.
   ================================================================ */

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

/* CUSTOM PROPERTIES */
:root {
  --bg-deep: #0F1E0A;
  --bg-mid: #1A2E12;
  --bg-card: #1F3518;
  --bg-surface: #24401A;
  --bg-input: rgba(255, 255, 255, .04);
  --green-accent: #3C6B24;
  --green-light: #5A8E3A;
  --gold: #D4A829;
  --gold-light: #E8C44A;
  --gold-dim: #A88420;
  --cream: #F5E8C4;
  --cream-light: #FAF3E0;
  --text-muted: #9EAE8E;
  --text-dim: #6B7D5E;
  --border: rgba(212, 168, 41, .12);
  --border-light: rgba(212, 168, 41, .2);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ── AGE GATE ─────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
  transition: opacity .6s, visibility .6s;
  visibility: visible;
}

.age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-inner {
  max-width: 420px;
  padding: 2rem;
}

.age-gate-logo {
  max-width: 300px;
  margin: 0 auto 2.5rem;
  display: block;
}

.age-gate h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: .5rem;
  font-weight: 400;
}

.age-gate p {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-age {
  padding: 13px 34px;
  border: 1.5px solid var(--gold-dim);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}

.btn-age-yes {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn-age-yes:hover {
  background: var(--gold-light);
}

.btn-age-no {
  background: transparent;
  color: var(--gold);
}

.btn-age-no:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

.age-gate-legal {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: 2rem;
  line-height: 1.5;
}

.age-denied {
  display: none;
  text-align: center;
}

.age-denied h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: .5rem;
}

.age-denied p {
  color: var(--text-muted);
  font-size: .875rem;
}

/* ── MAIN CONTENT ─────────────────────────────────────── */
.main-content {
  display: none;
}

.main-content.visible {
  display: block;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(15, 30, 10, .97), rgba(15, 30, 10, .4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  height: 44px;
  width: auto;
}

.nav-cta {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  padding: 8px 20px;
  transition: all .25s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 6rem 4rem 4rem;
}

.hero-text {
  max-width: 540px;
  justify-self: end;
}

.hero-logo {
  max-width: 360px;
  margin-bottom: 1.5rem;
}

.hero-tag {
  font-size: .65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.1;
  color: var(--cream-light);
  margin-bottom: 1rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--cream);
  opacity: .8;
  margin-bottom: 2.5rem;
  max-width: 400px;
  line-height: 1.7;
}

.hero-form {
  display: flex;
  border: 1.5px solid var(--gold-dim);
  overflow: hidden;
  max-width: 440px;
  transition: border-color .25s;
}

.hero-form:focus-within {
  border-color: var(--gold);
}

.hero-form input {
  flex: 1;
  background: var(--bg-input);
  border: none;
  color: var(--cream);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  min-width: 0;
}

.hero-form input::placeholder {
  color: var(--text-dim);
}

.hero-form button {
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s;
}

.hero-form button:hover {
  background: var(--gold-light);
}

.hero-form-note {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: .75rem;
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  justify-self: start;
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-deep) 0%, transparent 20%);
  border-radius: 4px;
}

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: scroll 35s linear infinite;
}

.marquee-track span {
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 2rem;
}

.dot {
  color: var(--gold-dim);
  margin: 0 .5rem;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ── STORY ────────────────────────────────────────────── */
.story {
  padding: 6rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.story-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.story-header .tag {
  font-size: .65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.story-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cream-light);
  max-width: 560px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.story-grid.reverse {
  direction: rtl;
}

.story-grid.reverse > * {
  direction: ltr;
}

.story-img {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.story-img img {
  width: 100%;
  height: auto;
  display: block;
}

.story-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream-light);
  margin-bottom: .75rem;
  font-weight: 400;
}

.story-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.story-accent {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  border-left: 2px solid var(--gold-dim);
  padding-left: 12px;
}

/* ── CTA BREAK ────────────────────────────────────────── */
.cta-break {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg-mid);
}

.cta-break-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-break-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  mix-blend-mode: luminosity;
}

.cta-break-content {
  position: relative;
  z-index: 1;
}

.cta-break h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream-light);
  margin-bottom: .5rem;
}

.cta-break p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.btn-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
}

.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq {
  padding: 5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq .tag {
  font-size: .65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream-light);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
  color: var(--cream);
  font-weight: 500;
  transition: color .2s;
  user-select: none;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a-inner {
  padding: 0 0 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── WAITLIST ─────────────────────────────────────────── */
.waitlist {
  padding: 5rem 4rem;
  text-align: center;
  background: var(--bg-card);
}

.waitlist .tag {
  font-size: .65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.waitlist h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--cream-light);
  margin-bottom: .5rem;
}

.waitlist .sub {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border: 1.5px solid var(--gold-dim);
  transition: border-color .25s;
}

.waitlist-form:focus-within {
  border-color: var(--gold);
}

.waitlist-form input {
  flex: 1;
  background: var(--bg-input);
  border: none;
  color: var(--cream);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  min-width: 0;
}

.waitlist-form input::placeholder {
  color: var(--text-dim);
}

.waitlist-form button {
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s;
}

.waitlist-form button:hover {
  background: var(--gold-light);
}

.waitlist-legal {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ── SIGNUP SUCCESS + SURVEY ──────────────────────────── */
.signup-success {
  display: none;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.signup-success.visible {
  display: block;
}

.success-msg {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

.success-sub {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.survey {
  text-align: left;
}

.survey-q {
  margin-bottom: 1.5rem;
}

.survey-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: .6rem;
  display: block;
}

.survey-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--cream);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .875rem;
  outline: none;
  transition: border-color .25s;
  border-radius: 0;
}

.survey-input:focus {
  border-color: var(--gold);
}

.survey-input::placeholder {
  color: var(--text-dim);
}

.survey-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.survey-chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: .8rem;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  background: transparent;
}

.survey-chip:hover {
  border-color: var(--gold-dim);
  color: var(--cream);
}

.survey-chip.selected {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  font-weight: 500;
}

.survey-other-input {
  display: none;
  width: 100%;
  margin-top: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--cream);
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: .8rem;
  outline: none;
  border-radius: 0;
  transition: border-color .25s;
}

.survey-other-input.visible {
  display: block;
}

.survey-other-input:focus {
  border-color: var(--gold);
}

.survey-other-input::placeholder {
  color: var(--text-dim);
}

.survey-submit {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  padding: 13px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .5px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background .25s;
}

.survey-submit:hover {
  background: var(--gold-light);
}

.survey-thanks {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.survey-thanks p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}

.survey-thanks .sub {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  padding: 4rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-dim);
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

[data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

[data-anim].in {
  opacity: 1;
  transform: none;
}

.hero-text {
  animation: fadeUp .9s ease both;
  animation-delay: .2s;
}

.hero-visual {
  animation: fadeUp .9s ease both;
  animation-delay: .5s;
}

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  .hero-text,
  .hero-visual {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* ── RESPONSIVE: TABLET ──────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6.5rem 1.5rem 3rem;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    justify-self: center;
    max-width: 100%;
    animation-delay: 0s;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-form {
    max-width: 100%;
  }

  .hero-tag {
    justify-content: center;
  }

  .hero-tag::before {
    display: none;
  }

  .hero-visual {
    order: -1;
    justify-self: center;
  }

  .hero-visual img {
    max-width: 300px;
  }

  .hero-visual::after {
    background: radial-gradient(ellipse at center, transparent 50%, var(--bg-deep) 100%);
  }

  .hero-form-note {
    justify-content: center;
    flex-wrap: wrap;
  }

  .story {
    padding: 4rem 1.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-grid.reverse {
    direction: ltr;
  }

  .cta-break {
    padding: 4rem 1.5rem;
  }

  .faq {
    padding: 3.5rem 1.5rem;
  }

  .waitlist {
    padding: 3.5rem 1.5rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    padding: 14px;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-logo {
    height: 36px;
  }

  .survey-options {
    gap: 6px;
  }
}

/* ── RESPONSIVE: MOBILE ──────────────────────────────── */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-logo {
    max-width: 240px;
  }

  .hero-form {
    flex-direction: column;
  }

  .hero-form button {
    padding: 14px;
  }
}
