:root {
  --bg: #1C1712;
  --shadow: #2A231A;
  --ink: #E8D9B8;
  --accent: #C0483C;
  --gilt: #C9A24B;
  --bar: #100D09;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

a { color: var(--accent); }
a:hover { color: var(--gilt); }

/* ---- Title banner ---- */
.title-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--gilt);
}

.title-banner .title-text h1 {
  font-family: 'Uncial Antiqua', serif;
  font-weight: 400;
  font-size: 2.1rem;
  margin: 0 0 0.3rem;
  color: var(--gilt);
  line-height: 1.15;
}

.title-banner .eyebrow {
  font-family: 'Cormorant SC', serif;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0;
}

.title-banner .header-portrait {
  height: 170px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.6));
}

/* ---- Tavern scene under header ---- */
.tavern-scene {
  margin: 2rem 0;
  text-align: center;
}
.tavern-scene img {
  width: 100%;
  max-width: 900px;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 75, 0.35);
}
.tavern-caption {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--gilt);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

/* ---- Section headers ---- */
.section-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem 0.75rem 1.4rem;
  margin: 2.8rem 0 1.3rem;
  background: var(--bar);
  border-left: 3px solid var(--gilt);
  border-radius: 0 4px 4px 0;
}

.section-header h2 {
  font-family: 'Uncial Antiqua', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gilt);
  margin: 0;
}

/* ---- Peek-over portraits ---- */
.peek-wrap {
  position: relative;
  overflow: visible;
}
.peek-over {
  position: absolute;
  top: 10px;
  right: -90px;
  width: 110px;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  pointer-events: none;
}
.peek-thistle { width: 190px; top: 15px; right: -120px; }
.peek-kaelen  { width: 140px; top: 0px;  right: -120px; }
.peek-light   { width: 130px; top: 0px; right: -110px; }
.peek-orin    { width: 140px; top: 15px; right: -115px; }
.peek-iris    { width: 140px; top: 0px; right: -130px; }

@media (max-width: 900px) {
  .peek-over { display: none; }
}

/* ---- Mika banner with dialog ---- */
.mika-banner {
  position: relative;
  margin: 2.5rem 0;
  text-align: center;
}
.mika-banner img {
  width: 100%;
  max-width: 1000px;
  border-radius: 4px;
}
.mika-dialog {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 23, 18, 0.85);
  border: 1px solid var(--gilt);
  color: var(--ink);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  max-width: 80%;
}

.page p { margin: 0 0 1.1rem; }
.page p.lede { font-style: italic; opacity: 0.9; }


.dialog-screenshot {
  max-width: 100%;
  width: 600px; /* tune to taste */
  display: block;
  margin: 1.5rem auto;
  border: 2px solid var(--gilt-accent, #b8860b); /* match your existing accent var */
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.dialog-caption {
  text-align: center;
  font-style: italic;
  font-family: 'EB Garamond', serif;
  color: #a89f8f;
  font-size: 0.9rem;
  margin-top: -0.5rem;
}
/* ---- Quote blocks ---- */
blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.2rem;
  background: var(--shadow);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  font-style: italic;
}
blockquote cite {
  display: block;
  margin-top: 0.4rem;
  font-family: 'Cormorant SC', serif;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gilt);
}

/* ---- Boss portrait ---- */
.boss-portrait {
  display: block;
  margin: 0 auto 0.6rem;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px var(--bar), 0 6px 16px rgba(0,0,0,0.6);
  background: var(--shadow);
}
.boss-caption {
  text-align: center;
  font-family: 'Cormorant SC', serif;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ---- Gallery grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  max-width: 560px;
  margin: 0 auto;
}
.gallery-grid figure { margin: 0; text-align: center; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gilt);
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
  background: var(--shadow);
}
.gallery-grid figcaption {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.gallery-grid .char-desc {
  font-size: 0.72rem;
  color: #b8a888;
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* ---- Contact ---- */
.contact-line {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
}

/* ---- Footer rotisserie ---- */
.bg-rotisserie {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
  border-top: 2px solid var(--gilt);
}
.bg-rotisserie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.bg-rotisserie img.active { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .title-banner { flex-direction: column; text-align: center; }
  .title-banner .header-portrait { height: 130px; }
  .title-banner .title-text h1 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.1rem; }
  .boss-portrait { width: 150px; height: 150px; }
  .gallery-grid { max-width: 320px; gap: 0.8rem; }
  .bg-rotisserie { height: 200px; }
}
/* ---- Collapsible section ---- */
details.collapsible summary.section-header {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
details.collapsible summary.section-header::-webkit-details-marker {
  display: none;
}
details.collapsible summary.section-header::after {
  content: "▼";
  color: var(--gilt);
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
details.collapsible[open] summary.section-header::after {
  transform: rotate(180deg);
}
.collapsible-content {
  padding-top: 0.3rem;
}