:root {
  --ink: #0b0b0a;
  --ink-2: #141413;
  --ink-3: #1d1d1b;
  --bone: #ffffff;
  --dim: #b5b3ae;
  --gold: #ee6c33;
  --gold-deep: #c9531f;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Barlow, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 13px;
  text-transform: uppercase;
}

.topbar nav { display: flex; gap: 18px; }
.topbar nav a { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.topbar nav a:hover { color: var(--gold); }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 20px 60px; }
.narrow { max-width: 520px; }

.eyebrow { margin: 0; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }

h1 {
  margin: 14px 0 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2.section-title { margin: 42px 0 14px; font-size: 20px; font-weight: 600; }

.lead { margin: 16px 0 0; color: var(--dim); line-height: 1.6; font-size: 15px; }
.muted { color: var(--dim); font-size: 13px; margin: 6px 0 0; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: rgba(238, 108, 51, 0.6); }

.cover { aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.card-body { padding: 16px; }
.card-body h3 { margin: 0; font-size: 17px; font-weight: 600; }
.meta { margin: 10px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.empty {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}

label { display: block; margin: 18px 0 6px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }

input, select, textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bone);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: rgba(238, 108, 51, 0.7); }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
input.error { border-color: #ef4444; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #0b0b0a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: var(--gold-deep); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--gold); background: transparent; }
.btn-small { width: auto; height: 36px; margin: 0; padding: 0 16px; font-size: 11px; }

.box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  margin-top: 18px;
}

.check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.6; color: var(--dim); letter-spacing: 0; text-transform: none; }
.check input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--gold); }

.alert { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.alert-error { display: block; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fecaca; }
.alert-ok { display: block; background: rgba(238, 108, 51, 0.12); border: 1px solid rgba(238, 108, 51, 0.4); color: #ffd7c4; }

.code-input { text-align: center; font-size: 26px; letter-spacing: 0.4em; font-weight: 600; }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--ink-3); cursor: pointer; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 90;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  color: var(--bone);
  font-size: 20px;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.footer { border-top: 1px solid var(--line); padding: 22px 20px; color: var(--dim); font-size: 12px; text-align: center; }

.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); padding: 22px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.tabs button.active { border-color: var(--gold); color: var(--gold); }

.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 46px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

.brand-logo {
  height: 35px;
  width: auto;
  display: block;
}
