:root {
  --bg: #0d0d0d;
  --text: #f3f0e8;
  --muted: #aaa69d;
  --line: rgba(255,255,255,.22);
  --tile: rgba(12,12,12,.30);
  --tile-hover: rgba(243,240,232,.94);
  --tile-hover-text: #111;
  --width: 1180px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a, button { color: inherit; font: inherit; }
button { appearance: none; }
.backgrounds, .backgrounds::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.backgrounds {
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(135deg, #171717, #090909 65%);
}
.backgrounds::after {
  content: "";
  z-index: 2;
  background: rgba(0,0,0,.70);
}
.background {
  position: absolute;
  inset: -3%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: opacity 1.8s ease;
  animation: drift 18s ease-in-out infinite alternate;
}
.background.is-active { opacity: 1; }
@keyframes drift {
  from { transform: scale(1.03) translate3d(0,0,0); }
  to   { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); }
}
.version {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 20;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  letter-spacing: .08em;
}
.shell {
  width: min(calc(100% - 48px), var(--width));
  margin: 0 auto;
  padding: 74px 0 42px;
}
.hero {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font: 400 clamp(4.2rem, 9vw, 7.4rem)/.88 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
}
.intro {
  max-width: 640px;
  margin: 27px auto 0;
  color: rgba(243,240,232,.76);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.58;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 74px auto 0;
}
.tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.18 / 1;
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--tile);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.tile:hover, .tile:focus-visible {
  border-color: var(--text);
  background: var(--tile-hover);
  color: var(--tile-hover-text);
  transform: translateY(-4px);
  outline: none;
}
.tile-label {
  font: 400 clamp(1.8rem, 3vw, 3rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.tile-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 18px;
  opacity: .55;
  transition: transform .2s ease;
}
.tile:hover .tile-arrow, .tile:focus-visible .tile-arrow {
  transform: translateX(4px);
  opacity: 1;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.52);
  font-size: 12px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.home-link {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-link:hover { text-decoration: underline; }
.category-header {
  max-width: 780px;
  margin-bottom: 48px;
}
.category-title {
  margin: 0;
  font: 400 clamp(4rem, 9vw, 7rem)/.92 Georgia, "Times New Roman", serif;
  letter-spacing: -.05em;
}
.category-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(243,240,232,.75);
  line-height: 1.6;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.work-card {
  border: 1px solid var(--line);
  background: rgba(10,10,10,.34);
  padding: 18px;
}
.work-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050505;
  overflow: hidden;
}
.work-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-meta { padding: 16px 2px 2px; }
.work-title {
  margin: 0 0 7px;
  font: 400 1.45rem/1.2 Georgia, "Times New Roman", serif;
}
.work-desc {
  margin: 0;
  color: rgba(243,240,232,.62);
  line-height: 1.5;
}
.placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 24px;
}
@media (max-width: 820px) {
  .shell { padding-top: 60px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--width)); }
  .tiles { grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
  .tile { min-height: 170px; aspect-ratio: 1.65 / 1; }
  .footer { display: block; }
  .footer span:last-child { display: block; margin-top: 8px; }
  .topbar { margin-bottom: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}