:root {
  --black: #000000;
  --ink: #090909;
  --panel: #0f0f0f;
  --panel-2: #151515;
  --white: #ffffff;
  --muted: #a8a8a8;
  --dim: #8a8a8a;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .28);
  --accent: #f3c531;
  --accent-ink: #1b1603;
  --maxw: 1180px;
  --radius: 14px;
  --display: "Anton", Impact, sans-serif;
  --body: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .12));
}

.brand-name {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.06rem;
  line-height: 1;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a,
.social a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}

.menu a:hover,
.social a:hover {
  color: var(--white);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid rgba(243, 197, 49, .52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 22%, rgba(243, 197, 49, .13), transparent 36%),
    rgba(0, 0, 0, .68);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 10px 26px rgba(0, 0, 0, .28);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.burger:hover {
  border-color: var(--accent);
  background:
    radial-gradient(circle at 68% 22%, rgba(243, 197, 49, .2), transparent 38%),
    rgba(10, 10, 10, .88);
  box-shadow: inset 0 0 0 1px rgba(243, 197, 49, .16), 0 12px 30px rgba(0, 0, 0, .34);
}

.burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease), width .25s var(--ease);
}

.burger span:nth-child(2) {
  width: 14px;
  background: var(--accent);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 36%),
    var(--black);
  overflow: hidden;
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: center;
  gap: 70px;
}

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

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

h1,
h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 13vw, 10.4rem);
  line-height: .82;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  text-stroke: 1px var(--white);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: .92;
}

.lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: #dddddd;
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 23px;
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--white);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--dim);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  min-height: 560px;
  max-height: 640px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: visible;
  background: var(--panel);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .82)),
    linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 42%);
  border-radius: inherit;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -24%;
  z-index: 0;
  width: 92%;
  height: 62%;
  background: radial-gradient(circle, rgba(243, 197, 49, .32) 0%, rgba(243, 197, 49, .2) 34%, rgba(243, 197, 49, .08) 56%, transparent 76%);
  filter: blur(14px);
  pointer-events: none;
}

.hero-visual img,
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.08);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  object-position: center 32%;
}

.hero-visual figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 3;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.block {
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.about-copy,
.copy {
  color: var(--muted);
}

.compact-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 32px;
}

.compact-head code {
  color: var(--white);
  font-size: .86em;
}

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

.pcard {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--panel);
  padding: 24px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--panel-2);
}

.pcard .ico {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.pcard svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pcard h3 {
  margin: 24px 0 16px;
  font-size: 1.22rem;
  font-weight: 600;
}

.go {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s var(--ease);
}

.go::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(.45);
  transform-origin: left;
  opacity: .72;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.arrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  transition: transform .25s var(--ease), color .25s var(--ease);
}

.pcard:hover .go {
  color: var(--white);
}

.pcard:hover .go::after,
.pcard:focus-visible .go::after {
  transform: scaleX(1);
  opacity: 1;
}

.pcard:hover .arrow {
  transform: translate(3px, -3px);
}

.shows-section {
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.shows-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px 28px;
}

.event:hover {
  border-color: rgba(243, 197, 49, .65);
}

.event-empty {
  grid-template-columns: 110px 1fr;
}

.date {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  text-align: center;
}

.day {
  font-family: var(--display);
  font-size: 2.45rem;
  line-height: 1;
}

.mon {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.det h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
  font-weight: 600;
}

.det p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.det .show-meta {
  margin-bottom: 3px;
}

.det .show-meta:first-of-type {
  color: #d8d8d8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--dim);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.products-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.inline-head {
  margin-bottom: 0;
}

.product-preview {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 180px at 86% 0%, rgba(243, 197, 49, .1), transparent 58%),
    linear-gradient(135deg, #101010, #080808 72%);
  padding: 34px;
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/patterns/pattern-logo-white.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: .12;
}

.product-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .64)),
    radial-gradient(520px 220px at 88% 0%, rgba(243, 197, 49, .1), transparent 62%);
}

.product-stamp {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 210px);
  gap: 14px;
}

.gitem {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: zoom-in;
}

.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .42));
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.gitem img {
  transition: filter .45s var(--ease), transform .45s var(--ease);
}

.gitem:hover img,
.gitem:focus-visible img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.035);
}

.gitem:hover::after,
.gitem:focus-visible::after {
  opacity: .22;
}

.gitem.tall {
  grid-column: 1 / span 2;
  grid-row: span 2;
}

.gitem.wide {
  grid-column: auto;
}

.gallery .gitem:nth-child(2) {
  grid-column: 3 / span 2;
}

.gallery .gitem:nth-child(3) {
  grid-column: 5 / span 2;
}

.gallery .gitem:nth-child(4) {
  grid-column: 3 / span 4;
}

.gallery .gitem:nth-child(5) {
  grid-column: 1 / span 2;
}

.gallery .gitem:nth-child(6) {
  grid-column: 3 / span 2;
}

.gallery .gitem:nth-child(7) {
  grid-column: 5 / span 2;
}

.gitem-member img {
  object-position: center top;
}

.member-vicc img {
  object-position: center 12%;
}

.member-rodex img,
.member-romin img {
  object-position: center 16%;
}

.member-van img {
  object-position: center 18%;
}

.gitem-show img {
  object-position: center 38%;
}

.about-section {
  border-top: 1px solid var(--line);
}

.about-section h2 {
  line-height: 1.02;
}

.about-copy p {
  margin-bottom: 16px;
}

.contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(620px 260px at 86% 0%, rgba(255, 255, 255, .06), transparent 62%),
    var(--panel);
  padding: 58px 44px;
  text-align: center;
}

.contact h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.contact p:not(.eyebrow) {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 30px;
  color: var(--muted);
}

.contact .cta-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .9);
  padding: clamp(18px, 4vw, 48px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(100%, 1180px);
  max-height: min(82vh, 820px);
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .62);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  border: 1px solid rgba(243, 197, 49, .52);
  border-radius: 999px;
  background: rgba(0, 0, 0, .76);
  color: var(--white);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(10, 10, 10, .92);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.copy {
  width: 100%;
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 18px;
  font-size: .8rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal-ready .d1 {
  --reveal-delay: 50ms;
}

.reveal-ready .d2 {
  --reveal-delay: 150ms;
}

.reveal-ready .d3 {
  --reveal-delay: 260ms;
}

.reveal-ready .d4 {
  --reveal-delay: 360ms;
}

@media (max-width: 980px) {
  .hero-grid,
  .compact-head,
  .products-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
    min-height: 470px;
    max-height: none;
  }

  .hero-visual::after {
    top: -18%;
    right: -16%;
    width: 84%;
    height: 56%;
  }

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

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery .gitem,
  .gallery .gitem:nth-child(n),
  .gallery .gitem.tall,
  .gallery .gitem.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery .gitem.tall {
    grid-row: span 2;
  }

  .gallery .gitem.wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, var(--maxw));
  }

  .nav {
    min-height: 70px;
  }

  .brand-name {
    font-size: .95rem;
  }

  .burger {
    display: grid;
  }

  .menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: min(82vw, 340px);
    height: calc(100svh - 70px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-left: 1px solid var(--line);
    background: rgba(7, 7, 7, .98);
    padding: 18px 0;
    transform: none;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 17px 26px;
    font-size: .9rem;
  }

  .hero {
    padding: 54px 0 68px;
  }

  .hero-grid {
    gap: 38px;
  }

  .lead {
    margin-bottom: 26px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-visual::after {
    top: -20%;
    right: -14%;
    width: 96%;
    height: 58%;
    background: radial-gradient(circle, rgba(243, 197, 49, .3) 0%, rgba(243, 197, 49, .18) 34%, rgba(243, 197, 49, .07) 56%, transparent 76%);
  }

  .block {
    padding: 68px 0;
  }

  .event {
    grid-template-columns: 86px 1fr;
    padding: 20px;
    gap: 18px;
  }

  .event .ev-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .date {
    padding-right: 16px;
  }

  .day {
    font-size: 2rem;
  }

  .gitem.tall {
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .platforms,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 250px;
  }

  .gallery .gitem,
  .gallery .gitem:nth-child(n),
  .gallery .gitem.tall,
  .gallery .gitem.wide {
    grid-column: 1;
    grid-row: auto;
  }

  .btn,
  .cta-row {
    width: 100%;
  }

  .contact {
    padding: 42px 22px;
  }

  .social {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
