:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --ink: #29242b;
  --muted: #635e60;
  --rule: #d7cfc4;
  --plum: #512f49;
  --accent: #b28c5c;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Instrument Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-text-size-adjust: 100% }
a { color: var(--plum); text-underline-offset: .24em; text-decoration-thickness: 1px }
a:hover { text-decoration: underline }
:focus-visible { outline: 3px solid #ac7840; outline-offset: 4px }
.wrap { width: min(1320px, 90%); margin-inline: auto }
.skip { position: absolute; top: -6em; z-index: 9; background: white; padding: .7em 1em }
.skip:focus { top: 0 }
header { border-bottom: 1px solid var(--rule) }
nav { min-height: 78px; display: flex; align-items: center; gap: clamp(18px, 3vw, 48px) }
nav a, .brand { text-decoration: none; color: inherit }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font: bold 28px/.96 var(--serif); letter-spacing: -.055em }
.brand img { width: 32px; height: 32px }
.menu, .actions, .links, .tags { display: flex; align-items: center; flex-wrap: wrap; gap: 20px }
.menu, .actions { font-size: .9rem }
.menu a { padding-block: 8px; border-bottom: 1px solid transparent }
.menu [aria-current=page] { border-color: var(--plum); color: var(--plum) }
.actions { margin-inline-start: auto; gap: 22px }
.primary, button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; background: var(--plum); color: #fff9f2; padding: 11px 20px; border-radius: 3px; text-decoration: none; font: 600 .93rem/1.5 var(--sans); cursor: pointer }
.primary:hover, button:hover { background: #392238; text-decoration: none }
.hero { isolation: isolate; position: relative; background: #281c26; color: #fff9ee; overflow: hidden }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none }
.hero::before { left: 31%; background: url("/ministry/assets/hymnal.webp") center 60% / cover no-repeat }
.hero::after { background: linear-gradient(90deg,#291c27 2%,#291c27 25%,rgba(41,28,39,.96) 33%,rgba(41,28,39,.73) 46%,rgba(41,28,39,.18) 64%,transparent 80%) }
.hero-inner { padding-block: clamp(42px,4.25vw,70px) clamp(48px,4.6vw,72px) }
.hero-copy { width: min(47%, 590px) }
.kicker,.eyebrow { font-size: .76rem; letter-spacing: .13em; font-weight: 600 }
.kicker { color: #ebd2ad; display: flex; align-items: center; gap: 12px; margin: 0 0 20px }
.kicker::before { content: ""; width: 34px; height: 1px; background: #cfab7e }
h1,h2,h3,p,figure { margin: 0 }
h1,h2,h3 { overflow-wrap: anywhere }
h1,h2,.work-title,.scene strong,.creator-name { font-family: var(--serif); font-weight: 500; line-height: 1.22; letter-spacing: -.035em }
.hero h1 { font-size: clamp(43px,4.55vw,76px); line-height: 1.13; letter-spacing: -.045em }
.hero h1 span { color: #e7c699 }
.hero p { margin: 18px 0 26px; color: #e5dce0; line-height: 1.75; max-width: 39em }
.finder { display: flex; gap: 10px; align-items: center; padding: 5px 5px 5px 14px; background: #fffdf9; border: 1px solid var(--rule); color: var(--ink); border-radius: 3px; max-width: 640px }
.hero .finder { border-color: transparent }
.glyph { width: 19px; height: 19px; flex: none; vertical-align: middle }
.finder input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 6px 0; width: 100% }
input,select,textarea { font: inherit; color: var(--ink); max-width: 100%; border: 1px solid #b9aea4; border-radius: 3px; padding: 10px 12px; background: #fffdf8 }
.finder button { min-height: 40px; padding: 8px 18px; flex: none }
.scene-band { border-bottom: 1px solid var(--rule); padding: 25px 0 }
.scenes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) }
.scene { display: flex; align-items: center; padding: 3px clamp(14px,2.6vw,44px); gap: 16px; color: inherit; text-decoration: none; border-left: 1px solid var(--rule) }
.scene:first-child { padding-left: 0; border-left: 0 }
.scene:last-child { padding-right: 0 }
.scene .glyph { width: 28px; height: 28px; color: #836742 }
.scene strong { display: block; font-size: clamp(17px,1.5vw,24px) }
.scene small,.meta,small { color: var(--muted); font-size: .83rem }
.scene .arrow { margin-left: auto; color: #847973 }
.section { margin-block: clamp(36px,4vw,66px) }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 21px; border-bottom: 1px solid var(--rule); padding-bottom: 14px }
h2 { font-size: clamp(29px,2.8vw,43px) }
.section-head a,.back,.caption,.tools-link { font-size: .86rem }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(15px,2vw,30px) }
.work { min-width: 0 }
.plate { position: relative; display: block; overflow: hidden; aspect-ratio: 1.5; background: #45444b; border-radius: 2px }
.plate::before { content: ""; position: absolute; inset: 0; background: var(--image,linear-gradient(130deg,#3b4841,#71664e)) center/cover; transition: transform .4s ease }
.plate::after { content: ""; pointer-events: none; position: absolute; inset: 7px; border: 1px solid rgba(255,245,221,.38) }
.plate.bread { --image: url("/ministry/assets/bread.webp") }
.plate.valley { --image: url("/ministry/assets/valley.webp") }
.plate.sheep { --image: url("/ministry/assets/sheep.webp") }
.plate.radio { --image: url("/ministry/assets/radio.webp") }
.plate.edition-song { --image: repeating-radial-gradient(ellipse at 90% 110%, #c2a67d 0 1px, #563846 2px 10px) }
.plate.edition-podcast { --image: repeating-radial-gradient(ellipse at 10% 105%, #91aaa9 0 1px, #334c52 2px 11px) }
.plate.edition-video { --image: repeating-linear-gradient(128deg,#465440 0 9px,#9f9d6e 10px,#465440 11px 16px) }
.plate.edition-text { --image: repeating-linear-gradient(80deg,#68523a 0 8px,#b79b72 9px,#68523a 10px 17px) }
.work:hover .plate::before { transform: scale(1.025) }
.work .meta { display: block; margin: 13px 0 5px; color: #735a48; letter-spacing: .04em }
.work-title { font-size: clamp(21px,1.85vw,29px); margin: 0 0 7px }
.work-title a,.creator-name a { color: var(--ink); text-decoration: none }
.work-title a:hover,.creator-name a:hover { text-decoration: underline }
.byline { color: var(--muted); font-size: .87rem; text-decoration: none; line-height: 1.5 }
.page { padding: clamp(25px,4vw,60px) 0; min-height: 55vh }
.page h1,.article>h1 { font-size: clamp(38px,4.25vw,66px); margin: 12px 0 18px }
.back,.eyebrow { display: inline-block; color: #72563f }
.lead { font-size: 1.06rem; line-height: 1.8; max-width: 62ch; margin-block: 12px 25px; color: #585154 }
.listing-form { margin-block: 23px 33px }
.filters { display: flex; align-items: end; gap: 18px; flex-wrap: wrap; padding-block: 17px; margin-top: 18px; border-block: 1px solid var(--rule) }
.filters label,.stack label { display: grid; gap: 5px; font-size: .9rem }
.empty { padding: 28px 0 }.empty p { margin-bottom: 10px }
.detail { display: grid; grid-template-columns: minmax(240px,.94fr) minmax(0,1fr); gap: clamp(30px,6vw,95px); align-items: center; padding-block: 25px 35px }
.detail .plate { aspect-ratio: 1.36 }
.detail .eyebrow { letter-spacing: .04em }
.detail h1 { margin: 10px 0 }
.detail .primary { margin-top: 3px }
.specs { display: grid; grid-template-columns: 1fr 2fr; gap: 26px; padding-top: 27px; border-top: 1px solid var(--rule) }
dl { margin: 0; display: grid; grid-template-columns: minmax(100px,1fr) 3fr }
dt,dd { padding: 11px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere }
dt { color: var(--muted); font-size: .88rem }dd { margin: 0 }
.links { margin-top: 24px; font-size: .9rem }
.creator-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px }
.creator-row { border-bottom: 1px solid var(--rule); padding: 17px 0; display: flex; align-items: center; gap: 16px }
.creator-row .plate { width: 76px; height: 66px; flex: none }
.creator-name { font-size: 1.35rem }
.article { width: min(740px,calc(100% - 36px)); margin-inline: auto; padding-block: clamp(35px,5vw,75px); min-height: 50vh; overflow-wrap: anywhere }
.article p { margin: 14px 0 }.article h2 { margin-bottom: 20px }
.stack { display: grid; gap: 17px; margin-top: 23px }.stack button { justify-self: start }
footer { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 25px; border-top: 1px solid var(--rule); padding-block: 22px 32px; color: var(--muted); font-size: .82rem }
footer a:last-child { margin-left: auto }
@media(max-width:900px) {
  .wrap { width: 92% }.gallery { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 27px }
  .hero-copy { width: 53% }.scene { gap: 10px }.scene .arrow { display: none }
  .hero::after { background: linear-gradient(90deg,#291c27 19%,rgba(41,28,39,.95) 36%,rgba(41,28,39,.65) 57%,transparent 86%) }
}
@media(max-width:640px) {
  .wrap { width: calc(100% - 36px) }
  nav { flex-wrap: wrap; gap: 0 12px; padding: 13px 0 0; min-height: 72px }
  .brand { font-size: 24px }.brand img { width: 27px; height: 27px }
  .menu { order: 3; width: 100%; gap: 23px }.actions { gap: 12px }.actions .primary { padding: 7px 10px; font-size: .8rem }
  .hero::before { left: 0; background-position: 59% 53% }
  .hero::after { background: linear-gradient(90deg,rgba(33,21,31,.92),rgba(33,21,31,.59) 72%,rgba(33,21,31,.36)),linear-gradient(0deg,rgba(33,21,31,.78),transparent 45%) }
  .hero-copy { width: 100% }.hero-inner { padding-block: 34px 28px }.hero h1 { font-size: clamp(38px,8.7vw,51px) }
  .hero p { margin-block: 14px 20px; font-size: .91rem }.kicker { margin-bottom: 15px }
  .scene-band { padding: 4px 0 }.scenes { grid-template-columns: 1fr }
  .scene,.scene:first-child,.scene:last-child { border: 0; border-bottom: 1px solid var(--rule); padding: 11px 0; gap: 13px }.scene:last-child { border: 0 }
  .scene .glyph { width: 23px; height: 23px }.scene .arrow { display: block }.scene small { font-size: .75rem }
  .gallery { gap: 22px 13px }.work-title { font-size: 20px }.work .meta { margin-top: 8px;font-size: .76rem }.byline { font-size: .78rem }
  .detail,.specs,.creator-list { grid-template-columns: 1fr }.detail,.specs { gap: 16px }
  .detail .plate { aspect-ratio: 1.65 }.filters { gap: 10px }.filters label { min-width: 0; flex: 1 1 115px }.filters select { width: 100% }
  dl { grid-template-columns: 90px 1fr; column-gap: 8px }.section { margin-block: 28px }
}
@media(prefers-reduced-motion:reduce){.plate::before{transition:none}}

.topic-links{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin:1.1rem 0}.topic-links a{padding:.37rem .75rem;border:1px solid currentColor;border-radius:.3rem;text-decoration:none}.topic-links a:hover,.topic-links a:focus-visible{text-decoration:underline}.topic-links small{margin-inline-start:.35em}

.creator-intro { padding-block:clamp(36px,7vw,82px) 12px }
.creator-intro h1 { font-size:clamp(2.1rem,5.6vw,4.4rem); margin:.2em 0; line-height:1.12 }
.creator-intro p { max-width:68ch }
.profile-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:16px }
.profile-card { background:#fffdf9; border:1px solid var(--rule); padding:20px; overflow-wrap:anywhere }
.profile-card h3 { margin:.4em 0; font-size:1.35rem }
.profile-card h3 a { color:var(--ink) }
.profile-card p { margin:.5em 0 }
.profile-topics { color:var(--muted); font-size:.88rem }
.account-links { display:flex; flex-wrap:wrap; gap:6px; margin:.85em 0 }
.account-links a,.contact { display:inline-block; padding:5px 9px; font-size:.87rem; border:1px solid var(--rule); border-radius:3px }
.contact { background:#f2efe7 }

.profile-card button { padding:5px 10px; font-size:.87rem }
[hidden] {display:none!important}
