/* artrixstudio.com - the September 2026 site. Built from scratch; only the
 * words were carried over from the page before it.
 *
 * Read from the references:
 *   by-kin      warm paper ground, grotesk + mono pairing, no WebGL at all
 *   boc.studio  near-black ground, one typeface, an accent data-strip as rhythm
 *   porsche     one subject owns the screen, type sits on top of it
 *   apple       a column that pins while its list scrolls past
 *   sharplink   mono callouts carrying real numbers
 *
 */

/* Dark is the default. Light is the same design with the roles swapped:
   the page becomes paper, and the pricing panel becomes the dark one, so the
   contrast beat in the middle of the page survives either way. */
:root {
  --ink: #0B0C0E;
  --ink2: #131519;
  --paper: #F2F0EA;
  --paper2: #E6E3DA;
  --fg: #F4F3EF;
  --fg2: #9C9DA3;
  --fg3: #64656B;
  --accent: #2DD4C4;
  --amber: #F59E0B;          /* the studio is full */
  --line: rgba(244, 243, 239, .14);
  --line-ink: rgba(11, 12, 14, .16);
  --pad: clamp(20px, 4.2vw, 64px);
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
  --panel-bg: var(--paper);
  --panel-fg: var(--ink);
  --panel-fg2: #4A4C52;
  --panel-line: var(--line-ink);
  --panel-mute: #6A6C72;
}
:root[data-theme="light"] {
  --ink: #F2F0EA;            /* the page ground */
  --ink2: #E6E3DA;
  --fg: #101114;             /* text on it */
  --fg2: #5A5C63;
  --fg3: #8D8F96;
  --accent: #0E9E92;         /* teal needs to be darker to hold on paper */
  --line: rgba(16, 17, 20, .16);
  --panel-bg: #0B0C0E;       /* the pricing panel flips to dark */
  --panel-fg: #F4F3EF;
  --panel-fg2: #9C9DA3;
  --panel-line: rgba(244, 243, 239, .16);
  --panel-mute: #8A8C92;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink); color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.dim { color: var(--fg2); }

/* ---------------------------------------------------------------- nav */
/* The nav sits at the top of the page and scrolls away with it. It used to ask
   for position:fixed and difference blending to "stay legible over anything",
   but the rule further down that lifts every section above the canvas set it
   back to position:relative - so it was never fixed, the blend had nothing to
   keep legible, and all it did was recolour what it covered: the mark's teal
   counter differenced against the light ground came out red. Plain colours. */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
}
.nav a { color: var(--fg); }
.nav-mark { display: flex; align-items: center; gap: 10px; }
.nav-mark svg { width: 20px; height: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* -------------------------------------------------------------- hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--pad) 26px; position: relative; }
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 11px 0; margin-bottom: auto;
}
.hero-strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; vertical-align: middle; }
.hero-h1 {
  font-size: clamp(52px, 9.2vw, 168px); line-height: .86; letter-spacing: -.045em;
  font-weight: 800; margin: 7vh 0 0; max-width: 16ch;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-top: 7vh; }
.hero-sub { max-width: 46ch; color: var(--fg2); font-size: clamp(14px, 1.15vw, 17px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border: 1px solid var(--fg); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--fg); color: var(--ink); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-line:hover { background: var(--fg); color: var(--ink); }
@media (max-width: 760px) { .hero-bottom { grid-template-columns: 1fr; } .hero-actions { justify-self: start; } }

/* --------------------------------------------------- capability strip */
.caps { background: var(--accent); color: var(--ink); }
.caps-in { display: flex; flex-wrap: wrap; gap: 0 2px; padding: 0 var(--pad); }
.cap { padding: 13px 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; flex: 1 1 auto; white-space: nowrap; }
.cap + .cap::before { content: '/'; opacity: .45; margin: 0 14px 0 0; }

/* --------------------------------------------------------------- work */
.work { padding: clamp(80px, 12vh, 150px) 0 0; }
.section-head { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.0; letter-spacing: -.035em; font-weight: 800; }
.section-head p { color: var(--fg2); max-width: 52ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.piece { display: block; border-top: 1px solid var(--line); padding: 26px var(--pad) 0; margin-top: 60px; position: relative; }
.piece-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.piece-title { font-size: clamp(26px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.piece-meta { color: var(--fg2); }
.piece-shot { margin-top: 26px; overflow: hidden; background: var(--ink2); }
.piece-shot img { width: 100%; transition: transform 1.1s cubic-bezier(.16,.84,.26,1), filter .6s; filter: grayscale(.25) contrast(1.02); }
.piece:hover .piece-shot img { transform: scale(1.035); filter: none; }
.piece:hover .piece-title { color: var(--accent); }
.piece-title, .piece-shot img { transition-property: transform, filter, color; }
.work-note { padding: 40px var(--pad) 0; color: var(--fg3); max-width: 62ch; font-size: 13px; }

/* -------------------------------------------------------------- trust */
.trust { padding: clamp(90px, 14vh, 170px) var(--pad); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.trust-head { position: sticky; top: 90px; }
.trust-head h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.trust-head p { color: var(--fg2); margin-top: 16px; max-width: 34ch; }
.t-item { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 62px 1fr; gap: 18px; }
.t-item:last-child { border-bottom: 1px solid var(--line); }
.t-n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.t-item h3 { font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.02em; font-weight: 700; margin-bottom: 8px; }
.t-item p { color: var(--fg2); font-size: 14.5px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } .trust-head { position: static; } }

/* ------------------------------------------------------------ pricing */
.pricing { background: var(--panel-bg); color: var(--panel-fg); padding: clamp(80px, 12vh, 150px) var(--pad); }
.pricing .section-head h2 { color: var(--panel-fg); }
.pricing .section-head p { color: var(--panel-fg2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--panel-line); }
.plan { padding: 30px 26px 26px; border-right: 1px solid var(--panel-line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan-name { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--panel-mute); }
.plan-price { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -.04em; font-weight: 800; margin: 14px 0 4px; }
.plan-note { color: var(--panel-mute); font-size: 13px; margin-bottom: 26px; }
.plan dl { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 26px; }
.plan dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-mute); padding-top: 14px; border-top: 1px solid var(--panel-line); }
.plan dd { font-size: 14px; padding: 3px 0 12px; }
.plan .btn { border-color: var(--panel-fg); color: var(--panel-fg); margin-top: auto; justify-content: center; }
.plan .btn:hover { background: var(--panel-fg); color: var(--panel-bg); }
.pricing-note { margin-top: 30px; font-size: 13px; color: var(--panel-fg2); max-width: 70ch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--panel-line); } }

/* ---------------------------------------------------------------- faq */
.faq { padding: clamp(80px, 12vh, 150px) var(--pad); }
.faq-list { margin-top: 50px; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; gap: 20px; align-items: baseline; font-size: clamp(16px, 1.7vw, 21px); letter-spacing: -.02em; font-weight: 600; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: '+'; margin-left: auto; color: var(--accent); font-family: var(--mono); }
.q[open] summary::after { content: '\2212'; }
.q .a { color: var(--fg2); padding: 0 0 24px 46px; max-width: 78ch; font-size: 14.5px; }
.q .qn { font-family: var(--mono); font-size: 10.5px; color: var(--fg3); }

/* -------------------------------------------------------------- close */
.close { padding: clamp(90px, 15vh, 180px) var(--pad); border-top: 1px solid var(--line); }
.close h2 { font-size: clamp(38px, 7vw, 116px); line-height: .9; letter-spacing: -.045em; font-weight: 800; max-width: 14ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.step { padding: 22px 26px 0 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step b { display: block; margin: 12px 0 4px; font-size: 15px; font-weight: 600; }
.step span { color: var(--fg2); font-size: 13.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 18px; } }
.foot { padding: 26px var(--pad); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; color: var(--fg3); }
.foot-name { display: inline-flex; align-items: center; gap: 9px; color: var(--fg2); }
.foot-name svg { width: 17px; height: 17px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--fg3); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

/* ------------------------------------------------------------ scrolling */
/* The nav links glide to their section rather than jumping. Anyone who has
   asked their system to stop animating gets the jump instead. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
#top, #work, #trust, #pricing { scroll-margin-top: 20px; }

/* ----------------------------------------------------------- capacity */
/* Both wordings are in the page; one attribute on <html> decides which shows.
   Going full is editing data-capacity="open" to "full", nothing else. */
html[data-capacity="open"] .cap-full { display: none !important; }
html[data-capacity="full"] .cap-open { display: none !important; }
html[data-capacity="full"] .hero-strip .dot { background: var(--amber); }

/* ------------------------------------------------------------- cursor */
.cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 99; transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s; mix-blend-mode: difference; }
.cursor.big { width: 74px; height: 74px; background: var(--accent); }
.cursor .label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.big .label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* reveal */
[data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-rise].in { opacity: 1; transform: none; }

/* ---------------------------------------------- field (site-wide motion) */
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.nav, .hero, .caps, .work, .trust, .pricing, .faq, .close, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------- work: case-study bar */
.piece-bar { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.piece-rule { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.piece-rule i { position: absolute; inset: 0 100% 0 0; background: var(--accent); transition: inset .8s cubic-bezier(.16,.84,.26,1); }
.piece.seen .piece-rule i { inset: 0 0 0 0; }
.piece-shot { aspect-ratio: 16 / 9; }
.piece-shot img { height: 118%; width: 100%; object-fit: cover; object-position: top center; will-change: transform; }
.piece-meta { white-space: nowrap; }
@media (max-width: 760px) { .piece-top { flex-direction: column; align-items: flex-start; gap: 8px; } .piece-meta { white-space: normal; } }

/* ------------------------------------------------------------ faq tabs */
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.ftab {
  background: none; border: 1px solid var(--line); color: var(--fg2); cursor: pointer;
  padding: 11px 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; display: inline-flex; gap: 9px; align-items: center; transition: .22s;
}
.ftab i { font-style: normal; color: var(--fg3); }
.ftab:hover { color: var(--fg); border-color: var(--fg3); }
.ftab.on { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.ftab.on i { color: var(--ink); opacity: .55; }
.faq-list { margin-top: 26px; }
.q[hidden] { display: none; }

/* ------------------------------------------------------- theme toggle */
.nav .tt { color: var(--fg); }   /* was #fff for the old difference blend */
.tt {
  background: none; border: 1px solid currentColor; cursor: pointer;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 11px; line-height: 1;
}
.caps { color: #0B0C0E; }            /* the accent band always carries dark text */
/* Difference blending turned the accent red over anything light - the same
   arithmetic that reddened the header mark. A plain accent dot everywhere. */
.cursor { mix-blend-mode: normal; }

/* --------------------------------------------------------- live covers */
.piece-shot { position: relative; }
.live-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .9s ease; background: #08090B;
}
.live-canvas.on { opacity: 1; }
.live-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;   /* out of the work's own corner */
  padding: 6px 10px; background: rgba(8,9,11,.6); color: var(--accent);
  border: 1px solid rgba(45,212,196,.4); backdrop-filter: blur(6px);
}
.piece[data-live]:hover .live-hint { background: var(--accent); color: #08090B; }
.live-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity 1s ease; pointer-events: none; background: #08090B;
}
.live-frame.on { opacity: 1; }
/* A whole page inside a card: the iframe runs at a real desktop size and the
   stage scales it down, so type and layout keep the proportions of the site. */
.live-stage { position: absolute; inset: 0; overflow: hidden; background: #08090B; }
.live-stage .live-frame { position: absolute; left: 0; top: 0; inset: auto;
  transform-origin: 0 0; }

/* ------------------------------------------------------ what you get */
.wrapy, .weeks, .savings, .repeat { padding: clamp(80px, 12vh, 150px) 0; }
.wy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); padding: 0 var(--pad); }
.wy { padding: 30px 34px 10px 0; border-right: 1px solid var(--line); }
.wy + .wy { padding-left: 34px; }
.wy:last-child { border-right: 0; }
.wy h3 { font-size: clamp(19px, 2vw, 26px); letter-spacing: -.025em; font-weight: 700; margin: 10px 0 18px; }
.wy ul { list-style: none; }
.wy li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg2); font-size: 14.5px; transition: color .2s, padding-left .25s; }
.wy li:hover { color: var(--accent); padding-left: 8px; }
@media (max-width: 860px) { .wy-grid { grid-template-columns: 1fr; }
  .wy, .wy + .wy { border-right: 0; padding-right: 0; padding-left: 0; } }

/* ------------------------------------------------------ typical week */
.wk-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; border-top: 1px solid var(--line); padding: 0 var(--pad); }
.wk { padding: 26px 26px 30px 0; border-right: 1px solid var(--line); position: relative; }
.wk + .wk { padding-left: 26px; }
.wk:last-child { border-right: 0; }
.wk b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 6px; }
.wk-d { color: var(--fg2); font-size: 13.5px; }
.wk::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width .7s cubic-bezier(.16,.84,.26,1); }
.wk.in::after { width: 100%; }
@media (max-width: 900px) { .wk-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wk-row { grid-template-columns: 1fr; }
  .wk, .wk + .wk { border-right: 0; padding-left: 0; } }

/* -------------------------------------------------------- savings */
.sv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); margin-top: 56px; padding: 0 var(--pad); align-items: start; }
.sv-p { border-top: 1px solid var(--line); padding: 20px 0; }
.sv-p b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.sv-p span { color: var(--fg2); font-size: 14px; }
.sv-bars { border: 1px solid var(--line); padding: 26px; }
.bar { margin-top: 22px; }
.bar-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 9px; }
.bar-head span { font-family: var(--mono); font-size: 12px; color: var(--fg2); }
.bar-track { height: 10px; background: var(--line); }
.bar-track i { display: block; height: 100%; background: var(--accent); }
.bar:last-of-type .bar-track i { background: var(--fg3); }
.sv-note { margin-top: 24px; color: var(--fg3); font-size: 12.5px; line-height: 1.7; }
@media (max-width: 860px) { .sv-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------- repeat problem */
.repeat { background: var(--ink2); }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); margin-top: 56px; padding: 0 var(--pad); }
.rp ul { list-style: none; margin-top: 16px; }
.rp li { border-top: 1px solid var(--line); padding: 16px 0; color: var(--fg2); font-size: 14.5px; }
.rp-cta { padding: 40px var(--pad) 0; color: var(--fg2); max-width: 70ch; }
@media (max-width: 760px) { .rp-grid { grid-template-columns: 1fr; } }
.close-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: end; margin-top: 40px; }
.close-sub { color: var(--fg2); max-width: 46ch; font-size: clamp(14px, 1.15vw, 17px); }
.close-meta { margin-top: 26px; }
@media (max-width: 760px) { .close-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ work: bento
   Wide and narrow cards alternate (7/5, 5/7) so the rows don't read as a
   list; the four Helixa pieces sit together as one small group at the end.
   The first card is a comparison: glean.com under our redesign, drag the
   line to see one become the other. */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 56px) clamp(16px, 1.6vw, 24px); padding: 0 var(--pad); margin-top: clamp(40px, 6vh, 64px); }
.bento .piece { border-top: 0; padding: 0; margin-top: 0; grid-column: span 5; min-width: 0; }
.bento .piece.w { grid-column: span 7; }
.bento .piece-shot { aspect-ratio: auto; height: clamp(240px, 26vw, 400px); margin-top: 0; border-radius: 6px; }
.bento .piece-shot img { height: 100%; width: 100%; object-fit: cover; object-position: top center; will-change: auto; }
.bento .piece:hover .piece-shot img { transform: scale(1.03); filter: none; }
.bento .piece-bar { margin: 16px 0 8px; gap: 12px; }
.bento .piece-top { flex-direction: column; align-items: flex-start; gap: 6px; }
.bento .piece-title { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -.022em; }
.bento .piece-title a { color: inherit; text-decoration: none; }
.bento .piece-meta { white-space: normal; font-size: 10.5px; }

/* the comparison */
.ba { position: relative; background: #fff; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; }
.bento .ba-piece:hover .piece-shot img { transform: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--x)); }
.ba-knob { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #101114; pointer-events: none; }
.ba-knob i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  background: #101114; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ba-lb { position: absolute; top: 14px; padding: 6px 9px; border-radius: 3px; background: rgba(16,17,20,.86); color: #fff; pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * , .ba:focus-within .ba-knob i { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) { .ba-lb .x { display: none; } }
.ba-go { color: var(--accent); font-weight: 400; }
.ba-piece .piece-title a:hover { color: var(--accent); }

/* the Helixa group */
.grp { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(200px, 270px) 1fr; gap: clamp(20px, 2.4vw, 36px);
  border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.grp-head h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; font-weight: 800; line-height: 1.1; margin: 10px 0; }
.grp-head p { color: var(--fg2); font-size: 14px; line-height: 1.55; }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento .mini .piece { grid-column: auto; }
.bento .mini .piece-shot { height: clamp(120px, 11vw, 170px); }
.mini-lb { font-size: 14px; font-weight: 600; letter-spacing: -.01em; margin-top: 10px; }
.mini .piece:hover .mini-lb { color: var(--accent); }

@media (max-width: 900px) {
  .bento .piece, .bento .piece.w { grid-column: 1 / -1; }
  .bento .piece-shot { height: auto; aspect-ratio: 16 / 10; }
  .grp { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr 1fr; }
  .bento .mini .piece-shot { height: auto; aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------- fixes, 28 Sep
   Pricing and FAQ already pad their section, so their heads don't pad again. */
.pricing .section-head, .faq .section-head { padding-left: 0; padding-right: 0; }
/* plan rows line up across the three plans: each plan is a subgrid over the
   same 19 rows (name, price, note, 15 rows, button) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .plans { grid-template-rows: repeat(var(--plan-rows, 19), auto); }
    .plan { display: grid; grid-template-rows: subgrid; grid-row: span var(--plan-rows, 19); }
    .plan dl { display: contents; }
    .plan .pr { display: flex; flex-direction: column; }
    .plan .btn { align-self: end; }
  }
}
.plan dd.na { color: var(--panel-mute); }
/* phone: nav stays on one line, the capability band scrolls instead of wrapping */
.nav-mark, .nav-cta { white-space: nowrap; }
@media (max-width: 420px) { .nav-cta { font-size: 10px; letter-spacing: .1em; } .nav-mark .tt { font-size: 12px; } }
@media (max-width: 760px) {
  .caps-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .caps-in::-webkit-scrollbar { display: none; }
  .cap { flex: 0 0 auto; padding-right: 14px; }
  /* the particle field belongs to the hero; below it, text needs a clean ground */
  #field { transition: opacity .5s ease; }
  body.past-hero #field { opacity: 0; }
}

/* one-off project: its own card and button, not a footnote */
.project-card { margin-top: 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; border: 1px solid var(--panel-line); padding: 22px 24px; }
.project-card p { color: var(--panel-fg2); font-size: 14px; max-width: 78ch; margin-top: 8px; }
.project-card .mono { color: var(--panel-mute); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.project-card .btn { border-color: var(--panel-fg); color: var(--panel-fg); white-space: nowrap; flex: none; }
.project-card .btn:hover { background: var(--panel-fg); color: var(--panel-bg); }
/* phone: each plan shows its first four rows; the rest open together */
.plans-more { display: none; }
@media (max-width: 900px) {
  .project-card { flex-direction: column; align-items: flex-start; }
  .plans:not(.open) .plan .pr:nth-child(n+5) { display: none; }
  .plans-more { display: block; width: 100%; margin-top: 14px; padding: 14px; background: none; border: 1px solid var(--panel-line); color: var(--panel-fg); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
}
/* phone: sections breathe less, so two paddings back to back don't read as a hole */
@media (max-width: 760px) {
  .wrapy, .weeks, .savings, .repeat { padding-top: 64px; padding-bottom: 64px; }
  .trust, .pricing, .faq { padding-top: 64px; padding-bottom: 64px; }
  .close { padding-top: 72px; padding-bottom: 72px; }
  .work { padding-top: 64px; }
}
/* the plan most teams should start with */
.plan-flag { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #0B0C0E; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }

.plans-math { margin-top: 18px; font-size: 14px; }
.plans-math a { color: var(--panel-fg); text-decoration: underline; text-underline-offset: 3px; }
.plans-math a:hover { color: var(--accent); }

/* headings never leave one word alone on the last line */
.section-head h2, .piece-title, .grp-head h3, .hero-h1 { text-wrap: balance; }
/* a piece's one number, big enough to read */
.piece-stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 2px 0 2px; }
.piece-stat b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.piece-stat span { font-size: 13px; color: var(--fg2); }
/* past the work the particles step back, so they never read as specks on the copy */
#field { transition: opacity .6s ease; }
body.past-work #field { opacity: .28; }

/* links inside a trust card */
.t-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-weight: 600; }
.t-link:hover { color: var(--fg); }
/* phone: the mark, the CTA and the theme switch keep clear of each other */
@media (max-width: 420px) { .nav { gap: 14px; } .nav-links { gap: 14px; } .nav-mark { font-size: 11px; letter-spacing: .08em; } }

/* a single piece across the full row */
.bento .piece.full { grid-column: 1 / -1; }
.bento .piece.full .piece-shot { height: clamp(260px, 32vw, 480px); }
/* five pieces in the Helixa group */
@media (min-width: 901px) { .mini { grid-template-columns: repeat(5, 1fr); } }
.bento .mini .piece-shot img { object-position: left top; }

/* ---------------------------------------------- fixes from our own review
   (work/sample-review): the full-width card follows the phone rule, faint
   grays and teal text reach 4.5:1, the Pricing label follows its panel, and
   on a phone the particles stay off past the hero whatever comes later. */
@media (max-width: 900px) { .bento .piece.full .piece-shot { height: auto; aspect-ratio: 16 / 10; } }
:root { --fg3: #7C7E84; }
:root[data-theme="light"] { --fg3: #6A6C72; }
:root[data-theme="light"] .t-link, :root[data-theme="light"] .piece-stat b, :root[data-theme="light"] .plans-math a:hover { color: #0B6F66; }
.pricing .section-head .mono { color: var(--panel-fg2); }
@media (max-width: 760px) { body.past-hero #field { opacity: 0; } }
/* light theme: teal used as text reaches its contrast target (large 3:1, small 4.5:1) */
:root[data-theme="light"] .hero-h1 em { color: #0B7D73; }
:root[data-theme="light"] .t-n { color: #0B6F66; }

/* ---------------------------------------------------------- pricing layout
   A one-time week on top as its own strip; the three monthly plans below,
   side by side; on a phone the monthly plans swipe instead of stacking. */
.week-strip { margin-top: 48px; display: flex; gap: 28px; align-items: center; justify-content: space-between;
  border: 1px solid var(--panel-fg); padding: 26px 28px; }
.week-strip h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 6px; }
.week-strip p { color: var(--panel-fg2); font-size: 14px; max-width: 70ch; }
.ws-eye { display: inline-block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; background: var(--accent); color: #0B0C0E; border-radius: 999px; }
.ws-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.ws-price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.ws-price small { font-size: 12px; font-weight: 400; color: var(--panel-fg2); letter-spacing: 0; }
.week-strip .btn { border-color: var(--panel-fg); color: var(--panel-fg); white-space: nowrap; }
.week-strip .btn:hover { background: var(--panel-fg); color: var(--panel-bg); }
.plans { margin-top: 28px; }
.plans-swipe { display: none; }
@media (max-width: 900px) {
  .week-strip { flex-direction: column; align-items: flex-start; }
  .ws-buy { align-items: flex-start; }
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-top: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan { flex: 0 0 84%; scroll-snap-align: start; border: 1px solid var(--panel-line); }
  .plans-swipe { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--panel-mute); margin-top: 10px; }
}
.ftab.on i { opacity: .7; }

/* past the work the particle field is gone entirely: at low opacity its shapes read as stray marks */
body.past-work #field { opacity: 0; }

/* past the hero the particle field is off at every width: over the work it read as dust */
#field { transition: opacity .5s ease; }
body.past-hero #field { opacity: 0; }
.bento .piece.full .piece-shot img { object-position: center 62%; }
.bento .piece.full .live-hint { top: 14px; bottom: auto; }
.project-card p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.raise-btns { display: flex; flex-direction: column; gap: 10px; flex: none; }
.raise-btns .btn-quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
/* every width: each plan shows its first six rows; the rest open together */
.plans:not(.open) .plan .pr:nth-child(n+7) { display: none; }
.plans-more { display: block; margin: 14px auto 0; padding: 12px 18px; background: none; border: 1px solid var(--panel-line); color: var(--panel-fg);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 900px) { .plans:not(.open) .plan .pr:nth-child(n+5) { display: none; } .plans-more { width: 100%; } }
@media (max-width: 900px) { .plans { align-items: flex-start; } }
/* phone header: Pricing stays reachable next to the CTA */
@media (max-width: 720px) { .nav-links a[href="#pricing"] { display: inline; } .nav-links { gap: 12px; } }
@media (max-width: 400px) { .nav-links { gap: 10px; font-size: 10px; letter-spacing: .06em; } .tt { padding: 6px 7px; } }
/* the 3D card's hint reads on any frame behind it */
.live-hint { background: rgba(8,9,11,.82); color: #F4F3EF; border-color: rgba(244,243,239,.35); }
@media (max-width: 420px) { .nav .tt { display: none; } }   /* the theme follows the phone setting; the switch makes room for Pricing */

/* ------------------------------------------------ 2026-09-28 layout pass */

.t-link { display: inline-block; margin-top: 8px; }
.t-link + .t-link { margin-left: 22px; }
@media (min-width: 901px) { .mini { grid-template-columns: repeat(4, 1fr); } }
/* FAQ: two questions to a row on wide screens */
@media (min-width: 901px) {
  .faq-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .faq-list .q[hidden] { display: none; }
}
/* hero headline: room between letters and between the two lines (descenders of p/g no longer meet the line below) */
.hero-h1 { line-height: .98; letter-spacing: -.03em; }
.hero-h1 { max-width: 20ch; text-wrap: pretty; }
.hero-h1 { font-size: clamp(48px, 8.4vw, 152px); max-width: none; text-wrap: wrap; }
@media (max-width: 900px) { .hero-h1 br.hb { display: none; } }

/* pricing extras: three short cards instead of long paragraphs */
.extras { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.extra { border: 1px solid var(--panel-line); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.extra .mono { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-mute); }
.extra p { color: var(--panel-fg2); font-size: 14px; line-height: 1.55; flex: 1; }
.extra p b { color: var(--panel-fg); }
.extra > a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--panel-fg); text-decoration: none; }
.extra > a:hover { color: var(--accent); }
.extra a.in { color: var(--panel-fg); text-decoration: underline; text-underline-offset: 3px; }
.pricing-note a { color: var(--panel-fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .mini > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* r10: equal halves for the two Helixa directions, no side crop */
.bento .piece.half { grid-column: span 6; }
.bento .piece.half .piece-shot { height: auto; aspect-ratio: 16 / 10; }
.bento .piece.half .piece-shot img { object-position: center top; }
@media (max-width: 900px) { .bento .piece.half { grid-column: 1 / -1; } }
.extra-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.extra-links a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--panel-fg); text-decoration: none; }
.extra-links a:hover { color: var(--accent); }
.extra-links a.q { color: var(--panel-mute); text-decoration: underline; text-underline-offset: 3px; }
/* trust links: same left edge when they wrap */
.t-link { margin-right: 22px; }
.t-link + .t-link { margin-left: 0; }
/* FAQ: two columns that flow, so an open answer never leaves a hole in the other column */
@media (min-width: 901px) {
  .faq-list { display: block; column-count: 2; column-gap: 40px; }
  .faq-list .q { break-inside: avoid; }
}
.bento .piece.full .piece-shot img { object-position: center 48%; }

/* two monthly plans side by side */
@media (min-width: 901px) { .plans { grid-template-columns: repeat(2, 1fr); } .extras { grid-template-columns: repeat(2, 1fr); } }
