/* UNFIT FOR DUTY — redesigned storefront */
@font-face{
  font-family: Shift;
  src: url("../fonts/display.otf") format("opentype");
  font-display: swap;
}
@font-face{
  font-family: Geist;
  src: url("../fonts/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Geist;
  src: url("../fonts/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Geist;
  src: url("../fonts/geist-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Geist;
  src: url("../fonts/geist-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  color-scheme: dark;
  --ink: #090b0e;
  --ink-2: #101318;
  --panel: #161a20;
  --cream: #f3ead8;
  --cream-dim: #d9d0be;
  --body: #c9c3b6;
  --muted: #8f8a80;
  --steel: #9ec9e8;
  --orange: #ffad62;
  --line: rgba(243,234,216,.12);
  --line-strong: rgba(243,234,216,.22);
  --pad: clamp(1.2rem, 4.8vw, 4.25rem);
  --max: 78rem;
  --display: Shift, Impact, "Arial Narrow", sans-serif;
  --sans: Geist, "Segoe UI", system-ui, sans-serif;
  --header: 4.25rem;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ margin: 0; }
body{
  background: var(--ink);
  color: var(--cream);
  font: 16px/1.55 var(--sans);
  letter-spacing: -.01em;
}
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button, a{ -webkit-tap-highlight-color: transparent; }
:focus-visible{ outline: 2px solid var(--cream); outline-offset: 3px; }
[hidden]{ display: none !important; }

.skip{
  position: fixed; z-index: 120; top: .75rem; left: .75rem;
  transform: translateY(-200%);
  padding: .7rem 1rem;
  background: var(--cream); color: var(--ink);
  font-weight: 600;
}
.skip:focus{ transform: none; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--pad);
  background: rgba(9,11,14,.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.site-header.is-scrolled,
.page-inner .site-header{
  background: rgba(9,11,14,.92);
  border-bottom-color: var(--line);
}
.logo{
  display: flex; align-items: center; flex: none;
  height: 3.45rem;
  width: auto;
}
.logo img{ height: 100%; width: auto; max-width: none; }
.nav-main{
  display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2rem);
  margin-left: auto;
}
.nav-main a{
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.nav-main a:hover,
.nav-main a[aria-current="page"]{ color: var(--cream); }
.header-socials{ display: flex; align-items: center; gap: .15rem; margin-left: .4rem; }
.icon-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  color: var(--cream);
}
.icon-btn svg{ width: 1.2rem; height: 1.2rem; }
.icon-btn:hover{ color: var(--steel); }
.menu-toggle{ display: none; }

.mobile-panel{
  display: none;
  position: fixed; inset: var(--header) 0 0 0; z-index: 35;
  background: #0b0d11;
  padding: 1.25rem var(--pad) 2rem;
  flex-direction: column; gap: 1.15rem;
  overflow: auto;
}
.mobile-panel.is-open{ display: flex; }
.mobile-panel a{
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .panel-socials{ display: flex; gap: .4rem; margin-top: 1rem; }
body.menu-open{ overflow: hidden; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem;
  padding: .7rem 1.35rem;
  background: var(--cream); color: #121417;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background .18s, color .18s, transform .18s;
}
.btn svg{ width: 1rem; height: 1rem; }
.btn:hover{ background: #fff; transform: translateY(-1px); }
.btn-ghost{
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover{ background: var(--cream); color: #121417; }
.btn-row{ display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  isolation: isolate;
  min-height: max(36rem, calc(100svh - var(--header)));
  max-height: 54rem;
  display: grid;
  align-items: end;
  color: var(--cream);
}
.hero-photo{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero::after{
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,10,13,.78) 0%, rgba(8,10,13,.42) 38%, rgba(8,10,13,.12) 68%, rgba(8,10,13,.2) 100%),
    linear-gradient(180deg, rgba(8,10,13,.28) 0%, transparent 28%, rgba(8,10,13,.2) 70%, rgba(8,10,13,.82) 100%);
}
.hero-inner{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) var(--pad) clamp(2.8rem, 6vw, 4.5rem);
}
.kicker{
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 1rem;
  color: var(--steel);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before{
  content: "";
  width: 1.6rem; height: 1px; background: currentColor;
}
.hero h1{
  margin: 0 0 .35em;
  font: 800 clamp(3.6rem, 12vw, 8.6rem)/.86 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
  max-width: 9ch;
}
.hero h1 em{ font-style: normal; color: var(--cream); }
.hero-lead{
  margin: 0 0 1.15rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: var(--cream);
}
.hero-note{
  max-width: 38ch;
  margin: 0 0 1.6rem;
  color: var(--cream-dim);
  font-size: 1rem;
}
.status-row{
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem;
  margin: 0 0 1.7rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.status-row strong{ color: var(--orange); font-weight: 700; }
.status-row span{ color: var(--cream-dim); padding-left: .8rem; border-left: 1px solid var(--line-strong); }

/* ---------- Shared sections ---------- */
#collection, #about, #contact, #sayings, #main{
  scroll-margin-top: calc(var(--header) + 0.4rem);
}
.section{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad);
}
.section-head{
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.section-head h2{
  margin: .15em 0 0;
  font: 800 clamp(2.2rem, 5.6vw, 4.4rem)/.9 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.section-head p,
.section-kicker{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 32ch;
}
.section-kicker{
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Product grid ---------- */
.product-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.product-card{
  display: flex; flex-direction: column;
  color: inherit;
  background: var(--ink-2);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: border-color .2s, transform .2s;
}
.product-card:hover{ border-color: var(--line-strong); transform: translateY(-3px); }
.product-card .thumb{
  position: relative;
  overflow: hidden;
  background: #0e1116;
  aspect-ratio: 1 / 1;
}
.product-card .thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .thumb img{ transform: scale(1.04); }
.product-card .meta{ padding: 1.1rem 1.15rem 1.25rem; display: grid; gap: .3rem; }
.product-card .meta .label{
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.product-card h3{
  margin: 0;
  font-size: 1.15rem; font-weight: 650;
  letter-spacing: -.02em;
}
.product-card .sub{ color: var(--body); font-size: .92rem; }
.product-card .cta{
  margin-top: .55rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel);
}
.product-card .cta svg{ width: .95rem; height: .95rem; }

.hat-grid{
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.hat-card{
  border: 1px solid var(--line);
  background: #0e1116;
  padding: 0 0 1.15rem;
}
.hat-card img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #101318;
  padding: 1rem;
}
.hat-card h3{
  margin: .9rem 1.1rem .2rem;
  font-size: 1rem; font-weight: 650;
}
.hat-card p{
  margin: 0 1.1rem;
  color: var(--muted);
  font-size: .88rem;
}
.coming-later{
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Brotherhood band ---------- */
.band{
  position: relative;
  isolation: isolate;
  min-height: clamp(26rem, 58vw, 38rem);
  display: grid;
  align-items: end;
}
.band img{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.band::after{
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,11,14,.1) 0%, rgba(9,11,14,.15) 45%, rgba(9,11,14,.88) 100%);
}
.band-inner{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 8rem var(--pad) 2.4rem;
}
.band h2{
  margin: 0;
  font: 800 clamp(2.4rem, 6.5vw, 5.2rem)/.9 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.band h2 span{ display: block; color: var(--steel); }

/* ---------- About ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.about-copy .lead{
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--cream);
  margin: 0 0 1rem;
}
.about-copy p{ margin: 0 0 1rem; color: var(--body); max-width: 62ch; }
.pledge{
  list-style: none;
  margin: 1.6rem 0 1.6rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}
.pledge li{
  font: 800 clamp(1.15rem, 2.4vw, 1.85rem)/1.15 var(--display);
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
}
.about-photo img{
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}

/* ---------- Sayings ---------- */
.sayings-layout{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  align-items: start;
}
.sayings-poster{
  margin: 0;
  border: 1px solid var(--line);
  background: #0e1116;
}
.sayings-poster img{ width: 100%; }
.sayings-poster figcaption{
  padding: .8rem 1rem 1rem;
  color: var(--muted);
  font-size: .85rem;
}
.sayings-poster figcaption a{
  color: var(--steel);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .72rem;
}
.sayings-list{
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
.sayings-list li{
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: .98rem;
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.contact-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list a,
.contact-list .pending{
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .85rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list svg{ width: 1.25rem; height: 1.25rem; color: var(--steel); }
.contact-list strong{ display: block; font-size: 1rem; font-weight: 650; }
.contact-list span{ color: var(--muted); font-size: .88rem; }
.contact-list a:hover strong{ color: var(--steel); }
.pending{ opacity: .9; }
.placeholder-tag{
  display: inline-block;
  margin-left: .4rem;
  padding: .1rem .4rem;
  border: 1px solid var(--line-strong);
  color: var(--orange);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: .1em;
}
.contact-note{ color: var(--body); max-width: 42ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  background: #08090c;
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--pad) 1.4rem;
}
.footer-grid{
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem 2.5rem;
}
.footer-brand .logo{ height: 4.6rem; width: auto; margin-bottom: .9rem; }
.footer-brand p{ margin: 0; color: var(--muted); max-width: 32ch; font-size: .92rem; }
.site-footer h2{
  margin: 0 0 1rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.footer-links{ display: grid; gap: .55rem; }
.footer-links a{ color: var(--cream-dim); font-size: .95rem; }
.footer-links a:hover{ color: var(--cream); }
.footer-legal{
  width: min(100%, var(--max));
  margin: 2.2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem;
  color: var(--muted);
  font-size: .8rem;
}

/* ---------- Product / inner pages ---------- */
.page-hero{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.15rem var(--pad) 0;
}
.crumb{
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.crumb a{ color: var(--cream-dim); }
.crumb a:hover{ color: var(--cream); }
.crumb svg{ width: .85rem; height: .85rem; opacity: .6; }
.page-hero h1{
  margin: 0 0 .4rem;
  font: 800 clamp(2.6rem, 7vw, 5.4rem)/.9 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.char-name{ margin: 0 0 1rem; color: var(--cream-dim); font-size: 1.05rem; }

.product-stage{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem var(--pad) clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: start;
}
.product-info .kicker{ margin-top: .15rem; }
.product-info h1{
  margin: 0 0 .35rem;
  font: 800 clamp(2.2rem, 5vw, 4.2rem)/.9 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.product-info a.artwork-link{
  color: var(--steel);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-info a.artwork-link:hover{ color: var(--cream); }
.crumb{ margin: 0 0 1rem; }

.gallery{ display: grid; gap: .75rem; }
.gallery-main{
  margin: 0;
  border: 1px solid var(--line);
  background: #0e1116;
}
.gallery-main img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #0e1116;
}
.thumbs{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}
.thumbs button{
  padding: 0;
  border: 1px solid var(--line);
  background: #0e1116;
  opacity: .72;
}
.thumbs button[aria-pressed="true"],
.thumbs button:hover{ opacity: 1; border-color: var(--cream); }
.thumbs img{ width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-info h2{
  margin: 0 0 .6rem;
  font: 800 1.6rem/1 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.product-info p{ color: var(--body); margin: 0 0 .9rem; }
.product-info .status-row{ margin: 0 0 1.2rem; }
.spec-list{
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li{
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.spec-list dt, .spec-list .k{ color: var(--muted); }
.spec-list .v{ color: var(--cream); text-align: right; }
.related{ width: min(100%, var(--max)); margin: 0 auto; padding: 0 var(--pad) clamp(3.5rem, 7vw, 5.5rem); }

/* ---------- Legal ---------- */
.legal{
  width: min(46rem, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal h1{
  margin: 0 0 1rem;
  font: 800 clamp(2.2rem, 5vw, 3.6rem)/.95 var(--display);
  text-transform: uppercase;
}
.legal p{ color: var(--body); }
.legal .placeholder-box{
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-strong);
  color: var(--cream-dim);
  font-size: .92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .product-grid,
  .hat-grid{ grid-template-columns: 1fr 1fr; }
  .about-grid,
  .sayings-layout,
  .contact-grid,
  .product-stage,
  .footer-grid{ grid-template-columns: 1fr; }
  .about-photo{ order: -1; }
  .about-photo img{ aspect-ratio: 16 / 10; }
  .footer-grid{ gap: 1.6rem; }
}
@media (max-width: 760px){
  :root{ --header: 3.7rem; }
  .nav-main, .header-socials{ display: none; }
  .menu-toggle{ display: inline-flex; margin-left: auto; }
  .logo{ height: 2.85rem; }
  .hero{ min-height: 38rem; min-height: calc(100svh - var(--header)); max-height: none; }
  .hero-photo{ object-position: 68% 42%; }
  .hero h1{ max-width: none; }
  .product-grid,
  .hat-grid{ grid-template-columns: 1fr; }
  .thumbs{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-head{ flex-direction: column; align-items: start; }
  .band{ min-height: 24rem; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .product-card, .product-card .thumb img, .btn, .site-header{ transition: none; }
}

.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;
}

/* ---------- Entrance gate (first visit only) ---------- */
.gate{
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  background: #080b10;
}
.gate-art{
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0b111a url("../assets/first-shift/crew-front-chest-sharp.svg") center top / cover no-repeat;
}
.gate::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #080c145c 0%, transparent 36%, transparent 69%, #080b11cc 100%);
  pointer-events: none;
}
.gate-top{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--pad) 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #edeef0;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
}
.gate-top i{
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-left: .4rem;
  background: #e2403e;
  transform: rotate(45deg);
}
.gate-wordmark{
  align-self: start;
  justify-self: center;
  width: clamp(10rem, 17vw, 15rem);
  margin-top: clamp(0rem, 1.5vh, 1rem);
  mix-blend-mode: lighten;
  filter: drop-shadow(0 4px 15px #0008);
}
.gate-wordmark img{ width: 100%; height: auto; }
.gate-entry{
  display: grid;
  justify-items: center;
  gap: .33rem;
  min-width: 0;
  padding: .3rem .45rem;
  position: relative;
  z-index: 2;
  color: var(--cream);
  text-decoration: none;
  mix-blend-mode: normal;
  transition: filter .19s;
}
.gate-entry-label{
  font-size: .875rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: .23em;
  padding-left: .23em;
  text-shadow: 0 1px 6px #000;
}
.gate-entry:hover{ filter: drop-shadow(0 2px 13px #8bc5ee5c); }
.gate-entry:focus-visible{ outline: 2px solid #a5d9fc; outline-offset: .3rem; }
.gate-bottom{
  grid-row: 3;
  z-index: 1;
  text-align: center;
  padding: 1rem 1rem max(1.65rem, env(safe-area-inset-bottom));
  margin-bottom: clamp(.5rem, 4.4vh, 2.75rem);
  display: grid;
  justify-items: center;
  gap: .85rem;
}
.gate-status{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  font-size: .875rem;
  letter-spacing: .09em;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 1px 8px #000;
}
.gate-status span{
  width: .47rem;
  height: .47rem;
  background: var(--orange);
  box-shadow: 0 0 13px var(--orange);
  border-radius: 50%;
}
.gate-status b{ color: var(--orange); }
.gate-skip{
  min-height: 2.7rem;
  padding: .45rem 1.15rem;
  border: 1px solid rgba(243,234,216,.35);
  background: transparent;
  color: var(--cream);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.gate-skip:hover{ background: rgba(243,234,216,.1); }
.gate-skip:focus-visible{ outline: 2px solid #a5d9fc; outline-offset: .3rem; }

/* Overlay mode for first-time visitors with JS, so the hero is ready underneath. */
html.gate-pending,
html.gate-pending body{ overflow: hidden; height: 100%; }
html.gate-pending .gate{
  position: fixed;
  inset: 0;
  z-index: 100;
}
html.gate-seen .gate,
html.gate-bypass .gate,
.gate[hidden]{ display: none !important; }

.gate.leaving .gate-wordmark,
.gate.leaving .gate-bottom,
.gate.leaving .gate-top{ animation: gate-exit .35s ease both; }
.gate.leaving .gate-art{ animation: quiet-exit .46s ease both; }
@keyframes gate-exit{ to{ opacity: 0; transform: translateY(10px); } }
@keyframes quiet-exit{ to{ opacity: .13; } }

@media (max-width: 700px){
  .gate-art{
    background-color: #0a0e15;
    background-size: cover;
    background-position: center 42%;
  }
  .gate-wordmark{
    width: clamp(9.5rem, 42vw, 13rem);
    margin-top: clamp(.35rem, 1.8svh, 1rem);
  }
  .gate::after{
    background: linear-gradient(180deg, #080b12a8 0%, #080b1233 18%, transparent 36%, transparent 64%, #080b12d9 100%);
  }
  .gate-top{ font-size: .63rem; letter-spacing: .11em; }
  .gate-bottom{ margin-bottom: max(.4rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 359px){
  .gate-top span:nth-child(2){ display: none; }
}
@media (min-width: 701px) and (max-height: 650px){
  .gate-wordmark{ width: clamp(8rem, 14vh, 11rem); margin-top: 0; }
}
@media (prefers-reduced-motion: reduce){
  .gate-entry{ transition: none; }
  .gate.leaving .gate-wordmark,
  .gate.leaving .gate-bottom,
  .gate.leaving .gate-top,
  .gate.leaving .gate-art{ animation: none; }
}
