:root {
  --paper: #eef2f6;
  --ink: #2a3038;
  --muted: #5d6a75;
  --gold: #9a7b4a;
  --soft: #f7f9fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: linear-gradient(160deg, #e7eef4, #f3f6f8 52%, #e8ece8);
  min-height: 100vh;
  position: relative;
}
body.theme-churchyard { background: #f3ecdf url("/static/img/themes/churchyard-front.jpg") center top / cover fixed; }
body.theme-ivory { background: #f8f3e9 url("/static/img/themes/ivory.jpg") center top / cover fixed; }
body.theme-navy { background: #1c2a3a url("/static/img/themes/navy.jpg") center top / cover fixed; }
body.theme-garden { background: #eef3e8 url("/static/img/themes/garden.jpg") center top / cover fixed; }
body.theme-celtic { background: #ece7dc url("/static/img/themes/celtic.jpg") center top / cover fixed; }
body.theme-linen { background: #f6f4ef url("/static/img/themes/linen.jpg") center top / cover fixed; }
body.theme-lily { background: #f7f1e6 url("/static/img/themes/lily.jpg") center top / cover fixed; }
body.theme-dove { background: #f4f1ea url("/static/img/themes/dove.jpg") center top / cover fixed; }
body.theme-candle { background: #1c140c url("/static/img/themes/candle.jpg") center top / cover fixed; }
body.theme-harbour { background: #e8eef2 url("/static/img/themes/harbour.jpg") center top / cover fixed; }
body.theme-woodland { background: #ece8df url("/static/img/themes/woodland.jpg") center top / cover fixed; }
body.theme-rose { background: #f7f1e8 url("/static/img/themes/rose.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-wreath { background: #f4f1e8 url("/static/img/themes/wreath.jpg") center top / cover fixed; }
body.theme-poppy { background: #f6eee6 url("/static/img/themes/poppy.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-forgetmenot { background: #f3f1ea url("/static/img/themes/forgetmenot.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-magnolia { background: #f7f3ea url("/static/img/themes/magnolia.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-yellowrose { background: #f7f3e4 url("/static/img/themes/yellowrose.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-hydrangea { background: #eef1f4 url("/static/img/themes/hydrangea.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-redrose { background: #f4ece8 url("/static/img/themes/redrose.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-mixed { background: #f4f0e6 url("/static/img/themes/mixed.jpg?v=floral-20260919") center top / cover fixed; }
body.theme-whitebloom { background: #f7f4ec url("/static/img/themes/whitebloom.jpg?v=floral-20260919") center top / cover fixed; }
body.studio-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(228, 236, 242, .84);
  pointer-events: none;
  z-index: 0;
}
body.studio-page.theme-navy::before { background: rgba(20, 28, 40, .55); }
body.studio-page.theme-navy { color: #f4efe4; }
.site-head, .site-foot, main { position: relative; z-index: 1; width: min(960px, calc(100% - 32px)); margin: 0 auto; }
body.studio-page .site-head,
body.studio-page .site-foot,
body.studio-page main { width: min(1180px, calc(100% - 32px)); min-width: 0; }
body.studio-page { overflow-x: clip; }
body.studio-page main { overflow: visible; }
.site-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0;
}
.mark { font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
.hold {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 4rem;
}
.hold h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .3rem 0 .6rem; }
.hold .lede { margin: 0 auto 1.2rem; }
nav a.quiet { font-size: .85rem; opacity: .55; }
.hero { padding: 2.5rem 0 1rem; }
h1 { font-weight: 500; letter-spacing: .02em; }
.lede { color: var(--muted); max-width: 38rem; line-height: 1.5; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }
.btn {
  display: inline-block; background: #25384f; color: #fffaf1; text-decoration: none;
  border: 0; border-radius: 999px; padding: .55rem 1.1rem; font: inherit; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.theme-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: 2rem 0; }
.theme-card, .theme-opt {
  border: 1px solid rgba(185,141,76,.45); border-radius: 16px; padding: 1rem; background: var(--soft);
}
.theme-card.theme-navy, .theme-opt.theme-navy { background: #25384f; color: #f8f3e9; }
.theme-card.theme-garden, .theme-opt.theme-garden { background: #eef3e8; }
.theme-card.theme-celtic, .theme-opt.theme-celtic { background: #ece7dc; }
.theme-card.theme-churchyard, .theme-opt.theme-churchyard { background: #f3ecdf url("/static/img/themes/churchyard-front.jpg") right 10px center / 34% auto no-repeat; }
.theme-opt.theme-churchyard { padding-right: 7.5rem; }
.form { display: grid; gap: 1.2rem; padding-bottom: 3rem; max-width: 36rem; }
.form.narrow { max-width: 22rem; }
.form .check { display:flex; gap:.5rem; align-items:flex-start; }
fieldset { border: 1px solid rgba(185,141,76,.35); border-radius: 16px; padding: 1rem 1.1rem 1.2rem; }
legend { padding: 0 .4rem; color: var(--gold); }
label { display: grid; gap: .3rem; margin: .55rem 0; font-size: .95rem; }
input, textarea, select { font: inherit; padding: .45rem .55rem; border: 1px solid #d9cbb8; border-radius: 8px; background: #fff; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hymn-list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .8rem; margin: .4rem 0 1rem; }
.check { display: flex; gap: .4rem; align-items: center; font-size: .92rem; }
.theme-pick { display: grid; gap: .5rem; }
.theme-opt { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; cursor: pointer; }
.theme-opt span { grid-column: 2; color: var(--muted); font-size: .88rem; }
.preview-frame { width: 100%; height: 820px; border: 1px solid #d9cbb8; border-radius: 12px; background: #fff; }
.staff-booklet-preview { margin: 1rem 0 1.4rem; }
.staff-booklet-preview .booklet { max-width: 720px; }
.orders { width: 100%; border-collapse: collapse; }
.orders td, .orders th { text-align: left; padding: .45rem 0; border-bottom: 1px solid #eadfcf; }
.flash { background: #fff; border-left: 3px solid var(--gold); padding: .5rem .8rem; }
.site-foot { padding: 2rem 0 3rem; color: var(--muted); font-size: .88rem; }
.help { color: var(--muted); margin: .2rem 0; }
.status-row { display: flex; gap: .5rem; margin-top: 1rem; }
.card-panel {
  background: #fffaf1; border: 1px solid #eadfcf; border-radius: 14px;
  padding: 1rem 1.1rem; margin: 1rem 0;
}
.api-modal {
  border: 1px solid #eadfcf; border-radius: 16px; padding: 1.2rem 1.3rem;
  max-width: 24rem; width: calc(100% - 2rem); background: #fffaf1;
}
.api-modal::backdrop { background: rgba(40, 24, 8, .4); }
@media (max-width: 700px) {
  .grid-2, .hymn-list { grid-template-columns: 1fr; }
  body.studio-page .site-head, body.studio-page .site-foot, body.studio-page main { width: calc(100% - 20px); }
  .site-head { flex-wrap:wrap; gap:.35rem; }
  .site-head nav a { margin-left:.5rem; }
}
.staff-preview-banner { padding:.7rem 1rem; background:#fff3cd; color:#493b17; border:1px solid #c6a866; border-radius:8px; line-height:1.5; }
.hp-field { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.cf-turnstile { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.site-head { position: relative; }
.site-head .price-strip {
  position: absolute;
  top: calc(100% + .15rem);
  right: 0;
  z-index: 8;
  width: 6.6rem;
  margin: 0;
  padding: .4rem .55rem .35rem;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(150,165,178,.28);
  border-radius: 8px;
  font-size: .75rem;
  line-height: 1.4;
  color: #5a6570;
}
.site-head .price-strip p { margin: 0; display: flex; justify-content: space-between; gap: .6rem; }
.site-head .price-strip .quiet { display: block; margin-top: .28rem; font-size: .65rem; color: #7a868f; text-align: right; }
body.studio-page main > .kicker,
body.studio-page main > h1,
body.studio-page main > .lede { padding-right: 7.4rem; }
@media (max-width:700px) {
  .site-head .price-strip { position: static; width: auto; margin: 0 0 .6rem; }
  body.studio-page main > .kicker,
  body.studio-page main > h1,
  body.studio-page main > .lede { padding-right: 0; }
}
.req { color: #8a1f1f; font-weight: 700; }
.site-foot .staff-links { margin-top:.8rem; font-size:.85rem; }
.site-foot .staff-links a { margin-right:1rem; color:inherit; }
.site-head { gap:1rem; flex-wrap:wrap; }
.site-head nav { display:flex; flex-wrap:wrap; gap:.6rem; }
.site-head nav a { margin:0; padding:.3rem; }
.hold-offer { margin:2rem auto 0; max-width:42rem; text-align:left; }
.hold-offer h2 { font-size:1.1rem; font-weight:500; }
.hold-thumbs { display:grid; grid-template-columns:repeat(auto-fit,minmax(72px,1fr)); gap:.45rem; margin:1rem 0 0; }
.hold-thumbs figure { margin:0; }
.hold-thumbs span { display:block; aspect-ratio:2/3; border-radius:8px; background-position:center; background-size:cover; background-repeat:no-repeat; border:1px solid rgba(185,141,76,.35); }
.hold-thumbs figcaption { font-size:.72rem; color:#7f7163; margin-top:.25rem; text-align:center; }
