/* Eternal Wrestling landing page. Brand tokens from the "Brand and website" tab. */

@font-face { font-family: "Saira Condensed"; font-weight: 400; font-display: swap; src: url("fonts/SairaCondensed-Regular.woff2") format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 600; font-display: swap; src: url("fonts/SairaCondensed-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 800; font-display: swap; src: url("fonts/SairaCondensed-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 900; font-display: swap; src: url("fonts/SairaCondensed-Black.woff2") format("woff2"); }
@font-face { font-family: "Press Start 2P"; font-weight: 400; font-display: swap; src: url("fonts/PressStart2P-Regular.woff2") format("woff2"); }

:root {
  --black: #0B0B0D;
  --panel: #141418;
  --line: #2A2B31;
  --red: #D7262E;
  --red-deep: #7A0F15;
  --silver: #C9CDD2;
  --text: #E4E6EA;
  --muted: #A9AEB5;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --slant: skewX(-8deg);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1; margin: 0; text-transform: uppercase; }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(11, 11, 13, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.375rem; text-transform: uppercase; letter-spacing: 0.5px; }
.brand span { transform: var(--slant); }
.mark { width: 34px; height: 22px; transform: var(--slant); fill: none; stroke: var(--text); stroke-width: 34; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.topbar-cta {
  font-family: var(--pixel); font-size: 0.625rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  padding: 12px 14px; border: 2px solid var(--red); min-height: 44px; display: inline-flex; align-items: center;
}
.topbar-cta:hover { background: var(--red); color: #fff; }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
/* Ring ropes run full-bleed behind the name, as in the logo. */
.wordmark-wrap { position: relative; width: 100%; display: flex; justify-content: center; }
.ropes { position: absolute; left: -50vw; right: -50vw; top: 50%; transform: translateY(-50%); display: grid; gap: clamp(14px, 3.4vw, 28px); pointer-events: none; }
.ropes span { display: block; height: clamp(5px, 1.2vw, 10px); background: var(--red); }
.ropes span:nth-child(2) { background: var(--silver); }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }

.status-tag {
  display: inline-block; font-family: var(--pixel); font-size: 0.6875rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 14px; border: 3px solid var(--red); color: var(--text); margin-bottom: 28px;
}
.hero-mark { width: 120px; height: 75px; transform: var(--slant); fill: none; stroke: var(--text); stroke-width: 30; stroke-linejoin: round; stroke-linecap: round; overflow: visible; margin-bottom: 18px; }

.wordmark { position: relative; display: flex; flex-direction: column; align-items: center; transform: var(--slant); line-height: 0.88; }
.wordmark span { display: block; padding: 0 0.07em; background: var(--black); }
.wm-top { font-size: clamp(4rem, 19vw, 9.5rem); letter-spacing: -1px; color: var(--text); }
.wm-bottom { font-size: clamp(3.05rem, 14.5vw, 7.25rem); color: var(--red); }

.tagline { margin-top: 26px; font-family: var(--pixel); font-size: clamp(0.6875rem, 2.6vw, 0.9375rem); line-height: 1.7; letter-spacing: 1px; text-transform: uppercase; color: var(--silver); }
.lede { margin-top: 18px; max-width: 30em; font-size: 1.25rem; color: var(--text); text-wrap: balance; }

/* ---------- Signup ---------- */
.signup { margin-top: 32px; width: 100%; max-width: 520px; text-align: left; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); }
.signup-label { display: block; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 12px; }
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1; min-width: 0; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1.125rem; color: var(--text);
  background: var(--black); border: 2px solid #4A4C55; border-radius: 0;
}
.signup input[type="email"]::placeholder { color: #8A8F97; }
.signup input[type="email"]:focus { outline: none; border-color: var(--red); }
.signup button {
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px;
  color: #fff; background: var(--red);
}
.signup button:hover { background: #B81F26; }
.signup button:disabled { opacity: 0.6; cursor: wait; }
.signup-note { margin-top: 10px; font-size: 1rem; color: var(--muted); }
.signup-status { margin-top: 8px; font-weight: 600; min-height: 1.5em; }
.signup-status.is-ok { color: #9BE3A6; }
.signup-status.is-error { color: #FF8A8F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) {
  .signup-row { flex-direction: column; }
  .signup button { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.eyebrow { font-family: var(--pixel); font-size: 0.6875rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section h2 { font-size: clamp(2.5rem, 8vw, 4rem); transform: var(--slant); transform-origin: left bottom; }
.section-lede { margin-top: 16px; max-width: 40em; font-size: 1.25rem; color: var(--silver); }

.rope-divider { display: grid; gap: 8px; }
.rope-divider span { display: block; height: 5px; background: var(--red); }
.rope-divider span:nth-child(2) { background: var(--silver); }

/* Pillars */
.pillars { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.pillar h3 { font-size: 1.75rem; line-height: 1.05; }
.pillar p { margin-top: 10px; color: var(--silver); }
.pillar-lead { background: var(--red-deep); border-color: var(--red); }
.pillar-lead p { color: var(--text); }
.pillar-lead { grid-column: 1 / -1; }
@media (min-width: 880px) { .pillar-lead { padding: 32px; } .pillar-lead h3 { font-size: 2.5rem; } .pillar-lead p { font-size: 1.3125rem; } }

/* Modes */
.modes { list-style: none; counter-reset: mode; margin: 36px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.modes li { counter-increment: mode; background: var(--black); padding: 24px; }
.modes li::before { content: counter(mode, decimal-leading-zero); display: block; font-family: var(--pixel); font-size: 0.75rem; color: var(--red); margin-bottom: 14px; }
.modes h3 { font-size: 1.75rem; }
.modes p { margin-top: 8px; color: var(--silver); }

/* Follow */
.follow .status-tag { margin-bottom: 20px; }
.socials { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.socials a {
  display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 18px 20px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red);
}
.socials a:hover { border-color: var(--red); background: #1B1B21; }
.social-name { font-weight: 900; font-size: 1.5rem; text-transform: uppercase; }
.social-handle { color: var(--silver); font-size: 1.0625rem; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-mark { width: 72px; height: 45px; transform: var(--slant); fill: none; stroke: var(--text); stroke-width: 30; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.footer-text { display: grid; gap: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a, .footer-text > p > a { display: inline-block; padding: 6px 0; }
.copyright { color: var(--muted); font-size: 1rem; }
