:root {
  --text: #f3f3f3;
  --muted: #a6a6ad;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #09090a 0%, #111114 100%);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 12, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dice-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 5px;
}

.dice-mark span {
  background: #fff;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero {
  padding: 72px 0 20px;
}

.hero-intro,
.feedback-box,
.contact-box,
.simple-card,
.piece-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.hero-intro {
  padding: 34px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.1rem, 4.3vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lead,
.section-head p,
.contact-copy p,
.piece-body p {
  color: #d0d0d7;
}

section {
  padding: 18px 0 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.piece-card {
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.piece-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.active-piece {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.piece-image-wrap {
  aspect-ratio: 4 / 5;
  background: #111;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.piece-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.piece-body {
  padding: 18px;
}

.piece-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  margin-bottom: 10px;
}

.feedback-box,
.contact-box,
.simple-card {
  padding: 28px;
}

.selected-piece-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.selected-label {
  color: var(--muted);
}

.field-group {
  margin-bottom: 18px;
}

.label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.radio-row label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #d0d0d7;
}

select,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  background: #141417;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hidden {
  display: none;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.hero-actions,
.contact-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  color: #111;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
}

.footer {
  padding: 18px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden-admin-btn {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  min-width: 110px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 23, 0.92);
  color: #f3f3f3;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hidden-admin-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f3f3f3;
  opacity: 0.9;
}

.hidden-admin-btn:hover {
  transform: translateY(-2px);
  background: rgba(28, 28, 32, 0.98);
  border-color: rgba(255, 255, 255, 0.22);
}

.hidden-admin-btn.show-admin-btn {
  display: inline-flex;
}

@media (max-width: 980px) {
  .pieces-grid,
  .contact-box,
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-intro,
  .feedback-box,
  .contact-box,
  .simple-card,
  .piece-body {
    padding: 18px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}