@font-face {
  font-family: 'Special Elite';
  src: url('../fonts/special-elite.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #080807;
  --bone: #e7ceb2;
  --blood: #a30708;
  --u: min(.0598086vw, .10627svh);
  font-family: 'Special Elite', 'Courier New', monospace;
  background: var(--ink);
  color: var(--bone);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--bone); outline-offset: 6px; }
button[hidden], [hidden] { display: none !important; }
svg { display: block; }
::selection { background: #a30808; color: #ffead5; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; transform: translateY(-200%);
  z-index: 100; padding: 14px; background: var(--bone); color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.site-shell {
  position: relative; isolation: isolate; min-height: 100svh;
  display: flex; flex-direction: column; overflow: clip;
  background: #070706 url('../images/grain.svg') repeat;
}
.site-shell::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: url('../images/scratches.svg') center / 100% 100%; opacity: .6;
}
.mobile-header { display: none; }
.stage { position: relative; flex: 1; display: flex; align-items: center; min-height: calc(845 * var(--u)); }
.scene { position: absolute; inset: 0 0 0 34%; z-index: 0; overflow: hidden; }
.scene--empty {
  background: radial-gradient(ellipse at 80% 40%, #43080540 0, #24070530 30%, #07070600 68%);
}
.scene__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.scene__image--mobile { display: none; object-fit: contain; }
.scene::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #070706 0%, #07070680 3%, transparent 12%), linear-gradient(0deg, #07070670, transparent 12%);
}
.construction {
  z-index: 4; position: relative; width: calc(500 * var(--u));
  margin-left: calc(70 * var(--u)); padding-top: calc(35 * var(--u)); padding-bottom: calc(20 * var(--u));
  text-align: center; scroll-margin-top: 20px;
  animation: panel-arrives .75s ease-out both;
}
.compass { flex: none; }
.compass--desktop { width: calc(96 * var(--u)); height: calc(96 * var(--u)); margin-left: calc(35 * var(--u)); margin-bottom: calc(-5 * var(--u)); }
h1 { padding: 0; margin: 0; font-size: inherit; font-weight: inherit; }
.wordmark { display: block; }
.wordmark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 7px #ffffff12); }
.wordmark--desktop { width: 100%; height: calc(385 * var(--u)); }
.wordmark--mobile { display: none; }
.construction-label {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  width: calc(522 * var(--u)); height: calc(64 * var(--u)); margin: calc(5 * var(--u)) calc(-11 * var(--u)) calc(10 * var(--u));
  padding: calc(9 * var(--u)) calc(10 * var(--u)) 0;
  font-size: calc(33 * var(--u)); line-height: 1.1; color: #100d08; white-space: nowrap;
}
.construction-label::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--bone) url('../images/ink-wear.svg') center / 520px 180px;
  mask: url('../images/paint-strip.svg') center / 100% 100% no-repeat;
}
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(10 * var(--u)); width: calc(465 * var(--u)); margin-inline: auto; }
.countdown__unit {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; flex-direction: column;
  min-width: 0; height: calc(110 * var(--u)); padding-top: calc(5 * var(--u));
  background: #05050586; border: 1px solid #e6ccb0c4;
  box-shadow: inset 2px 1px #340400, inset -2px -2px #210000;
}
.countdown__unit::before {
  content: ''; position: absolute; inset: -3px; pointer-events: none; z-index: 2;
  border: 3px solid transparent; border-image: url('../images/torn-box.svg') 18 / 8px / 1px stretch;
}
.countdown__number {
  display: block; font-family: 'Oswald', Impact, sans-serif; font-size: calc(65 * var(--u)); font-weight: 700;
  line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: calc(-2 * var(--u));
  mask-image: url('../images/type-wear.svg'); mask-size: 180px 160px;
}
.countdown__label { display: block; margin-top: calc(7 * var(--u)); font-size: max(10px, calc(14.5 * var(--u))); letter-spacing: calc(2 * var(--u)); text-transform: uppercase; line-height: 1; }
.soon-button {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
  gap: calc(28 * var(--u)); width: calc(402 * var(--u)); min-height: calc(82 * var(--u));
  margin: calc(25 * var(--u)) auto 0; padding: calc(10 * var(--u)) calc(15 * var(--u)) 0;
  color: #f6e9d7; background: linear-gradient(100deg, #8d0608c9, #bb090cc4 55%, #840405cf);
  border: 1px solid #e7ceb2; box-shadow: inset 0 0 0 3px #790000, inset 0 0 0 4px #e4ccb0a8;
  font-size: calc(39 * var(--u)); line-height: 1.1;
  transition: background-color .2s, box-shadow .2s;
  animation: ember-pulse 5s ease-in-out infinite;
}
.soon-button::before {
  content: ''; position: absolute; inset: -5px; border: 5px solid transparent; pointer-events: none;
  border-image: url('../images/torn-box.svg') 18 / 12px / 1px stretch;
}
.soon-button::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('../images/ink-wear.svg') center / 380px 130px; opacity: .8; }
.soon-button svg { width: calc(38 * var(--u)); height: calc(30 * var(--u)); margin-top: calc(-6 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2; }
.soon-button:hover { background-color: #e21b13; box-shadow: inset 0 0 0 3px #790000, inset 0 0 0 4px var(--bone), 0 0 24px #96000045; }
.soon-button:hover svg { transform: translateX(4px); }
.soon-button svg { transition: transform .2s ease; }
.no-script { font-size: max(12px, calc(16 * var(--u))); }
.site-footer {
  z-index: 4; position: relative; flex: none; display: grid; align-items: center;
  grid-template-columns: 1fr calc(440 * var(--u)) 1fr; min-height: calc(96 * var(--u));
  margin-inline: calc(30 * var(--u)); padding: calc(19 * var(--u)) calc(130 * var(--u)) calc(11 * var(--u));
  border-top: 1px solid #e7ceb29c; background: #05050565;
}
.contact-link { display: flex; align-items: center; gap: calc(23 * var(--u)); font-size: calc(22 * var(--u)); letter-spacing: calc(3 * var(--u)); line-height: 1.4; white-space: nowrap; }
.contact-link:hover span { text-decoration: underline; text-underline-offset: 5px; }
.contact-icon { width: calc(37 * var(--u)); height: calc(37 * var(--u)); flex: none; }
.contact-icon--mail { height: calc(29 * var(--u)); }
.contact-link--email { grid-column: 1; grid-row: 1; }
.contact-link--web { grid-column: 3; grid-row: 1; justify-self: end; }
.footer-rule { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: calc(20 * var(--u)); padding-inline: calc(22 * var(--u)); }
.footer-rule::before, .footer-rule::after { content: ''; height: 1px; flex: 1; background: #e7ceb2ae; }
.footer-rule .compass { width: calc(62 * var(--u)); height: calc(62 * var(--u)); }
.page-frame {
  position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background: url('../images/frame-desktop.svg') center / 100% 100% no-repeat;
}

@media (max-width: 1100px) and (min-width: 1024px) {
  .site-footer { padding-inline: calc(70 * var(--u)); grid-template-columns: 1fr calc(180 * var(--u)) 1fr; }
  .contact-link { font-size: max(12px, calc(21 * var(--u))); letter-spacing: calc(1.7 * var(--u)); gap: calc(15 * var(--u)); }
}

@media (max-width: 1023px), (orientation: portrait) {
  :root { --u: .106269926vw; }
  .site-shell { min-height: 100svh; }
  .site-shell::before { opacity: .75; }
  .mobile-header {
    position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between;
    height: calc(180 * var(--u)); padding: calc(16 * var(--u)) calc(62 * var(--u));
    border-bottom: 1px solid #cbb19358; background: #05050596;
  }
  .mobile-brand { display: flex; align-items: center; width: calc(690 * var(--u)); gap: calc(35 * var(--u)); }
  .mobile-brand > .compass { width: calc(104 * var(--u)); height: calc(104 * var(--u)); }
  .wordmark--header { width: calc(552 * var(--u)); height: calc(145 * var(--u)); }
  .menu-toggle { position: relative; border: 0; padding: 8px; background: transparent; color: var(--bone); cursor: pointer; width: max(44px, calc(74 * var(--u))); min-height: 44px; flex: none; }
  .menu-toggle span { display: block; height: max(3px, calc(8 * var(--u))); width: 100%; margin-block: calc(9 * var(--u)); background: currentColor; mask: url('../images/type-wear.svg') center / 100px 80px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(calc(max(3px, 8 * var(--u)) + 9 * var(--u))) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(calc(-1 * (max(3px, 8 * var(--u)) + 9 * var(--u)))) rotate(-45deg); }
  .mobile-menu {
    position: absolute; right: calc(45 * var(--u)); top: calc(100% - 5px); min-width: min(250px, 82vw);
    padding: 12px; background: #0c0907f5 url('../images/grain.svg'); border: 1px solid #b39a7d;
    box-shadow: 0 12px 35px #000c;
  }
  .mobile-menu a { display: block; padding: 16px; font-size: 17px; }
  .mobile-menu a:hover { background: #950808; }
  .stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; flex: 1; }
  .scene { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; min-height: calc(710 * var(--u)); flex: 1 0 calc(710 * var(--u)); }
  .scene--empty { background: radial-gradient(ellipse at 60% 42%, #43080555, #1d070628 50%, transparent 80%); }
  .scene__image { object-position: center; }
  .scene--mobile-override .scene__image--main { display: none; }
  .scene--mobile-override .scene__image--mobile { display: block; }
  .scene::after { background: linear-gradient(0deg, #070706aa 0, transparent 6%, transparent 94%, #07070650); }
  .scene::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; border-block: calc(14 * var(--u)) solid transparent; border-image: url('../images/torn-box.svg') 18 / calc(18 * var(--u)) / 0 stretch; }
  .construction { width: 100%; margin: 0; padding: calc(32 * var(--u)) calc(60 * var(--u)) calc(23 * var(--u)); flex: none; }
  .compass--desktop, .wordmark--desktop { display: none; }
  .wordmark--mobile { display: block; width: 100%; height: calc(500 * var(--u)); }
  .construction-label { width: calc(660 * var(--u)); max-width: 100%; height: calc(66 * var(--u)); margin: calc(6 * var(--u)) auto calc(22 * var(--u)); font-size: max(15px, calc(40 * var(--u))); padding-top: calc(9 * var(--u)); }
  .countdown { width: calc(740 * var(--u)); max-width: 100%; gap: calc(17 * var(--u)); }
  .countdown__unit { height: calc(146 * var(--u)); padding-top: calc(6 * var(--u)); }
  .countdown__number { font-size: calc(99 * var(--u)); letter-spacing: calc(-2 * var(--u)); }
  .countdown__label { margin-top: calc(7 * var(--u)); font-size: max(9px, calc(23 * var(--u))); letter-spacing: calc(3 * var(--u)); }
  .soon-button { width: calc(548 * var(--u)); min-height: calc(106 * var(--u)); margin-top: calc(28 * var(--u)); padding-top: calc(10 * var(--u)); gap: calc(28 * var(--u)); font-size: calc(47 * var(--u)); }
  .soon-button svg { width: calc(45 * var(--u)); height: calc(35 * var(--u)); margin-top: calc(-5 * var(--u)); }
  .site-footer {
    display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--u)); min-height: calc(164 * var(--u));
    margin-inline: calc(62 * var(--u)); padding: 0 0 calc(40 * var(--u)); border-top: 0; background: transparent;
  }
  .footer-rule { order: -1; width: 100%; gap: calc(15 * var(--u)); padding: 0; margin-bottom: calc(-7 * var(--u)); }
  .footer-rule .compass { width: calc(62 * var(--u)); height: calc(62 * var(--u)); }
  .contact-link { width: max-content; max-width: 100%; gap: calc(22 * var(--u)); font-size: max(12px, calc(25 * var(--u))); letter-spacing: calc(.7 * var(--u)); }
  .contact-icon { width: max(16px, calc(37 * var(--u))); height: max(16px, calc(37 * var(--u))); }
  .contact-icon--mail { height: max(13px, calc(27 * var(--u))); }
  .page-frame { background-image: url('../images/frame-mobile.svg'); }
}
@media (max-width: 380px) {
  .mobile-header { padding-inline: 18px; }
  .mobile-brand { gap: 10px; width: calc(100% - 48px); }
  .wordmark--header { flex: 1; }
  .construction { padding-inline: 18px; }
  .countdown__label { letter-spacing: 1px; }
  .construction-label { font-size: 14px; }
  .site-footer { margin-inline: 24px; gap: 10px; padding-bottom: 22px; }
  .contact-link { font-size: 11px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@keyframes panel-arrives {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ember-pulse {
  0%, 100% { filter: drop-shadow(0 0 3px #b10b0626); }
  50% { filter: drop-shadow(0 0 10px #b10b0652); }
}
