@font-face {
  font-family: "NN Futura";
  src: url("Futura_Std_Heavy.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NN Garamond";
  src: url("AppleGaramond.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --off-white: #faf8f4;
  --white: #ffffff;
  --rich-black: #1a1a1a;
  --blood-orange: #d62828;
  --blood-orange-deep: #c00d1e;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --line: rgba(26, 26, 26, 0.12);
  --display: "NN Futura", "Futura", "Century Gothic", sans-serif;
  --serif: "NN Garamond", "Apple Garamond", "EB Garamond", Garamond, serif;
  --ui: "NN Futura", "Futura", "Century Gothic", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-curtain: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-slow: 900ms;
  --dur-curtain: 1100ms;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--off-white);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* FDA warning — mandatory brand compliance */
.warning {
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 2px solid #fff;
}

.warning strong {
  font-weight: 700;
}

.gate {
  position: relative;
  min-height: calc(100vh - 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 56px) 20px;
  overflow: hidden;
  background: var(--off-white);
}

.gate__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, var(--rich-black) 0.6px, transparent 0.7px),
    radial-gradient(circle at 80% 60%, var(--rich-black) 0.55px, transparent 0.65px);
  background-size: 18px 18px, 22px 22px;
}

.gate__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.gate__logo {
  display: block;
  width: min(240px, 72vw);
  height: auto;
  margin-bottom: 18px;
}

.gate__eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood-orange);
}

.gate__headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--rich-black);
}

.gate__question {
  margin: 4px 0 12px;
  max-width: 34ch;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-muted);
}

.gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.btn-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  background: var(--blood-orange);
  transition:
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn-yes:hover {
  background: var(--blood-orange-deep);
  transform: translateY(-1px);
}

.btn-yes:active { transform: scale(0.985); }

.btn-yes svg { flex-shrink: 0; }

.link-no {
  appearance: none;
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--rich-black);
  border-radius: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rich-black);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.link-no:hover {
  background: var(--rich-black);
  color: var(--off-white);
}

.gate__denied {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  animation: rise 480ms var(--ease-out) both;
}

.gate__denied h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rich-black);
}

.gate__denied p {
  margin: 0;
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-muted);
}

.back-link {
  appearance: none;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 0;
  background: var(--blood-orange);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}

.back-link:hover {
  background: var(--blood-orange-deep);
}

.btn-leave {
  appearance: none;
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--rich-black);
  border-radius: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rich-black);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.btn-leave:hover {
  background: var(--rich-black);
  color: var(--off-white);
}

.gate__tagline {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rich-black);
}

.gate__disclaimer {
  margin: 0;
  max-width: 38ch;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-muted);
}

body.is-denied .gate__eyebrow,
body.is-denied .gate__headline,
body.is-denied .gate__question,
body.is-denied .gate__actions,
body.is-denied .gate__tagline,
body.is-denied .gate__disclaimer {
  display: none;
}

body.is-denied .gate__denied {
  display: flex;
}

/* Full-screen welcome curtain */
.enter-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}

.enter-veil.show {
  visibility: visible;
  pointer-events: auto;
}

.enter-veil__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--rich-black);
  transform: scaleX(0);
}

.enter-veil__panel--left {
  left: 0;
  transform-origin: left center;
}

.enter-veil__panel--right {
  right: 0;
  transform-origin: right center;
}

.enter-veil.show .enter-veil__panel {
  transform: scaleX(1);
  transition: transform var(--dur-curtain) var(--ease-curtain);
}

.enter-veil__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.enter-veil.show .enter-veil__content {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 520ms var(--ease-out) 380ms,
    transform 640ms var(--ease-out) 380ms;
}

.enter-veil__text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-white);
}

.enter-veil__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  color: var(--blood-orange);
}

body.is-entering .gate {
  filter: blur(2px);
  transition: filter 400ms var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 620ms var(--ease-out) both; }
  .reveal.d1 { animation-delay: 40ms; }
  .reveal.d2 { animation-delay: 110ms; }
  .reveal.d3 { animation-delay: 180ms; }
  .reveal.d4 { animation-delay: 260ms; }
  .reveal.d5 { animation-delay: 340ms; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .enter-veil.show .enter-veil__panel,
  .enter-veil.show .enter-veil__content {
    transition: none;
  }

  .enter-veil.show .enter-veil__content {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {
  .gate__logo { width: min(200px, 70vw); margin-bottom: 12px; }
  .gate__question { font-size: 0.98rem; }
}
