/* ==========================================================================
   RGV Bronco — coming soon
   Dark editorial / magazine cover. Display: Russo One. Body: Poppins.
   Near-black ink, trail-orange action accent, steel hairlines.
   ========================================================================== */

:root {
  --ink: #0a0b0d;
  --ink-2: #101216;
  --ink-3: #15181d;
  --panel: #12151a;
  --fg: #f3f4f6;
  --fg-soft: #c6cbd2;
  --muted: #8b929c;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #f2681c;
  --accent-2: #ffb020;
  --accent-deep: #cf4a08;

  --font-display: "Russo One", system-ui, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --rule: 1px solid var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.004em;
  margin: 0;
  text-wrap: balance;
}

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

/* Fixed hairline frame — magazine page edge ------------------------------ */
.frame {
  position: fixed;
  inset: clamp(10px, 1.6vw, 18px);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 40;
}

/* Masthead --------------------------------------------------------------- */
.masthead {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 2.1rem) var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wordmark__rgv { color: var(--accent); }
.wordmark__bronco { color: var(--fg); }
.wordmark--sm { font-size: 1.05rem; }

.masthead__meta {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.masthead__place { color: var(--muted); }

.pill {
  display: inline-block;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(242, 104, 28, 0.16), 0 0 26px rgba(242, 104, 28, 0.22);
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.04);
  animation: heroDrift 26s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,11,13,0.86) 0%, rgba(10,11,13,0.30) 34%, rgba(10,11,13,0.55) 68%, rgba(10,11,13,0.97) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.72) 0%, rgba(10,11,13,0.10) 55%, rgba(10,11,13,0.45) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 12vh, 8rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.kicker::before {
  content: "";
  width: 2.1rem; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.cover-title {
  font-size: clamp(3.1rem, 12.5vw, 9.5rem);
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.lede {
  max-width: 46ch;
  margin: 0 0 2rem;
  color: var(--fg-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #140600;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--fg); color: var(--fg); }

.hero__tag {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.1rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

/* Teaser grid ------------------------------------------------------------ */
.teasers {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter) clamp(3rem, 7vw, 5rem);
}

.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head__index {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  text-transform: uppercase;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule);
}
.teaser {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2rem) clamp(1.8rem, 3vw, 2.6rem) 0;
  border-right: var(--rule);
  position: relative;
}
.teaser:last-child { border-right: 0; }
.teaser:not(:first-child) { padding-left: clamp(1.2rem, 2.5vw, 2rem); }
.teaser__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  margin-bottom: 0.9rem;
}
.teaser h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--fg);
}
.teaser p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Marquee ---------------------------------------------------------------- */
.marquee {
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--ink-2);
  overflow: hidden;
  padding: 1.05rem 0;
}
.marquee__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Scan band -------------------------------------------------------------- */
.scan {
  border-bottom: var(--rule);
  background:
    radial-gradient(120% 140% at 18% 0%, rgba(242, 104, 28, 0.14) 0%, rgba(10, 11, 13, 0) 55%),
    var(--ink-2);
}
.scan__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.scan__copy { flex: 1 1 20rem; min-width: 0; }
.scan h2 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.scan__caption { max-width: 40ch; margin: 0; color: var(--fg-soft); }

/* Paper tile. The SVG carries its own light background + 4-module quiet zone;
   the padding here only adds breathing room, never covers the code. */
.scan__tile {
  position: relative;
  flex: 0 0 auto;
  display: block;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  background: #f6f2ea;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.scan__tile:hover { transform: translateY(-3px); box-shadow: 0 24px 62px rgba(0, 0, 0, 0.55); }
.scan__tile img { width: clamp(10rem, 22vw, 13rem); height: auto; }

/* Viewfinder corner brackets */
.scan__bracket {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.scan__bracket--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.scan__bracket--tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.scan__bracket--bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.scan__bracket--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* Notify ----------------------------------------------------------------- */
.notify {
  background:
    radial-gradient(120% 120% at 82% 0%, rgba(242, 104, 28, 0.16) 0%, rgba(10, 11, 13, 0) 52%),
    var(--ink);
  border-bottom: var(--rule);
}
.notify__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--gutter);
}
.notify h2 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.notify__copy { max-width: 48ch; color: var(--fg-soft); margin: 0 0 2rem; }

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 40rem;
}
.signup input {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.signup input::placeholder { color: #6b727c; }
.signup input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 104, 28, 0.18);
}
.signup button {
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #140600;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.signup button:hover { transform: translateY(-2px); background: var(--accent-2); }
.signup__status {
  flex-basis: 100%;
  margin: 0.35rem 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  color: var(--muted);
}
.signup__status.is-ok { color: #7ee0a5; }
.signup__status.is-err { color: #ff9a8a; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.5rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer__brand p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.9rem; }
.site-footer__brand a { color: var(--fg-soft); border-bottom: 1px solid var(--line-strong); }
.site-footer__brand a:hover { color: var(--accent); border-color: var(--accent); }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.site-footer__meta a { color: var(--fg-soft); }
.site-footer__meta a:hover { color: var(--accent); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 780px) {
  .masthead__place { display: none; }
  .hero__tag { display: none; }
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser {
    border-right: 0;
    border-bottom: var(--rule);
    padding-left: 0 !important;
    padding-right: 0;
  }
  .teaser:last-child { border-bottom: 0; }
  .scan__inner { flex-direction: column; align-items: center; text-align: center; }
  .scan__copy { flex: 1 1 auto; }
  .scan__caption { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .btn:hover, .signup button:hover { transform: none; }
  .scan__tile:hover { transform: none; }
}
