:root {
  --bg: #1c1c23;
  --bg-soft: #2b2b36;
  --accent: #ffd700;
  --accent2: #4cc9f0;
  --purple: #800080;
  --text: #fdfdfd;
  --muted: #9aa3b5;
  --max: 1080px;
  --pill-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(128, 0, 128, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(76, 201, 240, 0.12), transparent 50%),
    linear-gradient(180deg, #1c1c23 0%, #14141a 100%);
  color: var(--text);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent2);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--bg-soft);
  padding: 0.5rem 1rem;
}

.floating-pill {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(28, 28, 35, 0.92);
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: var(--pill-shadow);
  backdrop-filter: blur(10px);
}

.floating-pill a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.floating-pill a:hover,
.floating-pill a:focus-visible {
  background: rgba(255, 215, 0, 0.14);
  color: var(--accent);
}

.band {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.section-intro.left-aligned h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero.editorial-type {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
  display: grid;
  gap: 2.5rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent2);
}

.hero h1 {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.hero-line1 {
  display: block;
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  line-height: 0.95;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #f5d76e 45%, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line2 {
  display: block;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
  max-width: 18ch;
}

.hero-tagline {
  margin: 1.5rem 0 0;
  max-width: 42ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-visual {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.18);
  box-shadow: var(--pill-shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose-block {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(76, 201, 240, 0.45);
}

.prose-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--text);
}

.prose-block p {
  margin: 0;
  max-width: 68ch;
  color: rgba(253, 253, 253, 0.88);
}

.inline-thumbs-flow {
  display: grid;
  gap: 1.5rem;
}

.inline-caption {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-style: italic;
}

.thumb-pair,
.thumb-trio {
  display: grid;
  gap: 1rem;
}

.thumb-pair {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.thumb-trio {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.thumb-single {
  max-width: 280px;
  margin: 0;
}

.thumb-pair img,
.thumb-trio img,
.thumb-single img {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-strip img {
  border-radius: 0.85rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 215, 0, 0.12);
}

.legal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.legal-col h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  color: var(--accent);
}

.legal-col p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: rgba(253, 253, 253, 0.86);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .floating-pill {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
}
