/* Direction C — The Manuscript
   Most intimate. Warm paper-pulp ground, asymmetric grid,
   large italic Cormorant pull quotes, single contemplative photograph per page. */

.manuscript {
  background: var(--pulp);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100%;
}

/* ── Header ───────────────────────────────────────── */
.m-header {
  padding: 0 64px;
  height: 84px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--parchment);
}
.m-header__nav { justify-self: end; }

/* Glass header — translucent parchment + light blur */
.m-header {
  background: color-mix(in srgb, var(--parchment) 90%, transparent) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
}
.m-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(26,20,16,0.10), 0 8px 30px -16px rgba(26,20,16,0.30);
}
.m-header__apply { justify-self: end; }
.m-header__brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.m-header__brand-mark {
  display: inline-block;
  width: 32px; height: 32px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 16px;
}
.m-header__nav {
  display: flex; gap: 28px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 400;
}
.m-header__nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.m-header__nav a.is-active { color: var(--burgundy); border-bottom-color: var(--gold); }
.m-header__nav a:hover { color: var(--burgundy); }
.m-header__apply {
  background: var(--burgundy);
  color: var(--pulp);
  padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}
.m-header__apply:hover { background: var(--burgundy-ink); }
.m-header__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}
.m-header__portal {
  display: inline-block;
  line-height: 1;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.m-header__portal:hover { color: var(--burgundy); }
.m-header__portal-ico { color: var(--gold-deep); flex-shrink: 0; }

/* ── Hero ─────────────────────────────────────────── */
.m-hero {
  padding: 56px 64px 96px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
}

/* Split layout — text + photo on top row; plate + CTAs centred underneath both, full width */
.m-hero.m-hero--split {
  display: block;
  padding: 56px 64px 80px;
  grid-template-columns: none;
  gap: 0;
}
.m-hero.m-hero--split .m-hero__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  margin-bottom: 56px;
}
.m-hero.m-hero--split .m-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.m-hero.m-hero--split .m-hero__photo {
  aspect-ratio: auto;
  align-self: stretch;
}
.m-hero.m-hero--split .m-hero__below {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  width: 100%;
}
.m-hero__cta--center { justify-content: center; }
.m-hero__colophon { padding: 0; margin-top: 24px; }
@media (max-width: 880px) {
  .m-hero.m-hero--split { padding: 48px 28px 56px; }
  .m-hero.m-hero--split .m-hero__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.m-hero__folio {
  position: absolute;
  top: 24px;
  right: 64px;
  font-family: var(--serif); font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.m-hero__chapter {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 14px;
  color: var(--gold-deep);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.m-hero__chapter::before {
  content: '— '; color: var(--gold);
}
.m-hero__head {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--burgundy);
  margin: 0 0 32px;
}
.m-hero__head em { font-style: italic; color: var(--gold-deep); font-weight: 300; }
.m-hero__deck {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 40px;
}
.m-hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* The single contemplative photo */
.m-hero__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #2a1a14 0%, #160606 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--burgundy);
  box-shadow: 0 26px 54px -26px rgba(60, 18, 14, 0.55);
}
.m-hero__photo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--burgundy);
  pointer-events: none;
  z-index: 2;
}
.m-hero__photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: grayscale(1);
}
.m-hero__photo-caption {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 14px;
  color: rgba(237,229,211,0.85);
  line-height: 1.4;
}
.m-hero__photo-caption::before {
  display: block;
  content: 'PLATE I';
  font-family: var(--sans); font-style: normal;
  font-size: 9px; letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── Section ──────────────────────────────────────── */
.m-section {
  padding: 96px 64px;
  position: relative;
}
.m-section--rule { border-top: 1px solid var(--rule); }
.m-section--burgundy {
  background: var(--burgundy);
  color: var(--pulp);
}
.m-section--ink {
  background: var(--burgundy-ink);
  color: var(--pulp);
}

.m-asym {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.m-marginalia {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; line-height: 1.55;
  color: var(--burgundy);
  padding-top: 12px;
  border-top: 1px solid var(--gold);
  max-width: 28ch;
}
.m-section--burgundy .m-marginalia, .m-section--ink .m-marginalia {
  color: var(--gold);
  border-top-color: var(--gold);
}

.m-h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--burgundy);
  margin: 0 0 28px;
  max-width: 18ch;
}
.m-section--burgundy .m-h2, .m-section--ink .m-h2 { color: var(--pulp); }
.m-h2 em { font-style: italic; color: var(--gold-deep); }
.m-section--burgundy .m-h2 em, .m-section--ink .m-h2 em { color: var(--gold); }

.m-prose {
  font-family: var(--sans); font-weight: 300;
  font-size: 16px; line-height: 1.75;
  color: var(--ink);
  max-width: 56ch;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}
.m-section--burgundy .m-prose, .m-section--ink .m-prose { color: rgba(237,229,211,0.88); }
.m-prose p { margin: 0 0 1.4em; }
.m-prose p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .m-prose, .m-apply-intro { text-align: left; hyphens: none; -webkit-hyphens: none; }
}

/* Large pull quote — centerpiece of the manuscript style */
.m-pullquote {
  padding: 80px 64px;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.m-pullquote__mark {
  font-family: var(--serif); font-style: italic;
  font-size: 64px; color: var(--gold);
  line-height: 0;
  display: block;
  margin-bottom: 24px;
}
.m-pullquote__text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--burgundy);
  max-width: 26ch;
  margin: 0 auto 24px;
}
.m-pullquote__attr {
  font-family: var(--sans); font-weight: 500;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* Failure ledger — three rows */
.m-ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
}
.m-ledger__row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.m-ledger__row:last-child { border-bottom: 1px solid var(--rule); }
.m-ledger__num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 28px; color: var(--gold-deep);
}
.m-ledger__verb {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; color: var(--burgundy);
}
.m-ledger__verb em { font-style: italic; color: var(--gold-deep); }
.m-ledger__body {
  font-size: 14px; line-height: 1.65; color: var(--ink-soft);
  max-width: 56ch;
}

/* Acts list — manuscript treats them as chapter cards */
.m-acts {
  margin-top: 32px;
}
.m-acts__row {
  display: grid;
  grid-template-columns: 90px 1fr 220px;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(201,168,76,0.4);
  align-items: baseline;
}
.m-acts__row:last-child { border-bottom: 1px solid rgba(201,168,76,0.4); }
.m-acts__roman {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 32px; color: var(--gold);
}
.m-acts__name {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; color: var(--pulp);
}
.m-acts__phase {
  font-family: var(--sans); font-weight: 500;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}

/* Programme page — long act cards */
.m-act-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  padding: 80px 64px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  align-items: start;
}
.m-act-card:last-child { border-bottom: 0; }
.m-act-card__roman {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 120px;
  line-height: 0.9;
  color: var(--gold);
  margin: 0;
}
.m-act-card__sessions {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: rgba(237,229,211,0.7);
  margin: 8px 0 32px;
}
.m-act-card__phase {
  font-family: var(--sans); font-weight: 500;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.m-act-card__name {
  font-family: var(--serif); font-weight: 300;
  font-size: 64px; line-height: 1; letter-spacing: -0.014em;
  color: var(--pulp);
  margin: 0 0 32px;
}
.m-act-card__name em { font-style: italic; }
.m-act-card__body {
  font-family: var(--serif); font-weight: 300;
  font-size: 19px; line-height: 1.55;
  color: rgba(237,229,211,0.88);
  max-width: 60ch;
  margin: 0 0 28px;
}
.m-act-card__leave {
  font-size: 13px; line-height: 1.65;
  color: rgba(237,229,211,0.7);
  border-top: 1px solid rgba(201,168,76,0.4);
  padding-top: 18px; max-width: 60ch;
}
.m-act-card__leave strong {
  display: block;
  font-family: var(--sans); font-weight: 500;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Format card */
.m-formats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.m-format {
  border: 1px solid var(--rule);
  padding: 32px;
  background: rgba(245,240,232,0.4);
}
.m-format__label {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--gold-deep);
  margin-bottom: 8px;
}
.m-format__name {
  font-family: var(--serif); font-weight: 400;
  font-size: 32px; color: var(--burgundy);
  margin-bottom: 18px;
}
.m-format__rows { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.m-format__rows strong { color: var(--ink); font-weight: 500; }

/* Inclusions */
.m-incl {
  margin-top: 32px;
}
.m-incl__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.m-incl__row:last-child { border-bottom: 1px solid var(--rule); }
.m-incl__num {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--gold-deep);
}
.m-incl__title {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; color: var(--burgundy);
  margin-bottom: 6px;
}
.m-incl__body { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ── § Coda — Application (engraved invitation) ── */
.m-cta {
  background: var(--burgundy-ink);
  color: var(--pulp);
  padding: 110px 64px 72px;
  position: relative;
}

/* Section label — match .m-situation__label exactly, in gold for dark bg */
.m-cta__label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  padding-bottom: 18px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--gold);
  display: inline-block;
  padding-right: 64px;
}

.m-cta__title-block {
  margin-bottom: 56px;
  text-align: center;
}
.m-cta__scarcity {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.005em;
}
.m-cta__head {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.018em;
  margin: 0 auto;
  max-width: 18ch;
  color: var(--pulp);
}
.m-cta__head em { font-style: italic; color: var(--gold); }

/* The engraved invitation frame — double rule with cartouche fleuron */
.m-cta__frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  padding: 56px 48px 44px;
}
.m-cta__frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  opacity: 0.45;
  pointer-events: none;
}

/* Fleuron in a cartouche, hung on the top rule */
.m-cta__fleuron {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy-ink);
  padding: 0 18px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}

/* The numbered list of three actions */
.m-cta__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.m-cta__row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(217, 178, 105, 0.22);
  text-align: left;
}
.m-cta__row:last-child { border-bottom: none; }

.m-cta__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.m-cta__action {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 28px;
  text-decoration: none;
  color: var(--pulp);
  transition: color 0.2s ease;
}
.m-cta__action:hover { color: var(--gold); }
.m-cta__action:hover .m-cta__action-detail { opacity: 1; }
.m-cta__action-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.m-cta__action--primary .m-cta__action-label {
  color: var(--gold);
  font-style: italic;
}
.m-cta__action-detail {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  color: var(--pulp);
  opacity: 0.6;
  text-align: right;
  letter-spacing: 0.005em;
  transition: opacity 0.2s ease;
}

.m-cta__colophon-wrap { margin-top: 48px; }

@media (max-width: 880px) {
  .m-cta { padding: 80px 24px 48px; }
  .m-cta__frame { padding: 48px 24px 32px; }
  .m-cta__action {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .m-cta__action-detail { text-align: left; }
}
