:root {
  color-scheme: dark;
  --bg: #151515;
  --surface: #222;
  --surface-soft: #2d2d2d;
  --yellow: #ffee32;
  --text: #ffee32;
  --muted: #ffee32;
  --line: #44413d;
  --accent: #ffee32;
  --hover: #fff;
  --max-width: 1120px;
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  top: 24px;
  right: 5%;
  left: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(14px, 2vw, 24px);
  border: 1px solid rgba(255, 238, 50, 0.14);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
  isolation: isolate;
}

.site-header::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 238, 50, 0.26), rgba(255, 238, 50, 0) 34%),
    linear-gradient(90deg, rgba(255, 238, 50, 0.08), rgba(255, 238, 50, 0.18), rgba(255, 238, 50, 0.06));
  filter: blur(24px);
  content: "";
}

.brand {
  display: inline-flex !important;
  width: 2.25em;
  min-width: 2.25em;
  height: auto;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin-left: clamp(6px, 1vw, 14px);
  overflow: hidden;
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--yellow) !important;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: width 420ms ease, color 220ms ease;
}

.brand:hover,
.brand:focus-visible {
  width: 184px;
}

.brand::before,
.brand::after {
  display: none !important;
  content: none !important;
}

.brand-initial {
  display: inline-block;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  color: var(--yellow) !important;
  transform: translateX(0);
  transition: none;
}

.brand-rest {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  color: #fff !important;
  transform: translateX(-0.42em);
  transition: max-width 420ms ease, opacity 260ms ease, transform 420ms ease;
}

.brand:hover .brand-rest,
.brand:focus-visible .brand-rest {
  max-width: 5.8em;
  opacity: 1;
  transform: translateX(0);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 4vw, 64px);
  color: var(--muted);
  font-size: clamp(0.96rem, 1.35vw, 1.16rem);
  font-weight: 750;
}

.site-nav a,
.link-grid a,
.nav-dropdown summary,
.dropdown-menu a {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  color: var(--hover);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  display: grid;
  min-width: 260px;
  padding: 12px;
  border: 1px solid rgba(255, 238, 50, 0.18);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.dropdown-menu a {
  padding: 12px;
  border-radius: 8px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a[aria-current="page"] {
  color: var(--hover);
  background: rgba(255, 238, 50, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-toggle:focus-visible,
.nav-dropdown summary:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--hover);
  outline-offset: 4px;
}

.nav-dropdown summary:focus-visible,
.site-nav a:focus-visible {
  border-radius: 8px;
}

.page-shell {
  width: min(90%, var(--max-width));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) 0;
}

.site-header + .page-shell {
  padding-top: clamp(142px, 16vw, 190px);
}

.project-main {
  background: #000;
}

.vidzflow-scroll-frame {
  width: 100%;
  height: 100%;
  position: relative;
}

.vidzflow-scroll-frame iframe {
  width: 100%;
  height: 100%;
}

.vidzflow-scroll-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vidzflow-scroll-frame.is-interactive .vidzflow-scroll-layer {
  pointer-events: none;
}

.project-hero {
  height: clamp(440px, 58vh, 680px);
  position: relative;
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.18) 42%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.32));
  content: "";
}

.project-intro {
  width: 90%;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 6vw, 72px);
}

.project-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.95fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}

.project-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.project-copy p {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  font-weight: 400;
  line-height: 1.45;
}

.project-meta {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding-top: 4px;
}

.project-meta dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.project-meta dt {
  color: var(--yellow);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 800;
}

.project-meta dd {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.35;
}

.project-rule {
  width: 100%;
  height: 3px;
  margin-top: clamp(52px, 8vw, 96px);
  background: var(--yellow);
}

.section-scroll {
  display: grid;
  width: clamp(72px, 8vw, 104px);
  aspect-ratio: 1;
  margin: clamp(34px, 5vw, 58px) auto 0;
  place-items: center;
  position: relative;
  transition: transform 180ms ease;
}

.section-scroll::before {
  position: absolute;
  inset: -46%;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.96) 0 28%, rgba(0, 0, 0, 0.74) 46%, rgba(0, 0, 0, 0.32) 66%, rgba(0, 0, 0, 0) 88%);
  filter: blur(24px);
  content: "";
}

.section-scroll:hover,
.section-scroll:focus-visible {
  transform: scale(1.12);
}

.section-scroll img {
  width: 62%;
  height: auto;
  position: relative;
  z-index: 1;
}

.project-next-section {
  width: 90%;
  min-height: 42vh;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0;
  scroll-margin-top: 128px;
}

.intro {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: clamp(48px, 7vw, 88px);
}

.link-grid a {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 1.05rem;
}

.link-grid a:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
  color: var(--hover);
}

@media (max-width: 760px) {
  .site-header {
    top: 14px;
    align-items: center;
    min-height: 66px;
    border-radius: 18px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    border: 1px solid rgba(255, 238, 50, 0.18);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .nav-dropdown,
  .nav-dropdown summary {
    width: 100%;
  }

  .site-nav > a,
  .nav-dropdown summary {
    padding: 12px 8px;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    background: rgba(255, 238, 50, 0.04);
    box-shadow: none;
  }

  .brand {
    width: 2.25em;
    min-width: 2.25em;
    height: auto;
  }

  .project-hero {
    height: clamp(420px, 54vh, 560px);
  }

  .project-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-meta {
    padding-top: 0;
  }

  .project-rule {
    margin-top: 46px;
  }
}
