/* Bible Brand, v3 "Chapter & Street"
   Layout concept: a Bible laid out like a city's wayfinding system. Clean white
   ground, heavy grotesque type, black sign bands that name each passage, round
   book markers (a Bible's thumb-index tabs, a transit line's bullets), a red
   ribbon bookmark that follows the reader, and red ink for the words of Christ
   and nothing else. Product only, no people. */
:root {
  --ground: #f6f6f4;
  --tile: #e9e9e6;
  --ink: #0c0c0d;
  --grey: #6b6c6f;
  --rule: rgba(12, 12, 13, .16);
  --red: #d8130c;
  --on-ink: #f6f6f4;
  --on-ink-grey: #9a9b9e;
  --on-ink-rule: rgba(246, 246, 244, .22);
  --red-on-ink: #ff4b3e;
  --marker: #ffe24a;   /* highlighter */
  /* one highlighter / index-tab colour per book, the way a marked-up Bible is colour-coded */
  --hl-yellow: #ffe24a; --hl-pink: #ff9ccd; --hl-blue: #8fd0ff; --hl-green: #a4ec6f; --hl-orange: #ffb25c; --hl-purple: #c8adff; --hl-mint: #9bebd0;
  --hand: 'Reenie Beanie', 'Bradley Hand', 'Segoe Print', cursive;
  --gilt: #c8a24c;     /* gilded page edge */
  --gilt-light: #ecd592;

  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1480px;
  --head-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.soft { color: var(--grey); }
.red { color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sc { font-variant-caps: small-caps; letter-spacing: .02em; }
/* Highlighter: the way a reader marks the line that stopped them */
.hl {
  color: inherit; background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 62% / 100% 74%;
  padding: 0 .12em; margin: 0 -.12em; border-radius: .08em .22em .1em .2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.3, .7, .2, 1) .15s;
}
.hl.wait { background-size: 0% 74%; }
.contact .hl, .foot .hl { color: var(--ink); }
.display { font-weight: 800; letter-spacing: -.045em; line-height: .92; text-wrap: balance; }

/* Book marker */
.bullet { display: inline-grid; place-items: center; flex: none; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--tone, var(--ink)); color: var(--ink); font-size: .8rem; }
.bullet i { font-style: normal; font-weight: 800; letter-spacing: -.03em; line-height: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 1.6em; border: 2px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.wide { width: 100%; }
.btn:disabled { background: transparent; color: var(--grey); border-color: var(--rule); cursor: not-allowed; }
.link { font-weight: 600; text-underline-offset: .3em; text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-thickness: 3px; }

/* Running head */
.head { position: sticky; top: 0; z-index: 40; background: var(--ground); border-bottom: 2px solid var(--ink); }
.head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); gap: 16px; }
.head nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.head nav a, .bag-btn { font-weight: 700; font-size: .98rem; letter-spacing: -.01em; text-decoration: none; }
.head nav a:hover, .bag-btn:hover, .head nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.logo { display: block; }
.logo img { height: 40px; width: auto; filter: brightness(0); } /* the supplied white mark, shown black */
.head .right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.guide { color: var(--grey); white-space: nowrap; }
.bag-btn { background: none; border: 0; padding: 10px 0; display: inline-flex; align-items: center; }
.bag-btn b { font-family: var(--mono); font-size: .78rem; font-weight: 500; display: inline-grid; place-items: center; min-width: 2em; height: 2em; margin-left: .5em; border-radius: 50%; border: 1.5px solid var(--ink); }
.bag-btn.has b { background: var(--ink); color: var(--ground); }

/* Ribbon bookmark */
.ribbon { position: fixed; z-index: 39; top: 0; left: max(5px, calc(var(--gutter) * .3)); width: 10px; height: 100vh; pointer-events: none; transform-origin: top; transform: scaleY(var(--read, .12)); background: var(--red); }
.ribbon::after { content: ""; position: absolute; left: 0; top: 100%; width: 10px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 45%, 0 100%); transform: scaleY(calc(1 / var(--read, .12))); transform-origin: top; }

/* Product tile */
.tile { display: block; background: var(--tile); aspect-ratio: 1; overflow: hidden; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.3s var(--ease), opacity .7s ease; }
.tile img.pre, .feature-art img.pre { opacity: 0; }
/* sections ease up into place as they arrive */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.3s var(--ease); }
.rv.in { opacity: 1; transform: none; }
a.tile:hover img, a:hover > .tile img { transform: scale(1.04); }
.price { font-family: var(--mono); font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Hero */
.hero .wrap { padding-block: clamp(22px, 2.6vw, 36px) clamp(40px, 5vw, 80px); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; }
.hero h1 { font-size: clamp(3.3rem, 8.4vw, 9rem); margin-top: clamp(24px, 3.4vw, 56px); max-width: 20ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3.4vw, 52px); }
/* one large lead image that turns slowly through the pieces */
.feature { margin-top: clamp(40px, 4.6vw, 72px); }
.feature-link { display: block; }
.feature-art { display: block; position: relative; background: var(--tile); aspect-ratio: 21 / 9; overflow: hidden; }
.feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding-block: 2.5%; mix-blend-mode: multiply; opacity: 0; transform: scale(1); transition: opacity 1.4s ease, transform 8s linear; }
.feature-art img.on { opacity: 1; transform: scale(1.05); }
.feature-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 16px; }
.feature-cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.feature-cap b { font-weight: 800; font-size: 1.25rem; letter-spacing: -.025em; }
.feature-index { display: flex; gap: 8px; }
.feature-index button { padding: 0; border: 0; background: none; border-radius: 50%; }
.feature-index .bullet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .4s, color .4s; }
.feature-index button[aria-pressed="true"] .bullet, .feature-index button:hover .bullet { background: var(--ink); color: var(--ground); }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 1.2s var(--ease) both; }
  .hero-cta { animation: rise 1.2s var(--ease) both .12s; }
  .feature { animation: rise 1.4s var(--ease) backwards .22s; }
  @keyframes rise { from { transform: translateY(34px); opacity: 0; } }
}

/* Mission */
.preface { border-top: 2px solid var(--ink); }
.preface .wrap { display: grid; gap: clamp(32px, 4.6vw, 72px); padding-block: clamp(56px, 7vw, 120px); }
.preface h2 { font-size: clamp(2.6rem, 6.6vw, 6.6rem); max-width: 16ch; }
.preface p { font-size: clamp(1.1rem, 1.45vw, 1.34rem); line-height: 1.45; font-weight: 500; max-width: 1080px; columns: 2 320px; column-gap: clamp(32px, 4vw, 64px); column-rule: 1px solid var(--rule); }
.preface p::first-letter { float: left; font-weight: 800; font-size: 4.55em; line-height: .76; letter-spacing: -.04em; padding: .07em .1em 0 0; }

/* Sign band + chapter */
.sign { background: var(--ink); color: var(--on-ink); }
.sign .wrap { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding-block: clamp(18px, 2.2vw, 30px); }
.sign .bullet { background: var(--tone, var(--on-ink)); color: var(--ink); font-size: clamp(1rem, 1.9vw, 1.7rem); }
.sign h3 { font-size: clamp(2.2rem, 6.2vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; flex: 1; min-width: 0; }
.sign-go { font-weight: 700; text-decoration: none; white-space: nowrap; }
.sign-go:hover { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.chapter-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 120px); padding-block: clamp(40px, 5vw, 80px) clamp(64px, 7.5vw, 120px); align-items: start; }
.chapter:nth-child(even) .chapter-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.chapter:nth-child(even) .chapter-body > .tile { order: 2; }
.chapter-text { position: sticky; top: calc(var(--head-h) + 28px); }
.scripture { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: pretty; }
.scripture sup { font-family: var(--mono); font-size: .34em; font-weight: 500; letter-spacing: 0; margin-right: .5em; vertical-align: 1.5em; line-height: 0; color: var(--ink); }
.scripture .red { color: var(--red); }
.scripture sup.mid { margin-left: .15em; }
.piece { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(26px, 3.4vw, 48px); padding-top: 14px; border-top: 2px solid var(--ink); }
.piece h4 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.meaning { color: var(--grey); margin-top: 12px; max-width: 60ch; }
.chapter .btn { margin-top: 26px; }

/* Gilt fore-edge: the gold page edge the thumb tabs are cut into */
@media (min-width: 1180px) {
  body::after { content: ""; position: fixed; z-index: 29; right: 0; top: var(--head-h); bottom: 0; width: 7px; pointer-events: none;
    background: repeating-linear-gradient(180deg, var(--gilt) 0 2px, var(--gilt-light) 2px 3px); box-shadow: inset 1px 0 0 rgba(12, 12, 13, .25); }
}

/* Thumb index: coloured stick-on tabs down the page edge */
.thumbs { position: fixed; right: 7px; top: 50%; transform: translateY(-50%); z-index: 30; display: none; flex-direction: column; align-items: flex-end; gap: 6px; }
.thumbs a { display: block; text-decoration: none; }
.thumbs .bullet { width: 46px; height: 30px; border-radius: 7px 0 0 7px; font-size: .78rem; transition: width .35s var(--ease); box-shadow: inset 0 0 0 1.5px var(--ink); }
.thumbs a:hover .bullet, .thumbs a.on .bullet { width: 68px; }
@media (min-width: 1180px) { .thumbs.show { display: flex; } }

/* Collection grid */
.collection { border-top: 2px solid var(--ink); }
.collection .wrap { padding-block: clamp(56px, 7vw, 120px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(32px, 4.4vw, 72px); }
.sec-head h1, .sec-head h2 { font-size: clamp(2.6rem, 6.6vw, 6.6rem); }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(40px, 4.6vw, 80px) clamp(10px, 1.6vw, 24px); }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.grid.five .card:nth-child(-n+2) { grid-column: span 3; }
.grid.seven .card:nth-child(-n+2), .grid.seven .card:nth-last-child(-n+2) { grid-column: span 3; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.four .card { grid-column: span 1; }
.card .tile .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .tile.two .alt { opacity: 1; }
.card:hover .tile.two .a { opacity: 0; }
.card-info { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.card-info h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.card-info h3 .bullet { font-size: .66rem; }
.card-info .mono { grid-column: 1 / -1; }

/* Commission: the words of Christ, so they print red */
.commission { border-top: 2px solid var(--ink); }
.commission .wrap { padding-block: clamp(72px, 10vw, 170px); display: grid; gap: clamp(22px, 3vw, 40px); justify-items: start; }
.commission blockquote { color: var(--red); font-size: clamp(2.8rem, 9.4vw, 10rem); max-width: 14ch; }

/* Contact + footer, on ink */
.contact, .foot { background: var(--ink); color: var(--on-ink); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); padding-block: clamp(64px, 9vw, 140px); }
.contact h2 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-grey); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--on-ink); border-radius: 0; padding: 10px 0; font-size: 1.1rem; color: var(--on-ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--red-on-ink); }
.contact .btn, .foot .btn { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); justify-self: start; }
.contact .btn:hover { background: transparent; color: var(--on-ink); }
.form-note { grid-column: 1 / -1; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; padding: 12px 14px; border: 1px solid var(--on-ink-rule); }
.foot { border-top: 1px solid var(--on-ink-rule); }
.foot .wrap { padding-block: clamp(48px, 6vw, 88px) 28px; display: grid; gap: clamp(36px, 5vw, 64px); }
.foot-logo { height: 64px; width: auto; }
.foot-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.psalm { font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; max-width: 24ch; }
.psalm cite { display: block; margin-top: 16px; font-style: normal; font-weight: 400; color: var(--on-ink-grey); }
.loop h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em; }
.loop p { color: var(--on-ink-grey); margin-top: 6px; }
.loop form { display: flex; margin-top: 18px; border-bottom: 2px solid var(--on-ink); }
.loop input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: 1.05rem; color: var(--on-ink); }
.loop input:focus-visible { outline: none; }
.loop form:focus-within { border-bottom-color: var(--red-on-ink); }
.loop button { background: none; border: 0; padding: 0 0 0 16px; color: var(--on-ink); }
.loop .form-note { margin-top: 14px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-top: 22px; border-top: 1px solid var(--on-ink-rule); color: var(--on-ink-grey); }
.foot-base nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--on-ink); }
.contact :focus-visible, .foot :focus-visible { outline-color: var(--red-on-ink); }

/* Shop page */
.shop-top .wrap { padding-block: clamp(36px, 5vw, 72px) 0; }
.shop-top .sec-head { margin-bottom: 0; }
.shop-top .mono { color: var(--grey); }
.shop-top + .collection { border-top: 0; }
.shop-top + .collection .wrap { padding-top: clamp(24px, 3vw, 44px); }

/* Product page */
.pdp .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4.4vw, 80px); padding-block: clamp(20px, 3vw, 44px) clamp(56px, 8vw, 120px); align-items: start; }
.crumbs { grid-column: 1 / -1; display: flex; gap: .7em; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.gallery { display: grid; gap: 10px; }
.gallery .tile.main.photo img { object-fit: cover; mix-blend-mode: normal; }
@media (hover: hover) {
  .gallery .tile.main { cursor: zoom-in; }
  .gallery .tile.main img { transition: transform .6s var(--ease), opacity .7s ease; }
  .gallery .tile.main:hover img { transform: scale(1.9); }
}
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.strip button { padding: 0; border: 0; background: var(--tile); aspect-ratio: 1; overflow: hidden; position: relative; }
.strip button img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.strip button.photo img { mix-blend-mode: normal; }
.strip button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2.5px var(--ink); }
.buy { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 26px; }
.buy-ref { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.buy h1 { font-size: clamp(3rem, 6vw, 5.6rem); margin-top: 12px; }
.buy .kind { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.buy .kind .price { font-size: 1.25rem; }
.buy .scripture { font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.2; }
.opt { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { padding: 0; display: flex; gap: .8em; margin-bottom: 10px; }
.opt legend b { font-weight: 500; color: var(--grey); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 9px; }
.swatches label, .sizes label { position: relative; cursor: pointer; }
.swatches input, .sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatches span:not(.sr) { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .25); }
.swatches input:checked + span { box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .25), 0 0 0 3px var(--ground), 0 0 0 5px var(--ink); }
.swatches input:focus-visible + span, .sizes input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 6px; }
.sizes span { display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 12px; border: 2px solid var(--ink); font-weight: 700; font-size: .95rem; }
.sizes input:checked + span { background: var(--ink); color: var(--ground); }
.sizes input:disabled { cursor: not-allowed; }
.sizes input:disabled + span { border-color: var(--rule); color: var(--grey); text-decoration: line-through; }
.buy-msg { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; min-height: 1.2em; margin-top: 8px; color: var(--red); }
.info { display: grid; gap: 26px; padding-top: 26px; border-top: 2px solid var(--ink); }
.info-lead { font-size: 1.04rem; line-height: 1.6; color: var(--grey); }
.info-note { color: var(--grey); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0 28px; margin: 0; }
.spec dt, .spec dd { padding: 12px 0; border-top: 1px solid var(--rule); }
.spec dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 16px; }
.spec dd { font-weight: 500; }
.acc { border-top: 1px solid var(--rule); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--mono); font-size: 1.1rem; font-weight: 400; }
.acc details[open] summary::after { content: "−"; }
.acc .body { padding: 0 0 22px; color: var(--grey); }
.acc dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; }
.acc dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .3em; color: var(--ink); }
.chart-scroll { overflow-x: auto; }
.chart { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.chart th, .chart td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.chart th:first-child, .chart td:first-child { text-align: left; padding-left: 0; }
.chart thead th { font-weight: 500; border-bottom: 2px solid var(--ink); }
.unit { display: inline-flex; margin-bottom: 12px; border: 2px solid var(--ink); }
.unit button { border: 0; background: transparent; padding: 6px 14px; font-weight: 700; font-size: .82rem; }
.unit button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }

/* Bag drawer */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(12, 12, 13, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.bag { position: fixed; z-index: 51; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: var(--ground); border-left: 2px solid var(--ink); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
body.bag-open .scrim { opacity: 1; pointer-events: auto; }
body.bag-open .bag { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 0 22px; height: var(--head-h); border-bottom: 2px solid var(--ink); }
.bag-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; }
.bag-head button, .line button.rm { background: none; border: 0; padding: 10px 0; }
.bag-list { overflow-y: auto; padding: 0 22px; }
.bag-empty { padding: 36px 0; font-size: 1.1rem; font-weight: 500; display: grid; gap: 18px; justify-items: start; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.line h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 4px; }
.line h3 a { text-decoration: none; }
.line-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font-family: var(--mono); }
.qty output { min-width: 28px; text-align: center; font-family: var(--mono); font-size: .85rem; font-variant-numeric: tabular-nums; }
.bag-foot { padding: 18px 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--ink); display: grid; gap: 14px; }
.bag-foot .sum { display: flex; justify-content: space-between; align-items: baseline; }
.bag-foot .sum .price { font-size: 1.2rem; }
.bag-foot p { font-size: .92rem; color: var(--grey); }

/* Narrow */
@media (max-width: 900px) {
  :root { --head-h: 58px; }
  body { font-size: 16px; }
  .logo img { height: 32px; }
  .head .wrap { grid-template-columns: auto 1fr auto; }
  .head .logo { order: 1; }
  .head nav { order: 2; justify-content: flex-end; }
  .head .right { order: 3; }
  .head nav .wide-only, .guide { display: none; }
  .ribbon { width: 6px; left: 4px; }
  .ribbon::after { width: 6px; height: 6px; }
  .hero h1 { font-size: clamp(3.1rem, 15.5vw, 7rem); max-width: 12ch; }
  .feature-art { aspect-ratio: 1; }
  .feature-art img { padding: 4%; }
  .preface .wrap, .chapter-body, .chapter:nth-child(even) .chapter-body, .contact .wrap, .foot-top, .pdp .wrap { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-child(even) .chapter-body > .tile { order: 0; }
  .chapter-text, .buy { position: static; }
  .sign .wrap { flex-wrap: wrap; }
  .sign-go { flex-basis: 100%; }
  .grid .card, .grid.five .card:nth-child(-n+2) { grid-column: span 3; }
  .grid.five .card:first-child, .grid.seven .card:first-child { grid-column: 1 / -1; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ================= Marked-up Bible layer: tabs, notes, tickers, fuller hero ================= */
.hand { font-family: var(--hand); font-weight: 700; line-height: 1.02; }
.tab { display: inline-block; background: var(--tone, var(--marker)); color: var(--ink); font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: .62em .8em .58em; border-radius: 0 0 7px 7px; white-space: nowrap; text-decoration: none; }
.tile > .tab { position: absolute; top: 0; left: clamp(12px, 1.6vw, 22px); z-index: 1; }
a.tab { border-radius: 7px; transition: transform .3s var(--ease); }
a.tab:hover { transform: translateY(-2px); }
/* a sticky note pressed onto the corner of the picture */
.sticky { position: absolute; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 1; width: clamp(128px, 15vw, 196px); aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: .7em; background: var(--tone, var(--marker)); color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.85rem); rotate: 3.5deg; transition: rotate .5s var(--ease), scale .5s var(--ease); }
.chapter:nth-child(even) .sticky { rotate: -3deg; right: auto; left: clamp(12px, 2vw, 28px); }
a.tile:hover .sticky { rotate: 0deg; scale: 1.04; }
.xref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--rule); }
.xref .mono { color: var(--grey); margin-right: 6px; }

/* hero bento */
.feature { margin-top: clamp(28px, 3.4vw, 52px); }
.bento { --tone: var(--hl-yellow); position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto; gap: clamp(10px, 1.2vw, 18px); }
.b-lead { grid-row: 1 / 3; position: relative; display: block; background: var(--tile); overflow: hidden; min-height: 100%; }
.bento .feature-art { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; }
.b-lead::before { content: ""; display: block; aspect-ratio: 5 / 4; }
.b-lead .tab { position: absolute; top: 0; left: clamp(12px, 1.6vw, 22px); font-size: .8rem; transition: background .6s; }
.b-verse { background: var(--tone); color: var(--ink); padding: clamp(18px, 2.2vw, 32px); display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 16px); transition: background .6s; }
.b-ref { font-weight: 800; font-size: clamp(1.5rem, 2.5vw, 2.4rem); letter-spacing: -.04em; line-height: 1; }
.b-scripture { font-weight: 600; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.32; letter-spacing: -.01em; }
.b-verse .hand { font-size: clamp(1.5rem, 2.3vw, 2.1rem); rotate: -2deg; transform-origin: left; margin-top: 2px; }
.b-buy { margin-top: auto; padding-top: 14px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.b-buy span { display: grid; line-height: 1.25; }
.b-buy b { font-weight: 800; letter-spacing: -.02em; }
.b-buy .btn { min-height: 46px; }
.b-buy .btn:hover { background: var(--ground); }
.b-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, .7vw, 10px); }
.b-picks button { position: relative; padding: 0; border: 0; background: var(--tile); aspect-ratio: 1; overflow: hidden; }
.b-picks img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.b-picks button:hover img { transform: scale(1.08); }
.b-picks .tab { position: absolute; left: 0; bottom: 0; top: auto; border-radius: 0 7px 0 0; font-size: .6rem; }
.b-picks button[aria-pressed="true"] { background: var(--tone); }
.badge { position: absolute; z-index: 2; width: clamp(88px, 9vw, 132px); right: calc(41.67% + clamp(16px, 2vw, 30px)); top: clamp(14px, 1.6vw, 24px); pointer-events: none; }
.badge circle { fill: var(--ink); }
.badge text { fill: var(--ground); font-family: var(--sans); font-weight: 800; }
.badge .ring { font-size: 17px; letter-spacing: 2px; text-transform: uppercase; }
.badge .star { font-size: 54px; fill: var(--tone); transition: fill .6s; }
@media (prefers-reduced-motion: no-preference) { .badge { animation: spin 22s linear infinite; } @keyframes spin { to { rotate: 360deg; } } }

/* tickers */
.ticker { display: flex; overflow: hidden; background: var(--ink); color: var(--on-ink); border-block: 2px solid var(--ink); white-space: nowrap; }
.ticker.light { background: var(--ground); color: var(--ink); }
.ticker.red { background: transparent; color: var(--red); border: 0; border-bottom: 2px solid var(--ink); }
.ticker-run { flex: none; display: flex; padding-block: .5em; font-weight: 800; font-size: clamp(1.15rem, 2.1vw, 2rem); letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.ticker-run span { padding-inline: .7em; display: inline-flex; align-items: center; gap: 1.4em; }
.ticker-run span::after { content: "✦"; color: var(--hl-yellow); font-size: .7em; }
.ticker-run span:nth-child(2n)::after { color: var(--hl-pink); }
.ticker-run span:nth-child(3n)::after { color: var(--hl-blue); }
.ticker.light .ticker-run span::after, .ticker.red .ticker-run span::after { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-run { animation: ticker 36s linear infinite; }
  .ticker.light .ticker-run { animation-direction: reverse; animation-duration: 48s; }
  @keyframes ticker { to { transform: translateX(-100%); } }
}
.commission { border-top: 0; }

/* cards */
.card .tile > .tab { left: auto; right: clamp(10px, 1.2vw, 18px); }
.card-info h3 .bullet { display: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .b-lead { grid-row: auto; }
  .b-lead::before { aspect-ratio: 1; }
  .badge { right: 12px; top: 12px; width: 84px; }
  .sticky { width: 118px; }
  .chapter:nth-child(even) .sticky { left: auto; right: 12px; }
}

/* ================= Bible-page ground: a faint spread of scripture behind the light sections ================= */
.pages { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; }
.pages-in {
  height: 100%; padding: calc(var(--head-h) + 26px) var(--gutter) 0; max-width: var(--max); margin-inline: auto;
  columns: 4; column-gap: 44px; column-rule: 1px solid rgba(12, 12, 13, .07); column-fill: auto;
  font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-size: 13.5px; line-height: 1.42;
  text-align: justify; hyphens: auto; color: rgba(12, 12, 13, .075);
}
.pages p { margin: 0 0 .7em; }
.pages b { font-size: .72em; font-weight: 700; vertical-align: .35em; }
.pages .pg-head { font-size: .78em; letter-spacing: .22em; text-transform: uppercase; text-align: center; padding-bottom: .5em; margin-bottom: .8em; border-bottom: 1px solid rgba(12, 12, 13, .09); break-after: avoid; }
.pages .pg-ch { float: left; font-size: 3.5em; line-height: .8; font-weight: 700; padding: .04em .1em 0 0; }
.pages .pg-red { color: rgba(216, 19, 12, .11); }
.pages .sc { font-variant-caps: small-caps; }
@media (max-width: 1100px) { .pages-in { columns: 3; } }
@media (max-width: 700px) { .pages-in { columns: 2; column-gap: 22px; font-size: 11.5px; } }

/* ================= Garments sit straight on the Bible page: no grey tile behind them =================
   The photos have white backgrounds; multiply blending drops the white out against whatever is behind.
   Nothing that wraps a photo may fade or move as a group, or the white would show while it does. */
.tile, .b-lead, .b-picks button, .strip button { background: transparent; }
.b-picks button, .strip button { box-shadow: inset 0 0 0 1px var(--rule); }
.b-picks button[aria-pressed="true"] { background: var(--tone); box-shadow: none; }
.strip button[aria-pressed="true"] { box-shadow: none; }
.bag .tile { background: var(--tile); }

/* ================= Streetwear accents: blackletter (the logo's own voice) and garment spec chips ================= */
:root { --gothic: 'Pirata One', 'UnifrakturCook', 'Old English Text MT', var(--sans); }
.sign h3, .b-ref, .buy-ref span { font-family: var(--gothic); font-weight: 800; letter-spacing: 0; }
.sign h3 { font-size: clamp(2.6rem, 7.2vw, 7rem); line-height: .9; }
.b-ref { font-size: clamp(1.9rem, 3.1vw, 3rem); }
.buy-ref span { font-size: 1.5rem; line-height: 1; }
.display .hl { font-family: var(--gothic); font-weight: 800; letter-spacing: -.005em; font-size: 1.1em; line-height: .8; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: .62em .85em .58em; border: 1.5px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.chips li:first-child { background: var(--ink); color: var(--ground); }
.buy .chips { margin-top: -8px; }

/* ================= Highlights that look drawn by hand =================
   A real highlighter is see-through, has slanted chisel ends, does not cover the whole
   line, and leaves a darker band where a second pass overlaps the first. */
.hl {
  --m: color-mix(in srgb, var(--marker) 80%, transparent);
  --m2: color-mix(in srgb, var(--marker) 50%, transparent);
  background-color: transparent;
  background-image:
    linear-gradient(101deg, transparent .08em, var(--m) .36em, var(--m) calc(100% - .42em), transparent calc(100% - .1em)),
    linear-gradient(95deg, transparent .3em, var(--m2) .7em, var(--m2) calc(100% - .16em), transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 66%, 100% 30%;
  background-position: 0 46%, 0 90%;
  padding: 0 .3em; margin: 0 -.3em;
  border-radius: .9em .28em .75em .32em / .32em .8em .28em .9em;
  mix-blend-mode: multiply;
  transition: background-size 1.05s cubic-bezier(.3, .7, .2, 1) .15s;
}
.hl.wait { background-size: 0% 66%, 0% 30%; }
/* on the black sections there is nothing to show through, so the stroke stays solid */
.contact .hl, .foot .hl { mix-blend-mode: normal; --m: var(--marker); --m2: transparent; }
.contact .hl:not(.wait), .foot .hl:not(.wait) { background-size: 100% 58%, 100% 0; background-position: 0 74%, 0 90%; }

/* ================= Product pages carry the same marked-up Bible layer ================= */
.sign .sign-ref { flex: 1; min-width: 0; font-family: var(--gothic); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: .9; }
.gallery .tile.main .sticky { transition: opacity .3s, rotate .5s var(--ease); }
@media (hover: hover) { .gallery .tile.main:hover .sticky, .gallery .tile.main:hover .tab { opacity: 0; } }
.gallery .tile.main .tab { transition: opacity .3s; }
.info-hand { display: inline-block; font-size: 1.9rem; rotate: -2deg; margin-bottom: 6px; padding: 0 .3em; margin-left: -.3em;
  background: linear-gradient(101deg, transparent .1em, color-mix(in srgb, var(--tone) 80%, transparent) .4em, color-mix(in srgb, var(--tone) 80%, transparent) calc(100% - .4em), transparent calc(100% - .1em)) no-repeat 0 62% / 100% 58%; }
.info .xref { margin-top: 0; }
#pdp-ticker .ticker { border-bottom: 0; }
#pdp-ticker + .collection { border-top: 2px solid var(--ink); }
.pdp .wrap { padding-top: clamp(28px, 3.6vw, 56px); }

/* ================= Shop page: a Bible's contents page, then the pieces ================= */
h1.sign-ref { margin: 0; }
.contents-sec .wrap { padding-block: clamp(32px, 4.4vw, 64px) clamp(40px, 5vw, 72px); }
.contents-title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); rotate: -2deg; transform-origin: left; display: inline-block; margin-bottom: 10px; padding: 0 .3em; margin-left: -.3em;
  background: linear-gradient(101deg, transparent .1em, color-mix(in srgb, var(--hl-yellow) 80%, transparent) .4em, color-mix(in srgb, var(--hl-yellow) 80%, transparent) calc(100% - .4em), transparent calc(100% - .1em)) no-repeat 0 64% / 100% 56%; }
.contents { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.contents a { display: grid; grid-template-columns: 78px minmax(0, auto) minmax(0, auto) 1fr auto; align-items: baseline; gap: 0 clamp(12px, 1.6vw, 24px); padding: clamp(10px, 1.2vw, 16px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contents .tab { border-radius: 7px; justify-self: start; align-self: center; }
.c-ref { font-family: var(--gothic); font-weight: 800; font-size: clamp(1.5rem, 2.9vw, 2.7rem); line-height: 1; transition: translate .35s var(--ease); }
.c-name { font-weight: 600; color: var(--grey); white-space: nowrap; }
.c-dots { align-self: end; border-bottom: 2px dotted var(--ink); opacity: .45; translate: 0 -.35em; min-width: 24px; }
.contents .price { font-size: 1.05rem; }
.contents a:hover .c-ref { translate: 10px 0; }
.contents a:hover .c-name { color: var(--ink); }
.shop-grid { border-top: 0; }
.card-note { grid-column: 1 / -1; justify-self: start; font-size: 1.45rem; rotate: -1.5deg; transform-origin: left; margin-top: 4px; padding: 0 .3em; margin-left: -.3em;
  background: linear-gradient(101deg, transparent .1em, color-mix(in srgb, var(--tone) 75%, transparent) .4em, color-mix(in srgb, var(--tone) 75%, transparent) calc(100% - .4em), transparent calc(100% - .1em)) no-repeat 0 66% / 100% 52%; }
@media (max-width: 700px) {
  .contents a { grid-template-columns: 68px 1fr auto; }
  .c-name { grid-column: 2; grid-row: 2; font-size: .92rem; }
  .c-dots { display: none; }
  .contents .price { grid-column: 3; grid-row: 1; }
  .card-note { font-size: 1.2rem; }
}

/* ================= Bible-page ground, held still (parallax): the spread is fixed behind the
   site; the content scrolls over it, and each screen scrolled it fades to the next spread ================= */
.pages { position: fixed; inset: 0; height: auto; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; }
.pages-in { position: absolute; inset: 0; height: auto; overflow: hidden; opacity: 0; transition: opacity 1s ease; border-top: 0; padding-top: calc(var(--head-h) + 26px); }
.pages-in.on { opacity: 1; }

/* ================= Opening: a brand curtain =================
   The logo on black, a highlighter stroke draws in the tagline, then the panel lifts away.
   It deliberately does not imitate a Bible. CSS only, about two seconds. */
.cover { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center;
  animation: intro-up .9s cubic-bezier(.7, 0, .2, 1) 1.3s forwards, cover-gone 0s linear 2.25s forwards; }
.no-cover .cover { display: none; }
.cover-mark { display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 30px); }
.cover-mark img { width: clamp(210px, 32vw, 460px); height: auto; animation: cover-mark .8s var(--ease) both .05s; }
.cover-mark p { margin: 0; font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.5rem); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: .3em .7em;
  background: linear-gradient(101deg, transparent .1em, var(--hl-yellow) .45em, var(--hl-yellow) calc(100% - .45em), transparent calc(100% - .1em)) no-repeat 0 50% / 0% 100%;
  animation: intro-mark .65s cubic-bezier(.3, .7, .2, 1) .5s forwards; }
.cover.skip { transition: opacity .25s ease; opacity: 0; pointer-events: none; }
@keyframes intro-up { to { transform: translateY(-100%); } }
@keyframes intro-mark { to { background-size: 100% 100%; } }
@keyframes cover-gone { to { visibility: hidden; pointer-events: none; } }
@keyframes cover-mark { from { opacity: 0; transform: translateY(14px); } }
/* hold the page's own entrance until the curtain is lifting */
.cover-on .hero h1 { animation-delay: 1.55s; }
.cover-on .hero-cta { animation-delay: 1.7s; }
.cover-on .feature { animation-delay: 1.82s; }
@media (prefers-reduced-motion: reduce) { .cover { display: none; } }

/* ================= Cut-out photos: the garments have real transparency now, so no blending tricks ================= */
.tile img, .feature-art img, .b-picks img, .strip button img, .flip img { mix-blend-mode: normal; }

/* the other side of the piece, tucked into the corner of its verse section */
.flip { position: absolute; z-index: 1; left: clamp(8px, 1.4vw, 20px); bottom: clamp(8px, 1.4vw, 20px); width: 31%; display: grid; justify-items: center; gap: 2px; }
.flip img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.flip .mono { font-size: .64rem; color: var(--grey); }
.chapter:nth-child(even) .flip { left: auto; right: clamp(8px, 1.4vw, 20px); }
.chapter-body > .tile > img { transform-origin: 60% 45%; scale: .9; translate: 5% -4%; }
.chapter:nth-child(even) .chapter-body > .tile > img { translate: -5% -4%; }
@media (max-width: 900px) { .chapter:nth-child(even) .flip { right: auto; left: 8px; } .chapter:nth-child(even) .chapter-body > .tile > img { translate: 5% -4%; } }

/* the verse inks in word by word as you scroll to it */
.scripture.inking .w { opacity: .14; transition: opacity .45s ease; }
.scripture.inking .w.lit { opacity: 1; }

/* ================= Always light: the design is one look; a phone in dark mode must not recolour it ================= */
:root { color-scheme: light only; }
html, body { background-color: var(--ground); color: var(--ink); }
input, textarea, select, button { color-scheme: light only; }

/* ================= Header pinned: fixed to the top of the screen, never scrolls or shifts ================= */
.head { position: fixed; top: 0; left: 0; right: 0; width: 100%; transform: translateZ(0); }
body { padding-top: var(--head-h); }
.head .right { min-width: 0; }

/* ================= Smoked glass: dark, see-through panels that blur whatever is behind them ================= */
:root { --glass: rgba(14, 14, 16, .66); --glass-deep: rgba(12, 12, 13, .82); --glass-edge: rgba(255, 255, 255, .16); --glass-blur: blur(18px) saturate(150%); }
.head { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--glass-edge); color: var(--on-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.head .logo img { filter: none; }
.head .bag-btn b { border-color: var(--on-ink); }
.head .bag-btn.has b { background: var(--on-ink); color: var(--ink); }
.head .guide { color: var(--on-ink-grey); }
.sign, .ticker:not(.light):not(.red) { background: var(--glass-deep); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-block: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.contact, .foot { background: var(--glass-deep); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.contact { border-top: 1px solid var(--glass-edge); }
.scrim { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(12, 12, 13, .38); }
.bag { background: rgba(246, 246, 244, .9); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.b-buy .btn, .chapter .btn, .hero-cta .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
/* where blur is not supported, fall back to solid so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .head { background: #111112; } .sign, .ticker:not(.light):not(.red), .contact, .foot { background: var(--ink); } .bag { background: var(--ground); }
}

/* the small view is a switch: tap it and the two sides trade places */
.flip { cursor: pointer; padding: 6px; border-radius: 10px; transition: background .25s, transform .3s var(--ease); }
.flip:hover, .flip:focus-visible { background: rgba(12, 12, 13, .06); transform: translateY(-3px); }
.flip .mono { color: var(--grey); white-space: nowrap; }
.flip .mono b { color: var(--ink); font-weight: 500; }

/* ================= Header switch ================= */
.theme-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; transition: background .2s, rotate .5s var(--ease); }
.theme-btn:hover { background: rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .theme-btn { rotate: 180deg; }
.head .right { gap: 14px; }

/* ================= Dark mode (chosen with the header switch; light stays the default) =================
   --dark is a fixed near-black for text that sits on the pastel tabs, notes and highlights in both themes. */
:root { --dark: #0c0c0d; }
:root[data-theme="dark"] {
  --ground: #0e0e10; --tile: #1b1b1e; --ink: #f3f2ee; --grey: #a4a5a9; --rule: rgba(243, 242, 238, .2); --red: #ff5a4f;
  color-scheme: dark only;
}
:root[data-theme="dark"] input, :root[data-theme="dark"] textarea, :root[data-theme="dark"] select, :root[data-theme="dark"] button { color-scheme: dark only; }
/* the scripture page behind everything: light ink on the dark page, a touch stronger so it reads */
:root[data-theme="dark"] .pages-in { color: rgba(243, 242, 238, .16); column-rule-color: rgba(243, 242, 238, .1); }
:root[data-theme="dark"] .pages .pg-head { border-bottom-color: rgba(243, 242, 238, .14); }
:root[data-theme="dark"] .pages .pg-red { color: rgba(255, 90, 79, .3); }
/* a soft pool of light behind each garment, so black pieces stand off the dark page */
:root[data-theme="dark"] .tile, :root[data-theme="dark"] .b-lead, :root[data-theme="dark"] .flip,
:root[data-theme="dark"] .b-picks button:not([aria-pressed="true"]), :root[data-theme="dark"] .strip button {
  background: radial-gradient(closest-side at 50% 52%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .09) 58%, rgba(255, 255, 255, 0) 100%);
}
:root[data-theme="dark"] .flip:hover { background: radial-gradient(closest-side, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1) 60%, transparent); }
:root[data-theme="dark"] .bag .tile { background: var(--tile); }
/* pastel surfaces keep dark lettering */
:root[data-theme="dark"] .bullet, :root[data-theme="dark"] .tab, :root[data-theme="dark"] .sticky, :root[data-theme="dark"] .b-verse,
:root[data-theme="dark"] .info-hand, :root[data-theme="dark"] .contents-title, :root[data-theme="dark"] .card-note,
:root[data-theme="dark"] .cover-mark p, :root[data-theme="dark"] .head .bag-btn.has b,
:root[data-theme="dark"] .contact .btn, :root[data-theme="dark"] .foot .btn { color: var(--dark); }
:root[data-theme="dark"] .thumbs .bullet { box-shadow: inset 0 0 0 1.5px var(--dark); }
:root[data-theme="dark"] .b-buy { border-top-color: var(--dark); }
:root[data-theme="dark"] .b-verse .btn { background: var(--dark); border-color: var(--dark); color: #f6f6f4; }
:root[data-theme="dark"] .b-verse .btn:hover { background: #f6f6f4; color: var(--dark); }
:root[data-theme="dark"] .contact .btn:hover { color: var(--on-ink); }
:root[data-theme="dark"] .info-hand, :root[data-theme="dark"] .contents-title, :root[data-theme="dark"] .card-note { background-size: 100% 78%; }
/* highlighter: solid stroke with dark lettering (see-through ink does not show on a dark page) */
:root[data-theme="dark"] .hl { mix-blend-mode: normal; color: var(--dark); --m: var(--marker); --m2: var(--marker); }
:root[data-theme="dark"] .hl .w { color: var(--dark); }
:root[data-theme="dark"] .cover { background: var(--dark); }
:root[data-theme="dark"] .bag { background: rgba(22, 22, 24, .9); }
:root[data-theme="dark"] .swatches span:not(.sr) { box-shadow: inset 0 0 0 1px rgba(243, 242, 238, .4); }
:root[data-theme="dark"] .swatches input:checked + span { box-shadow: inset 0 0 0 1px rgba(243, 242, 238, .4), 0 0 0 3px var(--ground), 0 0 0 5px var(--ink); }
:root[data-theme="dark"] .flip:hover, :root[data-theme="dark"] .flip:focus-visible { transform: translateY(-3px); }
:root[data-theme="dark"] .sign, :root[data-theme="dark"] .ticker:not(.light):not(.red), :root[data-theme="dark"] .contact, :root[data-theme="dark"] .foot { background: rgba(30, 30, 33, .72); }
:root[data-theme="dark"] .head { background: rgba(26, 26, 29, .7); }

/* product pages: the corner view sits bottom-left of the main photo */
.gallery .tile.main .flip { width: 27%; }
@media (hover: hover) { .gallery .tile.main:hover > img { transform: none; } .gallery .tile.main:hover .sticky, .gallery .tile.main:hover .tab { opacity: 1; } .gallery .tile.main > img:hover { transform: scale(1.9); } .gallery .tile.main > img:hover ~ .sticky, .gallery .tile.main > img:hover ~ .tab, .gallery .tile.main > img:hover ~ .flip { opacity: 0; } }
.gallery .tile.main .flip { transition: opacity .3s, background .25s, transform .3s var(--ease); }

/* The page colour lives on <html> only. If <body> also paints it, it covers the scripture layer behind the site. */
body { background: transparent; }

/* the small front/back view carries no box: nothing behind it on tap, hover or focus */
.flip, .flip:hover, .flip:focus, .flip:focus-visible, .flip:active { background: none; box-shadow: none; outline: none; -webkit-tap-highlight-color: transparent; }
.flip:focus-visible .mono b { text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .flip, :root[data-theme="dark"] .flip:hover, :root[data-theme="dark"] .flip:focus-visible { background: radial-gradient(closest-side at 50% 46%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .09) 58%, rgba(255, 255, 255, 0) 100%); border-radius: 0; }

/* handwriting: a looser ballpoint scrawl (one weight only, so never faux-bold it) */
.hand { font-weight: 400; font-synthesis: none; letter-spacing: .01em; line-height: 1; }
/* the scrawl runs small and thin, so every handwritten line is set a size up */
.sticky { font-size: clamp(1.75rem, 2.7vw, 2.5rem); padding: .45em; }
.b-verse .hand { font-size: clamp(2rem, 3vw, 2.8rem); }
.info-hand { font-size: 2.5rem; }
.contents-title { font-size: clamp(2.9rem, 4.6vw, 4.1rem); }
.card-note { font-size: 1.95rem; }
@media (max-width: 900px) { .sticky { font-size: 1.5rem; } .card-note { font-size: 1.6rem; } }
/* notes sit a little crooked, each one differently */
.chapter:nth-child(3n) .sticky { rotate: -5deg; }
.chapter:nth-child(3n+1) .sticky { rotate: 2deg; }
.card:nth-child(odd) .card-note { rotate: -2.5deg; }
.card:nth-child(3n) .card-note { rotate: 1deg; }

/* a wider ribbon with a deep swallowtail and a satin sheen, so it reads as a bookmark */
.ribbon { width: 20px; left: max(4px, calc(var(--gutter) * .16)); background: linear-gradient(90deg, #b50f09 0, var(--red) 22%, #ee3a32 50%, var(--red) 78%, #b50f09 100%); filter: drop-shadow(1px 0 2px rgba(0, 0, 0, .28)); }
.ribbon::after { width: 20px; height: 22px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 52%, 0 100%); margin-top: -1px; }
@media (max-width: 900px) { .ribbon { width: 12px; left: 3px; } .ribbon::after { width: 12px; height: 14px; } }

/* sharper blackletter (Pirata One): one weight, never faux-bold; set slightly larger as it runs narrow */
.sign h3, .b-ref, .buy-ref span, .display .hl, .sign .sign-ref, .c-ref { font-weight: 400; font-synthesis: none; letter-spacing: .01em; }
.display .hl { font-size: 1.16em; }

/* ---------- menu: a contents page ---------- */
.menu-btn { display: inline-flex; align-items: center; gap: .6em; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; font-size: .98rem; letter-spacing: -.01em; cursor: pointer; }
.menu-btn i { position: relative; width: 20px; height: 14px; border-block: 2px solid currentColor; transition: border-color .25s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: currentColor; transition: rotate .35s var(--ease); }
.toc-open .menu-btn i { border-color: transparent; }
.toc-open .menu-btn i::before { rotate: 45deg; }
.toc-open .menu-btn i::after { rotate: -45deg; }
.menu-btn:hover span { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }

.toc { position: fixed; z-index: 38; inset: var(--head-h) 0 0 0; overflow-y: auto; overscroll-behavior: contain; background: var(--ground); color: var(--ink);
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
.toc-open .toc { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease), visibility 0s; }
html.toc-open { overflow: hidden; }
.toc-page { max-width: 1080px; margin-inline: auto; padding: clamp(26px, 5vw, 64px) max(var(--gutter), 34px) clamp(40px, 6vw, 80px); text-align: center; }
.toc-kicker { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); margin: 0 0 6px; }
.toc-title { font-family: var(--gothic); font-weight: 400; font-synthesis: none; font-size: clamp(3rem, 8vw, 6rem); line-height: .95; margin: 0; }
.toc-title::after { content: ""; display: block; width: min(220px, 50%); height: 5px; margin: clamp(14px, 2vw, 22px) auto 0; border-block: 1px solid var(--ink); }
.toc-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(24px, 4vw, 48px); text-align: left; }
.toc h3 { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); text-align: center; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: flex; align-items: baseline; gap: 10px; padding: clamp(9px, 1.1vw, 13px) 0; text-decoration: none; }
.toc .tab { align-self: center; border-radius: 7px; min-width: 4.6em; text-align: center; }
.toc-name { font-family: var(--gothic); font-weight: 400; font-synthesis: none; font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: .01em; white-space: nowrap; transition: translate .35s var(--ease); }
.toc-dots { flex: 1; min-width: 18px; border-bottom: 2px dotted var(--ink); opacity: .45; translate: 0 -.3em; }
.toc-num { font-family: var(--mono); font-size: .9rem; color: var(--grey); white-space: nowrap; }
.toc-pieces .toc-num { font-family: inherit; font-weight: 600; font-size: .95rem; }
.toc li a:hover .toc-name, .toc li a:focus-visible .toc-name { translate: 8px 0; }
.toc li a:hover .toc-num, .toc li a:focus-visible .toc-num { color: var(--ink); }
.toc li { opacity: 0; translate: 0 10px; transition: opacity .45s ease, translate .45s var(--ease); }
.toc-open .toc li { opacity: 1; translate: 0; transition-delay: calc(.18s + var(--i, 0) * .04s); }
.toc li:nth-child(2) { --i: 1; } .toc li:nth-child(3) { --i: 2; } .toc li:nth-child(4) { --i: 3; } .toc li:nth-child(5) { --i: 4; } .toc li:nth-child(6) { --i: 5; } .toc li:nth-child(7) { --i: 6; } .toc li:nth-child(8) { --i: 7; }
@media (max-width: 760px) {
  .toc-cols { grid-template-columns: 1fr; }
  .toc-pieces .toc-num { font-size: .85rem; }
  .toc .tab { min-width: 4.2em; font-size: .6rem; }
}
@media (max-width: 420px) { .toc-pieces .toc-dots { min-width: 8px; } .toc-pieces .toc-name { font-size: 1.4rem; } .toc-pieces .toc-num { white-space: normal; text-align: right; max-width: 9.5em; line-height: 1.15; } }
@media (prefers-reduced-motion: reduce) { .toc, .toc-open .toc, .toc li, .toc-open .toc li { transition: none; } }

/* the hero verse card is a post-it: stuck on slightly crooked, glue strip along the top, one corner lifting */
.b-verse { position: relative; z-index: 1; rotate: 1.1deg; background-color: var(--tone); background-image: linear-gradient(180deg, rgba(0, 0, 0, .13) 0, rgba(0, 0, 0, 0) 34px);
  border-bottom-right-radius: 60px 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 18px 22px -14px rgba(0, 0, 0, .38); transition: background-color .6s, rotate .5s var(--ease); }
.b-verse::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; pointer-events: none; border-bottom-right-radius: 60px 14px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, .1) 50%, rgba(255, 255, 255, .35) 100%); }
@media (max-width: 900px) { .b-verse { rotate: .7deg; } }
@media (prefers-reduced-motion: reduce) { .b-verse { transition: none; } }

/* ---------- hero introduces the brand before the clothes ---------- */
.hero-lead { margin: clamp(20px, 2.6vw, 36px) 0 0; max-width: 40em; font-size: clamp(1.12rem, 1.7vw, 1.5rem); line-height: 1.4; font-weight: 500; }
.hero-lead .hl { font-weight: 800; letter-spacing: -.02em; }
.creed { list-style: none; margin: clamp(26px, 3.2vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 26px); max-width: 1080px; }
.creed li { position: relative; padding: clamp(16px, 1.8vw, 26px) clamp(14px, 1.6vw, 24px) clamp(20px, 2.2vw, 32px); color: var(--dark, #0c0c0d); background-color: var(--hl-yellow);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .13) 0, rgba(0, 0, 0, 0) 30px); border-bottom-right-radius: 50px 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 16px 20px -14px rgba(0, 0, 0, .38); rotate: -1.4deg; transition: rotate .5s var(--ease), translate .5s var(--ease); }
.creed li:nth-child(2) { background-color: var(--hl-pink); rotate: .9deg; translate: 0 6px; }
.creed li:nth-child(3) { background-color: var(--hl-blue); rotate: -.6deg; }
.creed li:hover { rotate: 0deg; translate: 0 -4px; }
.creed small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9em; }
.creed strong { display: block; font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.1; letter-spacing: -.025em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-lead { animation: rise 1.2s var(--ease) both .1s; }
  .creed li { animation: rise 1.2s var(--ease) both .2s; } .creed li:nth-child(2) { animation-delay: .3s; } .creed li:nth-child(3) { animation-delay: .4s; }
  .hero-cta { animation-delay: .5s; }
  .cover-on .hero-lead { animation-delay: 1.65s; } .cover-on .creed li { animation-delay: 1.75s; } .cover-on .creed li:nth-child(2) { animation-delay: 1.85s; } .cover-on .creed li:nth-child(3) { animation-delay: 1.95s; } .cover-on .hero-cta { animation-delay: 2.05s; }
}
.showcase .wrap { padding-block: clamp(8px, 2vw, 28px) clamp(48px, 6vw, 96px); }
.showcase .feature { margin-top: 0; animation: none; }
@media (max-width: 700px) {
  .creed { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 30em; }
  .creed li:nth-child(2) { translate: 0; margin-left: 18px; } .creed li:nth-child(3) { margin-right: 14px; }
}

/* ---------- Bible study page (where the sleeve QR code lands) ---------- */
.study .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; padding-block: clamp(28px, 4vw, 64px) clamp(56px, 7vw, 110px); }
.study-main { display: grid; gap: clamp(30px, 3.6vw, 52px); min-width: 0; }
.study-kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin: 0 0 -18px; }
.study-main h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); margin: 0; }
.study-main section { display: grid; gap: 12px; justify-items: start; }
.study-main h2 { margin: 0; }
.study-pass { font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.22; margin: 0; }
.study-cite { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 0; }
.study-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; margin: 0; max-width: 38em; }
.study-q { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; border-top: 2px solid var(--ink); }
.study-q li { counter-increment: q; display: grid; grid-template-columns: 2.4em 1fr; gap: 10px; align-items: baseline; padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -.015em; }
.study-q li::before { content: counter(q); font-family: var(--gothic); font-weight: 400; font-size: 1.5em; line-height: 1; }
.study-act { margin: 6px 0 0; max-width: 15em; padding: .7em .8em .9em; font-size: clamp(1.9rem, 2.8vw, 2.5rem); color: var(--dark, #0c0c0d); background-color: var(--tone); background-image: linear-gradient(180deg, rgba(0, 0, 0, .13) 0, rgba(0, 0, 0, 0) 30px); rotate: -1.3deg; border-bottom-right-radius: 50px 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 16px 20px -14px rgba(0, 0, 0, .38); }
.study-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.study-share .mono { font-size: .76rem; color: var(--grey); word-break: break-all; }
.study-wear { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 14px; }
.study-wear .tile { display: block; position: relative; }
.study-wear .tile img { width: 100%; height: auto; }
.study-wear > .mono { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 6px 0 -8px; }
.study-piece { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.study-piece b { font-weight: 800; font-size: 1.35rem; letter-spacing: -.025em; }
.study-wear .link { justify-self: start; }
.study-link { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-block: 1px solid var(--rule); text-decoration: none; }
.study-link .hand { font-size: 2.1rem; padding: 0 .3em; margin-left: -.3em; background: linear-gradient(101deg, transparent .1em, color-mix(in srgb, var(--tone) 78%, transparent) .4em, color-mix(in srgb, var(--tone) 78%, transparent) calc(100% - .4em), transparent calc(100% - .1em)) no-repeat 0 66% / 100% 52%; }
.study-link .mono { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.study-link:hover .mono { text-decoration: underline; text-underline-offset: .3em; }
:root[data-theme="dark"] .study-link .hand { color: var(--dark); background-size: 100% 78%; }
@media (max-width: 900px) {
  .study .wrap { grid-template-columns: minmax(0, 1fr); }
  .study-wear { position: static; max-width: 420px; }
}

/* ---------- contact: a note written on a card ---------- */
.contact .wrap { align-items: start; }
.contact-intro { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.contact-intro p { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; color: var(--on-ink-grey); max-width: 26em; }
.note-card { --paper: #fffdf6; --pen: #15151a; --line: rgba(70, 130, 200, .34); position: relative; display: grid; gap: clamp(16px, 1.8vw, 24px); padding: clamp(20px, 2.6vw, 38px) clamp(18px, 2.6vw, 40px) clamp(22px, 2.8vw, 40px);
  background: var(--paper); color: var(--pen); border-radius: 6px; rotate: -.7deg; box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 30px 44px -26px rgba(0, 0, 0, .7); transition: rotate .5s var(--ease); }
.note-card:focus-within { rotate: 0deg; }
.note-top { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 12px; border-bottom: 1.5px solid #e0483f; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(21, 21, 26, .62); }
.note-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 30px); }
.note-card .nline { display: grid; gap: 0; min-width: 0; }
.note-card .nline > .mono, .note-about legend { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(21, 21, 26, .62); padding: 0; }
.note-card input:not([type="radio"]), .note-card textarea { width: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; color: var(--pen); font-family: var(--hand); font-size: clamp(1.9rem, 2.6vw, 2.3rem); line-height: 42px; padding: 0 2px; }
.note-card input:not([type="radio"]) { height: 44px; border-bottom: 1.5px solid var(--line); }
.note-card textarea { display: block; resize: vertical; min-height: 168px; background: repeating-linear-gradient(180deg, transparent 0 40.5px, var(--line) 40.5px 42px); background-attachment: local; }
.note-card input:not([type="radio"]):focus-visible, .note-card textarea:focus-visible { outline: none; }
.note-card input:not([type="radio"]):focus-visible { border-bottom-color: var(--pen); }
.note-card .nline.area:focus-within > .mono, .note-card .nline:focus-within > .mono { color: var(--pen); }
.note-about { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.note-about legend { margin-bottom: 10px; }
.note-about label { position: relative; cursor: pointer; }
.note-about input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.note-about span { display: block; padding: .5em .85em; border: 1.5px solid rgba(21, 21, 26, .3); border-radius: 999px; font-weight: 700; font-size: .92rem; letter-spacing: -.01em; transition: background .2s, border-color .2s, rotate .3s var(--ease); }
.note-about label:hover span { border-color: var(--pen); }
.note-about input:checked + span { background: var(--hl-yellow); border-color: var(--pen); rotate: -2deg; }
.note-about input:focus-visible + span { outline: 2px solid var(--pen); outline-offset: 2px; }
.note-send { display: flex; justify-content: flex-end; }
.contact .note-card .btn, :root[data-theme="dark"] .contact .note-card .btn { background: var(--pen); border-color: var(--pen); color: #f6f6f4; min-width: 9em; }
.contact .note-card .btn:hover, :root[data-theme="dark"] .contact .note-card .btn:hover { background: transparent; color: var(--pen); }
.note-card .form-note { margin: 0; border-color: rgba(21, 21, 26, .3); color: var(--pen); }
.contact .note-card :focus-visible { outline-color: var(--pen); }
@media (max-width: 620px) { .note-row.two { grid-template-columns: 1fr; } .note-card { rotate: -.4deg; } .note-send .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .note-card, .note-about span { transition: none; } }

/* contact: lighter smoked glass, so the scripture pages read through it */
.contact, :root[data-theme="dark"] .contact { background: linear-gradient(180deg, rgba(14, 14, 16, .5), rgba(14, 14, 16, .6)); -webkit-backdrop-filter: blur(5px) saturate(140%); backdrop-filter: blur(5px) saturate(140%); border-top: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .contact { background: linear-gradient(180deg, rgba(44, 44, 48, .42), rgba(44, 44, 48, .52)); }
.contact-intro h2, .contact-intro p { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.contact-intro .hl { text-shadow: none; }
.contact-intro p { color: #d9d9d6; }

/* ---------- help, privacy and terms pages ---------- */
.doc .wrap { padding-block: clamp(28px, 4vw, 60px) clamp(56px, 7vw, 110px); max-width: 880px; }
.doc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.doc-jump .tab { text-decoration: none; }
.doc-date { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 0 0 clamp(18px, 2.4vw, 30px); }
.doc-body { display: grid; gap: clamp(30px, 4vw, 54px); font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.6; }
.doc-body section { display: grid; gap: 14px; justify-items: start; scroll-margin-top: calc(var(--head-h) + 20px); }
.doc-body section > * { width: 100%; }
.doc-body section > h2.hand { width: auto; margin: 0 0 4px; }
.doc-body h2:not(.hand) { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.doc-body p, .doc-body ul { margin: 0; max-width: 42em; }
.doc-body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc-body a { text-decoration-thickness: 2px; text-underline-offset: .2em; }
.doc-body details { border-bottom: 1px solid var(--rule); }
.doc-body details:first-of-type { border-top: 2px solid var(--ink); }
.doc-body summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.02em; line-height: 1.2; }
.doc-body summary::-webkit-details-marker { display: none; }
.doc-body summary::after { content: "+"; font-family: var(--mono); font-weight: 400; flex: none; transition: rotate .3s var(--ease); }
.doc-body details[open] summary::after { rotate: 45deg; }
.doc-body details p { padding-bottom: 18px; }
.doc-body .spec { width: 100%; max-width: 42em; }
.foot-base nav { gap: 8px 22px; }
.note-card .form-note a { color: inherit; }

/* ---------- Hero: headline + a four-beat story; the long mission text sits behind a post-it ---------- */
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 88px); align-items: center; margin-top: clamp(20px, 3vw, 48px); }
.hero h1 { font-size: clamp(2.6rem, 6.3vw, 6.6rem); max-width: 16ch; margin-top: 0; }
.mission { margin-top: clamp(26px, 3vw, 44px); max-width: 34em; }
.mission summary { list-style: none; cursor: pointer; display: inline-flex; flex-direction: column; gap: .5em; padding: .8em 1.1em 1em; background: var(--hl-yellow); color: var(--dark, #0c0c0d); rotate: -2deg; box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .5); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.mission summary::-webkit-details-marker { display: none; }
.mission summary:hover { rotate: 0deg; translate: 0 -3px; }
.mission summary .hand { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.mission summary i, .peel i { font-style: normal; font-size: .58rem; letter-spacing: .14em; opacity: .7; }
.mission[open] summary i { visibility: hidden; }
.mission-text { margin-top: 18px; padding: clamp(18px, 2vw, 28px); background: var(--hl-yellow); color: var(--dark, #0c0c0d); font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.5; font-weight: 500; box-shadow: 0 14px 24px -16px rgba(0, 0, 0, .55); }
.mission-text .hl { background: none !important; mix-blend-mode: normal; font-weight: 800; color: inherit; }

.story { position: relative; width: clamp(270px, 29vw, 400px); aspect-ratio: 9 / 15; overflow: hidden; background: var(--ground); color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 10px 12px 0 var(--tone, var(--hl-yellow)); transition: box-shadow .5s; user-select: none; -webkit-user-select: none; }
.story-bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 5px; }
.story-bars i { flex: 1; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 20%, transparent); overflow: hidden; }
.story-bars b { display: block; height: 100%; width: 0; background: var(--ink); }
.story-bars .done b { width: 100%; }
.story-bars .now b { animation: story-fill var(--dur) linear forwards; }
.story.paused .story-bars .now b { animation-play-state: paused; }
@keyframes story-fill { to { width: 100%; } }
.story-stage, .beat { position: absolute; inset: 0; }
.beat { padding: 44px 20px 54px; display: flex; flex-direction: column; }
.story-cap { display: flex; align-items: baseline; gap: .7em; position: relative; z-index: 2; }
.story-cap strong { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.story-verse { margin-top: auto; margin-bottom: auto; }
.story-verse .scripture { font-size: clamp(1.25rem, 2vw, 1.72rem); }
.story-ref { margin-top: 14px; font-family: var(--gothic); font-size: 1.5rem; }
.story-art { position: absolute; inset: 86px 0 44px; }
.story-art img { width: 100%; height: 100%; object-fit: contain; }
.beat > .tab { position: absolute; right: 20px; bottom: 58px; border-radius: 7px; }
.story-art.zoom { overflow: hidden; inset: 92px 0 0; }
.story-art.zoom img { transform-origin: 72% 79%; scale: 2.7; }
.scan { position: absolute; left: 50%; top: 56%; width: 42%; aspect-ratio: 1; translate: -50% -50%; border-radius: 14px; background:
  linear-gradient(var(--tone), var(--tone)) 0 0 / 26% 4px, linear-gradient(var(--tone), var(--tone)) 0 0 / 4px 26%,
  linear-gradient(var(--tone), var(--tone)) 100% 0 / 26% 4px, linear-gradient(var(--tone), var(--tone)) 100% 0 / 4px 26%,
  linear-gradient(var(--tone), var(--tone)) 0 100% / 26% 4px, linear-gradient(var(--tone), var(--tone)) 0 100% / 4px 26%,
  linear-gradient(var(--tone), var(--tone)) 100% 100% / 26% 4px, linear-gradient(var(--tone), var(--tone)) 100% 100% / 4px 26%; background-repeat: no-repeat; }
.story-ask { position: absolute; z-index: 2; right: 14px; bottom: 60px; padding: .5em .7em; background: var(--tone); color: var(--dark, #0c0c0d); font-size: 1.7rem; rotate: -4deg; box-shadow: 0 10px 16px -10px rgba(0, 0, 0, .6); }
.b3 { background: var(--tone); color: var(--dark, #0c0c0d); }
.story[data-beat="3"] .story-bars i { background: rgba(12, 12, 13, .2); } .story[data-beat="3"] .story-bars b { background: #0c0c0d; }
.story[data-beat="3"] .story-pause { color: #0c0c0d; }
.story-end { margin: auto 0; display: grid; gap: 14px; justify-items: start; }
.story-big { font-family: var(--gothic); font-size: clamp(3.2rem, 5.6vw, 4.9rem); line-height: .86; }
.story-end .hand { font-size: 2rem; }
.story-end .btn { margin-top: 8px; background: #0c0c0d; border-color: #0c0c0d; color: #f6f6f4; position: relative; z-index: 5; }
.story-nav { position: absolute; z-index: 4; top: 0; bottom: 48px; width: 34%; background: none; border: 0; padding: 0; cursor: pointer; }
.story-nav.prev { left: 0; } .story-nav.next { right: 0; width: 66%; }
.story-pause { position: absolute; z-index: 5; left: 14px; bottom: 12px; background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--ink); font-size: .62rem; opacity: .75; }
.story-pause:hover { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-main .story { animation: rise 1.2s var(--ease) both .2s; }
  .mission { animation: rise 1.2s var(--ease) both .35s; }
  .hero-cta { animation-delay: .2s; }
  .cover-on .hero-main .story { animation-delay: 1.75s; } .cover-on .mission { animation-delay: 1.9s; } .cover-on .hero-cta { animation-delay: 1.7s; }
  .story-cap { animation: story-in .5s var(--ease) both; }
  .story-verse { animation: story-in .7s var(--ease) both .15s; }
  .story-art.rise img { animation: story-rise .9s var(--ease) both .1s; }
  .beat > .tab { animation: story-in .5s var(--ease) both .7s; }
  .story-art.zoom img { animation: story-zoom 1.5s var(--ease) both; }
  .scan { animation: story-scan 1.1s ease-in-out infinite alternate, story-in .4s ease both 1.2s; }
  .story-ask { animation: story-pop .5s var(--ease) both .5s; }
  .story-end > * { animation: story-in .6s var(--ease) both; } .story-end > :nth-child(2) { animation-delay: .1s; } .story-end > :nth-child(3) { animation-delay: .5s; } .story-end > :nth-child(4) { animation-delay: .8s; }
}
@keyframes story-in { from { opacity: 0; translate: 0 14px; } }
@keyframes story-rise { from { opacity: 0; translate: 0 40%; rotate: -6deg; scale: .8; } }
@keyframes story-zoom { from { scale: 1; } }
@keyframes story-scan { from { scale: 1; } to { scale: 1.1; } }
@keyframes story-pop { from { opacity: 0; scale: .6; } }
@media (max-width: 900px) {
  .hero-main { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.2rem, 11.6vw, 5.6rem); max-width: none; }
  .story { width: min(100%, 380px); aspect-ratio: 9 / 13; justify-self: center; }
  .hero-say { display: contents; }
  .hero-say h1 { order: 1; } .story { order: 2; } .hero-cta { order: 3; margin-top: 8px; } .mission { order: 4; margin-top: 0; }
}

/* ---------- Verse sections: the post-it opens to show the piece ---------- */
.peel { cursor: pointer; display: grid; align-content: center; gap: .35em; }
.peel i { display: block; }
.peel::after { content: ''; position: absolute; right: 0; bottom: 0; width: 22%; aspect-ratio: 1; background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0 50%, var(--ground) 50%); box-shadow: -3px -3px 6px -3px rgba(0, 0, 0, .3); transition: width .35s var(--ease); }
.peel:hover::after, .peel:focus-visible::after { width: 34%; }
.peel.opened::after { width: 0; }
.unfold { --ink: #0c0c0d; --ground: #f6f6f4; --grey: rgba(12, 12, 13, .74); --rule: rgba(12, 12, 13, .22); margin-top: clamp(22px, 3vw, 40px); padding: clamp(18px, 2.2vw, 30px); background: var(--tone); color: #0c0c0d; rotate: -.6deg; box-shadow: 0 18px 28px -18px rgba(0, 0, 0, .6); transform-origin: 0 0; }
.unfold .piece { margin-top: 0; padding-top: 0; border-top: 0; }
.unfold .btn { margin-top: 18px; }
.unfold .xref .tab { background: rgba(255, 255, 255, .6); }
.unfold .chips li:first-child { color: #f6f6f4; }
@media (prefers-reduced-motion: no-preference) { .unfold:not([hidden]) { animation: unfold .55s var(--ease) both; } }
@keyframes unfold { from { opacity: 0; scale: .7 .2; rotate: 3deg; } }

/* ---------- Lookbook: editorial spreads, no models, the pieces as posters ---------- */
.lb-cover .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 64px) clamp(40px, 6vw, 96px); }
.lb-cover h1 { font-family: var(--gothic); font-weight: 400; font-size: clamp(4.6rem, 15vw, 15rem); line-height: .78; letter-spacing: .005em; }
.lb-cover h1 small { display: block; font-family: var(--sans); font-weight: 800; font-size: .2em; letter-spacing: -.04em; line-height: 1; margin-bottom: .5em; }
.lb-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 2.4vw, 34px); }
.lb-meta .tab { border-radius: 7px; }
.lb-cover .hand { display: inline-block; margin-top: clamp(18px, 2.4vw, 32px); font-size: clamp(1.7rem, 2.6vw, 2.4rem); padding: .4em .6em; background: var(--hl-yellow); color: var(--dark, #0c0c0d); rotate: -2.5deg; }
.lb-stack { position: relative; aspect-ratio: 1; }
.lb-stack img { position: absolute; width: 62%; height: auto; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .28)); transition: rotate .7s var(--ease), translate .7s var(--ease); }
.lb-stack img:nth-child(1) { left: 0; top: 4%; rotate: -9deg; }
.lb-stack img:nth-child(2) { right: 0; top: 0; rotate: 7deg; }
.lb-stack img:nth-child(3) { left: 19%; bottom: 0; rotate: -2deg; width: 66%; }
.lb-stack:hover img:nth-child(1) { rotate: -13deg; translate: -3% 0; } .lb-stack:hover img:nth-child(2) { rotate: 11deg; translate: 3% 0; }

.look { --dark: #0c0c0d; position: relative; overflow: hidden; }
.look .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 88px); position: relative; }
.look:nth-of-type(even) .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .look:nth-of-type(even) .look-art { order: 2; }
.look.tone { background: var(--tone); color: #0c0c0d; --ink: #0c0c0d; --ground: #f6f6f4; --grey: rgba(12, 12, 13, .7); }
.look.ink { background: #0c0c0d; color: #f3f2ee; --ink: #f3f2ee; --ground: #0c0c0d; --grey: rgba(243, 242, 238, .66); }
.look-no { position: absolute; top: clamp(8px, 1.4vw, 20px); right: var(--gutter); font-family: var(--gothic); font-size: clamp(5rem, 15vw, 14rem); line-height: .8; opacity: .14; pointer-events: none; }
.look:nth-of-type(even) .look-no { right: auto; left: var(--gutter); }
.look-art { position: relative; display: block; aspect-ratio: 1; }
.look-art > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .3)); transition: scale .9s var(--ease), rotate .9s var(--ease); }
.look-art:hover > img { scale: 1.04; rotate: -1.5deg; }
.look-art .tab { position: absolute; top: 0; left: 6%; }
.look.tone .look-art .tab { background: #0c0c0d; color: #f6f6f4; }
.look-side { position: absolute; right: 0; bottom: 0; width: 30%; padding: 0; border: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 2px; color: inherit; }
.look-side img { width: 100%; height: auto; }
.look-side .mono { font-size: .6rem; opacity: .75; }
.look-kicker { display: flex; gap: 1em; align-items: baseline; }
.look h2 { font-family: var(--gothic); font-weight: 400; font-size: clamp(3.4rem, 8.6vw, 8.6rem); line-height: .82; margin-top: .12em; text-wrap: balance; }
.look-ref { font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.2rem, 1.9vw, 1.7rem); margin-top: .7em; }
.look .hand { display: inline-block; margin-top: 14px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); rotate: -2deg; }
.look.ink .hand { background: var(--tone); color: #0c0c0d; padding: .3em .55em; }
.look-sw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 2.4vw, 32px); }
.look-sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 2px var(--ring, transparent); transition: scale .2s; }
.look.tone .look-sw button { --ring: var(--tone); } .look.ink .look-sw button { --ring: #0c0c0d; }
.look-sw button[aria-pressed="true"] { scale: 1.2; box-shadow: inset 0 0 0 3px var(--ring); }
.look-col { margin-top: 10px; opacity: .8; }
.look-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(18px, 2.4vw, 32px); }
.look-buy .price { font-family: var(--mono); font-size: 1.05rem; }
.look.ink .btn { background: var(--tone); border-color: var(--tone); color: #0c0c0d; }
.look-det { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: clamp(18px, 2.4vw, 30px); max-width: 420px; }
.look-det img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.lb-wall .wrap { padding-block: clamp(40px, 6vw, 96px); }
.lb-wall h2 { font-size: clamp(2.2rem, 5.4vw, 5rem); }
.lb-wall p.mono { margin-top: 10px; color: var(--grey); }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); gap: 0; margin-top: clamp(20px, 3vw, 44px); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.lb-grid a { position: relative; display: block; aspect-ratio: 1; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); text-decoration: none; overflow: hidden; }
.lb-grid img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: scale .6s var(--ease); }
.lb-grid a:hover img { scale: 1.12; }
.lb-grid span { position: absolute; left: 8px; bottom: 7px; font-size: .58rem; }
.lb-grid i { position: absolute; right: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }
.lb-end .wrap { padding-block: clamp(48px, 7vw, 110px); display: grid; gap: 22px; justify-items: start; }
.lb-end h2 { font-size: clamp(2.6rem, 7vw, 7rem); max-width: 14ch; }
@media (prefers-reduced-motion: no-preference) {
  .lb-cover h1, .lb-meta, .lb-cover .hand { animation: rise 1.1s var(--ease) both; } .lb-meta { animation-delay: .1s; } .lb-cover .hand { animation-delay: .2s; }
  .lb-stack img { animation: story-rise 1.1s var(--ease) both .15s; } .lb-stack img:nth-child(2) { animation-delay: .3s; } .lb-stack img:nth-child(3) { animation-delay: .45s; }
  .look-art > img.swap { animation: story-pop .45s var(--ease) both; }
}
@media (max-width: 900px) {
  .lb-cover .wrap, .look .wrap, .look:nth-of-type(even) .wrap { grid-template-columns: minmax(0, 1fr); }
  .look:nth-of-type(even) .look-art { order: 0; }
  .look-no { top: auto; bottom: 6px; }
}

/* ---------- Hero v53: calling headline, mission line, three pieces in colour, the scannable study ---------- */
.hero-main { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hero-mission { margin-top: clamp(18px, 2.2vw, 32px); max-width: 24em; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.22; text-wrap: balance; }
.hero-show { position: relative; }
.hero-show .lb-stack { width: 100%; }
.qr-note { position: absolute; left: -4%; bottom: -3%; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--hl-yellow); color: #0c0c0d; text-decoration: none; rotate: -3deg; box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .6); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.qr-note:hover { rotate: 0deg; translate: 0 -4px; }
.qr-note img { width: clamp(72px, 8vw, 104px); height: auto; background: #fff; padding: 6px; }
.qr-note span { display: grid; gap: 4px; }
.qr-note small { font-size: .58rem; opacity: .75; }
.qr-note strong { font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 9em; }
.qr-note em { font-style: normal; font-size: 1.5rem; }
.scanit { border-top: 2px solid var(--ink); }
.scanit .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-block: clamp(48px, 6vw, 104px); }
.scanit h2 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); margin-top: 12px; max-width: 12ch; }
.scanit-steps { list-style: none; padding: 0; margin: clamp(22px, 3vw, 40px) 0 clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.scanit-steps li { display: flex; gap: 1em; align-items: baseline; }
.scanit-steps strong { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.scanit-studies { display: grid; gap: 10px; }
.scan-card { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 16px; padding: 16px 18px; background: var(--tone); color: #0c0c0d; text-decoration: none; transition: translate .3s var(--ease), rotate .3s var(--ease); }
.scan-card:nth-child(odd) { rotate: -.5deg; } .scan-card:nth-child(even) { rotate: .6deg; }
.scan-card:hover { translate: 8px 0; rotate: 0deg; }
.scan-card .mono { font-size: .6rem; opacity: .7; }
.scan-card strong { font-family: var(--gothic); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.scan-card em { grid-column: 2; font-style: normal; font-size: .9rem; font-weight: 600; opacity: .8; }
.scan-card i { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-style: normal; font-size: 1.4rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mission { animation: rise 1.2s var(--ease) both .1s; } .hero-show { animation: rise 1.2s var(--ease) both .25s; }
  .cover-on .hero-mission { animation-delay: 1.65s; } .cover-on .hero-show { animation-delay: 1.8s; }
}
@media (max-width: 900px) {
  .hero-main, .scanit .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-say { display: block; }
  .hero-say h1, .hero-cta { order: 0; } .hero-cta { margin-top: clamp(22px, 5vw, 32px); }
  .hero-show { margin-bottom: 18px; } .qr-note { left: 0; bottom: -10px; }
}

/* ---------- v54: Bible studies page + slim home band ---------- */
.scan-band { border-top: 2px solid var(--ink); }
.scan-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 44px); padding-block: clamp(28px, 3.6vw, 56px); }
.scan-band img { width: clamp(72px, 8vw, 112px); height: auto; background: #fff; padding: 6px; rotate: -3deg; box-shadow: 0 12px 18px -12px rgba(0, 0, 0, .5); }
.scan-band p { display: grid; gap: 8px; }
.scan-band strong { font-size: clamp(1.8rem, 4vw, 3.8rem); }
.studies-page { border-top: 0; }
.studies-page .wrap { align-items: start; }
.scanit-qr { display: flex; align-items: center; gap: 16px; }
.scanit-qr img { width: 112px; height: auto; background: #fff; padding: 6px; rotate: -3deg; box-shadow: 0 12px 18px -12px rgba(0, 0, 0, .5); }
.scanit-qr .hand { font-size: 1.9rem; background: var(--hl-yellow); color: #0c0c0d; padding: .3em .5em; rotate: 2deg; }
.scan-card.big { padding: 20px 22px; row-gap: 4px; }
.scan-card.big em { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -.02em; opacity: 1; }
.scan-card.big small { grid-column: 2; font-size: .58rem; opacity: .7; }
.scan-card.big i { grid-row: 1 / span 3; }
@media (max-width: 900px) { .scan-band .wrap { grid-template-columns: auto minmax(0, 1fr); } .scan-band .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- v55: the mission in four beats. Read it. Wear it. Live it. Share it. ---------- */
.beats-sec h2 { font-size: clamp(1.9rem, 3.8vw, 3.6rem); max-width: none; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); align-items: start; }
.beats li { background: var(--tone); color: #0c0c0d; box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .55); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.beats li:nth-child(odd) { rotate: -1.2deg; } .beats li:nth-child(even) { rotate: 1deg; translate: 0 8px; }
.beats li:hover, .beats li:has(details[open]) { rotate: 0deg; translate: 0 -4px; }
.beats summary { list-style: none; cursor: pointer; display: grid; gap: 8px; padding: clamp(16px, 1.8vw, 26px); }
.beats summary::-webkit-details-marker { display: none; }
.beats summary small { font-size: .62rem; opacity: .7; }
.beats summary strong { font-family: var(--gothic); font-weight: 400; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .86; white-space: nowrap; }
.beats summary span { font-weight: 800; font-size: clamp(1rem, 1.35vw, 1.25rem); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.beats summary i { font-style: normal; font-size: .56rem; letter-spacing: .14em; opacity: .65; margin-top: 6px; }
.beats details[open] summary i { display: none; }
.beats details p { padding: 0 clamp(16px, 1.8vw, 26px); font-size: .98rem; line-height: 1.45; font-weight: 500; columns: auto; max-width: none; }
.beats details p::first-letter { float: none; font: inherit; padding: 0; letter-spacing: inherit; }
.beats details .link { display: inline-block; margin: 12px clamp(16px, 1.8vw, 26px) clamp(16px, 1.8vw, 24px); color: #0c0c0d; }
.full-mission summary { cursor: pointer; display: inline-block; list-style: none; }
.full-mission summary::-webkit-details-marker { display: none; }
.full-mission p { margin-top: 20px; }
@media (max-width: 900px) { .beats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .beats summary strong { font-size: clamp(2.3rem, 10.5vw, 4rem); } }
.beats details p.rv, .full-mission p.rv { opacity: 1 !important; transform: none !important; translate: none !important; }

/* ---------- v56: verse sections centred. Garment one side; verse + flip note together on the other ---------- */
.chapter-body, .chapter:nth-child(even) .chapter-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.chapter-text { position: static; display: grid; gap: clamp(20px, 2.6vw, 36px); justify-items: center; text-align: center; max-width: 34rem; margin-inline: auto; width: 100%; }
.chapter-body > .tile > img, .chapter:nth-child(even) .chapter-body > .tile > img { scale: 1; translate: none; transform-origin: 50% 50%; }
.chapter-body > .tile > .tab { left: 50%; translate: -50% 0; }
.chapter-body > .tile > .flip, .chapter:nth-child(even) .chapter-body > .tile > .flip { left: clamp(8px, 1.4vw, 20px); right: auto; bottom: clamp(8px, 1.4vw, 20px); }
.note-flip { width: 100%; perspective: 1600px; cursor: pointer; rotate: -1deg; transition: rotate .5s var(--ease); text-align: left; }
.note-flip:hover, .note-flip.flipped { rotate: 0deg; }
.nf-inner { display: grid; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.note-flip.flipped .nf-inner { transform: rotateY(180deg); }
.nf-front, .nf-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--tone); color: #0c0c0d; padding: clamp(18px, 2.2vw, 30px); box-shadow: 0 18px 28px -18px rgba(0, 0, 0, .6); }
.nf-front { display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; min-height: 190px; }
.nf-front .hand { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.nf-front i { font-style: normal; font-size: .6rem; letter-spacing: .14em; opacity: .7; }
.nf-back { transform: rotateY(180deg); --ink: #0c0c0d; --ground: #f6f6f4; --grey: rgba(12, 12, 13, .76); }
.nf-back .piece { margin-top: 0; padding-top: 0; border-top: 0; }
.nf-back .chips li:first-child { color: #f6f6f4; }
.nf-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; }
.nf-back .link { color: #0c0c0d; }
@media (prefers-reduced-motion: reduce) { .nf-inner { transition: none; } }
@media (max-width: 900px) {
  .chapter-body, .chapter:nth-child(even) .chapter-body { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-child(even) .chapter-body > .tile > img { translate: none; }
}

.preface p.beats-sum { columns: auto; max-width: none; font-size: clamp(1.5rem, 3.4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.preface p.beats-sum::first-letter { float: none; font: inherit; padding: 0; letter-spacing: inherit; }

/* ---------- v60: the Bible study section. Dark, device-led, no garments: it must not read as merch ---------- */
.bs { background: #0c0c0d; color: #f3f2ee; --ink: #f3f2ee; --ground: #0c0c0d; --grey: rgba(243, 242, 238, .66); position: relative; }
.bs .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding-block: clamp(56px, 7vw, 120px); }
.bs-kick { color: var(--hl-yellow); }
.bs h2 { font-size: clamp(2.6rem, 6vw, 6rem); margin-top: 14px; max-width: 11ch; }
.bs .hl, .bs-screen .hl { mix-blend-mode: normal; color: #0c0c0d; --m: var(--marker); --m2: var(--marker); }
.bs-facts { list-style: none; padding: 0; margin: clamp(24px, 3vw, 44px) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.bs-facts li { border-top: 2px solid #f3f2ee; padding-top: 10px; display: grid; gap: 4px; }
.bs-facts b { font-family: var(--gothic); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: .9; }
.bs-facts span { font-size: .92rem; font-weight: 600; line-height: 1.25; color: var(--grey); }
.bs-scan { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(22px, 2.6vw, 36px); }
.bs-scan img { width: clamp(96px, 10vw, 132px); height: auto; background: #fff; padding: 8px; flex: none; }
.bs-scan p { display: grid; gap: 4px; max-width: 22em; }
.bs-scan strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.bs-scan span { color: var(--grey); font-size: .95rem; line-height: 1.35; }
.bs .btn { background: var(--hl-yellow); border-color: var(--hl-yellow); color: #0c0c0d; }
.bs .btn:hover { background: #f3f2ee; border-color: #f3f2ee; color: #0c0c0d; }
.bs-device { display: grid; justify-items: center; gap: 18px; }
.bs-phone { width: min(100%, 340px); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px; background: #1d1d20; box-shadow: 0 0 0 2px #3a3a3f, 0 40px 60px -30px rgba(0, 0, 0, .9), 14px 16px 0 var(--hl-yellow); rotate: 2deg; }
.bs-screen { --ink: #0c0c0d; height: 100%; border-radius: 34px; background: #f6f6f4; color: #0c0c0d; overflow: hidden; display: flex; flex-direction: column; }
.bs-url { text-align: center; font-size: .56rem; letter-spacing: .04em; text-transform: none; padding: 16px 12px 9px; background: #e9e8e4; color: rgba(12, 12, 13, .7); }
.bs-page { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; border-top: 6px solid var(--tone); }
.bs-label { font-size: .54rem; color: rgba(12, 12, 13, .6); }
.bs-page h3 { font-family: var(--gothic); font-weight: 400; font-size: 1.9rem; line-height: .95; margin-bottom: 4px; }
.bs-pass { font-size: .86rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 8px; }
.bs-pass sup { font-family: var(--mono); font-size: .6em; font-weight: 500; margin-right: .4em; }
.bs-pass .red { color: var(--red); }
.bs-q { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.18; }
.bs-act { margin-top: auto; padding: 10px 12px; background: var(--tone); font-size: .84rem; font-weight: 600; line-height: 1.25; display: grid; gap: 4px; }
.bs-act .mono { font-size: .52rem; opacity: .7; }
.bs-open { display: block; text-align: center; padding: 11px; background: #0c0c0d; color: #f6f6f4; font-weight: 700; font-size: .84rem; text-decoration: none; }
.bs-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 420px; }
.bs-tabs button { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: .6em .8em; border: 1.5px solid var(--tone); background: transparent; color: var(--tone); cursor: pointer; border-radius: 999px; }
.bs-tabs button[aria-pressed="true"] { background: var(--tone); color: #0c0c0d; }
@media (max-width: 900px) { .bs .wrap { grid-template-columns: minmax(0, 1fr); } .bs-phone { rotate: 0deg; } }

/* ---------- v63: contact on a solid highlighter-yellow sheet (replaces the grey smoked glass) ---------- */
.contact, :root[data-theme="dark"] .contact { background: var(--hl-yellow); color: #0c0c0d; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; }
.contact-intro h2, .contact-intro p { text-shadow: none; color: #0c0c0d; }
.contact-intro p { color: rgba(12, 12, 13, .78); }
.contact .hl, :root[data-theme="dark"] .contact .hl { --marker: #f6f6f4; --m: #f6f6f4; --m2: #f6f6f4; color: #0c0c0d; }
.contact .note-card { box-shadow: 0 28px 40px -26px rgba(12, 12, 13, .55); }
.contact :focus-visible { outline-color: #0c0c0d; }

/* ---------- v64: Bible study section as a poster: the code itself is the hero ---------- */
.bsc { background: var(--hl-yellow); color: #0c0c0d; }
.bsc .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding-block: clamp(56px, 7vw, 120px); }
.bsc-qr { display: block; background: #fff; padding: clamp(14px, 2vw, 28px); box-shadow: 18px 18px 0 #0c0c0d; rotate: -2deg; color: #0c0c0d; text-decoration: none; transition: rotate .5s var(--ease), translate .5s var(--ease); }
.bsc-qr:hover { rotate: 0deg; translate: -4px -4px; }
.bsc-qr img { width: 100%; height: auto; display: block; }
.bsc-qr .mono { display: block; font-size: .7rem; letter-spacing: .12em; text-align: center; margin-top: 12px; }
.bsc h2 { font-family: var(--gothic); font-weight: 400; font-size: clamp(3.4rem, 8vw, 8.4rem); line-height: .84; }
.bsc-lede { margin-top: 22px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; max-width: 22em; line-height: 1.3; letter-spacing: -.02em; }
.bsc-steps { margin: 30px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bsc-steps span { background: #0c0c0d; color: #f6f6f4; padding: .6em 1em; font-weight: 700; font-size: .95rem; }
.bsc .btn, :root[data-theme="dark"] .bsc .btn { background: #0c0c0d; border-color: #0c0c0d; color: #f6f6f4; }
.bsc .btn:hover { background: transparent; color: #0c0c0d; }
.bsc :focus-visible { outline-color: #0c0c0d; }
@media (max-width: 900px) { .bsc .wrap { grid-template-columns: minmax(0, 1fr); } .bsc-qr { max-width: 340px; } }

/* ---------- v65: Rooted hoodie beside the code, with a pointer to where it is printed ---------- */
.bsc-show { position: relative; padding-bottom: 6%; }
.bsc-piece { position: relative; display: block; width: 86%; margin-left: auto; aspect-ratio: 1; }
.bsc-piece img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .25)); }
.bsc-ring { position: absolute; left: 62.9%; top: 65.2%; width: 11%; aspect-ratio: 1; translate: -50% -50%; border: 3px solid #0c0c0d; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.bsc-point { position: absolute; left: 64%; top: 70%; width: 30%; color: #0c0c0d; pointer-events: none; }
.bsc-point svg { width: 52%; display: block; }
.bsc-point em { display: inline-block; font-style: normal; font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; background: #fff; padding: .2em .45em; rotate: -4deg; margin-top: -4px; }
.bsc-show .bsc-qr { position: absolute; left: 0; bottom: 0; width: 42%; padding: clamp(10px, 1.2vw, 18px); box-shadow: 12px 12px 0 #0c0c0d; z-index: 2; }
.bsc-show .bsc-qr .mono { font-size: .56rem; margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) { .bsc-ring { animation: bsc-pulse 1.8s ease-in-out infinite; } }
@keyframes bsc-pulse { 50% { scale: 1.25; } }
@media (max-width: 900px) { .bsc-show { max-width: 520px; } .bsc-point em { font-size: 1.5rem; } }

/* ---------- v69: the hoodie fills its column (tight crop), code card and pointer tucked under it ---------- */
@media (min-width: 901px) { .bsc .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.bsc-show { padding-bottom: 0; margin-bottom: clamp(70px, 9vw, 130px); }
.bsc-piece { width: 100%; margin: 0; aspect-ratio: 993 / 743; }
.bsc-ring { left: 63.55%; top: 75.73%; width: 8%; }
.bsc-point { left: auto; right: 2%; top: 92%; width: auto; display: flex; align-items: flex-start; gap: 6px; }
.bsc-point svg { width: clamp(48px, 6vw, 84px); flex: none; margin-top: -18px; }
.bsc-point em { white-space: nowrap; margin-top: 18px; }
.bsc-show .bsc-qr { left: -1%; bottom: auto; top: 64%; width: 30%; }
@media (max-width: 900px) { .bsc-show { max-width: none; } .bsc-show .bsc-qr { width: 34%; } }
.bsc-point { left: 59%; right: auto; }

/* ---------- v70: verse title bars as frosted glass (the page shows through, blurred); flat ribbon ---------- */
.sign, :root[data-theme="dark"] .sign { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)), rgba(16, 16, 18, .52); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-block: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.sign h3, .sign .sign-ref, .sign .sign-go { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.ribbon { background: var(--red); filter: none; }
/* v71: more see-through */
.sign, :root[data-theme="dark"] .sign { background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)), rgba(16, 16, 18, .3); -webkit-backdrop-filter: blur(7px) saturate(130%); backdrop-filter: blur(7px) saturate(130%); }
.sign h3, .sign .sign-ref, .sign .sign-go { text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 18px rgba(0, 0, 0, .45); }
.ticker.red.ink { color: var(--ink); } /* red stays for the words of Christ; this line is ours */
