/* STORMR — coming soon site
   Design system: near-black + bone text + one cold-steel accent.
   Every diagonal in this file uses --angle, echoing the Raidho rune's kick. */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #141414;
  --bg-raised: #1b1b1b;
  --text: #f2f0ea;
  --text-dim: rgba(242, 240, 234, 0.62);
  --text-faint: rgba(242, 240, 234, 0.38);
  --accent: #7a8896;
  --accent-bright: #a4b3c1;
  --border: rgba(242, 240, 234, 0.14);
  --border-strong: rgba(242, 240, 234, 0.28);
  --angle: 22deg;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, .display {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.rune {
  font-family: "Bebas Neue", sans-serif;
  display: inline-block;
}

/* ---------- grain overlay (subtle, fixed) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain-shift 8s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, -1%); }
  40% { transform: translate(1%, 2%); }
  60% { transform: translate(-1%, 1%); }
  80% { transform: translate(2%, -2%); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  background: linear-gradient(to bottom, rgba(20,20,20,0.85), transparent);
}
.wordmark {
  display: flex;
  align-items: center;
}
.logo-img { display: block; width: auto; }
.logo-img--nav { height: 18px; }
.logo-img--hero { height: 30px; margin: 0 auto; }
@media (min-width: 540px) {
  .logo-img--hero { height: 38px; }
}

.nav-links {
  display: none;
  gap: clamp(20px, 3vw, 40px);
}
.nav-links a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0) skewX(calc(var(--angle) * -1));
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current]::after { transform: scaleX(1) skewX(calc(var(--angle) * -1)); }

.nav-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 0 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}
.storm-layer {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(122,136,150,0.22), transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 20%, rgba(90,100,112,0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(60,66,74,0.35), transparent 65%);
  animation: storm-drift 26s ease-in-out infinite alternate;
  filter: blur(6px);
}
@keyframes storm-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.06); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.2), var(--bg) 92%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-logo { margin-bottom: 28px; opacity: 0.9; }
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  letter-spacing: 0.03em;
}
.hero h1 .accent { color: var(--accent-bright); }
.campaign-line {
  margin-top: 14px;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* countdown */
.countdown {
  display: flex;
  gap: clamp(10px, 2.5vw, 22px);
  justify-content: center;
  margin-top: 44px;
}
.countdown .unit {
  position: relative;
  min-width: 64px;
  padding: 14px 6px 10px;
  border: 1px solid var(--border);
  background: rgba(242,240,234,0.03);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.countdown .num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  display: block;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.countdown .num.tick { transform: translateY(-6px); opacity: 0.4; }
.countdown .label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ---------- email capture ---------- */
.capture {
  padding: 70px 0;
  text-align: center;
}
.capture .kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
  display: block;
}
.capture p.lede {
  max-width: 480px;
  margin: 0 auto 30px;
  color: var(--text-dim);
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}
.email-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 520px) {
  .email-row { flex-direction: row; }
}
.email-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
}
.email-form input[type="email"]:focus { outline: 1px solid var(--accent-bright); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--accent-bright);
}
.consent span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.consent a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent a:hover { color: var(--accent-bright); }
.btn {
  position: relative;
  border: 1px solid var(--accent-bright);
  background: transparent;
  color: var(--text);
  padding: 14px 26px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-bright);
  transform: translateX(-100%) skewX(calc(var(--angle) * -1));
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateX(0) skewX(calc(var(--angle) * -1)); }
.form-msg {
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--accent-bright);
  margin-top: 6px;
}

/* ---------- section divider ---------- */
.divider {
  height: 60px;
  background: var(--bg-raised);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- teaser grid ---------- */
.teaser { padding: 80px 0; background: var(--bg-raised); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head .kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.teaser-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .teaser-grid { grid-template-columns: repeat(3, 1fr); }
}
.placeholder-frame {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--border-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--text-faint);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  background: repeating-linear-gradient(
    calc(90deg - var(--angle)),
    rgba(242,240,234,0.02) 0 2px,
    transparent 2px 14px
  );
}

/* ---------- raidho block ---------- */
.raidho-block {
  padding: 110px 0;
  text-align: center;
}
.raidho-glyph {
  width: clamp(110px, 18vw, 200px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 5px rgba(164, 179, 193, 0.18));
}
.raidho-block p {
  color: var(--text-dim);
  letter-spacing: 0.04em;
  max-width: 460px;
  margin: 0 auto;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- footer ---------- */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer .socials {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.site-footer .socials a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.site-footer .socials a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.site-footer .motto {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.1em;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.site-footer .copyright {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ---------- editorial (myth section + myth page blocks) ---------- */
.editorial-hero {
  padding: 150px 0 70px;
  text-align: center;
}
.editorial-hero .kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.editorial-hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }

.myth { padding: 90px 0 20px; }

.editorial-block {
  display: grid;
  gap: 32px;
  padding: 60px 0;
  align-items: center;
}
@media (min-width: 800px) {
  .editorial-block { grid-template-columns: 1fr 1fr; gap: 60px; }
  .editorial-block.flip .placeholder-frame { order: 2; }
}
.editorial-block .placeholder-frame { aspect-ratio: 3 / 4; }
.editorial-block .body p { color: var(--text-dim); margin: 0 0 16px; }
.editorial-block .body h3 { font-size: 1.6rem; margin-bottom: 16px; }

.editorial-block.compact { padding: 30px 0; gap: 24px; }
@media (min-width: 800px) {
  .editorial-block.compact { gap: 44px; }
  .editorial-block.compact .placeholder-frame { aspect-ratio: 4 / 3; }
}
.editorial-block.compact .body p { font-size: 0.94rem; }
.editorial-block.compact .body h3 { font-size: 1.35rem; margin-bottom: 12px; }

.pull-quote {
  max-width: 720px;
  margin: 70px auto;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  position: relative;
  padding: 0 clamp(20px, 5vw, 0);
}
.pull-quote::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-bright);
  margin: 0 auto 26px;
  transform: skewX(calc(var(--angle) * -1));
}
.pull-quote.compact {
  margin: 30px auto;
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
}

/* ---------- about page ---------- */
.about-hero { padding: 150px 0 30px; text-align: center; }
.about-copy {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 0 90px;
}
.about-copy p { color: var(--text-dim); margin: 0 0 18px; }
.about-copy h2 {
  font-size: 1.3rem;
  margin: 44px 0 14px;
  color: var(--accent-bright);
}
.about-copy ul {
  color: var(--text-dim);
  margin: 0 0 18px;
  padding-left: 20px;
}
.about-copy li { margin-bottom: 8px; }
.about-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about-copy a:hover { color: var(--accent-bright); }
.about-copy em {
  color: var(--text-faint);
  font-style: normal;
}
.motto-callout {
  margin: 50px auto 0;
  max-width: 640px;
  padding: 30px clamp(20px, 5vw, 40px);
  border-left: 2px solid var(--accent-bright);
  background: var(--bg-raised);
}
.motto-callout .display { font-size: clamp(1.4rem, 4vw, 2rem); }

/* ---------- utility ---------- */
.mt-lg { margin-top: 60px; }
