/* After The Ages: the public site. Dark navy, with a light blue accent. */
:root {
  --bg: #0e1626;
  --bg-raised: #15203a;
  --line: #24334f;
  --text: #e1e4eb;
  --muted: #969eac;
  --accent: #7cc8f2;
  --accent-deep: #4fa8dc;
  --display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: 0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.quiet { color: var(--muted); font-size: 0.95em; }
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* The hero: Boomtown's canyon, darkened toward the text. */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(14, 22, 38, 0.94) 0%, rgba(14, 22, 38, 0.7) 45%, rgba(14, 22, 38, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 22, 38, 0) 30%),
    url("images/boomtown.jpg") center 40% / cover no-repeat;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 24px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.25em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.lede { font-size: clamp(1.25rem, 2.6vw, 1.6rem); max-width: 30ch; color: #fff; }
.sub { max-width: 52ch; color: var(--text); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 1rem; }
.cta-note { color: var(--muted); font-size: 0.92rem; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #081626;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.button:hover { background: #a9dcf8; color: #081626; transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.section { padding: 96px 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 18px 20px;
}
.facts strong { display: block; font-family: var(--display); font-size: 1.15rem; color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
  width: 100%;
}

.story {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(90, 170, 230, 0.16), transparent 60%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story p { font-size: 1.08rem; }

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #081626;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.notes > div { border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.notes ul { margin: 0; padding-left: 1.2em; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
.footer .wordmark { font-size: 1rem; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap, .nav, .hero-body { padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 16px; }
  .hero { min-height: min(80vh, 720px); background:
    linear-gradient(0deg, rgba(14, 22, 38, 0.97) 10%, rgba(14, 22, 38, 0.55) 100%),
    url("images/boomtown.jpg") 60% 30% / cover no-repeat; }
  .two-col, .steps, .notes { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  .button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img, .button { transition: none; }
}
