:root {
  --bg: #050505;
  --bg-soft: #0f1115;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f1eb;
  --muted: rgba(244, 241, 235, 0.7);
  --accent: #1f6bff;
  --accent-soft: rgba(31, 107, 255, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

@font-face {
  font-family: "Outer Sans";
  src: url("./assets/fonts/MADE Outer Sans Regular PERSONAL USE.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Outer Sans";
  src: url("./assets/fonts/MADE Outer Sans Bold PERSONAL USE.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: #000000;
  color: var(--text);
  font-family: "Outer Sans", "Helvetica Neue", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1680px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 0;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  box-shadow: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease,
    -webkit-backdrop-filter 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(10, 10, 12, 0.58);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: invert(1) brightness(2.6) contrast(1.15);
}

.brand span {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a:hover,
.button:hover,
.video-card:hover,
.brand-logo:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: min(95vh, 980px);
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000000;
}

.hero-media,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.54));
}

.hero-intro {
  padding: clamp(64px, 8vw, 132px) 0 0;
  background: #000000;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 12px;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.58);
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy,
.manifesto-copy,
.contact-card p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.72;
}

.hero-copy {
  max-width: 62ch;
}

.hero-copy-stack {
  display: grid;
  gap: 14px;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 22px rgba(31, 107, 255, 0.22);
}

.button-dark {
  background: #0a0a0a;
  color: white;
  box-shadow: none;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: clamp(84px, 10vw, 148px) 0 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.section-head h2 {
  max-width: 14ch;
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.manifesto {
  max-width: 1180px;
  margin: clamp(54px, 8vw, 112px) auto 0;
  padding: 0 12px;
  text-align: center;
}

.manifesto-copy {
  display: grid;
  gap: 10px;
  max-width: 64ch;
  margin: 0 auto;
  color: rgba(244, 241, 235, 0.78);
  font-size: clamp(0.88rem, 0.95vw, 0.96rem);
  line-height: 1.66;
}

.brands-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  width: max-content;
  animation: brand-marquee 28s linear infinite;
}

.brands {
  overflow: hidden;
  max-width: 1520px;
  margin: clamp(56px, 8vw, 110px) auto 0;
  min-height: 80vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(48px, 6vw, 72px) 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.82), rgba(239, 236, 231, 0.98)),
    linear-gradient(180deg, #f6f2ec 0%, #ebe6dd 100%);
  border: 0;
  box-shadow: none;
}

.brands .section-head {
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.brands .section-head h2 {
  max-width: 12ch;
  color: #111111;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
}

.brands .eyebrow {
  color: rgba(17, 17, 17, 0.52);
}

.brands-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.brands-viewport:hover .brands-list {
  animation-play-state: paused;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(132px, 11vw, 172px);
  min-height: 92px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 180ms ease, background 180ms ease;
}

.brand-logo img {
  max-width: 100%;
  width: auto;
  max-height: 54px;
  display: block;
  object-fit: contain;
  filter: saturate(0) contrast(1.04);
}

.brand-logo:hover {
  background: rgba(255, 255, 255, 0.88);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  grid-auto-flow: dense;
  max-width: 1380px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  grid-column: span 4;
  min-height: 270px;
  padding: 0;
  color: var(--text);
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: #111;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.video-card.is-landscape {
  min-height: 270px;
}

.video-card.is-portrait {
  grid-column: span 3;
  min-height: 400px;
}

.video-card.is-featured {
  grid-column: span 6;
  min-height: 320px;
}

.video-card.is-hidden {
  display: none;
}

.video-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 14px;
}

.video-card-media {
  position: absolute;
  inset: 0;
}

.video-card-poster,
.video-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-poster {
  display: block;
  transform: scale(1.01);
}

.video-card-media video {
  transform: scale(1.01);
  opacity: 0;
  transition: transform 320ms ease, opacity 320ms ease;
}

.video-card:hover .video-card-media video,
.video-card:focus-visible .video-card-media video {
  transform: scale(1.06);
  opacity: 1;
}

.video-card:hover .video-card-poster,
.video-card:focus-visible .video-card-poster {
  transform: scale(1.03);
  transition: transform 320ms ease;
}

.video-card-tag {
  display: none;
}

.video-card-title {
  max-width: 10ch;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.video-card-copy {
  max-width: 26ch;
  color: var(--muted);
  line-height: 1.5;
}

.video-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.84rem;
}

.video-card-bottom {
  display: none;
}

.contact-links a {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
}

.contact {
  margin-top: clamp(96px, 12vw, 170px);
  padding: clamp(64px, 8vw, 110px);
  background: #efeeea;
  color: #111111;
}

.contact .eyebrow,
.contact h2,
.contact p,
.contact .field span,
.contact .form-note {
  color: #111111;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 54px;
  align-items: start;
}

.contact-copy-block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-copy-block h2 {
  max-width: 10ch;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-copy-block p {
  max-width: 34ch;
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

.contact-form-wrap {
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: rgba(244, 241, 235, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  padding: 12px 14px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(31, 107, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.14);
}

.field-full {
  grid-column: 1 / -1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-note {
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.88rem;
}

.contact.section .section-head h2,
.work.section .section-head h2 {
  max-width: 15ch;
}

.work.section .section-head,
.work.section {
  justify-items: center;
  text-align: center;
}

.work.section .section-head {
  margin-bottom: 18px;
}

.work.section .video-grid {
  width: 100%;
  margin: 0 auto;
}

.video-dialog {
  width: min(960px, calc(100% - 24px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 7, 7, 0.94);
  color: var(--text);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.dialog-close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-bottom: 12px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.dialog-body iframe,
.dialog-body video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: black;
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .video-card {
    grid-column: span 6;
  }

  .video-card.is-featured,
  .video-card.is-portrait {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 1440px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    flex-direction: column;
    align-items: stretch;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    border-radius: 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    width: 68px;
  }

  .hero,
  .hero-content {
    min-height: 74svh;
  }

  .video-card {
    grid-column: 1 / -1;
    min-height: 250px;
  }

  .video-card.is-featured,
  .video-card.is-portrait {
    grid-column: 1 / -1;
    min-height: 300px;
  }

}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(1.95rem, 10.5vw, 3.2rem);
  }

  .site-header {
    padding: 14px;
  }

  .hero-actions,
  .contact-links,
  .site-nav {
    display: grid;
  }

  .button,
  .site-nav a,
  .contact-links a {
    width: 100%;
  }
}
