/* Hallmark · shape: Feature Stack · genre: editorial · theme: Loom (deal 1/3, seed wedding-funeral-florist-knaresborough-4e17·0568c326·2026-12-03·r0) · job: hire · draw: 0d014a
 * hero: Ledge, layered (scrollcraft: room plate far, flower columns near, pinned 1.45) · nav: edge-aligned · footer: letter close · imagery: photographs, the florist's own 10 · signature: her ceremony columns step toward you while the room behind recedes, cut from her own photo · loom: ecru
 * axes: light/roman-serif/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a florist page can drift generic; every line is Kirsty's own facts (her steps, her tiers, her wreath prices, her venues) */
/* Hallmark · swap · draw asked the hero to lead with people at work; the client rule bars images of women and the florist is a woman, so the hero leads with the flowers themselves */
/* Hallmark · client rule · the concept bar (Secure this website · £300, I can't afford this) is the agency's sales chrome, required on every spec site, and keeps its one middle dot */
/* Hallmark · finish-review: subagent · fix · 7 findings · 6 resolved 1 partial (wreath photos are 560px originals; frame capped at 448px so they stay sharp at 1.25x) · Floor 0 FAIL · Reflex 0 */
/* Hallmark · client rule · Loom keeps still, but Adil asked for Scrollcraft on every spec site: one pinned hero, a slow photo drift, one wipe, entry fades */
/* Scrollcraft · engine scrollcraft.js unchanged; its stylesheet is replaced by the device rules below in Loom tokens (its defaults bring Geist type, tracked labels and script-dependent hidden states) */
@import url("./tokens.css");
@import url("./base.css");

:root { --banner-height: 64px; }

body { font-size: var(--text-md); }
h1, h2 { font-weight: var(--display-weight); line-height: 1.04; }
h3 { font-family: var(--font-body); font-weight: 500; font-size: var(--text-title); line-height: 1.25; letter-spacing: 0; }
.lead { color: var(--color-muted); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { background: var(--color-ink-2); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--on-accent { background: var(--color-paper); color: var(--color-accent); }
.btn--on-accent:hover { background: var(--color-paper-2); }
.btn--on-accent:active { background: var(--color-paper-3); }
.btn--on-accent:focus-visible { outline-color: var(--color-accent-ink); }
.contact .link--on-accent { color: var(--color-accent-ink); }
.contact .link--on-accent:hover { color: var(--color-paper-3); }
.contact .link--on-accent:active { color: var(--color-paper-2); }
.contact .link--on-accent:focus-visible { outline-color: var(--color-accent-ink); }

.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--color-ink); text-decoration: underline 2px; text-underline-offset: 0.35em; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); }
.link:active { color: var(--color-accent-2); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.link--button { background: none; border: 0; padding-inline: 0; font: inherit; font-weight: 500; }
.link--button:disabled { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }

/* paid-for banner */
.secured { margin: 0; padding: var(--space-sm) var(--gutter); background: var(--color-success); color: var(--color-accent-ink); text-align: center; font-weight: 500; }

/* concept bar (agency chrome) */
.concept { position: sticky; top: 0; z-index: var(--z-sticky-nav); min-height: var(--banner-height); display: flex; align-items: center; background: var(--color-ink); color: var(--color-paper); font-size: var(--text-sm); }
.concept__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.concept__note { color: var(--color-paper-3); }
.concept__acts { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.concept__secure, .concept__afford { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-xs) var(--space-md); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.concept__secure { background: var(--color-paper); color: var(--color-accent); border: 1px solid var(--color-paper); }
.concept__secure:hover { background: var(--color-paper-2); }
.concept__secure:active { background: var(--color-paper-3); }
.concept__afford { background: transparent; color: var(--color-paper); border: 1px solid var(--color-muted); }
.concept__afford:hover { border-color: var(--color-paper); }
.concept__afford:active { background: var(--color-ink-2); }
.concept__secure:focus-visible, .concept__afford:focus-visible { outline: 2px solid var(--color-paper); outline-offset: 2px; }

/* nav */
.nav { border-bottom: var(--rule-ink) solid var(--color-rule-ink); }
.nav__row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.wordmark { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; text-decoration: none; color: var(--color-ink); white-space: nowrap; }
.wordmark:hover { color: var(--color-accent); }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); }
.nav__links a { font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--color-ink-2); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-accent); }
.nav__links a:active { color: var(--color-accent-2); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__contact { box-shadow: inset 0 -2px 0 currentColor; padding-block: var(--space-2xs); }

/* hero: Ledge, layered. Text sits on paper below the photo at every scroll position (contrast rule); planes share one frame so they rest aligned */
.hero__stage { padding-block: var(--space-lg) var(--space-2xl); background: var(--color-paper); }
.hero { --k: var(--sc-p, 0); }
.hero__field { position: relative; margin: 0; overflow: clip; height: clamp(260px, calc(100dvh - 440px), 600px); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.plane { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }
.plane--room { transform-origin: 50% 70%; transform: scale(calc(1.06 - 0.06 * var(--k))); }
.plane--left { transform-origin: 4% 100%; transform: scale(calc(1 + 0.16 * var(--k))); }
.plane--right { transform-origin: 96% 100%; transform: scale(calc(1 + 0.16 * var(--k))); }
/* scrollcraft devices, in Loom tokens */
.sc-act--pinned { position: relative; }
.sc-stage { position: sticky; top: calc(var(--banner-height) + 0px); height: calc(100svh - var(--banner-height)); overflow: clip; }
.js [data-sc-in], .js [data-sc-stagger] > * { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.js [data-sc-in].sc-in, .js [data-sc-stagger] > .sc-in { opacity: 1; transform: none; }
[data-sc-parallax] { will-change: transform; }
[data-sc-reveal] { will-change: clip-path; }
@media (prefers-reduced-motion: reduce) {
  .js [data-sc-in], .js [data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
  [data-sc-parallax] { transform: none !important; }
  [data-sc-reveal] { clip-path: none !important; }
}
@media (prefers-reduced-motion: reduce) { .plane { transform: none; } }
.hero__base { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: end; padding-top: var(--space-xl); }
.hero__base h1 { max-width: 22ch; line-height: 1; }
.hero__side { display: grid; gap: var(--space-lg); padding-bottom: var(--space-xs); }

/* what I make: ruled rows */
.make { padding-block: var(--section-gap) var(--section-gap-s); }
.make__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.make__grid h2 { grid-column: 1 / span 4; }
.spec { grid-column: 5 / -1; margin: 0; padding: 0; list-style: none; border-top: var(--rule-ink) solid var(--color-rule-ink); }
.spec__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.spec__line { color: var(--color-muted); }
.spec__value { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; text-align: right; white-space: nowrap; font-variant-numeric: lining-nums; }

/* feature stack */
.stack-section { padding-block: var(--section-gap-s) var(--section-gap); }
.stack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
.stack--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.pane-sticky { position: sticky; top: calc(var(--banner-height) + var(--space-xl)); align-self: start; z-index: var(--z-raised); display: grid; gap: var(--space-lg); justify-items: start; }
.pane-sticky > p { color: var(--color-muted); max-width: 40ch; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: var(--rule-ink) solid var(--color-rule-ink); width: 100%; }
.steps li { counter-increment: step; display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(step); font-family: var(--font-body); font-weight: 500; color: var(--color-muted); }
.pane-scroll { display: grid; gap: var(--space-2xl); }
.photo { margin: 0; }
.photo__frame { aspect-ratio: 3 / 2; }
.photo__frame--tall { aspect-ratio: 4 / 5; }
.photo__frame--portrait { aspect-ratio: 3 / 4; }
.photo__frame--square { aspect-ratio: 1 / 1; }
.photo__frame > img { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.photo figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--font-body); color: var(--color-muted); }

/* spend: price as figures on a paper step */
.spend { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.spend__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.tiers { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-ink) solid var(--color-rule-ink); }
.tier { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.tier:first-child { border-left: 0; padding-left: 0; }
.tier:last-child { padding-right: 0; }
.tier__price { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1; font-variant-numeric: lining-nums; }
.tier p:last-child { color: var(--color-ink-2); max-width: 34ch; }

/* wreaths: the offer */
.wreaths { padding-block: var(--section-gap-l) var(--section-gap); }
.wreaths__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.wreaths__photo { width: 100%; max-width: 448px; justify-self: end; }
.wreaths__buy { display: grid; gap: var(--space-lg); justify-items: start; }
.choice { margin: 0; padding: 0; border: 0; display: grid; gap: var(--space-xs); width: 100%; }
.choice legend { padding: 0; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.choice__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.choice__row button { min-height: 44px; padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-muted); border-radius: 0; background: transparent; color: var(--color-ink); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.choice__row button:hover { background: var(--color-paper-2); }
.choice__row button:active { background: var(--color-paper-3); }
.choice__row button[aria-pressed="true"] { background: var(--color-paper-2); border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }
.choice__row button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice__row button:disabled { opacity: 0.55; cursor: not-allowed; }
.buy { display: flex; align-items: center; gap: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-ink) solid var(--color-rule-ink); width: 100%; }
.buy__price { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.workshop { display: grid; gap: var(--space-xs); justify-items: start; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); width: 100%; }
.workshop p { color: var(--color-ink-2); max-width: 48ch; }

/* quote: one statement, opening the spend band */
.quote__fig { margin: 0 0 var(--space-3xl); display: grid; gap: var(--space-lg); padding-bottom: var(--space-3xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.quote__fig blockquote { margin: 0; }
.quote__fig blockquote p { font-family: var(--font-display); font-size: var(--text-section); line-height: 1.12; letter-spacing: var(--tracking-display); max-width: 28ch; }
.quote__fig figcaption { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }

/* workshops: a two-row schedule */
.workshops { padding-block: var(--section-gap-s) var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.workshops__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.workshops__head { display: grid; gap: var(--space-md); }
.sessions { margin: 0; padding: 0; list-style: none; border-top: var(--rule-ink) solid var(--color-rule-ink); }
.session { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: var(--gap-columns); align-items: center; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.session__date { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; white-space: nowrap; }
.session__what { color: var(--color-ink-2); }

.stack-section--funeral { padding-block: var(--section-gap) var(--section-gap-l); }

/* contact: the one indigo band */
.contact { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--section-gap-s); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.contact__head { display: grid; gap: var(--space-lg); justify-items: start; }
.details { margin: 0; border-top: var(--rule-ink) solid var(--color-accent-ink); }
.details > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 35%, transparent); }
.details dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-ink); }
.details dd { margin: 0; font-size: var(--text-lg); }
.details a { color: var(--color-accent-ink); text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; }
.details a:hover { box-shadow: inset 0 -2px 0 currentColor; }
.details a:focus-visible { outline: 2px solid var(--color-accent-ink); outline-offset: 3px; }

/* footer: letter close */
.footer { padding-block: var(--space-3xl) var(--space-2xl); }
.footer__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-lg); border-top: var(--rule-ink) solid var(--color-rule-ink); padding-top: var(--space-xl); }
.footer__sign { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; }
.footer__legal { font-size: var(--text-sm); color: var(--color-muted); }
.footer__legal a { color: var(--color-ink-2); }
.footer__legal a:hover { color: var(--color-accent); }
.footer__legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* dialogs */
dialog { border: var(--rule-ink) solid var(--color-ink); border-radius: 0; padding: 0; max-width: min(480px, calc(100% - 2 * var(--space-md))); background: var(--color-paper); color: var(--color-ink); }
dialog::backdrop { background: color-mix(in oklab, var(--color-ink) 55%, transparent); }
.dlg { display: grid; gap: var(--space-md); padding: var(--space-xl); }
.dlg__head { font-size: var(--text-3xl); }
.dlg__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); padding-top: var(--space-xs); }
.dlg__close { justify-self: start; color: var(--color-muted); }

@media (min-width: 60rem) { .quote__fig blockquote p { text-indent: -0.4em; } }

/* tablet and phone */
@media (max-width: 60rem) {
  :root { --banner-height: 0px; }
  .concept { position: static; padding-block: var(--space-xs); }
  .concept__row { flex-wrap: wrap; }
  .nav__links { gap: var(--space-lg); }
  .nav__links a:not(.nav__contact) { display: none; }
  .hero__field { height: auto; aspect-ratio: 4 / 3; }
  .hero { --k: clamp(0, calc((var(--sc-p, 0.45) - 0.45) * 2.2), 1); }
  .plane--left, .plane--right { transform: scale(calc(1 + 0.07 * var(--k))); }
  .plane--room { transform: scale(calc(1.03 - 0.03 * var(--k))); }
  .hero__base { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .make__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .make__grid h2, .spec { grid-column: 1 / -1; }
  .spec__row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-lg); }
  .spec__row h3 { grid-column: 1; }
  .spec__line { grid-column: 1; grid-row: 2; }
  .spec__value { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--text-2xl); }
  .stack, .stack--wide { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .pane-sticky { position: static; }
  .spend__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier, .tier:first-child, .tier:last-child { border-left: 0; padding: var(--space-xl) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .wreaths__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .wreaths__photo { justify-self: start; }
  .workshops__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .session { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); justify-items: start; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .concept__note { display: none; }
  .spec__row { grid-template-columns: minmax(0, 1fr); }
  .spec__line { grid-row: auto; }
  .spec__value { grid-column: 1; grid-row: auto; text-align: left; }
  .concept__row { justify-content: center; }
  .details > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .buy { flex-wrap: wrap; gap: var(--space-lg); }
}
