:root {
  --bg: #0a1120;
  --bg-2: #0e1a30;
  --ink: #eef2f8;
  --ink-dim: #9aa7bd;
  --teal: #63d0c6;
  --amber: #f5b942;
  --line: #1e2b45;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 50% -10%, #13223f 0%, transparent 70%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

main { flex: 1; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: clamp(72px, 14vw, 140px) 24px clamp(48px, 8vw, 88px);
}

.mark {
  width: clamp(96px, 20vw, 132px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(245, 185, 66, 0.12));
}

.wordmark {
  margin-top: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.wordmark span {
  display: block;
  font-size: clamp(40px, 9vw, 76px);
}
.wordmark em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(15px, 3.4vw, 24px);
  letter-spacing: 0.42em;
  color: var(--teal);
  padding-left: 0.42em;
}

.tagline {
  margin: 22px auto 0;
  max-width: 30ch;
  font-size: clamp(16px, 3.6vw, 20px);
  color: var(--ink-dim);
}

.cta {
  display: inline-block;
  margin-top: 34px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--amber);
  color: #241a05;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 10px 30px rgba(245, 185, 66, 0.22);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(245, 185, 66, 0.3); }

.fineprint {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #6b7a95;
  text-transform: uppercase;
}

.hero-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.text-link {
  font-size: 14px;
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--amber); }

/* ---------- tiles ---------- */
.tiles {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.tile {
  background: linear-gradient(180deg, var(--bg-2), #0b1730);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.tile-glyph { font-size: 30px; }
.tile h2 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.tile p {
  font-size: 14.5px;
  color: var(--ink-dim);
}

/* ---------- shots ---------- */
.shots {
  max-width: 960px;
  margin: clamp(48px, 9vw, 88px) auto 0;
  padding: 0 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shot {
  min-width: 0;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot.pending {
  border: 1px dashed #2a3a5c;
  display: grid;
  place-items: center;
  color: #556482;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
footer {
  margin-top: clamp(56px, 10vw, 96px);
  padding: 26px 24px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 13.5px;
  color: var(--ink-dim);
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- about page ---------- */
.doc {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 96px) 24px 80px;
}
.doc .back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.doc h1 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 8px; }
.doc h2 { font-size: 17px; margin: 32px 0 8px; color: var(--teal); }
.doc h3 { font-size: 15px; margin: 22px 0 6px; color: var(--ink); font-weight: 700; }
.doc .lede { color: var(--ink-dim); margin-bottom: 18px; font-size: 15.5px; }
.doc p { color: var(--ink-dim); margin-bottom: 10px; }
.doc a { color: var(--teal); }
.doc ul, .doc ol { color: var(--ink-dim); margin: 0 0 12px 1.25em; }
.doc li { margin-bottom: 4px; }
.doc code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--amber);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 13.5px;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  color: var(--ink-dim);
}
.doc th { color: var(--ink); background: var(--bg-2); font-weight: 600; }
.doc .muted { margin-top: 40px; font-size: 13px; color: #556482; }

.doc .toc {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-2), #0b1730);
}
.doc .toc-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.doc .toc ol { margin: 0 0 0 1.1em; }
.doc .toc ul { margin: 4px 0 8px 1.1em; list-style: disc; }
.doc .toc a { text-decoration: none; }
.doc .toc a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .shot:last-child { display: none; }
}
