/* ============================================================================
   mxkrs.com, the November 2026 rebuild (site/v2). Written by hand for MXKRS by StrayDog.
   The look is the current site's: light grey page, near-black rounded panels, Inter 600 set tight,
   Fragment Mono for small numbers, pill buttons. Values marked "measured" were read off the live site.
   Every class here belongs to these pages only; nothing is shared with the earlier pages (their classes start sx-).
   Nothing is hidden without the script: the reveal, fold and dim styles apply only under classes the script
   puts on <html> (v2-js, v2-faq, v2-live), and the script always ends them (see v2.js), so a page is readable
   with scripts off or broken.
   Second pass, 2026-11-22 (Conrad: "premium all around"): the film back in the hero, photos spread through the
   pages, a table that follows the reader, drawn portal screens, a folding FAQ, drift on scroll.
   ========================================================================== */
:root {
  --bg: #f5f5f5;            /* measured */
  --ink: #090909;
  --soft: #6f6f6f;          /* second-voice text on light */
  --panel: #0a0a0a;
  --panel-2: #161616;
  --on-dark: #ffffff;
  --dim: #8b8b8b;           /* second-voice text on dark */
  --line: #dcdcdc;
  --line-dark: rgba(255, 255, 255, .16);
  --card: #ffffff;
  --green: #1f9d55;         /* progress in the drawn portal screens, as in the real portal */
  --font: "Inter", "Inter Placeholder", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;
  --f2: "Redaction", "Iowan Old Style", "Times New Roman", serif;   /* the second voice, see below */
  --r-xl: 25px; --r-lg: 18px; --r-md: 14px;
  --gut: 16px;              /* page gutter */
  --pad: 40px;              /* inside a panel */
  --hd: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
/* The second voice (2026-11-22, Conrad: no greyed text; a different face in full colour instead, and not a common one).
   Redaction, italic: SETTLED 2026-11-22. He confirmed it with a screenshot of the page showing it ("the one that is selected").
   Open licence (SIL OFL), hosted here in /fonts. Not a cursive script: one was tried and he did not want it. */
@font-face { font-family: "Redaction"; src: url("/fonts/redaction-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.panel :focus-visible, .hero :focus-visible, .mn :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.split-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* a split title's whole text, for screen readers */

/* ── type ── */
.h1 { font-size: clamp(44px, 7.6vw, 112px); line-height: .98; letter-spacing: -.055em; font-weight: 600; max-width: 14ch; }
.h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.06em; font-weight: 600; }   /* measured: 60 / 66 / -3.6 */
.giant { font-size: clamp(42px, 7.4vw, 110px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.on-dark { color: var(--on-dark); }
.num { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--ink); }
.panel .num, .hero .num { color: var(--on-dark); }
.lede { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.04em; display: grid; gap: .8em; max-width: 30em; }
.lede .soft { font-family: var(--f2); font-style: italic; font-weight: 400; font-size: 1.08em; line-height: 1.16; letter-spacing: -.03em; color: var(--ink); }
.lede.one { display: block; }
.after { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.035em; max-width: 34em; margin-top: 40px; }
.tlink { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: opacity .2s ease; }
.tlink:hover { opacity: .6; }
.tlink:active { opacity: .45; }

/* ── buttons: one shape, two colours ── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; transition: background .25s ease, color .25s ease, transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-dark:active { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e6e6e6; }
.btn-light:active { background: #d6d6d6; }

/* ── photos placed through the pages ── */
.pic { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #e6e6e6; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
[data-par] { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* ── header ── */
/* the menu sits in the middle of the window, whatever the widths of the name on the left and the buttons on the right
   (Conrad, 2026-11-22): two equal side columns, the menu between them */
.hd { position: sticky; top: 0; z-index: 50; height: var(--hd); padding: 0 calc(var(--gut) + 9px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: var(--bg); }
.hd-logo { justify-self: start; }
.hd-end { justify-self: end; }
.hd-logo { font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
/* The logo (Conrad, 2026-11-22): one of several drawings, picked at random on each page load by the script in <head>.
   The drawing is used as a mask and filled with the text colour, so it is black on the light header and white on the
   dark footer whatever colours the file itself has. Without the list, or in a browser with no masks, the name is text. */
.lg { display: none; }
@supports ((-webkit-mask-image: url("x.svg")) or (mask-image: url("x.svg"))) {
  html.has-logo .lg { display: block; aspect-ratio: var(--logo-ar); background: currentColor; -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat; }
  html.has-logo .lg-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html.has-logo .hd-logo { display: flex; align-items: center; }
  html.has-logo .hd-logo .lg { height: var(--logo-h); transition: opacity .2s ease; }
  html.has-logo .hd-logo:hover .lg { opacity: .6; }
  html.has-logo .hd-logo:active .lg { opacity: .45; }
  html.has-logo .ft-word { position: relative; display: block; line-height: 1; }
  html.has-logo .ft-word .lg { width: min(100%, calc(clamp(84px, 14vw, 210px) * var(--logo-ar))); }
  /* a logo with colours of its own (Conrad: keep those coloured) is drawn as it is on the light header, and in the
     footer from its copy made for dark backgrounds when it has one; otherwise it is tinted white there like the rest */
  html.has-logo.logo-c .hd-logo .lg { background: var(--logo) left center / contain no-repeat; -webkit-mask: none; mask: none; }
  html.has-logo.logo-d .ft-word .lg { background: var(--logo-d) left center / contain no-repeat; -webkit-mask: none; mask: none; }
}
.hd-nav { display: flex; justify-content: center; gap: clamp(22px, 5.6vw, 96px); font-size: 14px; }
.hd-nav a { position: relative; padding: 8px 0; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hd-nav a:hover::after, .hd-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hd-nav a:active { opacity: .5; }
.hd-end { display: flex; align-items: center; gap: 18px; }
.hd-login { font-size: 12.5px; font-weight: 500; transition: opacity .2s ease; }
.hd-login:hover { opacity: .55; }
.hd-cta { height: 38px; padding: 0 18px; font-size: 14px; }
.hd-menu { display: none; width: 40px; height: 40px; position: relative; border-radius: 10px; }
.hd-menu i { position: absolute; left: 7px; right: 7px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.hd-menu i:first-child { top: 16px; } .hd-menu i:last-child { top: 23px; }
.hd-menu[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.hd-menu[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }
.hd-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }                       /* how far down the page the reader is */
.hd-prog i { display: block; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.mn { position: fixed; inset: var(--hd) 0 0 0; z-index: 49; background: var(--panel); color: #fff; padding: 28px calc(var(--gut) + 9px) 32px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.mn[hidden] { display: none; }
.mn nav { display: grid; gap: 4px; }
.mn nav a { font-size: 40px; line-height: 1.15; letter-spacing: -.05em; padding: 4px 0; }
.mn .btn { align-self: flex-start; margin-top: 10px; }
.mn-login { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ── hero: the film behind, the words in front ── */
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 0 5px; border-radius: var(--r-xl); background: var(--panel); color: #fff; padding: var(--pad); display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--hd) - 6px), 900px); }
/* The film's own box is cut to the hero's rounded corners with clip-path, not only by the hero's overflow. Reason (Conrad,
   2026-11-22, with screenshots): once the page scrolled, a top corner of the film went square. The film drifts on scroll
   with a transform, which moves it onto its own layer in Chrome, and a rounded overflow does not always cut a video on its
   own layer. clip-path does. The film also sits on that layer from the start, so nothing changes at the first scroll. */
.hero-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; clip-path: inset(0 round var(--r-xl)); }
.hero-vid { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none; object-fit: cover; transform: translate3d(0, 0, 0); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .68) 38%, rgba(10, 10, 10, .22) 74%, rgba(10, 10, 10, .12) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .66) 0%, rgba(10, 10, 10, 0) 52%); }
.hero-txt { display: flex; flex-direction: column; gap: 22px; max-width: clamp(720px, 52vw, 800px); }   /* ten times the headline size, so the headline keeps three lines on wide screens too */
.hero-h { font-size: clamp(38px, 5.2vw, 80px); line-height: 1; letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }   /* balance: never a last line of one word */
.hero-h .dim { font-family: var(--f2); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -.03em; color: #fff; }
.hero-sub { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.38; letter-spacing: -.025em; font-weight: 500; color: #ececec; max-width: 38em; }

/* ── sections on the light page ── */
.sec { padding: clamp(72px, 9vw, 150px) calc(var(--gut) + 9px) 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 0; row-gap: 40px; }
.sec > * { grid-column: 1 / -1; }
.sec > .sec-k { grid-column: 1; padding-top: 14px; }
.sec > .sec-b { grid-column: 2; display: grid; gap: 28px; }
.sec > .sec-b.solo { grid-column: 2; max-width: 860px; }
.sec-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.sec:last-of-type { padding-bottom: clamp(72px, 9vw, 150px); }
.end { margin-top: 8px; }

/* three close views under "Why most merch looks the same": each drifts at its own speed */
.strip { display: grid; grid-template-columns: 1.25fr .85fr 1.05fr; gap: 10px; align-items: start; margin-top: clamp(8px, 2vw, 30px); }
.strip-f:nth-child(1) { aspect-ratio: 4 / 3; }
.strip-f:nth-child(2) { aspect-ratio: 3 / 4; margin-top: 16%; }
.strip-f:nth-child(3) { aspect-ratio: 1 / 1; margin-top: 6%; }

/* bands of photos under the top of an inside page */
.band { padding: clamp(48px, 6vw, 96px) calc(var(--gut) + 9px) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; align-items: start; }
.band-2 .band-f:nth-child(1) { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.band-2 .band-f:nth-child(2) { grid-column: 7 / span 6; aspect-ratio: 3 / 2; margin-top: 18%; }
.band-3 .band-f:nth-child(1) { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.band-3 .band-f:nth-child(2) { grid-column: 5 / span 5; aspect-ratio: 1 / 1; margin-top: 14%; }
.band-3 .band-f:nth-child(3) { grid-column: 10 / span 3; aspect-ratio: 4 / 5; margin-top: 4%; }

/* ── dark panels ── */
.panel { margin: clamp(72px, 9vw, 150px) 5px 0; border-radius: var(--r-xl); background: var(--panel); color: #fff; padding: clamp(56px, 7vw, 110px) var(--pad); }
.panel + .ft { margin-top: 5px; }

/* the comparison: the centrepiece of the home page, drawn as a "versus" table (Conrad, 2026-11-22: smaller, all on
   one screen, "more like a vs table"). Two equal sides, one line down the middle, a "vs" on that line in every row.
   Still a real table. A white block glides to the row being read (v2.js) and that row's MXKRS side turns black on white. */
.panel.cmp { padding-top: clamp(48px, 5.4vw, 84px); padding-bottom: clamp(48px, 5.4vw, 84px); }
.cmp-w { position: relative; margin-top: clamp(26px, 3vw, 44px); }
.cmp-t { position: relative; z-index: 1; width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-t th, .cmp-t td { position: relative; width: 50%; text-align: left; vertical-align: middle; }
.cmp-t th { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -.045em; font-weight: 600; padding: 0 0 18px; color: #fff; }
.cmp-t th:first-child { color: #b9b9b9; padding-right: 44px; }
.cmp-t th:last-child { padding-left: 54px; }
.cmp-t td { padding: clamp(15px, 1.5vw, 22px) 0; font-size: clamp(16px, 1.42vw, 21px); line-height: 1.26; letter-spacing: -.03em; border-top: 1px solid var(--line-dark); transition: color .5s var(--ease), border-color .5s var(--ease); }
.cmp-t td:first-child { color: #b9b9b9; font-weight: 500; padding-right: 44px; border-right: 1px solid var(--line-dark); }
.cmp-t td:last-child { color: #fff; font-weight: 600; padding-left: 54px; padding-right: 26px; }
/* the "vs" that sits on the middle line */
.cmp-t th:last-child::before, .cmp-t td:last-child::before { content: "vs"; position: absolute; left: 0; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--panel); border: 1px solid rgba(255, 255, 255, .34); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0; line-height: 1; z-index: 2; }
.cmp-t th:last-child::before { top: calc(50% - 9px); width: 40px; height: 40px; margin: -20px 0 0 -20px; background: #fff; color: var(--ink); border-color: #fff; font-size: 13px; }
.cmp-focus { position: absolute; z-index: 0; left: calc(50% + 28px); right: 0; top: 0; height: var(--h, 0px); transform: translateY(var(--y, 0px)); background: #fff; border-radius: var(--r-md); opacity: 0; transition: transform .7s var(--ease), height .7s var(--ease), opacity .4s ease; }
html.v2-live .cmp-w.live .cmp-focus { opacity: 1; }
html.v2-live .cmp-w.live tr.on td:last-child { color: var(--ink); }
html.v2-live .cmp-w.live tr.on td:first-child { color: #fff; }
.cmp-note { margin-top: clamp(28px, 3vw, 44px); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.32; letter-spacing: -.035em; color: #dcdcdc; max-width: 40em; }

/* what we make */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--card); display: flex; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-t { position: relative; z-index: 1; margin-top: auto; width: 100%; padding: 20px; display: grid; gap: 4px; }
.tile h3 { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.1; letter-spacing: -.045em; font-weight: 600; }
.tile p { font-size: 14px; line-height: 1.35; font-weight: 500; }
.tile.has-pic .tile-t { color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); padding-top: 70px; transition: padding-bottom .6s var(--ease); }
.tile.has-pic:hover .tile-t { padding-bottom: 28px; }
/* A tile with no photo turns black under the pointer. Conrad, 2026-11-22: "it's a hard switch to black... smooth out the
   transition so it feels premium". So the black is a layer that spreads out in a circle from the point where the pointer
   came in (--mx, --my, set by v2.js; from the bottom edge without it) and draws back to where it left. The words are
   white with "difference" blending, which shows them black on the white card and white on the black, so each letter
   changes exactly as the black reaches it. No fade of the whole tile, no hard cut. */
.tile.no-pic { border: 1px solid var(--line); isolation: isolate; transition: border-color .6s ease; }
.tile.no-pic::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--ink); clip-path: circle(0% at var(--mx, 50%) var(--my, 100%)); transition: clip-path 1s cubic-bezier(.4, 0, .15, 1); }
.tile.no-pic:hover::before { clip-path: circle(142% at var(--mx, 50%) var(--my, 100%)); }   /* 142% reaches the far corner from anywhere */
.tile.no-pic:hover { border-color: var(--ink); }
.tile.no-pic .tile-t { margin-top: 0; height: 100%; grid-template-rows: 1fr auto; color: #fff; mix-blend-mode: difference; }
.tile.no-pic h3 { font-size: clamp(24px, 2.5vw, 38px); letter-spacing: -.055em; }
.tile.no-pic p { color: #909090; align-self: end; }   /* "difference" shows this as #6f6f6f on the white card and #909090 on the black */
@media (prefers-reduced-motion: reduce) { .tile.no-pic::before { transition: none; } }

/* how it works: one line across four steps; the line fills as the reader scrolls and each step lights as it is reached */
/* How it works: four columns, one per step, under a line that draws across as the section is reached.
   Conrad, 2026-11-22: first "the layout doesn't work with this much text", then, of a rebuild as full-width rows, "I don't
   like the new design... I like the previous one but I just want it adjusted to fit better". So the columns stay and three
   things are adjusted: each column is as wide as its words need (--cols, worked out in tpl/home.php from the lengths), so
   a long step gets more room; a step's name wraps into even lines if it must (never one word alone); and the three parts
   of every step share the same rows (subgrid), so all four paragraphs start on one line. DO NOT turn this into rows again. */
.steps { position: relative; display: grid; grid-template-columns: var(--cols, repeat(4, minmax(0, 1fr))); grid-template-rows: auto auto auto; gap: 0 clamp(20px, 2.4vw, 40px); border-top: 1px solid var(--line); --p: 1; }
.steps::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 100%; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(var(--p)); }
.step { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding-top: 22px; }
.step h3 { font-size: clamp(21px, 2.1vw, 34px); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; margin-top: clamp(36px, 6vw, 96px); text-wrap: balance; }
.step p { font-size: 16px; line-height: 1.42; font-weight: 500; color: #3a3a3a; margin-top: 12px; text-wrap: pretty; }
/* Each step comes into view as the line reaches it (Conrad, 2026-11-22: "when the line is moving and the next step is
   showing, that the next step animates into view"). Until then it is not shown at all (before, it sat there dimmed).
   Its number appears, its name comes out of a blur letter by letter like the titles (split by v2.js), and its words rise
   into place just after. v2.js adds "on" to the step. Without the script, or with reduced motion, every step is simply there. */
@media (prefers-reduced-motion: no-preference) {
  html.v2-live .step .num { opacity: 0; transition: opacity .5s ease; }
  html.v2-live .step p { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(5px); transition: opacity .7s ease .4s, transform .95s var(--ease) .4s, filter .7s ease .4s; }
  html.v2-live .step.on .num { opacity: 1; }
  html.v2-live .step.on p { opacity: 1; transform: none; filter: none; }
}

/* work cards */
.works { display: grid; gap: 34px 10px; }
.work { display: grid; gap: 8px; align-content: start; scroll-margin-top: calc(var(--hd) + 16px); }
.work-pic { display: block; border-radius: var(--r-lg); overflow: hidden; background: #e6e6e6; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.work-pic img { width: 100%; height: 100%; object-fit: cover; }
/* a client with several projects: a photo from each, the card's own one large (Conrad, 2026-11-22) */
.work-pic.mo { display: grid; gap: 4px; background: var(--bg); }
.work-pic.mo img { min-width: 0; min-height: 0; border-radius: 6px; }
.work-pic.mo-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.work-pic.mo-3 img:first-child { grid-row: 1 / span 2; }
.work-pic.mo-2 { grid-template-rows: 3fr 2fr; }
.all-works .work .work-pic.mo-3 { aspect-ratio: 16 / 10; }
.work h3, .work-h { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -.05em; font-weight: 600; }
.work p { font-size: 15px; line-height: 1.4; font-weight: 500; color: #4a4a4a; max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0; padding: 4px 9px; border: 1px solid #c9c9c9; border-radius: 999px; }
.work-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 15px; }
/* the Work page: pictures set at different sizes and heights, each drifting at its own speed */
.all-works { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(60px, 9vw, 150px) 10px; align-items: start; }
.all-works .work:nth-child(5n+1) { grid-column: 1 / span 7; }
.all-works .work:nth-child(5n+2) { grid-column: 9 / span 4; margin-top: 24%; }
.all-works .work:nth-child(5n+3) { grid-column: 2 / span 4; }
.all-works .work:nth-child(5n+4) { grid-column: 7 / span 6; margin-top: 16%; }
.all-works .work:nth-child(5n+5) { grid-column: 3 / span 8; }
.all-works .work:nth-child(5n+2) .work-pic, .all-works .work:nth-child(5n+3) .work-pic { aspect-ratio: 4 / 5; }
.all-works .work:nth-child(5n+5) .work-pic { aspect-ratio: 16 / 9; }
.work-meta { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 8px; align-items: start; margin-top: 6px; }
.work-meta .num { padding-top: 7px; }
.work-meta > div { display: grid; gap: 8px; }

/* closing panel */
.close { display: grid; gap: 26px; justify-items: start; }
.close-l { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.035em; color: #dcdcdc; max-width: 30em; }

/* ── top of the inside pages ── */
.top { padding: clamp(40px, 6vw, 96px) calc(var(--gut) + 9px) 0; display: grid; gap: clamp(22px, 2.6vw, 40px); }
.top-l { font-size: clamp(19px, 1.9vw, 27px); line-height: 1.28; letter-spacing: -.04em; max-width: 34em; display: grid; gap: .7em; }
.crumb { font-size: 14px; font-weight: 500; }

/* services: the row under the pointer steps forward, the others step back, and its photo follows the pointer */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 190px minmax(0, .85fr) minmax(0, 1.05fr) clamp(200px, 21vw, 320px); gap: 0 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; transition: opacity .5s var(--ease); }
.row-h { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; transition: transform .7s var(--ease); }
.row p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; letter-spacing: -.025em; font-weight: 500; color: #3a3a3a; }
.row .num { padding-top: 10px; }
@media (hover: hover) and (pointer: fine) {
  .rows:hover .row { opacity: .34; }
  .rows:hover .row:hover { opacity: 1; }
  .row:hover .row-h { transform: translateX(14px); }
}
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(200px, 21vw, 320px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #e6e6e6; pointer-events: none; opacity: 0; transform: translate3d(-200%, 0, 0); transition: opacity .35s ease; }
.peek.on { opacity: 1; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .45s ease, transform 1s var(--ease); }
.peek img.on { opacity: 1; transform: none; }

/* your client portal: the points on one side, drawn screens on the other; the screen changes with the point being read */
.portal-l { margin-top: 22px; font-size: clamp(19px, 1.9vw, 27px); line-height: 1.28; letter-spacing: -.04em; color: #dcdcdc; max-width: 30em; }
.pshow { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 0 clamp(28px, 4vw, 70px); align-items: start; }
.pts { display: grid; }
.pt { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px 8px; align-content: start; padding: 26px 0 0; border-top: 1px solid var(--line-dark); min-height: 46vh; transition: opacity .6s var(--ease); }
.pt:last-child { min-height: 34vh; }
.pt .num { padding-top: 7px; }
.pt h3 { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
.pt p { grid-column: 2; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; letter-spacing: -.025em; font-weight: 500; color: #cfcfcf; max-width: 24em; }
html.v2-live .pt { opacity: .32; }
html.v2-live .pt.on { opacity: 1; }
.pstage { position: sticky; top: calc(var(--hd) + 22px); container-type: inline-size; display: grid; gap: 14px; }
.pcap { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0; color: #8f8f8f; }
/* the drawn screens. Sizes are in em so the whole drawing scales with the width of its frame. */
.pframe { font-size: 12px; font-size: clamp(8.5px, 1.86cqw, 15px); background: #f3f3f1; color: var(--ink); border-radius: 1.5em; overflow: hidden; letter-spacing: -.02em; line-height: 1.3; }
.pbar { display: flex; align-items: center; gap: 2em; height: 4em; padding: 0 1.6em; background: #fff; border-bottom: 1px solid #e3e3e0; }
.pbar b { font-size: 1.2em; letter-spacing: -.03em; }
.ptabs { display: flex; gap: 1.6em; margin-right: auto; }
.ptab { position: relative; font-size: .95em; font-weight: 500; color: #7a7a7a; padding: 1.3em 0; transition: color .4s ease; }
.ptab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .5s var(--ease); }
.ptab.on { color: var(--ink); font-weight: 600; }
.ptab.on::after { transform: scaleX(1); }
.pwho { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85em; }
.pscreens { display: grid; gap: 1.6em; padding: 1.6em; }
.pscr { display: grid; gap: 1.1em; align-content: start; }
html.v2-live .pscreens { display: block; position: relative; padding: 0; aspect-ratio: 16 / 9.4; }
html.v2-live .pscr { position: absolute; inset: 0; padding: 1.6em; opacity: 0; transform: translateY(1.4em); transition: opacity .45s ease, transform .9s var(--ease); pointer-events: none; }
html.v2-live .pscr.on { opacity: 1; transform: none; }
html.v2-live .pscr { display: flex; flex-direction: column; }
html.v2-live .pscr > :last-child { flex: 1; min-height: 0; }   /* the last block of a screen fills what is left of the frame */
.ps-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.ps-k { display: block; font-family: var(--mono); font-weight: 400; font-size: .8em; letter-spacing: 0; color: #6b6b6b; margin-bottom: .35em; }
.pscr h4 { font-size: 2em; line-height: 1.05; letter-spacing: -.05em; font-weight: 600; }
.ps-card { background: #fff; border-radius: 1.1em; padding: 1.3em; display: grid; gap: .7em; align-content: start; min-width: 0; }
.ps-card b { font-size: 1.15em; letter-spacing: -.03em; }
.ps-s { font-size: .9em; font-weight: 500; color: #555; }
.ps-p { font-size: 1em; font-weight: 500; color: #333; }
.ps-chip { font-size: .85em; font-weight: 600; padding: .45em .9em; border-radius: 99em; background: var(--green); color: #fff; white-space: nowrap; }
.ps-chip.dark { background: var(--ink); }
.ps-chip.quiet { background: #e9e9e6; color: var(--ink); }
.ps-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45em; align-items: center; }
.ps-track i { height: .5em; border-radius: 99em; background: #e3e3e0; }
.ps-track i.done { background: var(--green); }
.ps-track i.now { background: var(--green); height: .85em; }
.ps-track.sm i { height: .4em; } .ps-track.sm i.now { height: .7em; }
.ps-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45em; font-size: .88em; font-weight: 600; }
.ps-steps span:nth-child(n+3) { color: #8a8a8a; font-weight: 500; }
.ps-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; }
.ps-two.wide { grid-template-columns: .9fr 1.1fr; min-height: 0; }
.ps-line { height: .5em; border-radius: 99em; background: #e3e3e0; width: 62%; }
.ps-photo { position: relative; border-radius: 1.1em; overflow: hidden; background: #e3e3e0; min-height: 12em; }
.ps-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-count { position: absolute; left: .9em; bottom: .9em; font-size: .82em; font-weight: 600; background: #fff; border-radius: 99em; padding: .4em .8em; }
.ps-in { display: block; border: 1px solid #cfcfcb; border-radius: .8em; padding: .8em 1em; font-size: 1em; font-weight: 500; color: #8a8a8a; }
.ps-btn { display: inline-grid; place-items: center; justify-self: start; font-size: .95em; font-weight: 600; padding: .75em 1.3em; border-radius: 99em; background: var(--ink); color: #fff; white-space: nowrap; }
.ps-btn.ghost { background: transparent; color: var(--ink); border: 1px solid #bdbdb8; }
.ps-card.tall { align-content: start; }
.ps-big { font-size: 2.4em !important; letter-spacing: -.05em; line-height: 1; }
.ps-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35em; font-size: .88em; font-weight: 500; }
.ps-cal span { aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 50%; }
.ps-cal .go { background: var(--green); color: #fff; font-weight: 600; }
.ps-cal .due { background: var(--ink); color: #fff; font-weight: 600; }
.ps-bars { display: grid; gap: .8em; margin-top: .4em; font-size: .9em; font-weight: 600; }
.ps-bars span { display: grid; gap: .4em; }
.ps-bars i { display: block; height: .55em; border-radius: 99em; background: var(--green); }
.ps-card.list { gap: 0; padding: .3em 1.3em; }
.ps-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1em; align-items: center; padding: 1em 0; border-top: 1px solid #ecece9; }
.ps-item:first-child { border-top: 0; }
.ps-item img { width: 4.2em; height: 4.2em; border-radius: .8em; object-fit: cover; background: #e3e3e0; }
.ps-item > div { display: grid; gap: .2em; }
.ps-av { width: 3.2em; height: 3.2em; border-radius: 50%; background: #e9e9e6; display: grid; place-items: center; font-weight: 600; font-size: .95em; }

/* about */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.person { background: var(--card); border-radius: var(--r-lg); padding: 14px 14px 24px; display: grid; gap: 10px; align-content: start; }
.person figure { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: #e6e6e6; margin-bottom: 6px; }
.person figure img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.15; letter-spacing: -.045em; font-weight: 600; padding: 0 6px; }
.person-l { font-size: 15px; line-height: 1.4; font-weight: 600; padding: 0 6px; }
.person-b { font-size: 14.5px; line-height: 1.45; font-weight: 500; color: #4a4a4a; padding: 0 6px; }

/* FAQ: the title stays put on one side while the questions pass on the other; a question opens on a press */
.faq { padding: clamp(40px, 6vw, 96px) calc(var(--gut) + 9px) clamp(72px, 9vw, 150px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 0 clamp(28px, 5vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hd) + 28px); display: grid; gap: 22px; justify-items: start; }
.faq-pic { width: min(100%, 300px); aspect-ratio: 4 / 5; margin-top: clamp(10px, 2vw, 30px); }
.qa { border-top: 1px solid var(--ink); }
.q { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hd) + 16px); }
.q-h { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.05em; font-weight: 600; }
.q-h, .q-b { display: grid; grid-template-columns: 54px minmax(0, 1fr) 30px; gap: 0 8px; align-items: start; }
.q-h { padding: 28px 0 14px; }
.q-h.is-btn { display: block; padding: 0; }
.q-b { width: 100%; padding: 28px 0; font-weight: 600; line-height: inherit; border-radius: 8px; }
.q-h .num { padding-top: .5em; }
.q-t { transition: transform .7s var(--ease); }
.q-b:hover .q-t { transform: translateX(10px); }
.q-b:active .q-t { transform: translateX(4px); }
.q-x { position: relative; width: 22px; height: 22px; margin-top: .3em; justify-self: end; }
.q-x::before, .q-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease); }
.q-x::after { transform: rotate(90deg); }
.q.open .q-x::after { transform: rotate(0deg); }
.q-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease); }
.q-a > div { overflow: hidden; min-height: 0; }
.q-a p { padding: 0 38px 30px 62px; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; letter-spacing: -.025em; font-weight: 500; color: #2f2f2f; max-width: 46em; }
html.v2-faq .q:not(.open) .q-a { grid-template-rows: 0fr; }
html.v2-faq .q:not(.open) .q-a > div { visibility: hidden; transition: visibility 0s .7s; }
.qa .end { margin-top: 40px; }

/* start a project */
/* the form is the page: no photo beside it (Conrad, 2026-11-22), the card runs the full width */
.sec.start { grid-template-columns: minmax(0, 1fr); padding-top: clamp(40px, 5vw, 80px); }
.sec.start > .sec-b.solo { grid-column: 1; max-width: none; }
.form:not(.steps) { max-width: 860px; }   /* the plain form (scripts off) stays a comfortable width */
.form { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.fld { display: grid; gap: 7px; }
.fld.wide, .consent, .form-end { grid-column: 1 / -1; }
.fld label { font-size: 14px; font-weight: 600; }
.fld input, .fld textarea { width: 100%; font: inherit; font-weight: 500; font-size: 16px; letter-spacing: -.02em; color: var(--ink); background: #fff; border: 1px solid #cfcfcf; border-radius: var(--r-md); padding: 13px 15px; transition: border-color .2s ease; }
.fld textarea { resize: vertical; line-height: 1.4; }
.fld input:hover, .fld textarea:hover { border-color: #8f8f8f; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); }
.fld.bad input, .fld.bad textarea { border-color: #b3261e; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* a decoy box no person sees; a bot fills it */
.consent { font-size: 13.5px; font-weight: 500; color: #4a4a4a; }
.form-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: 15px; font-weight: 600; }
.form-msg.bad { color: #b3261e; }
.form-msg:focus { outline: none; }   /* it is given the focus so a screen reader reads the answer; it is not a control */
.form.done .fld, .form.done .consent, .form.done button { display: none; }
/* The form one question at a time (Conrad, 2026-11-22). v2.js adds "steps" to the form and builds the bar, the count and
   the Next and Back controls; without the script none of this applies and the form is the plain one above. All the
   questions sit in the same place (one grid cell), so the card keeps one height while they change. */
.form.steps { display: flex; flex-direction: column; min-height: clamp(430px, 62vh, 660px); position: relative; overflow: hidden; margin-top: 18px; background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 56px); padding-top: calc(clamp(22px, 3.4vw, 56px) + 12px); }
.form.steps [hidden] { display: none !important; }
.sp-bar { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--line); }
.sp-bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--ease); }
.sp-head { display: flex; align-items: center; gap: 12px; min-height: 22px; }
.sp-count { color: var(--ink); }
.sp-opt { font-family: var(--mono); font-size: 12px; border: 1px solid var(--ink); border-radius: 99px; padding: 2px 9px; }
.sp-stage { position: relative; margin-top: clamp(18px, 2.4vw, 34px); transition: height .55s var(--ease); }   /* as tall as the page showing (set by v2.js) */
/* a page of the form (.sp-step): usually one question, two for Email and Phone Number (.sp-pair) */
.sp-step { position: absolute; left: 0; right: 0; top: 0; align-content: start; display: grid; gap: clamp(22px, 3vw, 44px); opacity: 0; visibility: hidden; transform: translate3d(0, var(--dy, 34px), 0); filter: blur(6px); transition: opacity .35s ease, transform .6s var(--ease), filter .45s ease, visibility 0s linear .6s; }
.sp-step.on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .55s ease .14s, transform .8s var(--ease) .1s, filter .6s ease .14s, visibility 0s; }
.sp-step.sp-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
.form.steps .fld { align-content: start; gap: clamp(14px, 1.8vw, 26px); }
.form.steps .fld label { font-size: clamp(30px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }
.form.steps .fld input, .form.steps .fld textarea { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.03em; background: transparent; border: 0; border-bottom: 2px solid #bdbdbd; border-radius: 0; padding: 12px 0; transition: border-color .25s ease; }
.form.steps .fld textarea { min-height: 3.2em; }
.form.steps .fld input:hover, .form.steps .fld textarea:hover { border-bottom-color: #6a6a6a; }
.form.steps .fld input:focus, .form.steps .fld textarea:focus { border-bottom-color: var(--ink); }
.form.steps .fld.bad input, .form.steps .fld.bad textarea { border-bottom-color: #b3261e; }
.sp-step.shake { animation: sp-shake .4s ease; }
@keyframes sp-shake { 20% { transform: translate3d(-9px, 0, 0); } 45% { transform: translate3d(7px, 0, 0); } 70% { transform: translate3d(-4px, 0, 0); } 100% { transform: none; } }
/* answers to pick from: tabs (quantity) and calendar pages (timing). Built by v2.js; the question's own text box is kept,
   out of sight, and holds what was picked. No shadows: the pages behind a calendar are outlines. */
.form.steps .fld.pick input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.sp-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-o { font: inherit; color: var(--ink); cursor: pointer; }
.sp-o:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.sp-tabs .sp-o { height: clamp(48px, 4.4vw, 62px); padding: 0 clamp(18px, 2vw, 30px); border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .2s var(--ease); }
.sp-tabs .sp-o:hover { background: #e9e9e9; }
.sp-tabs .sp-o:active { transform: scale(.96); }
.sp-tabs .sp-o[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sp-cal { display: grid; grid-template-columns: repeat(3, minmax(0, 176px)); gap: clamp(16px, 3vw, 44px); padding: 18px 20px 0 0; }   /* always three across, phone included */
.sp-cal .sp-o { position: relative; width: 100%; aspect-ratio: 1 / 1.08; padding: 0; border: 0; background: none; border-radius: 16px; transition: transform .25s var(--ease); }
.sp-cal .sp-o:hover { transform: translate3d(0, -4px, 0); }
.sp-cal .sp-o:active { transform: scale(.97); }
.cal-back, .cal-face { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); }
.cal-back { transform: translate3d(calc(var(--z) * 6px), calc(var(--z) * -6px), 0); transition: transform .3s var(--ease); }
.sp-cal .sp-o:hover .cal-back { transform: translate3d(calc(var(--z) * 8px), calc(var(--z) * -8px), 0); }
.cal-face { display: grid; grid-template-rows: 24% 1fr auto; align-items: center; justify-items: center; overflow: hidden; padding-bottom: 12%; transition: background .2s ease, color .2s ease; }
.cal-top { align-self: stretch; justify-self: stretch; background: var(--ink); position: relative; transition: background .2s ease; }
.cal-top::before, .cal-top::after { content: ""; position: absolute; top: 50%; width: 12%; aspect-ratio: 1; margin-top: -6%; border-radius: 50%; background: var(--card); transition: background .2s ease; }
.cal-top::before { left: 22%; } .cal-top::after { right: 22%; }
.cal-n { font-size: clamp(26px, 3.6vw, 56px); line-height: 1; letter-spacing: -.055em; font-weight: 600; }
.cal-w { font-size: clamp(12px, 1.1vw, 16px); font-weight: 600; letter-spacing: -.01em; }
.sp-o[aria-pressed="true"] .cal-face { background: var(--ink); color: #fff; }
.sp-o[aria-pressed="true"] .cal-top { background: #fff; }
.sp-o[aria-pressed="true"] .cal-top::before, .sp-o[aria-pressed="true"] .cal-top::after { background: var(--ink); }
/* they arrive one after the other when their question does */
@media (prefers-reduced-motion: no-preference) {
  .sp-step.on .sp-o { animation: sp-pop .6s var(--ease) backwards; animation-delay: calc(var(--n) * 70ms + 280ms); }
  @keyframes sp-pop { from { opacity: 0; transform: translate3d(0, 20px, 0) scale(.95); } }
}
/* the captcha (Cloudflare Turnstile), drawn by its own script into this box; it shows on the last page */
.sp-cap { grid-column: 1 / -1; min-height: 65px; max-width: 320px; }
.form.steps .sp-cap { margin-top: 0; }
.form.steps .consent { margin-top: 0; }
.form.done .sp-cap { display: none; }
/* the site's own captcha box: a square that turns while the browser works the puzzle out, then a tick */
.sp-own { display: inline-flex; align-items: center; gap: 12px; min-height: 0; max-width: none; width: fit-content; padding: 12px 18px 12px 14px; border: 2px solid var(--ink); border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.sp-own-i { position: relative; flex: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 7px; transition: background .25s ease, border-radius .25s ease; }
.sp-own[data-state="work"] .sp-own-i { border-radius: 50%; border-color: #c9c9c9; border-top-color: var(--ink); animation: sp-turn .8s linear infinite; }
.sp-own[data-state="done"] .sp-own-i { background: var(--ink); }
.sp-own[data-state="done"] .sp-own-i::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sp-own[data-state="fail"] { border-color: #b3261e; }
.sp-own[data-state="fail"] .sp-own-i { border-color: #b3261e; }
@keyframes sp-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sp-own[data-state="work"] .sp-own-i { animation: none; } }
.sp-nav { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-top: clamp(22px, 2.8vw, 40px); }   /* right under the question, not at the foot of the card */
.sp-back { font-size: 15px; font-weight: 600; order: 2; }
.sp-next, .sp-nav button[type="submit"] { order: 1; }
.sp-hint { order: 3; margin-left: 6px; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.form.steps .form-end { margin-top: 12px; min-height: 22px; }
.form.steps.done .sp-head, .form.steps.done .sp-stage, .form.steps.done .sp-nav { display: none; }
.form.steps.done .sp-bar i { transform: scaleX(1) !important; }
.form.steps.done .form-end { margin-top: 0; padding: clamp(10px, 2vw, 30px) 0; }
@media (hover: none), (max-width: 760px) { .sp-hint { display: none; } }
@media (max-width: 760px) { .sp-step.sp-pair { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sp-step, .sp-step.on, .sp-bar i, .sp-stage { transition: none; filter: none; transform: none; } .sp-step.shake { animation: none; } }
.form.done .form-msg { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.045em; line-height: 1.2; }

/* project pages and legal text */
.proj { row-gap: clamp(40px, 5vw, 80px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.facts div { background: var(--card); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 6px; }
.facts dt { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--soft); }
.facts dd { font-size: 16px; line-height: 1.25; }
.proj-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.proj-pics figure { border-radius: var(--r-lg); overflow: hidden; background: #e6e6e6; aspect-ratio: 4 / 5; }
.proj-pics figure img { width: 100%; height: 100%; object-fit: cover; }
.proj-txt { display: grid; gap: 24px; max-width: 860px; margin-left: 190px; }
/* a client's combined page: one section per product, every photo it has */
.cl-part { scroll-margin-top: calc(var(--hd) + 16px); }
.cl-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 8px; align-items: start; }
.cl-head .num { padding-top: 12px; }
.cl-head > div { display: grid; gap: 14px; }
.cl-intro { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; font-weight: 500; max-width: 46em; }
.cl-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cl-pics-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-pics-1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cl-pics figure { border-radius: var(--r-lg); overflow: hidden; background: #e6e6e6; aspect-ratio: 4 / 5; }
.cl-pics figure img { width: 100%; height: 100%; object-fit: cover; }
.cl-more { font-size: 16px; font-weight: 500; }
.crumb span { margin: 0 4px; }
.prose { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; letter-spacing: -.025em; font-weight: 500; color: #2c2c2c; display: grid; gap: 1em; max-width: 46em; }
.prose.legal { margin-left: 190px; }
.prose h2 { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.05em; font-weight: 600; color: var(--ink); margin-top: 1.2em; }
.prose h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.035em; font-weight: 600; color: var(--ink); margin-top: .4em; }
.prose ul { list-style: disc; padding-left: 1.2em; }

/* ── footer ── */
.ft { margin: clamp(72px, 9vw, 150px) 5px 5px; border-radius: var(--r-xl); background: var(--panel); color: #fff; padding: var(--pad); display: grid; gap: clamp(56px, 8vw, 120px); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 24px clamp(40px, 8vw, 140px); align-items: start; }
.ft-word { font-size: clamp(64px, 13vw, 200px); line-height: .82; letter-spacing: -.065em; font-weight: 600; }
.ft-word sup { font-size: .32em; letter-spacing: 0; vertical-align: top; position: relative; top: .14em; margin-left: .06em; }
.ft-nav { display: grid; gap: 8px; font-size: 16px; }
.ft-nav a { transition: opacity .2s ease; }
.ft-nav a:hover { opacity: .6; }
.ft-nav a:active { opacity: .45; }
.ft-small { font-size: 14px; font-weight: 500; color: #cfcfcf; }
.ft-end { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: #a9a9a9; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.ft-end a { text-decoration: underline; text-underline-offset: 3px; }
.ft-based { margin-left: 14px; }
/* ── Guide pages (2026-11-22): a question buyers search, answered on its own page. Made of the pieces the other pages use. ── */
.how-time { margin-top: 14px; font-weight: 500; }
.sec.gd { padding-top: clamp(48px, 5.5vw, 88px); }
.sec.gd > .sec-b.solo { gap: 22px; max-width: 900px; }
.gd-h { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.055em; }
.gd-p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; letter-spacing: -.025em; font-weight: 500; max-width: 40em; }
.gd-l { display: grid; border-top: 1px solid var(--ink); }
.gd-l li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.4; letter-spacing: -.025em; font-weight: 500; transition: padding-left .5s var(--ease); }
.gd-l li:hover { padding-left: 10px; }
.gd-t { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.gd-t th, .gd-t td { text-align: left; vertical-align: top; padding: 16px 22px 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.38; letter-spacing: -.02em; font-weight: 500; }
.gd-t thead th { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; padding-top: 12px; padding-bottom: 12px; }
.gd-t tbody th { font-weight: 600; width: 34%; }
.gd-t.gd-c3 tbody th { width: 21%; }
.gd-t.gd-c3 td:last-child { font-weight: 600; }
.gd-t tbody tr { transition: background .3s ease; }
.gd-t tbody tr:hover { background: #f1f1f1; }
.gd-links { font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; margin-top: 0; }
.gd-qa .q-h { font-size: clamp(19px, 1.8vw, 26px); }
.gd-rel { font-size: 15px; font-weight: 500; margin-top: 10px; }
@media (max-width: 760px) {
  .gd-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gd-t tr { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .gd-t tbody th, .gd-t td, .gd-t.gd-c3 tbody th { display: block; width: auto; padding: 0; border: 0; }
  .gd-t.gd-c3 td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0; margin-bottom: 2px; }
  .ft-based { display: block; margin: 6px 0 0; }
}

/* the preview note (only in the private preview) */
.pv { position: fixed; right: 12px; bottom: 12px; z-index: 60; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 12px; padding: 9px 13px; font-size: 12.5px; font-weight: 500; max-width: calc(100vw - 24px); }
.pv a { text-decoration: underline; text-underline-offset: 3px; }
/* The opening screen (Conrad, 2026-11-22): once per visit. The whole screen is the loading bar: two identical layers, a
   light one and a dark one on top that is uncovered from the left as --p goes from 0% to 100%, so black sweeps across the
   screen and a logo is white exactly where the black has reached it. The logos flip in the middle and a small number
   counts. Then the picked logo flies to the header and the black lifts. Only shown when the script in <head> puts
   "v2-intro" on <html>; played by the script beside its markup in layout.php. A click, key, scroll or touch skips it. */
.intro { display: none; }
html.v2-intro .intro { display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer; --p: 0%; }
.intro-s { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); color: var(--ink); }
.intro-b { background: var(--panel); color: #fff; clip-path: inset(0 calc(100% - var(--p)) 0 0); will-change: clip-path; }
.intro-n { position: absolute; left: calc(var(--gut) + 9px); bottom: calc(var(--gut) + 9px); font-size: clamp(26px, 3vw, 44px); line-height: .75; letter-spacing: -.045em; font-weight: 600; font-variant-numeric: tabular-nums; }
.intro-l { grid-area: 1 / 1; visibility: hidden; width: min(78vw, calc(clamp(100px, 23vh, 210px) * var(--k) * var(--ar))); aspect-ratio: var(--ar); background: var(--u) center / contain no-repeat; will-change: transform; }
.intro-l.m { background: currentColor; -webkit-mask: var(--u) center / contain no-repeat; mask: var(--u) center / contain no-repeat; }
.intro-l.on { visibility: visible; }
.pv { display: grid; gap: 6px; }
.pv-f button.pv-again { border-style: dashed; border-color: #090909; margin-left: 6px; }
.pv-f { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.pv-f button { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 99px; border: 1px solid #bdbdbd; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pv-f button:hover { border-color: #090909; }
.pv-f button:active { background: #e6e6e6; }
.pv-f button[aria-pressed="true"] { background: #090909; color: #fff; border-color: #090909; }

/* ── the pointer's companion (a mouse only): a small disc that follows, grows over a link, and names a picture ── */
.cur { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; display: grid; place-items: center; font-size: 0; font-weight: 600; letter-spacing: -.02em; color: var(--ink); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s ease, font-size .2s ease; will-change: transform; }
.cur.show { opacity: 1; }
.cur.link { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cur.big { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; font-size: 13px; }
.cur.off { opacity: 0; }
html.v2-cur [data-cur] { cursor: none; }

/* ── movement: only with the script, never needed to read the page ── */
@media (prefers-reduced-motion: no-preference) {
  html.v2-js [data-rise] { opacity: 0; transform: translateY(26px); }
  html.v2-js [data-rise].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  html.v2-js [data-rv] { opacity: 0; transform: translateY(22px); }
  html.v2-js [data-rv].in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); }
  /* a title comes out of a blur, letter by letter ("Soft focus", Conrad, 2026-11-22). The words are wrapped by v2.js. */
  html.v2-js [data-split].split, html.v2-js [data-split].split.in { opacity: 1; transform: none; transition: none; }
  html.v2-js .split .w { display: inline-block; }   /* a word never breaks in the middle */
  html.v2-js .split .c { display: inline-block; opacity: 0; filter: blur(.2em); transform: translate3d(0, .2em, 0) scale(1.07); transition: opacity .9s ease, filter 1.15s var(--ease), transform 1.25s var(--ease); transition-delay: calc(min(var(--c), 70) * 26ms); }
  html.v2-js .split.in .c { opacity: 1; filter: none; transform: none; }
  /* a picture that drifts keeps its drift after it has appeared */
  html.v2-js [data-rv][data-par] { transform: translate3d(0, calc(var(--py, 0px) + 22px), 0); }
  html.v2-js [data-rv][data-par].in { transform: translate3d(0, var(--py, 0px), 0); transition: opacity .8s var(--ease); }
}

/* a narrow window has no room for equal sides: the menu takes the space between the two ends */
@media (max-width: 980px) { .hd { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* ── tablet ── */
@media (max-width: 1100px) {
  .sec, .row { grid-template-columns: 110px minmax(0, 1fr); }
  .row > p { grid-column: 2; margin-top: 12px; }
  .proj-txt, .prose.legal { margin-left: 110px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .step h3 { margin-top: 28px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .faq-side { position: static; grid-template-columns: minmax(0, 1fr) auto; align-items: end; width: 100%; }
  .faq-pic { display: none; }
  .pshow { grid-template-columns: minmax(0, 1fr); }
  .pstage { order: -1; top: var(--hd); z-index: 2; background: var(--panel); padding: 10px 0 14px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
  .pt { min-height: 30vh; }
  .pt:last-child { min-height: 20vh; }
}

/* ── phone ── */
@media (max-width: 760px) {
  :root { --pad: 20px; --gut: 12px; }
  .hd { grid-template-columns: auto 1fr auto; gap: 10px; padding: 0 16px; }
  .hd-nav, .hd-login { display: none; }
  .hd-end { justify-self: end; gap: 8px; }
  .hd-menu { display: block; }
  .hd-cta { height: 36px; padding: 0 15px; font-size: 13.5px; }
  .hero { padding: 26px 20px 22px; }
  .hero-txt { gap: 18px; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(10, 10, 10, .95) 0%, rgba(10, 10, 10, .82) 62%, rgba(10, 10, 10, .2) 100%); }
  .sec { grid-template-columns: minmax(0, 1fr); padding-left: 16px; padding-right: 16px; row-gap: 26px; }
  .sec > .sec-k, .sec > .sec-b, .sec > .sec-b.solo { grid-column: 1; }
  .sec > .sec-k { padding-top: 0; }
  .sec-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .top, .band { padding-left: 16px; padding-right: 16px; }
  .faq { padding-left: 16px; padding-right: 16px; }
  .strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .strip-f:nth-child(1) { grid-column: 1 / -1; }
  .strip-f:nth-child(2), .strip-f:nth-child(3) { margin-top: 0; aspect-ratio: 4 / 5; }
  .band { gap: 8px; }
  .band-2 .band-f:nth-child(1) { grid-column: 1 / span 6; }
  .band-2 .band-f:nth-child(2) { grid-column: 7 / span 6; aspect-ratio: 4 / 5; margin-top: 22%; }
  .band-3 .band-f:nth-child(1) { grid-column: 1 / span 6; }
  .band-3 .band-f:nth-child(2) { grid-column: 7 / span 6; aspect-ratio: 4 / 5; margin-top: 22%; }
  .band-3 .band-f:nth-child(3) { display: none; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; }
  .row > p { grid-column: 1; margin-top: 4px; }
  .row .num { padding-top: 0; }
  .proj-txt, .prose.legal { margin-left: 0; }
  /* the comparison stacks: each row shows the blank first, then "vs" and what MXKRS does instead */
  .cmp-t, .cmp-t tbody, .cmp-t tr, .cmp-t td { display: block; width: auto; }
  .cmp-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp-t td:first-child { padding: 18px 0 12px; border-right: 0; }
  .cmp-t td:first-child::before, .cmp-t td:last-child::before { content: attr(data-l); position: static; display: block; width: auto; height: auto; margin: 0 0 6px; border: 0; border-radius: 0; background: none; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0; line-height: 1.3; color: inherit; }
  .cmp-t td:last-child::before { content: "vs  " attr(data-l); }
  .cmp-t td:last-child { border-top: 0; padding: 12px 14px 16px; font-size: 19px; }
  .cmp-focus { left: 0; }
  .tiles { gap: 8px; }
  .tile-t { padding: 14px; }
  .tile.has-pic .tile-t { padding-top: 50px; }
  .tile p { font-size: 12.5px; }
  .steps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; border-top: 0; }
  .steps::before { display: none; }
  .step { grid-row: auto; grid-template-rows: none; padding: 20px 0 22px; border-top: 1px solid var(--line); }
  .step h3 { margin-top: 6px; }
  .all-works { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .all-works .work:nth-child(n) { grid-column: 1; margin-top: 0; }
  .all-works .work:nth-child(n) .work-pic { aspect-ratio: 4 / 3; }
  .all-works .work:nth-child(n) .work-pic.mo-3 { aspect-ratio: 16 / 10; }
  .all-works .work:nth-child(n) .work-pic.mo-2 { aspect-ratio: 4 / 5; }
  .work-meta { grid-template-columns: minmax(0, 1fr); }
  .work-meta .num { padding-top: 0; }
  .pt { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 22px 0 30px; }
  .pt:last-child { min-height: 0; }
  .pt p { grid-column: 1; }
  .pt .num { padding-top: 0; }
  .pframe { font-size: clamp(7px, 2.5cqw, 12px); }
  .ptabs { gap: 1.1em; }
  .ptab:nth-child(n+4) { display: none; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .q-h, .q-b { grid-template-columns: minmax(0, 1fr) 26px; }
  .q-h .num { grid-column: 1 / -1; padding: 0 0 6px; }
  .q-b { padding: 22px 0; }
  .q-a p { padding: 0 0 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-pics { grid-template-columns: minmax(0, 1fr); }
  .cl-pics, .cl-pics-2 { grid-template-columns: minmax(0, 1fr); }
  .cl-head { grid-template-columns: minmax(0, 1fr); }
  .cl-head .num { padding-top: 0; }
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-word { grid-column: 1 / -1; }
}
