/* Hallmark · shape: Contact = Counter (the letter is the action, written over Jerusalem), legal = Long Document (a printed sheet beside a sticky index) · genre: editorial · theme: brand (by request: hcph.css tokens, the homepage system, kept) · job: write to our team (contact); read the terms (legal) · hero: Counter on film (contact: the form on a paper plate over the dawn film from the Mount of Olives), Banner on film (legal: the title plate over the Old City film) · imagery: the owner's own Jerusalem photographs and licensed Jerusalem films from the site's media library, no library photos · nav: masthead (site header, kept) · footer: mast (site footer, kept) · signature: a letter written over the Old City at dawn, the clouds moving behind the page · copy: verbatim (legal texts word for word; contact facts as on the live page) */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, contact and legal pages argue little; the argument is carried by place: every screen stands in Jerusalem (the film, the team's hands, the candles), so the reader never leaves the Holy Land to read terms */
/* Hallmark · dismissed 58 · copy: verbatim, the privacy policy and the terms are legal texts kept word for word, read as one long document beside its index */
/* Hallmark · dismissed 83 · the legal pages carry one hero film and one framed photograph at the close; the long document between them is type */
/* Hallmark · candle page: shape Counter-split (the promise on a paper ground beside a framed film of our own candles) · job: add a candle to a prayer · signature: the psalm of incense laid over the pilgrims' candles of the Holy Sepulchre · imagery: the owner's own films (our candles at the Rock of the Agony, pilgrims' candles at the tomb) and the site's labelled photographs */
/* Hallmark · dismissed 25 · the psalm on the candle page is display type over film, set to the homepage verse measure (30ch), not body prose */
/* Hallmark · dismissed 23 · the gold in the candle hero is candlelight: a soft radial glow at 22% behind the words, not a fill */
/* HCP Home · Contact, Privacy Policy, Terms & Conditions (Batch F), Light a Candle in Jerusalem. Uses only the tokens in hcph.css. */

html, body { overflow-x: clip; }
.hcph-lgct .pg main { display: block; }

/* ---------- shared: crumbs, title, film ---------- */
.lgcrumbs ol { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.lgcrumbs li + li::before { content: '\203A'; margin-right: var(--space-xs); color: var(--color-accent-deep); }
.lgcrumbs a { color: var(--color-ink-2); text-decoration: none; }
.lgcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lgcrumbs a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-inner); transition: none; }
.lgh1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-display); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink-2); max-width: 14ch; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.lglede { margin: var(--space-md) 0 0; font-size: var(--text-lead); line-height: 1.55; color: var(--color-muted); max-width: 44ch; text-wrap: pretty; }
.lgmeta { margin: var(--space-md) 0 0; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

.ctfilm { position: absolute; inset: 0; z-index: -1; background: var(--color-field-3); }
.ctfilm video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ctfilm::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-scrim) 0%, transparent 62%), linear-gradient(0deg, var(--color-scrim) 0%, transparent 30%); pointer-events: none; }
.lgfilmctl { position: absolute; right: var(--gutter); top: var(--space-lg); z-index: var(--z-raised); width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--color-on-field-rule); background: transparent; color: var(--color-on-field); cursor: pointer; opacity: 0.6; transition: opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.lgfilmctl:hover, .lgfilmctl:focus-visible { opacity: 1; background: var(--color-shade); }
.lgfilmctl:active { transform: translateY(1px); }
.lgfilmctl:focus-visible { outline: 2px solid var(--color-accent-on-field); outline-offset: 2px; }
.lgfilmctl:disabled { opacity: 0.55; cursor: not-allowed; }
html:not(.js) .lgfilmctl { display: none; }
.lgfilm-cap { position: absolute; right: var(--gutter); bottom: var(--space-md); z-index: var(--z-raised); margin: 0; max-width: 40ch; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-inner); background: var(--color-shade); color: var(--color-on-field); font-size: var(--text-sm); line-height: 1.4; }

/* ---------- contact: the letter over the city ---------- */
.cthero { position: relative; isolation: isolate; min-height: min(92svh, 900px); display: grid; align-items: center; color: var(--color-ink); }
.cthero-in { padding-block: var(--space-3xl); }
.ctplate { width: 100%; max-width: 600px; background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-xl) var(--space-lg); box-shadow: var(--shadow-print); }
.ctplate .lgh1 { font-size: var(--text-display-s); }
.ctform { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-md); }
.ctrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.ctfield { display: grid; gap: var(--space-2xs); min-width: 0; }
.ctfield label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.ctfield input, .ctfield textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: 1.5px solid var(--color-edge); border-radius: var(--radius-inner); background: var(--color-surface); color: var(--color-ink); font: 400 var(--text-md)/1.5 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-short) var(--ease-out); }
.ctfield textarea { min-height: 132px; resize: vertical; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; }
.ctfield input:hover, .ctfield textarea:hover { border-color: var(--color-accent-deep); }
.ctfield input:focus-visible, .ctfield textarea:focus-visible { outline-color: var(--color-focus); transition: none; }
.ctfield input[aria-invalid="true"], .ctfield textarea[aria-invalid="true"] { border-color: var(--color-error); }
.ctfield input:disabled, .ctfield textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.ctsend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.ctsend .btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.ctsend .btn:active { transform: translateY(1px); }
.ctsend .btn:disabled, .ctsend .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; }
.ctnote { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.ctnote a { color: var(--color-ink-2); text-underline-offset: 3px; }
.ctnote a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.ctstatus { margin: 0; min-height: 1lh; font-size: var(--text-md); color: var(--color-ink-2); }
.ctstatus.is-error { color: var(--color-error); }
.cthp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ctdirect { padding: var(--section-gap) 0; background: var(--color-paper); }
.ctdirect-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.ctdirect-t .h2 { max-width: 12ch; }
.ctfacts { margin: var(--space-2xl) 0 0; display: grid; gap: var(--space-lg); }
.ctfacts > div { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.ctfacts dt { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); padding-top: var(--space-2xs); }
.ctfacts dd { grid-column: 2; margin: 0; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); }
.ctfacts dd + dd { margin-top: var(--space-xs); }
.ctfacts .tlink { min-height: 44px; font-size: var(--text-lead); overflow-wrap: anywhere; }
.ctfacts .tlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.ctdirect-p { transform: rotate(-1.5deg); }
.ctdirect-p .photo { aspect-ratio: 3 / 4; }
.ctdirect-p img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ctbefore { padding: var(--section-gap-s) 0 var(--section-gap); background: var(--color-paper); }
.ctbefore-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.ctrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.ctrows li { border-bottom: 1px solid var(--color-rule); }
.ctrows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-lg); align-items: baseline; min-height: 96px; padding: var(--space-lg) 0; text-decoration: none; color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out); }
.ctrows a:hover { background: var(--color-accent-wash); }
.ctrows a:active { transform: translateY(1px); }
.ctrows a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.ctrows-t { font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); line-height: 1.15; color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.ctrows-l { font-size: var(--text-md); line-height: 1.55; color: var(--color-muted); }

/* ---------- legal: the title over the Old City, the sheet beside its index ---------- */
.lghero { position: relative; isolation: isolate; min-height: min(62svh, 600px); display: grid; align-items: end; }
.lghero-in { padding-block: var(--space-3xl) var(--space-2xl); }
.lgplate { width: 100%; max-width: 640px; background: var(--color-paper); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-xl) var(--space-lg); box-shadow: var(--shadow-print); }
.lgplate .lgh1 { font-size: var(--text-display-s); max-width: 16ch; }

.lgbody { padding: var(--section-gap-s) 0 var(--section-gap); background: var(--color-paper-2); }
.lgbody-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-2xl); align-items: start; }
.lgindex { position: sticky; top: var(--space-lg); max-height: calc(100svh - var(--space-2xl)); overflow-y: auto; overscroll-behavior: contain; }
.lgindex summary { list-style: none; font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); cursor: default; }
.lgindex summary::-webkit-details-marker { display: none; }
.lgindex ol { list-style: none; margin: 0; padding: var(--space-xs) 0 0; }
.lgindex a { display: flex; align-items: center; min-height: 36px; padding: var(--space-2xs) var(--space-sm); border-left: 2px solid transparent; font-size: var(--text-sm); line-height: 1.35; color: var(--color-ink-2); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.lgindex a:hover { color: var(--color-accent-deep); border-left-color: var(--color-rule); }
.lgindex a[aria-current="true"] { border-left-color: var(--color-accent); color: var(--color-ink); font-weight: 600; }
.lgindex a:active { transform: translateX(1px); }
.lgindex a:focus-visible, .lgindex summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; transition: none; }

.lgdoc { background: var(--color-surface); border-radius: var(--radius-inner); box-shadow: var(--shadow-print); padding: var(--space-3xl) var(--space-3xl) var(--space-2xl); min-width: 0; font-size: var(--text-body); line-height: 1.7; color: var(--color-ink); }
.lgdoc > * { max-width: 68ch; }
.lgdoc > :first-child { margin-top: 0; }
.lgdoc p { margin: 0 0 var(--space-md); text-wrap: pretty; overflow-wrap: break-word; }
.lgdoc h2 { margin: var(--space-2xl) 0 var(--space-md); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; letter-spacing: 0; color: var(--color-ink-2); scroll-margin-top: var(--space-lg); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.lgdoc h3 { margin: var(--space-xl) 0 var(--space-sm); font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); line-height: 1.3; color: var(--color-ink-2); }
.lgdoc h4 { margin: var(--space-lg) 0 var(--space-xs); font-family: var(--font-body); font-weight: 700; font-size: var(--text-md); line-height: 1.4; color: var(--color-ink-2); }
.lgdoc ul, .lgdoc ol { margin: 0 0 var(--space-md); padding-left: var(--space-lg); }
.lgdoc li { margin: 0 0 var(--space-xs); padding-left: var(--space-2xs); }
.lgdoc li::marker { color: var(--color-accent-deep); }
.lgdoc a { color: var(--color-accent-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lgdoc a:hover { color: var(--color-ink-2); }
.lgdoc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; transition: none; }
.lgdoc strong { font-weight: 700; }

/* ---------- the close: a framed photograph of a holy site beside the way to write ---------- */
.lgclose { padding: var(--section-gap-s) 0 var(--section-gap); background: var(--color-paper); }
.lgclose-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.lgclose.is-flip .lgclose-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lgclose.is-flip .lgclose-p { order: -1; }
.lgclose-s { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-section); line-height: 1.04; letter-spacing: var(--tracking-display); color: var(--color-ink-2); max-width: 14ch; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.lgclose-l { margin: var(--space-md) 0 0; font-size: var(--text-lead); line-height: 1.55; color: var(--color-muted); max-width: 40ch; }
.lgclose-l a { color: var(--color-ink-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lgclose-l a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.lgclose .btn { margin-top: var(--space-lg); }
.lgclose .btn:active { transform: translateY(1px); }
.lgclose .btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.lgclose-p { margin: 0; }
.lgclose-p .photo { aspect-ratio: 4 / 3; }
.lgclose-p img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- candle page: the promise beside our candles burning ---------- */
.cnhero { position: relative; isolation: isolate; overflow: hidden; min-height: min(92svh, 900px); display: grid; grid-template-rows: 1fr auto; align-items: center; padding: var(--space-3xl) 0 var(--space-lg); background: var(--color-field-3); color: var(--color-on-field); }
.cnhero-film { position: absolute; inset: 0; z-index: -2; }
.cnhero-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnhero-film::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 65% at 24% 56%, color-mix(in oklch, var(--color-accent) 22%, transparent), transparent 70%), linear-gradient(90deg, color-mix(in oklch, var(--color-field-3) 93%, transparent) 0%, color-mix(in oklch, var(--color-field-3) 74%, transparent) 40%, color-mix(in oklch, var(--color-field-3) 28%, transparent) 72%, color-mix(in oklch, var(--color-field-3) 8%, transparent) 100%), linear-gradient(0deg, var(--color-field-3) 0%, transparent 32%); }
.cnhero-film .lgfilmctl { top: auto; bottom: var(--space-lg); }
.cnmotes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cnmotes span { position: absolute; bottom: 12%; width: 3px; height: 3px; border-radius: 50%; background: var(--color-accent-on-field); box-shadow: 0 0 8px 3px color-mix(in oklch, var(--color-accent-on-field) 50%, transparent); opacity: 0; }
.cnmotes span:nth-child(1) { left: 18%; } .cnmotes span:nth-child(2) { left: 34%; bottom: 6%; } .cnmotes span:nth-child(3) { left: 51%; bottom: 18%; } .cnmotes span:nth-child(4) { left: 68%; bottom: 8%; } .cnmotes span:nth-child(5) { left: 86%; bottom: 16%; }
.cnhero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.cnhero-t { max-width: 640px; }
.cnhero .lgcrumbs ol { color: var(--color-on-field-2); }
.cnhero .lgcrumbs a { color: var(--color-on-field); }
.cnhero .lgcrumbs li + li::before { color: var(--color-accent); }
.cnhero .lgh1 { color: var(--color-paper); max-width: 13ch; font-size: clamp(2.75rem, 5.6vw + 0.5rem, 6rem); line-height: 0.96; }
.cnhero .lglede { color: var(--color-on-field-2); max-width: 42ch; }
.cnhero .cnacts .tlink { color: var(--color-on-field); }
.cnhero .cnacts .tlink:hover { color: var(--color-accent-on-field); }
.cnstamp { margin: var(--space-2xl) 0 0; padding: 0 var(--gutter); max-width: var(--container); width: 100%; box-sizing: border-box; justify-self: center; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); font-size: var(--text-sm); line-height: 1.5; color: var(--color-on-field-2); }
.cnstamp b { font-weight: 600; color: var(--color-accent-on-field); }
.cnacts { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }
.cnacts .btn:focus-visible, .cnhow .btn:focus-visible, .lgclose .btn-gold:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.cnacts .btn:active, .cnhow .btn:active { transform: translateY(1px); }
.cnacts .tlink { min-height: 44px; display: inline-flex; align-items: center; }
.cnacts .tlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.cnfilm-p { transform: rotate(1.25deg); max-width: 400px; justify-self: end; width: 100%; }
.cnhero .cnfilm-p { box-shadow: var(--shadow-print-dark); }
.cnfilm { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-field-3); }
.cnfilm video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnfilm .lgfilmctl { top: var(--space-sm); right: var(--space-sm); }
.cnfilm-p figcaption, .cnhow-p figcaption { flex-wrap: wrap; }
.cnfilm-p .pc, .cnhow-p .pc { flex: 0 1 auto; }

.cnwhy { padding: var(--section-gap-s) 0 var(--section-gap); background: var(--color-paper); }
.cnwhy-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.cnwhy-t p { margin: 0 0 var(--space-md); font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink); max-width: 60ch; }
.cnreads { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-top: 1px solid var(--color-rule); }
.cnreads li { border-bottom: 1px solid var(--color-rule); }
.cnreads a { display: grid; gap: var(--space-2xs); min-height: 88px; padding: var(--space-md) 0; text-decoration: none; color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out); }
.cnreads a:hover { background: var(--color-accent-wash); }
.cnreads a:active { transform: translateY(1px); }
.cnreads a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.cnreads-t { font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); line-height: 1.15; color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.cnreads-l { font-size: var(--text-md); line-height: 1.55; color: var(--color-muted); }

.cnverse { position: relative; isolation: isolate; min-height: min(78svh, 720px); display: grid; align-items: center; color: var(--color-on-field); }
.cnverse .ctfilm::after { background: linear-gradient(var(--color-shade), var(--color-shade-deep)); }
.cnverse-in { padding-block: var(--section-gap); }
.cnvq { margin: 0; }
.cnvq p { margin: 0; max-width: 30ch; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-display); line-height: 1.12; color: var(--color-on-field); text-wrap: balance; }
.cnvq cite { display: block; margin-top: var(--space-lg); font-style: normal; font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-on-field); }

.cnhow { padding: var(--section-gap) 0; background: var(--color-paper); }
.cnhow-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.cnsteps { list-style: none; margin: var(--space-xl) 0 var(--space-xl); padding: 0; display: grid; gap: var(--space-lg); }
.cnsteps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--space-md); align-items: start; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.cnsteps-n { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1; color: var(--color-accent-deep); }
.cnsteps h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); line-height: 1.15; color: var(--color-ink-2); }
.cnsteps p { margin: var(--space-2xs) 0 0; font-size: var(--text-md); line-height: 1.55; color: var(--color-muted); max-width: 52ch; }
.cnhow-p { transform: rotate(-1.25deg); max-width: 420px; justify-self: end; width: 100%; }

.cnsites { padding: var(--section-gap-s) 0 var(--section-gap); background: var(--color-paper-2); }
.cnsites-h { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: end; }
.cnsites-h .lglede { margin: 0; }
.cngrid { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.cncard { height: 100%; }
.cncard .photo { aspect-ratio: 3 / 2; overflow: hidden; }
.cncard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cncard figcaption { flex-direction: column; align-items: flex-start; gap: var(--space-3xs); }
.cncard a.pl { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.cncard a.pl:hover { text-decoration-thickness: 2px; }
.cncard a.pl:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }

.cnfaq { padding: var(--section-gap) 0 var(--section-gap-s); background: var(--color-paper); }
.cnfaq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.cnqa { border-top: 1px solid var(--color-rule); }
.cnqa details { border-bottom: 1px solid var(--color-rule); }
.cnqa summary { min-height: 64px; display: flex; align-items: center; padding: var(--space-md) 0; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); line-height: 1.2; color: var(--color-ink-2); list-style: none; }
.cnqa summary::-webkit-details-marker { display: none; }
.cnqa summary::after { content: '+'; margin-left: auto; padding-left: var(--space-md); color: var(--color-accent-deep); font-family: var(--font-body); }
.cnqa details[open] summary::after { content: '\2212'; }
.cnqa summary:hover { color: var(--color-ink); }
.cnqa summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.cnqa p { margin: 0 0 var(--space-lg); font-size: var(--text-md); line-height: 1.6; color: var(--color-ink); max-width: 62ch; }
.cnqa a { color: var(--color-ink-2); text-underline-offset: 3px; }
.cnqa a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }

/* ---------- motion: one settle of the plates, visible without script ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ctplate, .lgplate, .cnhero-t, .cnfilm-p { animation: lg-settle 0.6s var(--ease-out) both; }
  .cnmotes span { animation: cn-mote 16s linear infinite; }
  .cnmotes span:nth-child(2) { animation-delay: 4s; } .cnmotes span:nth-child(3) { animation-delay: 8s; } .cnmotes span:nth-child(4) { animation-delay: 2s; } .cnmotes span:nth-child(5) { animation-delay: 11s; }
  @keyframes cn-mote { 0% { transform: translate(0, 40px); opacity: 0; } 15% { opacity: 0.85; } 85% { opacity: 0.6; } 100% { transform: translate(24px, -440px); opacity: 0; } }
  @keyframes lg-settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .ctplate, .lgplate, .cnhero-t, .cnfilm-p { animation: none; }
  .cnmotes { display: none; }
  .ctrows a, .lgindex a, .lgfilmctl, .ctfield input, .ctfield textarea { transition: none; }
  .ctdirect-p, .cnfilm-p, .cnhow-p { transform: none; }
  .cnreads a { transition: none; }
}

/* ---------- under 60rem ---------- */
@media (max-width: 960px) {
  .cthero, .lghero { display: block; min-height: 0; background: var(--color-paper); }
  .ctfilm { position: relative; inset: auto; z-index: 0; height: min(52svh, 420px); }
  .ctfilm::after { background: linear-gradient(0deg, var(--color-scrim) 0%, transparent 40%); }
  .cthero-in, .lghero-in { position: relative; z-index: 1; padding: 0 var(--gutter) var(--space-2xl); margin-top: calc(var(--space-2xl) * -1); }
  .ctplate, .lgplate { max-width: none; padding: var(--space-lg); }
  .lgfilmctl { right: var(--space-md); top: var(--space-md); }
  .cthero > .lgfilm-cap, .lghero > .lgfilm-cap { top: var(--space-md); bottom: auto; left: var(--space-md); right: auto; max-width: min(40ch, calc(100% - 9.5rem)); }
  .ctdirect-in, .ctbefore-in, .lgbody-in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .ctdirect-p { max-width: 420px; }
  .lgindex { position: static; max-height: none; overflow: visible; }
  .lgindex details { border: 1px solid var(--color-rule); border-radius: var(--radius-inner); background: var(--color-surface); padding: var(--space-sm) var(--space-md); }
  .lgindex summary { cursor: pointer; border-bottom: 0; padding-bottom: 0; min-height: 44px; display: flex; align-items: center; }
  .lgindex details[open] summary { border-bottom: 1px solid var(--color-rule); padding-bottom: var(--space-sm); margin-bottom: var(--space-xs); }
  .lgdoc { padding: var(--space-2xl) var(--space-xl); }
  .lgclose-in, .lgclose.is-flip .lgclose-in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .lgclose.is-flip .lgclose-p { order: 0; }
  .cnhero { min-height: 0; padding: max(38svh, 260px) 0 var(--space-lg); }
  .cnhero-film::after { background: linear-gradient(180deg, color-mix(in oklch, var(--color-field-3) 10%, transparent) 0%, color-mix(in oklch, var(--color-field-3) 62%, transparent) 30%, color-mix(in oklch, var(--color-field-3) 95%, transparent) 50%, var(--color-field-3) 100%); }
  .cnhero-film .lgfilmctl { right: var(--space-md); top: var(--space-md); bottom: auto; }
  .cnhero-in, .cnwhy-in, .cnhow-in, .cnsites-h, .cnfaq-in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .cnfilm-p, .cnhow-p { justify-self: start; max-width: 420px; }
  .cnhero .cnfilm-p { justify-self: start; max-width: 300px; }
  .cngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cnverse { display: block; min-height: 0; }
  .cnverse .ctfilm { position: absolute; inset: 0; height: auto; }
  .cnverse .ctfilm::after { background: linear-gradient(var(--color-shade), var(--color-shade-deep)); }
  .cnverse-in { position: relative; z-index: 1; padding-block: var(--space-4xl) var(--section-gap); }
  .cnverse > .lgfilm-cap { top: auto; bottom: var(--space-md); left: auto; right: var(--space-md); }
}

/* ---------- under 40rem ---------- */
@media (max-width: 600px) {
  .ctrow { grid-template-columns: minmax(0, 1fr); }
  .ctplate, .lgplate { padding: var(--space-lg) var(--space-md); }
  .ctfacts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .ctfacts dd { grid-column: 1; }
  .ctrows a { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); min-height: 0; }
  .lgdoc { padding: var(--space-xl) var(--space-md); font-size: var(--text-md); }
  .lgdoc ul, .lgdoc ol { padding-left: var(--space-md); }
  .lgfilm-by { display: none; }
  .cngrid { grid-template-columns: minmax(0, 1fr); }
  .cnhow-p { max-width: none; }
  .cnvq p { font-size: var(--text-section); }
  .cnsteps li { grid-template-columns: 2rem minmax(0, 1fr); }
}
