/* Shared styles for the landing page and error page. */
@font-face {
  font-family: Barlow;
  src: url('./Barlow-Regular.95aa02c7c430.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('./Barlow-Medium.f8906f762cb7.ttf') format('truetype');
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./BarlowCondensed-SemiBold.7b619d14bc23.ttf') format('truetype');
  font-weight: 600 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #101316;
  --ivory: #ece9e2;
  --mist: #a5afb4;
  --amber: #d79a64;
  --gutter: clamp(24px, 6vw, 100px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: Barlow, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
::selection { background: var(--amber); color: var(--night); }
h1, h2, p { margin: 0; }
p { line-height: 1.6; }
h1, h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
em { color: var(--amber); font-style: normal; }
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; font: 600 25px/1 'Barlow Condensed', sans-serif; letter-spacing: .035em; white-space: nowrap; }
.site-header { position: absolute; z-index: 2; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 30px var(--gutter); }
.age-label { color: var(--mist); font-size: 12px; letter-spacing: .1em; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -100px; background: var(--ivory); color: var(--night); padding: 15px; }
.skip-link:focus { top: 12px; }
.hero { position: relative; min-height: 650px; height: 100svh; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.hero::before { z-index: -2; background: linear-gradient(90deg, #101316aa, transparent 65%); }
.hero::after { z-index: -1; background: linear-gradient(0deg, var(--night), #10131644 18%, transparent 48%); }
.hero-content { position: relative; width: 55%; max-width: 760px; padding: clamp(160px, 25vh, 260px) 0 80px var(--gutter); }
.hero h1 { font-size: clamp(76px, 6.7vw, 104px); line-height: .96; letter-spacing: -.012em; margin: 0 0 26px; outline: none; }
.hero-description { color: #d3d5d2; font-size: 18px; }
.hero-themes { color: var(--mist); font-size: 14px; }
.hero-note { color: var(--mist); font-size: 12px; margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 146px; min-height: 52px; padding: 17px 23px; font: 500 15px/1.2 Barlow, sans-serif; cursor: pointer; transition: background .18s; }
.button-primary { background: var(--amber); color: #151719; border: 1px solid var(--amber); }
.button-primary:hover { background: #edb685; }
.button:disabled { opacity: .5; cursor: default; }
.button span { font-size: 20px; line-height: 1; }
.text-link { display: inline-flex; gap: 14px; align-items: center; font-size: 14px; min-height: 44px; padding-block: 10px; border-bottom: 1px solid #ffffff38; }
.text-link:hover { color: var(--amber); border-color: var(--amber); }
.age-gate { min-height: 100svh; display: grid; place-items: center; padding: 40px 24px; background: radial-gradient(ellipse at center, #25231f, var(--night) 70%); }
.gate-card { width: min(100%, 390px); text-align: center; }
#age-gate {
  justify-items: start;
  padding-inline: max(24px, 10vw);
  background: linear-gradient(#10131655, #10131699), url('./owner-evening-v1.5ba6f041e745.webp') 25% center / cover;
}
#age-gate .gate-card {
  width: min(100%, 440px);
  padding: 36px;
  background: #101316eb;
  border: 1px solid #ffffff14;
}

.gate-card .wordmark { margin-bottom: 48px; }
.gate-card h1, .gate-card h2 { font-size: 46px; line-height: 1; margin-bottom: 25px; }
.gate-card > p:not(.wordmark) { font-size: 16px; color: var(--mist); }
.gate-card .button { width: 100%; margin-top: 30px; }
.gate-leave { display: inline-flex; align-items: center; min-height: 44px; margin-top: 9px; color: var(--mist); font-size: 14px; }
.gate-leave:hover { color: var(--ivory); }
.gate-error { font-size: 13px; margin-top: 16px; }
@media (min-width: 1600px) {
  .hero-content { margin-left: calc((100vw - 1600px) / 2); }
  .site-header { padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2)); }
}
@media (min-width: 761px) and (max-height: 800px) {
  .hero-content { padding-top: 130px; }
  .hero h1 { font-size: clamp(80px, 7vw, 104px); }
}
@media (max-width: 1100px) {
  .hero-content { width: 63%; padding-top: 180px; }
  .hero h1 { font-size: 86px; }
  .hero-art { object-position: 20% center; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: 13px; }
}
@media (max-width: 760px) {
  #age-gate {
    align-items: end;
    justify-items: center;
    padding: 280px 20px 24px;
    background-position: center, 52% top;
  }
  #age-gate .gate-card { padding: 28px 24px; }
  #age-gate .wordmark { margin-bottom: 32px; }

  .site-header { padding: 24px; }
  .wordmark { font-size: 23px; }
  .hero { min-height: 100svh; height: auto; }
  .hero-art { top: 65px; height: 520px; object-position: 52% center; }
  .hero::before { background: linear-gradient(180deg, #10131680, transparent 25%); }
  .hero::after { background: linear-gradient(0deg, var(--night) 22%, #101316e6 48%, transparent 72%); }
  .hero-content { width: 100%; max-width: none; padding: 330px 24px 55px; }
  .hero h1 { font-size: clamp(60px, 14vw, 84px); margin: 0 0 20px; }
  .hero-actions { margin-top: 24px; gap: 17px; }
  .hero-description { font-size: 16px; }
}
@media (max-width: 390px) {
  .hero-content { padding-inline: 20px; }
  .hero h1 { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
