/* Hallmark · shape: Marquee Hero, reworked as a screening room · genre: atmospheric, with light reading sections by the owner's request · theme: brand · redesign: full · job: hire
 * paper: oklch(15% 0.008 121.6) · accent: oklch(89.3% 0.216 121.6) · display: Instrument Sans · body: Geist · logo: Archivo · hero: Ledge · nav: edge-aligned, wordmark, links, pause, one quiet action · footer: a mast, the wordmark over the links · signature: the logo unfolds into six film screens and the film row flies the camera to each
 * axes: dark-and-light/grotesk/volt · posture: Restrained · contrast: pass · fold: pass · draw: efb083 · imagery: the studio's own films · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the first screen has to hold the room and the head at once; the Ledge keeps the head on the base and gives the films everything above it */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved: the room became a wall of six films that fills the field, each throwing its own colour; the volt mark shows from first paint; the still screen shows the films; the head keeps its turn on phones */
/* Hallmark · waive 81 · the plate is the bottom layer of the built frame with the sample UI drawn over it · this section is about layers, so the plate is the subject and not an empty wash */
/* Hallmark · waive 78 · privacy.html is one plain document of six short notes whose heads act as item titles · a section-sized head over each two-line privacy note would swamp the notes */
/* Hallmark · dismissed 77 · the privacy page is a single document: its head, its notes and the footer are all it needs */
/* Hallmark · dropped https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js, https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js · native sticky and three.js now drive the scroll, so GSAP left and cdnjs came off the privacy list with it */
/* Hallmark · dropped 15seconds · from the moving text band that left the page; the price table states it as a 15-second video */
/* Hallmark · dropped arrow, cal, n, ok, playi, wa, xpFill · icons no longer used and the old film counter */
/* Hallmark · dropped "Now showing." · the owner asked for this heading to go; the film grid's line now says what the films are */
/* Hallmark · reworded "Every frame is built in layers." to the frame's caption · it now captions the frame it describes instead of heading a second list of stages */
/* Hallmark · finish-review: subagent · 8 findings · 7 resolved 1 partial · partial: the fonts stay on Google Fonts with a size-matched Arial fallback, not self-hosted, so a smaller shift remains on first paint · gap: none */
/* Hallmark · dropped #faq, faq, faq-h, race-h, 4days, 8weeks, "Before you message us." · the owner asked for everything that says the same thing twice to go: the FAQ answers repeated the price table and the terms, the delivery chart repeated the table and the agency row */
/* Hallmark · waive 77 · privacy.html is one long legal notice set in a single reading column · a privacy notice reads best at one measure, so its column stays narrow on purpose */
/* Hallmark · dismissed F4 · the second filled button is the sample product's own action, drawn inside the layered frame, not a control on this page */
/* Hallmark · waive 28b · below the fold and not the LCP, a player with no film in it until one is picked · the lightbox video takes the chosen film's first frame as its poster when it opens */
@import url("./tokens.css?v=1");
@import url("./base.css?v=1");

:root { color-scheme: dark; }

h1, h2, h3, .reel-title, .pains-close, .xp-hl { word-spacing: 0.06em; }
h3 { font-weight: var(--title-weight); letter-spacing: -0.012em; }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.top { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--space-2xl); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; text-decoration: none; font: var(--wordmark-weight) var(--text-md)/1 var(--font-wordmark); letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 24px; color: var(--color-accent); flex: none; }
.brand b { font-weight: inherit; color: var(--color-accent); }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-ink); }
.nav-end { display: flex; align-items: center; gap: var(--space-xs); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { border-color: var(--color-accent); background: color-mix(in oklab, var(--color-accent) 84%, var(--color-ink)); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.menu-btn, .mtoggle { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.menu-btn:hover, .mtoggle:hover { color: var(--color-ink); }
.menu-btn:active, .mtoggle:active { transform: translateY(1px); }
.mtoggle svg { width: 12px; height: 12px; }
.mtoggle .i-play { display: none; }
.mtoggle[aria-pressed="true"] .i-play { display: block; }
.mtoggle[aria-pressed="true"] .i-pause { display: none; }
html:not(.js) .mtoggle, html.still .mtoggle, html.no3d .mtoggle { display: none; }
.menu-btn { display: none; }
html:not(.js) .menu-btn { display: none; }
.menu { border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-md); background: var(--color-paper); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; min-height: 48px; font-size: var(--text-lg); text-decoration: none; }
.menu-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }

/* the reel: the head rests on the base of the stage, the films have everything above it */
.reel-stage { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-top: var(--space-2xl); padding-bottom: var(--space-lg); overflow: clip; }
.reel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; -webkit-mask-image: linear-gradient(to bottom, transparent var(--space-2xl), var(--color-paper) calc(var(--space-2xl) + var(--space-lg))); mask-image: linear-gradient(to bottom, transparent var(--space-2xl), var(--color-paper) calc(var(--space-2xl) + var(--space-lg))); }
.reel-flat { display: none; }
.reel-base { position: relative; z-index: var(--z-raised); display: grid; flex: none; }
.reel-copy, .reel-prog { grid-area: 1 / 1; align-self: end; min-width: 0; }
.reel-copy { display: grid; gap: var(--space-md); }
.reel h1 { max-width: none; font-size: clamp(2.25rem, 5vw, 4.75rem); line-height: 1.02; }
.reel h1 span { display: block; text-wrap: balance; }
.reel-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }
.reel-sub .lead { color: var(--color-ink-2); }
.reel-acts { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.reel-prog { display: none; }

/* with the 3D room running, the stage holds still while the camera travels down the room */
html.js:not(.still):not(.no3d) .reel { height: 400vh; height: 400svh; }
html.js:not(.still):not(.no3d) .reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
html.js:not(.still):not(.no3d) .reel-canvas { display: block; }
html.js:not(.still):not(.no3d) .reel-flat { display: block; flex: 1 1 auto; align-self: center; width: var(--flat-w, min(46vw, 560px)); min-height: 0; color: var(--color-accent); transition: opacity var(--dur-short) linear; }
html.js:not(.still):not(.no3d) .is-live .reel-flat { opacity: 0; }
html.js:not(.still):not(.no3d) .reel-prog { display: grid; gap: var(--space-md); opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility var(--dur-long); }
html.js:not(.still):not(.no3d) .reel-copy { transition: opacity var(--dur-short) var(--ease-out), visibility var(--dur-short); }
.is-rolling .reel-copy { opacity: 0; visibility: hidden; }
html.js:not(.still):not(.no3d) .is-rolling .reel-prog { opacity: 1; visibility: visible; }
.reel-now { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-sm) var(--space-lg); }
.reel-title { font: var(--display-weight) var(--text-section)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }
.reel-meta { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.reel-list { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.reel-list::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.reel-list button { width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--color-muted); font: 400 var(--text-md)/1 var(--font-body); text-align: left; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.reel-list button:hover { color: var(--color-ink); }
.reel-list button:active { transform: translateY(1px); }
.reel-list button[aria-current="true"] { color: var(--color-accent); font-weight: 500; }

/* the film grid, for visitors without the 3D room (no script, no WebGL, motion turned off): the same six films, flat */
html.js:not(.still):not(.no3d) .films { display: none; }
.films { flex: 1 1 auto; display: grid; align-content: center; padding-block: var(--space-sm) var(--space-md); }
.films-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.film { display: grid; gap: var(--space-2xs); text-decoration: none; }
.film img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); outline: 1px solid color-mix(in oklab, var(--color-ink) 12%, transparent); outline-offset: -1px; }
.film b { transition: color var(--dur-short) var(--ease-out); }
.film:hover b { color: var(--color-accent); }
.film > span { font-size: var(--text-sm); line-height: 1.3; color: var(--color-ink-2); }
.films-note { max-width: none; margin-bottom: var(--space-sm); font: 400 var(--text-md)/1.4 var(--font-body); letter-spacing: 0; word-spacing: 0; color: var(--color-ink-2); }
.film b { font-weight: 500; color: var(--color-ink); }

/* the lightbox */
.lb { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; gap: var(--space-sm); align-content: center; padding: var(--space-xl) var(--gutter); background: var(--color-paper); }
.lb video { width: min(100%, 1280px); max-height: 80vh; max-height: 80svh; border-radius: var(--radius-card); background: var(--color-paper-2); }
.lb-title { color: var(--color-ink-2); }
.lb-close { position: absolute; top: var(--space-md); right: var(--gutter); }
body.lb-open { overflow: hidden; }

@media (max-width: 75rem) { .nav-links { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 60rem) {
  .reel-sub { justify-content: start; }
}
@media (max-width: 40rem) {
  .films-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .film-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .films-note { font-size: var(--text-sm); }
  .nav-end .btn { display: none; }
  .mtoggle .lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .reel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel-list button { min-height: 44px; }
  .reel-title { font-size: var(--text-2xl); }
  .reel-now .btn { flex: 1 1 100%; }
  .reel-acts { width: 100%; }
  .reel-acts .btn { flex: 1 1 0; padding-inline: var(--space-md); }
}
@media (max-height: 34rem) and (orientation: landscape) {
  .reel h1 { font-size: clamp(1.375rem, 3.2vw, 1.875rem); }
  .reel-sub { flex-wrap: nowrap; }
  .reel-sub .btn { min-height: 44px; padding-inline: var(--space-md); font-size: var(--text-sm); }
  .reel-now > div { display: flex; align-items: baseline; gap: var(--space-md); }
  .reel-now .btn { min-height: 44px; }
  .reel-copy { gap: var(--space-xs); }
  .reel-stage { padding-bottom: var(--space-sm); }
  .reel-sub { gap: var(--space-xs) var(--space-lg); }
  .reel-sub .lead { font-size: var(--text-md); }
  .reel-title { font-size: var(--text-xl); }
  .reel-prog { gap: var(--space-xs) !important; }
  .reel-list button { min-height: 44px; font-size: var(--text-sm); }
}

/* sections share one rhythm and one head */
.sec { padding-block: var(--section-gap-s); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.sec-head .lead { color: var(--color-ink-2); }
.js.rv [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js.rv [data-reveal].is-in { opacity: 1; transform: none; }

/* the problem */
.pains h2 { max-width: none; }
.pains h2 span { display: block; }
.rows { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { max-width: none; font-size: var(--text-title); }
.rows p { color: var(--color-ink-2); }
.pains-close { max-width: 34ch; margin-top: var(--space-2xl); font: var(--title-weight) var(--text-2xl)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }

/* how we are fast: five stages beside one frame taken apart */
.fast-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); margin-top: var(--space-2xl); }
.stages { margin: 0; padding: 0; list-style: none; }
.stages li { position: relative; display: grid; align-content: center; gap: var(--space-md); min-height: 48vh; min-height: 48svh; border-top: var(--rule-hair) solid var(--color-rule); }
.stages li::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-long) var(--ease-out); }
.stages li.on::before { transform: scaleX(1); }
.stages h3 { max-width: none; font-size: var(--text-2xl); }
.stages dl { display: grid; gap: var(--space-md); margin: 0; }
.stages dt { color: var(--color-muted); font-size: var(--text-sm); }
.stages dd { margin: 0; max-width: 52ch; color: var(--color-ink-2); }
.xp { position: sticky; top: calc(var(--space-2xl) + var(--space-lg)); align-self: start; margin: 0; }
.xp figcaption { margin-top: var(--space-md); max-width: 52ch; font-size: var(--text-sm); color: var(--color-muted); }
/* the frame: drawn on a 640 by 400 rig that site.js scales to its stage; each stage above sets data-s */
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --rz { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --lift { syntax: "<length>"; inherits: true; initial-value: 1px; }
@property --zoom { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --ol { syntax: "<number>"; inherits: true; initial-value: 0; }
.xp-stage { position: relative; height: min(72vh, 640px); height: min(72svh, 640px); perspective: 2200px; perspective-origin: 50% 35%; overflow: clip; overflow-clip-margin: var(--space-md); }
.xp-rig { --fit: 0.5; --zoom: 1.2; position: absolute; left: 50%; top: 50%; width: 640px; height: 400px; margin: -200px 0 0 -320px; transform-style: preserve-3d; transform: scale(var(--fit)) rotateX(var(--rx)) rotateZ(var(--rz)) scale(var(--zoom)); transition: --rx 900ms var(--ease-out), --rz 900ms var(--ease-out), --lift 900ms var(--ease-out), --zoom 900ms var(--ease-out), --ol var(--dur-long) var(--ease-out); }
.xp-rig[data-s="1"], .xp-rig[data-s="2"], .xp-rig[data-s="3"] { --rx: 50deg; --rz: -30deg; --lift: 62px; --zoom: 0.92; --ol: 1; }
.xp-l { position: absolute; inset: 0; transform-style: preserve-3d; }
.xp-l1 { transform: translateZ(var(--lift)); }
.xp-l2 { transform: translateZ(calc(var(--lift) * 2)); }
.xp-l3 { transform: translateZ(calc(var(--lift) * 3)); }
.xp-l4 { transform: translateZ(calc(var(--lift) * 4)); }
.xp-c { position: absolute; inset: 0; transition: opacity var(--dur-long) var(--ease-out); }
.xp-l::before { content: ""; position: absolute; inset: -1px; border: 1px dashed color-mix(in oklab, var(--color-accent) 45%, transparent); border-radius: var(--radius-card); opacity: var(--ol); pointer-events: none; }
.xp-l0::before { display: none; }
.xp-tag { position: absolute; left: 0; top: 50%; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); line-height: 1.3; white-space: nowrap; opacity: var(--ol); transform-origin: 0 50%; transform: translateY(-50%) rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)); }
.xp-l0 .xp-tag { top: 100%; } .xp-l1 .xp-tag { top: 100%; } .xp-l2 .xp-tag { top: 100%; } .xp-l3 .xp-tag { top: 100%; } .xp-l4 .xp-tag { top: 100%; }
.xp-rig[data-s="1"] .xp-l1 .xp-c, .xp-rig[data-s="1"] .xp-l2 .xp-c, .xp-rig[data-s="1"] .xp-l3 .xp-c,
.xp-rig[data-s="2"] .xp-l0 .xp-c, .xp-rig[data-s="2"] .xp-l3 .xp-c, .xp-rig[data-s="2"] .xp-l4 .xp-c,
.xp-rig[data-s="3"] .xp-l0 .xp-c, .xp-rig[data-s="3"] .xp-l1 .xp-c, .xp-rig[data-s="3"] .xp-l4 .xp-c { opacity: 0.4; }
.xp-plate { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-card); background: radial-gradient(45% 55% at 85% 95%, color-mix(in oklab, var(--color-accent) 42%, transparent), transparent), linear-gradient(color-mix(in oklab, var(--color-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, color-mix(in oklab, var(--color-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 40px 40px, var(--color-paper-2); outline: 1px solid color-mix(in oklab, var(--color-ink) 12%, transparent); outline-offset: -1px; }
.xp-win { position: absolute; left: 272px; top: 48px; width: 340px; height: 304px; overflow: hidden; border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); }
.xp-side { position: absolute; inset: 0 auto 0 0; display: grid; align-content: start; gap: var(--space-sm); width: 54px; padding: var(--space-md) var(--space-sm); border-right: 1px solid color-mix(in oklab, var(--color-paper) 12%, transparent); }
.xp-side b { width: 22px; height: 22px; border-radius: var(--space-xs); background: var(--color-paper); }
.xp-side i, .xp-rows i { height: 6px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper) 14%, transparent); }
.xp-main { position: absolute; inset: 0 0 0 54px; padding: var(--space-md); }
.xp-wt { font-weight: 500; font-size: var(--text-sm); }
.xp-rows { position: absolute; inset: auto var(--space-md) var(--space-md); display: grid; gap: var(--space-xs); }
.xp-rows i:nth-child(2) { width: 80%; } .xp-rows i:nth-child(3) { width: 60%; }
.xp-card { position: absolute; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); outline: 1px solid color-mix(in oklab, var(--color-paper) 12%, transparent); outline-offset: -1px; }
.xp-card small { display: block; font-size: var(--text-xs); line-height: 1.2; }
.xp-card strong { display: block; margin-top: var(--space-2xs); font: var(--display-weight) var(--text-xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.xp-card em { position: absolute; right: var(--space-sm); top: var(--space-sm); font-size: var(--text-xs); font-style: normal; font-weight: 500; line-height: 1.2; }
.xp-card.a { left: 226px; top: 268px; width: 172px; }
.xp-card.b { left: 506px; top: 18px; width: 122px; }
.xp-chart { position: absolute; left: 350px; top: 112px; width: 238px; height: 148px; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink-2); outline: 1px solid color-mix(in oklab, var(--color-ink) 12%, transparent); outline-offset: -1px; }
.xp-chart small { font-size: var(--text-xs); line-height: 1.2; }
.xp-chart svg { position: absolute; inset: auto 10px 10px; width: calc(100% - 20px); height: 96px; overflow: visible; }
.xp-line { fill: none; stroke: var(--color-accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-in-out); }
.xp-area { fill: color-mix(in oklab, var(--color-accent) 16%, transparent); transition: opacity var(--dur-long) var(--ease-out); }
.xp-rig[data-s="1"] .xp-line, .xp-rig[data-s="2"] .xp-line { stroke-dashoffset: 1; }
.xp-rig[data-s="1"] .xp-area, .xp-rig[data-s="2"] .xp-area { opacity: 0; }
.xp-type { position: absolute; left: 32px; top: 96px; width: 230px; color: var(--color-ink); }
.xp-type small { display: block; color: var(--color-accent); font-size: var(--text-xs); line-height: 1.2; }
.xp-hl { margin-top: var(--space-sm); font: var(--display-weight) var(--text-3xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.xp-cta { position: absolute; left: 32px; top: 268px; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 500; }
.xp-ring { position: absolute; inset: -1px; border: 2px solid var(--color-accent); border-radius: var(--radius-card); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); pointer-events: none; }
.xp-rig[data-s="4"] .xp-ring { opacity: 1; }

/* prices: one big comparison, the labels down the left */
.plans { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 3fr)); grid-template-rows: repeat(9, auto); column-gap: var(--gap-columns); margin-top: var(--space-2xl); }
.plan-labels { display: grid; grid-row: 1 / span 9; grid-template-rows: subgrid; margin: 0; padding: 0; list-style: none; color: var(--color-muted); font-size: var(--text-sm); }
.plan-labels li { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.plan-labels li:first-child, .plan-labels li:nth-child(3) { border-top: 0; }
.plan { display: grid; grid-row: 1 / span 9; grid-template-rows: subgrid; min-width: 0; }
.plan dl { display: contents; }
.plan .r { min-width: 0; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.plan > header.r { border-top: 0; }
.plan dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plan dd { margin: 0; }
.plan header p { color: var(--color-ink-2); font-size: var(--text-sm); }
.plan header b { font-weight: 500; color: var(--color-accent); }
.plan h3 { font-size: var(--text-title); margin-bottom: var(--space-2xs); }
.price { display: flex; align-items: baseline; gap: var(--space-xs); }
.price small { color: var(--color-ink-2); font-size: var(--text-md); }
.price strong { font: var(--display-weight) clamp(2.75rem, 4.6vw, 4.5rem)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.r-price > p:last-child { margin-top: var(--space-xs); color: var(--color-ink-2); }
.plan ul { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.addons { font-variant-numeric: tabular-nums; }
.plan .r-go { padding-top: 0; border-top: 0; }
.plan--pick { margin-inline: calc(-1 * var(--space-md)); padding-inline: var(--space-md); border-radius: var(--radius-card); }
.r-go .btn { width: 100%; }
.prices-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-lg) var(--gap-columns); align-items: end; margin-top: var(--space-2xl); }

/* terms, one step off the white */
.terms { background: var(--color-paper-2); }
.term-rows { margin: var(--space-2xl) 0 0; }
.term-rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.term-rows dt { font-weight: 500; }
.term-rows dd { margin: 0; max-width: 65ch; color: var(--color-ink-2); }

/* contact: the head and the other ways on the left, the fields on the right */
.final { background: radial-gradient(70% 80% at 78% 108%, color-mix(in oklab, var(--color-accent) 14%, transparent), transparent), var(--color-paper-2); }
.final h2 { max-width: none; margin-bottom: var(--space-xl); font-size: var(--text-display-s); }
.final h2 span { display: block; text-wrap: balance; }
.nb { white-space: nowrap; }
.final-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--gap-columns); }
.final-copy { display: grid; gap: var(--space-lg); align-content: start; }
.final-copy .lead { color: var(--color-ink-2); }
.final-alt { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.brief { display: grid; gap: var(--space-md); }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.brief label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.brief input, .brief select, .brief textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; outline: 2px solid transparent; outline-offset: -3px; }
.brief textarea { resize: vertical; }
.brief input:focus-visible, .brief select:focus-visible, .brief textarea:focus-visible { outline-color: var(--color-focus); }
.brief input:user-invalid { border-color: var(--color-error); }
.brief ::placeholder { color: var(--color-muted); opacity: 1; }
.brief-go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.brief-note { min-height: 1lh; font-size: var(--text-sm); color: var(--color-success); }
.brief-note.err { color: var(--color-error); }
.brief-legal { font-size: var(--text-sm); color: var(--color-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the footer: the links over the wordmark, the page's last and largest thing */
.mast { padding-block: var(--space-2xl) var(--space-lg); }
.mast .container { container-type: inline-size; }
.mast-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md) var(--space-xl); color: var(--color-ink-2); }
.mast-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.mast-links a, .mast-row p a { display: inline-flex; align-items: center; min-height: 44px; }
.mast-row p { align-self: center; }
.mast-word { margin-top: var(--space-xl); font: var(--wordmark-weight) 12cqw/0.9 var(--font-wordmark); letter-spacing: -0.02em; white-space: nowrap; }
.mast-word b { font-weight: inherit; color: var(--color-accent); }

/* the About and Privacy pages */
.page-head { padding-block: calc(var(--space-2xl) + var(--space-3xl)) var(--space-2xl); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: var(--space-lg); max-width: 64ch; color: var(--color-ink-2); }
.sec-tight { padding-block: var(--space-2xl); }
.page-head + .on-light { padding-top: var(--space-3xl); }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); }
.person { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.person h3 { font-size: var(--text-title); }
.person .role { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.story { display: grid; gap: var(--space-md); font-size: var(--text-lead); line-height: 1.5; }
.story p { max-width: 58ch; }
.closer .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.closer .container { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg) var(--gap-columns); }
.closer h2 { max-width: 14ch; font-size: var(--text-display); }
.closer { padding-bottom: var(--section-gap-s); }
.doc { max-width: 68ch; }
.doc h2 { margin-block: var(--space-xl) var(--space-sm); font-size: var(--text-title); line-height: 1.2; }
.doc h2:first-child { margin-top: 0; }
.doc ul { display: grid; gap: var(--space-xs); margin: 0 0 var(--space-md); padding-left: var(--space-lg); }
.doc li, .doc p { color: var(--color-ink-2); }
.doc b { font-weight: 500; color: var(--color-ink); }
.doc .updated { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }

@media (max-width: 75rem) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-labels { display: none; }
  .plan dt { position: static; width: auto; height: auto; overflow: visible; clip-path: none; margin-bottom: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); white-space: normal; }
}
@media (max-width: 60rem) {
  .sec-head, .rows li, .fast-grid, .prices-foot, .term-rows > div, .final-grid, .founder { grid-template-columns: minmax(0, 1fr); }
  .fast-grid { gap: var(--space-xl); }
  .xp { position: static; order: -1; }
  .xp-stage { height: min(62vw, 440px); }
  .stages li { min-height: 0; padding-block: var(--space-lg); }
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-2xl); }
  .plan--pick { margin-inline: 0; }
  .plan { grid-row: auto; grid-template-rows: none; }
  .final-grid { gap: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .f2 { grid-template-columns: minmax(0, 1fr); }
  .pains-close { font-size: var(--text-xl); }
  .brief-go .btn { width: 100%; }
  .xp-stage { height: 72vw; }
}
@media (prefers-reduced-motion: reduce) {
  .js.rv [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (min-width: 60.01rem) { .xp-rig { --fit: 0.85; } }
@supports not (grid-template-rows: subgrid) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-labels { display: none; }
  .plan dt { position: static; width: auto; height: auto; overflow: visible; clip-path: none; margin-bottom: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); white-space: normal; }
}
