/* Meet the Bishop prototype
   Default palette: Start Again family. Client to confirm vs Meet the Bishop blue.
   Purple is an accent. It never paints a room. Gold is jewelry only. */

:root {
  --purple: #8B44AD;
  --purple-deep: #6C2E8C;
  --royal: #3D1A5C;
  --gold: #C4A574;
  --gold-deep: #A6864E;
  --ink: #1C2128;
  --paper: #F6F3F8;
  --slate: #2C323A;
  --muted: #5A6270;
  --line: #E4DDE8;
  --white: #ffffff;
  --display: Montserrat, "Segoe UI", system-ui, sans-serif;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --overlay: rgba(0, 0, 0, 0.6);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
@media (min-width: 720px) {
  body { font-size: 1.25rem; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-deep); }
a:hover { color: var(--royal); }
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 10001;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 900px) {
  .wrap { width: min(var(--max), 82%); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--banner-offset, 46px);
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
@media (min-width: 900px) {
  .header-inner { width: min(var(--max), 82%); }
}
.wordmark {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.wordmark:hover { color: var(--gold); }
.nav-toggle {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--gold);
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ink);
  padding: 0.5rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 2px solid var(--gold);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(196, 165, 116, 0.28);
}
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a.btn {
  align-self: center;
  width: auto;
  height: auto;
  min-height: 44px;
  margin-top: 0.85rem;
  padding: 0.55rem 1.05rem;
  border: 2px solid transparent;
  text-align: center;
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .site-nav a {
    border: 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
  }
  .site-nav a.btn { margin-top: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.btn-primary {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--white); }
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary[aria-current="page"] {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary[aria-current="page"] {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}
.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--purple-deep); color: var(--purple-deep); }
.on-dark .btn-secondary,
.btn-secondary.on-dark {
  border-color: var(--gold);
  color: var(--paper);
}
.on-dark .btn-secondary:hover,
.btn-secondary.on-dark:hover { color: var(--gold); }
.btn-text {
  display: inline;
  padding: 0;
  min-height: 0;
  border: 0;
  background: none;
  color: var(--purple-deep);
  font-family: var(--display);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.28em;
  cursor: pointer;
}
.on-dark .btn-text, .room-photo .btn-text, .room-ink .btn-text, .room-slate .btn-text,
.hero .btn-text, .triad-room .btn-text, .speaking .btn-text {
  color: var(--gold);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Rooms */
.room { padding: 4.25rem 0; }
@media (min-width: 900px) {
  .room { padding: 7rem 0; }
}
.room-paper { background: var(--paper); color: var(--ink); }
.room-white { background: var(--white); color: var(--ink); }
.room-ink { background: var(--ink); color: var(--paper); }
.room-slate { background: var(--slate); color: var(--paper); }
.kicker {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple-deep);
  margin: 0 0 0.85rem;
}
.room-ink .kicker,
.room-slate .kicker,
.room-photo .kicker,
.hero .kicker,
.triad-room .kicker,
.speaking .kicker,
.page-hero .kicker { color: var(--gold); }
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.65rem;
}
.lede { font-size: 1.2rem; max-width: 40rem; }
@media (min-width: 720px) {
  .lede { font-size: 1.35rem; }
}
.quiet { color: var(--muted); font-size: 0.95rem; }
.room-ink .quiet, .room-slate .quiet, .room-photo .quiet { color: rgba(246, 243, 248, 0.78); }

.rule {
  width: 3.5rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 1.25rem 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 7.5rem);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { align-items: center; min-height: calc(100svh - 8rem); }
}
.room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 42%),
    rgba(0, 0, 0, 0.6);
}
.hero .room-bg { object-position: center 18%; }
.hero .photo-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 30%);
}
@media (max-width: 700px) {
  .hero { align-items: flex-end; }
  .hero .room-bg { object-position: center 30%; }
  .hero .photo-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 24%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 58%),
      rgba(0, 0, 0, 0.28);
  }
}
.hero-copy, .room-photo .wrap, .triad-room .wrap { position: relative; z-index: 1; }
.hero-copy { padding: 3.5rem 0 3rem; max-width: 40rem; }
.hero h1 { color: var(--white); max-width: 12ch; }
.role-line {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  margin: 0.35rem 0 0;
  max-width: 28ch;
}

.ph-label, .credit {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0.85rem 0 0;
}
.ph-label { color: var(--gold); max-width: 36rem; }
.credit { color: rgba(246, 243, 248, 0.82); }
.room-paper .credit, .room-white .credit { color: var(--muted); }
.room-paper .ph-label, .room-white .ph-label { color: var(--gold-deep); }

/* Facts */
.facts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
}
.facts li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.05rem;
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts a { font-weight: 600; }

/* Triad */
.triad-room {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.triad-room .room-bg { object-position: 58% 42%; }
.triad {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.75rem;
}
.triad li { max-width: 38rem; }
.triad h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 0 0 0.45rem;
  color: var(--white);
}
.triad p { margin: 0; max-width: 36rem; font-size: 1.15rem; }

/* Speaking */
.speaking {
  position: relative;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  padding: 4.5rem 0;
}
@media (min-width: 900px) { .speaking { padding: 7rem 0; } }
.speaking .room-bg { object-position: center 40%; }
.speaking-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .speaking-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: 3rem; }
}
.topic-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.topic-list li {
  padding: 0.9rem 0 0.9rem 1rem;
  border-top: 1px solid rgba(196, 165, 116, 0.45);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.topic-list li:last-child { border-bottom: 1px solid rgba(196, 165, 116, 0.45); }
.inset-photos { display: grid; gap: 1rem; }
.inset-photos figure { margin: 0; background: rgba(0, 0, 0, 0.35); }
.inset-photos img { width: 100%; object-fit: cover; }
.inset-photos .tall img { max-height: 520px; object-fit: cover; object-position: center top; }
.inset-photos .wide img { max-height: 240px; object-fit: cover; }
.clip-line { margin-top: 1.25rem; }

/* Appearances */
.appear-list { display: grid; gap: 0; margin-top: 1.5rem; }
.appear-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.room-slate .appear-row, .room-ink .appear-row { border-top-color: rgba(196, 165, 116, 0.4); }
.appear-row:last-child { border-bottom: 1px solid var(--line); }
.room-slate .appear-row:last-child, .room-ink .appear-row:last-child { border-bottom-color: rgba(196, 165, 116, 0.4); }
.appear-date {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.room-slate .appear-date, .room-ink .appear-date { color: var(--gold); }
.appear-row a { font-family: var(--display); font-weight: 600; color: inherit; }
.room-slate .appear-row a, .room-ink .appear-row a { color: var(--paper); }

/* Split rooms */
.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
}
figure.frame { margin: 0; }
figure.frame img { width: 100%; object-fit: cover; max-height: 640px; }
.frame figcaption { margin-top: 0.65rem; }

.partner-pair {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .partner-pair { grid-template-columns: 1.4fr 0.8fr; align-items: end; }
}

/* Personally */
.missing-photo {
  min-height: 320px;
  border: 1px solid rgba(196, 165, 116, 0.7);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45)),
    var(--slate);
}
.note-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}
.room-paper .note-block, .room-white .note-block { background: var(--white); }

/* Invite */
.doors {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0;
}
.doors a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(196, 165, 116, 0.45);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.doors li:last-child a { border-bottom: 1px solid rgba(196, 165, 116, 0.45); }
.doors a span {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.doors a:hover { color: var(--gold); }

/* Ledger slots are hidden until a row is confirmed. Styling is ready for that switch. */
.ledger {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: rgba(196, 165, 116, 0.12);
}
.room-paper .ledger, .room-white .ledger { background: rgba(139, 68, 173, 0.06); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem 0 2.5rem;
  border-top: 2px solid var(--gold);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 140px 1fr 1.2fr; gap: 2.5rem; }
}
.footer-seal { width: 96px; height: auto; }
.seal-flag { font-size: 0.85rem; color: rgba(246, 243, 248, 0.78); margin-top: 0.75rem; }
.footer-nav { display: grid; align-content: start; gap: 0.55rem; }
.footer-nav a { color: var(--paper); text-decoration: none; font-family: var(--display); font-size: 1rem; }
.footer-nav a:hover { color: var(--gold); }
.site-footer p { font-size: 0.98rem; color: rgba(246, 243, 248, 0.86); }

/* Page hero (interior) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 0 3.5rem;
}
@media (min-width: 900px) {
  .page-hero { padding: 6.5rem 0 4.5rem; }
}
.page-hero h1 { max-width: 16ch; }

/* Bio */
.bio-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .bio-layout { grid-template-columns: 280px 1fr; gap: 3.5rem; align-items: start; }
}
.portrait-slot img { width: 100%; height: auto; }
.qa { display: grid; gap: 1.25rem; margin-top: 1rem; }
.qa article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.qa h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.bio-seal { width: 88px; margin-top: 1.5rem; }

/* Media kit */
.kit-block { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.kit-block:last-child { border-bottom: 1px solid var(--line); }
.press-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .press-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .press-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.press-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.press-card img { width: 100%; object-fit: cover; max-height: 360px; }
.press-card .missing-photo { min-height: 14rem; background: var(--slate); }
.press-meta { padding: 1rem 1.1rem 1.2rem; font-size: 0.95rem; }
.press-meta p { margin-bottom: 0.45rem; }
.bio-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem 1.4rem;
  margin-bottom: 1rem;
}
.bio-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.name-card {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 1.4rem;
  border-left: 4px solid var(--gold);
}
.name-card p { font-family: var(--serif); font-size: 1.35rem; }

/* Contact */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1.45fr 0.7fr; align-items: start; gap: 3rem; }
}
.side-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 1.4rem 1.3rem 1.5rem;
}
.side-card + .side-card { margin-top: 1rem; }
.side-card h2 {
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}
form .field { margin: 0 0 1.1rem; }
label, legend {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
legend { padding: 0; }
fieldset {
  border: 0;
  margin: 0 0 1.1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9c1d0;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.3rem; }
.field-error {
  color: #7a1f3d;
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
}
.form-errors {
  background: #f8e8ee;
  border-left: 3px solid #7a1f3d;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}
.form-errors a { color: #7a1f3d; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inquiry dialog */
.inquiry-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.inquiry-dialog[hidden] { display: none; }
.inquiry-panel {
  background: var(--paper);
  color: var(--ink);
  width: min(560px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 4px solid var(--gold);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
}
.inquiry-panel h2 { font-size: 1.8rem; }

/* Brand guide */
body.brand-page { background: var(--paper); }
.brand-doc .home-link {
  display: inline-block;
  margin: 1rem 0 0 1.25rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
@media (min-width: 900px) {
  .brand-doc .home-link { margin-left: max(1.25rem, calc((100% - min(1180px, 82%)) / 2)); }
}
.brand-doc .cover {
  min-height: calc(100svh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3rem;
}
.brand-doc .cover-card {
  width: min(920px, 100%);
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem 1.5rem;
}
@media (min-width: 720px) {
  .brand-doc .cover-card { padding: 3rem 2.75rem; }
}
.brand-doc .cover-card img.seal-hero {
  width: min(14rem, 46%);
  height: auto;
  margin-bottom: 1.5rem;
}
.brand-doc .eyebrow,
.brand-doc .section-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}
.brand-doc .cover-card h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.brand-doc .cover-kicker {
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.35rem;
  color: var(--gold);
}
.brand-doc .cover-tagline {
  margin: 0.9rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  max-width: 36rem;
}
.brand-doc .cover-credit {
  margin-top: 1.5rem;
  color: rgba(246, 243, 248, 0.82);
  font-size: 1rem;
}
.brand-doc .cover-credit a { color: var(--white); }
.brand-doc .palette-flag {
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.92rem;
}
.brand-doc .section { padding: 4.5rem 0; }
.brand-doc .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
}
.brand-doc .lede { margin-bottom: 1.5rem; max-width: 68ch; }
.brand-doc .container {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 0.35rem;
}
.pack-note {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0.25rem auto 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.logo-panels, .variation-grid, .spec-grid, .rules-grid, .voice-grid, .color-grid, .btn-row {
  display: grid;
  gap: 1.15rem;
}
.logo-panels, .spec-grid, .rules-grid, .voice-grid, .variation-grid { grid-template-columns: 1fr; }
.color-grid { grid-template-columns: 1fr; }
.btn-row { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .logo-panels, .spec-grid, .rules-grid, .voice-grid, .variation-grid, .btn-row { grid-template-columns: 1fr 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr 1fr; }
  .btn-row.three { grid-template-columns: 1fr 1fr 1fr; }
}
.logo-panel {
  min-height: 240px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo-panel.light { background: var(--paper); border: 2px solid var(--line); }
.logo-panel.dark { background: var(--ink); }
.logo-panel img { width: min(240px, 70%); height: auto; }
.logo-panel .word { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin: 0; }
.logo-panel.light .word { color: var(--ink); }
.logo-panel.dark .word { color: var(--paper); }
.logo-panel-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-panel.light .logo-panel-label { color: var(--muted); }
.logo-panel.dark .logo-panel-label { color: var(--gold); }
.panel {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 1.5rem 1.35rem;
}
.panel h3, .swatch-role, .variation-meta h3 {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 0.7rem;
}
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--purple);
}
.rule-list.dont li::before {
  background: transparent;
  border: 2px solid var(--muted);
  width: 6px;
  height: 6px;
}
.variation-card { background: var(--white); border: 2px solid var(--line); }
.variation-stage { min-height: 160px; padding: 1.5rem; display: flex; align-items: center; }
.variation-stage.paper { background: var(--paper); }
.variation-stage.ink { background: var(--ink); }
.variation-stage img { max-height: 120px; width: auto; max-width: 100%; }
.variation-stage .word { font-family: var(--display); font-weight: 700; font-size: 1.7rem; margin: 0; }
.variation-meta { padding: 1.1rem 1.2rem 1.3rem; }
.variation-meta .file {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  margin: 0 0 0.4rem;
}
.swatch-card { background: var(--white); border: 2px solid var(--line); }
.swatch-block { height: 108px; }
.swatch-info { padding: 1rem 1.1rem 1.2rem; }
.swatch-hex { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 0 0 0.3rem; }
.swatch-info p { font-size: 0.92rem; }
.retire-note {
  margin: 1.25rem 0;
  padding: 1.25rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
}
.retire-note strong { color: var(--gold); }
.live-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 0.8rem; }
@media (min-width: 700px) {
  .live-row { grid-template-columns: repeat(4, 1fr); }
}
.live-swatch { min-height: 74px; padding: 0.55rem; color: var(--white); font-family: var(--display); font-size: 0.78rem; }
.room-samples { display: grid; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 800px) {
  .room-samples { grid-template-columns: repeat(4, 1fr); }
}
.room-sample { min-height: 120px; padding: 0.9rem; display: flex; align-items: flex-end; font-family: var(--display); font-size: 0.85rem; }
.room-sample.ink { background: var(--ink); color: var(--paper); }
.room-sample.slate { background: var(--slate); color: var(--paper); }
.room-sample.paper { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.room-sample.photo {
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 40%, rgba(0,0,0,.7)),
    url("../img/india-garland.jpg") center 30% / cover;
  color: var(--paper);
}
.type-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .type-row { grid-template-columns: 180px 1fr; gap: 1.25rem; align-items: baseline; }
}
.type-meta { font-size: 0.85rem; color: var(--muted); }
.type-meta strong { display: block; color: var(--ink); font-family: var(--display); }
.render-display { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0; }
.render-heading { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
.render-serif { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.render-label { font-family: var(--display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--purple-deep); margin: 0; }
.render-text { margin: 0; max-width: 42rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.tag.off { color: var(--muted); text-decoration: line-through; font-weight: 400; }
.tagline-block {
  margin-top: 1.25rem;
  background: var(--ink);
  color: var(--white);
  padding: 1.6rem 1.4rem;
  border-left: 8px solid var(--gold);
}
.tagline-block p { font-family: var(--serif); font-size: 1.35rem; color: var(--white); }
.tagline-block span {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.counter-line {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}
.x-mark {
  width: 10px;
  height: 10px;
  border: 2px solid var(--muted);
  flex: 0 0 auto;
  margin-top: 0.45rem;
}
.code {
  margin-top: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1.25rem 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-x: auto;
}
.asset-print { display: none; }
.dl-file { margin-top: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #proto-banner, #proto-perf-modal, .site-header, .site-footer, .skip-link, .nav-toggle { display: none !important; }
  body { padding-top: 0 !important; background: #fff; }
  .brand-doc .home-link,
  .brand-doc .download-bar,
  .brand-doc .pack-note,
  .brand-doc .dl-file { display: none !important; }
  .brand-doc .asset-print { display: block !important; color: var(--ink); font-size: 10pt; margin-top: 8pt; }
  .brand-doc .asset-print-cover { color: rgba(246, 243, 248, 0.8); }
  .brand-doc .cover {
    min-height: 0;
    height: 8.55in;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: avoid;
    page-break-after: avoid;
  }
  .brand-doc .cover-card {
    padding: 0.85in 0.7in;
  }
  .brand-doc .cover-card img.seal-hero {
    width: 1.35in;
    margin-bottom: 0.28in;
  }
  .brand-doc .cover-card h1 { font-size: 28pt; }
  .brand-doc .cover-tagline { font-size: 13pt; }
  .brand-doc .cover-kicker { font-size: 14pt; }
  .logo-panels,
  .spec-grid,
  .rules-grid,
  .voice-grid,
  .variation-grid,
  .btn-row,
  .btn-row.three {
    grid-template-columns: 1fr 1fr !important;
  }
  .btn-row.three { grid-template-columns: 1fr 1fr 1fr !important; }
  .color-grid { grid-template-columns: 1fr 1fr 1fr !important; }
  .room-samples,
  .live-row { grid-template-columns: repeat(4, 1fr) !important; }
  .type-row { grid-template-columns: 150px 1fr !important; align-items: baseline; }
  .logo-panel,
  .variation-stage { min-height: 0 !important; }
  .swatch-block { height: 64px; }
  .variation-stage img { max-height: 72px; }
  .brand-doc .section {
    padding: 0;
    break-before: page;
    page-break-before: always;
  }
  .brand-doc .section.compact {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .brand-doc .panel,
  .brand-doc .logo-panel,
  .brand-doc .tagline-block,
  .brand-doc .retire-note,
  .brand-doc .swatch-card,
  .brand-doc .variation-card,
  .brand-doc .type-row,
  .brand-doc .counter-line {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 1.15rem 1.25rem;
  }
  .brand-doc .logo-panel { padding: 1.4rem 1.45rem; }
  .brand-doc .tagline-block,
  .brand-doc .retire-note,
  .brand-doc .code { padding: 1.35rem 1.45rem; }
  .brand-doc .section-title { font-size: 22pt; }
  .brand-doc .container { width: 100%; }
  .brand-doc .code { font-size: 7.5pt; line-height: 1.35; padding: 0.45rem 0.55rem !important; margin-top: 6pt; }
  .brand-doc .swatch-block { height: 46px; }
  .brand-doc .swatch-info { padding: 0.4rem 0.5rem 0.5rem; }
  .brand-doc .swatch-hex { font-size: 12pt; }
  .room-sample { min-height: 68px; }
  .brand-doc .tagline-block { padding: 0.75rem 0.85rem !important; }
  .brand-doc .tagline-block p { font-size: 13pt; }
  .brand-doc .section.compact { break-inside: avoid; page-break-inside: avoid; }
  .brand-doc #voice .lede { margin-bottom: 6pt; }
  .brand-doc #voice .voice-grid { gap: 8pt; margin-top: 0; }
  .brand-doc #voice .tagline-block { margin-top: 8pt; }
  .brand-doc #voice .tagline-block p { font-size: 12pt; margin-bottom: 0.2rem; }
  .brand-doc #voice .counter-line { padding: 0.28rem 0; }
}
