/* MotherfuckinJim — one-page site */

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07070c;
  --bg-elev: #101018;
  --bg-card: #14141d;
  --ink: #f4efe6;
  --muted: #b7b0a5;
  --line: rgba(245, 160, 36, 0.28);
  --red: #e31818;
  --red-deep: #b10f0f;
  --orange: #f5a024;
  --orange-hot: #ffb347;
  --navy: #0b1428;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --max: 72rem;
  --pad: clamp(1.15rem, 4.5vw, 2.25rem);
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-body: "Roboto", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(177, 15, 15, 0.18), transparent 55%),
    var(--bg);
  min-height: 100svh;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--orange);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange-hot);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 20;
  background: var(--orange);
  color: #160800;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 7, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-height: 48px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 160, 36, 0.4);
  background: #000;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.4vw, 2.05rem);
  letter-spacing: 0.045em;
  line-height: 1;
  color: var(--red);
  text-shadow:
    -1px -1px 0 var(--orange),
     1px -1px 0 var(--orange),
    -1px  1px 0 var(--orange),
     1px  1px 0 var(--orange);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--orange);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 7, 12, 0.4) 0%, transparent 42%);
}

.hero-copy {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem var(--pad) 2rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  color: var(--orange);
  text-transform: uppercase;
}

.tagline {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 9.5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  max-width: 14ch;
  color: var(--ink);
  text-wrap: balance;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(177, 15, 15, 0.35);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--orange-hot);
  border-color: var(--orange);
}

/* Sections */

main section {
  padding: 3rem var(--pad);
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
}

.wrap-wide {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.15rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink);
}

.section-title span {
  color: var(--orange);
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Video */

.watch {
  background:
    linear-gradient(180deg, #07070c 0%, #0c0c14 100%);
  text-align: center;
}

.watch .lede {
  margin-left: auto;
  margin-right: auto;
}

.video-frame {
  position: relative;
  width: min(100%, 22.5rem, calc(72svh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 160, 36, 0.35);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-actions {
  margin: 1.25rem auto 0;
  width: min(100%, 22.5rem);
  display: flex;
  justify-content: center;
}

/* About */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.emblem {
  margin: 0 auto;
  width: min(100%, 22rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy);
}

.about p {
  margin: 0 0 1rem;
}

.about p:last-child {
  margin-bottom: 0;
}

/* Links */

.links {
  background: #0a0a12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 56px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.social-list a:hover,
.social-list a:focus-visible {
  border-color: var(--orange);
  color: var(--ink);
  background: #1a1a26;
}

.social-list svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}

.social-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  display: block;
  line-height: 1;
}

.social-handle {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */

.contact a.email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 2rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--orange);
  word-break: break-word;
  padding: 0.35rem 0;
  min-height: 44px;
}

.contact a.email:hover {
  color: var(--orange-hot);
}

/* Footer */

.site-footer {
  padding: 1.5rem var(--pad) 2.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

/* Desktop */

@media (max-width: 799px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.15rem;
  }

  .nav {
    justify-content: space-between;
    border-top: 1px solid rgba(245, 160, 36, 0.16);
  }

  .nav a {
    flex: 1;
    justify-content: center;
    padding-inline: 0.35rem;
  }
}

@media (min-width: 800px) {
  .header-inner {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: min(86svh, 46rem);
    justify-content: flex-end;
  }

  .hero-art {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    z-index: 0;
  }

  .hero-art::after {
    background:
      linear-gradient(to top, rgba(7, 7, 12, 0.97) 0%, rgba(7, 7, 12, 0.62) 38%, rgba(7, 7, 12, 0.12) 68%, rgba(7, 7, 12, 0.28) 100%);
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 5.5rem var(--pad) 2.4rem;
  }

  .about-grid {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 2.5rem;
    max-width: var(--max);
    margin: 0 auto;
  }

  .social-list {
    grid-template-columns: repeat(3, 1fr);
  }

  main section {
    padding: 4.25rem var(--pad);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
