/* VOICE: a small Catholic press and a man's notebook: quiet, warm, sure of itself.
   IDEA: dig. No. 1, the magazine, opened up into a website. Every page is a spread.
   PICTURE: his own photographs, full bleed and uncaptioned, and real book pages at full size.
   COLOUR and TYPE: parchment #e8e4d7, ink, rust #c2571a for rules and small caps only. EB Garamond, Alegreya SC.
   LAYOUT: a printed page: generous margins, a masthead, folios, rules between sections. */
:root{color-scheme:light dark;
--bg:light-dark(#e8e4d7,#191714);--paper:light-dark(#f2efe6,#211e1a);--ink:light-dark(#1f1b16,#ebe6d9);
--soft:light-dark(#5a5248,#b9b0a1);--rust:light-dark(#b24a12,#e07a45);--rule:light-dark(#cfc7b5,#3a352d);--deep:#1f1b16}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:80px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.6 "EB Garamond",Georgia,serif;overflow-x:clip}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration-color:var(--rust);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--rust)}
a:focus-visible,button:focus-visible{outline:2px solid var(--rust);outline-offset:3px}
h1,h2,h3{font-weight:500;line-height:1.08;text-wrap:balance;margin:0 0 .35em}
h1{font-size:clamp(38px,5.4vw,64px)}h2{font-size:clamp(30px,3.6vw,46px)}h3{font-size:24px;line-height:1.2}
p{margin:0 0 1em}
.sc{font-family:"Alegreya SC",Georgia,serif;letter-spacing:.06em;font-size:15px;color:var(--rust)}
.lede{font-style:italic;font-size:clamp(20px,2vw,24px);color:var(--soft);max-width:34em}
.wrap{max-width:1240px;margin:0 auto;padding:0 max(5vw,18px)}
.band{padding:clamp(40px,6vw,88px) 0}
.rule{border:0;border-top:1px solid var(--rule);margin:0}
.btn{display:inline-flex;align-items:center;gap:.5em;min-height:46px;padding:10px 20px;border:1px solid var(--ink);background:transparent;color:var(--ink);font:500 17px/1 "EB Garamond",serif;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--ink);color:var(--bg)}
.btn.solid{background:var(--deep);color:#f2efe6;border-color:var(--deep)}
.btn.solid:hover{background:var(--rust);border-color:var(--rust);color:#fff}
.price{white-space:nowrap;color:var(--rust);font-variant-numeric:oldstyle-nums}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* masthead */
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(6px);border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;flex-wrap:wrap}
.mark{font:800 34px/1 Alegreya,Georgia,serif;text-decoration:none;letter-spacing:-.01em}
.mark i{font-style:normal;color:var(--rust)}
.nav{display:flex;flex-wrap:wrap;gap:4px 20px;font-family:"Alegreya SC",serif;font-size:16px;letter-spacing:.05em}
.nav a{text-decoration:none;padding:10px 0}.nav a[aria-current]{color:var(--rust)}
@media(max-width:760px){.top .wrap{padding-block:8px}.nav{width:100%;overflow-x:auto;flex-wrap:nowrap;gap:18px;padding-bottom:4px}.nav a{flex:none}}

/* footer */
.foot{background:var(--deep);color:#e8e4d7;margin-top:0}
.foot .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:32px;padding-block:56px}
.foot .mark{color:#e8e4d7}.foot a{color:#e8e4d7}.foot .sc{color:#e07a45}
.foot ul{list-style:none;padding:0;margin:0;line-height:2}
.foot small{display:block;color:#b9b0a1;margin-top:14px}
@media(max-width:760px){.foot .wrap{grid-template-columns:minmax(0,1fr)}}

/* shared figures */
.cap{font-size:15px;color:var(--soft);font-style:italic;margin-top:8px}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:820px){.grid2,.grid3{grid-template-columns:minmax(0,1fr)}}
.photo{background:var(--paper)}
.photo img{width:100%;height:100%;object-fit:cover}

/* the shelf line, as in the magazine */
.lines{border-top:1px dotted var(--soft);margin:14px 0 18px}
.lines a,.lines div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px dotted var(--soft);text-decoration:none}
.lines a:hover span:first-child{color:var(--rust)}

/* carousel of spreads */
.car{position:relative}
.track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:10px}
.track>figure{flex:0 0 auto;max-width:94%;scroll-snap-align:center;margin:0}
.track img{height:min(70vh,720px);width:auto;max-width:100%;object-fit:contain;cursor:zoom-in}
@media(max-width:600px){.track img{height:auto;max-height:70vh;width:88vw}}
.carbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.carbar button{min-width:46px;min-height:46px;border:1px solid var(--ink);background:none;color:var(--ink);font-size:20px;cursor:pointer}
.carbar button:hover{background:var(--ink);color:var(--bg)}

/* spec table */
table.spec{width:100%;border-collapse:collapse;font-size:17px}
.spec th,.spec td{text-align:left;padding:10px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.spec th{font:400 15px/1.4 "Alegreya SC",serif;letter-spacing:.05em;color:var(--rust);width:9em;padding-right:16px}

/* lightbox */
.lb{position:fixed;inset:0;background:rgba(15,13,11,.94);display:none;align-items:center;justify-content:center;z-index:50;padding:3vw}
.lb.on{display:flex}.lb img{max-height:94vh;width:auto;max-width:100%}
.lb button{position:absolute;top:12px;right:12px;min-width:46px;min-height:46px;background:none;border:1px solid #e8e4d7;color:#e8e4d7;font-size:22px;cursor:pointer}
