:root {
  --bg: #070c1f;
  --bg-2: #0b1430;
  --bg-3: #121e45;
  --ink: #f3ecd9;
  --ink-2: #cfd5e7;
  --ink-dim: #8f96ae;
  --gold: #e9b663;
  --gold-2: #f3cf8a;
  --teal: #1d6e7a;
  --teal-2: #3fb0bd;
  --danger: #d96b5b;

  --page-x: clamp(20px, 5vw, 80px);
  --max-w: 1240px;
  --radius: 10px;

  --header-h: 80px;

  --display: 'tt-modernoir', 'Cinzel', 'Marcellus SC', Georgia, serif;
  --body: 'mendl-sans-dusk', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --subhead: 'mendl-sans-dusk', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --mono: 'mendl-sans-dusk', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  background-color: unset;
  background: unset;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-2); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 12, 31, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--page-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.site-header__brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  background: none;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  cursor: pointer;
}
.site-nav__link:hover { color: var(--gold-2); }
.site-nav .caret {
  color: var(--gold-2);
  margin-left: 4px;
  font-size: 0.8em;
  display: inline-block;
  transition: transform 0.18s ease;
}

/* Dropdown */
.site-nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Keeps pointer inside hit area across the gap below the trigger (menu is absolutely positioned). Symmetrical so it stays vertically centered. */
  padding-block: 10px;
}
.site-nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  list-style: none;
  padding: 10px;
  margin: 0;
  background: rgba(10, 16, 36, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(233, 182, 99, 0.2);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.site-nav__dropdown:hover .site-nav__menu,
.site-nav__dropdown:focus-within .site-nav__menu,
.site-nav__trigger[aria-expanded="true"] + .site-nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-nav__dropdown:hover .caret,
.site-nav__dropdown:focus-within .caret,
.site-nav__trigger[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.site-nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav__menu a:hover,
.site-nav__menu a:focus {
  background: rgba(233, 182, 99, 0.1);
  color: var(--gold-2);
  outline: none;
}

.site-socials {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-self: end;
  color: var(--ink);
}
.site-socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.site-socials a:hover {
  background: rgba(233, 182, 99, 0.12);
  color: var(--gold-2);
  transform: translateY(-1px);
}

@media (max-width: 800px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
  }
  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-self: start;
    gap: 18px;
  }
  .site-nav__link { font-size: 15px; }
  .site-socials { grid-column: 2; }
  .site-header__brand img { height: 40px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: max(1500px, calc(100vh - var(--header-h)));
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 40px var(--page-x) 80px;
}
.hero__layer {
  position: absolute;
  inset: -6%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform, filter;
  transform: translate3d(0, var(--shift, 0), 0) scale(var(--scale, 1));
}
.hero__layer--far {
  z-index: -3;
  filter: saturate(0.85);
}
.hero__layer--mid {
  z-index: -2;
  filter: blur(calc((var(--blur-base, 14px)) - var(--shift, 0px) * 0.06)) brightness(0.78);
}
.hero__layer--stars {
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(2px 2px at 60% 85%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 55%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,.55) 50%, transparent 51%);
  background-size: 800px 800px;
  opacity: 1;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(7, 12, 31, 0) 0%, rgba(7, 12, 31, 0.08) 75%, rgba(7, 12, 31, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 12, 31, 0.025) 0%, rgba(7, 12, 31, 0.055) 100%);
  pointer-events: none;
}
.hero__content {
  text-align: center;
  max-width: 860px;
  transform: translate3d(0, var(--shift, 0), 0);
}
.hero__wordmark {
  width: min(86vw, 720px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}
.hero__tag {
  position: absolute;
  right: 0;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  padding: 0 var(--page-x);
  max-width: 46em;
  margin-inline: auto;
  text-align: center;
  font-family: var(--body);
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.45;
  color: rgb(35, 37, 41);
}
.hero__cta { margin-top: 8px; }
.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--display);
  letter-spacing: 0.3em;
  font-size: 12px;
  color: rgb(43, 46, 54);
}
@media (max-width: 600px) {
  .hero__tag {
    font-size: 14px;
    bottom: 12px;
    padding-inline: clamp(16px, 4vw, 24px);
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.15s ease;
}
.btn.hero__cta {
  font-size: 16px;
}
.btn--primary {
  background: var(--gold);
  color: #1a1305;
  box-shadow: 0 8px 22px rgba(233,182,99,0.22);
}
.btn--primary:hover {
  background: var(--gold-2);
  color: #1a1305;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(233,182,99,0.35);
}

/* ============ BANNER (campaign) ============ */
.banner {
  position: relative;
  isolation: isolate;
  background: var(--bg-2);
  overflow: hidden;
}
.banner__inner {
  display: grid;
  grid-template-columns: minmax(260px, 30fr) minmax(0, 70fr);
  align-items: stretch;
  width: 100%;
  min-height: clamp(340px, 48vw, 600px);
}
.banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(28px, 4vw, 56px) var(--page-x);
  max-width: 38rem;
}
@media (min-width: 900px) {
  .banner__copy {
    padding-left: max(
      var(--page-x),
      calc((100vw - var(--max-w)) / 2 + var(--page-x))
    );
  }
}
.banner__visual {
  position: relative;
  margin: 0;
  min-height: 220px;
  background: var(--bg);
}
.banner__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}
.banner p {
  margin: 0;
  font-size: clamp(17px, 1.9vw, 23px);
  color: var(--ink-2);
  text-align: left;
  line-height: 1.45;
}
.banner strong { color: var(--gold-2); font-weight: 700; }
@media (max-width: 720px) {
  .banner__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .banner__visual {
    order: -1;
    min-height: clamp(200px, 42vw, 320px);
    opacity: 0.92;
  }
  .banner__visual img {
    object-position: center top;
  }
  .banner__copy {
    max-width: none;
    padding: 28px var(--page-x) 40px;
  }
}

/* ============ MAILING LIST ============ */
.mailing {
  padding: 72px var(--page-x);
  background: var(--bg);
  text-align: center;
}
.mailing__inner { max-width: 720px; margin: 0 auto; }
.mailing__title {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 12px;
}
.mailing__sub { color: var(--ink-dim); margin: 0 0 28px; font-weight: 400; }
.mailing__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.mailing__form input[type=email] {
  flex: 1 1 280px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  font-size: 16px;
  font-family: var(--body);
  min-width: 0;
}
.mailing__form input[type=email]::placeholder { color: var(--ink-dim); }
.mailing__form input[type=email]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  background: rgba(255,255,255,0.07);
}
.mailing__toast {
  margin-top: 14px;
  color: var(--teal-2);
  font-family: var(--display);
  letter-spacing: 0.1em;
}

/* ============ VIDEO ============ */
.video {
  padding: 60px var(--page-x) 20px;
  background: var(--bg);
}
.video__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.video__thumb,
.video__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: #000;
  cursor: pointer;
  isolation: isolate;
}
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.92);
}
.video__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
  transition: transform 0.25s ease, color 0.2s ease;
  z-index: 2;
  pointer-events: none;
}
.video__thumb:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}
.video__thumb:hover .video__play {
  transform: translate(-50%, -50%) scale(1.08);
  color: #fff;
}

/* ============ BOARD LAYOUT SHOWCASE ============ */
.showcase {
  padding: 60px var(--page-x);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29,110,122,0.2), transparent 60%),
    var(--bg);
  text-align: center;
}
.showcase__image {
  max-width: 1400px;
  margin: 0 auto 24px;
  padding: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
}
.showcase__image img { width: 100%; height: auto; display: block; }
.showcase--board .showcase__image {
  position: relative;
  min-height: calc(100px + 491px);
  overflow: hidden;
  background: unset;
  background-color: unset;
  display: flex;
  justify-content: center;
  padding-top: 100px;
  box-sizing: border-box;
}
.showcase--board .showcase__image img.showcase__board-anim {
  width: min(100%, 654px);
  height: auto;
  max-width: none;
  object-fit: contain;
  background: unset;
  background-color: unset;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .showcase--board .showcase__image {
    min-height: 0;
    padding: 0 12px 24px;
  }
  .showcase--board .showcase__image img.showcase__board-anim {
    width: min(100%, 654px);
    height: auto;
    max-width: 100%;
  }
}
.showcase__caption {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}

/* ============ PITCH ============ */
.pitch {
  padding: 60px var(--page-x) 80px;
  background: var(--bg);
}
.pitch__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pitch p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: var(--ink);
}
.pitch .showcase__image > p {
  max-width: 480px;
  margin-inline: auto;
  font-weight: 500;
  font-size: 22px;
  line-height: 27.7px;
}
.pitch strong { color: var(--gold-2); font-family: var(--display); letter-spacing: 0.04em; }
.pitch__playinfo {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.pitch__playinfo img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

/* ============ SECTION HEADING (transmission style) ============ */
.section-heading {
  max-width: 1140px;
  margin: 0 auto 56px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 1px solid rgba(233, 182, 99, 0.45);
  padding-left: 20px;
}
.section-heading__eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.section-heading__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 58px);
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

/* ============ TESTIMONIAL ============ */
.testimonial {
  padding: 40px var(--page-x) 80px;
  background: var(--bg);
}
.testimonial__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 820px) {
  .testimonial__inner {
    grid-template-columns: 1fr;
  }
}
.testimonial__inner img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(233,182,99,0.08) inset;
}
.testimonial__inner img:nth-child(2) {
  background-color: #ffffff;
}

/* ============ FEATURES + FACTIONS ============ */
.features,
.factions {
  padding: 80px 0 0;
  background: var(--bg);
}
.features { background: linear-gradient(180deg, var(--bg), #05091a); }
.factions { background: linear-gradient(180deg, #05091a, #05091a); padding-bottom: 0; }

/* Section heading sits in normal padded inner column */
.features .section-heading,
.factions .section-heading,
.resources .section-heading {
  padding-left: max(20px, var(--page-x));
}

h2 {
  line-height: 24px;
}

.feature-row__copy h2 {
  font-size: 48px;
  line-height: 1.05;
  margin: 0 0 6px;
}

.feature-row__copy h2 + h3 {
  margin-top: 0;
}

.feature-row__copy h3,
.faction__copy h3 {
  font-family: var(--subhead);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.05;
}

.feature-row--spotlight .feature-row__copy h3 {
  font-size: 28px;
  line-height: 1.2;
  color: rgba(214, 185, 139, 1);
}
.feature-row__copy p,
.faction__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 540px;
}
.faction__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.faction__style {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--ink);
  font-size: 16px;
  max-width: 540px;
}
.faction__style strong {
  color: var(--gold-2);
  font-family: var(--display);
  letter-spacing: 0.08em;
}
.feature-row__lore {
  font-style: italic;
  font-weight: 600;
  color: rgba(243,236,217,0.72);
}
.feature-row__tag {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gold-2);
  font-family: var(--body);
  letter-spacing: 0.06em;
  font-size: 16px;
  max-width: 540px;
}

/* Edge-to-edge spotlight rows (showcase features + factions) */
.feature-row--showcase,
.feature-row--spotlight,
.faction {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: clamp(480px, 68vh, 720px);
}
.feature-row--reverse .feature-row__art:first-child,
.feature-row--spotlight.feature-row--reverse .feature-row__art:first-child,
.faction--reverse .faction__art {
  order: 2;
}

/* Titans row: DOM is copy → image for mobile stack; desktop keeps image left */
@media (min-width: 821px) {
  .feature-row--spotlight.feature-row--spotlight-art-left .feature-row__art {
    grid-column: 1;
    grid-row: 1;
  }
  .feature-row--spotlight.feature-row--spotlight-art-left .feature-row__copy {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Image side: full-bleed, parallax-ready */
.feature-row--showcase .feature-row__art,
.feature-row--spotlight .feature-row__art,
.faction__art {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: clamp(480px, 68vh, 720px);
}
.feature-row--showcase .feature-row__art img,
.feature-row--spotlight .feature-row__art img,
.faction__art img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transform: translate3d(0, var(--art-shift, 0), 0);
  will-change: transform;
}
.feature-row--spotlight .feature-row__art[data-parallax-section] img {
  height: 118%;
  object-position: center center;
}

/* Cities row image: anchor cover crop to the left; Titans stays centered */
.feature-row--spotlight:not(.feature-row--spotlight-art-left)
  .feature-row__art[data-parallax-section]
  img {
  object-position: left center;
}

/* Spotlight text panel (factions + cities/titans features): rich gradient background */
.feature-row--spotlight .feature-row__copy,
.faction__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(29,110,122,0.22) 0%, transparent 65%),
    linear-gradient(135deg, var(--bg-2) 0%, #060c22 100%);
  position: relative;
  isolation: isolate;
}
.feature-row--spotlight .feature-row__copy::before,
.faction__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 28%, rgba(255,255,255,.14) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 72%, rgba(255,255,255,.12) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 88%, rgba(255,255,255,.16) 50%, transparent 51%);
  background-size: 320px 320px;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 820px) {
  .feature-row--showcase,
  .feature-row--spotlight,
  .faction,
  .faction--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .feature-row--showcase .feature-row__art,
  .feature-row--spotlight .feature-row__art,
  .faction__art {
    min-height: clamp(280px, 50vh, 460px);
  }
  .feature-row--reverse .feature-row__art:first-child,
  .faction--reverse .faction__art { order: 0; }
  .feature-row--spotlight .feature-row__copy,
  .faction__copy { padding: 40px 20px; }
}

/* Classes gallery: four images stacked, each full width minus 90px gutters */
.classes-gallery {
  display: flex;
  flex-direction: column;
  padding: 40px 90px 60px;
}
.classes-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 820px) {
  .classes-gallery {
    padding: 20px 20px 40px;
  }
}

/* Full-bleed feature variant: image dominates, copy overlays in corner */
.feature-row--full {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: none;
  margin: 0 0 80px;
  position: relative;
  isolation: isolate;
}
.feature-row--full .feature-row__art--wide {
  width: 100%;
  height: clamp(420px, 60vh, 640px);
  overflow: hidden;
  position: relative;
}
.feature-row--full .feature-row__art--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.feature-row--full .feature-row__art--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 9, 26, 0.94) 0%,
    rgba(5, 9, 26, 0.72) 30%,
    rgba(5, 9, 26, 0.28) 58%,
    rgba(5, 9, 26, 0) 88%
  );
  pointer-events: none;
}
.feature-row__copy--overlay {
  position: absolute;
  top: 50%;
  left: clamp(24px, 6vw, 72px);
  transform: translateY(-50%);
  max-width: 500px;
  z-index: 2;
  padding: 0 12px;
  border-left: 1px solid rgba(233, 182, 99, 0.4);
  padding-left: 20px;
}

@media (max-width: 820px) {
  .feature-row,
  .feature-row--reverse,
  .faction,
  .faction--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row--reverse .feature-row__art,
  .faction--reverse .faction__art {
    order: 0;
  }
  .feature-row--full .feature-row__art--wide {
    height: clamp(320px, 55vh, 460px);
  }
  .feature-row__copy--overlay {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

/* ============ ART SHOWCASE ============ */
.art-showcase {
  padding: 80px 0 80px;
  background: linear-gradient(180deg, #05091a, var(--bg));
}
.art-showcase .section-heading {
  padding-left: max(20px, var(--page-x));
  margin-bottom: 48px;
}
.art-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 var(--page-x);
  max-width: calc(var(--max-w) + 2 * var(--page-x));
  margin: 0 auto;
  align-items: start;
}
.art-showcase__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.art-showcase__item--wide {
  grid-column: 1 / -1;
}
.art-showcase__item img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.art-showcase__caption {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .art-showcase__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .art-showcase__item--wide {
    grid-column: 1;
  }
}

/* ============ RESOURCES ============ */
.resources {
  padding: 80px var(--page-x);
  background: var(--bg);
}
.resources__grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29,110,122,0.18), rgba(233,182,99,0.05));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  min-height: 160px;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(29,110,122,0.28), rgba(233,182,99,0.1));
}
.resource-card__eyebrow {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.resource-card__title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.resource-card__arrow {
  margin-top: auto;
  font-size: 22px;
  color: var(--gold-2);
  align-self: flex-end;
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer__hero {
  position: relative;
  width: 100%;
  height: clamp(380px, 55vw, 1000px);
  line-height: 0;
  overflow: hidden;
  display: block;
}
.site-footer__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transform: translate3d(0, var(--art-shift, 0), 0);
  will-change: transform;
}
.site-footer__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,12,31,0.0) 0%,
    rgba(7,12,31,0.15) 55%,
    rgba(7,12,31,0.85) 92%,
    rgba(7,12,31,0.95) 100%
  );
  pointer-events: none;
}
.site-footer__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 28px var(--page-x) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.site-footer__socials {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-family: var(--display);
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer__socials a { color: var(--gold); }
.site-footer__socials a:hover { color: var(--gold-2); }
.site-footer__fine {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
  opacity: 0.7;
}
@media (max-width: 720px) {
  .site-footer__socials { gap: 18px; }
}

/* ============ REVEAL-ON-SCROLL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__layer { transform: none !important; filter: none !important; }
  .hero__content { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
