* {
  box-sizing: border-box;
}

:root {
  --paper: #f5f1e8;
  --paper-2: #fffaf0;
  --ink: #171313;
  --muted: #70685f;
  --line: #d9d0c3;
  --night: #171924;
  --coral: #ff5a45;
  --mint: #00a878;
  --violet: #7861ff;
  --gold: #f7b731;
  --sky: #20a7db;
  --shadow: 0 18px 42px rgba(44, 35, 26, 0.16);
  --inner: 1080px;
  --hero-scroll: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: clip;
}

body {
  -webkit-font-smoothing: antialiased;
}

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

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 42px) 18px;
  color: #ffffff;
  transition: color 220ms ease;
}

.site-nav.is-over-light {
  color: var(--ink);
}

.logo-link {
  width: 146px;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}

.nav-links a {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: color 220ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 22px 80px;
  overflow: hidden;
  background: #000000;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: center;
  transform: translateY(calc(var(--hero-scroll) * 28px)) scale(calc(1.03 + var(--hero-scroll) * 0.045));
  transform-origin: center;
  transition: transform 120ms linear;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-inner h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(54px, 10vw, 128px);
  line-height: 0.95;
  white-space: nowrap;
}

.hero .eyebrow {
  margin-bottom: 20px;
  font-size: clamp(15px, 1.15vw, 19px);
  letter-spacing: 0.16em;
}

.hero-line {
  width: min(780px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.24;
}

.scroll-cue {
  margin-top: 34px;
  width: 40px;
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  color: #ffffff;
  animation: scrollCueFloat 2.8s ease-in-out infinite;
}

.scroll-cue-icon {
  position: relative;
  width: 32px;
  height: 48px;
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
}

.scroll-cue-icon span {
  width: 4px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.55s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-cue-arrow {
  width: 12px;
  height: 12px;
  display: block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.76;
  transform: rotate(45deg);
  animation: scrollArrow 1.55s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 10px;
  display: block;
}

.scroll-cue:hover {
  color: var(--gold);
}

.about-band,
.work-band,
.lab-band {
  background: var(--paper);
}

.section-inner {
  width: min(var(--inner), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  font-size: 54px;
  line-height: 1.02;
}

.about-inner {
  padding-top: 68px;
  padding-bottom: 44px;
}

.about-inner p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.capability-strip {
  width: min(940px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.capability-strip span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  min-width: 0;
  margin-bottom: 64px;
}

.project-row:last-child {
  margin-bottom: 0;
}

.project-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 19, 19, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #ffffff;
}

.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
  inset: auto auto 24px 24px;
  width: 42%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.58);
}

.project-art::after {
  inset: 24px 24px auto auto;
  border-radius: 50%;
}

.project-art span,
.project-art strong {
  position: relative;
  z-index: 1;
}

.project-art span {
  font-family: "Archivo", sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.project-art strong {
  width: min(180px, 100%);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.project-cover {
  display: block;
  padding: 0;
  background: #171313;
}

.project-cover::before,
.project-cover::after {
  content: none;
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.project-cover:hover img {
  transform: scale(1.035);
}

.art-sunrise {
  background:
    linear-gradient(135deg, rgba(255, 90, 69, 0.95), rgba(247, 183, 49, 0.9)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.24) 18px 20px);
}

.art-lagoon {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.82) 0 9%, transparent 10%),
    linear-gradient(135deg, rgba(0, 168, 120, 0.95), rgba(32, 167, 219, 0.9));
}

.art-arcade {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, rgba(120, 97, 255, 0.96), rgba(255, 90, 69, 0.86));
}

.art-night {
  background:
    radial-gradient(circle at 28% 22%, rgba(247, 183, 49, 0.9) 0 11%, transparent 12%),
    linear-gradient(135deg, rgba(23, 25, 36, 0.98), rgba(70, 64, 86, 0.92));
}

.project-copy {
  min-width: 0;
}

.project-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0 0 18px;
  color: #000000;
  font-family: "Archivo", sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.project-copy p:not(.project-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.48;
}

.project-copy strong {
  display: block;
  margin-top: 14px;
  color: var(--violet);
  font-size: 22px;
  font-weight: 800;
}

.project-button {
  min-width: 190px;
  min-height: 56px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 19, 19, 0.18);
  font-size: 16px;
  font-weight: 800;
}

.coral {
  color: var(--coral);
}

.mint {
  color: var(--mint);
}

.violet {
  color: var(--violet);
}

.gold {
  color: var(--gold);
}

.ink {
  color: var(--night);
}

.lab-band {
  background: var(--paper-2);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lab-item {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.lab-item span {
  color: var(--coral);
  font-family: "Archivo", sans-serif;
  font-size: 38px;
  font-weight: 900;
}

.lab-item h3 {
  margin: 38px 0 12px;
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}

.lab-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-band {
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 82px 22px 150px;
  background: var(--night);
  color: #ffffff;
}

.contact-inner {
  width: min(900px, 100%);
  text-align: center;
}

.contact-inner h2 {
  font-size: 56px;
  line-height: 1.02;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  margin: 34px auto 0;
  padding: 18px 18px 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.custom-field {
  position: relative;
  display: block;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  outline: none;
  padding: 26px 18px 14px;
  background: linear-gradient(180deg, rgba(3, 5, 18, 0.82), rgba(11, 14, 38, 0.82));
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-form textarea {
  min-height: 138px;
  padding-top: 30px;
  resize: vertical;
}

.custom-field span {
  position: absolute;
  left: 18px;
  top: 17px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease, top 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(247, 183, 49, 0.78);
  background: linear-gradient(180deg, rgba(6, 9, 28, 0.98), rgba(14, 17, 44, 0.94));
  box-shadow: 0 0 0 4px rgba(247, 183, 49, 0.14), 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.custom-field input:focus + span,
.custom-field input:not(:placeholder-shown) + span,
.custom-field textarea:focus + span,
.custom-field textarea:not(:placeholder-shown) + span {
  top: 9px;
  color: var(--gold);
  transform: scale(0.82);
  transform-origin: left center;
}

.custom-dropdown {
  position: relative;
  text-align: center;
}

.dropdown-label {
  display: block;
  padding: 0 0 8px 4px;
  color: rgba(255, 255, 255, 0.54);
  text-align: left;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.native-project-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropdown-trigger {
  position: relative;
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 15px 18px;
  background: radial-gradient(circle at 12% 0%, rgba(247, 183, 49, 0.18), transparent 34%), linear-gradient(180deg, rgba(3, 5, 18, 0.86), rgba(11, 14, 38, 0.88));
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.dropdown-trigger span {
  grid-column: 1;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.dropdown-trigger small {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 800;
}

.dropdown-trigger i {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(247, 183, 49, 0.14);
  border: 1px solid rgba(247, 183, 49, 0.3);
}

.dropdown-trigger i::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.dropdown-trigger:hover,
.custom-dropdown.is-open .dropdown-trigger {
  border-color: rgba(247, 183, 49, 0.72);
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(247, 183, 49, 0.12), 0 18px 40px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.custom-dropdown.is-invalid .dropdown-trigger {
  border-color: rgba(255, 107, 107, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14), 0 18px 40px rgba(0, 0, 0, 0.26);
}

.dropdown-trigger:focus-visible {
  outline: 3px solid rgba(247, 183, 49, 0.34);
  outline-offset: 3px;
}

.custom-dropdown.is-open .dropdown-trigger i::before {
  transform: translateY(2px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 8px;
  max-height: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 26px;
  background: rgba(5, 7, 23, 0.96);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 1;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: max-height 220ms ease, padding 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.custom-dropdown.is-open .dropdown-menu {
  max-height: 350px;
  padding: 10px 8px 10px 10px;
  border-color: rgba(255, 255, 255, 0.12);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(247, 183, 49, 0.82) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu::-webkit-scrollbar {
  width: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.dropdown-menu::-webkit-scrollbar-thumb {
  border: 2px solid rgba(5, 7, 23, 0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #ffe58d);
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe58d, var(--gold));
}

.dropdown-menu button {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 18px;
  padding: 14px 15px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.dropdown-menu button:hover,
.dropdown-menu button.is-selected {
  background: rgba(247, 183, 49, 0.14);
  transform: translateX(2px);
}

.dropdown-menu button span {
  font-size: 15px;
  font-weight: 900;
}

.dropdown-menu button small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 800;
}

.contact-form button[type="submit"] {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(247, 183, 49, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(247, 183, 49, 0.38);
}

.contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(58px) scale(0.985);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1), filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes scrollCueFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  28% {
    opacity: 1;
  }

  78% {
    opacity: 1;
    transform: translateY(18px);
  }

  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes scrollArrow {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(4px) rotate(45deg);
  }
}

@media (max-width: 920px) {
  .hero h1 {
    font-size: clamp(54px, 11vw, 72px);
  }

  .hero-line {
    font-size: 25px;
  }

  .section-heading h2,
  .contact-inner h2 {
    font-size: 44px;
  }

  .about-inner p {
    font-size: 28px;
  }

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

  .project-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-art {
    width: min(360px, 100%);
    justify-self: center;
  }

  .project-copy {
    text-align: center;
  }

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

@media (max-width: 620px) {
  .site-nav {
    align-items: flex-start;
    padding: 8px 14px 14px;
  }

  .logo-link {
    width: 96px;
  }

  .nav-links {
    gap: 12px;
    padding-top: 12px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 16px 64px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .hero .eyebrow {
    font-size: 13px;
  }

  .hero-line {
    font-size: 20px;
  }

  .scroll-cue {
    margin-top: 28px;
  }

  .section-inner {
    width: min(100% - 26px, var(--inner));
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .contact-inner h2 {
    font-size: 34px;
  }

  .about-inner {
    padding-top: 56px;
    padding-bottom: 24px;
  }

  .about-inner p {
    font-size: 24px;
  }

  .capability-strip {
    gap: 8px;
  }

  .capability-strip span {
    min-height: 44px;
    font-size: 13px;
  }

  .project-copy h3 {
    font-size: 34px;
  }

  .project-copy p:not(.project-kicker),
  .project-copy strong {
    font-size: 18px;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-item {
    min-height: 220px;
  }

  .contact-band {
    padding: 70px 14px 132px;
  }

  .contact-form {
    margin-top: 28px;
    padding: 14px 14px 30px;
    border-radius: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-trigger {
    min-height: 66px;
    border-radius: 20px;
  }

  .dropdown-menu {
    max-height: 270px;
    border-radius: 22px;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 16px;
    font-size: 15px;
  }

}
