/* LIPPER Brand Identity Guide v2.0 tokens */
:root {
  --black: #0a0a0a;
  --gunmetal: #2b2e31;
  --white: #f5f5f3;
  --steel: #8a8d91;
  --silver: #b7bbbd;
  --silver-light: #dfe1e2;
  --ice: #4a9ed6; /* Monogram hairline only. */
  --line: rgba(245, 245, 243, 0.22);
  --gutter: clamp(16px, 5vw, 72px);
  --display: "Montserrat", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --brushed: repeating-linear-gradient(96deg, #d6d9da 0, #e4e6e7 3px, #d2d5d6 6px, #e0e2e3 9px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 22svh; /* Keeps focused fields clear of the sticky warning */
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

h1:focus,
h2:focus {
  outline: none;
}

.wordmark {
  display: block;
  width: 136px;
  height: auto;
}

/* Buttons */
.button {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 700 16px/1.2 var(--body);
  cursor: pointer;
}

.button-metal {
  background: var(--brushed);
  color: var(--black);
}

.button-metal:hover {
  background: var(--white);
}

.button-outline {
  background: transparent;
  border-color: var(--steel);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--white);
}

/* Age gate */
.gate {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
}

.gate-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px var(--gutter);
}

.gate-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gate-monogram {
  width: 56px;
  height: auto;
}

.gate-title {
  font: 800 clamp(40px, 8vw, 68px)/1.02 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.gate-text {
  margin-top: 16px;
  color: var(--silver);
}

.gate-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

/* Warning: exact wording, always visible, 20% of the screen */
.warning {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 20svh;
  padding: 16px var(--gutter);
  background: var(--white);
  color: var(--black);
  font: 700 clamp(20px, 3vw, 40px)/1.2 var(--body);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 16px var(--gutter) 32px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-title {
  margin-top: 14px;
  font: 800 clamp(52px, 9.5vw, 136px)/0.94 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.hero-text {
  margin-top: 10px;
  max-width: 26em;
  color: var(--silver-light);
  line-height: 1.4;
}

/* Sign-up form */
.signup {
  margin-top: 14px;
}

.signup-title {
  margin-bottom: 8px;
  font: 700 18px/1.3 var(--body);
}

.signup-fields {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.field label {
  display: block;
  margin-bottom: 2px;
  color: var(--silver);
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.2 var(--body);
}

.field input:focus,
.field select:focus {
  border-color: var(--white);
  outline: none;
}

.trap {
  position: absolute;
  left: -9999px;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.signup-done {
  margin-top: 20px;
  color: var(--silver-light);
}

.signup-done-title {
  margin-bottom: 8px;
  color: var(--white);
  font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display);
  text-transform: uppercase;
}

.signup-done-title:focus {
  outline: none;
}

.signup-status:not(:empty) {
  margin-top: 10px;
  font-weight: 500;
}

.signup-consent {
  margin-top: 10px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.45;
}

/* Hero can render. Its edges fade to the page's black. */
.hero-can {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 12px auto 0;
}

/* Statement */
.statement {
  padding: clamp(56px, 9vw, 112px) var(--gutter);
  background: var(--gunmetal);
  color: var(--silver-light);
}

.statement-title {
  margin-bottom: 24px;
  color: var(--white);
  font: 800 clamp(32px, 5.4vw, 72px)/1.05 var(--display);
  text-transform: uppercase;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--silver);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Desktop */
@media (min-width: 900px) {
  .hero {
    min-height: 80svh;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding-block: 32px;
  }

  .hero-title {
    margin-top: 28px;
  }

  .signup-fields {
    grid-template-columns: 1.3fr 1fr;
  }

  .hero-can {
    justify-self: end;
    width: auto;
    max-width: 100%;
    max-height: 76svh;
    margin: 0;
  }
}

/* Short laptop screens keep the button above the fold */
@media (min-width: 900px) and (max-height: 820px) {
  .hero-title {
    font-size: clamp(56px, 12svh, 96px);
  }

  .hero-text {
    margin-top: 10px;
  }

  .signup {
    margin-top: 14px;
  }
}

/* One orchestrated moment: the can rises into the light after Yes */
@media (prefers-reduced-motion: no-preference) {
  .is-entering .hero-can {
    animation: can-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  @keyframes can-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }
}

/* Privacy page */
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}

.logo-link {
  display: inline-block;
}

.policy h1 {
  margin: 32px 0 8px;
  font: 800 clamp(36px, 7vw, 56px)/1.05 var(--display);
  text-transform: uppercase;
}

.policy h2 {
  margin: 36px 0 8px;
  font: 700 20px/1.3 var(--body);
}

.policy p,
.policy ul {
  margin: 0 0 12px;
  color: var(--silver-light);
}

.policy ul {
  padding-left: 20px;
}
