/* Light the few things that matter, leave the rest in the dark. */
:root {
  --bg: #0b0a09;
  --bg-raised: #14120f;
  --ink: #ece4d6;
  --ink-muted: #9a907f;
  --ink-faint: #5f584d;
  --light: #e0a95f;
  --light-soft: rgba(224, 169, 95, 0.14);
  --line: rgba(236, 228, 214, 0.1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Hero: the world full-bleed, a vignette pulling it into the dark. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000 center / cover no-repeat;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 40%, transparent 20%, rgba(11, 10, 9, 0.55) 65%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 10, 9, 0.2) 45%, transparent 70%);
}
.hero-text {
  position: relative;
  padding: 0 clamp(16px, 7vw, 120px) clamp(72px, 14vh, 140px);
  max-width: 820px;
}
.mark {
  margin: 0 0 20px;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--light);
}
h1 {
  margin: 0;
  font: 500 clamp(44px, 7vw, 92px)/1.02 var(--serif);
  letter-spacing: -0.01em;
}
.lede {
  margin: 24px 0 0;
  max-width: 34em;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.4vw, 19px);
}
.scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 22px;
  transition: color 0.3s;
}
.scroll:hover { color: var(--light); }

/* Works: one per row, media large, text beside it (stacked on phones). */
main {
  padding: clamp(48px, 10vh, 120px) clamp(16px, 7vw, 120px);
  display: grid;
  gap: clamp(72px, 14vh, 160px);
}
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.work:nth-child(even) .work-media { order: 2; }
.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 60%, var(--light-soft), transparent 70%),
    var(--bg-raised);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kicker {
  margin: 0 0 10px;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
h2 {
  margin: 0 0 16px;
  font: 500 clamp(34px, 3.6vw, 52px)/1.05 var(--serif);
}
.work-text p { margin: 0 0 14px; color: var(--ink-muted); }
.work-text .tech {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
.actions { margin-top: 26px; }
.button {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid var(--light);
  border-radius: 999px;
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.3s, color 0.3s;
}
.button:hover { background: var(--light); color: var(--bg); }
.link {
  margin-left: 20px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.link:hover { color: var(--light); }

.about {
  margin: 0 auto;
  padding: clamp(48px, 10vh, 120px) clamp(16px, 7vw, 120px);
  max-width: 720px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.about p { color: var(--ink-muted); }
.about a { color: var(--light); text-decoration: none; }

footer {
  padding: 32px 16px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
}
footer p { margin: 0; }

@media (max-width: 760px) {
  .work { grid-template-columns: 1fr; }
  .work:nth-child(even) .work-media { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
