:root {
  --ink: #08090b;
  --charcoal: #111317;
  --bone: #f0e8d8;
  --coral: #ef654a;
  --gold: #f4bd49;
  --blue: #087dff;
  --cyan: #45dfff;
  --muted: #a7a8aa;
  --line: rgba(240, 232, 216, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Arial, Helvetica, sans-serif;
}

body.admin-bar .site-header { margin-top: 32px; }
.custom-logo-link { display: block; line-height: 0; }
.wordmark .custom-logo-link { transform: skew(4deg); }
.custom-logo {
  width: auto;
  max-width: min(240px, 42vw);
  max-height: 72px;
  object-fit: contain;
}
.content-shell {
  width: min(880px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 72px 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  color: var(--bone);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 0.85;
  letter-spacing: -0.035em;
  transform: skew(-4deg);
}
.wordmark span { color: var(--coral); }
.wordmark strong { font-weight: 900; }

.heat-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(240, 232, 216, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.heat-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(69, 223, 255, 0.1), 0 0 18px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-image {
  position: absolute;
  z-index: -4;
  inset: 0 0 0 27%;
  background-image: url("../images/yeahbacon-merch-hero.png");
  background-position: center right;
  background-size: cover;
}
.hero-shade {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, #08090b 0%, rgba(8, 9, 11, 0.98) 23%, rgba(8, 9, 11, 0.64) 53%, rgba(8, 9, 11, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.72) 0%, transparent 40%);
}
.blue-burn {
  position: absolute;
  z-index: -2;
  right: 8%;
  bottom: -80px;
  width: min(660px, 55vw);
  height: 170px;
  border-radius: 50%;
  background: rgba(8, 125, 255, 0.24);
  filter: blur(46px);
  animation: shimmer 4.5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(82px, 12vh, 150px) 0 150px;
}
.eyebrow, .kicker {
  margin: 0;
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.25rem, 9.8vw, 9.7rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--bone);
  text-shadow: 0 0 45px rgba(8, 125, 255, 0.24);
}
.intro {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(240, 232, 216, 0.78);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.signup { max-width: 650px; }
.signup label {
  display: block;
  margin-bottom: 10px;
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(240, 232, 216, 0.26);
  background: rgba(8, 9, 11, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}
.signup input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--bone);
  padding: 15px 17px;
  font-size: 1rem;
}
.signup input::placeholder { color: rgba(240, 232, 216, 0.38); }
.signup input:focus-visible { box-shadow: inset 0 -2px 0 var(--cyan); }
.signup button {
  min-height: 52px;
  border: 0;
  background: var(--coral);
  color: #09090a;
  padding: 0 24px;
  font-weight: 950;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.signup button:hover:not(:disabled), .signup button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold);
  box-shadow: 0 0 30px rgba(244, 189, 73, 0.26);
}
.signup button:disabled { cursor: wait; opacity: 0.72; }
.signup-note, .form-message {
  margin: 10px 2px 0;
  color: rgba(240, 232, 216, 0.5);
  font-size: 0.8rem;
  line-height: 1.45;
}
.form-message { min-height: 1.2em; color: var(--bone); }
.form-message.success { color: var(--cyan); }
.form-message.error { color: #ff907c; }
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(240, 232, 216, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  writing-mode: vertical-rl;
}
.scroll-cue i { color: var(--cyan); font-size: 1.1rem; font-style: normal; }

.preview {
  position: relative;
  padding: clamp(80px, 10vw, 150px) max(32px, calc((100vw - 1440px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(69, 223, 255, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 125, 255, 0.14), transparent 34%),
    var(--charcoal);
}
.preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 28px var(--blue);
}
.preview-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 70px;
}
.preview h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.preview article {
  min-height: 320px;
  padding: 34px;
  border-right: 1px solid var(--line);
}
.preview article:last-child { border-right: 0; }
.number {
  display: block;
  margin-bottom: 70px;
  color: rgba(240, 232, 216, 0.3);
  font-size: 0.78rem;
  font-weight: 900;
}
.preview h3 {
  margin: 13px 0 17px;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.05;
}
.preview article > p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.yb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px max(32px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: rgba(240, 232, 216, 0.48);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.yb-footer p { margin: 0; }
.footer-mark { font-size: 1.2rem; }

@keyframes pulse {
  0%, 100% { opacity: 0.62; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.65; transform: translateX(-2%) scaleX(0.92); }
  50% { opacity: 1; transform: translateX(2%) scaleX(1.05); }
}

@media (max-width: 820px) {
  .site-header, .hero-content { width: min(100% - 40px, 680px); }
  .heat-status { font-size: 0.64rem; letter-spacing: 0.12em; }
  .hero-image {
    inset: 31% -22% 0 0;
    background-position: 66% center;
    opacity: 0.68;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, #08090b 0%, rgba(8, 9, 11, 0.96) 38%, rgba(8, 9, 11, 0.52) 70%, #08090b 100%),
      linear-gradient(90deg, rgba(8, 9, 11, 0.72), transparent);
  }
  .hero-content { padding-top: 78px; padding-bottom: 320px; }
  h1 { font-size: clamp(4.2rem, 18vw, 7rem); }
  .preview-heading { grid-template-columns: 1fr; gap: 18px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .preview article:last-child { border-bottom: 0; }
  .number { margin-bottom: 45px; }
  .yb-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .site-header { width: calc(100% - 32px); padding-top: 20px; }
  .heat-status {
    max-width: 125px;
    text-align: right;
    line-height: 1.35;
  }
  .hero-content { width: calc(100% - 32px); padding-top: 64px; }
  h1 { font-size: clamp(3.75rem, 19vw, 5.8rem); line-height: 0.86; }
  h1 span { -webkit-text-stroke-width: 1px; }
  .signup-row { grid-template-columns: 1fr; }
  .signup button { width: 100%; }
  .scroll-cue { display: none; }
  .preview { padding-inline: 20px; }
  .preview article { padding: 30px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heat-status span, .blue-burn { animation: none; }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header { margin-top: 46px; }
}
