@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-tight.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  background: #07080a;
  color: #f4f6f8;
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html:has(body[data-hero]),
html:has(body[data-page]) {
  height: auto;
  overflow-x: clip;
  overflow-y: auto;
}

body[data-hero="1"],
body[data-page] {
  min-height: 100%;
  overflow: visible;
}

html:not(:has(body[data-hero])):not(:has(body[data-page])),
html:not(:has(body[data-hero])):not(:has(body[data-page])) body {
  height: 100%;
  overflow: hidden;
}

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

canvas {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

canvas:active {
  cursor: grabbing;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 100dvh;
  min-height: 100dvh;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
}

.hero-copy {
  position: absolute;
  left: 28px;
  bottom: 10vh;
  z-index: 2;
  pointer-events: none;
  max-width: min(640px, 78vw);
}

.hero-copy h1,
.film-reel-copy h1,
.film-reel-copy h2,
.product-hero-copy h1 {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.film-reel,
.product-hero {
  position: relative;
  height: calc(78vh - 32px);
  min-height: 488px;
  margin: 16px;
  overflow: hidden;
  border-radius: 20px;
  background: #050608;
}

.film-reel video,
.product-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-reel video {
  object-fit: cover;
  border-radius: 20px;
}

.film-reel::after,
.product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 46%;
  background: linear-gradient(transparent, rgba(5, 6, 8, 0.88));
  pointer-events: none;
}

.product-hero img {
  object-fit: cover;
}

.film-reel-copy,
.product-hero-copy {
  position: absolute;
  left: 28px;
  bottom: 10vh;
  z-index: 2;
  max-width: min(640px, 78vw);
  pointer-events: none;
}

.film-reel-copy p,
.product-hero-copy p {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.page-dots {
  background-color: #08090c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.8px);
  background-size: 13px 13px;
}

.page-shell {
  width: min(1080px, calc(100% - 88px));
  margin-inline: auto;
  border-inline: 1px dashed rgba(255, 255, 255, 0.16);
  background: #08090c;
}

.rule {
  position: relative;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #08090c;
}

.rule::before {
  left: -4px;
}

.rule::after {
  right: -4px;
}

.next {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 88vh;
  padding: 36px 32px 0;
  color: #eceef1;
}

.series,
.marks {
  display: flex;
  flex-direction: column;
  padding: 72px 32px 80px;
  color: #eceef1;
}

.series {
  padding-bottom: 48px;
}

.series.is-bleed {
  padding-inline: 0;
}

.series-copy,
.marks-copy {
  text-align: center;
}

.series-copy p,
.marks-copy p,
.marks-frame li p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 14px;
}

.series-copy h2,
.marks-copy h2 {
  max-width: 16ch;
  margin: 0 auto 36px;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.series-copy h2 {
  margin-bottom: 0;
}

.product-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.product-index.is-bleed {
  width: auto;
  margin: 16px;
  gap: 16px;
  border: 0;
  background: transparent;
}

.product-card {
  overflow: hidden;
  border-radius: 20px;
  background: #101218;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #050608;
}

.product-card div {
  padding: 18px 20px 24px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.product-card:hover {
  background: #0e1014;
}

.product-page .legal {
  padding-top: 56px;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.product-cta a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marks-frame {
  display: grid;
  gap: 0;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.marks-frame img,
.marks-media {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  background: #050608;
}

.marks-frame ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.marks-frame li {
  padding: 22px 18px;
}

.marks-frame li + li {
  border-left: 1px dashed rgba(255, 255, 255, 0.16);
}

.marks-frame span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.colors-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.colors-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: default;
}

.colors-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.next p,
.catalog-copy p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 14px;
}

.next h1,
.next h2 {
  max-width: 14ch;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.partners {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 92vh;
  padding: 88px 0 34vw;
}

.partners-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
}

.partners-copy p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 14px;
}

.partners-copy h2 {
  max-width: 14ch;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 28px;
}

.partner-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: partner-marquee 52s linear infinite;
}

.partner-carousel:hover .partner-track {
  animation-play-state: paused;
}

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

.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 0 0 auto;
  min-width: 280px;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: #08090c;
  cursor: pointer;
}

.partner-card img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.partner-card.is-active {
  border-style: solid;
  border-color: rgba(180, 220, 230, 0.55);
  background: rgba(180, 220, 230, 0.06);
}

.visit {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.visit:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
  }

  .material-slides {
    transition: none;
  }
}

.globe-stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(calc(100% - 88px), 1280px);
  aspect-ratio: 1;
  transform: translate(-50%, 38%);
}

.globe-stage canvas {
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

@media (max-width: 900px) {
  .partners {
    min-height: 84vh;
    padding-top: 80px;
  }

  .globe-stage {
    width: calc(100% - 32px);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 28px;
  background: transparent;
  transition: background 0.22s ease, backdrop-filter 0.22s ease;
}

.site-header.is-scrolled,
body[data-page] .site-header {
  background: rgba(8, 9, 12, 0.22);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

html.os-windows .site-header.is-scrolled,
html.os-windows body[data-page] .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(8, 9, 12, 0.82);
}

.header-rule {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1080px, calc(100% - 88px));
  transform: translateX(-50%);
}

.site-header.is-scrolled .header-rule,
body[data-page] .site-header .header-rule {
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  height: 28px;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a.config {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
}

.nav a.config:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hint {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.rails {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
  z-index: 2;
}

.rail {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.rail span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.rails button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  background: var(--c);
}

.rails button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #0a0a0c, 0 0 0 4px #fff;
}

.sliders {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: grid;
  gap: 14px;
  width: 176px;
}

.sliders label {
  display: grid;
  gap: 8px;
}

.sliders input[type="range"] {
  width: 100%;
  accent-color: #e8e8ee;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch input {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #2a2a30;
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  cursor: pointer;
}

.switch input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ececf1;
}

.switch input:checked {
  background: #d8d8de;
}

.switch input:checked::after {
  left: 18px;
  background: #111;
}

.pair {
  display: flex;
  justify-content: space-between;
  opacity: 0.55;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.fail {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  color: #eee;
  font-size: 15px;
  line-height: 1.45;
  padding: 32px;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 28px 28px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-lead {
  max-width: 36em;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-news {
  width: min(440px, 100%);
  margin-top: 28px;
}

.footer-news > p {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.footer-news div {
  display: flex;
  gap: 8px;
}

.footer-news input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.footer-news input:focus {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.45);
}

.footer-news button {
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-news button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-news-status {
  display: block;
  min-height: 1.2em;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}

.footer-nav p {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav a {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-mark {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin-top: 36px;
}

.footer-meta {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.64);
}

.material-panel {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  width: calc(100% + 64px);
  margin: auto -32px 0;
  padding: 14px 32px;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(8, 9, 12, 0.92);
  pointer-events: auto;
}

.material-panel[hidden] {
  display: none !important;
}

.material-panel p {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.material-panel h2 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.material-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.material-meta span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.material-panel #material-hex,
.material-panel #material-sku {
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.material-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

body.modal-open {
  overflow: hidden;
}

.color-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 40px;
}

.color-modal[hidden] {
  display: none !important;
}

.color-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  cursor: pointer;
}

.color-modal-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: #08090c;
}

.color-modal .material-carousel {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #050608;
}

.material-carousel {
  position: relative;
  overflow: hidden;
  height: min(42vh, 420px);
  background: #050608;
}

.material-slides {
  --slide: 0;
  display: flex;
  height: 100%;
  transform: translateX(calc(var(--slide) * -100%));
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.material-slides.is-snap {
  transition: none;
}

.material-slide {
  display: grid;
  place-items: center;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.material-slide canvas,
.material-slide img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

#preview-sphere {
  display: block;
}

#preview-car {
  display: block;
  width: 100%;
  height: 100%;
}

.color-modal-sheet .carousel-nav,
.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  transform: translateY(-50%);
  letter-spacing: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
}

.carousel-nav:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.carousel-nav svg {
  display: block;
  width: 16px;
  height: 16px;
}

.carousel-nav.is-prev {
  left: 16px;
}

.carousel-nav.is-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.35);
}

.material-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  flex-shrink: 0;
  z-index: 3;
  padding: 14px 32px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  background: #08090c;
}

.color-modal .material-panel a,
.color-modal .material-actions a,
.color-modal .material-actions button {
  display: inline-flex;
}

.color-modal-sheet a,
.color-modal-sheet button,
.material-panel a,
.material-panel button {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.color-modal-sheet .carousel-dots button {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  letter-spacing: 0;
}

.color-modal-sheet .carousel-dots button.is-on {
  background: #fff;
  border-color: #fff;
}

.catalog {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 108px 32px 40px;
  color: #eceef1;
}

.has-panel .color-grid {
  padding-bottom: 28px;
}

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

.catalog-copy h1 {
  max-width: 14ch;
  margin-inline: auto;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.catalog.is-list {
  padding-top: 0;
  padding-bottom: 0;
}

.catalog-tools {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 28px;
}

.color-search {
  width: 100%;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
}

.color-search input {
  width: 100%;
  min-height: 64px;
  padding: 18px 32px;
  border: 0;
  background: transparent;
  color: #f4f6f8;
  font: inherit;
  font-size: 16px;
  text-align: center;
  outline: none;
}

.color-search input::placeholder {
  text-align: center;
}

.finish-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.finish-row button {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.finish-row button.is-on {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.color-grid {
  --cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: #08090c;
}

.color-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  flex: 0 0 calc(100% / var(--cols));
  min-height: 220px;
  padding: 28px 18px 24px;
  background: #08090c;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06), 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  color: inherit;
  border: 0;
  cursor: pointer;
}

.color-card:hover,
.color-card.is-on {
  background: #0e1014;
}

.color-sphere {
  display: block;
  width: 88px;
  height: 88px;
  margin-inline: auto;
  cursor: pointer;
}

.color-card strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.color-card span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.catalog-empty {
  margin-top: 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.legal {
  padding: 108px 32px 72px;
  color: #eceef1;
  text-align: center;
}

.legal-lead,
.legal-band p,
.legal-split p,
.legal-split li {
  max-width: 40em;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.legal-lead {
  margin-top: 28px;
}

.legal h2 {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.legal-band,
.legal-split {
  margin-top: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 28px 24px;
}

.period-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.period-grid article + article {
  border-left: 1px dashed rgba(255, 255, 255, 0.16);
}

.period-grid p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.period-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.legal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.legal-split article {
  padding: 28px 24px;
}

.legal-split article + article {
  border-left: 1px dashed rgba(255, 255, 255, 0.16);
}

.legal-split ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.legal-split li + li {
  margin-top: 10px;
}

.legal-band p + p {
  margin-top: 16px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
  margin-top: 48px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #f4f6f8;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
}

.contact-message,
.contact-form button,
.contact-status {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-status {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

.legal-mail {
  display: block;
  margin-top: 48px;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .nav a:not(.config) {
    display: none;
  }

  .period-grid,
  .legal-split,
  .contact-form,
  .marks-frame ul {
    grid-template-columns: 1fr;
  }

  .period-grid article + article,
  .legal-split article + article,
  .marks-frame li + li {
    border-left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
  }

  .color-grid {
    --cols: 2;
  }

  .color-modal {
    padding: 14px;
  }

  .color-modal-sheet {
    width: 100%;
    height: 100%;
  }
}
