:root {
  --bg: #050506;
  --panel: #0c0d0f;
  --panel2: #111216;
  --text: #f1eee7;
  --muted: #a9a198;
  --line: rgba(255, 170, 32, .22);
  --accent: #ff9f18;
  --accent2: #ff6b00;
  --danger: #a7331b;
  --max: 1180px;
  --article-max: 920px;
  --dot: var(--accent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0, #16120c 0, #050506 42%, #010101 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
  margin-top:100px; margin-bottom:100px;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: linear-gradient(rgba(255, 255, 255, .025) 50%, rgba(0, 0, 0, .05) 50%);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  opacity: .45;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .18));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 159, 24, .16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .12em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 159, 24, .2), transparent);
  box-shadow: 0 0 28px rgba(255, 159, 24, .25);
}

.nav {
  display: flex;
  gap: 28px;
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: #d8d0c8;
}

.nav a {
  opacity: .78;
}

.nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.hero {
  min-height: 72vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.45) 0%,
      rgba(0,0,0,.62) 35%,
      rgba(0,0,0,.88) 100%
    ),

    linear-gradient(
      0deg,
      rgba(5,5,6,.96) 0%,
      rgba(5,5,6,.42) 30%,
      rgba(5,5,6,.55) 100%
    ),

    var(--hero, url('../img/heroimage.jpg'))
    center / cover no-repeat;

  transform:scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .65fr;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
}

.moretext {
  margin: 0 0 0 8px;
  color: var(--accent);
  font-family: Rajdhani, sans-serif;
/*  text-transform: uppercase; */
  letter-spacing: 0.05em;
  font-weight: 700;
}

.hero h1 {
  font-family: Rajdhani, sans-serif;
  font-size: clamp(54px, 12vw, 104px);
  line-height: .82;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 0 32px rgba(255, 159, 24, .22);
}

.hero h2 {
  font-family: Rajdhani, sans-serif;
  font-size: clamp(54px, 12vw, 80px);
  line-height: .82;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 0 32px rgba(255, 159, 24, .22);
}

.lead {
  font-size: clamp(18px, 2vw, 20px);
  max-width: 720px;
  color: #d7d0c8;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 159, 24, .55);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: .2s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #120a02;
  box-shadow: 0 0 30px rgba(255, 127, 0, .24);
}

.btn.ghost {
  background: rgba(0, 0, 0, .3);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.disabled {
  opacity: .55;
  pointer-events: none;
}

.status-card,
.media-card {
  background: linear-gradient(180deg, rgba(17, 18, 22, .88), rgba(7, 8, 10, .88));
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow:
    0 18px 70px rgba(0, 0, 0, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .03);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.status-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:20px;
}

.status-dot{
  display:block;
  flex:0 0 auto;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--dot);
  box-shadow:0 0 18px var(--dot);
  margin-bottom:0;
}

.status-card h2,
.section h2,
.news-card h3 {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.status-card h2{
  margin:0;
  font-size:30px;
}

.status-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.status-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 13px;
}

.status-card dt {
  color: var(--muted);
}

.status-card dd {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.section h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: .95;
  margin: 0;
}

.body-copy {
  font-size: 20px;
  color: #c3bbb2;
  margin: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: .25s;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 159, 24, .45);
}

.news-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  filter: brightness(.72) contrast(1.1);
}

.news-content {
  padding: 22px;
}

.news-content time {
  font-family: Rajdhani, sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
}

.news-card h3 {
  font-size: 28px;
  line-height: 1;
  margin: 12px 0;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  background: linear-gradient(180deg, transparent, rgba(255, 159, 24, .04), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid a {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .08);
  min-height: 220px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  filter: brightness(.72) saturate(.9);
  transition: .35s;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  filter: brightness(.95);
}

.gallery-grid a:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.media-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.media-card h2 {
  margin: 0 0 10px;
}

.media-card p {
  margin: 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 159, 24, .14);
  padding: 30px 0;
  color: var(--muted);
  background: #030303;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .24s;
}

.about-project {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,107,0,.1), transparent 30%),
    linear-gradient(180deg, transparent, rgba(255,159,24,.035), transparent);
}

.about-project strong {
  color: var(--accent);
}

.about-project .body-copy p {
  margin: 0 0 22px;
}

.news-list-section {
  background:
    linear-gradient(180deg, rgba(255,159,24,.035), transparent 55%),
    radial-gradient(circle at 15% 0, rgba(255,107,0,.12), transparent 32%);
}

.intro {
  background:
    linear-gradient(180deg, rgba(255,159,24,.035), transparent 55%),
    radial-gradient(circle at 15% 0, rgba(255,107,0,.12), transparent 32%);
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-entry {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(17,18,22,.88), rgba(7,8,10,.9));
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--accent);
  box-shadow:
    0 18px 55px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.025);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: .25s;
}

.news-entry::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 24px;
  width: 3px;
  height: 38px;
  background: var(--accent2);
  box-shadow: 0 0 18px rgba(255,159,24,.75);
}

.news-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(255,159,24,.38);
  background: linear-gradient(180deg, rgba(22,20,16,.95), rgba(8,8,10,.95));
}

.news-entry time {
  font-family: Rajdhani, sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 15px;
  padding-top: 4px;
}

.news-entry h3 {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 32px;
  line-height: 1;
  margin: 0 0 10px;
}

.news-entry p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
}

.news-full {
  display: none;
}

.news-entry.open .news-preview {
  display: none;
}

.news-entry.open .news-full {
  display: block;
}

.news-toggle {
  margin-left: 8px;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: Rajdhani, sans-serif;
  letter-spacing: .05em;
  font-weight: 700;
}

.news-toggle:hover {
  color: var(--accent2);
}

.news-close {
  margin-top: 14px;
  margin-left: 0;
  padding: 0;
}

.media-section {
  background:
    linear-gradient(180deg, rgba(255,159,24,.035), transparent 55%),
    radial-gradient(circle at 15% 0, rgba(255,107,0,.12), transparent 32%);
}

.video-wrapper {
  width: min(900px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, .45),
    0 0 32px rgba(255,159,24,.12);
  overflow: hidden;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .status-card {
    max-width: 520px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

.gallery-grid a.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
}
  .news-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .news-entry h3 {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .section {
    padding: 58px 0;
  }

  .gallery-grid,
  .gallery-grid a:first-child {
    grid-template-columns: 1fr;
    grid-column: auto;
    grid-row: auto;
  }

  .media-card,
  .footer-inner {
    display: block;
  }

  .media-card .btn {
    margin-top: 20px;
  }
}

/* Shared hero variants */
.hero--landing,
.hero--devlog {
  min-height: 100vh;
}

.hero--page {
  display: flex;
  align-items: end;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 90px;
}

/* Article / content pages */
.post {
  padding: 90px 0;
}

.post .container,
.not-found.container {
  width: min(var(--article-max), calc(100% - 36px));
  margin-top: 0;
  margin-bottom: 0;
}

.back {
  display: inline-block;
  color: var(--accent);
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 40px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--accent);
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 14px;
}

.excerpt {
  font-size: 21px;
  color: #d7d0c8;
  margin-bottom: 34px;
}

.hero-img {
  margin: 30px 0 44px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 70px rgba(0,0,0,.45), 0 0 32px rgba(255,159,24,.12);
}

.body {
  color: var(--muted);
  font-size: 18px;
}

.body h1,
.body h2,
.body h3 {
  color: var(--text);
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  line-height: 1;
  margin: 38px 0 14px;
}

.body h2 { font-size: 42px; }
.body h3 { font-size: 30px; }
.body strong { color: var(--text); }
.body a { color: var(--accent); }
.body img { margin: 28px 0; border: 1px solid var(--line); }
.body ul {
  border-left: 3px solid var(--accent);
  padding: 16px 16px 16px 34px;
  background: rgba(255,159,24,.045);
}

.not-found {
  padding: 90px 0;
}

.post article {
  padding-top: 60px;
}

/* Devlog list */
.tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  margin: 40px 0 34px;
}

.tools input,
.tools select {
  width: 100%;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid rgba(255,159,24,.22);
  padding: 15px;
  font-size: 16px;
  font-family: Inter, sans-serif;
}

.tools input:focus,
.tools select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255,159,24,.18);
}

.devlog-list {
  display: grid;
  gap: 22px;
  padding-bottom: 90px;
}

.devlog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  background: linear-gradient(180deg, rgba(17,18,22,.88), rgba(7,8,10,.9));
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--accent);
  padding: 24px;
  clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);
  box-shadow: 0 18px 55px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.025);
  transition: .25s;
}

.devlog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,159,24,.38);
}

.devlog-image {
  min-height: 170px;
  background: #050506;
  border: 1px solid rgba(255,159,24,.18);
  overflow: hidden;
}

.devlog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.76) contrast(1.08);
}

.devlog-placeholder {
  height: 100%;
  min-height: 170px;
  display: grid;
  place-items: center;
  color: rgba(255,159,24,.55);
  font-family: Rajdhani, sans-serif;
  letter-spacing: .14em;
}

.devlog-card h2 {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 38px;
  line-height: 1;
  margin: 12px 0;
}

.devlog-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.read-more {
  color: var(--accent);
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

.empty {
  padding: 30px;
  border: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 850px) {
  .tools,
  .devlog-card {
    grid-template-columns: 1fr;
  }
}

/* Professional editable footer */
.site-footer {
  margin-top: 90px;
  padding: 72px 0 28px;
  background:
    radial-gradient(circle at 10% 0, rgba(255,159,24,.11), transparent 34%),
    linear-gradient(180deg, rgba(12,13,15,.92), rgba(3,3,4,.98));
  border-top: 1px solid rgba(255,159,24,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
  margin-top: 0;
  margin-bottom: 34px;
}

.footer-logo,
.footer-column h3 {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
}

.footer-logo {
  font-size: 32px;
  color: var(--text);
}

.footer-tagline {
  color: var(--accent);
  font-weight: 700;
  margin: 10px 0 8px;
}

.footer-brand p,
.footer-bottom {
  color: var(--muted);
}

.footer-contact,
.footer-links a,
.footer-socials a {
  color: #d7d0c8;
  transition: .2s;
}

.footer-contact:hover,
.footer-links a:hover,
.footer-socials a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-column h3 {
  color: var(--accent);
  font-size: 18px;
  margin: 0 0 16px;
}

.footer-links,
.footer-socials {
  display: grid;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
}

.footer-socials a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255,159,24,.55);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}

.footer-bottom small,
.footer-made {
  color: rgba(169,161,152,.78);
}

@media (max-width: 950px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .site-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

.hero--small {
    min-height: 320px;
    padding: 120px 0 60px;
}

/* ===== Custom Scrollbar ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #050506;
  border-left: 1px solid rgba(255, 159, 24, .12);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--accent),
    var(--accent2)
  );

  border-radius: 999px;
  border: 2px solid #050506;

  box-shadow:
    0 0 12px rgba(255, 159, 24, .35),
    inset 0 0 6px rgba(255,255,255,.08);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #ffb347,
    #ff7b00
  );

  box-shadow:
    0 0 18px rgba(255, 159, 24, .6),
    inset 0 0 8px rgba(255,255,255,.12);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #050506;
}