:root {
  --bg: #0b1230;
  --bg-2: #101a40;
  --panel: rgba(18, 28, 66, 0.82);
  --line: rgba(230, 180, 64, 0.45);
  --gold: #e6b440;
  --gold-2: #ffd873;
  --cream: #fff2cc;
  --muted: #aab4d8;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }

h1, h2, h3, .brand span {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(11, 18, 48, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand span { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-2); }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { text-decoration: none; color: var(--cream); font-size: 0.95rem; }
.top nav a:hover { color: var(--gold-2); }
.pill { border: 1px solid var(--gold); border-radius: 999px; padding: 6px 14px; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 72px max(16px, calc((100vw - var(--max)) / 2)) 80px;
  background:
    linear-gradient(90deg, rgba(11, 18, 48, 0.94) 0%, rgba(11, 18, 48, 0.72) 55%, rgba(11, 18, 48, 0.5) 100%),
    url("/img/backdrop.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--gold); }
.hero h1 { margin: 0 0 14px; font-size: clamp(2.6rem, 7vw, 4.6rem); color: var(--gold-2); text-shadow: 0 3px 24px rgba(255, 140, 40, 0.35); }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 34ch; margin: 0 0 24px; }
.small { color: var(--muted); font-size: 0.9rem; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 12px; text-decoration: none;
  font-weight: 700; border: 2px solid var(--gold);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(180deg, #f6cd62, #d99b24); color: #2a1a00; }
.btn.ghost { background: transparent; color: var(--gold-2); }

/* Phone frames */
.phone {
  display: block;
  border-radius: 34px; padding: 9px;
  background: #060a1c;
  border: 2px solid #2a3567;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.phone img { border-radius: 26px; width: 100%; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(300px, 70vw); transform: rotate(2deg); }

/* Sections */
.section { padding: 72px max(16px, calc((100vw - var(--max)) / 2)); }
.section.wide { background: var(--bg-2); border-block: 1px solid var(--line); }
.section.narrow { max-width: 760px; margin: 0 auto; padding-inline: 16px; }
.section h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold-2); }
.section-lead { max-width: 60ch; color: var(--cream); margin: 0 0 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px 22px;
  overflow: hidden;
}
.card .art {
  display: block; width: calc(100% + 44px); max-width: none; margin: 0 -22px 16px;
  aspect-ratio: 9 / 5; object-fit: contain; padding: 10px 8px 0;
  background: radial-gradient(ellipse at 50% 85%, rgba(230, 180, 64, 0.22), rgba(11, 18, 48, 0) 70%), linear-gradient(180deg, #131f4c, #0d1536);
  border-bottom: 1px solid var(--line);
}
.card .art.cover { object-fit: cover; padding: 0; background: #0d1536; }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--gold-2); }
.card p { margin: 0; color: var(--cream); }

/* Gallery */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 24px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 250px; scroll-snap-align: center; text-align: center; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.shot { all: unset; cursor: zoom-in; display: block; }
.shot:focus-visible .phone { outline: 3px solid var(--gold); }
.shot .phone { transition: transform 0.15s ease; }
.shot:hover .phone { transform: translateY(-4px); }

/* Contact and footer */
.contact { text-align: center; }
.contact .actions { justify-content: center; }
.section.narrow p { color: var(--cream); }
footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
footer p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 6, 20, 0.92); padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; max-width: 92vw; border-radius: 22px; border: 2px solid var(--line); }
.close {
  position: absolute; top: 12px; right: 18px; font-size: 2.4rem; line-height: 1;
  background: none; border: 0; color: var(--cream); cursor: pointer;
}

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 72px; }
.doc h1 { color: var(--gold-2); font-size: 2.2rem; margin: 0 0 8px; }
.doc h2 { color: var(--gold-2); font-size: 1.35rem; margin: 32px 0 6px; }
.doc p, .doc li { color: var(--cream); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; text-align: left; }
  .hero-phone { order: -1; }
  .hero-phone .phone { transform: none; width: min(260px, 70vw); }
  .top nav a:not(.pill) { display: none; }
  .section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot .phone { transition: none; }
}

@media (max-width: 520px) {
  .brand span { font-size: 0.95rem; letter-spacing: 0.08em; white-space: nowrap; }
  .pill { white-space: nowrap; }
  .gallery figure { width: 220px; }
}
