@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy: #0A1628;
  --navy-mid: #12263F;
  --navy-soft: #1A3354;
  --bg: #0D192B;
  --gold: #C9A227;
  --gold-soft: #E8D5A3;
  --gold-grad: linear-gradient(110deg, #C0943D 0%, #E9C56E 50%, #BA8731 100%);
  --cream: #F5F0E6;
  --muted: #8A9BB0;
  --ink: #061018;
  --card: #142033;
  --danger: #e05a4f;
  --ok: #3dba7a;
  --radius: 12px;
  --max: 1080px;
  --side-ad: 160px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
}
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--cream);
}

/* ---- layout shell with side ads ---- */
.page-shell {
  display: grid;
  grid-template-columns: var(--side-ad) minmax(0, 1fr) var(--side-ad);
  gap: 16px;
  max-width: calc(var(--max) + var(--side-ad) * 2 + 64px);
  margin: 0 auto;
  padding: 0 16px;
  align-items: start;
}
.page-shell > .main-col { min-width: 0; }
.side-ad {
  position: sticky;
  top: 72px;
  width: var(--side-ad);
  min-height: 600px;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
}
.ad-slot {
  border: 1px dashed rgba(201, 162, 39, 0.55);
  background: rgba(18, 38, 63, 0.75);
  color: var(--gold-soft);
  text-align: center;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
}
.ad-slot .ad-size { color: var(--muted); font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.ad-slot.banner {
  min-height: 90px;
  width: 100%;
  margin: 20px 0;
}
.ad-slot.inline {
  min-height: 72px;
  margin: 16px 0;
}
.ad-slot.skyscraper {
  width: 160px;
  height: 600px;
  min-height: 600px;
}
.ad-slot.box {
  width: 160px;
  height: 250px;
  min-height: 250px;
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .page-shell {
    grid-template-columns: 1fr;
    max-width: var(--max);
  }
  .side-ad { display: none; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---- nav (Framer sticky dark) ---- */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  position: sticky; top: 0; z-index: 50;
}
.topbar .inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 56px;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }
.nav {
  display: flex; gap: 1.1rem; flex-wrap: wrap;
  margin-left: auto; align-items: center;
}
.nav a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav a:hover { color: var(--cream); }
.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--gold-grad);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
}
.btn:hover { filter: brightness(1.06); color: var(--ink); }
.btn.ghost {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.55);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.small { padding: 0.4rem 0.85rem; font-size: 0.8rem; }

/* ---- hero ---- */
.hero {
  background: var(--bg);
  padding: 3.5rem 0 2.5rem;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  max-width: 18ch;
}
.hero p.lede {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.hero .cta { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

/* ---- how it works ---- */
.how {
  background: var(--navy-mid);
  padding: 3.5rem 0;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.how-inner { max-width: var(--max); margin: 0 auto; }
.how h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  background: var(--navy-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(232, 213, 163, 0.08);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.step h3 { margin: 0 0 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---- cards / gallery ---- */
.section { padding: 2rem 0 2.5rem; }
.section h2 { margin: 0 0 0.35rem; font-size: clamp(1.6rem, 3vw, 1.9rem); }
.section .sub { color: var(--muted); margin: 0 0 1.25rem; font-size: 0.9rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232, 213, 163, 0.08);
  transition: border-color 0.15s, transform 0.15s;
}
a.card:hover, .card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
  color: inherit;
}
.card .thumb {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: var(--navy-soft);
}
.card .body { padding: 0.75rem 0.9rem 1rem; }
.card h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}
.card .meta { color: var(--muted); font-size: 0.8rem; }

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.2rem 0;
  border: 1px solid rgba(232, 213, 163, 0.1);
  border-top: 2px solid var(--gold);
}
.panel h2 { margin-top: 0; }

label { display: block; font-weight: 600; margin: 0.85rem 0 0.3rem; color: var(--gold-soft); font-size: 0.9rem; }
input[type=text], input[type=email], input[type=password], textarea, select {
  width: 100%; padding: 0.65rem 0.75rem; border-radius: 10px;
  border: 1px solid rgba(138, 155, 176, 0.35);
  background: var(--navy);
  color: var(--cream);
  font: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.form-hint { color: var(--muted); font-size: 0.85rem; margin: 0.2rem 0 0.5rem; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0; }
.checkbox input { margin-top: 0.25rem; }
.checkbox label { margin: 0; font-weight: 500; color: var(--cream); }

.flash { list-style: none; padding: 0; margin: 1rem 0; }
.flash li { padding: 0.7rem 1rem; border-radius: 10px; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.flash .ok { background: rgba(61,186,122,.15); color: var(--ok); }
.flash .error { background: rgba(224,90,79,.15); color: #ffb4ae; }
.flash .warn { background: rgba(201,162,39,.15); color: var(--gold-soft); }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid rgba(138,155,176,.2); vertical-align: top; }
th { color: var(--gold); }

.footer {
  margin-top: 2.5rem;
  padding: 2.5rem 0;
  background: var(--ink);
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}
.footer a { color: var(--gold-soft); }
.footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer .brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
}

.pager { display: flex; gap: 0.6rem; align-items: center; margin: 1.2rem 0; }
.muted { color: var(--muted); }
.art-hero { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(201,162,39,.2); }
.art-hero img { width: 100%; max-height: 70vh; object-fit: contain; background: #050b14; }

.full-bleed-ads {
  /* header banner outside side columns */
  max-width: calc(var(--max) + var(--side-ad) * 2 + 64px);
  margin: 0 auto;
  padding: 0 16px;
}

/* clickable ad slots */
a.ad-slot { display:flex; flex-direction:column; align-items:center; justify-content:center; text-decoration:none; cursor:pointer; transition:border-color .15s, background .15s; }
a.ad-slot:hover { border-color: var(--gold-soft); background: rgba(28, 58, 96, 0.85); }
label.check { display:block; font-weight:400; margin:4px 0; }
