/* ═══════════════════════════════════════════════════════════════
   DIRECTION A, INNER PAGES (2026-10-07)
   What every page other than the homepage adds to base.css and a.css:
   a black page header under the fixed bar, a split section (copy beside
   a tile), a step grid, pills, a questions list, article prose and
   tables, and the small notice pages. Same tokens, same type scale,
   same one-tile-per-band colouring as the homepage.
═══════════════════════════════════════════════════════════════ */

/* ── Page header: black band under the bar, white type, one line, one or two actions ── */
.r2-a .ph { position: relative; overflow: hidden; background: #0B0C0E; color: #FFFFFF; padding: calc(var(--bar-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 92px); }
.r2-a .ph::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(45,212,191,0.10), rgba(45,212,191,0) 70%); pointer-events: none; }
.r2-a .ph > .r2-wrap { position: relative; z-index: 1; }
.ph-k { margin: 0 0 16px; font-size: 1rem; font-weight: 600; color: var(--accent); }
.ph-h { margin: 0 0 20px; max-width: 14ch; font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }
.ph-h em { font-style: normal; color: var(--accent); }
.ph-p { margin: 0; max-width: 640px; font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.55; color: rgba(255,255,255,0.82); text-wrap: pretty; }
.ph-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.ph-cta .btn { font-size: 1rem; padding: 15px 30px; }
.ph-meta { margin: 24px 0 0; font-size: 0.95rem; color: rgba(255,255,255,0.62); }
.ph-wide .ph-h { max-width: 18ch; }

/* ── On inner pages the bar is black from the first pixel: the header band
   under it is black anyway, and pages without one (references) need it. ── */
.r2-a.r2-page .mn { background: #0B0C0E; }
.r2-a.r2-page .mn.has-open { background: #0B0C0E; }

/* ── Sections on inner pages run a little tighter than the homepage ── */
.r2-a .r2-page .a-sec { padding: clamp(72px, 8.5vw, 120px) 0; }
.r2-a .a-sec-tight { padding: clamp(48px, 6vw, 80px) 0; }
.a-sub-l { margin-left: 0; margin-right: 0; }

/* ── Split: copy on the left, a tile on the right ── */
.pg-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pg-split.is-rev > .pg-copy { order: 2; } .pg-split.is-rev > .pg-tile { order: 1; }
.pg-copy .a-h2 { margin-bottom: 20px; }
.pg-copy p { margin: 0 0 18px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.pg-copy p:last-child { margin-bottom: 0; }
.pg-copy .a-link { margin-top: 10px; }
.pg-tile { padding: 34px 34px 36px; border-radius: var(--r); background: var(--grey); }
.r2-a .a-grey .pg-tile { background: #FFFFFF; }
.pg-tile-k { margin: 0 0 18px; font-size: 0.95rem; font-weight: 600; color: var(--accent-ink); }
.pg-tile ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pg-tile li { position: relative; padding-left: 26px; font-size: 1.02rem; line-height: 1.45; color: var(--text); }
.pg-tile li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 12px; height: 7px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: translateY(-60%) rotate(-45deg); }
.pg-tile .a-link { margin-top: 24px; }
.pg-tile-img { width: 100%; border-radius: var(--r); display: block; aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Service blocks on /services: image tile beside copy, alternating ── */
.pg-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pg-svc + .pg-svc { margin-top: clamp(72px, 9vw, 130px); }
.pg-svc.is-rev > .pg-svc-media { order: 2; }
.pg-svc-media { overflow: clip; border-radius: var(--r); aspect-ratio: 4 / 3; }
.pg-svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-svc .a-kicker { margin-bottom: 10px; }
.pg-svc .a-h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.pg-svc p { margin: 0 0 20px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--text-2); }
.pg-svc ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-svc li { position: relative; padding-left: 24px; font-size: 1rem; line-height: 1.45; color: var(--text); }
.pg-svc li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 11px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: translateY(-60%) rotate(-45deg); }

/* ── One line under a service heading saying who it is for ── */
.pg-for { margin: -6px 0 20px; font-size: 1rem; line-height: 1.5; color: var(--text-2); }
.pg-for b { color: var(--text); font-weight: 600; }
.pg-cell-note { margin: 24px 0 0; font-size: 1rem; color: var(--text-3); }

/* ── Steps: numbered tiles in a row ── */
/* The four steps draw themselves (2026-10-07): the numbers sit on the
   cards' top edge, on a line that draws across them as the row scrolls in
   (down them on a phone), and each number lights in turn. Drawn and lit
   by default, so a browser without scroll timelines and a reader with
   reduced motion see the finished state. */
.pg-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 92px 0 0; padding: 0; list-style: none; counter-reset: step; view-timeline: --steps block; view-timeline-inset: 0 20%; }
.pg-step { position: relative; padding: 30px 28px 32px; border-radius: var(--r); background: var(--grey); counter-increment: step; }
.r2-a .a-grey .pg-step { background: #FFFFFF; }
.pg-step-n { position: absolute; top: -48px; left: 28px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 0.8rem; font-weight: 600; background: var(--accent); border: 2px solid var(--accent); color: #08090A; }
.pg-step-n::before { content: counter(step, decimal-leading-zero); }
.pg-steps::before { content: ''; position: absolute; left: 45px; right: calc(25% - 60px); top: -32px; height: 2px; background: var(--accent); transform-origin: 0 50%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pg-steps::before { animation: pgDraw linear both; animation-timeline: --steps; animation-range: entry 0% entry 100%; }
    @keyframes pgDraw { from { scale: 0 1; } to { scale: 1 1; } }
    @keyframes pgDrawY { from { scale: 1 0; } to { scale: 1 1; } }
    .pg-step-n { animation: pgLit linear both; animation-timeline: --steps; }
    @keyframes pgLit { from { background: #FFFFFF; border-color: var(--line); color: var(--text-3); } to { background: var(--accent); border-color: var(--accent); color: #08090A; } }
    .pg-step:nth-child(1) .pg-step-n { animation-range: entry 0% entry 25%; }
    .pg-step:nth-child(2) .pg-step-n { animation-range: entry 25% entry 50%; }
    .pg-step:nth-child(3) .pg-step-n { animation-range: entry 50% entry 75%; }
    .pg-step:nth-child(4) .pg-step-n { animation-range: entry 75% entry 100%; }
  }
}
.pg-step h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--text); }
.pg-step p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
.pg-step-out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.45; color: var(--text-3); }
.pg-step-out b { color: var(--text); font-weight: 600; }

/* ── Three principles, three reasons, any row of plain tiles ── */
.pg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pg-cell { padding: 32px 30px 34px; border-radius: var(--r); background: var(--grey); }
.r2-a .a-grey .pg-cell { background: #FFFFFF; }
.pg-cell h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--text); }
.pg-cell p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
.pg-cell .a-link { margin-top: 18px; }
/* About, filled out (2026-10-07): a two-cell row, a ledger of refusals, a facts strip. */
.pg-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-left: auto; margin-right: auto; }
/* Two cells side by side: the links sit on the same line however long the text above them runs (Blake, 2026-10-07). */
.pg-row-2 .pg-cell { display: flex; flex-direction: column; }
.pg-row-2 .pg-cell .a-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.pg-cell .a-kicker { margin-bottom: 10px; font-size: 0.9rem; }
.pg-refuse { max-width: 820px; margin: 40px auto 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pg-refuse li { position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line); font-size: 1.05rem; line-height: 1.55; color: var(--text-2); }
.pg-refuse li::before { content: ''; position: absolute; left: 0; top: 24px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent-ink); background: linear-gradient(135deg, transparent 42%, var(--accent-ink) 42%, var(--accent-ink) 58%, transparent 58%); }
.pg-refuse b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--text); }
.pg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 40px auto 0; padding: 0; }
.pg-facts div { padding: 26px 26px 28px; border-radius: var(--r); background: var(--grey); }
.r2-a .a-grey .pg-facts div { background: #FFFFFF; }
.pg-facts dt { margin: 0 0 8px; font-size: 0.85rem; font-weight: 600; color: var(--accent-ink); }
.pg-facts dd { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--text); }
.pg-ask-more { margin: 32px 0 0; text-align: center; }
@media (max-width: 1000px) { .pg-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pg-row-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pg-facts { grid-template-columns: 1fr; } }

/* ── Pills ── */
.pg-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pg-pill { padding: 10px 16px; border-radius: 999px; background: var(--grey); font-size: 0.98rem; font-weight: 500; color: var(--text); }
.r2-a .a-grey .pg-pill { background: #FFFFFF; }
.pg-pills + .a-note { text-align: left; margin-left: 0; }

/* ── Questions ── */
.pg-qs { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.pg-q { border-bottom: 1px solid var(--line); }
.pg-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.pg-q summary::-webkit-details-marker { display: none; }
.pg-q summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 4px; }
.pg-q[open] summary::after { transform: rotate(-135deg); }
.pg-q p { margin: 0 0 24px; max-width: 720px; font-size: 1.05rem; line-height: 1.6; color: var(--text-2); }
.pg-qs-h { text-align: left; margin: 40px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--accent-ink); }
.pg-qs-h + .pg-q { border-top: 1px solid var(--line); margin-top: 14px; }
.pg-qs-group { max-width: 820px; margin: 0 auto; }

/* ── Prose: guides, posts, the privacy policy ── */
.pg-prose { max-width: 740px; margin: 0 auto; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.68; color: var(--text-2); }
.pg-prose > :first-child { margin-top: 0; }
.pg-prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.pg-prose h3 { margin: 1.8em 0 0.5em; font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--text); }
.pg-prose p { margin: 0 0 1.2em; }
.pg-prose ul, .pg-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.pg-prose li { margin: 0 0 0.5em; }
.pg-prose li::marker { color: var(--accent-ink); }
.pg-prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(14,124,112,0.4); text-underline-offset: 3px; }
.pg-prose a:hover { text-decoration-color: currentColor; }
.pg-prose strong { color: var(--text); font-weight: 600; }
.pg-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 1.15em; color: var(--text); }
.pg-prose img { max-width: 100%; height: auto; border-radius: var(--r); display: block; margin: 1.6em 0; }
.pg-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.pg-prose .a-note { text-align: left; }
.pg-lede { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--text); margin-bottom: 1.4em; }

/* ── Tables ── */
.pg-table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: 16px; background: var(--grey); padding: 6px; }
.r2-a .a-grey .pg-table-wrap { background: #FFFFFF; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.4; }
.pg-table th, .pg-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(29,29,31,0.08); }
.pg-table th { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-3); }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-table td.num, .pg-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-table td b { font-weight: 600; color: var(--text); }
.pg-table caption { caption-side: bottom; padding: 12px 16px 8px; text-align: left; font-size: 0.9rem; color: var(--text-3); }

/* ── Guide header meta and the guide figures (reuse the homepage figure look) ── */
.pg-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0; }
.pg-fig { padding: 24px 22px; border-radius: 20px; background: var(--grey); }
.r2-a .a-grey .pg-fig { background: #FFFFFF; }
.pg-fig b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.pg-fig span { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.35; color: var(--text-3); }

/* ── Article header (posts): date and category, then the image ── */
.pg-art-meta { display: flex; gap: 14px; align-items: center; margin: 0 0 18px; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.pg-art-meta b { color: var(--accent); font-weight: 600; }
.pg-art-img { margin: -48px auto 0; max-width: 1080px; padding: 0 var(--gutter); position: relative; z-index: 2; }
.pg-art-clip { overflow: clip; border-radius: var(--r); aspect-ratio: 16 / 9; }
.pg-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }

/* ── Notice pages (thank you, 404, confirmations) ── */
.pg-notice { min-height: calc(100svh - 240px); display: flex; align-items: center; }
.pg-notice-in { max-width: 640px; }
.pg-notice .ph-h { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.pg-notice ol { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: n; }
.pg-notice ol li { position: relative; padding-left: 40px; font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,0.82); counter-increment: n; }
.pg-notice ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); font-size: 0.85rem; font-weight: 600; display: grid; place-items: center; color: #FFFFFF; }

/* ── The close band is the homepage's; inner pages reuse it unchanged ── */

/* ── Reveal: inner sections rise once as they arrive ── */
.r2-reveal .r2-page [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
.r2-reveal .r2-page [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Tablet ── */
@media (max-width: 980px) {
  .pg-steps, .pg-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { row-gap: 72px; }
  .pg-steps::before { display: none; }
  .pg-row, .pg-related { grid-template-columns: 1fr; }
  .pg-split, .pg-svc { grid-template-columns: 1fr; }
  .pg-split.is-rev > .pg-copy, .pg-svc.is-rev > .pg-svc-media { order: 0; }
  .pg-svc + .pg-svc { margin-top: 72px; }
}

/* ── Phone ── */
@media (max-width: 600px) {
  .r2-a .ph { padding: calc(var(--bar-h) + 40px) 0 48px; }
  .ph-h { font-size: clamp(2.1rem, 9vw, 2.9rem); max-width: none; }
  .ph-cta { gap: 18px; margin-top: 26px; }
  .pg-steps, .pg-figs { grid-template-columns: 1fr; }
  .pg-steps { row-gap: 72px; }
  .pg-steps::before { display: block; left: 44px; right: auto; top: -32px; bottom: 0; width: 2px; height: auto; transform-origin: 50% 0; animation-name: pgDrawY; }
  .pg-tile, .pg-step, .pg-cell { padding: 26px 22px 28px; }
  .pg-q summary { font-size: 1.08rem; padding: 18px 0; }
  .pg-art-img { margin-top: -28px; }
  .pg-table-wrap { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
}

/* ── Post callouts and the booking confirmation (added 2026-10-07) ── */
.pg-prose .callout { margin: 2em 0 0; padding: 24px 26px; border-radius: 20px; background: var(--grey); font-size: 1rem; line-height: 1.6; }
.pg-prose .callout p { margin: 0; }
.pg-prose .callout a { color: var(--accent-ink); font-weight: 600; }
.pg-prose h2 em, .pg-prose h3 em { font-style: normal; color: inherit; }
.pg-booked .ty-content { max-width: 680px; }
.pg-booked .ty-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(45,212,191,0.18); display: flex; align-items: center; justify-content: center; margin: 0 0 24px; }
.pg-booked .ty-check svg { width: 30px; height: 30px; color: var(--accent); }
.pg-booked h1 { margin: 0 0 16px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.pg-booked h1 em { font-style: normal; color: var(--accent); }
.pg-booked .ty-desc { margin: 0 0 28px; max-width: 600px; font-size: 1.1rem; line-height: 1.55; color: rgba(255,255,255,0.8); }
.pg-booked .event-card { padding: 24px 26px; border-radius: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.pg-booked .event-card-label { margin-bottom: 16px; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.pg-booked .event-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.pg-booked .event-card-item { display: flex; gap: 12px; align-items: flex-start; }
.pg-booked .event-card-item > svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: rgba(255,255,255,0.55); }
.pg-booked .event-card-item-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.pg-booked .event-card-item-value { display: block; font-size: 1rem; font-weight: 500; color: #FFFFFF; min-height: 1.2em; }
.pg-booked .ty-cta-box { padding: 24px 26px; border-radius: 20px; background: rgba(255,255,255,0.06); }
.pg-booked .ty-cta-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(45,212,191,0.18); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pg-booked .ty-cta-icon svg { width: 18px; height: 18px; color: var(--accent); }
.pg-booked .ty-cta-label { margin-bottom: 8px; font-size: 1.1rem; font-weight: 600; }
.pg-booked .ty-cta-box p { margin: 0 0 20px; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.pg-booked .ty-cta-box .btn svg { width: 15px; height: 15px; margin-left: 6px; }
.pg-booked .ty-micro { margin-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.55); }
@media (max-width: 560px) { .pg-booked .event-card-grid { grid-template-columns: 1fr; } }
