﻿:root {
  --bg: #0a0806;
  --bg-2: #100d09;
  --surface: #181210;
  --surface-2: #201a14;
  --ink: #e8dfc8;
  --muted: #7a7060;
  --amber: #c8843c;
  --amber-bright: #e09a50;
  --amber-glow: rgba(200, 132, 60, 0.22);
  --line: rgba(200, 132, 60, 0.16);
  --line-strong: rgba(200, 132, 60, 0.38);
  --hero-ink: #e8dfc8;
  --max-width: 1120px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  --font-display: 'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* Scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.1) 3px,
    rgba(0, 0, 0, 0.1) 4px
  );
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9989;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 38%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

body.nav-open {
  overflow: hidden;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

/* â”€â”€â”€ GTA IV Loading Screen â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.gta-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #060402;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.gta-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 42%,
    transparent 26%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 2;
}

.loader-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.22) 2px,
    rgba(0, 0, 0, 0.22) 3px
  );
  z-index: 3;
}

.loader-skyline {
  position: absolute;
  bottom: 78px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 52vh;
  color: #0c0905;
  filter: drop-shadow(0 -6px 24px rgba(200, 110, 40, 0.18)) drop-shadow(0 -2px 6px rgba(200, 110, 40, 0.28));
  z-index: 1;
}

.loader-brand {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
}

.loader-city {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.loader-title {
  margin: 0;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 1;
  letter-spacing: 0.1em;
  text-shadow:
    0 0 50px rgba(200, 132, 60, 0.45),
    0 0 110px rgba(200, 132, 60, 0.18);
}

.loader-bottom {
  position: relative;
  z-index: 5;
  margin-top: auto;
  padding: 0.65rem 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.75);
  border-top: 1px solid rgba(200, 132, 60, 0.28);
}

.loader-tip {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0 0 0.55rem;
}

.loader-tip-label {
  flex-shrink: 0;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.loader-tip span:not(.loader-tip-label) {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-style: italic;
}

.loader-progress-wrap {
  height: 3px;
  background: rgba(200, 132, 60, 0.12);
  border: 1px solid rgba(200, 132, 60, 0.22);
  margin-bottom: 0.35rem;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(200, 132, 60, 0.6), var(--amber), var(--amber-bright));
  box-shadow: 0 0 8px rgba(200, 132, 60, 0.7);
  transition: width 55ms linear;
}

.loader-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loader-status-text {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-percent {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* â”€â”€â”€ Navigation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0.75rem auto 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(8, 6, 4, 0.9);
  box-shadow: 0 0 0 1px rgba(200, 132, 60, 0.06), 0 8px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(8, 6, 4, 0.96);
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
}

.brand img {
  filter: sepia(1) saturate(2.5) hue-rotate(-12deg) brightness(0.85);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--amber);
  border-color: var(--line);
  background: rgba(200, 132, 60, 0.08);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--amber);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
}

/* â”€â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--hero-ink);
  background: #060402;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  opacity: 0.65;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 4, 2, 0.92), rgba(6, 4, 2, 0.52) 46%, rgba(6, 4, 2, 0.1)),
    linear-gradient(180deg, rgba(6, 4, 2, 0.18), rgba(6, 4, 2, 0.9));
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 48%;
  color: rgba(12, 9, 5, 0.96);
  filter: drop-shadow(0 -4px 18px rgba(200, 110, 40, 0.16));
  pointer-events: none;
  z-index: 1;
}

.hero-content,
.hero-meta {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.hero-content {
  padding: 9rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
}

h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--ink);
  text-shadow: 0 0 40px rgba(200, 132, 60, 0.2);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: rgba(232, 223, 200, 0.8);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.button-primary {
  background: var(--amber);
  color: #060402;
}

.button-primary:hover {
  background: var(--amber-bright);
}

.button-secondary {
  border-color: rgba(200, 132, 60, 0.48);
  color: var(--amber);
  background: rgba(200, 132, 60, 0.06);
}

.button-secondary:hover {
  background: rgba(200, 132, 60, 0.16);
  border-color: var(--amber);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line-strong);
  background: var(--line);
  overflow: hidden;
}

.hero-meta div {
  min-width: 0;
  padding: 0.8rem 1rem;
  background: rgba(8, 6, 4, 0.88);
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-meta span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* â”€â”€â”€ Sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.section,
.contact-section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.25fr);
  gap: 4rem;
  align-items: start;
}

.section-body p,
.principle p,
.project-card p,
.contact-inner p {
  color: var(--muted);
}

.section-body p {
  max-width: 42rem;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-body p + p {
  margin-top: 1rem;
}

.section-accent {
  width: 100%;
  max-width: none;
  padding: 6rem max(1rem, calc((100% - var(--max-width)) / 2));
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-heading-wide {
  width: min(100%, var(--max-width));
  margin: 0 auto 2rem;
}

.section-heading-wide h2 {
  max-width: 20ch;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.project-card,
.principle {
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-card {
  min-height: 16rem;
  padding: 1.25rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  border-color: var(--amber);
  background: var(--surface-2);
}

.card-kicker {
  margin: 0 0 2.5rem;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.project-card h3 {
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.project-card p:last-child,
.principle p {
  margin-bottom: 0;
}

.principles {
  display: grid;
  gap: 0.85rem;
}

.principle {
  padding: 1.1rem;
}

.principle h3 {
  margin-bottom: 0.35rem;
  color: var(--amber);
}

.principle:nth-child(2) {
  border-color: rgba(200, 132, 60, 0.28);
}

.principle:nth-child(3) {
  border-color: rgba(200, 132, 60, 0.18);
}

.principle p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* â”€â”€â”€ Contact â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.contact-section {
  padding: 1rem 0 6rem;
}

.contact-inner {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.contact-inner h2 {
  max-width: 20ch;
}

.contact-inner p {
  max-width: 38rem;
  margin: 0;
  font-size: 1.04rem;
}

.contact-note {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(200, 132, 60, 0.05);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.6rem 0.95rem;
  background: var(--amber);
  color: #060402;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-link:hover {
  background: var(--amber-bright);
}

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--amber);
  font-weight: 400;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber-bright);
}

/* â”€â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 820px) {
  body.nav-open .site-header {
    background: rgba(8, 6, 4, 0.98);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 4.2rem;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.5rem;
    border: 1px solid var(--line-strong);
    background: rgba(8, 6, 4, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-0.75rem);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 2.75rem;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-meta,
  .project-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    margin-bottom: 1rem;
  }

  .section,
  .section-accent {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-grid {
    gap: 2rem;
  }

  .contact-inner {
    padding: 1.5rem;
  }

  .loader-title {
    font-size: clamp(4rem, 18vw, 8rem);
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .hero-content {
    width: calc(100% - 1.5rem);
    padding-top: 7.25rem;
  }

  .hero-meta,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 1.5rem);
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
