/* =========================================================
   WAR ACADEMY — MMA JIU-JITSU
========================================================= */

:root {
  --war-red: #ff1717;
  --war-gold: #ffd700;
  --war-black: #030303;
  --war-white: #fff;
  --war-muted: #b7b7b7;
  --war-border: rgba(255, 255, 255, 0.11);
  --war-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--war-white);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 0, 0, 0.1), transparent 32rem),
    var(--war-black);
  font-family: "Barlow", Arial, sans-serif;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 0, 0, 0.25);
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  color: var(--war-red);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-copy {
  color: #d5d5d5;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 17px;
  color: #fff;
  background: #0c0c0c;
  border: 1px solid rgba(255, 0, 0, 0.55);
  border-radius: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.back-button:hover {
  background: var(--war-red);
  box-shadow: 0 10px 28px rgba(255, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 90px 24px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), #030303 98%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.014) 0,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(135deg, #020202 0%, #150000 52%, #5f0000 100%);
  border-bottom: 1px solid rgba(255, 0, 0, 0.34);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.035) 50%, transparent 50.2%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 55px;
  opacity: 0.48;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.24;
}

.hero-glow--one {
  top: -230px;
  left: -170px;
  background: #ff0000;
}

.hero-glow--two {
  right: -180px;
  bottom: -280px;
  background: #ff0000;
}

.hero-content {
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--war-gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(0.76rem, 1.7vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.18em;
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(5rem, 14vw, 9.2rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-title-red {
  color: var(--war-red);
  text-shadow:
    0 5px 0 #680000,
    0 0 34px rgba(255, 0, 0, 0.36);
}

.hero-title-white {
  color: #fff;
  text-shadow:
    0 5px 0 rgba(80, 80, 80, 0.72),
    0 0 30px rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
  max-width: 760px;
  margin: 28px auto 0;
  color: #d0d0d0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.12rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-tags span {
  padding: 8px 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 0, 0, 0.42);
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* SHARED */

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.intro-section,
.positions-section,
.submissions-section,
.movement-section,
.control-section,
.mma-section,
.attributes-section {
  border-bottom: 1px solid var(--war-border);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--war-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* INTRO */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
}

.intro-copy,
.war-principle {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 18px;
}

.intro-copy {
  background: linear-gradient(180deg, #101010, #080808);
  border: 1px solid var(--war-border);
  box-shadow: var(--war-shadow);
}

.intro-copy p {
  margin: 0 0 20px;
  color: #d2d2d2;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.82;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.war-principle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 0, 0, 0.16), transparent),
    #090909;
  border: 1px solid rgba(255, 0, 0, 0.36);
  border-left: 4px solid var(--war-red);
}

.war-principle-label {
  color: var(--war-red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.war-principle blockquote {
  margin: 18px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-style: italic;
  line-height: 1.55;
}

/* POSITION + SUBMISSION CARDS */

.position-grid,
.submission-grid {
  display: grid;
  gap: 18px;
}

.position-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.submission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.position-card,
.submission-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 0, 0, 0.08), transparent 45%),
    #090909;
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.position-card::after,
.submission-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--war-red));
}

.position-card--dominant {
  border-color: rgba(255, 215, 0, 0.38);
}

.position-card--dominant::after {
  background: linear-gradient(90deg, transparent, var(--war-gold));
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: var(--war-red);
  background: #000;
  border: 2px solid var(--war-red);
  border-radius: 50%;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.16);
}

.position-card--dominant .card-number {
  color: var(--war-gold);
  border-color: var(--war-gold);
}

.card-category {
  margin: 0 0 5px;
  color: var(--war-gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.position-card h3,
.submission-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.card-description {
  margin: 18px 0 0;
  color: #c7c7c7;
  line-height: 1.72;
}

.technique-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.technique-list li {
  position: relative;
  padding-left: 17px;
  color: #ececec;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.technique-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--war-red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.75);
}

.rules-note {
  margin-top: 26px;
  padding: 17px 18px;
  color: #ffe9a1;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.26);
  border-left: 4px solid var(--war-gold);
  border-radius: 10px;
  line-height: 1.6;
}

/* MOVEMENT */

.movement-grid,
.mma-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.movement-grid article,
.mma-grid article,
.attribute-list article {
  padding: 28px;
  background: linear-gradient(180deg, #111, #080808);
  border: 1px solid var(--war-border);
  border-radius: 14px;
}

.movement-grid span,
.mma-grid span {
  color: var(--war-red);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
}

.movement-grid h3,
.mma-grid h3,
.attribute-list h3 {
  margin: 9px 0 8px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
}

.movement-grid p,
.mma-grid p,
.attribute-list p {
  margin: 0;
  color: #aaa;
  line-height: 1.58;
}

/* ESCAPES */

.escapes-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 0, 0, 0.035), transparent),
    #080808;
  border-bottom: 1px solid var(--war-border);
}

.escape-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.escape-grid article {
  padding: 25px 20px;
  background: #050505;
  border: 1px solid rgba(255, 0, 0, 0.24);
  border-top: 3px solid var(--war-red);
  border-radius: 12px;
}

.escape-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
}

.escape-grid p {
  margin: 0;
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* CONTROL */

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.control-card {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 0, 0, 0.08), transparent),
    #090909;
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: 15px;
}

.control-label {
  color: var(--war-red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.control-card h3 {
  margin: 9px 0 12px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.control-card p {
  margin: 0;
  color: #b7b7b7;
  line-height: 1.66;
}

/* ATTRIBUTES */

.attribute-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.attribute-list h3 {
  color: var(--war-gold);
}

/* CLOSING */

.closing-quote {
  padding: clamp(70px, 10vw, 120px) 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.2), transparent 42%),
    linear-gradient(135deg, #080000, #3c0000);
  border-bottom: 1px solid rgba(255, 0, 0, 0.35);
}

.closing-quote p {
  max-width: 930px;
  margin: 0 auto;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.45;
}

.closing-quote span {
  display: block;
  margin-top: 22px;
  color: var(--war-gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.bottom-action {
  display: flex;
  justify-content: center;
  padding: 48px 16px 70px;
}

.site-footer {
  padding: 24px 16px;
  color: #8f8f8f;
  background: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .position-grid,
  .movement-grid,
  .mma-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .escape-grid,
  .attribute-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 540px;
  }

  .intro-grid,
  .submission-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .technique-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-shell {
    width: min(100% - 20px, 1180px);
  }

  .brand-copy {
    display: none;
  }

  .hero {
    min-height: 500px;
    padding: 72px 14px;
  }

  .hero h1 {
    flex-direction: column;
    gap: 2px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .position-grid,
  .movement-grid,
  .escape-grid,
  .control-grid,
  .mma-grid,
  .attribute-list {
    grid-template-columns: 1fr;
  }

  .position-card,
  .submission-card,
  .control-card {
    padding: 25px 20px;
  }
}
