/* ============================================================
   BLACKBURN CHURCH — Sewickley Heights, PA
   Design direction: MAGAZINE COVER
   Masthead + coverlines + sticker badge; inside pages on a
   3-column magazine grid with drop caps.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Tokens ---------- */
:root {
  /* Sampled from the church's own building and sanctuary */
  --ink:        #16130F;   /* the ink of a printed page          */
  --ink-2:      #4A4238;   /* muted body copy on paper  8.8:1    */
  --ink-3:      #6B6053;   /* captions on paper         5.2:1    */
  --paper:      #F6F1E7;   /* cream sanctuary walls              */
  --paper-2:    #EDE5D6;
  --paper-3:    #E2D8C4;
  --rule:       #CFC3AB;

  --flame:      #B3241F;   /* cross-and-flame red — on paper 5.9:1 */
  --flame-lt:   #F0685E;   /* the same red, for dark grounds 6.0:1 */
  --gold:       #D9A216;   /* the stained glass — on ink 8.1:1     */
  --oak:        #8B5A2B;   /* the pews                             */
  --moss:       #2F4A33;   /* the altar banners                    */

  --on-dark:    #F6F1E7;
  --on-dark-2:  #D8D0C2;   /* on ink 12.1:1                        */

  --serif: 'DM Serif Display', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans:  'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --cond:  'Barlow Condensed', 'Barlow', 'Arial Narrow', Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3.5rem);   /* page gutter */
  --bar: 0px;                           /* bottom action bar height */
  --nav-h: 64px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  padding-bottom: var(--bar);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }

a { color: var(--flame); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .cover :focus-visible { outline-color: var(--gold); }

.wrap { width: min(1320px, 100% - (var(--gut) * 2)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--on-dark); padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

/* ============================================================
   MASTHEAD / NAV
   ============================================================ */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  /* inset rule, not a border — the header must stay EXACTLY --nav-h tall so the
     pinned cover below it can be sized as calc(100svh - var(--nav-h)).        */
  box-shadow: inset 0 -1px 0 rgba(246,241,231,.16);
}
.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h);
}
.wordmark {
  display: flex; align-items: baseline; gap: .55rem;
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  color: var(--on-dark); text-decoration: none; letter-spacing: -.02em; line-height: 1;
}
.wordmark:hover { color: var(--gold); }
.wordmark span {
  font-family: var(--cond); font-size: .58em; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }
.nav a {
  font-family: var(--cond); font-size: 1rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-2); text-decoration: none;
  padding: .5rem 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: .15rem;
  height: 2px; background: var(--gold); transition: right .22s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

/* Give — a nav item, but an action: gold text so it reads as the one thing in
   the bar that is not navigation, without competing with the solid CTA. */
.nav-give { color: var(--gold) !important; }
.nav-give::after { background: var(--gold); }
.nav-give:hover { color: var(--on-dark) !important; }
.drawer-give { color: var(--gold) !important; }

.nav-cta {
  font-family: var(--cond); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: .6rem 1.15rem; border-radius: 2px; white-space: nowrap;
}
.nav-cta:hover { background: var(--on-dark); color: var(--ink); }

/* Hamburger */
.burger {
  display: none; background: none; border: 1px solid rgba(246,241,231,.32);
  width: 46px; height: 46px; border-radius: 3px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger i { display: block; width: 20px; height: 2px; background: var(--on-dark); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--ink); padding: 1.5rem var(--gut) 4rem;
  overflow-y: auto; display: none;
}
.drawer.open { display: block; animation: drawerIn .22s ease both; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer a {
  display: block; font-family: var(--serif); font-size: 2rem; color: var(--on-dark);
  text-decoration: none; padding: .7rem 0; border-bottom: 1px solid rgba(246,241,231,.14);
}
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--gold); }
.drawer .drawer__meta {
  margin-top: 2rem; font-family: var(--cond); text-transform: uppercase;
  letter-spacing: .16em; color: var(--on-dark-2); font-size: .95rem; line-height: 2;
}

/* ============================================================
   COVER (hero) — pinned drone video scrub, masthead, coverlines
   ============================================================ */
.cover-track {
  position: relative;
  height: 340vh;
  background: var(--ink);
}
.cover {
  position: sticky;
  top: var(--nav-h);
  isolation: isolate;
  height: calc(100svh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  background: var(--ink);
  overflow: hidden;
  /* bottom padding clears the scroll hint so the CTA never sits on it */
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(3.25rem, 5vw, 4.5rem);
  z-index: 10;
}
.cover__bg {
  position: absolute; inset: 0; z-index: -2;
  transform: scale(1.08);            /* parallax head-room */
  will-change: transform;
}
.cover__bg > img, .cover__bg > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
/* The video sits ON the poster and is revealed only once it has genuinely
   painted a frame. On iOS it may never get there — Low Power Mode refuses to
   preload video at all, and Safari will not paint one before a user gesture —
   in which case the poster carries the hero and nothing is ever black.
   `.ready` is added by site.js on the first real seek or canplay. */
.cover__bg > video { z-index: 1; opacity: 0; transition: opacity .45s ease; }
.cover__bg > video.ready { opacity: 1; }
.cover__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transition: opacity .3s ease;
  background:
    /* weights the lower-left so the coverline stack always has a ground */
    radial-gradient(62% 58% at 6% 92%, rgba(10,8,6,.94) 0%, rgba(10,8,6,.55) 55%, rgba(10,8,6,0) 78%),
    linear-gradient(100deg, rgba(10,8,6,.88) 0%, rgba(10,8,6,.75) 34%, rgba(10,8,6,.40) 62%, rgba(10,8,6,.25) 100%),
    linear-gradient(to bottom, rgba(10,8,6,.70) 0%, rgba(10,8,6,.15) 40%, rgba(10,8,6,.85) 100%);
}
/* ---- The welcome beat ----
   Once the flight is through the doors the masthead and coverlines are gone and
   this takes the centre of the frame. WELCOME is set in exactly the masthead
   treatment; the verse sits under it. JS drives the opacity from scroll
   position, so it starts hidden — without JS the cover is the cover.        */
.cover__head { transition: opacity .25s ease; will-change: opacity, transform; }

.cover__welcome {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding: 0 var(--gut);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}
/* Its own ground, fading in with it — inside the doors the frame is a bright
   cream sanctuary, and cream type on cream would fail. 11.7:1 with this. */
.cover__welcome::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 48% at 50% 48%,
    rgba(10,8,6,.86) 0%, rgba(10,8,6,.66) 45%, rgba(10,8,6,.20) 78%, rgba(10,8,6,0) 100%);
}
.cover__welcome-word {
  font-family: var(--serif); color: var(--on-dark);
  font-size: clamp(3.4rem, 13.2vw, 12.5rem);
  line-height: .82; letter-spacing: -.035em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.cover__welcome-verse {
  max-width: 26ch;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, .85rem + .95vw, 1.9rem);
  line-height: 1.3; color: var(--on-dark);
  text-shadow: 0 2px 22px rgba(0,0,0,.8);
  opacity: 0;
  will-change: opacity, transform;
}
.cover__welcome-verse cite {
  display: block; margin-top: clamp(.7rem, 1.4vw, 1.1rem);
  font-family: var(--cond); font-style: normal;
  font-size: clamp(.72rem, .65rem + .2vw, .85rem);
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  text-shadow: none;
}

.cover__scroll-hint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  font-family: var(--cond);
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--on-dark-2);
  transition: opacity .3s ease;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .5rem;
  pointer-events: none;
}
.cover__scroll-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  animation: bounceHint 1.8s infinite;
}
@keyframes bounceHint {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}
/* The supplied stills and drone flight are an AI restyle of the church's real
   photograph, and the reader-board lettering inside them is not the church's
   actual sign. This corner wash stays put while the rest of the scrim relaxes,
   so that board never reads as genuine signage — and it keeps a ground under
   the coverline stack at every scroll position. */
.cover::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(26% 24% at 6% 91%, rgba(10,8,6,.97) 0%, rgba(10,8,6,.90) 55%, rgba(10,8,6,0) 100%),
    linear-gradient(to top right, rgba(10,8,6,.90) 0%, rgba(10,8,6,.46) 20%, rgba(10,8,6,0) 40%);
}

.cover__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .30; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Top rule of the cover: issue line */
.cover__issue {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .24em;
  font-size: clamp(.7rem, .62rem + .2vw, .82rem); color: var(--gold);
  padding-bottom: .8rem; border-bottom: 1px solid rgba(217,162,22,.45);
}
.cover__issue b { color: var(--on-dark); font-weight: 600; }

/* The big masthead logotype */
.cover__masthead {
  font-family: var(--serif); color: var(--on-dark);
  font-size: clamp(3.4rem, 13.2vw, 12.5rem);
  line-height: .82; letter-spacing: -.035em;
  margin: clamp(.6rem, 1.6vw, 1.2rem) 0 0;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0,0,0,.55);
}
.cover__masthead small {
  display: block; font-family: var(--cond); font-size: clamp(.8rem, .55rem + .8vw, 1.35rem);
  letter-spacing: .42em; color: var(--gold); text-transform: uppercase;
  margin-top: clamp(.5rem, 1.2vw, 1rem); text-shadow: none;
}

.cover__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-top: auto; padding-top: clamp(1.25rem, 3vw, 2.5rem); min-height: 0; }

/* Coverline stack, down the left */
.coverlines { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.6rem); max-width: 34rem; }
/* Hidden only once JS has armed the cover — if the script never runs the
   coverlines still render, so the hero can never end up blank. */
.cover.armed .coverline { opacity: 0; transform: translateX(-28px); }
.cover.ready .coverline { animation: slideIn .7s cubic-bezier(.2,.7,.3,1) forwards; }
.cover.ready .coverline:nth-child(1) { animation-delay: .15s; }
.cover.ready .coverline:nth-child(2) { animation-delay: .30s; }
.cover.ready .coverline:nth-child(3) { animation-delay: .45s; }
.cover.ready .coverline:nth-child(4) { animation-delay: .60s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

.coverline__kicker {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .24em;
  font-size: .78rem; color: var(--gold); display: block; margin-bottom: .3rem;
}
.coverline__lead {
  font-family: var(--serif); font-size: clamp(1.85rem, 1.2rem + 2.3vw, 3.3rem);
  color: var(--on-dark); line-height: 1.02; letter-spacing: -.02em;
}
.coverline__lead em { font-style: normal; color: var(--flame-lt); }
.coverline > p:not([class]) { color: var(--on-dark-2); font-size: 1.05rem; margin-top: .5rem; max-width: 30rem; }

.coverline--sm .coverline__lead { font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }

/* THE one hero hover animation — the primary CTA */
.cover__cta {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--cond); font-size: 1.1rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: .95rem 1.75rem; border-radius: 2px; margin-top: .5rem; width: fit-content;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), background-color 200ms ease;
}
.cover__cta:hover, .cover__cta:focus-visible { transform: translateY(-4px); background: var(--on-dark); color: var(--ink); }
.cover__cta svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; }

/* Circular sticker badge with the phone number */
.sticker {
  justify-self: end; align-self: end;
  position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1;
  display: grid; place-items: center; text-decoration: none;
  color: var(--ink); border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.sticker__ring { position: absolute; inset: 0; animation: spin 34s linear infinite; }
/* textLength on the <textPath> fits the string to the circle exactly, so the
   ring can never overlap itself at the seam. Do not add letter-spacing here. */
.sticker__ring text { font-family: var(--cond); font-size: 9.6px; text-transform: uppercase; fill: #FFF3E2; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker__core { text-align: center; line-height: 1.05; z-index: 1; }
.sticker__core b {
  display: block; font-family: var(--serif); font-size: clamp(1.05rem, .85rem + .55vw, 1.35rem);
  color: #FFF6EA; letter-spacing: -.01em;
}
.sticker__core span {
  display: block; font-family: var(--cond); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: #FFE0D6; margin-top: .2rem;
}
.sticker:hover .sticker__ring { animation-play-state: paused; }

/* ============================================================
   INSIDE-PAGE HEAD — a folio band, not a second cover
   ============================================================ */
.pagehead {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 3px solid var(--gold);
}
.pagehead__bg { position: absolute; inset: -14% 0 -14% 0; z-index: -2; will-change: transform; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.pagehead::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(10,8,6,.95) 0%, rgba(10,8,6,.88) 45%, rgba(10,8,6,.62) 100%),
    linear-gradient(to bottom, rgba(10,8,6,.55), rgba(10,8,6,.86));
}
.folio {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .24em;
  font-size: clamp(.68rem, .62rem + .18vw, .8rem); color: var(--gold);
  padding-bottom: .9rem; border-bottom: 1px solid rgba(217,162,22,.45); margin-bottom: 1.4rem;
}
.folio b { color: var(--on-dark); font-weight: 600; }
.pagehead h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.6rem); color: var(--on-dark);
  text-transform: uppercase; letter-spacing: -.03em; line-height: .88;
}
.pagehead .deck { color: var(--on-dark-2); max-width: 48ch; }

/* ============================================================
   CONTENTS STRIP
   ============================================================ */
.contents { background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--gold); }
.contents__in { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; }
.contents__lead {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem;
  padding: 1.5rem 0 1.1rem; border-bottom: 1px solid rgba(246,241,231,.18);
}
.contents__lead h2 { font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); color: var(--on-dark); }
.contents__lead p { font-family: var(--cond); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--gold); }
.contents__item {
  display: block; text-decoration: none; padding: 1.5rem clamp(.9rem, 2vw, 1.6rem) 1.7rem;
  border-right: 1px solid rgba(246,241,231,.14); transition: background-color .25s ease;
}
.contents__item:last-child { border-right: 0; }
.contents__item:first-child { padding-left: 0; }
.contents__item:hover { background: rgba(217,162,22,.12); }
.contents__no { font-family: var(--cond); font-size: .78rem; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
.contents__ttl { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--on-dark); margin: .35rem 0 .3rem; }
.contents__sub { font-size: .95rem; color: var(--on-dark-2); line-height: 1.45; }

/* ============================================================
   THE DOORS — pinned drone scrub
   ============================================================ */
.doors-track { position: relative; height: 340vh; background: var(--ink); }
.doors-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); }
.doors-pin video, .doors-pin > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.doors-vig {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 38%, rgba(0,0,0,.72) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 62%, rgba(0,0,0,.9) 100%);
}
.doors-cap {
  position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 5rem);
  text-align: center; padding-inline: var(--gut);
}
.doors-cap h2 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.75rem); color: var(--on-dark);
  text-shadow: 0 4px 34px rgba(0,0,0,.8);
}
.doors-cap p {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .3em;
  font-size: clamp(.72rem, .65rem + .2vw, .85rem); color: var(--gold); margin-top: .9rem;
}
.doors-hint {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.2rem;
  font-family: var(--cond); letter-spacing: .26em; text-transform: uppercase;
  font-size: .72rem; color: var(--on-dark-2); transition: opacity .3s ease;
}

/* ============================================================
   MAGAZINE SECTIONS ON PAPER
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: var(--on-dark); }
.section--ink p { color: var(--on-dark-2); }

.kicker {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .26em;
  font-size: .78rem; color: var(--flame); display: flex; align-items: center; gap: .8rem;
  margin-bottom: .9rem;
}
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.section--ink .kicker { color: var(--gold); }
.section--ink .kicker::after { background: rgba(246,241,231,.28); }

.h-feature { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.4rem); letter-spacing: -.025em; }
.h-sect    { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem); }
.h-card    { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); }

.deck {
  font-family: var(--cond); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  color: var(--ink-2); line-height: 1.4; max-width: 44ch; margin-top: 1rem;
}
.section--ink .deck { color: var(--on-dark-2); }

/* 3-column magazine grid with a drop cap */
.cols3 { columns: 3; column-gap: clamp(1.5rem, 3vw, 2.75rem); column-rule: 1px solid var(--rule); margin-top: 2rem; }
.cols2 { columns: 2; column-gap: clamp(1.5rem, 3vw, 2.75rem); column-rule: 1px solid var(--rule); margin-top: 2rem; }
.cols3 p, .cols2 p { margin-bottom: 1.05em; }
.cols3 p:last-child, .cols2 p:last-child { margin-bottom: 0; }
.section--ink .cols3, .section--ink .cols2 { column-rule-color: rgba(246,241,231,.24); }

.dropcap::first-letter {
  font-family: var(--serif); float: left; font-size: 3.55em; line-height: .78;
  padding: .06em .1em 0 0; color: var(--flame);
}
.section--ink .dropcap::first-letter { color: var(--gold); }

.pull {
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem);
  line-height: 1.18; color: var(--ink); border-top: 3px solid var(--flame);
  padding-top: 1rem; margin: 1.6rem 0; break-inside: avoid;
}
.pull cite { display: block; font-family: var(--cond); font-style: normal; font-size: .82rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: .7rem; }

/* Feature: image bleeding, text column */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
.feature--flip > .feature__media { order: 2; }
/* set by site.js when an optional image is absent — no empty half-grid */
.feature--solo { grid-template-columns: 1fr; max-width: 62rem; }

/* A frame reads as a deliberate dark plate even when its image has not
   landed yet — the gradient ground is the placeholder. */
.frame {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(217,162,22,.14), rgba(217,162,22,0) 60%),
    linear-gradient(155deg, #35291C 0%, #221B14 55%, #16130F 100%);
}
.frame img {
  position: relative; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  color: transparent;                 /* no broken-image alt text on a miss */
}
/* Caption sits on its own solid bar, with the gradient feathering above it */
.frame figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  background: #14110D;
  color: var(--on-dark); padding: .7rem 1.1rem .75rem;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  line-height: 1.35;
}
.frame figcaption::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 5rem;
  background: linear-gradient(to top, rgba(20,17,13,.95), rgba(20,17,13,0));
  pointer-events: none;
}
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--sq   { aspect-ratio: 1; }

/* clip-path wipe reveal.
   The clip lives on the inner image, never on the observed element itself —
   an element clipped to zero width never reports as intersecting, so it would
   never be told to reveal. The frame's gradient ground shows underneath while
   the photograph wipes across it. */
.wipe > img { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.16,.84,.32,1); }
.wipe.in > img { clip-path: inset(0 0 0 0); }
.wipe > figcaption { opacity: 0; transition: opacity .5s ease .45s; }
.wipe.in > figcaption { opacity: 1; }

/* generic scroll reveal */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.rise.in { opacity: 1; transform: none; }

/* Three shorts */
.shorts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.short { display: flex; flex-direction: column; }
.short__no {
  font-family: var(--cond); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--flame); border-top: 3px solid var(--flame); padding-top: .6rem; margin-bottom: .8rem;
}
.section--ink .short__no { color: var(--gold); border-top-color: var(--gold); }
.short .frame { margin-bottom: 1rem; }
.short p { color: var(--ink-2); margin-top: .6rem; }
.section--ink .short p { color: var(--on-dark-2); }

/* Quotes column */
.quotes { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quote-list { display: flex; flex-direction: column; gap: 2.25rem; }
.quote { border-left: 3px solid var(--gold); padding-left: 1.25rem; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .85vw, 1.75rem); line-height: 1.24; color: var(--on-dark); }
.quote cite { display: block; font-family: var(--cond); font-style: normal; text-transform: uppercase;
  letter-spacing: .2em; font-size: .78rem; color: var(--gold); margin-top: .75rem; }

/* Info list (times, address) */
.dl { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.dl > div { display: grid; grid-template-columns: minmax(7.5rem, 12rem) 1fr; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.dl dt { font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--ink-3); }
.dl dd { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); color: var(--ink); }
.dl dd small { display: block; font-family: var(--sans); font-size: .92rem; color: var(--ink-2); margin-top: .2rem; line-height: 1.5; }
.section--ink .dl, .section--ink .dl > div { border-color: rgba(246,241,231,.24); }
.section--ink .dl dt { color: var(--gold); }
.section--ink .dl dd { color: var(--on-dark); }
.section--ink .dl dd small { color: var(--on-dark-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 2px; border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--flame); color: #FFF6EA; }
.btn--primary:hover { background: var(--ink); color: var(--on-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }
.section--ink .btn--primary { background: var(--gold); color: var(--ink); }
.section--ink .btn--primary:hover { background: var(--on-dark); color: var(--ink); }
.section--ink .btn--ghost { border-color: var(--on-dark); color: var(--on-dark); }
.section--ink .btn--ghost:hover { background: var(--on-dark); color: var(--ink); }
.btnrow { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: 2.5rem; }
.card { background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.25rem, 2.5vw, 1.9rem); }
.section--tint .card { background: var(--paper); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); }
.card__tag { font-family: var(--cond); text-transform: uppercase; letter-spacing: .22em;
  font-size: .74rem; color: var(--flame); display: block; margin-bottom: .55rem; }

/* Event cards — the week's gatherings */
.events {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: 2.5rem;
}
.event {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rule);
  border-top: 4px solid var(--flame);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
}
.section--ink .event { background: rgba(246,241,231,.05); border-color: rgba(246,241,231,.22); border-top-color: var(--gold); }
.event__flyerwrap { margin: -0.35rem 0 1.1rem; border: 1px solid var(--rule); }
.frame--flyer { aspect-ratio: 4 / 5; }
.event__when {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .2em;
  font-size: .78rem; color: var(--flame); margin-bottom: .45rem;
}
.event__name {
  font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.15rem);
  line-height: 1.02; letter-spacing: -.02em; color: var(--ink);
}
.event__name span { color: var(--flame); }
.event__sub {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em;
  font-size: .82rem; color: var(--ink-3); margin-top: .5rem;
}
.event__body { color: var(--ink-2); margin-top: .85rem; font-size: .98rem; }
.event__meta { margin-top: auto; padding-top: 1.1rem; }
.event__meta > div {
  display: grid; grid-template-columns: minmax(4.5rem, 5.5rem) 1fr; gap: .75rem;
  padding: .55rem 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.event__meta dt {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--ink-3);
}
.event__meta dd { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }

/* The creed line under the beliefs statement */
.creed {
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 3px solid var(--flame);
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .24em;
  font-size: clamp(.82rem, .7rem + .35vw, 1.05rem); color: var(--flame);
}
.section--ink .creed { border-top-color: var(--gold); color: var(--gold); }

/* Quote block on a paper ground rather than ink */
.quote--paper blockquote { color: var(--ink); }
.quote--paper cite { color: var(--ink-3); }
.quote--paper { border-left-color: var(--flame); }

/* Timeline */
.timeline { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.timeline__row { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.timeline__yr { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); color: var(--flame); line-height: 1; }
.timeline__row h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.timeline__row p { color: var(--ink-2); }

/* Form */
.form { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--cond); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #FFFDF8;
  border: 1px solid var(--rule); border-radius: 2px; padding: .8rem .9rem; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #6B6053; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--flame); outline: 2px solid rgba(179,36,31,.25); outline-offset: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__note { font-size: .92rem; color: var(--ink-2); }
#visit-out { font: inherit; font-size: .95rem; width: 100%; margin-top: 1rem;
  background: #241F18; color: var(--on-dark); border: 1px solid rgba(246,241,231,.3);
  border-radius: 2px; padding: .8rem .9rem; }

/* Forms and definition lists on the ink ground */
.section--ink .field label { color: var(--gold); }
.section--ink .field input,
.section--ink .field select,
.section--ink .field textarea {
  background: #241F18; color: var(--on-dark); border-color: rgba(246,241,231,.30);
}
.section--ink .field input::placeholder,
.section--ink .field textarea::placeholder { color: #A79C8B; opacity: 1; }
.section--ink .field input:focus,
.section--ink .field select:focus,
.section--ink .field textarea:focus { border-color: var(--gold); outline: 2px solid rgba(217,162,22,.35); }
.section--ink .form__note { color: var(--on-dark-2); }
.section--ink a { color: var(--gold); }
.section--ink a:hover { color: var(--on-dark); }
.section--ink .btn--primary, .section--ink .btn--ghost { color: inherit; }
.section--ink .btn--primary { color: var(--ink); }
.section--ink .btn--ghost { color: var(--on-dark); }
.section--ink .btn--ghost:hover { color: var(--ink); }

/* Map / address block */
.mapcard { border: 1px solid var(--rule); background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-top: 3px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); }
.footer h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); color: var(--on-dark); text-transform: uppercase; letter-spacing: -.03em; line-height: .9; }
.footer h3 { font-family: var(--cond); font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }
.footer ul { list-style: none; display: grid; gap: .5rem; }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem;
  border-top: 1px solid rgba(246,241,231,.18);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
}

/* ============================================================
   MOBILE BOTTOM ACTION BAR
   ============================================================ */
.actionbar { display: none; }

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1100px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .92rem; letter-spacing: .12em; }
  .cols3 { columns: 2; }
  .contents__in { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contents__item:nth-child(2n) { border-right: 0; }
  .contents__item:nth-child(3), .contents__item:nth-child(4) { border-top: 1px solid rgba(246,241,231,.14); }
  .contents__item:nth-child(3) { padding-left: 0; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip > .feature__media { order: 0; }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .cover__body { grid-template-columns: 1fr; align-items: start; gap: clamp(1.75rem, 4vw, 2.5rem); }
  .sticker { justify-self: start; align-self: start; }
  .cover-track, .doors-track { height: 300vh; }
}

@media (max-width: 900px) {
  /* Six nav items plus the CTA exactly fill the bar just above the drawer
     breakpoint. Tighten them, or the header grows past --nav-h and the pinned
     cover — sized as calc(100svh - var(--nav-h)) — overruns the viewport. */
  .nav { gap: .8rem; }
  .nav a { font-size: .86rem; letter-spacing: .08em; }
  .nav-cta { padding: .55rem .9rem; font-size: .9rem; letter-spacing: .1em; }

  .shorts { grid-template-columns: 1fr; }
  .short { display: grid; grid-template-columns: minmax(0, 12rem) 1fr; gap: 1.25rem; align-items: start; }
  .short__no { grid-column: 1 / -1; }
  .short .frame { margin-bottom: 0; }
  .short__body h3 { margin-bottom: .3rem; }
  .timeline__row { grid-template-columns: 1fr; gap: .4rem; }
}

/* ============================================================
   RESPONSIVE — phone
   ============================================================ */
@media (max-width: 780px) {
  :root { --bar: calc(66px + env(safe-area-inset-bottom, 0px)); }

  .nav, .nav-cta { display: none; }
  .burger { display: flex; }

  /* NEVER a utility bar above the header on phones — the bottom bar takes over */
  .topbar { display: none !important; }

  /* The pinned cover must clear the fixed action bar, so everything on it is
     tuned down to fit inside 100svh minus that bar. */
  .cover.is-pinned {
    height: calc(100svh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    padding-bottom: calc(var(--bar) + .85rem);
  }
  .cover:not(.is-pinned) { min-height: auto; padding-bottom: clamp(2rem, 8vw, 3rem); }
  .cover__masthead { font-size: clamp(2.6rem, 14.5vw, 5rem); margin-top: .4rem; }
  .cover__masthead small { font-size: .68rem; letter-spacing: .2em; margin-top: .5rem; }
  .cover__body { gap: 1.25rem; }
  .coverlines { gap: .85rem; }
  .coverline__lead { font-size: clamp(1.45rem, 6.2vw, 2rem); }
  .coverline p { font-size: .94rem; line-height: 1.5; margin-top: .35rem; }
  .cover__cta { padding: .8rem 1.3rem; font-size: 1rem; margin-top: 0; }
  .cover__scroll-hint { display: none; }
  .cover__scrim {
    background:
      radial-gradient(75% 40% at 12% 88%, rgba(10,8,6,.92) 0%, rgba(10,8,6,0) 78%),
      linear-gradient(to bottom, rgba(10,8,6,.86) 0%, rgba(10,8,6,.62) 42%, rgba(10,8,6,.92) 100%);
  }
  .cover__body { padding-top: clamp(1rem, 5vw, 2rem); }
  .sticker { width: 106px; justify-self: end; margin-top: -.25rem; }
  .sticker__core b { font-size: .92rem; }
  .sticker__core span { font-size: .55rem; letter-spacing: .16em; }
  .sticker__ring text { font-size: 11px; letter-spacing: .2em; }

  .contents__in { grid-template-columns: 1fr; }
  .contents__item { border-right: 0; border-bottom: 1px solid rgba(246,241,231,.14); padding-left: 0; padding-right: 0; }
  .contents__item:last-child { border-bottom: 0; }
  .contents__item:nth-child(3) { border-top: 0; }
  .contents__item:nth-child(4) { border-top: 0; }

  .cover-track, .doors-track { height: 260vh; }
  .cols3, .cols2 { columns: 1; column-rule: 0; }
  .short { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .dl > div { grid-template-columns: 1fr; gap: .15rem; }

  /* Fixed bottom action bar */
  .actionbar {
    display: grid; grid-template-columns: 1fr 1.35fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--ink); border-top: 2px solid var(--gold);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .actionbar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 64px; text-decoration: none;
    font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
  }
  .actionbar a:first-child { color: var(--on-dark); border-right: 1px solid rgba(246,241,231,.22); }
  .actionbar a:last-child { background: var(--gold); color: var(--ink); font-weight: 600; }
  .actionbar svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

/* ============================================================
   SHORT PHONES — the hero has a fixed header above it and a fixed
   action bar below it, so the usable band can be as little as ~470px.
   Tighten the cover by viewport HEIGHT, not width, and drop the sticker
   once there is genuinely no room: the number is already in the header
   and in the always-visible Call button.
   ============================================================ */
@media (max-width: 780px) and (max-height: 780px) {
  .cover__issue { font-size: .62rem; letter-spacing: .14em; gap: .25rem .8rem; padding-bottom: .55rem; }
  .cover__masthead { font-size: clamp(2.3rem, 13vw, 4.2rem); margin-top: .25rem; }
  .cover__masthead small { font-size: .6rem; letter-spacing: .16em; margin-top: .35rem; }
  .cover__body { padding-top: .75rem; gap: .85rem; }
  .coverlines { gap: .6rem; }
  .coverline__lead { font-size: clamp(1.3rem, 5.6vw, 1.7rem); }
  .coverline > p:not([class]) { font-size: .88rem; line-height: 1.45; }
  .coverline--sm .coverline__lead { font-size: .95rem; }
  .cover__cta { padding: .7rem 1.1rem; font-size: .92rem; }
  .sticker { width: 88px; }
  .sticker__core b { font-size: .8rem; }
  .sticker__core span { font-size: .5rem; }
  .sticker__ring text { font-size: 12px; }
}

@media (max-width: 780px) and (max-height: 700px) {
  .sticker { display: none; }
  .cover__masthead { font-size: clamp(2.1rem, 12vw, 3.6rem); }
  .coverline > p:not([class]) { font-size: .84rem; }
  .cover__body { padding-top: .5rem; }
}

@media (max-width: 420px) {
  .cover__issue { letter-spacing: .16em; font-size: .66rem; gap: .35rem .9rem; }
  .cover__masthead small { letter-spacing: .26em; }
  .actionbar a { font-size: .92rem; letter-spacing: .1em; }
}
