/* RONTGARD — simplified Steam-capsule theme
   Load this file after the existing assets/site.css.
   Layer artwork is positioned independently so the hero remains responsive. */

:root {
  --ink: #17130f;
  --ink-2: #2a241d;
  --paper: #ead9b2;
  --paper-light: #f4e9ce;
  --paper-dark: #c7aa75;
  --rust: #94411f;
  --rust-light: #b85b2b;
  --sun: #e8ad3c;
  --steel: #526c72;
  --steel-dark: #31464b;
  --line: rgba(41, 30, 18, .28);
  --line-dark: rgba(245, 233, 205, .22);
  --shell: 1320px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(242, 227, 194, .36), rgba(234, 217, 178, .36)),
    url("paper-texture.webp");
  background-size: auto, cover;
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}

::selection {
  color: var(--paper-light);
  background: var(--rust);
}

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

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section-anchor { scroll-margin-top: 96px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(244, 233, 206, .96);
  border-top: 4px solid var(--rust);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 8px 22px rgba(48, 31, 14, .10);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 60px;
}

.brand-name {
  flex: 0 0 auto;
}

.brand-name img {
  height: 50px;
}

.header-inner > .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  margin-left: auto;
  gap: clamp(8px, 2.5vw, 38px);
  flex-wrap: nowrap;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(23, 19, 15, .62);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--rust);
  transition: right .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.nav-cta {
  padding: 12px 18px !important;
  color: var(--paper-light) !important;
  background: var(--rust);
  border: 1px solid rgba(23, 19, 15, .65);
}

.nav-cta:hover { background: var(--rust-light); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 810px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(245, 235, 212, .98) 0 38%, rgba(245, 235, 212, .84) 51%, rgba(245, 235, 212, .18) 72%, transparent 82%),
    url("paper-texture.webp") center / cover;
  border-bottom: 3px solid var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0 auto 0 0;
  width: min(59%, 900px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245,235,212,.98) 0 58%, rgba(245,235,212,.76) 78%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--rust);
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-brush {
    z-index: 1;
    width: clamp(720px, 58vw, 1110px);
    right: 22vw;
    top: 21%;
    opacity: 1.0;
}

/* Keep the sun at the same visual level as the Steam capsule:
   high in the hero, large, but offset left of the face rather than centered as a halo. */
.hero-sun {
    z-index: 0;
    width: clamp(700px, 59vw, 1200px);
    right: 21.5vw;
    top: -2%;
    opacity: 1;
}

.hero-flags {
    z-index: 3;
    width: clamp(300px, 40vw, 400px);
    right: 15vw;
    top: 14%;
    transform: rotate(0deg);
}

.hero-ground {
    z-index: 4;
    left: 54px;
    bottom: -1px;
    width: 71%;
    min-height: 285px;
    object-fit: fill;
    filter: saturate(.9) contrast(1.03);
}

.hero-riders {
    z-index: 5;
    width: clamp(235px, 21vw, 286px);
    left: 29%;
    bottom: 2.5%;
}

.hero-character {
    z-index: 6;
    width: clamp(690px, 52vw, 700px);
    right: 24vw;
    bottom: -16%;
    filter: drop-shadow(-14px 20px 22px rgba(30, 19, 9, .28));
}

.hero-grid {
  position: relative;
  z-index: 12;
  min-height: 730px;
  padding-block: 0px 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo {
  width: min(530px, 86%);
  height: auto;
  margin: 0 0 18px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .25em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.run-card h2,
.cta-panel h2,
.feature-copy h3,
.info-card h3 {
  margin-top: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: .91;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 580px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(4rem, 6.5vw, 6.5rem);
  text-shadow: 4px 4px 0 rgba(232, 173, 60, .58);
}

.hero h1 span {
  color: var(--rust-light);
  text-shadow: 4px 4px 0 var(--ink);
}

.lead {
  max-width: 575px;
  margin: 0;
  color: #43382c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.66;
}

/* Flat, simpler actions */
.button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.hero-buttons {
  max-width: 620px;
  margin-top: 28px;
}

.button-row .button {
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 12px 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #fff !important;
  border: 1px solid rgba(23, 19, 15, .76) !important;
  box-shadow: none !important;

  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    filter .18s ease,
    border-color .18s ease;
}

.button-row .button:hover {
  transform: none !important;
  color: #fff !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
  filter: brightness(.86);
}

.button-row .button img,
.button-row .button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* Platform-based solid colors */

/* Muted, post-apocalyptic platform colors */

.button-row .button.steam {
  background: #263441 !important; /* weathered Steam navy */
  color: #f4e9ce !important;
}

.button-row .button.discord {
  background: #5d6179 !important; /* dusty blurple */
  color: #f4e9ce !important;
}

.button-row .button.youtube {
  background: #99432f !important; /* oxidized YouTube red */
  color: #f4e9ce !important;
}

.button-row .button.twitter {
  background: #181817 !important; /* charcoal black */
  color: #f4e9ce !important;
}

.button-row .button.tiktok {
  background: #d8d1c2 !important; /* dirty off-white */
  color: #17130f !important;
}

.button-row .button.instagram {
  background: #925665 !important; /* dusty Instagram rose */
  color: #f4e9ce !important;
}

.button-row .button.steam:hover {
  background: #344654 !important;
}

.button-row .button.discord:hover {
  background: #6c718c !important;
}

.button-row .button.youtube:hover {
  background: #ad4e38 !important;
}

.button-row .button.twitter:hover {
  background: #2c2b29 !important;
}

.button-row .button.tiktok:hover {
  background: #eee7d8 !important;
  color: #17130f !important;
}

.button-row .button.instagram:hover {
  background: #a76373 !important;
}

.button-row .button:focus-visible,
.site-nav a:focus-visible,
.email-link:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* Run structure — no boxed panel */
.run-band {
  position: relative;
  z-index: 20;
  padding-block: 64px 70px;
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(82, 108, 114, .20), transparent 50%),
    var(--ink);
  border-bottom: 2px solid var(--rust);
}

.run-card {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr);
  gap: 22px 60px;
  padding: 0;
  color: var(--paper-light);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.run-card .eyebrow {
  grid-column: 1;
  margin-bottom: -6px;
  color: var(--sun);
}

.run-card h2 {
  grid-column: 1;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}

.run-card > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: rgba(245, 233, 205, .72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.run-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.run-list > div {
  min-height: 98px;
  padding: 19px 20px 18px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line-dark);
  transition: background .18s ease;
}

.run-list > div:first-child { border-left: 0; }
.run-list > div:hover { transform: none; background: rgba(232, 173, 60, .06); }
.run-list > div::before { display: none; }
.run-list strong, .run-list small { display: block; }

.run-list strong {
  font-size: .80rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.run-list small {
  margin-top: 35px;
  color: rgba(245, 233, 205, .58);
  font-size: .84rem;
}

/* Main content */
.section {
  position: relative;
  padding-block: clamp(82px, 9vw, 128px);
}

.about-section {
  overflow: hidden;
  background:
    linear-gradient(rgba(245, 235, 212, .42), rgba(234, 217, 178, .62)),
    url("paper-texture.webp") center / cover;
}

.about-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -12vw;
  top: 10%;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  opacity: .055;
  background: url("brush-silhouette.webp") center / contain no-repeat;
}

.about-section > .shell { position: relative; z-index: 1; }

.section-heading {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.wide { max-width: 960px; }
.section-heading.align-left { margin-left: 0; text-align: left; }

.section-heading h2,
.cta-panel h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 6rem);
  text-shadow: 3px 3px 0 rgba(232, 173, 60, .40);
}

.section-heading > p:not(.eyebrow),
.cta-panel > p:not(.eyebrow) {
  margin: 0;
  color: #45392c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.78;
}

/* Feature blocks are now simple editorial rows, not cards. */
.feature-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  padding: clamp(52px, 6vw, 82px) 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.feature-copy h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.feature-copy p {
  margin: 0;
  color: #45392c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.01rem;
  line-height: 1.76;
}

.feature-media {
  position: relative;
  overflow: hidden;
  background: var(--steel-dark);
  border: 1px solid rgba(23, 19, 15, .58);
  box-shadow: 0 14px 28px rgba(55, 35, 15, .13);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: sepia(.08) saturate(.84) contrast(1.06);
  transition: transform .45s ease, filter .45s ease;
}

.feature-row:hover .feature-media img {
  transform: none;
  filter: sepia(.02) saturate(.98) contrast(1.06);
}

.feature-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--sun);
  border: 0;
  box-shadow: none;
  font-size: .70rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Systems — simple columns */
#systems {
  color: var(--paper-light);
  background: linear-gradient(110deg, var(--ink), var(--steel-dark));
  border-block: 2px solid var(--rust);
  overflow: hidden;
}

#systems::before {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -28%;
  width: min(65vw, 940px);
  aspect-ratio: 1.17;
  opacity: .12;
  background: url("brush-silhouette.webp") center / contain no-repeat;
  transform: rotate(-7deg);
}

#systems .shell { position: relative; z-index: 1; }
#systems .section-heading h2 { color: var(--paper-light); text-shadow: 3px 3px 0 var(--rust); }
#systems .section-heading > p:not(.eyebrow) { color: rgba(245, 233, 205, .70); }
#systems .eyebrow { color: var(--sun); }

.card-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card {
  min-height: 210px;
  padding: 30px 28px;
  color: var(--paper-light);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line-dark);
  box-shadow: none;
}

.info-card:first-child { border-left: 0; }
.info-card h3 { margin-bottom: 14px; font-size: clamp(1.75rem, 2.4vw, 2.35rem); }
.info-card p { margin: 0; color: rgba(245, 233, 205, .70); }

/* CTA and footer */
.section.compact { padding-block: clamp(72px, 8vw, 108px); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  color: var(--paper-light);
  background: linear-gradient(125deg, var(--rust), #642c1b);
  border: 1px solid var(--ink);
  box-shadow: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -150px;
  bottom: -260px;
  width: 480px;
  height: 720px;
  opacity: .24;
  background: url("tattered-flags.webp") center / contain no-repeat;
  transform: rotate(5deg);
}

.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .eyebrow { color: var(--sun); }
.cta-panel h2 { max-width: 1200px; color: var(--paper-light); text-shadow: 3px 3px 0 var(--ink); }
.cta-panel > p:not(.eyebrow) { max-width: 1200px; color: rgba(245, 233, 205, .82); }
.cta-panel .button-row { margin-top: 28px; max-width: 1200px; }

.email-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--paper-light);
  font-weight: 900;
  letter-spacing: .08em;
  text-underline-offset: 5px;
}

.site-footer {
  color: rgba(245, 233, 205, .66);
  background: var(--ink);
  border-top: 2px solid var(--sun);
}

.footer-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-logo {
  width: min(205px, 24vw);
  opacity: .68;
  filter: brightness(1.9) saturate(.45);
}

/* Responsive composition */
@media (max-width: 1120px) {
  .hero, .hero-grid { min-height: 780px; }
  .hero-character { width: 760px; right: -17vw; }
  .hero-sun { width: 850px; right: -11vw; top: -11%; }
  .hero-brush { width: 840px; right: -10vw; }
  .hero-riders { left: 49%; }
  .run-card { gap-inline: 40px; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .info-card:nth-child(4) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 880px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .header-inner { min-height: 82px; padding-block: 10px 12px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .brand-name { width: 160px; }

  .hero { min-height: auto; }
  .hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(245,235,212,.98) 0 55%, rgba(245,235,212,.74) 74%, transparent 100%);
  }
  .hero-art { position: relative; height: 610px; margin-top: 475px; }
  .hero-grid { position: absolute; inset: 0 0 auto; min-height: 510px; padding-block: 60px 28px; display: flex; align-items: flex-start; }
  .hero-copy { max-width: 670px; }
  .hero-logo { width: min(500px, 82%); }
  .hero h1 { font-size: clamp(3.9rem, 12vw, 6rem); }
  .hero-ground { width: 130%; left: -15%; }
  .hero-character { width: 760px; right: -23vw; bottom: -21%; }
  .hero-sun { width: 790px; right: -16vw; top: -13%; }
  .hero-brush { width: 790px; right: -18vw; top: -2%; }
  .hero-flags { width: 540px; right: -30vw; top: -5%; }
  .hero-riders { left: 17%; bottom: 10%; }

  .run-card { grid-template-columns: 1fr; }
  .run-card .eyebrow, .run-card h2, .run-card > p:not(.eyebrow) { grid-column: 1; grid-row: auto; }
  .run-card > p:not(.eyebrow) { align-self: auto; }
  .run-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .run-list > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .run-list > div:nth-child(4) { border-top: 1px solid var(--line-dark); }

  .button-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-media { order: initial; }
}

@media (max-width: 600px) {
  body { background-attachment: scroll; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-name { width: 136px; }
  .nav-cta { padding: 10px 12px !important; font-size: .68rem !important; }

  .hero-art { height: 500px; margin-top: 565px; }
  .hero-grid { min-height: 590px; padding-top: 52px; }
  .hero-logo { width: 92%; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.1rem); text-shadow: 3px 3px 0 rgba(232,173,60,.62); }
  .hero h1 span { text-shadow: 3px 3px 0 var(--ink); }
  .lead { font-size: 1rem; }
  .hero-character { width: 610px; right: -55vw; bottom: -16%; }
  .hero-sun { width: 620px; right: -49vw; top: -9%; }
  .hero-brush { width: 630px; right: -53vw; top: 0; }
  .hero-flags { width: 450px; right: -70vw; top: 1%; }
  .hero-ground { width: 190%; left: -45%; }
  .hero-riders { width: 220px; left: 3%; bottom: 12%; }

  .button-row { grid-template-columns: 1fr; }
  .run-band { padding-block: 46px 52px; }
  .run-list { grid-template-columns: 1fr; }
  .run-list > div, .run-list > div:nth-child(3), .run-list > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .run-list > div:first-child { border-top: 0; }
  .feature-row { padding-block: 48px; }
  .section-heading h2, .cta-panel h2 { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .card-grid.four { grid-template-columns: 1fr; }
  .info-card, .info-card:nth-child(3), .info-card:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .info-card:first-child { border-top: 0; }
  .footer-inner { padding-block: 25px; flex-direction: column; text-align: center; }
  .footer-logo { width: 180px; }
}

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