/* WTF Movies VR - single page landing site */

:root {
  --ink: #180d23;
  --ink-deep: #120818;
  --plum: #2a1240;
  --paper: #fff6ea;
  --card: #fffdf8;
  --text: #241634;
  --muted: #635076;
  --coral: #ff4d6d;
  --coral-dark: #c0183f;
  --pink: #ff7ab8;
  --yellow: #ffd23f;
  --mint: #35e0a1;
  --shell: 1120px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  text-wrap: balance;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(18, 8, 24, 0.9);
}

.shell {
  width: min(var(--shell), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1.06rem;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

.btn-icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(255, 77, 109, 0.4);
}

.btn-primary:hover {
  background: #ff3760;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 77, 109, 0.5);
}

.btn-kofi {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(255, 210, 63, 0.28);
}

.btn-kofi:hover {
  background: #ffc70f;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 210, 63, 0.4);
}

.btn-ghost {
  border-color: rgba(255, 246, 234, 0.5);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 246, 234, 0.1);
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(18, 8, 24, 0.28);
}

.btn-ink:hover {
  background: #2c1240;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 8, 24, 0.36);
}

.btn:active {
  transform: translateY(0);
}

.label-short {
  display: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 8, 24, 0.82);
  border-bottom: 1px solid rgba(255, 246, 234, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.brand:hover .brand-mark {
  color: var(--yellow);
  transform: rotate(45deg);
}

.brand-mark {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  color: var(--coral);
  transition: transform 0.35s ease, color 0.25s ease;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 0 8.5rem;
  background: linear-gradient(180deg, var(--plum) 0%, var(--ink) 58%, var(--ink-deep) 100%);
  color: var(--paper);
}

.hero-texture {
  position: absolute;
  inset: -8%;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 246, 234, 0.16) 1.6px, transparent 1.7px);
  background-size: 28px 28px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.9rem;
  border: 2px solid rgba(53, 224, 161, 0.7);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-dark {
  border-color: rgba(255, 77, 109, 0.55);
  color: var(--coral-dark);
}

.eyebrow-ink {
  border-color: rgba(24, 13, 35, 0.45);
  color: var(--ink);
}

.hero h1 {
  margin-bottom: 1.1rem;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.h1-accent {
  color: var(--yellow);
}

.tagline {
  max-width: 34rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffd9e9;
}

.hero-sub {
  max-width: 32rem;
  margin-top: 0.9rem;
  color: rgba(255, 246, 234, 0.78);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.hero-note {
  margin-top: 1.2rem;
  color: rgba(255, 246, 234, 0.62);
  font-size: 0.92rem;
}

.hero-art {
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.45));
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 84px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- About ---------- */

.about {
  padding: 4.5rem 0 4rem;
}

.section-head {
  max-width: 46rem;
}

.about h2,
.support h2 {
  font-size: 2rem;
  font-weight: 900;
}

.lede {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1.1rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(36, 22, 52, 0.12);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 0 rgba(36, 22, 52, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 109, 0.5);
  box-shadow: 0 16px 32px rgba(36, 22, 52, 0.12);
}

.card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.28rem;
  font-weight: 900;
}

.card p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.card-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-coral {
  background: rgba(255, 77, 109, 0.22);
}

.icon-mint {
  background: rgba(53, 224, 161, 0.28);
}

.icon-yellow {
  background: rgba(255, 210, 63, 0.4);
}

/* ---------- Wave bands ---------- */

.wave-band {
  line-height: 0;
}

.wave-band svg {
  width: 100%;
  height: 62px;
}

.wave-to-support {
  background: var(--paper);
}

.wave-to-footer {
  background: var(--coral);
}

/* ---------- Support ---------- */

.support {
  padding: 3.5rem 0 4rem;
  background: var(--coral);
  color: var(--ink);
}

.support-inner {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.support-copy {
  max-width: 42rem;
}

.support h2 {
  margin-bottom: 1rem;
}

.support p {
  max-width: 40rem;
  font-weight: 500;
}

.support-action {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

.support-note {
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 3.5rem;
  background: var(--ink-deep);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand .brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--mint);
}

.footer-name {
  font-weight: 900;
}

.footer-tag {
  color: rgba(255, 246, 234, 0.66);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: var(--paper);
  border-color: var(--coral);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-texture {
    animation: drift 34s linear infinite;
  }

  .hero-art {
    animation: float 7s ease-in-out infinite;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-28px, -28px, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-1.2deg) translateY(0);
  }
  50% {
    transform: rotate(-1.2deg) translateY(-10px);
  }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .shell {
    width: min(var(--shell), 100% - 1.8rem);
  }

  .brand {
    font-size: 0.98rem;
  }

  .label-long {
    display: none;
  }

  .label-short {
    display: inline;
  }

  .hero {
    padding: 2.5rem 0 7rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .cta-row {
    gap: 0.7rem;
  }

  .hero-wave {
    height: 60px;
  }

  .btn-lg {
    width: 100%;
  }
}

@media (min-width: 561px) and (max-width: 899px) {
  .hero h1 {
    font-size: 3.3rem;
  }

  .about h2,
  .support h2 {
    font-size: 2.4rem;
  }
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: 84vh;
    min-height: 84svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem 0 9.5rem;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .about {
    padding: 6rem 0 5.5rem;
  }

  .about h2,
  .support h2 {
    font-size: 2.9rem;
  }

  .support {
    padding: 4.5rem 0 5rem;
  }

  .support-inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }

  .support-action {
    justify-items: end;
    text-align: right;
  }

  .wave-band svg {
    height: 78px;
  }

  .hero-wave {
    height: 110px;
  }
}

@media (min-width: 1120px) {
  .hero h1 {
    font-size: 4.25rem;
  }
}
