/* Montserrat, self-hosted variable font (SIL Open Font License 1.1) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sightline Games, sightlinegames.com
   Design tokens carried over from the original site:
   headings Montserrat, accent #C45308, black/white base. */

:root {
  --orange: #c45308;
  --orange-lt: #e15f09;
  --orange-pale: #efa573;
  --black: #000;
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --line: rgba(255, 255, 255, .12);
  --white: #fff;
  --grey: #b0b0b0;
  --grey-dk: #727272;
  --max: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --nav-h: 84px;
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 8, 9, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

.site-header.is-stuck {
  background: rgba(8, 8, 9, .95);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active { color: var(--white); border-bottom-color: var(--orange); }

/* dropdown */
.has-sub > button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.has-sub > button:hover, .has-sub.is-open > button { color: var(--white); border-bottom-color: var(--orange); }
.has-sub > button svg { transition: transform .2s ease; }
.has-sub.is-open > button svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #16161a;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub.is-open .subnav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.subnav a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom: 0;
  letter-spacing: .05em;
}
.subnav a:hover { background: rgba(196, 83, 8, .16); color: var(--white); border-bottom: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--white);
  margin: 5px 0; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--orange-lt); border-color: var(--orange-lt); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--alt { background: var(--ink-2); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange-pale);
  margin: 0 0 18px;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 26px;
}

.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--grey); max-width: 62ch; }

.rule { width: 68px; height: 3px; background: var(--orange); border: 0; margin: 0 0 26px; }

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

.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 820px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 80px));
  padding-bottom: clamp(56px, 7vw, 90px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(196, 83, 8, .30) 0%, rgba(196, 83, 8, 0) 58%),
    radial-gradient(90% 80% at 12% 88%, rgba(60, 70, 110, .24) 0%, rgba(60, 70, 110, 0) 60%),
    linear-gradient(160deg, #101014 0%, #0b0b0c 55%, #08080a 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__logo { width: min(420px, 74vw); margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  text-transform: uppercase;
  letter-spacing: .03em;
  max-width: 17ch;
}
.hero p { color: var(--grey); font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; margin-bottom: 34px; }

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- Game marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 46px 0 42px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: slide 68s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img {
  width: 222px;
  height: 333px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  filter: grayscale(.28);
  transition: filter .3s ease, transform .3s ease;
  flex-shrink: 0;
}
.marquee img:hover { filter: none; transform: translateY(-6px); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee__track { animation: none; }
}

/* ---------- Gold River ---------- */

.grp {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
}
.grp__bg {
  position: absolute; inset: 0;
  background: url("assets/img/grp-screenshot.jpg") center 40% / cover no-repeat;
}
.grp__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, .88), rgba(6, 6, 8, .78)),
              radial-gradient(120% 90% at 20% 50%, rgba(6, 6, 8, .55), rgba(6, 6, 8, .95));
}
.grp .wrap { position: relative; z-index: 1; }
.grp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.grp__logo { width: min(400px, 78%); margin-bottom: 28px; }
.grp__art {
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .6);
  border: 1px solid var(--line);
  width: 100%;
}
.trademark { font-size: 12px; color: var(--grey-dk); margin-top: 26px; }

/* ---------- Services ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.svc {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 34px 30px;
}
.svc h3 {
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--grey);
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 2px;
  background: var(--orange);
}

/* ---------- How we work ---------- */

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.model {
  background: linear-gradient(180deg, var(--ink-3), #141416);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px;
  transition: border-color .25s ease, transform .25s ease;
}
.model:hover { border-color: rgba(196, 83, 8, .6); transform: translateY(-4px); }
.model__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--orange);
  margin-bottom: 14px;
}
.model h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.model p { font-size: 15px; color: var(--grey); }

/* ---------- Pitch / contact ---------- */

.pitch {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0;
  text-align: center;
}
.pitch__bg {
  position: absolute; inset: 0;
  background: url("assets/img/castle-bg.jpg") center / cover no-repeat;
}
.pitch__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 6, 8, .84);
}
.pitch .wrap { position: relative; z-index: 1; }
.pitch p { margin-inline: auto; }
.pitch .btn-row { justify-content: center; margin-top: 32px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.contact-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(32px, 4vw, 46px);
}
.contact-card h3 { font-size: 22px; margin-bottom: 10px; }
.contact-card p { color: var(--grey); font-size: 15px; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-list svg { flex-shrink: 0; margin-top: 3px; color: var(--orange-pale); }
.contact-list b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-dk); margin-bottom: 3px; font-weight: 700; }
.contact-list a { color: var(--white); border-bottom: 1px solid rgba(196, 83, 8, .7); }
.contact-list a:hover { color: var(--orange-pale); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: url("assets/img/castle-bg.jpg") center / cover no-repeat;
}
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(6, 6, 8, .86); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Timeline (about) ---------- */

.timeline { list-style: none; margin: 48px 0 0; padding: 0 0 0 34px; position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--orange), rgba(196, 83, 8, .1));
}
.timeline li { position: relative; margin-bottom: 38px; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: -34px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(196, 83, 8, .2);
}
.timeline .yr { display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--orange-pale); margin-bottom: 6px; }
.timeline h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.timeline p { color: var(--grey); font-size: 15px; }

/* ---------- Steps (submit page) ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; counter-reset: s; }
.step {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  counter-increment: s;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--orange);
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.step p { color: var(--grey); font-size: 15px; }

.checklist { list-style: none; margin: 26px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--grey); }
.checklist li::before {
  content: "";
  position: absolute; left: 4px; top: .45em;
  width: 8px; height: 14px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ---------- Confirmation ---------- */

.confirm {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-h);
}
.confirm h1 { font-size: clamp(28px, 4.4vw, 46px); text-transform: uppercase; letter-spacing: .03em; }
.confirm p { color: var(--grey); max-width: 46ch; margin-inline: auto; }

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

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 34px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.footer-top img { height: 40px; width: auto; }
.footer-top p { color: var(--grey-dk); font-size: 14px; max-width: 40ch; margin-top: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey);
}
.footer-nav a:hover { color: var(--orange-pale); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-size: 12px; color: var(--grey-dk);
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 1000px) {
  .about-grid, .grp__grid, .contact-grid, .model-grid { grid-template-columns: minmax(0, 1fr); }
  .grp__art { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #101012;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gut) 26px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a, .has-sub > button {
    display: block; width: 100%;
    padding: 15px 0; font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    text-align: left;
  }
  .nav-links a:hover, .nav-links a.is-active { border-bottom-color: var(--orange); }
  .has-sub > button { justify-content: space-between; }
  .subnav {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none;
    padding: 0 0 0 16px;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .has-sub.is-open .subnav { max-height: 300px; }
  .marquee img { width: 177px; height: 266px; }
  .hero { min-height: 0; }
  .hero__logo { display: none; }
}

@media (max-width: 520px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer-bottom { justify-content: flex-start; }
}
