/* Homepage door. Lives at repo root so live CI ships it (opt/ is stripped). */
:root {
  --navy: #162033;
  --ink: #15202b;
  --paper: #f4ead4;
  --gold: #d4a017;
  --sand: #c4a574;
  --cream: #fff6d8;
  --leaf: #6fbf4a;
  --accent: #e4570e;
  --dark: #100c09;
  --bay: #1a120c;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Archivo Black", "Nunito", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-weight: 700;
  color: var(--cream);
  background: var(--dark);
  line-height: 1.35;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
}
.btn:hover { background: #c2410c; color: #fff; }

.flash {
  background: #080604;
  overflow: hidden;
}
.flash-n,
.flash-word,
.flash-price,
.flash-logo span,
.flash-go {
  font-synthesis: none;
}
.flash-stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 0 0;
  background:
    linear-gradient(180deg, rgba(8,6,4,0.55) 0%, rgba(8,6,4,0.78) 55%, #080604 88%),
    #100c09 url("/img/redd-harbor-night.png?v=door1") center 30% / cover no-repeat;
}
.flash-logo {
  margin: 0 0.75rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.flash-logo img {
  width: clamp(5.5rem, 22vw, 8.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 5px 0 #3d1f0c);
}
.flash-logo span {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.35rem, 8vw, 2.6rem);
  line-height: 1;
  color: #ffd27a;
  text-shadow: 0 3px 0 #3d1f0c, 0 0 22px rgba(212, 160, 23, 0.35);
  text-align: center;
}
.flash-stage h1 {
  margin: 0 0.6rem 0.15rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  color: #fff6d8;
  line-height: 0.9;
}
.flash-n {
  font-family: var(--display);
  font-size: clamp(4.4rem, 28svw, 7rem);
  letter-spacing: -0.04em;
  text-shadow: 0 4px 0 #3d1f0c, 0 0 28px rgba(228, 87, 14, 0.45);
}
.flash-word {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 6svw, 1.7rem);
  letter-spacing: 0.04em;
  color: #ffd27a;
}
.flash-price {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(5.2rem, 34svw, 8rem);
  line-height: 0.85;
  color: #e4570e;
  letter-spacing: -0.05em;
  text-shadow: 0 5px 0 #3d1208, 0 0 40px rgba(228, 87, 14, 0.55);
}
.flash-price span {
  font-size: 0.55em;
  vertical-align: 0.18em;
  margin-right: 0.04em;
}
.flash-go {
  width: calc(100% - 2rem);
  margin: 0 1rem;
  min-height: 64px;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  border: 3px solid #ffd27a;
  box-shadow: 0 0 0 4px #e4570e, 0 10px 0 #8a2608;
}
.flash-go:hover { background: #ff6a1a; color: #fff; }
.flash-strip {
  margin-top: 1.4rem;
  overflow: hidden;
  border-top: 3px solid #d4a017;
  border-bottom: 3px solid #d4a017;
  background: #1a120c;
  padding: 0.55rem 0;
}
.flash-track {
  display: flex;
  width: max-content;
  animation: flash-run 14s linear infinite;
}
.flash-group {
  display: flex;
  gap: 0.55rem;
  padding: 0;
  padding-right: 0.55rem;
}
.flash-track img {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  background: #1a120c;
  border: 2px solid #3d2a1a;
  flex: 0 0 auto;
}
@keyframes flash-run {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--loop, 50%))); }
}
@media (prefers-reduced-motion: reduce) {
  .flash-track { animation: none; }
}
.flash-legal {
  margin: 0;
  padding: 0.65rem 1rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c4a574;
}
.flash-legal a { color: #ffd27a; }
.flash .hidden { display: none !important; }
.flash .pause-banner {
  background: #9a3412;
  color: #fff7ed;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  line-height: 1.35;
}
.flash .pause-banner-inner {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}
.flash .pause-banner-inner p { margin: 0; }
.flash .closed-mail-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}
.flash .field-input {
  min-width: 12rem;
  min-height: 44px;
  padding: 0.4rem 0.65rem;
  border: 2px solid #3d2a1a;
  border-radius: 2px;
  font: inherit;
}
.flash .closed-mail-form input.field-input {
  background: #fff7ed;
  color: #1a140f;
}
.flash .closed-mail-form .btn {
  background: #fff7ed;
  color: #7f1d1d;
}
.flash .msg { margin: 0; }

@media (min-width: 720px) {
  .flash-go { width: auto; min-width: 18rem; align-self: center; margin: 0 auto; }
}
