:root {
  --bg: #17161b;
  --plum: #382c3a;
  --wine: #794b68;
  --rose: #b65c72;
  --taupe: #8c766d;
  --silk: #dccdc2;
  --ivory: #f4eee8;
  --max: 42rem;
  --wide: 56rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--bg);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--silk);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wine);
  color: var(--ivory);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Floating pill nav */
.nav-pill {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: min(18rem, calc(100vw - 2.5rem));
  padding: 0.5rem 0.65rem;
  background: rgba(56, 44, 58, 0.92);
  border: 1px solid rgba(182, 92, 114, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav-pill a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silk);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.nav-pill a:hover,
.nav-pill a:focus-visible {
  background: rgba(182, 92, 114, 0.25);
  color: var(--ivory);
}

/* Editorial hero */
.hero-editorial {
  padding: 4.5rem 1.5rem 3rem;
  max-width: var(--wide);
  margin: 0 auto;
  border-bottom: 1px solid rgba(220, 205, 194, 0.12);
}

.hero-editorial .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.25rem;
}

.hero-editorial h1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-editorial h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--silk);
  font-size: 0.55em;
  margin-top: 0.35em;
}

.hero-editorial .tagline {
  margin: 1.75rem 0 0;
  max-width: 32rem;
  font-size: 1.15rem;
  color: var(--silk);
}

.hero-visual {
  margin: 2.5rem auto 0;
  max-width: var(--wide);
  padding: 0 1.5rem;
}

.hero-visual img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(182, 92, 114, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Sections — staggered intros */
.section {
  padding: 3.5rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.section.intro-left .section-head {
  text-align: left;
  max-width: var(--max);
}

.section.intro-center .section-head {
  text-align: center;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section.intro-right .section-head {
  text-align: right;
  max-width: var(--max);
  margin-left: auto;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--taupe);
  font-size: 0.95rem;
}

/* Single column prose features */
.prose-col {
  max-width: var(--max);
  margin: 2rem auto 0;
}

.prose-col p {
  margin: 0 0 1.25rem;
}

.prose-col p strong {
  color: var(--rose);
  font-weight: 600;
}

.prose-feature {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(220, 205, 194, 0.1);
}

.prose-feature:first-of-type {
  border-top: none;
}

/* Inline thumbnails in flow */
.screen-flow {
  max-width: var(--max);
  margin: 2rem auto 0;
}

.screen-flow p {
  margin: 0 0 1.5rem;
}

.thumb-inline {
  float: right;
  width: min(11rem, 42vw);
  margin: 0.25rem 0 1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid rgba(121, 75, 104, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.thumb-inline.left {
  float: left;
  margin: 0.25rem 1.25rem 1rem 0;
}

.screen-flow::after {
  content: "";
  display: table;
  clear: both;
}

/* Gallery strip */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
  max-width: var(--wide);
}

.gallery-row img {
  border-radius: 6px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(220, 205, 194, 0.08);
}

/* Legal — drop cap */
.legal-block {
  max-width: var(--max);
  margin: 0 auto;
}

.legal-block h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.legal-block p {
  margin: 0 0 1rem;
  color: var(--silk);
}

.dropcap::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 0.85;
  padding: 0.1rem 0.45rem 0 0;
  color: var(--rose);
  font-weight: 600;
}

.site-foot {
  padding: 2rem 1.5rem 5.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--taupe);
  border-top: 1px solid rgba(220, 205, 194, 0.08);
}

@media (max-width: 640px) {
  .thumb-inline,
  .thumb-inline.left {
    float: none;
    width: 70%;
    margin: 0 auto 1.25rem;
  }

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

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