/* ===========================================================================
   tools.css v3 - "Same house, quieter room"
   The shared kit for the thirteen free photographer tools at /tools.
   ---------------------------------------------------------------------------
   v2 dressed every tool as a camera body: corner brackets, four uppercase HUD
   blocks, model codes, knurled dials, engraved scales, a cream paper sheet.
   Luke (2026-09-08): "cluttery and overcomplicated ... give them a vibe more
   similar to the new homepage". v3 keeps every class name and every piece of
   page JS, and re-points the values at the homepage's language (home-v2.css):
   the #0a0a0c page, #12121a cards with a 24px radius and hairline borders,
   the soft orange inner glow, gradient headings, sentence-case eyebrows,
   glow and ghost buttons, the expo ease. The chrome that carried no
   information (brackets, codes, "Fig. 1", key hints, the knurl, the paper)
   is retired here rather than in the templates.

   Scope: everything lives under .vf (the page wrapper every tool adds around
   .tool-wrap), under .sheet, or is prefixed vf-/tc-/tr-/tw-. Nothing here
   reaches .seo-* or the marketing pages. Typography is Inter and JetBrains
   Mono only, through --font-sans / --font-mono from style.css. No @import.

   Sections
     1  tokens            2  page column + hero      3  card + window + HUD
     4  caption + scrub   5  readouts                6  controls
     7  table card        8  notes, CTA, essay       9  empty state + glyphs
    10  the sheet        11  hub cards + related    12  motion, responsive, print
    13  legacy .tw-* kit (the depth-of-field page), restyled in place
   ========================================================================= */

/* ---------------------------------------------------------------------------
   1. Tokens (style.css tokens stay; these are added). The v2 names are kept
      because page-level styles and SVG paint reference them; only the values
      moved to the homepage palette.
   ------------------------------------------------------------------------- */
:root {
    /* surfaces, from home-v2.css */
    --vf-black: #0a0a0c;                    /* the page */
    --vf-body: #12121a;                     /* a card */
    --vf-body-2: #16161c;                   /* a card's inner panel */
    --vf-bevel: rgba(255,255,255,0.08);     /* hairline */
    --vf-bevel-strong: rgba(255,255,255,0.12);
    --vf-line-hi: rgba(255,178,102,0.30);   /* hairline, lit */
    --vf-glow: inset 0 -9px 24px rgba(246,112,20,0.08);
    --vf-glow-hover: 0 0 0 1px rgba(255,178,102,0.12), 0 18px 60px rgba(246,112,20,0.14);
    --vf-shadow: 0 18px 60px rgba(0,0,0,0.35);
    --vf-glass: rgba(10,10,12,0.55);

    /* text and accents */
    --hud: #f2f2f3;
    --hud-dim: #a3a3a8;
    --hud-faint: #6c6c73;
    --hud-amber: #ff9800;
    --hud-amber-2: #ffb347;
    --hud-green: #6fe3a0;
    --hud-red: #ff5b4d;
    --hud-blue: #7aaeff;

    /* scene palette, sky-like things only */
    --sky-night: #0b1026; --sky-astro: #1e2a5a; --sky-naut: #2d4a8a; --sky-blue: #3f6fd1;
    --sky-gold: #ff9800; --sky-warm: #ffc36b; --sky-day: #8fc7f5;

    /* the sheet: the same dark card as everything else now */
    --paper: #12121a;
    --paper-2: rgba(255,255,255,0.03);
    --ink: #f2f2f3;
    --ink-2: #a3a3a8;
    --ink-rule: rgba(255,255,255,0.08);
    --ink-rule-strong: rgba(255,255,255,0.18);
    --ink-accent: #ff9800;
    --ink-red: #ff5b4d;
    --ink-blue: #7aaeff;

    /* motion */
    --t-snap: 120ms;
    --t-confirm: 320ms;
    --t-count: 350ms;
    --t-grade: 450ms;
    --t-morph: 480ms;
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-morph: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* geometry */
    --vf-radius: 24px;
    --vf-radius-in: 16px;
    --vf-pad: 14px;         /* card padding around the window; 10px on phones */
    --hud-inset: 22px;      /* 16px at <=760, 12px at <=480 */
    --scrub-pad: 26px;      /* horizontal padding of the scrub, readouts, controls */
}

/* ---------------------------------------------------------------------------
   2. Page column and the hero
   ------------------------------------------------------------------------- */
.tool-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px 8px; }
@media (max-width: 640px) { .tool-wrap { padding: 0 12px 4px; } }

.vf { color: var(--text-primary); }
.vf * { box-sizing: border-box; }

/* The hero is the existing .seo-hero with the .vf-hero modifier. Top padding
   stays 72px because the site navbar is fixed. The title is the homepage's
   gradient heading; the eyebrow is a sentence, not a stamp. */
.seo-hero.vf-hero { padding: 72px 0 22px; }
.seo-hero.vf-hero .container { max-width: 1240px; }
.seo-hero.vf-hero .seo-breadcrumbs { margin-bottom: 30px; }
.seo-hero.vf-hero .vf-eyebrow {
    font-family: var(--font-sans); font-weight: 500; font-size: 0.86rem; letter-spacing: 0; text-transform: none;
    color: var(--hud-dim); margin: 0 0 12px;
}
.seo-hero.vf-hero h1 {
    font-family: var(--font-sans); font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.025em;
    margin: 0 0 14px;
    background-image: linear-gradient(348deg, rgba(255,255,255,0.36), #fff 54%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.seo-hero.vf-hero h1 .gradient-text, .seo-hero.vf-hero h1 em {
    font-style: normal;
    background-image: linear-gradient(135deg, #ff9800, #ffb347, #ffcc80);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.seo-hero.vf-hero .lede {
    font-family: var(--font-sans); font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7;
    color: var(--hud-dim); max-width: 640px; margin: 0;
}
.seo-hero.vf-hero .lede em { font-style: normal; font-weight: 500; color: var(--hud); }

/* ---------------------------------------------------------------------------
   3. The card, the window, the HUD
   ------------------------------------------------------------------------- */
.vf-camera {
    background: var(--vf-body); border: 1px solid var(--vf-bevel); border-radius: var(--vf-radius);
    box-shadow: var(--vf-glow); padding: var(--vf-pad);
    overflow: hidden; position: relative;
}

.vf-finder, .vf-display {
    position: relative; background: var(--vf-black); overflow: hidden; border-radius: var(--vf-radius-in);
    user-select: none; -webkit-user-select: none; touch-action: none;
    aspect-ratio: 12 / 5; width: 100%; display: block;
}
.vf-finder { cursor: crosshair; }
.vf-finder.--r12x5, .vf-display.--r12x5 { aspect-ratio: 12 / 5; }
.vf-finder.--r3x2,  .vf-display.--r3x2  { aspect-ratio: 3 / 2; }
/* A 3:2 window at full card width is 795px tall on a 1240px column, which puts
   its bottom below a 900px fold. Above the phone breakpoints, size it from the
   viewport height instead and centre it in the card. */
@media (min-width: 761px) {
    .vf .vf-finder.--r3x2, .vf .vf-display.--r3x2 {
        width: min(100%, max(560px, calc((100vh - 330px) * 1.5)));
        margin-left: auto; margin-right: auto;
    }
}
.vf-finder.--r4x3,  .vf-display.--r4x3  { aspect-ratio: 4 / 3; }
.vf-finder.--r1x1,  .vf-display.--r1x1  { aspect-ratio: 1 / 1; }
/* Row of two or three windows (camera comparison). */
.vf-finder-row { display: grid; gap: 10px; background: transparent; grid-template-columns: var(--cols, 1fr 1fr); }
.vf-finder-row .vf-finder, .vf-finder-row .vf-display { border-radius: var(--vf-radius-in); }

.vf-finder img.vf-plate, .vf-display img.vf-plate {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none;
    object-fit: cover; display: block; pointer-events: none;
    transition: filter var(--t-grade) var(--ease-out); will-change: filter;
}
.vf-grade { position: absolute; inset: 0; pointer-events: none; transition: background var(--t-grade) var(--ease-out); }
.vf-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 60%, rgba(0,0,0,.42) 100%); }
.vf-flare { position: absolute; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,196,100,.6) 0%, rgba(255,150,40,.25) 28%, rgba(255,120,0,0) 62%); mix-blend-mode: screen; opacity: 0; transition: opacity .2s; }
.vf-finder canvas.vf-canvas, .vf-display canvas.vf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* The drawing layer. viewBox is set to the window's pixel size by JS
   (ResizeObserver) so text never scales. Labels are sentences now. */
.vf-finder svg.vf-svg, .vf-display svg.vf-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vf-svg text {
    font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: 0; text-transform: none;
    fill: var(--hud-dim); paint-order: stroke; stroke: rgba(10,10,12,.75); stroke-width: 4px; stroke-linejoin: round;
}
.vf-svg text.mono {
    font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: none;
    fill: var(--hud); font-variant-numeric: tabular-nums;
}
.vf-svg text.mono.tick { font-size: 10px; font-weight: 500; fill: var(--hud-dim); }
.vf-svg text.lit { fill: var(--hud); }
.vf-svg text.amber { fill: var(--hud-amber-2); }
.vf-svg text.blue { fill: var(--hud-blue); }
.vf-svg text.red { fill: var(--hud-red); }
.vf-svg .guide { stroke: rgba(242,242,243,.22); stroke-width: 1; stroke-dasharray: 2 6; fill: none; }
.vf-svg .horizon, .vf-svg .rule { stroke: rgba(242,242,243,.75); stroke-width: 1.25; fill: none; }
.vf-svg .tick-line { stroke: rgba(242,242,243,.5); stroke-width: 1; }
.vf-svg .bracket { fill: none; stroke: var(--hud); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.vf-svg .bracket.green { stroke: var(--hud-green); }
.vf-svg .bracket.amber { stroke: var(--hud-amber); }
.vf-svg .bracket.blue { stroke: var(--hud-blue); }
.vf-svg .bracket.pulse, .vf .bracket.pulse { animation: vfConfirm var(--t-confirm) var(--ease-out); }
@keyframes vfConfirm { 0% { stroke-width: 4.5; opacity: .4; } 100% { stroke-width: 2; opacity: 1; } }
.vf-svg .mask { fill: rgba(0,0,0,.55); }

/* the EVF's corner brackets carried no information; retired */
.vf-corner { display: none; }

/* HUD blocks: the same four positions, now glass chips. Sentence case, no
   tracking, no text shadow; the chip's own backdrop does the lifting. */
.vf .hud {
    position: absolute; pointer-events: none; color: var(--hud); line-height: 1.3;
    font-family: var(--font-sans); text-transform: none; letter-spacing: 0; text-shadow: none;
    background: var(--vf-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px 14px;
}
.vf .hud:empty { display: none; }
.vf .hud .lbl { display: block; font-size: 0.74rem; font-weight: 500; letter-spacing: 0; color: var(--hud-dim); }
.vf .hud .val { display: block; font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; color: var(--hud); margin-top: 1px; }
.vf .hud .sub { display: block; font-size: 0.74rem; font-weight: 500; letter-spacing: 0; color: var(--hud-dim); margin-top: 3px; }
.vf .hud .mono, .vf .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.vf .hud .code { display: none; }              /* model codes retired */
.vf .hud .chip { display: inline-block; margin-right: 8px; }
.vf .hud.tl { top: var(--hud-inset); left: var(--hud-inset); max-width: 46%; }
.vf .hud.tr { top: var(--hud-inset); right: var(--hud-inset); text-align: right; }
.vf .hud.tr .num {                                    /* exactly one per page */
    display: block; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
    font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--hud); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.vf .hud.tr .num.amber { color: var(--hud-amber-2); }
.vf .hud.tr .lbl, .vf .hud.tr .sub { margin-top: 6px; }
.vf .hud.tr .val { margin-top: 6px; }
.vf .hud .val.gold, .vf .hud .val.amber { color: var(--hud-amber-2); }
.vf .hud .val.blue { color: var(--hud-blue); }
.vf .hud .val.red { color: var(--hud-red); }
.vf .hud .val.green { color: var(--hud-green); }
.vf .hud .val.dim { color: var(--hud-dim); }
.vf .hud.bl { bottom: var(--hud-inset); left: var(--hud-inset); max-width: 60%; }
.vf .hud.bl .val { white-space: nowrap; }
.vf .hud.bl .val .mono { font-size: 1rem; color: var(--hud-amber-2); }
.vf .hud.br { bottom: var(--hud-inset); right: var(--hud-inset); display: flex; gap: 14px; align-items: flex-end; text-align: right; padding: 10px; }
.vf .hud.br .glyph, .vf .hud.br svg, .vf .hud.br canvas { width: 64px; height: 64px; display: block; }
/* The bottom-centre caveat collides with the bottom-left verdict on wide
   windows; caveats live in the notes. .vf-empty re-enables it for its drop verb. */
.vf .hud.bc { display: none; bottom: var(--hud-inset); left: 50%; transform: translateX(-50%); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; color: var(--hud-dim); white-space: nowrap; }
/* the window's own bottom info strip (EXIF idiom) */
.vf .hud.strip { left: var(--hud-inset); right: var(--hud-inset); bottom: var(--hud-inset); display: flex; gap: 22px; align-items: baseline; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------
   4. Caption line and scrub bar
   ------------------------------------------------------------------------- */
.vf-cap {
    display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
    padding: 14px 12px 6px; color: var(--hud-dim);
    font-family: var(--font-sans); font-weight: 400; font-size: 0.9rem; line-height: 1.55;
}
.vf-cap .fig { display: none; }                /* "Fig. 1" retired */
.vf-cap .txt { flex: 1 1 auto; min-width: 0; }
.vf-cap .txt .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.vf-cap .credit { font-family: var(--font-sans); font-weight: 500; font-size: 0.74rem; letter-spacing: 0; text-transform: none; color: var(--hud-faint); white-space: nowrap; margin-left: auto; }

/* The scrub: a thin track that fills orange up to the thumb. kit.js writes
   --fill (0..100%) on the input; a page that paints its own track (the golden
   hour sky) sets --scrub-bg and wins. */
.vf-scrub { position: relative; padding: 10px var(--scrub-pad) 6px; background: transparent; border-top: 0; }
.vf-scrub input[type=range] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; padding: 0;
    background: transparent; cursor: ew-resize; display: block; outline: none;
}
.vf-scrub input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--scrub-bg, linear-gradient(90deg, var(--hud-amber) 0 var(--fill, 0%), rgba(255,255,255,.10) var(--fill, 0%))); }
.vf-scrub input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--scrub-bg, linear-gradient(90deg, var(--hud-amber) 0 var(--fill, 0%), rgba(255,255,255,.10) var(--fill, 0%))); }
.vf-scrub input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 3px var(--vf-body), 0 0 0 4px rgba(255,152,0,.55), 0 4px 14px rgba(0,0,0,.45); cursor: ew-resize; transition: transform var(--t-snap); }
.vf-scrub input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--vf-body), 0 0 0 4px rgba(255,152,0,.55), 0 4px 14px rgba(0,0,0,.45); cursor: ew-resize; }
.vf-scrub input[type=range]:hover::-webkit-slider-thumb, .vf-scrub input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); }
.vf-scrub input[type=range]:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; border-radius: 999px; }
.vf-scrub .ticks { display: flex; justify-content: space-between; margin-top: 0; font-family: var(--font-sans); font-weight: 500; font-size: 0.74rem; color: var(--hud-faint); font-variant-numeric: tabular-nums; }
.vf-scrub .ticks .lit { color: var(--hud-dim); }
.vf-scrub .ticks .red { color: var(--hud-red); }
/* NOW tick: set --at (0..1) on the element; no calc in page JS. */
.vf-scrub .now-tick { position: absolute; top: 24px; width: 2px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--hud); opacity: .9; pointer-events: none; left: calc(var(--scrub-pad) + 10px + (100% - 2 * var(--scrub-pad) - 20px) * var(--at, 0)); }
.vf-scrub .now-tick::after { content: attr(data-label); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-family: var(--font-sans); font-weight: 500; font-size: 0.68rem; letter-spacing: 0; text-transform: none; color: var(--hud-dim); white-space: nowrap; }
.vf-scrub .now-tick:not([data-label])::after { content: 'Now'; }
/* extra markers on the track (sunrise dot, NPF tick, a shoot): same --at */
.vf-scrub .mark { position: absolute; top: 27px; width: 6px; height: 10px; margin-left: -3px; border-radius: 2px; pointer-events: none; left: calc(var(--scrub-pad) + 10px + (100% - 2 * var(--scrub-pad) - 20px) * var(--at, 0)); background: var(--hud-dim); }
.vf-scrub .mark.amber { background: var(--hud-amber); }
.vf-scrub .mark.red { background: var(--hud-red); }
.vf-scrub .mark::after { content: attr(data-label); position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-family: var(--font-sans); font-weight: 500; font-size: 0.68rem; letter-spacing: 0; text-transform: none; color: var(--hud-dim); white-space: nowrap; }
.vf-scrub .mark.below::after { top: auto; bottom: -16px; }

/* ---------------------------------------------------------------------------
   5. Readouts (the info bar). 3 to 5 cells, never wraps.
   ------------------------------------------------------------------------- */
.vf-info { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 18px var(--scrub-pad) 20px; gap: 0; border-top: 1px solid var(--vf-bevel); margin-top: 8px; }
.vf-camera > .vf-scrub + .vf-info { margin-top: 4px; }
.vf-info .cell { padding: 0 18px; border-left: 1px solid var(--vf-bevel); min-width: 0; }
.vf-info .cell:first-child { border-left: 0; padding-left: 0; }
.vf-info .cell:last-child { padding-right: 0; }
.vf-info .lbl { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-dim); }
.vf-info .val { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; color: var(--hud); margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-info .sub { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--hud-faint); margin-top: 4px; }
.vf-info .cell.hero .val { font-size: 1.6rem; background-image: linear-gradient(135deg, #ff9800, #ffb347, #ffcc80); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.vf-info .cell.cool .val { color: var(--hud-blue); }
.vf-info .val.red, .vf-info .cell.trouble .val { color: var(--hud-red); }
.vf-info .val a { color: inherit; text-decoration: underline; text-decoration-color: var(--hud-faint); }

/* ---------------------------------------------------------------------------
   6. Controls. One quiet panel under the readouts; cells split by hairlines.
   ------------------------------------------------------------------------- */
.vf-deck { display: grid; grid-template-columns: var(--cols, 1fr); gap: 0; background: transparent; border-top: 1px solid var(--vf-bevel); margin-top: 4px; }
.vf-deck > * { background: transparent; padding: 20px 22px 6px; min-width: 0; }
.vf-deck > * + * { border-left: 1px solid var(--vf-bevel); }
.vf-deck > .span2 { grid-column: span 2; }
.vf-deck > .span3 { grid-column: span 3; }
.vf .ctl-lbl {
    font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-dim);
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px;
}
.vf .ctl-lbl .keys { display: none; }          /* keyboard hints retired from the surface; the keys still work */
.vf .ctl-lbl kbd { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; color: var(--hud-faint); letter-spacing: 0; text-transform: none; border: 1px solid var(--vf-bevel-strong); border-radius: 4px; padding: 1px 5px; line-height: 1.4; }
.vf .ctl-lbl .t-link { margin-left: auto; }
.vf .ctl-stack > * + * { margin-top: 14px; }
.vf .ctl-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }

/* tertiary text link */
.vf .t-link, .vf-cta .alt, .vf-handoff .alt, .tool-related .tr-all {
    font-family: var(--font-sans); font-weight: 500; font-size: 0.86rem; letter-spacing: 0; text-transform: none;
    color: var(--hud-dim); text-decoration: underline; text-decoration-color: rgba(255,152,0,.45); text-underline-offset: 3px;
    background: none; border: 0; padding: 0; cursor: pointer; transition: color .25s var(--ease-expo);
}
.vf .t-link:hover, .vf-cta .alt:hover, .vf-handoff .alt:hover, .tool-related .tr-all:hover { color: #fff; }

/* Fn tile: a real <select> (or input) in the homepage's field dress */
.vf .fn { position: relative; }
.vf .fn > select, .vf .fn > input {
    width: 100%; appearance: none; -webkit-appearance: none; -moz-appearance: none; margin: 0;
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong); border-radius: 14px; color: var(--hud);
    font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0; text-transform: none;
    padding: 12px 40px 12px 14px; cursor: pointer; min-height: 46px; line-height: 1.2; background-image: none !important;
    transition: border-color .25s, box-shadow .25s;
}
.vf .fn > input { cursor: text; }
.vf .fn > input::placeholder { color: var(--hud-faint); text-transform: none; }
.vf .fn > input.mono, .vf .fn > input[type=number], .vf .fn > input[inputmode=decimal], .vf .fn > input[inputmode=numeric] { font-family: var(--font-mono); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; padding-right: 14px; }
.vf .fn > select option { background: var(--vf-body-2); color: var(--hud); text-transform: none; letter-spacing: 0; }
.vf .fn > select:hover, .vf .fn > input:hover { border-color: rgba(255,255,255,.2); }
.vf .fn > select:focus-visible, .vf .fn > input:focus-visible { outline: none; border-color: var(--hud-amber); box-shadow: 0 0 0 3px rgba(255,152,0,.18); }
.vf .fn::after { content: ''; position: absolute; right: 17px; top: 23px; width: 7px; height: 7px; border-right: 1.5px solid var(--hud-dim); border-bottom: 1.5px solid var(--hud-dim); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.vf .fn.--nochevron::after, .vf .fn--num::after { display: none; }
.vf .fn .coord { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; color: var(--hud-faint); margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.vf .fn .coord.red { color: var(--hud-red); }
/* date in Fn dress */
.vf .fn--date > input[type=date] { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; color-scheme: dark; padding-right: 14px; }
.vf .fn--date::after { display: none; }
.vf .fn--date > input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.85); opacity: .7; cursor: pointer; }
/* type-ahead picker for long lists */
.vf .fn--search::after { transform: translateY(-70%) rotate(45deg); }
.vf .fn--search[aria-expanded="true"]::after, .vf .fn--search.open::after { transform: translateY(-20%) rotate(-135deg); }
.vf .fn-menu {
    position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none;
    max-height: 320px; overflow-y: auto; background: var(--vf-body-2); border: 1px solid var(--vf-bevel-strong); border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.vf .fn-menu.--up { top: auto; bottom: calc(100% + 6px); }
.vf .fn-menu[hidden] { display: none; }
.vf .fn-menu .grp { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-faint); padding: 10px 12px 4px; }
.vf .fn-menu .grp + .grp { display: none; }
.vf .fn-menu .opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; padding: 9px 12px; cursor: pointer; min-height: 42px; border-radius: 10px; }
.vf .fn-menu .opt .nm { font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--hud); }
.vf .fn-menu .opt .nm .br { color: var(--hud-dim); font-weight: 400; }
.vf .fn-menu .opt .meta { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; color: var(--hud-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vf .fn-menu .opt:hover, .vf .fn-menu .opt[aria-selected="true"] { background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--hud-amber); }
.vf .fn-menu .none { padding: 12px 14px; font-family: var(--font-sans); font-size: 0.86rem; color: var(--hud-dim); }

/* Dial: the same drag-and-step strip, now a quiet pill. The knurl is gone;
   the amber index became an underline under the value; the scale keeps only
   its two ends and the current stop. Everything kit.js does is unchanged. */
.vf .dial { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px 8px; align-items: stretch; }
.vf .dial-arrow {
    min-height: 46px; background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong); border-radius: 14px; color: var(--hud-dim); cursor: pointer;
    font-family: var(--font-sans); font-size: 1.1rem; font-weight: 500; padding: 0; line-height: 1; transition: color var(--t-snap), border-color var(--t-snap), transform .3s var(--spring);
}
.vf .dial-arrow:hover { color: var(--hud); border-color: rgba(255,255,255,.22); }
.vf .dial-arrow:active { transform: scale(.96); }
.vf .dial-arrow:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; }
.vf .dial-strip { position: relative; height: 54px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong); overflow: hidden; cursor: ew-resize; touch-action: pan-y; transition: border-color .25s; }
.vf .dial-strip:hover { border-color: rgba(255,255,255,.2); }
.vf .dial-strip:focus-visible { outline: none; border-color: var(--hud-amber); box-shadow: 0 0 0 3px rgba(255,152,0,.18); }
.vf .dial-knurl { display: none; }
.vf .dial-index { position: absolute; left: 50%; bottom: 0; top: auto; width: 44px; height: 3px; margin-left: -22px; border-radius: 3px 3px 0 0; background: var(--hud-amber); box-shadow: 0 0 12px rgba(255,152,0,.55); }
.vf .dial-index.tick { animation: vfTick var(--t-snap) var(--ease-out); }
@keyframes vfTick { 0% { transform: scaleX(1.8); opacity: .5; } 100% { transform: none; opacity: 1; } }
.vf .dial-window {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    background: transparent; border: 0; border-radius: 0; padding: 0 12px; text-align: center;
    font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-transform: none; color: var(--hud); white-space: nowrap; pointer-events: none; line-height: 1.2;
}
.vf .dial-window .v { display: block; }
.vf .dial-window .v .mono, .vf .dial-window .v.mono { font-family: var(--font-mono); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.vf .dial-window small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.7rem; letter-spacing: 0; text-transform: none; color: var(--hud-dim); margin-top: 2px; font-variant-numeric: tabular-nums; }
.vf .dial-scale { grid-column: 2; position: relative; height: 14px; margin-top: -2px; }
.vf .dial-scale span { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-sans); font-weight: 500; font-size: 0.68rem; color: var(--hud-faint); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1; display: none; }
.vf .dial-scale span::before { display: none; }
.vf .dial-scale span:first-child, .vf .dial-scale span:last-child, .vf .dial-scale span.on { display: block; }
.vf .dial-scale span:first-child { transform: none; }
.vf .dial-scale span:last-child { transform: translateX(-100%); }
.vf .dial-scale span.on { color: var(--hud-dim); }

/* Buttons and the segmented control: the homepage's ghost button; a pressed
   segment takes the orange tint. */
.vf .body-btn {
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong); border-radius: 12px; color: var(--hud-dim);
    font-family: var(--font-sans); font-weight: 600; font-size: 0.86rem; letter-spacing: 0; text-transform: none;
    padding: 9px 14px; min-height: 42px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
    transition: color var(--t-snap), border-color var(--t-snap), background var(--t-snap), box-shadow .3s, transform .3s var(--spring);
}
.vf .body-btn:hover { color: var(--hud); border-color: rgba(255,255,255,.22); }
.vf .body-btn:active { transform: scale(.98); }
.vf .body-btn[aria-pressed="true"], .vf .body-btn.active { color: #fff; background: rgba(255,152,0,.14); border-color: var(--hud-amber); box-shadow: inset 0 -8px 24px rgba(246,112,20,.18); transition: none; }
.vf .body-btn:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; }
.vf .body-btn:disabled { opacity: .4; cursor: not-allowed; }
.vf .body-btn.red { color: var(--hud-red); border-color: rgba(255,91,77,.5); }
.vf .body-btn .vf-glyph { width: 14px; height: 14px; }
.vf .body-seg { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 8px; }
.vf .body-seg .body-btn { width: 100%; padding-left: 8px; padding-right: 8px; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------------------
   7. The table card (replaces tables, phase cards, spec tables)
   ------------------------------------------------------------------------- */
.vf-menu { margin-top: 24px; background: var(--vf-body); border: 1px solid var(--vf-bevel); border-radius: var(--vf-radius); box-shadow: var(--vf-glow); overflow: hidden; }
.vf-menu .menu-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1px solid var(--vf-bevel); padding: 12px 14px; }
.vf-menu .menu-tabs button, .vf-menu .menu-tabs .tab {
    background: transparent; border: 1px solid transparent; border-radius: 999px; margin: 0; cursor: pointer; min-height: 40px;
    color: var(--hud-dim); font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem; letter-spacing: 0; text-transform: none; padding: 8px 16px;
    transition: color .2s, border-color .2s, background .2s;
}
.vf-menu .menu-tabs button:hover { color: var(--hud); }
.vf-menu .menu-tabs button .n { display: none; }
.vf-menu .menu-tabs button[aria-selected="true"], .vf-menu .menu-tabs button.active { color: #fff; background: rgba(255,255,255,.04); border-color: var(--vf-line-hi); box-shadow: inset 0 -8px 24px rgba(246,112,20,.14); }
.vf-menu .menu-tabs button:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; }
.vf-menu .menu-tabs .menu-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; padding-right: 2px; }
.vf-menu .menu-lede { padding: 18px 24px 0; font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-transform: none; color: var(--hud); }
.vf-menu .menu-rows { list-style: none; margin: 0; padding: 8px 0; }
.vf-menu .menu-rows[hidden] { display: none; }
.vf-menu .menu-rows li {
    display: grid; grid-template-columns: var(--cols, 1fr); gap: 4px 14px; align-items: baseline;
    padding: 12px 24px; min-height: 44px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.vf-menu .menu-rows li:last-child { border-bottom: 0; }
.vf-menu .menu-rows li:hover { background: rgba(255,255,255,.025); }
.vf-menu .menu-rows li.hd { color: var(--hud-faint); }
.vf-menu .menu-rows li.hd:hover { background: none; }
.vf-menu .menu-rows li.hd > * { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-faint); font-style: normal; }
.vf-menu .menu-rows li[data-scrub], .vf-menu .menu-rows li.pick { cursor: pointer; }
.vf-menu .menu-rows li.live { background: rgba(255,152,0,.06); box-shadow: inset 3px 0 0 var(--hud-amber); }
.vf-menu .menu-rows li.live-b { background: rgba(242,242,243,.04); box-shadow: inset 3px 0 0 var(--hud); }
.vf-menu .menu-rows li.dim > * { color: var(--hud-faint) !important; }
.vf-menu .menu-rows li:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: -2px; }
.vf-menu .menu-rows .sw { width: 12px; height: 12px; border-radius: 4px; transform: translateY(1px); display: inline-block; }
.vf-menu .menu-rows .nm { font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--hud); }
.vf-menu .menu-rows .num { font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; letter-spacing: 0; color: var(--hud); font-variant-numeric: tabular-nums; }
.vf-menu .menu-rows .num.sec { color: var(--hud-dim); }
.vf-menu .menu-rows .num.amber { color: var(--hud-amber-2); }
.vf-menu .menu-rows .num.red { color: var(--hud-red); }
.vf-menu .menu-rows .num.blue { color: var(--hud-blue); }
.vf-menu .menu-rows .num.green { color: var(--hud-green); }
.vf-menu .menu-rows .rm { font-family: var(--font-sans); font-weight: 400; font-style: normal; font-size: 0.88rem; color: var(--hud-dim); letter-spacing: 0; text-transform: none; }
.vf-menu .menu-rows .rm .mono { font-style: normal; }
.vf-menu .menu-rows .sq { width: 11px; height: 11px; border: 1.5px solid var(--hud); border-radius: 3px; display: inline-block; transform: translateY(1px); }
.vf-menu .menu-rows .sq.on { background: var(--hud); }
.vf-menu .menu-rows li.promo { border-top: 1px solid var(--vf-bevel); margin-top: 6px; padding-top: 14px; }
.vf-menu .menu-rows li.promo .nm { color: var(--hud); }
.vf-menu .menu-rows li.promo .t-link { justify-self: end; }
.vf-menu .menu-rows li .t-link { white-space: nowrap; }
.vf-menu .menu-rows input.inl {
    background: transparent; border: 0; border-bottom: 1px solid var(--vf-bevel-strong); color: var(--hud); font-family: var(--font-sans); font-size: 0.9rem; padding: 4px 0; width: 100%; outline: none;
}
.vf-menu .menu-rows input.inl:focus-visible { border-bottom-color: var(--hud-amber); }
.vf-menu[data-collapsed] .menu-rows, .vf-menu[data-collapsed] .menu-lede { display: none; }
.vf-menu .menu-fold { margin-left: auto; }
/* The one permitted horizontal scroll in the suite: a comparison table with a
   sticky first column on phones. The page body still never scrolls. */
.vf-menu.--scroll-x { overflow-x: auto; }
.vf-menu.--scroll-x .menu-rows li { min-width: 640px; }
.vf-menu.--scroll-x .menu-rows .nm { position: sticky; left: 0; background: var(--vf-body); padding-right: 8px; }

/* ---------------------------------------------------------------------------
   8. Notes, CTA, essay
   ------------------------------------------------------------------------- */
.vf-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 36px; margin: 26px 0 0; padding: 0 var(--scrub-pad); }
.vf-notes > div { min-width: 0; }
.vf-notes .lbl { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-faint); margin-bottom: 6px; }
.vf-notes p { margin: 0; font-family: var(--font-sans); font-weight: 400; font-size: 0.92rem; line-height: 1.65; color: var(--hud-dim); }
.vf-notes p .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--hud); }
.vf-notes p.red, .vf-notes .red { color: var(--hud-red); }

.vf-cta { margin: 44px 0 60px; padding: 36px 40px; border-radius: var(--vf-radius); background: var(--vf-body); border: 1px solid var(--vf-bevel); box-shadow: var(--vf-glow); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.vf-cta h3 { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.02em; background-image: linear-gradient(348deg, rgba(255,255,255,0.36), #fff 54%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.vf-cta p { color: var(--hud-dim); margin: 0; font-size: 1rem; line-height: 1.65; }
.vf-cta .acts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.vf-cta .alt { margin-left: 4px; }

/* the primary button, the homepage's glow button */
.vf .shutter, .vf-cta .shutter, .vf-handoff .shutter {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; border-radius: 14px;
    background: var(--hud-amber) radial-gradient(circle farthest-corner at 50% 100%, #ffb347, #ff6a00 79%);
    border: 1px solid #ba530e; text-shadow: 0 1px 2px rgba(0,0,0,.35);
    padding: 14px 24px; min-height: 48px; font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0; text-transform: none; line-height: 1;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    box-shadow: inset 0 2px 5px rgba(255,255,255,.28), inset 0 -8px 16px rgba(120,40,0,.35), 0 6px 24px rgba(246,112,20,.35);
    transition: transform .375s var(--spring), box-shadow .375s;
}
.vf .shutter::before, .vf-cta .shutter::before, .vf-handoff .shutter::before { display: none; }
.vf .shutter:hover, .vf-cta .shutter:hover, .vf-handoff .shutter:hover { color: #fff; transform: scale(1.04); box-shadow: inset 0 6px 5px rgba(255,255,255,.2), inset 1px -9px 13px rgba(0,0,23,.34), 0 7px 30px rgba(246,112,20,.6); }
.vf .shutter:active, .vf-cta .shutter:active, .vf-handoff .shutter:active { transform: scale(1); }
.vf .shutter:focus-visible, .vf-cta .shutter:focus-visible, .vf-handoff .shutter:focus-visible { outline: 2px solid #ffb347; outline-offset: 3px; }

.vf-essay { max-width: 760px; margin: 48px auto 0; }
.vf-essay h2 { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.02em; color: #fff; border: 0; padding: 0; display: flex; align-items: baseline; gap: 12px; }
.vf-essay h2:first-child { margin-top: 0; }
.vf-essay h2 .n { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0; color: var(--hud-amber); font-variant-numeric: tabular-nums; }
.vf-essay h3 { font-family: var(--font-sans); font-size: 1.12rem; font-weight: 600; margin: 24px 0 8px; color: #fff; }
.vf-essay p, .vf-essay li { font-family: var(--font-sans); font-weight: 400; font-size: 1rem; line-height: 1.75; color: var(--hud-dim); }
.vf-essay p { margin: 0 0 16px; }
.vf-essay ul, .vf-essay ol { margin: 0 0 18px 22px; padding: 0; }
.vf-essay li { margin-bottom: 8px; }
.vf-essay li strong, .vf-essay p strong { color: var(--hud); font-weight: 600; }
.vf-essay a { color: var(--hud-amber-2); text-decoration: none; }
.vf-essay a:hover { color: var(--hud-amber); }
.vf-essay .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* FAQ inside the essay: hairlines, no boxes, inline SVG chevron */
.vf-essay .faq-item, .vf .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--vf-bevel); border-radius: 0; padding: 0; margin: 0; }
.vf-essay .faq-item:first-of-type, .vf .faq-item:first-of-type { border-top: 1px solid var(--vf-bevel); }
.vf .faq-item.is-collapsible { padding: 0; }
.vf .faq-toggle { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 18px 0; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; color: var(--hud); min-height: 44px; }
.vf .faq-toggle:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; }
.vf .faq-toggle .vf-glyph { width: 14px; height: 14px; flex: none; color: var(--hud-dim); transition: transform .25s var(--ease-expo); }
.vf .faq-item.is-collapsible.open .faq-toggle .vf-glyph { transform: rotate(180deg); }
.vf .faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease-expo); }
.vf .faq-item.is-collapsible.open .faq-answer { max-height: 640px; }
.vf .faq-answer p { margin: 0; padding: 0 0 18px; font-size: 0.95rem; }

/* ---------------------------------------------------------------------------
   9. Empty state (nothing loaded yet) and the glyph set
   ------------------------------------------------------------------------- */
.vf .vf-empty {
    display: block; width: 100%; border: 0; margin: 0; padding: 0; cursor: pointer; color: var(--hud-faint); text-align: left;
    background: var(--vf-body-2); font: inherit; border-radius: var(--vf-radius-in);
}
.vf .vf-empty .hud { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vf .vf-empty .hud, .vf .vf-empty .hud .lbl, .vf .vf-empty .hud .val, .vf .vf-empty .hud .sub { color: var(--hud-faint); text-shadow: none; }
.vf .vf-empty .hud.bc { display: block; color: var(--hud-dim); white-space: normal; text-align: center; max-width: 80%; font-size: 0.95rem; }
.vf .vf-empty:hover .hud.bc, .vf .vf-empty:focus-visible .hud.bc { color: var(--hud); }
.vf .vf-empty:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: -2px; }
.vf .vf-empty.over { box-shadow: inset 0 0 0 2px var(--hud-amber); }
.vf .vf-empty.over .hud.bc { color: var(--hud); }
.vf .vf-empty input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.vf-glyph { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vf-glyph.lg { width: 24px; height: 24px; }
.vf .hud.br .vf-glyph { width: 64px; height: 64px; stroke-width: 1; }

/* ---------------------------------------------------------------------------
   10. The sheet (pricing, shot list): the same dark card, typeset as a document
   ------------------------------------------------------------------------- */
.sheet {
    background: var(--paper); color: var(--ink); border: 1px solid var(--vf-bevel); border-radius: var(--vf-radius); box-shadow: var(--vf-glow);
    max-width: 820px; margin: 0 auto; padding: 36px 40px; position: relative;
    font-family: var(--font-sans); font-weight: 400; font-size: 0.95rem; line-height: 1.6;
}
.sheet * { box-sizing: border-box; }
.sheet a { color: var(--ink-accent); }
.sheet .k, .sheet .sh-lbl { font-family: var(--font-sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.sheet .num, .sheet .v.num { font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sheet .accent { color: var(--ink-accent); }
.sheet .trouble { color: var(--ink-red); }
.sheet .cool { color: var(--ink-blue); }
.sheet .muted { color: var(--ink-2); }
.sheet .sheet-code { display: none; }          /* model codes retired */
.sheet .sheet-title { font-family: var(--font-sans); font-weight: 500; font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin: 0 0 20px; }
.sheet .sheet-title b, .sheet .sheet-title .big { display: block; font-size: 1.6rem; letter-spacing: -0.025em; text-transform: none; font-weight: 600; margin-top: 6px; background-image: linear-gradient(348deg, rgba(255,255,255,0.36), #fff 54%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sheet .sheet-hint { color: var(--ink-2); margin: -12px 0 20px; font-size: 0.9rem; }
.sheet .sheet-head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-rule-strong); margin-bottom: 18px; }
.sheet .sheet-head .v { display: block; margin-top: 4px; color: var(--ink); font-weight: 500; }
.sheet .sheet-head .v.num { font-size: 0.95rem; }
.sheet .sheet-lines { margin: 0; padding: 0; list-style: none; }
.sheet .line { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--ink-rule); }
.sheet .line.sub { padding-left: 18px; color: var(--ink-2); }
.sheet .line.sub .num { color: var(--ink-2); }
.sheet .line.rule { border-bottom: 1px solid var(--ink-rule-strong); }
.sheet .line.total { border-top: 1px solid var(--ink-rule-strong); border-bottom: 0; padding: 16px 0 6px; margin-top: 4px; }
.sheet .line.total .num { font-family: var(--font-sans); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; background-image: linear-gradient(135deg, #ff9800, #ffb347, #ffcc80); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sheet .line.total .k { font-size: 0.86rem; color: var(--ink); }
.sheet .band { background: var(--paper-2); margin: 0 -40px; padding: 8px 40px; }
/* min-width just large enough to keep a click target when the field is
   emptied mid-edit. */
.sheet [contenteditable] { outline: none; border-bottom: 1px dashed rgba(255,152,0,.45); cursor: text; min-width: 1ch; display: inline-block; }
.sheet [contenteditable]:hover, .sheet [contenteditable]:focus { border-bottom-color: var(--ink-accent); border-bottom-style: solid; }
.sheet [contenteditable]:focus-visible { outline: 2px solid var(--ink-accent); outline-offset: 3px; border-radius: 3px; }
.sheet .sheet-foot { margin-top: 22px; font-size: 0.95rem; color: var(--ink); }
.sheet .sheet-foot .num { font-size: 0.95rem; }
.sheet .cap { font-family: var(--font-sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-top: 10px; }
.sheet .cap .s { font-family: var(--font-sans); font-weight: 400; font-size: 0.88rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-left: 8px; }
.sheet svg text { font-family: var(--font-sans); font-size: 10px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.sheet svg .ink { stroke: var(--ink); fill: none; stroke-width: 1; }
.sheet svg .ink-rule { stroke: var(--ink-rule-strong); fill: none; stroke-width: 1; }
/* a ruler: input[type=range] as a thin line with a round thumb */
.sheet input[type=range].ink-rule-in { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: ew-resize; display: block; }
.sheet input[type=range].ink-rule-in::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: var(--ink-rule-strong); }
.sheet input[type=range].ink-rule-in::-moz-range-track { height: 4px; border-radius: 999px; background: var(--ink-rule-strong); }
.sheet input[type=range].ink-rule-in::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -7px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(255,152,0,.55); }
.sheet input[type=range].ink-rule-in::-moz-range-thumb { width: 18px; height: 18px; border: 0; background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(255,152,0,.55); }
.sheet input[type=range].ink-rule-in:focus-visible { outline: 2px solid var(--ink-accent); outline-offset: 2px; border-radius: 999px; }
/* the tickable square of a call sheet */
.sheet .sq { width: 12px; height: 12px; border: 1.5px solid var(--ink-2); border-radius: 3px; display: inline-block; vertical-align: -1px; margin-right: 10px; flex: none; }
.sheet .sq.must { background: var(--ink-accent); border-color: var(--ink-accent); }
.sheet .done { text-decoration: line-through; color: var(--ink-2); }
.sheet .done .sq { background: var(--ink-2); border-color: var(--ink-2); }

/* ---------------------------------------------------------------------------
   11. Hub cards and the related-tools rows: the homepage's feature boxes
   ------------------------------------------------------------------------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); gap: 18px; margin: 30px 0 8px; }
.tool-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--vf-body); border: 1px solid var(--vf-bevel); border-radius: var(--vf-radius); box-shadow: var(--vf-glow);
    padding: 26px 26px 24px; text-decoration: none; color: var(--hud);
    transition: border-color .3s, box-shadow .4s, transform .5s var(--ease-expo);
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--vf-line-hi); box-shadow: var(--vf-glow), var(--vf-glow-hover); color: var(--hud); }
.tool-card:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 3px; }
.tool-card .tc-code { display: none; }
.tool-card .tc-icon { width: 50px; height: 50px; margin-bottom: 18px; flex-shrink: 0; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--vf-bevel); overflow: hidden; padding: 2px; }
.tool-card .tc-icon img { width: 100%; height: 100%; display: block; border-radius: 10px; }
.tool-card .tc-kicker { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--hud-faint); margin-bottom: 8px; }
.tool-card .tc-title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.tool-card p { font-size: 0.92rem; color: var(--hud-dim); line-height: 1.6; margin: 0 0 20px; }
.tool-card .tc-go { margin-top: auto; font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hud-dim); display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.tool-card .tc-go .vf-glyph { width: 15px; height: 15px; transition: transform .3s var(--ease-expo), color .25s; }
.tool-card:hover .tc-go { color: #fff; }
.tool-card:hover .tc-go .vf-glyph { transform: translateX(4px); color: var(--hud-amber); }

/* Related tools: three rows, no cards. Renders inside the old .seo-main
   article and inside the new .vf column alike. */
.tool-related { margin: 40px 0 8px; }
.tool-related .tr-title { font-family: var(--font-sans); font-size: 0.86rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--hud-faint); margin: 0 0 6px; padding: 0; border: 0; }
.tool-related a.tr-row {
    display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
    padding: 14px 0; min-height: 44px; border-bottom: 1px solid var(--vf-bevel); text-decoration: none; color: var(--hud);
    transition: background .2s;
}
.tool-related a.tr-row:first-of-type { border-top: 1px solid var(--vf-bevel); }
.tool-related a.tr-row:hover { background: rgba(255,255,255,.02); }
.tool-related a.tr-row:focus-visible { outline: 2px solid var(--hud-amber); outline-offset: 2px; }
.tool-related .tr-code { display: none; }
.tool-related .tr-name { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.tool-related .tr-name .tr-blurb { display: block; font-weight: 400; font-style: normal; font-size: 0.88rem; letter-spacing: 0; text-transform: none; color: var(--hud-dim); margin-top: 3px; }
.tool-related .tr-go { color: var(--hud-dim); display: inline-flex; align-items: center; }
.tool-related .tr-go .vf-glyph { width: 15px; height: 15px; transition: transform .3s var(--ease-expo), color .25s; }
.tool-related a.tr-row:hover .tr-go { color: var(--hud-amber); }
.tool-related a.tr-row:hover .tr-go .vf-glyph { transform: translateX(4px); }
.tool-related .tr-all { display: inline-block; margin-top: 16px; }
.seo-main .tool-related .tr-name, .seo-main .tool-related a.tr-row .tr-name { color: #fff; }
.seo-main .tool-related a.tr-row:not(.btn) { color: var(--hud); }

/* ---------------------------------------------------------------------------
   12. Motion, responsive, print
   ------------------------------------------------------------------------- */
/* Scroll reveal, the homepage's (y 24px -> 0, expo). kit.js adds .vf-reveal
   to the cards and flips .is-in as they enter; without JS nothing is hidden. */
.vf-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo); }
.vf-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
    .vf-menu .menu-rows li { grid-template-columns: var(--cols-m, var(--cols, 1fr)); }
    .vf-menu .menu-rows .rm { grid-column: 1 / -1; }
    .vf-menu .menu-rows li.hd .rm { display: none; }
}
@media (max-width: 760px) {
    :root { --hud-inset: 14px; --scrub-pad: 18px; --vf-pad: 10px; --vf-radius: 20px; --vf-radius-in: 14px; }
    .vf-finder, .vf-display { aspect-ratio: 4 / 3; }
    .vf-finder-row { grid-template-columns: 1fr; }
    .vf .hud { padding: 8px 11px; border-radius: 12px; }
    .vf .hud .val { font-size: 0.9rem; }
    .vf .hud.bc { display: none; }
    .vf .hud.br .glyph, .vf .hud.br svg, .vf .hud.br canvas, .vf .hud.br .vf-glyph { width: 52px; height: 52px; }
    .vf .hud.strip { gap: 14px; font-size: 11px; }
    .vf-cap { padding: 12px 8px 4px; }
    .vf-cap .credit { margin-left: 0; }
    /* the readouts become a list: one fact per row, never a 2-column grid */
    .vf-info { display: block; padding: 6px var(--scrub-pad) 8px; }
    .vf-info .cell { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; align-items: baseline; padding: 11px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
    .vf-info .cell:last-child { border-bottom: 0; }
    .vf-info .lbl { grid-column: 1; grid-row: 1; }
    .vf-info .val { grid-column: 2; grid-row: 1; margin: 0; text-align: right; overflow: visible; font-size: 1.15rem; }
    .vf-info .sub { grid-column: 2; grid-row: 2; margin: 2px 0 0; text-align: right; }
    .vf-info .cell.hero .val { font-size: 1.3rem; }
    .vf-deck { grid-template-columns: 1fr !important; }
    .vf-deck > * { padding: 18px 18px 4px; }
    .vf-deck > * + * { border-left: 0; border-top: 1px solid var(--vf-bevel); }
    .vf-deck > .span2, .vf-deck > .span3 { grid-column: auto; }
    .vf-notes { grid-template-columns: 1fr; gap: 16px; padding: 0 12px; }
    .vf-cta { grid-template-columns: 1fr; padding: 26px; }
    .sheet { padding: 22px 20px; max-width: 100%; }
    .sheet .sheet-head { grid-template-columns: repeat(2, 1fr); }
    .sheet .band { margin: 0 -20px; padding: 8px 20px; }
    .tool-card { padding: 22px 20px 20px; }
}
@media (max-width: 480px) {
    :root { --hud-inset: 10px; --scrub-pad: 14px; }
    .vf-finder, .vf-display { aspect-ratio: 1 / 1; }
    .vf .hud.br { display: none; }
    .vf .hud.tl .coord, .vf .hud.tl .sub.coord { display: none; }
    .vf .hud.tr .num { font-size: 1.4rem; }
    .vf .hud.bl { max-width: 80%; }
    .vf .hud.bl .val { white-space: normal; font-size: 0.82rem; }
    .vf .hud.bl .val .mono { font-size: 0.9rem; }
    .vf .body-seg { grid-template-columns: repeat(var(--n2, var(--n, 2)), 1fr); }
    .vf-menu .menu-rows li { padding: 11px 16px; }
    .vf-menu .menu-tabs { padding: 10px; }
    .vf-menu .menu-tabs button { padding: 8px 12px; font-size: 0.84rem; }
    .vf-cta { margin: 36px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .vf *, .vf *::before, .vf *::after, .sheet *, .tool-card, .tool-related * { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
    .vf-reveal { opacity: 1; transform: none; }
}

/* Print: the sheet prints as a white document at 100% width, nothing else. */
@media print {
    .navbar, .footer, .seo-hero, .seo-cta, .vf-cta, .vf-deck, .vf-menu, .vf-notes, .vf-essay, .vf-cap, .vf-scrub, .vf-info,
    .tool-related, .seo-breadcrumbs, .promo-sidebar, .max-promo, .body-seg, .sheet-tools, .tw-panel { display: none !important; }
    body, .vf { background: #fff !important; color: #000; }
    .tool-wrap { max-width: none; padding: 0; }
    .sheet { --paper: #fff; --paper-2: #f0f0f0; --ink: #000; --ink-2: #555; --ink-rule: #ddd; --ink-rule-strong: #999; --ink-accent: #c96a00; --ink-red: #b3261e; --ink-blue: #2f5aa8;
             box-shadow: none; border: 0; border-radius: 0; max-width: 100%; margin: 0; padding: 0; background: #fff; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .sheet .sheet-title b, .sheet .sheet-title .big, .sheet .line.total .num { background: none; -webkit-text-fill-color: currentColor; color: #000; }
    .sheet .line.total .num { color: var(--ink-accent); }
    .sheet [contenteditable] { border-bottom-color: transparent !important; }
    .sheet .accent { color: var(--ink-accent); }
    .sheet .trouble { color: var(--ink-red); }
    .sheet .cool { color: var(--ink-blue); }
    .vf-reveal { opacity: 1 !important; transform: none !important; }
    /* legacy printable output (shot list before its migration) */
    .tw { grid-template-columns: 1fr; }
    .tw-stage { border: none; padding: 0; background: #fff; }
}

/* ===========================================================================
   13. LEGACY .tw-* kit (the depth-of-field page), restyled in place
   ---------------------------------------------------------------------------
   The v1 kit's class names, kept so the depth-of-field page keeps rendering,
   now drawn with the same tokens as the rest of the suite. Nothing new may
   use any class in this block; a later pass moves that page onto the kit
   above and deletes this section.
   ========================================================================= */
.tool-wrap--wide { max-width: 1440px; }

.tw {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 20px;
    align-items: start;
}
.tw--stacked { grid-template-columns: 1fr; }
.tw--wide-panel { grid-template-columns: minmax(300px, 400px) 1fr; }
@media (max-width: 900px) { .tw, .tw--wide-panel { grid-template-columns: 1fr; } }

.tw-panel {
    background: var(--vf-body);
    border: 1px solid var(--vf-bevel);
    border-radius: var(--vf-radius);
    box-shadow: var(--vf-glow);
    padding: 24px;
    position: sticky;
    top: 88px;
}
@media (max-width: 900px) { .tw-panel { position: static; } }
.tw-panel--flat { position: static; }

.tw-stage {
    background: var(--vf-body);
    border: 1px solid var(--vf-bevel);
    border-radius: var(--vf-radius);
    box-shadow: var(--vf-glow);
    padding: 14px 14px 20px;
    min-width: 0;
}
.tw-stage--dark { background: var(--vf-body); }
.tw-stage .dof-frame { border-radius: var(--vf-radius-in); border: 0; }
.tw-stage > .tw-metrics, .tw-stage > .tw-section, .tw-stage > .dof-scale, .tw-stage > .tw-note { margin-left: 10px; margin-right: 10px; }

.tw-section + .tw-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--vf-bevel); }
.tw-section-title {
    font-size: 0.8rem; font-weight: 500; text-transform: none;
    letter-spacing: 0; color: var(--hud-faint); margin: 0 0 14px;
}

.tw-field { margin-bottom: 18px; }
.tw-field:last-child { margin-bottom: 0; }
.tw-label {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    font-size: 0.86rem; font-weight: 500; color: var(--hud-dim);
    margin-bottom: 8px;
}
.tw-label .tw-value {
    font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
    color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tw-hint { font-size: 0.78rem; color: var(--hud-faint); line-height: 1.5; margin-top: 6px; }

.tw-select, .tw-input {
    width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong);
    border-radius: 14px; padding: 11px 14px; min-height: 46px;
    color: var(--hud); font-size: 0.95rem; font-weight: 500; font-family: var(--font-sans);
    transition: border-color .25s, box-shadow .25s;
}
.tw-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; }
.tw-select-wrap { position: relative; }
.tw-select-wrap::after {
    content: ''; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px;
    border-right: 1.5px solid var(--hud-dim); border-bottom: 1.5px solid var(--hud-dim);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.tw-select:hover, .tw-input:hover { border-color: rgba(255,255,255,.2); }
.tw-select:focus, .tw-input:focus { outline: none; border-color: var(--hud-amber); box-shadow: 0 0 0 3px rgba(255,152,0,.18); }
.tw-select option { background: var(--vf-body-2); color: var(--hud); }
.tw-input[type="number"] { font-family: var(--font-mono); }

/* the thin orange-fill slider; kit.js writes --fill on every .tw-range too */
.tw-range {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px; border-radius: 999px;
    background: linear-gradient(90deg, var(--hud-amber) 0 var(--fill, 0%), rgba(255,255,255,.10) var(--fill, 0%));
    outline: none; margin: 10px 0; cursor: pointer;
}
.tw-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; cursor: pointer; border: 0;
    box-shadow: 0 0 0 3px var(--vf-body), 0 0 0 4px rgba(255,152,0,.55), 0 4px 14px rgba(0,0,0,.45);
    transition: transform 0.15s;
}
.tw-range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.tw-range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; cursor: pointer; border: 0;
    box-shadow: 0 0 0 3px var(--vf-body), 0 0 0 4px rgba(255,152,0,.55), 0 4px 14px rgba(0,0,0,.45);
}
.tw-range:focus-visible { box-shadow: 0 0 0 3px rgba(255,152,0,.18); }

.tw-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-seg button {
    flex: 1 1 auto; min-width: 0;
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel-strong);
    border-radius: 12px; padding: 9px 12px; min-height: 42px;
    color: var(--hud-dim); font-size: 0.86rem; font-weight: 600;
    font-family: var(--font-sans); cursor: pointer; transition: color var(--t-snap), border-color var(--t-snap), background var(--t-snap), box-shadow .3s;
    white-space: nowrap;
}
.tw-seg button:hover { border-color: rgba(255,255,255,.22); color: var(--hud); }
.tw-seg button.active {
    background: rgba(255,152,0,.14); border-color: var(--hud-amber); color: #fff; box-shadow: inset 0 -8px 24px rgba(246,112,20,.18);
}
.tw-seg--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); }
.tw-seg--grid button { flex: none; }

.tw-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 7px 0; font-size: 0.88rem; color: var(--hud-dim); line-height: 1.5; }
.tw-check input { accent-color: var(--hud-amber); width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0; cursor: pointer; }
.tw-check:hover { color: var(--hud); }

.tw-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--hud-amber) radial-gradient(circle farthest-corner at 50% 100%, #ffb347, #ff6a00 79%); color: #fff; border: 1px solid #ba530e;
    border-radius: 14px; padding: 12px 20px; min-height: 46px;
    font-size: 0.92rem; font-weight: 600; font-family: var(--font-sans); text-shadow: 0 1px 2px rgba(0,0,0,.35);
    box-shadow: inset 0 2px 5px rgba(255,255,255,.28), inset 0 -8px 16px rgba(120,40,0,.35), 0 6px 24px rgba(246,112,20,.35);
    cursor: pointer; text-decoration: none; transition: transform .375s var(--spring), box-shadow .375s, border-color .3s, color .3s;
}
.tw-btn:hover { color: #fff; transform: scale(1.03); }
.tw-btn--ghost { background: rgba(255,255,255,.03); color: var(--hud-dim); border-color: var(--vf-bevel-strong); text-shadow: none; box-shadow: none; }
.tw-btn--ghost:hover { background: rgba(255,255,255,.03); border-color: var(--hud-amber); color: #fff; transform: none; }
.tw-btn--block { width: 100%; }
.tw-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.tw-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tw-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); gap: 10px; }
.tw-metric {
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel);
    border-radius: 16px; padding: 14px 16px;
}
.tw-metric .m-label {
    font-size: 0.78rem; font-weight: 500; text-transform: none;
    letter-spacing: 0; color: var(--hud-dim); margin-bottom: 6px;
}
.tw-metric .m-value {
    font-family: var(--font-sans); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em;
    color: #fff; line-height: 1.15; word-break: break-word; font-variant-numeric: tabular-nums;
}
.tw-metric .m-sub { font-size: 0.76rem; color: var(--hud-faint); margin-top: 5px; line-height: 1.45; }
.tw-metric--hero { border-color: var(--vf-line-hi); background: rgba(255, 152, 0, 0.06); box-shadow: inset 0 -8px 24px rgba(246,112,20,.14); }
.tw-metric--hero .m-value { font-size: 1.6rem; background-image: linear-gradient(135deg, #ff9800, #ffb347, #ffcc80); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.tw-note {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(255,255,255,.03); border: 1px solid var(--vf-bevel); border-left: 3px solid var(--hud-amber);
    border-radius: 12px; padding: 12px 14px;
    font-size: 0.86rem; color: var(--hud-dim); line-height: 1.6;
}
.tw-note i { color: var(--hud-amber); margin-top: 0.2em; flex-shrink: 0; }
.tw-note--warn { border-left-color: var(--warning); }
.tw-note--warn i { color: var(--warning); }
.tw-note--good { border-left-color: var(--success); }
.tw-note--good i { color: var(--success); }

.tw-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0; text-transform: none;
    padding: 4px 10px; border-radius: 100px;
    background: rgba(255, 152, 0, 0.14); color: var(--hud-amber-2);
}
.tw-badge--good { background: rgba(76, 175, 80, 0.15); color: var(--success); }
.tw-badge--warn { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.tw-badge--bad  { background: rgba(239, 68, 68, 0.15); color: var(--error); }
.tw-badge--mute { background: rgba(255,255,255,.06); color: var(--hud-dim); }

.tw-table-wrap { overflow-x: auto; border: 1px solid var(--vf-bevel); border-radius: 16px; }
.tw-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tw-table th, .tw-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--vf-bevel); vertical-align: top; }
.tw-table thead th { background: rgba(255,255,255,.03); color: var(--hud-dim); font-weight: 500; font-size: 0.78rem; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.tw-table tbody tr:last-child td { border-bottom: none; }
.tw-table td { color: var(--hud-dim); }
.tw-table tbody th { background: rgba(255,255,255,.03); color: var(--hud-dim); font-weight: 500; font-size: 0.8rem; white-space: nowrap; }
.tw-table .num { font-family: var(--font-mono); }

.tw-empty { text-align: center; padding: 48px 20px; color: var(--hud-faint); font-size: 0.9rem; line-height: 1.7; }
.tw-empty i { display: block; font-size: 28px; color: var(--vf-bevel-strong); margin-bottom: 12px; }

/* Legacy FAQ (pages still on Font Awesome chevrons). The .vf versions above
   override these inside a converted page. */
.faq-item.is-collapsible { padding: 0; }
.faq-toggle {
    all: unset; box-sizing: border-box; display: flex; align-items: center;
    justify-content: space-between; gap: 12px; width: 100%; padding: 18px 20px;
    cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--text-primary);
}
.faq-toggle i { color: var(--text-muted); font-size: 13px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.is-collapsible.open .faq-toggle i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.is-collapsible.open .faq-answer { max-height: 520px; }
.faq-answer p { margin: 0; padding: 0 20px 18px; font-size: 0.95rem; color: var(--text-secondary); }

/* ---------------------------------------------------------------------------
   Result-to-trial handoff (board #1357): one block right under the tool,
   shown by static/js/tools/handoff.js once there is a result. Same card,
   button and link as .vf-cta, smaller; "light" is a single line and a text
   link for the tools with no real app feature behind them.
   ------------------------------------------------------------------------- */
.vf-handoff { margin: 22px 0 0; padding: 22px 26px; border-radius: var(--vf-radius); background: var(--vf-body); border: 1px solid var(--vf-line-hi); box-shadow: var(--vf-glow);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center;
    opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-expo, ease-out), transform .45s var(--ease-expo, ease-out); }
.vf-handoff[hidden] { display: none; }
.vf-handoff.is-in { opacity: 1; transform: none; }
.vf-handoff p { margin: 0; }
.vf-handoff .vh-line { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--hud); }
.vf-handoff .vh-n { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--hud-amber-2); }
.vf-handoff .vh-body { margin-top: 6px; font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.6; color: var(--hud-dim); }
.vf-handoff .vh-fine { margin-top: 10px; font-family: var(--font-sans); font-size: 0.8rem; line-height: 1.5; color: var(--hud-faint); }
.vf-handoff .vh-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vf-handoff .vh-acts .alt { margin-left: 4px; }
.vf-handoff--light { padding: 16px 22px; border-color: var(--vf-bevel); box-shadow: none; }
.vf-handoff--light .vh-line { font-size: 0.98rem; font-weight: 500; color: var(--hud-dim); }
.vf-handoff .vh-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; color: var(--hud-amber-2); text-decoration: none; white-space: nowrap; }
.vf-handoff .vh-link:hover { color: #fff; }
.vf-handoff .vh-link:focus-visible { outline: 2px solid #ffb347; outline-offset: 3px; border-radius: 6px; }
.vf-handoff .vh-arrow { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease-expo, ease-out); }
.vf-handoff .vh-link:hover .vh-arrow { transform: translateX(3px); }
/* inside .seo-main (Focus Lab), `.seo-main a:not(.btn)` would paint every
   link accent-coloured, the button text included; out-rank it */
.vf-handoff a.shutter:not(.btn), .vf-handoff a.shutter:not(.btn):hover { color: #fff; }
.vf-handoff a.alt:not(.btn) { color: var(--hud-dim); }
.vf-handoff a.alt:not(.btn):hover { color: #fff; }
.vf-handoff a.vh-link:not(.btn) { color: var(--hud-amber-2); }
.vf-handoff a.vh-link:not(.btn):hover { color: #fff; }
/* the legacy depth-of-field layout and the Focus Lab article sit outside .vf */
.tool-wrap > .vf-handoff { margin-top: 26px; }
.fl-article > .vf-handoff { margin: 8px 0 32px; }
@media (max-width: 760px) {
    .vf-handoff { grid-template-columns: 1fr; padding: 20px 18px; }
    .vf-handoff .vh-acts { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
    .vf-handoff .shutter { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
    .vf-handoff .vh-link { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .vf-handoff, .vf-handoff .vh-arrow { transition: none; transform: none; }
}
@media print { .vf-handoff { display: none !important; } }
