:root {
  --bg: #000;
  --fg: #fff;
  --muted: #b9b9b9;
  --line: rgba(255, 255, 255, 0.85);
  --ring: linear-gradient(180deg, #fad45d 0%, #713cac 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Unbounded, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 22px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.bar, .soc { display: flex; gap: 22px; align-items: center; }
.bar { justify-content: center; }
.bar a, .soc a, .menu a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}
.bar a:hover, .soc a:hover, .menu a:hover { opacity: 0.7; }
.menu-btn, .menu-close, .ghost, .submit, .card button, .cta {
  cursor: pointer;
}
.menu-btn, .menu-close, .ghost {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 8px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 6;
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}
.menu[hidden] { display: none; }
.menu-line { color: var(--muted); max-width: 28ch; }
.menu-cta {
  display: inline-flex;
  width: fit-content;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 64px);
  background:
    radial-gradient(420px 220px at 70% 100%, rgba(113, 60, 172, 0.45), transparent 70%),
    #000;
}
.hero-media,
.hero-panel { min-width: 0; }
.hero-media {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  background: #000;
  overflow: hidden;
}
.hero-media video, .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel {
  border-left: 1px solid var(--line);
  padding: 36px 40px 28px;
}
.who {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 8px 16px;
  align-items: center;
}
.avatar {
  width: 118px;
  height: 118px;
  margin-left: -78px;
  border-radius: 50%;
  padding: 3px;
  background: var(--ring);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
}
h1 { font-size: clamp(28px, 3vw, 42px); font-weight: 400; letter-spacing: -0.03em; }
.wordmark {
  display: block;
  width: min(100%, 380px);
  height: auto;
  margin-top: 6px;
}
.cta, .submit {
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 18px;
  padding: 20px 16px;
  font-size: 15px;
}
.cta { margin-top: 28px; }
.circles {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
}
.circles a {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  flex: 0 0 auto;
}
.circles img { width: 100%; height: 100%; object-fit: cover; }
.stories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  max-width: 100%;
  margin-top: 22px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.stories button {
  flex: 0 0 168px;
  height: 230px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #111;
  position: relative;
}
.stories img, .stories video { width: 100%; height: 100%; object-fit: cover; }
.stories span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block { max-width: 1120px; margin: 0 auto; padding: 72px 28px; }
.top .soc { display: none; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.about h2, .manifesto h2, .order h2, .catalog-block h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.eyebrow {
  margin-bottom: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.lead { margin-top: 16px; max-width: 62ch; color: #e8e8e8; font-size: 15px; }
.punch { margin-top: 18px; font-size: clamp(20px, 3vw, 28px); max-width: 24ch; }
.clients {
  display: grid;
  gap: 2px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}
.clients li { font-size: 15px; line-height: 1.35; }
.about {
  padding: 48px 0 24px;
}
.about-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.giant {
  margin: 0;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #4a4a4a;
}
.about-copy p { margin: 0 0 12px; max-width: 42ch; }
.about-banner {
  position: relative;
  margin-top: 28px;
  height: min(52vh, 520px);
  overflow: hidden;
  background: #111;
}
.about-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46vw, 420px) !important;
  height: auto !important;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
.punch.wide { max-width: 1120px; margin: 28px auto 0; padding: 0 28px; }
.order { max-width: 1120px; margin: 0 auto; padding: 48px 28px 72px; }
.order-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(420px 240px at 80% 20%, rgba(90, 40, 140, 0.35), transparent 70%),
    #0b0b0b;
}
.order-card h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.04em; text-transform: uppercase; max-width: none; }
.order-card input,
.order-card textarea {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 16px;
}
.order-card .submit {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.order-side { position: relative; min-height: 460px; padding-right: 180px; }
.order-side .person {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: bottom right;
}
@media (max-width: 980px) {
  .about-grid, .order-card { grid-template-columns: 1fr; }
  .order-side { min-height: 0; padding-right: 0; padding-bottom: 280px; }
  .order-side .person { height: 260px; }
}

.catalog-block h2 { margin-bottom: 28px; max-width: none; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 18px;
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  background: #161616;
}
.card button {
  display: block;
  margin: 12px auto 0;
  min-width: 132px;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 10px 16px;
  letter-spacing: 0.04em;
}
.card button:hover, .cta:hover, .submit:hover { opacity: 0.86; }
.more {
  display: block;
  margin: 28px auto 0;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 12px 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.order form, .sent { display: grid; gap: 14px; max-width: 560px; margin-top: 22px; }
label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
input, textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.4;
}
.check input { width: auto; margin-top: 3px; }
.form-error { color: #ffb4b4; font-size: 14px; }
.piece-label { color: var(--muted); font-size: 13px; }
#piece-preview, #dialog-photo {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}
.prices { padding-left: 18px; color: #eee; }
.prices li { margin: 6px 0; }
.fine { color: var(--muted); font-size: 12px; }
form[hidden],
.sent[hidden],
#piece-preview[hidden],
#piece-label[hidden],
.hero-fallback[hidden],
video[hidden] {
  display: none !important;
}
.ghost { text-align: center; text-decoration: none; }

.custom-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .custom-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.foot {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 48px 28px 64px;
  display: grid;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
}
.phone { font-size: 28px; text-decoration: none; letter-spacing: -0.03em; }
.foot-soc { margin: 8px 0; }
.legal { max-width: 720px; margin: 0 auto; padding: 48px 22px 80px; }
.legal h1 { font-size: 32px; margin-bottom: 16px; }
.legal p, .legal li { color: #ddd; }
.legal a { color: #fff; }

dialog {
  width: min(440px, calc(100% - 24px));
  background: #0b0b0b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
#dialog-meta { margin: 12px 0; color: var(--muted); }

:focus-visible { outline: 2px solid #fad45d; outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { position: relative; top: 0; height: 58vh; }
  .hero-panel { border-left: 0; padding: 28px 18px 20px; }
  .avatar { margin-left: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .top { grid-template-columns: auto 1fr; }
  .soc { display: none; }
  .bar { justify-content: flex-end; gap: 14px; }
}
@media (max-width: 640px) {
  .top { padding: 8px 12px; gap: 8px; }
  .circles a { width: 52px; height: 52px; }
  .who { grid-template-columns: 84px 1fr; }
  .avatar { width: 84px; height: 84px; }
  .bar a { letter-spacing: 0.04em; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
  .hero-fallback { display: block; }
}
.order-card input,
.order-card textarea {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 16px;
}
.order-card .submit {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
