/* BAR (designer 2026-11-15, brief qc-demo-bar). On top of styles.css + craft.css (the passed hero). Every section
   below the fold is ONE composed scene with ONE loud element, the client's photos are uncontained objects that bleed
   into the ground, labels are VT323 spec lines with the hero's 1.4 px leader, and nothing is split by a rule or a card.
   Skin: the hero's own (near-black, cream Unbounded 900, VT323, gold only on actions and the full stop). */

/* ---------- chrome: corners, no full-width hairlines (curator 11-15 items 1 + 2) ---------- */
.header, .nav, .footer { border: 0; }
.section + .section { border-top: 0; }
.btn--ghost, .contact .btn--ghost { box-shadow: none; background: rgba(255, 255, 255, .03); }
.callbar { box-shadow: none; background: rgba(17, 15, 12, .95); }
.callbar a + a { box-shadow: none; }

/* ---------- a scene: same ground, a radial lift behind its content, space instead of rules ---------- */
.scene { position: relative; padding: calc(76 * var(--u)) 0 calc(64 * var(--u)); background: radial-gradient(ellipse 85% 46% at 32% 34%, var(--lift), var(--ground) 74%); }
.scene h2 { font-size: calc(31 * var(--u)); margin: 0 0 calc(28 * var(--u)); transform-origin: 0 50%; }
.scene h2::after { content: "."; color: var(--gold); }
.spec-s, .work figcaption, .review figcaption, .chips li, .tag, .contact dt { font: 400 19px/1.05 var(--spec); text-transform: uppercase; letter-spacing: 0; }

/* ---------- SERVICES: a price board (curator 11-16 fix 5): no card surface; each priced row runs name -> leader ->
   price, so the prices stand as one right-hand column; the three unpriced services are one 40/60 spec block ---------- */
.board, .board-plain { list-style: none; margin: 0; padding: 0; display: grid; }
.board { gap: calc(30 * var(--u)); }
.board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: calc(6 * var(--u)); align-items: end; }
.board h3 { font: 900 calc(16 * var(--u))/1.15 var(--loud); text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: var(--ink); overflow: clip; overflow-clip-margin: 4px; }
/* r4 (curator 11-16 item 5): the leader starts where the name's LAST line ends, on its baseline, and runs to the price
   column; the h3 fills the gap and clips it (classic leader: inline after the text, zero net width, so it never wraps) */
.board h3::after { content: ""; display: inline-block; width: 100vw; margin: 0 -100vw 0 calc(6 * var(--u)); height: 1.4px; vertical-align: .2em; background: rgba(238, 233, 225, .6); }
.nw { white-space: nowrap; }
.board__from { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.board__from .spec-s { color: var(--ink-3); }
.board__from b { font: 900 calc(44 * var(--u))/.86 var(--loud); letter-spacing: -.05em; color: var(--ink); text-shadow: 0 0 calc(24 * var(--u)) rgba(238, 233, 225, .14); }
.board p { grid-column: 1 / -1; margin: 8px 0 0; max-width: 30em; font-size: 15px; line-height: 1.42; color: var(--ink-3); }
.board-plain { margin-top: calc(48 * var(--u)); row-gap: calc(18 * var(--u)); }
.board-plain li { display: grid; grid-template-columns: 40% 60%; align-items: baseline; }
.board-plain h3 { margin: 0; padding-right: 10px; font: 400 19px/1.05 var(--spec); text-transform: uppercase; color: var(--ink-2); }
.board-plain p { margin: 0; font-size: 15px; line-height: 1.42; color: var(--ink-3); }

/* ---------- ABOUT: Sam's own hands (the hero photo, uncut) open the scene; 48 HR is the loud lockup ---------- */
.ab { padding-top: 0; }
.ab__photo { display: block; position: relative; height: calc(300 * var(--u)); margin-bottom: calc(-74 * var(--u)); overflow: hidden; }
.ab__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 38%; filter: saturate(.82) brightness(.82);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 50%, transparent 96%); mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 50%, transparent 96%); }
.ab .wrap { position: relative; z-index: 2; }
.about__notes p { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; }
/* the ONE object (curator 11-16 fix 6): 48 HR, with a 1.4 px spine down from it; the facts are its spec lines and
   the three promises hang off the spine on short branches */
.vow { margin-top: calc(44 * var(--u)); }
.vow__num { margin: 0; font: 900 calc(128 * var(--u))/.84 var(--loud); letter-spacing: -.05em; color: var(--ink); text-shadow: 0 0 calc(30 * var(--u)) rgba(238, 233, 225, .18); white-space: nowrap; }
.vow__num small { font-size: calc(34 * var(--u)); letter-spacing: 0; margin-left: calc(6 * var(--u)); color: var(--ink-2); text-shadow: none; text-transform: uppercase; vertical-align: top; position: relative; top: calc(6 * var(--u)); }
.vow__facts, .vow__list { list-style: none; margin: 0 0 0 calc(8 * var(--u)); padding: 0; }
.vow__facts li, .vow__list li { position: relative; padding-left: calc(26 * var(--u)); }
.vow__facts li::before, .vow__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.4px; background: rgba(238, 233, 225, .6); }
.vow__facts li { font: 400 19px/1.05 var(--spec); text-transform: uppercase; color: var(--ink-2); padding-bottom: 6px; }
.vow__facts li:first-child { padding-top: calc(14 * var(--u)); }
.vow__facts li:last-child { padding-bottom: calc(30 * var(--u)); }
.vow__list li { padding-bottom: calc(28 * var(--u)); }
.vow__list li:last-child { padding-bottom: 0; }
.vow__list li:last-child::before { bottom: auto; height: calc(.6em + 1px); }
.vow__list h3 { position: relative; font: 900 calc(15 * var(--u))/1.2 var(--loud); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 6px; color: var(--ink); }
.vow__list h3::before { content: ""; position: absolute; left: calc(-26 * var(--u)); top: .6em; width: calc(18 * var(--u)); height: 1.4px; background: rgba(238, 233, 225, .6); }
.vow__list p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-3); }

/* ---------- WORK: an uncontained collage, alternate edges, captions on leaders ---------- */
.work { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; column-gap: calc(14 * var(--u)); row-gap: calc(36 * var(--u)); margin: 0; max-width: 700px; margin: 0 auto; }
.work figure { margin: 0; position: relative; }
.work img { display: block; width: 100%; object-fit: cover; border-radius: 0; filter: saturate(.85) brightness(.9); }
.work picture { display: block; overflow: hidden; }
.wk--full { grid-column: 1 / -1; }
.wk--full img { aspect-ratio: 3 / 2; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
.wk--l { grid-column: 1; }
.wk--r { grid-column: 2; margin-top: calc(84 * var(--u)); }
.wk--l img, .wk--r img { height: calc(250 * var(--u)); }
.wk--b img { height: calc(160 * var(--u)); }
.wk--r.wk--b { margin-top: 0; }
.wk--l.wk--b { margin-top: calc(70 * var(--u)); }
.work figcaption { text-wrap: balance; display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 0 var(--pad); color: var(--ink-2); }
.wk--l figcaption { padding-right: 0; }
.wk--r figcaption { padding-left: 0; padding-right: var(--pad); }
.work figcaption::before { content: ""; flex: none; margin-top: .5em; width: calc(18 * var(--u)); height: 1.4px; background: rgba(238, 233, 225, .85); }
.wk .stock-note { margin: calc(30 * var(--u)) 0 0; font-size: 13px; }

/* ---------- REVIEWS: one conversation column under a ghost quote mark ---------- */
.rv h2 { position: relative; margin-bottom: calc(52 * var(--u)); }
.rv .tag { position: absolute; left: 0; top: calc(100% + 10px); margin: 0; color: var(--ink-3); background: none; padding: 0; }
.reviews__sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 calc(44 * var(--u)); }
.reviews__sum b { font: 900 calc(56 * var(--u))/.9 var(--loud); letter-spacing: -.05em; color: var(--ink); }
.reviews__sum .stars { font-size: 18px; letter-spacing: 2px; }
.reviews__sum span:last-child { font: 400 19px/1.05 var(--spec); text-transform: uppercase; color: var(--ink-3); }
.reviews { position: relative; display: grid; gap: calc(40 * var(--u)); }
.reviews::before { content: "\201C"; position: absolute; top: calc(-66 * var(--u)); right: calc(-4 * var(--u)); font: 900 calc(190 * var(--u))/1 var(--loud); color: rgba(238, 233, 225, .07); pointer-events: none; }
.review { position: relative; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.review:nth-child(2) { margin-left: 12%; }
.review .stars { font-size: 13px; letter-spacing: 2px; }
.review blockquote { margin: 8px 0 12px; font-size: 19px; line-height: 1.42; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.review figcaption::before { content: ""; width: calc(18 * var(--u)); height: 1.4px; background: rgba(238, 233, 225, .85); }

/* ---------- AREA: a type map; Glenfield is the base, the suburbs sit on their real bearing ---------- */
.map { position: relative; aspect-ratio: 1 / .86; margin: 0 0 calc(26 * var(--u)); }
.map__ring { position: absolute; left: 30%; top: 52%; width: calc(var(--r) * 40%); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: inset 0 0 0 1px rgba(238, 233, 225, calc(.11 - var(--r) * .025)); }
.map .chips { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: block; }
.map .chips li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translateY(-50%); background: none; border: 0; border-radius: 0; margin: 0; padding: 0 0 0 calc(14 * var(--u)); font-size: calc(19 * var(--u)); color: var(--ink-2); white-space: nowrap; box-shadow: none; }
.map .chips li::before { content: ""; position: absolute; left: calc(-3 * var(--u)); top: 50%; width: calc(6 * var(--u)); height: calc(6 * var(--u)); margin-top: calc(-3 * var(--u)); border-radius: 50%; background: var(--ink-2); }
.map .chips li.map__l { transform: translate(-100%, -50%); padding: 0 calc(14 * var(--u)) 0 0; }
.map .chips li.map__l::before { left: auto; right: calc(-3 * var(--u)); }
.map .chips li.is-base { font: 900 calc(23 * var(--u))/1 var(--loud); letter-spacing: -.02em; color: var(--ink); padding-left: calc(18 * var(--u)); box-shadow: none; }
.map .chips li.is-base::before { width: calc(11 * var(--u)); height: calc(11 * var(--u)); left: calc(-5.5 * var(--u)); margin-top: calc(-5.5 * var(--u)); background: var(--gold); box-shadow: 0 0 calc(16 * var(--u)) rgba(217, 164, 65, .55); }
.ar { overflow-x: clip; } /* the range rings bleed off the left edge; the section is their clip, not body */
.ar .muted { margin: 0; font-size: 15px; }

/* ---------- FAQ: five questions, space between, tap to open ---------- */
.faq { border: 0; display: grid; gap: 2px; }
.faq details { border: 0; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 13px 40px 13px 0; min-height: 48px; font: 650 17px/1.35 var(--sans); color: var(--ink); -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 900 22px/1 var(--loud); color: var(--gold); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-3); max-width: 34em; }

/* ---------- CONTACT: the number is the scene ---------- */
.contact { background: radial-gradient(ellipse 85% 50% at 30% 40%, var(--lift), var(--ground) 74%); }
.contact__lead { color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 30em; }
.contact .contact__phone { font: 900 calc(37 * var(--u))/1 var(--loud); letter-spacing: -.045em; white-space: nowrap; margin: calc(30 * var(--u)) 0 calc(26 * var(--u)); text-shadow: 0 0 calc(30 * var(--u)) rgba(238, 233, 225, .18); }
.contact__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.contact__actions .btn { width: 100%; min-height: 52px; }
.contact dl { display: grid; grid-template-columns: 40% 60%; row-gap: 10px; margin: calc(40 * var(--u)) 0 0; }
.contact dt { color: var(--ink-3); align-self: center; }
.contact dd { margin: 0; font-size: 15px; color: var(--ink); }

/* ---------- footer: corner type ---------- */
.footer { padding-top: calc(36 * var(--u)); }
.footer p { font-size: 13px; }

/* =====================================================================================================
   MOTION (motion-bar.md; ids in the run file). Only when bar.js sets html.mo, which it never does under
   prefers-reduced-motion or without script: the end state is the default state.
   ===================================================================================================== */
/* M1 move 8, r3 FRAME-LOCKED to ref1 6.0-6.8 s (sheet qcbar-shots/r3/M1-ref1-zoom.png, 30 fps): the words arrive ONE AT
   A TIME, each sliding in from the right with blur and wide-set glyphs and sharp in ~4 frames (0.13 s), a new word every
   ~4 frames (0.12 s). No scale punch is in the ref frames, so r2's whole-block blur + 1.12 punch is gone. bar.js wraps
   each word in .w (text unchanged); scaleX stands in for the ref's tracking so the line never rewraps mid-move. */
@keyframes bar-word { from { opacity: 0; filter: blur(7px); transform: translateX(.45em) scaleX(1.14); } to { opacity: 1; filter: blur(0); transform: none; } }
html.mo .w { display: inline-block; white-space: nowrap; transform-origin: 0 60%; } /* nowrap: text-wrap: balance would otherwise split a word inside its box */
html.mo .hero h1 .w, html.mo [data-m="title"].in .w { animation: bar-word .16s cubic-bezier(.3, .55, .45, 1) var(--d, 0ms) both; }
html.mo [data-m="title"]:not(.in), html.mo .hero h1:not(.split) { opacity: 0; }
/* M2, r3 FRAME-LOCKED to ref1 9.3-9.8 s (sheet r3/M2-ref1-zoom.png): the logo CUTS in (no fade) at ~1.45x its rest
   size, is ~1.08x two frames (67 ms) later and eases to rest by ~0.4 s. r2 rose from below with a fade; that was not
   the ref. bar.js ticks 0.0 -> 4.9 from the frame the number is half visible (fix 1), which is now the cut frame. */
@keyframes bar-arrive { 0% { opacity: 0; transform: scale(1.45); } .01% { opacity: 1; transform: scale(1.45); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  17% { opacity: 1; transform: scale(1.08); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 100% { opacity: 1; transform: none; } }
html.mo .num { transform-origin: 0 70%; animation: bar-arrive .4s linear .3s both, bar-halo .4s linear .3s both; }
/* r4 M2 halo (curator 11-16): ref1 frame 2 of the cut (9.47 s) wears a ring of its own colour just outside the mark, gone
   by frame 4. A number has no disc to ring, so the ring is the glyphs' own outline glow (technique, not object, rule 124):
   on from frame 2 (33 ms) to frame 3, faded by ~100 ms; the base text-shadow (craft.css) is restored at the end */
@keyframes bar-halo { 0%, 7% { text-shadow: 0 0 calc(30 * var(--u)) rgba(238, 233, 225, .18); }
  8%, 17% { text-shadow: 0 0 calc(3 * var(--u)) rgba(238, 233, 225, .9), 0 0 calc(10 * var(--u)) rgba(238, 233, 225, .55), 0 0 calc(30 * var(--u)) rgba(238, 233, 225, .35); }
  30%, 100% { text-shadow: 0 0 calc(30 * var(--u)) rgba(238, 233, 225, .18); } }
/* leader draws on to the number (C1: nothing appears, it assembles) */
@keyframes bar-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.mo .leader path { stroke-dasharray: 1; animation: bar-draw .5s cubic-bezier(.4, 0, .2, 1) .75s both; }
/* M5 A5 breathe 2-8 px sine + B4 slow push 1.00 -> 1.035 over 3.8 s (ref4 3.0-4.3): the shears never rest */
@keyframes bar-cut-in { from { opacity: 0; transform: translateX(calc(28 * var(--u))); } to { opacity: 1; transform: none; } }
@keyframes bar-breathe { from { transform: none; } to { transform: translateY(calc(-5 * var(--u))) scale(1.035); } }
html.mo[data-cut] .cut { transform-origin: 70% 55%; animation: bar-cut-in .7s cubic-bezier(.2, .8, .3, 1) .2s both, bar-breathe 3.8s ease-in-out .9s infinite alternate; }
/* M6 move 7 (ref1 4-6 s): ONE pulse on the hero Call once the number has landed */
@keyframes bar-pulse { 0% { transform: none; filter: none; } 35% { transform: scale(1.045); filter: brightness(1.18); } 100% { transform: none; filter: none; } }
html.mo .hero__call { animation: bar-pulse .7s cubic-bezier(.3, .7, .3, 1) 1.5s both; }
/* photos: mask reveal (move 9) from their bleed edge, with the image settling from 1.08 */
@keyframes bar-reveal-l { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bar-reveal-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes bar-settle { from { transform: scale(1.08); } to { transform: none; } }
html.mo [data-m="reveal"]:not(.in) picture, html.mo .ab__photo[data-m="reveal"]:not(.in) { opacity: 0; }
html.mo .wk--full.in picture, html.mo .wk--l.in picture, html.mo .ab__photo.in { animation: bar-reveal-l .8s cubic-bezier(.2, .8, .2, 1) both; }
html.mo .wk--r.in picture { animation: bar-reveal-r .8s cubic-bezier(.2, .8, .2, 1) both; }
html.mo [data-m="reveal"].in img { animation: bar-settle 1.4s cubic-bezier(.2, .8, .2, 1) both; }
/* map: rings open, the suburbs assemble 40 ms apart with one bounce, the base keeps breathing */
@keyframes bar-ring { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes bar-pop { 0% { opacity: 0; scale: .6; } 60% { opacity: 1; scale: 1.08; } 100% { opacity: 1; scale: 1; } }
@keyframes bar-glow { from { box-shadow: 0 0 calc(10 * var(--u)) rgba(217, 164, 65, .4); } to { box-shadow: 0 0 calc(22 * var(--u)) rgba(217, 164, 65, .75); } }
html.mo .map:not(.in) .map__ring, html.mo .map:not(.in) .chips li { opacity: 0; }
html.mo .map.in .map__ring { animation: bar-ring .9s cubic-bezier(.2, .8, .2, 1) calc(var(--r) * 90ms) both; }
html.mo .map.in .chips li { animation: bar-pop .42s cubic-bezier(.2, .8, .3, 1) calc(var(--i, 0) * 40ms + 200ms) both; }
html.mo .map.in .chips li.is-base::before { animation: bar-glow 2.4s ease-in-out 1s infinite alternate; }
/* the faq marker turns; the typed number's cursor */
html.mo .faq summary::after { transition: transform .3s cubic-bezier(.2, .8, .3, 1); }
@keyframes bar-blink { 50% { opacity: 0; } }
.typing::after { content: ""; display: inline-block; width: .5em; height: .82em; margin-left: .06em; background: var(--gold); vertical-align: -.04em; animation: bar-blink .5s steps(1) infinite; }
/* M7 tap burst grains (bar.js) */
.burst { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 60; pointer-events: none; }
.burst i { position: absolute; left: -1.5px; top: -1.5px; width: 3px; height: 3px; border-radius: 50%; background: var(--c, #F0C46A); }
/* M7 burst, r3 FRAME-LOCKED to ref3 1.5-1.9 s (sheet r3/M7-ref3-zoom.png): the mark SHRINKS ease-in for ~0.23 s
   (anticipation), then a white-hot disc blows out from its centre in ~3 frames (0.1 s) and fades. The button keeps
   its own scale dip (a button cannot vanish like the ref's mark: technique, not object); the disc is the ref's burst. */
.burst b { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; background: radial-gradient(circle, #fff 0 56%, #FFF4D6 62%, var(--c, #F0C46A) 67%, transparent 72%); } /* r4: opaque white-hot core, like ref3 1.77-1.83 */
