/**
 * Chapter layout: spacing, readable type, band backgrounds (Live-Event / Agnes look).
 */

:root {
  /* Horizontal page blocks — warm linen “gutter”, white panels, two soft gradients */
  --band-gutter: #e6dfd3;
  --band-white: #ffffff;
  --band-warm: #f7f0e6;
  --band-stone: #ebe4d9;
  --band-lilac: #ece6ef;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 2.75rem;
  --space-xl: clamp(3.25rem, 6vw, 5rem);
  --text-body: clamp(1.0625rem, 0.35vw + 1rem, 1.125rem);
  --text-lead-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem);
  --title-hero: clamp(2rem, 5.5vw, 3.15rem);
  --title-section: clamp(1.75rem, 3.8vw, 2.55rem);
  --title-sub: clamp(1.2rem, 2vw, 1.45rem);
  --line-readable: 1.72;
}

body {
  font-size: var(--text-body);
  line-height: var(--line-readable);
}

.lead {
  font-size: var(--text-lead-size);
  line-height: 1.65;
  max-width: 42rem;
}

.eyebrow {
  font-size: clamp(0.82rem, 0.25vw + 0.78rem, 0.95rem);
  margin-bottom: 0.65rem;
}

h1 {
  font-size: var(--title-hero);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--title-section);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--title-sub);
  line-height: 1.35;
}

.section-title-deco {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: var(--space-md);
}

.section-title-deco::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(4.25rem, 22vw);
  height: 2px;
  border-radius: 0;
  background: var(--color-slate);
  opacity: 0.28;
  transform: rotate(-0.35deg);
}

h1.section-title-deco::after {
  width: min(5rem, 30vw);
}

.text-center {
  text-align: center;
}

.text-center.section-title-deco::after,
.section-title-deco.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.atelier-heading.text-center,
.atelier-heading .text-center {
  text-align: center;
}

.heart-list li {
  margin-bottom: 0.85rem;
}

/* Full-width chapter bands (visual structure) */
.chapter-band {
  width: 100%;
  padding: var(--space-xl) 0;
  position: relative;
}

.chapter-band > .section,
.chapter-band > .photo-scatter-section,
.chapter-band > article.section {
  padding-top: 0;
  padding-bottom: 0;
}

.chapter-band--plain {
  background: transparent;
}

.chapter-band--scatter {
  padding-top: clamp(1.25rem, 3.5vw, 2rem);
  padding-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
  background: var(--band-white);
  border-bottom: 1px solid rgba(45, 45, 45, 0.06);
}

.chapter-band--atelier {
  background: var(--band-lilac);
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.chapter-band--blush {
  /* Hero — gradient block 1 (blush paper) */
  background: linear-gradient(
    180deg,
    var(--band-white) 0%,
    #f6ebe4 42%,
    var(--band-warm) 100%
  );
}

.chapter-band--gallery {
  /* Main photo scatter — calm stone block */
  background: var(--band-stone);
  border-top: 1px solid rgba(45, 45, 45, 0.07);
  border-bottom: 1px solid rgba(45, 45, 45, 0.07);
}

/* Blush hero: top of page — headline, then Agnes live photo, then essay follows */
.chapter-band--blush .hero-intro.section {
  padding-top: clamp(2.5rem, 7vw, 4.25rem);
  padding-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.chapter-band--blush .hero-intro .eyebrow {
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

.chapter-band--blush .hero-intro .section-title-deco {
  margin-bottom: 0.85rem;
}

.chapter-band--blush .hero-intro .lead {
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}

.hero-intro__photos {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.85rem);
  align-items: stretch;
}

@media (min-width: 720px) {
  .hero-intro__photos {
    display: grid;
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    align-items: end;
    gap: clamp(1rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
  }

  .hero-intro__figure--artist {
    transform: rotate(-1.1deg);
    justify-self: start;
  }

  .hero-intro__figure--guests {
    transform: rotate(0.65deg);
  }
}

.hero-intro__figure--artist {
  max-width: min(100%, 420px);
}

.hero-intro__figure--guests {
  max-width: 100%;
  width: 100%;
}

.hero-intro__figure {
  margin: 0;
  max-width: 100%;
  padding: 0;
  border: 1px solid rgba(45, 45, 45, 0.18);
  border-radius: 2px;
  background: var(--color-paper);
  box-shadow: none;
  overflow: hidden;
}

.hero-intro__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-intro__caption {
  margin: 0.5rem 0 0;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
  color: var(--ink-muted, rgba(45, 45, 45, 0.62));
}

.chapter-band--gold-mist {
  /* Services — gradient block 2 (warm gold mist) */
  background: linear-gradient(
    128deg,
    var(--band-white) 0%,
    #f9f1df 38%,
    #f3e6cc 72%,
    var(--band-warm) 100%
  );
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.chapter-band--paper-inset {
  background: var(--band-white);
  border-top: 1px solid rgba(45, 45, 45, 0.08);
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}

.chapter-band--regions {
  background: var(--band-white);
}

/* Prominent hub link on homepage regions section */
.chapter-band--regions .region-hub-link {
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.5rem, 3.5vw, 2.25rem);
  text-align: center;
}

.chapter-band--regions .region-hub-link a {
  display: inline-block;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.45;
  letter-spacing: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.chapter-panel {
  background: transparent;
  border: 1px solid rgba(45, 45, 45, 0.12);
  border-radius: var(--radius-art);
  box-shadow: none;
  padding: clamp(1.35rem, 3vw, 2rem);
  margin-top: var(--space-md);
}

.chapter-panel + .chapter-panel {
  margin-top: var(--space-lg);
}

.service-card {
  background: transparent;
  border: 1px solid rgba(45, 45, 45, 0.12);
  border-radius: var(--radius-art);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: none;
  height: 100%;
}

.service-card h3 {
  margin-top: 0;
  color: var(--color-slate);
}

.service-card .heart-list {
  margin-bottom: 0;
}

.gallery-grid {
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: var(--space-md);
}

.section {
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.15rem, 3vw, 1.75rem);
}

.atelier-section {
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.atelier-heading h1 {
  margin-bottom: 0.75rem;
}

/* Long editorial: optional accordion blocks */
.chapter-accordion {
  margin: var(--space-md) 0;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--radius-art);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.chapter-accordion summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  padding: 1rem 1.15rem 1rem 2.75rem;
  position: relative;
  color: var(--color-slate);
}

.chapter-accordion summary::-webkit-details-marker {
  display: none;
}

.chapter-accordion summary::before {
  content: "+";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  line-height: 1.35rem;
  text-align: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-paper);
  font-weight: bold;
  font-size: 1rem;
}

.chapter-accordion[open] summary::before {
  content: "−";
}

.chapter-accordion__body {
  padding: 0 1.15rem 1.25rem 1.15rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.35);
}

.chapter-accordion__body p {
  margin-top: 0;
}

.editorial p {
  margin-bottom: 1.15rem;
}

/* Region & sub-pages */
.region-page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3vw, 1.75rem);
}

.region-page-hero h1 {
  max-width: 18ch;
}

.region-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.region-page .section {
  max-width: min(1120px, 100%);
}

.region-page .artist-card-grid {
  max-width: none;
}

.breadcrumb {
  font-size: clamp(0.92rem, 0.25vw + 0.88rem, 1rem);
  margin-bottom: var(--space-md);
}

.region-intro-copy {
  font-size: var(--text-lead-size);
  line-height: 1.65;
}

.artist-card {
  padding: clamp(1.35rem, 3vw, 2.1rem);
}

.artist-card p {
  font-size: var(--text-body);
  line-height: var(--line-readable);
}

.master-artwork figcaption {
  max-width: 52rem;
  font-size: clamp(0.78rem, 0.2vw + 0.74rem, 0.88rem);
}

.artwork-legal-note {
  font-size: clamp(0.92rem, 0.25vw + 0.88rem, 1rem);
  line-height: 1.55;
}

.master-bio,
.master-link {
  font-size: var(--text-body);
}

.site-nav a {
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.05rem);
}

.brand {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
}

.brand span {
  font-size: clamp(0.82rem, 0.2vw + 0.78rem, 0.92rem);
}

.cta-band {
  padding: clamp(3rem, 6vw, 4.25rem) clamp(1.25rem, 4vw, 2rem);
}

.cta-band h2 {
  font-size: var(--title-section);
}

.site-footer {
  font-size: clamp(0.92rem, 0.25vw + 0.88rem, 1rem);
  padding: 2.5rem 1.25rem 3.5rem;
}

.region-index-list {
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.region-index-item a {
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.35rem);
  font-size: var(--text-body);
}

.region-index-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .chapter-band {
    padding: clamp(2.25rem, 8vw, 3.25rem) 0;
  }
}
