:root {
  --field: #0f1113;
  --deep: #131416;
  --chalk: #f7f7f8;
  --ink: #1a1a1a;
  --lime: #d1fe17;
  --line: rgba(247, 247, 248, 0.16);
  --font-display: "Cabinet Grotesk", "Avenir Next", sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--field);
  color: var(--chalk);
  color-scheme: dark;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.04em; line-height: 0.95; margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-viewing span, .footer-word span, .hero-frame, .submit-block { transition: none; }
  .rail { overflow: visible; flex-wrap: wrap; }
}

.gate {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
}
.gate-inner { width: min(100%, 28rem); }
.brand, .wordmark span { font-family: var(--font-display); letter-spacing: -0.03em; }
.brand { font-size: 2.2rem; margin: 0; }
.gate h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-top: 2rem; }
.gate p { max-width: 40ch; }
.age-confirm, .submit-block, .hero-frame, .desk-enter {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.age-confirm {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.9rem 1.1rem;
}
.age-leave, .age-return {
  display: block;
  margin-top: 1rem;
  background: transparent;
  color: var(--chalk);
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.nav {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  background: var(--field);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 1.15rem; }
.wordmark img { width: 2.25rem; height: 2.25rem; object-fit: cover; }
.nav nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-text { display: none; text-decoration: none; font-size: 0.95rem; }
.nav-viewing { display: inline-flex; flex-direction: column; text-decoration: none; font-size: 0.95rem; }
.nav-viewing span, .footer-word span {
  height: 1px;
  transform: scaleX(0.35);
  transform-origin: left;
  background: var(--lime);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-word span { transform: scaleX(0); }
.nav-viewing:hover span, .nav-viewing:focus-visible span,
.footer-word:hover span, .footer-word:focus-visible span { transform: scaleX(1); }

.hero { position: relative; min-height: calc(100dvh - 4rem); background: var(--field); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 17, 19, 0.82), rgba(15, 17, 19, 0.28) 52%, rgba(15, 17, 19, 0.08));
}
.hero-copy {
  position: relative;
  min-height: calc(100dvh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.25rem;
}
.hero h1 { max-width: 12ch; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.hero-copy > p { max-width: 36ch; }
.hero-frame {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.85rem 1.1rem;
  width: fit-content;
}
.hero-frame i { display: none; }
.hero-frame:hover { transform: translateY(-1px); }
.hero-frame:active, .submit-block:active, .age-confirm:active { transform: scale(0.98); }

.file, .materials, .freight, .request { display: grid; }
.file-copy { background: var(--field); color: var(--chalk); padding: 4rem 1.25rem; }
.file h2, .figures h2, .freight h2, .request h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 12ch; }
.rose-rule { display: block; width: 3rem; height: 3px; margin-top: 1.5rem; background: var(--lime); }
.file-copy p { max-width: 48ch; }
.file-mark { display: flex; align-items: center; padding: 3rem 1.25rem; background: var(--deep); }
.file-mark p { margin: 0; font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); letter-spacing: -0.05em; line-height: 0.9; }

.materials img { width: 100%; min-height: 18rem; object-fit: cover; }
.materials div, .freight, .figures, .request { padding: 4rem 1.25rem; }
.materials ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.materials li, .freight li { display: flex; align-items: center; gap: 0.8rem; margin: 0.8rem 0; }
.glyph {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  background: url("assets/icons.png?v=hf") no-repeat;
  background-size: 200% 300%;
}
.g-age { background-position: 0 0; }
.g-figure { background-position: 100% 0; }
.g-quote { background-position: 0 50%; }
.g-carton { background-position: 100% 50%; }
.g-voice { background-position: 0 100%; }
.g-warmth { background-position: 100% 100%; }

.figures { padding-top: 4rem; }
.lede, .freight p, footer p { max-width: 46ch; }
.rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 2rem; }
.rail article { flex: 0 0 min(78vw, 18rem); scroll-snap-align: start; }
.rail img { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.plate-name {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.plate-name:hover { border-bottom-color: var(--lime); }
.price { margin-top: 0.8rem; }

.freight { position: relative; background: var(--field); }
.freight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 247, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 248, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.freight > * { position: relative; }
.freight ol { list-style: none; padding: 0; margin: 2rem 0 0; }
.freight li {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.freight li:last-child { border-bottom: 1px solid var(--line); }
.freight img { width: 100%; }

.request {
  background: var(--deep);
  color: var(--chalk);
}
.request form, #sent { display: flex; flex-direction: column; gap: 1rem; }
label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.95rem; }
.check { flex-direction: row; align-items: center; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--chalk);
  padding: 0.7rem 0.75rem;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.form-error { color: var(--lime); margin: 0; }
.submit-block { background: var(--lime); color: var(--ink); padding: 0.95rem 1rem; }
.submit-block:hover { transform: translateY(-1px); }

footer { background: var(--field); padding: 3rem 1.25rem; border-top: 1px solid var(--line); }
.marine { height: 3px; width: 3rem; margin-bottom: 2rem; background: var(--lime); }
.footer-word {
  display: inline-flex;
  flex-direction: column;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}

@media (min-width: 800px) {
  .nav { padding: 0 2.5rem; }
  .nav-text { display: inline; }
  .hero-copy, .file-copy, .file-mark, .materials div, .figures, .freight, .request, footer { padding-left: 2.5rem; padding-right: 2.5rem; }
  .file { grid-template-columns: 7fr 5fr; }
  .materials { grid-template-columns: 7fr 5fr; }
  .materials div { display: flex; flex-direction: column; justify-content: center; }
  .freight { grid-template-columns: 7fr 5fr; align-items: start; gap: 3rem; }
  .request { grid-template-columns: 4fr 8fr; gap: 2.5rem; align-items: start; }
  .rail article { flex-basis: 32%; }
}
@media (max-width: 900px) {
  .nav-text.wide, .nav-text.wider { display: none; }
}
@media (min-width: 1100px) {
  .nav-text.wider { display: inline; }
}
