:root {
  --ink: #070707;
  --ink-2: #11120f;
  --paper: #f5f2e7;
  --muted: #b9b29d;
  --line: rgba(245, 242, 231, 0.16);
  --yellow: #f4df00;
  --yellow-2: #c7b800;
  --green: #6e8f74;
  --max: 1180px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(244, 223, 0, 0.035) 48%, transparent 56%),
    radial-gradient(circle at 16% 20%, rgba(110, 143, 116, 0.13), transparent 28%),
    var(--ink);
  background-size: 180% 180%, 100% 100%, 100% 100%;
  animation: atmosphereShift 16s ease-in-out infinite alternate;
}

body::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 14px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.62));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition:
    min-height 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  border-color: rgba(244, 223, 0, 0.18);
  background: rgba(7, 7, 7, 0.9);
}

.brand {
  width: clamp(132px, 16vw, 188px);
  flex: 0 0 auto;
}

.brand img,
.site-footer img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: rgba(245, 242, 231, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 242, 231, 0.22);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, 92vh);
  padding: calc(var(--header-h) + 30px) clamp(20px, 6vw, 72px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(112deg, transparent 8%, rgba(244, 223, 0, 0.12) 18%, transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.66;
  transform: translateX(-68%);
  animation: heroSweep 7.5s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  content: "";
  background: linear-gradient(180deg, rgba(7, 7, 7, 0), var(--ink));
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.76) 36%, rgba(7, 7, 7, 0.2) 78%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.34), rgba(7, 7, 7, 0.72)),
    url("assets/hero-bg.png") center / cover no-repeat;
  transform: translateY(calc(var(--scroll-y, 0) * 0.035px)) scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow,
.section-label,
.project-year {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: clamp(3.05rem, 14vw, 10.2rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 0 rgba(0, 0, 0, 0.42);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  color: rgba(245, 242, 231, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.68;
}

.hero-lead {
  max-width: 650px;
  color: rgba(245, 242, 231, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(245, 242, 231, 0.24);
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.button.primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.button.app {
  border-color: rgba(110, 143, 116, 0.9);
  background: rgba(110, 143, 116, 0.78);
  color: var(--paper);
  animation: appPulse 2.8s ease-in-out infinite;
}

.button.ghost {
  background: rgba(245, 242, 231, 0.06);
}

.section {
  width: 100%;
  padding: clamp(66px, 9vw, 130px) clamp(20px, 6vw, 72px);
}

.section > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.copy p:last-child {
  margin-bottom: 0;
}

.intro {
  background:
    radial-gradient(circle at 84% 20%, rgba(244, 223, 0, 0.12), transparent 30%),
    var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: none;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stat {
  min-height: 184px;
  padding: clamp(24px, 4vw, 44px);
  background: #0d0d0b;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.stat strong {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.stat span {
  color: rgba(245, 242, 231, 0.78);
  font-weight: 750;
  line-height: 1.38;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(245, 242, 231, 0.16);
}

.service,
.project {
  background: var(--ink-2);
}

.service {
  min-height: 282px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.service::after,
.project::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(244, 223, 0, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service span {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--yellow);
  font-weight: 950;
}

.service p,
.project p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.projects {
  background:
    linear-gradient(180deg, rgba(244, 223, 0, 0.05), rgba(244, 223, 0, 0)),
    #0b0b09;
}

.project-list {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1px;
  background: rgba(245, 242, 231, 0.16);
}

.project {
  min-height: 270px;
  padding: clamp(26px, 4vw, 46px);
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.project.featured {
  display: grid;
  grid-row: span 3;
  align-content: space-between;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(244, 223, 0, 0.13), rgba(17, 18, 15, 0.98) 42%),
    var(--ink-2);
}

.project.featured h2 {
  color: var(--yellow);
}

.project ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.project li {
  padding-top: 11px;
  border-top: 1px solid rgba(245, 242, 231, 0.16);
  color: rgba(245, 242, 231, 0.86);
  font-weight: 800;
}

.artists {
  background:
    linear-gradient(90deg, rgba(110, 143, 116, 0.16), transparent 54%),
    var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list span {
  padding: 10px 13px;
  border: 1px solid rgba(244, 223, 0, 0.34);
  background: rgba(244, 223, 0, 0.08);
  color: var(--paper);
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.stat:hover,
.service:hover,
.project:hover {
  transform: translateY(-6px);
  background: #171811;
}

.service:hover::after,
.project:hover::after {
  opacity: 1;
}

.tag-list span:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: rgba(244, 223, 0, 0.15);
}

.impact {
  padding-top: 0;
}

.impact-panel {
  padding: clamp(34px, 6vw, 68px);
  border-left: 7px solid var(--yellow);
  background:
    linear-gradient(90deg, rgba(244, 223, 0, 0.1), transparent 46%),
    #11120f;
}

.impact-panel p {
  max-width: 860px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  padding: clamp(66px, 9vw, 118px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(244, 223, 0, 0.92), rgba(244, 223, 0, 0.82)),
    var(--yellow);
  color: var(--ink);
}

.contact > * {
  max-width: calc(var(--max) / 2);
}

.contact .eyebrow,
.contact p,
.contact h2 {
  color: var(--ink);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: block;
  padding: 18px 0;
  border-bottom: 2px solid rgba(7, 7, 7, 0.26);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
  overflow-wrap: anywhere;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(7, 7, 7, 0.65);
  transform: translateX(8px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 72px);
  background: #050505;
  border-top: 1px solid rgba(245, 242, 231, 0.1);
}

.site-footer img {
  width: 142px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes atmosphereShift {
  from {
    background-position: 0% 50%, center, center;
  }

  to {
    background-position: 100% 50%, center, center;
  }
}

@keyframes heroSweep {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-70%);
  }

  58% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(68%);
  }
}

@keyframes heroDrift {
  from {
    background-position: center center;
  }

  to {
    background-position: 56% 48%;
  }
}

@keyframes appPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(110, 143, 116, 0);
  }

  50% {
    box-shadow: 0 0 28px rgba(110, 143, 116, 0.45);
  }
}

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

  .hero-media {
    transform: scale(1.02);
  }

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

@media (max-width: 1060px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(244, 223, 0, 0.22);
    background: rgba(7, 7, 7, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 10px;
    border-bottom: 1px solid rgba(245, 242, 231, 0.11);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 56px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.94), rgba(7, 7, 7, 0.56)),
      linear-gradient(180deg, rgba(7, 7, 7, 0.28), rgba(7, 7, 7, 0.84)),
      url("assets/hero-bg.png") center / cover no-repeat;
  }

  .section-grid,
  .section-heading,
  .project-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .project.featured {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service,
  .project,
  .stat {
    min-height: auto;
  }

  .service span {
    margin-bottom: 42px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
