/* The Nomad Ops, site design system (Variant C, "Hand off a Monday").
   Owner: agent 1. Other page groups add landing.css / content.css; this file only grows backward-compatibly.
   Sections: tokens and base, buttons, nav, HOMEPAGE (hero + Monday stage, try it, proof, close),
   then SITE SYSTEM (page hero, sections, type, lists, window and phone frames, tables, FAQ, forms,
   filters, hand-off component, scrubber, story, counters, film grade, footer, consent, sticky CTA). */

:root {
  --cream: #F7F3EC;
  --paper: #EFE8DC;
  --ink: #14130F;
  --ink-soft: #5A544C;
  --red: #BE301A;
  --red-press: #A42714;
  --red-hi: #EE6A52;
  --night: #14130F;
  --night-2: #1D1B16;
  --bone: #F3EDE2;
  --bone-soft: #C4BBAD;
  --ok: #2F6B47;
  --ok-hi: #8CC09C;

  --ui-bg: #FBF8F3;
  --ui-side: #F1ECE3;
  --ui-line: rgba(20, 19, 15, .09);
  --ui-ink: #1B1A17;
  --ui-soft: #6E675D;

  --display: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --text: "Newsreader", Georgia, serif;
  --device: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --nav-h: 68px;
  --gut: clamp(16px, 4.2vw, 64px);
  --r: 6px;
}
@media (max-width: 760px) { :root { --nav-h: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--text); font-size: 19px; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ol, ul, figure, dl, dd, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg use { pointer-events: none; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.monday :focus-visible, .proof :focus-visible, .close :focus-visible, .bar[data-theme="dark"] :focus-visible,
.is-dark :focus-visible, .phero:not(.is-light) :focus-visible, .site-foot :focus-visible { outline-color: var(--red-hi); }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r);
  font-family: var(--display); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons and links ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 640; font-size: 16px; line-height: 1.1; letter-spacing: .005em; white-space: nowrap;
  padding: 16px 24px; min-height: 48px; border-radius: var(--r); border: 0; cursor: pointer;
  background: var(--red); color: var(--cream); text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform .28s var(--ease), background-color .16s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -14px rgba(120, 24, 8, .7);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 238, 220, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #AE2A16; }
  .btn:hover::after { transform: translateX(120%); }
}
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); background: var(--red-press); transition-duration: .1s; }
.btn:disabled { opacity: .38; cursor: default; box-shadow: none; }
.btn-sm { font-size: 14.5px; padding: 11px 16px; min-height: 40px; }
.btn-lg { font-size: 18px; padding: 19px 30px; }

.link {
  font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px; transition: background-size .3s var(--ease), color .16s ease;
}
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--red); background-size: 40% 1.5px; } }

/* ---------- Nav ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gut); color: var(--ink);
  transition: transform .45s var(--ease), color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.bar.is-hidden { transform: translateY(-110%); }
.bar[data-theme="dark"] { color: var(--bone); }
.bar.is-solid[data-theme="light"] { background: rgba(247, 243, 236, .94); box-shadow: 0 1px 0 rgba(20, 19, 15, .08); }
.bar.is-solid[data-theme="dark"] { background: rgba(20, 19, 15, .9); box-shadow: 0 1px 0 rgba(243, 237, 226, .06); }
/* Before the bar turns solid it sits on hero photos; a soft scrim keeps the links legible over a bright window or a dark head of hair */
.bar::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none; opacity: 1; transition: opacity .3s ease; }
.bar[data-theme="light"]::before { background: linear-gradient(180deg, rgba(247, 243, 236, .78), rgba(247, 243, 236, .42) 60%, rgba(247, 243, 236, 0)); }
.bar[data-theme="dark"]::before { background: linear-gradient(180deg, rgba(20, 19, 15, .62), rgba(20, 19, 15, .28) 60%, rgba(20, 19, 15, 0)); }
.bar.is-solid::before, .bar.is-open::before { opacity: 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark svg { width: 28px; height: 28px; flex: none; }
.mark span { white-space: nowrap; font-family: var(--display); font-weight: 720; font-variation-settings: "wdth" 104; font-size: 18px; letter-spacing: -.01em; }
.bar nav { margin-left: auto; }
.bar nav ul { display: flex; gap: 30px; }
.bar nav a { font-family: var(--display); font-weight: 520; font-size: 15px; text-decoration: none; position: relative; padding-block: 6px; }
.bar nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .bar nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.bar nav a[aria-current]::after { transform: scaleX(1); }
.bar-cta { flex: none; }
.bar-menu {
  display: none; flex: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: var(--r);
}
.bar-menu i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.bar-menu i:first-of-type { top: 17px; } .bar-menu i:last-of-type { top: 25px; }
.bar.is-open .bar-menu i:first-of-type { top: 21px; transform: rotate(45deg); }
.bar.is-open .bar-menu i:last-of-type { top: 21px; transform: rotate(-45deg); }
.bar nav .bar-panel-cta { display: none; }
@media (max-width: 1040px) {
  .bar-menu { display: block; }
  .bar nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100svh - var(--nav-h)); margin: 0;
    background: var(--night); color: var(--bone); padding: 28px var(--gut) 40px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s;
  }
  .bar.is-open nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .bar.is-open { color: var(--bone); background: var(--night) !important; box-shadow: none !important; }
  .bar nav ul { flex-direction: column; gap: 0; }
  .bar nav li { border-bottom: 1px solid rgba(243, 237, 226, .12); }
  .bar nav a { display: block; padding: 16px 0; font-size: 26px; font-weight: 700; font-variation-settings: "wdth" 104; letter-spacing: -.01em; }
  .bar nav a::after { display: none; }
  .bar nav a[aria-current] { color: var(--red-hi); }
  .bar nav .bar-panel-cta { display: inline-flex; align-self: flex-start; font-size: 17px; font-weight: 640; padding: 16px 24px; letter-spacing: .005em; font-variation-settings: normal; }
  .bar-cta, .bar-menu { margin-left: auto; }
  .bar-cta + .bar-menu { margin-left: 4px; }
}
@media (max-width: 760px) { .mark span { font-size: 17px; } }
@media (max-width: 420px) { .bar-cta { display: none; } }
html.menu-open { overflow: hidden; }

/* =========================================================
   1 + 2. HERO and MONDAY: one stage
   ========================================================= */
.monday { position: relative; height: 1240svh; background: var(--night); color: var(--bone); }
.stage { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; contain: layout paint; }

.photos { position: absolute; inset: 0; transform-origin: 62% 55%; will-change: transform; }
.ph { position: absolute; inset: -3%; opacity: 0; transition: opacity 1.1s var(--ease-io); }
.ph.is-on { opacity: 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.where {
  position: absolute; right: var(--gut); top: calc(var(--nav-h) + 2.4svh); z-index: 4; margin: 0;
  font-family: var(--display); font-weight: 560; font-size: 13px; letter-spacing: .01em; color: rgba(243, 237, 226, .78);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.where.is-on { opacity: 1; }

/* Hero layer */
.hero-layer { position: absolute; inset: 0; z-index: 2; color: var(--ink); }
.hero-layer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, .9) 0%, rgba(247, 243, 236, .76) 30%, rgba(247, 243, 236, .3) 52%, rgba(247, 243, 236, 0) 68%),
    linear-gradient(0deg, rgba(247, 243, 236, .5) 0%, rgba(247, 243, 236, 0) 30%);
}
.hero-h {
  position: absolute; left: var(--gut); top: calc(var(--nav-h) + 5.5svh);
  font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 112;
  font-size: clamp(54px, 8.3vw, 138px); line-height: .88; letter-spacing: -.035em; color: var(--ink); will-change: transform;
}
/* Eyebrow above the locked hero H1 (SEO, 16 Oct): sits in the gap between the bar and the H1 */
.hero-k { position: absolute; left: var(--gut); top: calc(var(--nav-h) + 5.5svh - 30px); margin: 0; line-height: 1.2; color: var(--lx-red-text, #A42714); }
.js:not(.rm) .hero-k { opacity: 0; transition: opacity .8s ease .3s; }
.js.is-ready .hero-k { opacity: 1; }
.hl { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hl-in { display: block; transform-origin: 0 100%; }
.js:not(.rm) .hl-in { transform: translateY(105%); font-variation-settings: "wdth" 78; transition: transform 1.1s var(--ease), font-variation-settings 1.4s var(--ease); }
.js:not(.rm) .hl:nth-child(2) .hl-in { transition-delay: .08s; }
.js:not(.rm) .hl:nth-child(3) .hl-in { transition-delay: .16s; }
.is-ready .hl-in, .rm .hl-in { transform: none !important; font-variation-settings: "wdth" 112 !important; }

.hero-foot { position: absolute; z-index: 2; left: var(--gut); bottom: 8svh; max-width: 31rem; will-change: transform; }
.lede { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.45; color: var(--ink); margin-bottom: 26px; max-width: 30ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.js:not(.rm) .hero-foot .lede, .js:not(.rm) .hero-foot .hero-actions { opacity: 0; transform: translateY(16px); transition: opacity .8s ease .5s, transform 1s var(--ease) .5s; }
.js:not(.rm) .hero-foot .hero-actions { transition-delay: .62s; }
.js.is-ready .hero-foot .lede, .js.is-ready .hero-foot .hero-actions { opacity: 1; transform: none; }

.hero-subject { position: absolute; right: clamp(0px, 4vw, 80px); bottom: 0; height: min(86svh, 800px); aspect-ratio: 780 / 794; will-change: transform; }
.hero-subject img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: sepia(.08) saturate(.94) contrast(1.02); }
.hero-subject::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -6%; height: 22%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 15, 10, .35), rgba(20, 15, 10, 0) 70%);
}
.hero-subject figcaption {
  position: absolute; right: 7%; bottom: 7%; text-align: right;
  font-family: var(--display); font-weight: 680; font-size: 15px; line-height: 1.25; color: var(--bone);
}
.hero-subject figcaption span { display: block; font-weight: 480; color: var(--bone-soft); }
.js:not(.rm) .hero-subject img { opacity: 0; transition: opacity 1.2s ease .2s; }
.js.is-ready .hero-subject img { opacity: 1; }

.phone-slot { position: absolute; left: 40%; bottom: -14svh; width: calc(min(62svh, 590px) * .485 * .72); aspect-ratio: .485; pointer-events: none; }

/* ---------- Story layer ---------- */
.story-layer {
  --ph: min(46svh, 420px); --pw: calc(var(--ph) * .485);
  --lw: min(calc(100vw - 2 * var(--gut) - 22rem - clamp(24px, 3.4vw, 56px) - var(--pw) - 28px), calc((100svh - var(--nav-h) - 230px) * 1.52), 880px);
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: grid;
  grid-template-columns: minmax(300px, 22rem) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "top top" "left dev";
  column-gap: clamp(24px, 3.4vw, 56px);
  padding: calc(var(--nav-h) + 2svh) var(--gut) 3svh;
}
.story-layer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--scrim, 0);
  background:
    linear-gradient(180deg, rgba(14, 12, 9, .82) 0%, rgba(14, 12, 9, .55) 22%, rgba(14, 12, 9, .2) 45%),
    linear-gradient(90deg, rgba(14, 12, 9, .9) 0%, rgba(14, 12, 9, .78) 30%, rgba(14, 12, 9, .4) 55%, rgba(14, 12, 9, .3) 100%),
    linear-gradient(0deg, rgba(14, 12, 9, .7) 0%, rgba(14, 12, 9, 0) 30%);
}
.story-layer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #0b0a08; opacity: var(--dark, 0); }
.in-story .story-layer [data-fade], .in-story .story-layer .phone, .in-story .story-layer .laptop { pointer-events: auto; }
[data-fade] { opacity: var(--fade, 0); transform: translateY(calc((1 - var(--fade, 0)) * 18px)); }

.s-top { grid-area: top; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 36px; margin-bottom: 2.4svh; }
.s-h { flex: 0 0 100%; font-family: var(--display); font-weight: 560; font-size: 15px; letter-spacing: .01em; color: var(--bone-soft); }
.clock { display: flex; align-items: baseline; gap: .12em; line-height: .84; }
.clock-t {
  font-family: var(--display); font-weight: 800; font-size: clamp(64px, 7.4vw, 124px); letter-spacing: -.04em;
  font-variation-settings: "wdth" var(--cw, 116); transition: font-variation-settings .7s var(--ease); color: var(--bone);
  font-feature-settings: "tnum" 0;
}
.clock-ap { font-family: var(--display); font-weight: 650; font-size: clamp(18px, 1.8vw, 28px); color: var(--bone-soft); }
.meters { display: flex; gap: 32px; padding-bottom: .55em; }
.meter { display: flex; align-items: center; gap: 12px; }
.m-n { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(38px, 3.4vw, 54px); line-height: 1; min-width: 1.2em; text-align: right; display: inline-block; }
.m-wait .m-n { color: var(--red-hi); }
.m-hrs .m-n { color: var(--ok-hi); }
.m-n.tick { animation: tick .5s var(--ease); }
@keyframes tick { from { transform: translateY(-34%); opacity: .2; } to { transform: none; opacity: 1; } }
.m-l { font-family: var(--display); font-weight: 520; font-size: 14px; line-height: 1.25; color: var(--bone-soft); }

.s-left { grid-area: left; display: flex; flex-direction: column; min-height: 0; }
.cap { min-height: 9.5em; }
.cap > * { transition: opacity .35s ease, transform .5s var(--ease); }
.cap.swap > * { opacity: 0; transform: translateY(10px); transition-duration: .15s; }
.cap-time { font-family: var(--display); font-weight: 650; font-size: 15px; color: var(--red-hi); margin-bottom: 8px; }
.cap-text { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.42; color: var(--bone); text-wrap: pretty; }
.cap-fix { margin-top: 12px; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.45; color: var(--bone-soft); text-wrap: pretty; opacity: 0; transform: translateY(8px); }
.cap-fix.is-on { opacity: 1; transform: none; }
.cap-fix b { font-family: var(--display); font-weight: 700; font-size: .9em; color: var(--ok-hi); }

/* The plate: what is waiting on you */
.plate { margin-top: auto; padding-top: 18px; position: relative; z-index: 8; }
.pile { position: relative; height: 196px; margin-bottom: 16px; }
.card {
  --k: 0;
  position: absolute; left: 0; right: 0; top: 0;
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  min-height: 76px; padding: 12px 14px; border-radius: 12px;
  background: #F6F1E8; color: var(--ui-ink); font-family: var(--device);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px -16px rgba(0, 0, 0, .7);
  transform: translateY(calc(var(--k) * 19px + 60px)) scale(calc(1 - var(--k) * .05));
  transform-origin: 50% 100%;
  opacity: 0; z-index: calc(20 - var(--k));
  transition: transform .55s var(--ease), opacity .35s ease, box-shadow .25s ease, background-color .25s ease;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.card.is-in { opacity: calc(1 - var(--k) * .22); transform: translateY(calc(var(--k) * 19px)) scale(calc(1 - var(--k) * .05)); }
.card.is-deep { opacity: 0 !important; }
.card .c-tx, .card .ic { transition: opacity .3s ease; }
.card.is-back .c-tx, .card.is-back .ic, .card.is-back .c-grip { opacity: 0; }
.card.is-back { background: #E6DED1; }
.card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #3F3B35; }
.card .ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-mail { background: #4C6E93 !important; } .ic-phone { background: #4F8A5B !important; } .ic-chat { background: #7A5C93 !important; }
.ic-sheet { background: #3F7D6E !important; } .ic-cal { background: #B0573F !important; } .ic-dec { background: var(--red) !important; }
.card .c-tx { min-width: 0; line-height: 1.25; }
.card .c-src { display: block; font-size: 11.5px; color: rgba(27, 26, 23, .55); }
.card .c-title { display: block; font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .c-msg { display: block; font-size: 13px; color: rgba(27, 26, 23, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .c-grip { width: 22px; height: 22px; opacity: 0; transition: opacity .2s ease; }
.card .c-grip svg { width: 100%; height: 100%; fill: none; stroke: #1B1A17; stroke-width: 3.2; stroke-linecap: round; }
.card.is-dec .c-title::after { content: "Your call"; margin-left: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: var(--red); vertical-align: 1px; }
.card.is-active { background: #FFFDF8; box-shadow: 0 0 0 2px var(--red-hi), 0 22px 40px -18px rgba(0, 0, 0, .8); cursor: grab; }
.card.is-active .c-grip { opacity: .5; }
.card.is-active.nudge { animation: nudge 1.6s var(--ease) 2; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 30% { translate: 14px -3px; } 55% { translate: 0 0; } }
.card.is-drag { cursor: grabbing; transition: box-shadow .2s ease, background-color .2s ease; z-index: 60; box-shadow: 0 0 0 2px var(--red-hi), 0 34px 60px -20px rgba(0, 0, 0, .85); }
.card.is-fly { transition: transform .62s var(--ease-io), opacity .45s ease .2s; pointer-events: none; z-index: 60; }
.pile-more { position: absolute; left: 0; bottom: -2px; font-family: var(--display); font-weight: 560; font-size: 13px; color: var(--bone-soft); }

.plate-act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.btn-hand { font-size: 15.5px; }
.btn-hand.is-ghost { background: transparent; color: var(--bone); box-shadow: 0 0 0 1.5px rgba(243, 237, 226, .45) inset; }
@media (hover: hover) and (pointer: fine) { .btn-hand.is-ghost:hover { background: rgba(243, 237, 226, .08); } }
.btn-hand.is-busy { opacity: .6; cursor: progress; }
.btn-hand.is-pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238, 106, 82, .5), 0 10px 24px -14px rgba(120, 24, 8, .7); } 50% { box-shadow: 0 0 0 8px rgba(238, 106, 82, 0), 0 10px 24px -14px rgba(120, 24, 8, .7); } }
.hint { font-family: var(--display); font-weight: 500; font-size: 13.5px; color: var(--bone-soft); min-height: 1.3em; }
.stepper { display: none; }

/* ---------- Devices ---------- */
.devices { grid-area: dev; position: relative; min-height: 0; display: flex; align-items: center; justify-content: flex-start; perspective: 1800px; }
.devices .phone { bottom: 2svh; }
.laptop { position: relative; width: var(--lw); margin-left: 0; will-change: transform, opacity; }
.lid {
  position: relative; width: 100%; aspect-ratio: 16 / 10.4; border-radius: calc(var(--lw) * .028) calc(var(--lw) * .028) 6px 6px;
  background: linear-gradient(160deg, #2a2824 0%, #121110 40%, #0c0b0a 100%);
  padding: calc(var(--lw) * .024) calc(var(--lw) * .024) calc(var(--lw) * .03);
  box-shadow: 0 0 0 1px rgba(255, 245, 230, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .75);
}
.cam { position: absolute; top: calc(var(--lw) * .011); left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2c2a27; box-shadow: 0 0 0 1px #000; }
.lscreen { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; background: var(--ui-bg); container-type: inline-size; }
.base {
  position: relative; left: -6%; width: 112%; height: calc(var(--lw) * .032);
  background: linear-gradient(180deg, #cfc8bd 0%, #a7a096 55%, #6e685f 100%);
  border-radius: 0 0 calc(var(--lw) * .05) calc(var(--lw) * .05) / 0 0 calc(var(--lw) * .02) calc(var(--lw) * .02);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8);
}
.base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%); background: #8a8378; border-radius: 0 0 8px 8px; }

.phone { position: absolute; right: 0; bottom: 0; width: var(--pw); height: var(--ph); transform-origin: 50% 60%; will-change: transform; z-index: 5; }
.phone-in {
  position: absolute; inset: 0; border-radius: calc(var(--pw) * .17);
  background: linear-gradient(150deg, #34312b 0%, #121110 32%, #0b0a09 70%, #26231f 100%);
  box-shadow: 0 0 0 1px rgba(255, 245, 230, .07) inset, 0 1.5px 0 rgba(255, 245, 230, .14) inset, 0 50px 90px -30px rgba(0, 0, 0, .75), 0 22px 36px -18px rgba(0, 0, 0, .6);
}
.btn-side { position: absolute; width: 3px; background: #2b2824; border-radius: 2px; }
.b1 { left: -3px; top: 20%; height: 6%; } .b2 { left: -3px; top: 29%; height: 10%; } .b3 { right: -3px; top: 25%; height: 13%; }
.pscreen {
  position: absolute; inset: calc(var(--pw) * .035); border-radius: calc(var(--pw) * .14); overflow: hidden;
  background: #0b0a09; font-family: var(--device); font-size: calc(var(--pw) * .044); color: #fff; container-type: inline-size;
}
.lock { position: absolute; inset: 0; z-index: 2; transition: transform .7s var(--ease-io), opacity .5s ease; }
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 55% at 78% 8%, rgba(238, 106, 82, .5), rgba(238, 106, 82, 0) 70%),
    radial-gradient(120% 70% at 20% 100%, #3a2a1f 0%, rgba(58, 42, 31, 0) 70%),
    linear-gradient(180deg, #4b3628 0%, #21180f 52%, #0e0b08 100%);
  transition: filter .5s ease;
}
.phone.flash .wall { filter: brightness(1.35); transition-duration: .05s; }
.island { position: absolute; top: 2.6%; left: 50%; width: 31%; height: 4.2%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 4; }
.ls-date { position: absolute; top: 11%; left: 0; right: 0; text-align: center; font-size: 1.05em; font-weight: 600; color: rgba(255, 255, 255, .78); }
.ls-time { position: absolute; top: 14%; left: 0; right: 0; text-align: center; font-size: 4.9em; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: rgba(255, 250, 244, .95); }
.notes { position: absolute; left: 4.5%; right: 4.5%; top: 35%; height: 60%; }
.note {
  --k: 0;
  position: absolute; left: 0; right: 0; top: 0; height: 4.8em;
  display: grid; grid-template-columns: 2.35em minmax(0, 1fr); column-gap: .7em; align-items: center;
  padding: .65em .8em; border-radius: 1.2em;
  background: rgba(244, 239, 231, .93); color: #191816; box-shadow: 0 .4em 1em -.4em rgba(0, 0, 0, .45);
  transform: translateY(calc(var(--k) * 5.25em)); opacity: 1;
  transition: transform .55s var(--ease), opacity .3s ease;
}
.note.is-new { opacity: 0; transform: translateY(-1.4em) scale(.94); }
.note.is-deep { opacity: 0; transform: translateY(calc(3 * 5.25em + .6em)) scale(.92); }
.note.is-good { background: rgba(232, 241, 233, .95); }
.note .ic { width: 2.35em; height: 2.35em; border-radius: .6em; display: grid; place-items: center; background: #3F3B35; }
.note .ic svg { width: 58%; height: 58%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note .ic.ic-ok { background: var(--ok); }
.note .tx { min-width: 0; line-height: 1.22; }
.note .row { display: flex; justify-content: space-between; gap: .5em; font-size: .78em; color: rgba(25, 24, 22, .58); }
.note .who { display: block; font-weight: 650; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note .msg { display: block; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(25, 24, 22, .86); }
.more { position: absolute; left: 0; right: 0; top: calc(35% + var(--pw) * .044 * 21.3); text-align: center; font-size: .82em; font-weight: 600; color: rgba(255, 250, 244, .75); opacity: 0; transition: opacity .3s ease; }
.more.is-on { opacity: 1; }
.papp { position: absolute; inset: 0; display: none; z-index: 1; }
.screen-off { position: absolute; inset: 0; background: #060505; opacity: var(--off, 0); transition: opacity 1.3s var(--ease-io); pointer-events: none; z-index: 6; }
.phone.buzz .phone-in { animation: buzz .48s linear; }
@keyframes buzz {
  0%, 100% { transform: none; }
  12% { transform: translateX(-2.5px) rotate(-.7deg); } 25% { transform: translateX(2.5px) rotate(.7deg); }
  38% { transform: translateX(-2px) rotate(-.5deg); } 51% { transform: translateX(2px) rotate(.5deg); }
  64% { transform: translateX(-1px); } 77% { transform: translateX(1px); }
}
.buzz-ring { position: absolute; inset: -6% -14%; pointer-events: none; }
.buzz-ring::before, .buzz-ring::after { content: ""; position: absolute; top: 30%; width: 12%; height: 18%; border: 2px solid rgba(238, 106, 82, .9); border-radius: 50%; opacity: 0; }
.buzz-ring::before { left: 0; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.buzz-ring::after { right: 0; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.phone.buzz .buzz-ring::before { animation: ringL .5s ease-out; }
.phone.buzz .buzz-ring::after { animation: ringR .5s ease-out; }
@keyframes ringL { 0% { opacity: 0; transform: translateX(10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(-6px); } }
@keyframes ringR { 0% { opacity: 0; transform: translateX(-10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(6px); } }
.phone, .laptop, .plate { user-select: none; -webkit-user-select: none; }

/* ---------- The app (the founder's workspace) ---------- */
.app {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  font-family: var(--device); color: var(--ui-ink); background: var(--ui-bg);
  font-size: clamp(9.5px, 1.6cqw, 13.5px); line-height: 1.38;
}
.app-bar { flex: none; display: flex; align-items: center; gap: 1em; height: 2.7em; padding: 0 1em; border-bottom: 1px solid var(--ui-line); background: #F4EFE7; }
.dots { display: flex; gap: .42em; }
.dots i { width: .78em; height: .78em; border-radius: 50%; background: #d8d1c6; }
.app-title { font-weight: 650; }
.app-search { flex: 1; max-width: 18em; height: 1.75em; margin-left: auto; border-radius: .6em; background: rgba(20, 19, 15, .06); }
.app-me { width: 2em; height: 2em; border-radius: 50%; background: #2D2A26; color: #F3EDE2; font-size: .78em; font-weight: 650; display: grid; place-items: center; }
.app-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 13.5em minmax(0, 1fr); }
.app-side { background: var(--ui-side); border-right: 1px solid var(--ui-line); padding: .8em .6em; display: flex; flex-direction: column; min-height: 0; }
.nav-l li { display: flex; align-items: center; gap: .6em; padding: .42em .6em; border-radius: .5em; color: #3A362F; font-weight: 520; }
.nav-l li svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.nav-l li.is-on { background: rgba(20, 19, 15, .07); color: var(--ui-ink); font-weight: 650; }
.nav-l b { margin-left: auto; min-width: 1.5em; height: 1.5em; padding: 0 .4em; border-radius: 99px; background: var(--red); color: #fff; font-size: .78em; font-weight: 700; display: grid; place-items: center; transition: transform .3s var(--spring), opacity .2s ease; }
.nav-l b:empty { transform: scale(0); opacity: 0; }

.dock { margin-top: auto; padding-top: .8em; border-top: 1px solid var(--ui-line); position: relative; }
.dock-h { font-size: .82em; font-weight: 650; color: var(--ui-soft); padding: 0 .6em .4em; }
.sys li { display: none; grid-template-columns: .7em 1fr auto; gap: .5em; align-items: center; padding: .28em .6em; font-size: .9em; }
.sys li.is-on { display: grid; animation: sysIn .5s var(--spring); }
@keyframes sysIn { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.sys-dot { width: .55em; height: .55em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .2em rgba(47, 107, 71, .16); }
.sys li.is-busy .sys-dot { background: #C98A2E; box-shadow: 0 0 0 .2em rgba(201, 138, 46, .2); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.sys-n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sys-s { font-size: .82em; color: var(--ui-soft); }
.slot {
  margin: .5em .2em 0; min-height: 4.4em; border: 1.5px dashed rgba(190, 48, 26, .45); border-radius: .7em;
  display: grid; place-items: center; text-align: center; padding: .5em; color: var(--red); font-weight: 600; font-size: .9em;
  transition: background-color .2s ease, border-color .2s ease, transform .3s var(--spring), opacity .3s ease;
}
.slot.is-armed { background: rgba(190, 48, 26, .06); }
.slot.is-hot { background: rgba(190, 48, 26, .14); border-color: var(--red); border-style: solid; transform: scale(1.04); }
.slot.is-gulp { animation: gulp .55s var(--spring); }
@keyframes gulp { 0% { transform: scale(1.06); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }
.slot.is-off { opacity: 0; pointer-events: none; }

.app-main { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.v { position: absolute; inset: 0; padding: 1em 1.2em; opacity: 0; visibility: hidden; transform: translateY(.6em); transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .35s; }
.app[data-view="inbox"] .v-inbox, .app[data-view="calls"] .v-calls, .app[data-view="invoices"] .v-invoices,
.app[data-view="team"] .v-team, .app[data-view="calendar"] .v-calendar, .app[data-view="list"] .v-list,
.app[data-view="owners"] .v-owners, .app[data-view="done"] .v-done { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.d-h { display: flex; align-items: center; gap: .6em; white-space: nowrap; overflow: hidden; font-size: .86em; color: var(--ui-soft); margin-bottom: .5em; }
.d-tag { flex: none; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ok); }
.d-tag::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.chip { justify-self: start; font-size: .78em; font-weight: 700; padding: .12em .55em; border-radius: 99px; background: rgba(47, 107, 71, .12); color: var(--ok); opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .35s var(--spring); }
.chip.is-on { opacity: 1; transform: none; }
.chip-dec { background: rgba(190, 48, 26, .1); color: var(--red); opacity: 1; transform: none; }

/* Inbox */
.v-inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 0; padding: 0; }
.mails { border-right: 1px solid var(--ui-line); overflow: hidden; }
.mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5em; padding: .65em .9em .65em 1.3em; border-bottom: 1px solid var(--ui-line); position: relative; }
.mail::before { content: ""; position: absolute; left: .55em; top: 1.05em; width: .45em; height: .45em; border-radius: 50%; background: transparent; }
.mail.is-wait::before { background: var(--red); }
.mail.is-sel { background: rgba(76, 110, 147, .1); }
.mail.is-read { color: var(--ui-soft); }
.m-who { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail.is-read .m-who { font-weight: 500; }
.m-t { font-size: .8em; color: var(--ui-soft); }
.m-s { grid-column: 1 / -1; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-p { grid-column: 1 / -1; font-size: .85em; color: var(--ui-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail .chip { grid-column: 1 / -1; margin-top: .3em; }
.mail.is-done::before { background: var(--ok); }
.read { padding: 1em 1.2em; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.r-s { font-size: 1.18em; font-weight: 700; margin-bottom: .2em; }
.r-from { font-size: .85em; color: var(--ui-soft); margin-bottom: .8em; }
.r-from b { color: var(--ui-ink); font-weight: 600; }
.r-body { font-size: .95em; padding-bottom: .9em; border-bottom: 1px solid var(--ui-line); }
.draft { margin-top: .8em; padding: .8em .9em; border-radius: .7em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 .6em 1.4em -.8em rgba(0, 0, 0, .25); opacity: 0; transform: translateY(1em); transition: opacity .35s ease, transform .5s var(--ease); min-height: 0; display: flex; flex-direction: column; }
.draft.is-on, .remind.is-on, .check.is-on { opacity: 1; transform: none; }
.d-body { font-size: .95em; white-space: pre-wrap; min-height: 6em; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--ui-ink); animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.d-foot { display: flex; align-items: center; gap: .8em; margin-top: .7em; }
.d-state { font-size: .85em; font-weight: 650; color: var(--ui-soft); }
.d-state.is-ready { color: var(--ok); }
.d-send { margin-left: auto; padding: .45em 1.1em; border-radius: .5em; background: #2D2A26; color: #fff; font-weight: 650; font-size: .9em; opacity: .35; transition: opacity .3s ease, background-color .3s ease; cursor: default; }
.d-send.is-ready { opacity: 1; background: var(--red); cursor: pointer; }
.d-send.is-sent { opacity: 1; background: var(--ok); }

/* Calls */
.v-calls { display: flex; flex-direction: column; max-width: 34em; }
.call-head { display: grid; grid-template-columns: 2.6em 1fr auto; gap: .8em; align-items: center; padding-bottom: .9em; border-bottom: 1px solid var(--ui-line); font-size: .95em; }
.call-ic { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: rgba(190, 48, 26, .12); }
.call-ic svg { width: 1.2em; height: 1.2em; fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linejoin: round; }
.thread { display: flex; flex-direction: column; gap: .35em; padding-top: 1em; }
.bub { max-width: 78%; padding: .6em .85em; border-radius: 1.1em; font-size: .95em; opacity: 0; transform: translateY(.6em) scale(.97); transition: opacity .3s ease, transform .45s var(--spring); }
.bub.out { align-self: flex-end; background: #3B6FB0; color: #fff; border-bottom-right-radius: .35em; }
.bub.in { align-self: flex-start; background: #E9E3D9; border-bottom-left-radius: .35em; }
.bub.is-on { opacity: 1; transform: none; }
.bub .bt { display: none; }
.bub.is-said .bt { display: inline; }
.bub.is-said .typing { display: none; }
.typing { display: inline-flex; gap: .25em; padding: .2em 0; }
.typing i { width: .45em; height: .45em; border-radius: 50%; background: currentColor; opacity: .5; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: none; opacity: .35; } 50% { transform: translateY(-.25em); opacity: .9; } }
.b-meta { font-size: .78em; color: var(--ui-soft); opacity: 0; transition: opacity .3s ease; }
.b-meta.is-on { opacity: 1; }
.thread .b-meta:nth-of-type(1) { align-self: flex-end; }
.b-sys { margin-top: .6em; display: flex; gap: .5em; align-items: center; font-size: .88em; font-weight: 600; color: var(--ok); padding: .55em .8em; border-radius: .6em; background: rgba(47, 107, 71, .09); opacity: 0; transform: translateY(.4em); transition: opacity .3s ease, transform .4s var(--ease); }
.b-sys.is-on { opacity: 1; transform: none; }
.b-sys svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Invoices */
.sheet-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7em; }
.sheet-top span { font-size: .88em; color: var(--red); font-weight: 650; transition: color .3s ease; }
.sheet-top span.is-ok { color: var(--ok); }
.sheet { width: 100%; border-collapse: collapse; font-size: .92em; }
.sheet th { text-align: left; font-weight: 600; font-size: .85em; color: var(--ui-soft); padding: .45em .6em; background: #F1ECE3; border: 1px solid var(--ui-line); }
.sheet td { padding: .6em .6em; border: 1px solid var(--ui-line); white-space: nowrap; }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet .late { color: var(--red); font-weight: 650; }
.sheet .ns { width: 42%; white-space: normal; }
.ns span { display: inline-block; font-size: .9em; font-weight: 600; opacity: 0; transform: translateX(-.4em); transition: opacity .3s ease, transform .4s var(--ease); }
.ns span.is-on { opacity: 1; transform: none; color: var(--ok); }
.ns span.is-hold { color: var(--red); }
.ns .approve { display: inline-block; margin-left: .5em; padding: .1em .6em; border-radius: .4em; background: var(--red); color: #fff; font-size: .9em; }
tr.is-flash td { background: rgba(47, 107, 71, .07); transition: background-color .6s ease; }
.remind { margin-top: 1em; padding: .8em .9em; border-radius: .7em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); opacity: 0; transform: translateY(1em); transition: opacity .35s ease, transform .5s var(--ease); max-width: 36em; }
.remind .d-body { min-height: 4.2em; }

/* Team */
.chan { font-weight: 700; padding-bottom: .6em; border-bottom: 1px solid var(--ui-line); margin-bottom: .6em; }
.msgs { display: flex; flex-direction: column; gap: .7em; }
.msg { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: .7em; font-size: .95em; }
.msg time { font-size: .8em; color: var(--ui-soft); margin-left: .3em; }
.av { width: 2.2em; height: 2.2em; border-radius: .55em; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9em; }
.av-a { background: #7A5C93; } .av-m { background: #B0573F; } .av-s { background: var(--ok); }
.msg-sys, [data-ana2] { opacity: 0; transform: translateY(.6em); transition: opacity .35s ease, transform .5s var(--ease); }
.msg-sys.is-on, [data-ana2].is-on { opacity: 1; transform: none; }
.rep { border-radius: .7em; padding: .7em .8em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); max-width: 34em; }
.rep-h { margin-bottom: .5em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5em; }
.tile { padding: .5em .6em; border-radius: .5em; background: #F6F2EB; opacity: 0; transform: translateY(.4em); transition: opacity .3s ease, transform .4s var(--ease); }
.tile.is-on { opacity: 1; transform: none; }
.tl { display: block; font-size: .74em; color: var(--ui-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv { display: block; font-size: 1.3em; font-weight: 750; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: .4em; height: 3.6em; margin-top: .6em; padding: 0 .1em; border-bottom: 1px solid var(--ui-line); }
.bars i { flex: 1; height: 100%; background: #C9BFB0; border-radius: .2em .2em 0 0; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .6s var(--ease); }
.bars i:last-child { background: var(--ok); }
.bars.is-on i { transform: scaleY(var(--h)); }
.bars.is-on i:nth-child(2) { transition-delay: .06s; } .bars.is-on i:nth-child(3) { transition-delay: .12s; } .bars.is-on i:nth-child(4) { transition-delay: .18s; } .bars.is-on i:nth-child(5) { transition-delay: .24s; } .bars.is-on i:nth-child(6) { transition-delay: .3s; }
.rep-src { margin-top: .5em; font-size: .82em; color: var(--ui-soft); opacity: 0; transition: opacity .3s ease; }
.rep-src.is-on { opacity: 1; }

/* Calendar */
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4em; margin-bottom: 1em; }
.day { border-radius: .6em; background: #F3EEE6; padding: .5em .55em; min-height: 5.2em; display: flex; flex-direction: column; gap: .35em; font-size: .9em; }
.day b { font-size: .85em; color: var(--ui-soft); }
.ev { font-size: .88em; padding: .3em .45em; border-radius: .4em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); }
.ev-hot { box-shadow: 0 0 0 1.5px var(--red); font-weight: 650; transition: box-shadow .4s ease; }
.ev-hot em { display: block; font-style: normal; font-weight: 600; font-size: .9em; color: var(--red); }
.ev-hot.is-ok { box-shadow: 0 0 0 1.5px var(--ok); }
.ev-hot.is-ok em { color: var(--ok); }
.check { padding: .8em .9em; border-radius: .7em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); opacity: 0; transform: translateY(1em); transition: opacity .35s ease, transform .5s var(--ease); max-width: 36em; }
.ck li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr) auto; gap: .6em; align-items: center; padding: .42em 0; border-bottom: 1px solid var(--ui-line); font-size: .95em; color: var(--ui-soft); transition: color .3s ease; }
.ck li:last-child { border-bottom: 0; }
.box { width: 1.25em; height: 1.25em; border-radius: .35em; border: 1.5px solid #bdb5a8; display: grid; place-items: center; transition: background-color .25s ease, border-color .25s ease; }
.box svg { width: .9em; height: .9em; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease .1s; }
.ck li.is-on { color: var(--ui-ink); }
.ck li.is-on .box { background: var(--ok); border-color: var(--ok); }
.ck li.is-on .box svg { stroke-dashoffset: 0; }
.own { font-size: .8em; font-weight: 650; padding: .15em .55em; border-radius: 99px; background: #EFE9DF; color: #4A443C; opacity: 0; transition: opacity .3s ease; }
.ck li.is-on .own { opacity: 1; }
.own-you { background: rgba(190, 48, 26, .1); color: var(--red); }

/* Morning list */
.ml-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding-bottom: .6em; border-bottom: 1px solid var(--ui-line); margin-bottom: .5em; }
.ml-h b { font-size: 1.1em; }
.ml-h span { font-size: .82em; color: var(--ui-soft); }
.ml-h span.is-done { color: var(--ok); font-weight: 650; }
.ml-g { font-size: .78em; font-weight: 700; color: var(--ui-soft); margin: .6em 0 .25em; opacity: 0; transition: opacity .3s ease; }
.ml li { display: flex; justify-content: space-between; gap: 1em; padding: .38em .6em; border-radius: .45em; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); margin-bottom: .3em; font-size: .93em; opacity: 0; transform: translateX(-.6em); transition: opacity .3s ease, transform .45s var(--ease); }
.ml li span { font-size: .85em; font-weight: 650; color: var(--ok); white-space: nowrap; }
.ml li.dec span { color: var(--red); }
.ml .is-on { opacity: 1; transform: none; }

/* Owners */
.ow-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: .7em; }
.ow-h b { font-size: 1.15em; }
.ow-h span { font-size: .82em; color: var(--ui-soft); }
.ow { width: 100%; border-collapse: collapse; font-size: .92em; }
.ow th { text-align: left; font-size: .82em; font-weight: 650; color: var(--ui-soft); padding: .45em .6em; border-bottom: 1px solid var(--ui-line); }
.ow td { padding: .62em .6em; border-bottom: 1px solid var(--ui-line); }
.ow td:first-child { font-weight: 650; }
.ow td:nth-child(3) { font-weight: 600; }
.ow td:last-child { color: var(--red); font-weight: 600; }
.ow td.never { color: var(--ok); }
.ow tbody tr { opacity: 0; transform: translateY(.5em); transition: opacity .35s ease, transform .45s var(--ease); }
.ow tbody tr.is-on { opacity: 1; transform: none; }

/* Done */
.v-done { display: grid; place-items: center; text-align: center; }
.done-h { font-size: 1.9em; font-weight: 750; letter-spacing: -.02em; }
.done-s { color: var(--ui-soft); margin-top: .3em; }

/* Phone-sized app (mobile) */
@container (max-width: 420px) {
  .app { font-size: 12px; }
  .app-bar { height: auto; padding: 2.6em .9em .55em; gap: .6em; }
  .dots, .app-search { display: none; }
  .app-me { margin-left: auto; }
  .app-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .app-side { grid-row: 2; border-right: 0; border-top: 1px solid var(--ui-line); padding: .4em .6em .9em; }
  .nav-l { display: none; }
  .dock { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr; }
  .dock-h { display: none; }
  .sys { display: flex; flex-wrap: wrap; gap: .3em; }
  .sys li { padding: .2em .5em; border-radius: 99px; background: #EAE4DA; font-size: .82em; grid-template-columns: .6em auto; }
  .sys li .sys-s { display: none; }
  .slot { min-height: 3em; margin: .4em 0 0; font-size: .85em; }
  .v { padding: .8em .9em; }
  .v-inbox { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .mails { border-right: 0; }
  .mail:not(.is-sel) { display: none; }
  .mail { padding-block: .5em; }
  .read { padding: .7em .9em; }
  .r-s, .r-from { display: none; }
  .r-body { font-size: .92em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .5em; }
  .sheet th:nth-child(2), .sheet td:nth-child(2), .sheet th:nth-child(3), .sheet td:nth-child(3) { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msg:nth-child(2) { display: none; }
  .week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .week .day:nth-child(1), .week .day:nth-child(5) { display: none; }
  .ow th:nth-child(2), .ow td:nth-child(2) { display: none; }
  .ml-h span { display: none; }
  .ml-g:nth-of-type(3), .ml ul:nth-of-type(3) { display: none; }
}

/* ---------- End of the day ---------- */
.end { position: absolute; inset: 0; z-index: 7; display: grid; place-content: center; text-align: center; padding: var(--gut); pointer-events: none; opacity: var(--endo, 0); }
.end-time { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--bone-soft); margin-bottom: 18px; }
.end-line { font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 112; font-size: clamp(44px, 7vw, 116px); line-height: .92; letter-spacing: -.035em; color: var(--bone); max-width: 12ch; margin-inline: auto; transform: translateY(calc((1 - var(--endo, 0)) * 30px)); }

.story-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }

/* =========================================================
   3. TRY IT + AUDIT
   ========================================================= */
.try { position: relative; background: var(--cream); padding: clamp(80px, 12svh, 140px) 0 clamp(72px, 10svh, 120px); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.try h2, .audit h2 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 104; font-size: clamp(36px, 4.2vw, 64px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.try-lede { margin: 18px 0 30px; font-size: 20px; color: var(--ink-soft); max-width: 34ch; }
.chips { margin-bottom: 26px; }
.chips legend { font-family: var(--display); font-weight: 650; font-size: 15px; margin-bottom: 12px; padding: 0; }
.chips label { display: inline-block; margin: 0 6px 8px 0; position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 99px;
  font-family: var(--display); font-weight: 560; font-size: 15px; line-height: 1.1;
  background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 19, 15, .16) inset; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .25s var(--spring);
}
@media (hover: hover) and (pointer: fine) { .chips span:hover { box-shadow: 0 0 0 1.5px var(--ink) inset; } }
.chips input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.chips input:active + span { transform: scale(.96); }

.build {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--night); color: var(--bone); border-radius: 14px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 60px -36px rgba(20, 15, 10, .6);
}
.b-k { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--red-hi); margin-bottom: 12px; }
.b-title { font-family: var(--display); font-weight: 760; font-variation-settings: "wdth" 100; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; min-height: 2.16em; }
.b-what { margin: 16px 0 22px; font-size: 19px; line-height: 1.5; color: var(--bone); text-wrap: pretty; min-height: 4.5em; }
.b-dl { display: grid; gap: 14px; border-top: 1px solid rgba(243, 237, 226, .14); padding-top: 18px; }
.b-dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; }
.b-dl dt { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--bone-soft); padding-top: 3px; }
.b-dl dd { font-size: 17px; line-height: 1.45; }
.build.swap .b-title, .build.swap .b-what, .build.swap dd { opacity: 0; transform: translateY(6px); }
.b-title, .b-what, .b-dl dd { transition: opacity .3s ease, transform .4s var(--ease); }

.audit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; margin-top: clamp(80px, 12svh, 140px); }
.audit-portrait img { border-radius: 10px; width: 100%; aspect-ratio: 1000 / 812; object-fit: cover; box-shadow: 0 30px 60px -36px rgba(20, 15, 10, .5); }
.audit-copy p { margin: 20px 0 30px; font-size: 20px; line-height: 1.55; max-width: 38em; }
.micro { margin-top: 14px; font-size: 16.5px; line-height: 1.45; color: var(--ink-soft); max-width: 34em; }

/* =========================================================
   4. PROOF
   ========================================================= */
.proof { background: var(--night); color: var(--bone); padding: clamp(80px, 12svh, 140px) 0 clamp(60px, 8svh, 100px); }
.proof-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: clamp(36px, 6svh, 64px); }
.proof-head h2 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 104; font-size: clamp(36px, 4.2vw, 64px); line-height: .98; letter-spacing: -.03em; max-width: 13ch; }
.proof-head p { color: var(--bone-soft); max-width: 30ch; font-size: 18px; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); }
.proof-pics { position: relative; }
.pp-frame { position: sticky; top: calc(var(--nav-h) + 6svh); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 12svh); border-radius: 12px; overflow: hidden; background: #0c0b09; }
.pp { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-io), transform 1.6s var(--ease); }
.pp.is-on { opacity: 1; transform: none; }
.pp img { width: 100%; height: 100%; object-fit: cover; }
.cases { display: grid; gap: 0; }
.case { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 6svh 0; border-top: 1px solid rgba(243, 237, 226, .12); opacity: .62; transition: opacity .5s ease; }
.case:first-child { border-top: 0; }
.case.is-on { opacity: 1; }
.c-k { font-family: var(--display); font-weight: 650; font-size: 16px; color: var(--red-hi); margin-bottom: 10px; }
.c-n { font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 108; font-size: clamp(54px, 6.4vw, 104px); line-height: .92; letter-spacing: -.035em; margin-bottom: 18px; font-feature-settings: "tnum" 0; }
.c-t { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; max-width: 30ch; text-wrap: pretty; }
.c-l { margin-top: 18px; display: grid; gap: 8px; }
.c-l li { position: relative; padding-left: 22px; color: var(--bone-soft); font-size: 18px; line-height: 1.45; max-width: 38ch; }
.c-l li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 1.5px; background: var(--red-hi); }
.c-pic { display: none; }

/* =========================================================
   5. CLOSE
   ========================================================= */
.close { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: var(--bone); overflow: hidden; background: var(--night); }
.close-photo { position: absolute; inset: -4% 0; will-change: transform; }
.close-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.close-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 9, .86) 0%, rgba(14, 12, 9, .66) 42%, rgba(14, 12, 9, .2) 75%), linear-gradient(0deg, rgba(14, 12, 9, .7) 0%, rgba(14, 12, 9, 0) 40%); }
.close-in { position: relative; padding-top: 14svh; padding-bottom: 10svh; }
.close h2 { font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 110; font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -.035em; max-width: 10ch; margin-bottom: 36px; }
.close .micro { color: var(--bone-soft); }
/* .allot = the "Complimentary while this season's openings last" line, tagged on every page (closes, audit hero, home picker).
   To retire the complimentary line site-wide: .allot{display:none} */
.byline { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.byline p { font-family: var(--display); font-weight: 520; font-size: 15px; color: var(--bone-soft); }
.foot { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(243, 237, 226, .14); font-family: var(--display); font-size: 13.5px; color: var(--bone-soft); }

.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1320px) and (min-width: 761px) { .phone-slot { left: calc(var(--gut) + 33rem + 70px); } }
@media (max-width: 1180px) and (min-width: 761px) {
  .story-layer { --ph: min(38svh, 330px); grid-template-columns: minmax(240px, 17rem) minmax(0, 1fr); column-gap: 28px; --lw: min(calc(100vw - 2 * var(--gut) - 17rem - 28px - var(--pw) * .5), calc((100svh - var(--nav-h) - 230px) * 1.52)); }
  .hero-subject { right: -6vw; }
  .hero-subject figcaption { right: calc(6vw + 6%); }
}
@media (max-height: 760px) and (min-width: 761px) {
  .pile { height: 150px; }
  .card { min-height: 64px; padding-block: 9px; }
  .cap { min-height: 8em; }
}

@media (max-width: 760px) {
  .monday { height: 1320svh; }
  .hero-layer::before {
    background: linear-gradient(180deg, rgba(247, 243, 236, .92) 0%, rgba(247, 243, 236, .8) 34%, rgba(247, 243, 236, .2) 58%, rgba(247, 243, 236, .55) 100%);
  }
  .ph img { object-position: 62% 50%; }
  .hero-h { font-size: clamp(48px, 14.5vw, 64px); top: calc(var(--nav-h) + 3svh); }
  .hero-subject { right: -16vw; height: min(44svh, 420px); }
  .hero-subject figcaption { display: none; }
  .hero-foot { right: var(--gut); top: calc(var(--nav-h) + 3svh + 3 * .88 * clamp(48px, 14.5vw, 64px) + 18px); bottom: auto; }
  .lede { font-size: 17px; max-width: 30ch; margin-bottom: 16px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 12px 18px; }
  .hero-actions .btn { font-size: 15px; padding: 14px 18px; }
  .phone-slot { left: 5vw; right: auto; bottom: -10svh; width: 30vw; }

  .story-layer {
    --pw: min(80vw, 320px); --ph: calc(var(--pw) / .485);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "top" "cap" "dev" "plate";
    padding: calc(var(--nav-h) + 10px) var(--gut) 0;
  }
  .story-layer::before { background: linear-gradient(180deg, rgba(14, 12, 9, .9) 0%, rgba(14, 12, 9, .7) 30%, rgba(14, 12, 9, .55) 100%); }
  .s-top { gap: 2px 18px; margin-bottom: 8px; align-items: center; }
  .s-h { font-size: 13px; }
  .clock-t { font-size: 50px; }
  .clock-ap { font-size: 16px; }
  .meters { gap: 16px; padding-bottom: 0; margin-left: auto; }
  .meter { gap: 6px; }
  .m-n { font-size: 30px; min-width: 0; }
  .m-l { font-size: 11.5px; }
  .s-left { display: contents; }
  .cap { grid-area: cap; min-height: 5.6em; margin-bottom: 14px; }
  .has-where .s-h { opacity: 0; }
  .cap-time { font-size: 13px; margin-bottom: 4px; }
  .cap-text { font-size: 16px; line-height: 1.38; }
  .cap-fix { font-size: 15px; margin-top: 6px; }
  .devices { grid-area: dev; justify-content: center; align-items: flex-start; overflow: visible; }
  .laptop { display: none; }
  .phone { position: relative; right: auto; bottom: auto; }
  .plate {
    grid-area: plate; margin: -120px calc(var(--gut) * -1) 0; padding: 26px var(--gut) calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(20, 19, 15, 0) 0%, rgba(20, 19, 15, .92) 34px, #14130F 70px); z-index: 6;
  }
  .pile { height: 76px; margin-bottom: 12px; }
  .card { min-height: 70px; }
  .card { transform: translateY(calc(var(--k) * 7px + 40px)) scale(calc(1 - var(--k) * .04)); }
  .card.is-in { transform: translateY(calc(var(--k) * 7px)) scale(calc(1 - var(--k) * .04)); }
  .pile-more { display: none; }
  .plate-act { flex-direction: row; align-items: center; gap: 12px; }
  .btn-hand { flex: none; }
  .hint { font-size: 12.5px; line-height: 1.3; }
  .where { top: calc(var(--nav-h) + 10px); bottom: auto; left: var(--gut); right: auto; font-size: 13px; color: var(--bone-soft); }
  .end-line { font-size: 48px; }

  .try-grid, .audit, .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .build { position: relative; top: 0; }
  .b-dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .chips span { font-size: 14.5px; padding: 9px 14px; }
  .audit { margin-top: 72px; }
  .audit-portrait { max-width: 420px; }
  .proof-pics { display: none; }
  .case { min-height: 0; opacity: 1; padding: 36px 0; }
  .c-pic { display: block; margin-top: 22px; }
  .c-pic img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
  .close-photo::after { background: linear-gradient(180deg, rgba(14, 12, 9, .5) 0%, rgba(14, 12, 9, .85) 60%); }
}
/* Phone: the bar-to-H1 gap is too small for the eyebrow, so the H1 and the foot step down by one line */
@media (max-width: 760px) {
  .hero-k { top: calc(var(--nav-h) + 3svh); font-size: 14px; }
  .hero-h { top: calc(var(--nav-h) + 3svh + 26px); }
  .hero-foot { top: calc(var(--nav-h) + 3svh + 26px + 3 * .88 * clamp(48px, 14.5vw, 64px) + 18px); }
}
@media (max-width: 380px) {
  .meters .m-hrs .m-l { display: none; }
  .hero-actions .btn { font-size: 14.5px; padding: 13px 14px; }
}

/* =========================================================
   Reduced motion: no pin, no travel, a stepper drives the story
   ========================================================= */
.rm .monday { height: auto; }
.rm .stage { position: relative; height: auto; overflow: visible; contain: none; }
.rm .photos { height: 100svh; min-height: 600px; overflow: hidden; }
.rm .ph { transition: none; }
.rm .hero-layer { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.rm .phone-slot { display: none; }
.rm .story-layer { position: relative; inset: auto; min-height: 100svh; pointer-events: auto; background: var(--night); padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
.rm .story-layer::before, .rm .story-layer::after { display: none; }
.rm .story-layer [data-fade] { --fade: 1; }
.rm .phone, .rm .laptop { transform: none !important; opacity: 1 !important; pointer-events: auto; }
.rm .stepper { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rm .step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 237, 226, .35); background: transparent; display: grid; place-items: center; cursor: pointer; }
.rm .step svg { width: 18px; height: 18px; fill: none; stroke: var(--bone); stroke-width: 2; }
.rm .step:disabled { opacity: .3; cursor: default; }
.rm .step-l { font-family: var(--display); font-weight: 600; font-size: 15px; min-width: 7em; text-align: center; }
.rm .end { position: relative; inset: auto; grid-column: 1 / -1; opacity: 1; display: none; padding: 32px 0 0; }
.rm .end.is-on { display: grid; }
.rm .end-line { transform: none; font-size: clamp(36px, 5vw, 64px); }
.rm .where { display: none; }
.rm *, .rm *::before, .rm *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
@media (max-width: 760px) {
  .rm .story-layer { padding-top: calc(var(--nav-h) + 16px); grid-template-rows: auto auto auto auto; }
  .rm .devices { height: 560px; overflow: hidden; }
  .rm .plate { margin-top: -90px; }
}

/* No JS: the story is text */
html:not(.js) .monday { height: auto; }
html:not(.js) .stage { position: relative; height: 100svh; }
html:not(.js) .story-layer { display: none; }
html:not(.js) .story-text { position: static; width: auto; height: auto; clip: auto; clip-path: none; max-width: 760px; margin: 0 auto; padding: 64px var(--gut); display: grid; gap: 16px; }

/* =========================================================================
   SITE SYSTEM (every page). Class names below are the shared vocabulary for
   all three agents. Add new things at the end; never change these selectors.
   ========================================================================= */

/* ---------- Type helpers ---------- */
.h1 {
  font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 110;
  font-size: clamp(46px, 6.6vw, 104px); line-height: .92; letter-spacing: -.035em; text-wrap: balance;
}
.h2 {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 104;
  font-size: clamp(34px, 4vw, 60px); line-height: .98; letter-spacing: -.03em; text-wrap: balance;
}
.h3 { font-family: var(--display); font-weight: 720; font-variation-settings: "wdth" 100; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.012em; }
.lead { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.48; max-width: 34em; text-wrap: pretty; }
.kicker { font-family: var(--display); font-weight: 650; font-size: 15px; color: var(--red); }
.is-dark .kicker, .phero:not(.is-light) .kicker { color: var(--red-hi); }
.soft { color: var(--ink-soft); }
.is-dark .soft, .phero:not(.is-light) .soft { color: var(--bone-soft); }
.prose { max-width: 38em; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin: 1.6em 0 .5em; }
.prose a, .tlink { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.is-dark .prose a, .is-dark .tlink, .phero:not(.is-light) .tlink { text-decoration-color: var(--red-hi); }
@media (hover: hover) and (pointer: fine) { .prose a:hover, .tlink:hover { color: var(--red); } .is-dark .prose a:hover, .is-dark .tlink:hover { color: var(--red-hi); } }
.prose ul { display: grid; gap: 8px; margin: 1em 0; }
.prose ul li, .ticks li { position: relative; padding-left: 22px; }
.prose ul li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--red); }
.is-dark .ticks li::before, .is-dark .prose ul li::before { background: var(--red-hi); }
.ticks { display: grid; gap: 10px; }

/* ---------- Page hero ---------- */
.phero {
  position: relative; overflow: hidden; background: var(--night); color: var(--bone);
  min-height: min(92svh, 920px); display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 6svh) 0 clamp(48px, 8svh, 96px);
}
.phero-bg { position: absolute; inset: -4% 0 -4%; will-change: transform; }
.phero-bg picture, .close-photo picture { height: 100%; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 12, 9, .9) 0%, rgba(14, 12, 9, .72) 38%, rgba(14, 12, 9, .25) 72%, rgba(14, 12, 9, .15) 100%),
    linear-gradient(0deg, rgba(14, 12, 9, .78) 0%, rgba(14, 12, 9, 0) 45%),
    linear-gradient(180deg, rgba(14, 12, 9, .55) 0%, rgba(14, 12, 9, 0) 22%);
}
.phero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.phero-copy { max-width: 50rem; }
.phero .h1 { margin: 14px 0 22px; font-size: clamp(44px, 5.4vw, 86px); }
.phero .h1.is-short { font-size: clamp(48px, 7vw, 112px); }
.phero .lead { color: inherit; }
.phero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.phero-side { position: relative; min-width: 0; }
.phero.is-light { background: var(--cream); color: var(--ink); min-height: 0; padding-top: calc(var(--nav-h) + clamp(40px, 9svh, 110px)); align-items: flex-start; }
.phero.is-light .phero-in { align-items: center; }
.phero.is-paper { background: var(--paper); }
.js:not(.rm) .phero [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform 1s var(--ease); }
.js:not(.rm) .phero [data-in="2"] { transition-delay: .12s; } .js:not(.rm) .phero [data-in="3"] { transition-delay: .24s; } .js:not(.rm) .phero [data-in="4"] { transition-delay: .36s; }
.is-ready .phero [data-in] { opacity: 1 !important; transform: none !important; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--display); font-weight: 520; font-size: 14px; }
.crumbs li { display: flex; align-items: center; gap: 10px; color: inherit; opacity: .78; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { opacity: 1; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(72px, 11svh, 132px) 0; background: var(--cream); color: var(--ink); }
.sec.is-paper { background: var(--paper); }
.sec.is-dark { background: var(--night); color: var(--bone); }
.sec.is-tight { padding-block: clamp(48px, 7svh, 84px); }
.sec:not(.is-dark):not(.is-paper) + .sec:not(.is-dark):not(.is-paper) { padding-top: 0; }
.sec.is-dark + .sec.is-dark, .sec.is-paper + .sec.is-paper { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 88px); align-items: end; margin-bottom: clamp(36px, 6svh, 64px); }
.sec-head .lead { color: var(--ink-soft); }
.is-dark .sec-head .lead { color: var(--bone-soft); }
.sec-head.is-stack { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.split.is-wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.sticky { position: sticky; top: calc(var(--nav-h) + 28px); }

/* Row ledger: term on the left, detail on the right */
.ledger { border-top: 1px solid rgba(20, 19, 15, .14); }
.ledger > li, .ledger > div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 8px 28px; padding: 18px 0; border-bottom: 1px solid rgba(20, 19, 15, .14); }
.ledger .lk { font-family: var(--display); font-weight: 680; font-size: 16px; padding-top: 3px; }
.ledger .lv { font-size: 18px; line-height: 1.5; }
.is-dark .ledger, .is-dark .ledger > li, .is-dark .ledger > div { border-color: rgba(243, 237, 226, .14); }

/* Small status pill, as used inside the interfaces */
.pill { display: inline-flex; align-items: center; gap: .45em; font-family: var(--display); font-weight: 650; font-size: 13px; line-height: 1; padding: 6px 10px; border-radius: 99px; background: rgba(47, 107, 71, .12); color: var(--ok); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.is-you { background: rgba(190, 48, 26, .1); color: var(--red); }
.is-dark .pill { background: rgba(140, 192, 156, .14); color: var(--ok-hi); }
.is-dark .pill.is-you { background: rgba(238, 106, 82, .14); color: var(--red-hi); }
.is-dark .win .pill { background: rgba(47, 107, 71, .12); color: var(--ok); }
.is-dark .win .pill.is-you { background: rgba(190, 48, 26, .1); color: var(--red); }

/* ---------- Device frames ---------- */
/* .win: a generic app window (no product names); .win-bar carries three dots and a title. */
.win { background: var(--ui-bg); color: var(--ui-ink); border-radius: 12px; overflow: hidden; font-family: var(--device); font-size: 14px; line-height: 1.45; box-shadow: 0 0 0 1px rgba(20, 19, 15, .08), 0 40px 80px -40px rgba(10, 8, 5, .7); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #F4EFE7; border-bottom: 1px solid var(--ui-line); font-weight: 650; font-size: 13px; }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8d1c6; }
.win-bar .win-meta { margin-left: auto; font-weight: 500; color: var(--ui-soft); }
.win-body { padding: 16px 18px; }
.is-dark .win { box-shadow: 0 0 0 1px rgba(255, 245, 230, .08), 0 40px 80px -30px rgba(0, 0, 0, .8); }
/* .handset: a static phone frame for any page */
.handset { position: relative; width: min(100%, 300px); aspect-ratio: .485; border-radius: 44px; padding: 11px; background: linear-gradient(150deg, #34312b 0%, #121110 32%, #0b0a09 70%, #26231f 100%); box-shadow: 0 0 0 1px rgba(255, 245, 230, .07) inset, 0 50px 90px -30px rgba(0, 0, 0, .75); }
.handset-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #4b3628 0%, #21180f 52%, #0e0b08 100%); color: #fff; font-family: var(--device); }
.handset-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 31%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 99px; }
/* Interface card (a notification or a job on the plate) */
.ncard { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #F6F1E8; color: var(--ui-ink); font-family: var(--device); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px -16px rgba(0, 0, 0, .55); }
.ncard .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #3F3B35; }
.ncard .ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ncard .n-src { display: block; font-size: 11.5px; color: rgba(27, 26, 23, .68); }
.ncard .n-title { display: block; font-size: 14.5px; font-weight: 650; }
.ncard .n-msg { display: block; font-size: 13px; color: rgba(27, 26, 23, .78); }

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.4; }
.tbl th { text-align: left; font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--ink-soft); padding: 10px 14px 10px 0; border-bottom: 1.5px solid var(--ink); }
.tbl td { padding: 14px 14px 14px 0; border-bottom: 1px solid rgba(20, 19, 15, .14); vertical-align: top; }
.tbl td:first-child { font-family: var(--display); font-weight: 680; font-size: 16px; }
.is-dark .tbl th { color: var(--bone-soft); border-color: var(--bone); }
.is-dark .tbl td { border-color: rgba(243, 237, 226, .14); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(20, 19, 15, .16); }
.faq details { border-bottom: 1px solid rgba(20, 19, 15, .16); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center;
  padding: 22px 0; font-family: var(--display); font-weight: 680; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; justify-self: end; width: 14px; height: 14px; margin-right: 6px;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--red); } }
.faq .ans { padding: 0 0 26px; max-width: 40em; }
.faq .ans p + p { margin-top: .8em; }
.faq .ans a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.is-dark .faq, .is-dark .faq details { border-color: rgba(243, 237, 226, .16); }
.is-dark .faq summary:hover { color: var(--red-hi); }

/* ---------- Chip buttons and filters ---------- */
.fbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 99px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 560; font-size: 15px; line-height: 1.1;
  background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 19, 15, .16) inset;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .25s var(--spring);
}
.fchip b { font-weight: 700; font-size: 12.5px; opacity: .6; }
@media (hover: hover) and (pointer: fine) { .fchip:hover { box-shadow: 0 0 0 1.5px var(--ink) inset; } }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.fchip:active { transform: scale(.96); }
.is-dark .fchip { background: transparent; color: var(--bone); box-shadow: 0 0 0 1px rgba(243, 237, 226, .3) inset; }
.is-dark .fchip[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.fcount { font-family: var(--display); font-weight: 560; font-size: 14px; color: var(--ink-soft); margin-left: auto; }
.is-dark .fcount { color: var(--bone-soft); }
[data-cat].is-out { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field label { display: block; font-family: var(--display); font-weight: 650; font-size: 15px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 0;
  background: #fff; color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.35;
  box-shadow: 0 0 0 1px rgba(20, 19, 15, .22) inset; transition: box-shadow .18s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--ink) inset; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.field [aria-invalid="true"] { box-shadow: 0 0 0 2px var(--red) inset; }
.field ::placeholder { color: #8A8378; }
.field-error { display: block; min-height: 0; margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--red); }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--display); font-weight: 600; font-size: 15px; min-height: 1.4em; }
.form-status.error { color: var(--red); }
.form-status.ok { color: var(--ok); }
.form-note { font-size: 16px; color: var(--ink-soft); }
.err-summary { padding: 16px 18px; border-radius: var(--r); background: rgba(190, 48, 26, .07); box-shadow: 0 0 0 1.5px var(--red) inset; }
.err-summary h2 { font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.err-summary ul { display: grid; gap: 4px; }
.err-summary a { color: var(--red); font-family: var(--display); font-weight: 600; font-size: 15px; }

/* ---------- Counters (any element with data-count-to) ---------- */
.num { font-family: var(--display); font-weight: 820; font-variation-settings: "wdth" 108; font-size: clamp(48px, 5.4vw, 88px); line-height: .92; letter-spacing: -.035em; font-feature-settings: "tnum" 0; }
.num small { font-size: .36em; font-weight: 650; letter-spacing: -.01em; margin-left: .15em; }

/* ---------- Film grade: any photo can carry it ---------- */
.film { position: relative; overflow: hidden; border-radius: 10px; background: #0c0b09; }
.film picture { height: 100%; }
.film img { width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(10, 7, 4, .45) 100%); mix-blend-mode: multiply; }

/* ---------- Hand-off component (data-ho) ----------
   Markup: [data-ho] > .ho-plate (li.ho-card[data-ho-card] with a button[data-ho-go] and a <template>)
           + .ho-desk containing [data-ho-target] and [data-ho-pane]. Drag a card onto the target or press its button. */
.ho { --ho-gap: clamp(24px, 3vw, 48px); }
.ho-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--ho-gap); align-items: start; }
.ho-plate { display: grid; gap: 10px; position: relative; z-index: 3; }
.ho-plate-h { font-family: var(--display); font-weight: 650; font-size: 15px; color: var(--bone-soft); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 12px; }
.ho-card {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  padding: 12px 12px 12px 14px; border-radius: 12px; background: #F6F1E8; color: var(--ui-ink); font-family: var(--device);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px -16px rgba(0, 0, 0, .7);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform .5s var(--ease), opacity .35s ease, box-shadow .2s ease, background-color .2s ease;
}
.ho-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #3F3B35; }
.ho-card .ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ho-card .c-src { display: block; font-size: 11.5px; color: rgba(27, 26, 23, .68); }
.ho-card .c-title { display: block; font-size: 15px; font-weight: 650; }
.ho-card .c-msg { display: block; font-size: 13px; color: rgba(27, 26, 23, .75); }
.ho-go {
  font-family: var(--display); font-weight: 650; font-size: 13.5px; min-height: 40px; padding: 8px 12px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--cream); white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .ho-go:hover { background: var(--red); } .ho-card:hover { box-shadow: 0 0 0 2px var(--red-hi), 0 18px 34px -16px rgba(0, 0, 0, .8); } }
.ho-card.is-drag { cursor: grabbing; z-index: 40; transition: box-shadow .2s ease; box-shadow: 0 0 0 2px var(--red-hi), 0 34px 60px -20px rgba(0, 0, 0, .85); }
.ho-card.is-fly { transition: transform .55s var(--ease-io), opacity .4s ease .15s; pointer-events: none; z-index: 40; }
.ho-card.is-done { opacity: .42; background: #E6DED1; cursor: default; }
.ho-card.is-done .ho-go { background: transparent; color: var(--ok); box-shadow: none; }
.ho-card.is-done .ho-go::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.ho-card.is-current { opacity: 1; box-shadow: 0 0 0 2px var(--ok-hi), 0 14px 30px -16px rgba(0, 0, 0, .7); }
.ho-desk { position: sticky; top: calc(var(--nav-h) + 24px); }
.ho-desk .win-body { padding: 0; display: grid; grid-template-columns: 12.5em minmax(0, 1fr); min-height: 460px; }
.ho-side { background: var(--ui-side); border-right: 1px solid var(--ui-line); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.ho-side .dock-h { font-size: 12px; font-weight: 650; color: var(--ui-soft); }
.ho-sys li { display: flex; align-items: center; gap: 8px; padding: 4px 2px; font-weight: 600; }
.ho-sys li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 107, 71, .16); }
.ho-sys li.is-busy::before { background: #C98A2E; box-shadow: 0 0 0 3px rgba(201, 138, 46, .2); animation: blink 1s ease-in-out infinite; }
.ho-target {
  margin-top: auto; min-height: 96px; border: 1.5px dashed rgba(190, 48, 26, .5); border-radius: 10px;
  display: grid; place-items: center; text-align: center; padding: 10px; color: var(--red); font-weight: 650; font-size: 13px;
  transition: background-color .2s ease, border-color .2s ease, transform .3s var(--spring);
}
.ho-target.is-armed { background: rgba(190, 48, 26, .06); }
.ho-target.is-hot { background: rgba(190, 48, 26, .14); border-style: solid; border-color: var(--red); transform: scale(1.04); }
.ho-target.is-gulp { animation: gulp .55s var(--spring); }
.ho-pane { position: relative; padding: 18px 20px 20px; min-width: 0; }
.ho-empty { display: grid; place-content: center; text-align: center; min-height: 420px; color: var(--ui-soft); gap: 6px; }
.ho-empty b { color: var(--ui-ink); font-size: 16px; }
.ho-run-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ui-line); margin-bottom: 12px; }
.ho-run-h b { font-size: 16px; }
.ho-run-h span { font-size: 12.5px; color: var(--ui-soft); }
.ho-steps li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ui-line); color: var(--ui-soft); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .4s var(--ease), color .3s ease; }
.ho-steps li.is-on { opacity: 1; transform: none; color: var(--ui-ink); }
.ho-steps .box { width: 1.25em; height: 1.25em; margin-top: .1em; border-radius: .35em; border: 1.5px solid #bdb5a8; display: grid; place-items: center; }
.ho-steps li.is-on .box { background: var(--ok); border-color: var(--ok); }
.ho-steps .box svg { width: .9em; height: .9em; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ho-wait { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(190, 48, 26, .07); color: var(--red); font-weight: 650; font-size: 13.5px; opacity: 0; transition: opacity .35s ease; }
.ho-wait.is-on { opacity: 1; }
.ho-roles { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--ease); }
.ho-roles.is-on { opacity: 1; transform: none; }
.ho-roles div { padding: 10px 11px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); font-size: 13px; line-height: 1.4; }
.ho-roles dt { font-weight: 700; font-size: 11.5px; color: var(--ui-soft); margin-bottom: 4px; }
.ho-roles .r-you dt { color: var(--red); }
.ho-roles .r-coo dt { color: var(--ok); }
.ho-hint { margin-top: 14px; font-family: var(--display); font-size: 14px; color: var(--bone-soft); }
.ho-proof { margin-top: 14px; font-size: 13px; color: var(--ui-soft); border-top: 1px solid var(--ui-line); padding-top: 10px; opacity: 0; transition: opacity .4s ease .2s; }
.ho-proof.is-on { opacity: 1; }
.ho-proof b { color: var(--ui-ink); }

/* ---------- Scrubber (data-scrub): a range input, optionally driven by scroll ----------
   [data-scrub] > .scrub-stick > ... input[data-scrub-input]; [data-from][data-to] panels show in their range;
   [data-on-at="N"] gets .is-on once the value reaches N; [data-scrub-n] prints the value. */
.scrub { position: relative; }
.scrub.is-pinned { height: calc(var(--len, 4) * 100svh); padding: 0; }
.scrub.is-pinned .scrub-stick { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3svh) 0 4svh; overflow: hidden; }
.scrub-n { font-family: var(--display); font-weight: 820; font-size: clamp(88px, 11vw, 176px); line-height: .82; letter-spacing: -.045em; font-variation-settings: "wdth" var(--sw, 80); font-feature-settings: "tnum" 0; transition: font-variation-settings .5s var(--ease); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) 0 var(--fill, 0%), rgba(20, 19, 15, .16) var(--fill, 0%) 100%); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(20, 19, 15, .16); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--red); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--red); border: 3px solid var(--cream); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid var(--cream); }
.is-dark .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--red-hi) 0 var(--fill, 0%), rgba(243, 237, 226, .2) var(--fill, 0%) 100%); }
.is-dark .range::-webkit-slider-thumb { background: var(--red-hi); border-color: var(--night); }
.is-dark .range::-moz-range-thumb { background: var(--red-hi); border-color: var(--night); }
[data-from] { display: none; }
[data-from].is-on { display: block; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.marks { display: flex; flex-wrap: wrap; gap: 6px; }
.mark-b { font-family: var(--display); font-weight: 600; font-size: 13.5px; min-height: 40px; padding: 8px 12px; border-radius: 99px; border: 0; cursor: pointer; background: transparent; color: inherit; box-shadow: 0 0 0 1px rgba(20, 19, 15, .2) inset; }
.mark-b[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.is-dark .mark-b { box-shadow: 0 0 0 1px rgba(243, 237, 226, .28) inset; }
.is-dark .mark-b[aria-pressed="true"] { background: var(--bone); color: var(--ink); }

/* ---------- Story (data-steps): a sticky picture that changes with the step being read ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); }
.steps-pics { position: relative; }
.steps-frame { position: sticky; top: calc(var(--nav-h) + 5svh); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 10svh); border-radius: 12px; overflow: hidden; background: #0c0b09; }
.steps-frame picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-io), transform 1.6s var(--ease); }
.steps-frame picture.is-on { opacity: 1; transform: none; }
.steps-frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.steps-frame figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--bone); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.step-item { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: 6svh 0; opacity: .45; transition: opacity .5s ease; }
.step-item.is-on { opacity: 1; }
.step-item .step-pic { display: none; }

/* ---------- CTA close (shared with the homepage) ---------- */
.close-in .lead { color: var(--bone-soft); margin: -16px 0 32px; max-width: 30em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--bone); padding: clamp(64px, 10svh, 112px) 0 28px; font-family: var(--display); }
.sf-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 48px clamp(32px, 6vw, 110px); }
.sf-brand .mark { color: var(--bone); }
.sf-line { margin: 22px 0 10px; font-weight: 800; font-variation-settings: "wdth" 108; font-size: clamp(30px, 3vw, 44px); line-height: .98; letter-spacing: -.03em; max-width: 11ch; }
.sf-what { font-family: var(--text); font-size: 17px; line-height: 1.5; color: var(--bone-soft); max-width: 30em; margin-bottom: 26px; }
.sf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.sf-h { font-weight: 650; font-size: 14px; color: var(--red-hi); margin-bottom: 14px; }
.sf-cols li + li { margin-top: 2px; }
.sf-cols a { display: inline-block; padding: 7px 0; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--bone); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .sf-cols a:hover, .sf-bot a:hover { color: var(--red-hi); } }
.sf-recruit { margin-top: 48px; font-family: var(--text); font-size: 16.5px; color: var(--bone-soft); }
.sf-recruit a { color: var(--bone); text-underline-offset: 3px; text-decoration-color: var(--red-hi); }
.sf-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(243, 237, 226, .14); font-size: 13.5px; color: var(--bone-soft); }
.sf-bot ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.sf-bot a { color: var(--bone-soft); text-decoration: none; display: inline-block; padding: 6px 0; }

/* ---------- Consent banner (analytics.js) ---------- */
.consent-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 260; width: min(420px, calc(100vw - 32px));
  padding: 18px 20px; border-radius: 12px; background: var(--night); color: var(--bone);
  font-family: var(--display); font-size: 14.5px; line-height: 1.45; box-shadow: 0 0 0 1px rgba(243, 237, 226, .1), 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.consent-banner a { color: var(--bone); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.consent-actions button { min-height: 44px; padding: 10px 18px; border-radius: var(--r); border: 0; cursor: pointer; font-family: var(--display); font-weight: 650; font-size: 14.5px; }
.consent-accept { background: var(--bone); color: var(--ink); }
.consent-decline { background: transparent; color: var(--bone); box-shadow: 0 0 0 1px rgba(243, 237, 226, .35) inset; }
.consent-banner :focus-visible { outline-color: var(--red-hi); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 150;
    justify-content: center; transition: transform .4s var(--ease), opacity .3s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .has-sticky .consent-banner { bottom: 84px; }
}

/* ---------- Inline calendar (audit) ---------- */
.cal { position: relative; min-height: 220px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 19, 15, .12); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 28px; }
.cal.loaded { padding: 0; min-height: 760px; display: block; }
.cal iframe { width: 100%; height: 760px; border: 0; display: block; }
.cal p { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }

/* Legacy hooks other pages may still carry from the old site: harmless no-ops */
.reveal { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .phero-in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ho-grid { grid-template-columns: minmax(0, 1fr); }
  .ho-desk { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .phero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .phero-bg::after { background: linear-gradient(180deg, rgba(14, 12, 9, .55) 0%, rgba(14, 12, 9, .78) 45%, rgba(14, 12, 9, .92) 100%); }
  .phero .h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .phero-actions .btn { white-space: normal; text-align: center; }
  .sec-head, .split, .split.is-wide, .steps { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: relative; top: 0; }
  .ledger > li, .ledger > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .tbl { font-size: 16px; }
  .ho-desk .win-body { grid-template-columns: minmax(0, 1fr); }
  .ho-side { border-right: 0; border-bottom: 1px solid var(--ui-line); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ho-side .dock-h, .ho-sys { display: none; }
  .ho-target { margin-top: 0; min-height: 56px; width: 100%; }
  .ho-empty { min-height: 200px; }
  .ho-roles { grid-template-columns: minmax(0, 1fr); }
  .ho-card { padding: 10px 10px 10px 12px; column-gap: 10px; }
  .ho-card .c-msg { display: none; }
  .ho-card .c-title { font-size: 14px; line-height: 1.25; }
  .ho-go { padding: 8px 10px; font-size: 13px; }
  .ho-plate { gap: 8px; }
  .steps-pics { display: none; }
  .step-item { min-height: 0; opacity: 1; padding: 28px 0; }
  .step-item .step-pic { display: block; margin-bottom: 20px; }
  .step-item .step-pic img { border-radius: 10px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
  .sf-top { grid-template-columns: minmax(0, 1fr); }
  .sf-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .scrub.is-pinned { height: auto; }
  .scrub.is-pinned .scrub-stick { position: relative; height: auto; padding: 72px 0; }
  .cal.loaded, .cal iframe { min-height: 700px; height: 700px; }
}
@media (max-width: 400px) { .sf-cols { grid-template-columns: minmax(0, 1fr); } }

/* Reduced motion for the system */
.rm .phero-bg, .rm .steps-frame picture { transform: none !important; }
.rm .scrub.is-pinned { height: auto; }
.rm .scrub.is-pinned .scrub-stick { position: relative; height: auto; padding: clamp(72px, 11svh, 132px) 0; }

/* =========================================================================
   PAGES (agent 1): page-specific pieces for services, audit, process,
   results, about, faq, contact, thanks, 404
   ========================================================================= */
.ho-card .c-tx { min-width: 0; line-height: 1.25; }

/* Services */
.svc-sys { max-width: 360px; margin-left: auto; }
.svc-sys-l { display: grid; gap: 2px; }
.svc-sys-l li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--ui-line); font-size: 14.5px; }
.svc-sys-l li:last-child { border-bottom: 0; }
.svc-list { border-top: 1.5px solid var(--ink); }
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 5vw, 88px); padding: clamp(40px, 6svh, 64px) 0; border-bottom: 1px solid rgba(20, 19, 15, .16); position: relative; }
.svc-anchor { position: absolute; top: 0; }
.svc-h { font-size: clamp(30px, 3.2vw, 46px); }
.svc-tag { margin-top: 14px; font-size: 20px; line-height: 1.4; color: var(--ink-soft); max-width: 26em; }
.svc-fit { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--red); font-size: 18px; max-width: 28em; }
.svc-fit b { display: block; font-family: var(--display); font-weight: 680; font-size: 14px; color: var(--red); margin-bottom: 2px; }
.svc-head { align-self: start; position: sticky; top: calc(var(--nav-h) + 28px); }
.svc-sub { font-family: var(--display); font-weight: 680; font-size: 15px; margin-top: 1.6em !important; }
@media (max-width: 760px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-head { position: relative; top: 0; }
  .svc-sys { margin: 0; max-width: none; }
}

/* Without JS every scrub panel and stamped row shows */
html:not(.js) [data-from] { display: block; margin-bottom: 18px; }

/* Audit */
.aud-who { position: relative; }
.aud-photo { aspect-ratio: 1000 / 812; box-shadow: 0 30px 60px -36px rgba(20, 15, 10, .5); }
.aud-card { position: absolute; left: -28px; bottom: -22px; width: min(320px, 80%); }
.phero .micro { margin-top: 18px; }
.aud-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; width: 100%; }
.aud-lead { margin: 16px 0 24px; }
.aud-clock { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.aud-of { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--bone-soft); }
.aud-scrub .marks { margin-top: 14px; }
.aud-panels { min-height: 9.5em; margin-bottom: 18px; }
.aud-min { font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--red-hi); margin-bottom: 6px; }
.aud-p { margin-top: 10px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--bone); max-width: 34em; }
.aud-map .win-body { padding: 14px 16px 16px; }
.lm { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lm th { text-align: left; font-size: 11.5px; font-weight: 650; color: var(--ui-soft); padding: 6px 8px; border-bottom: 1px solid var(--ui-line); }
.lm td { padding: 9px 8px; border-bottom: 1px solid var(--ui-line); vertical-align: top; }
.lm td:first-child { font-weight: 650; width: 40%; }
.lm td:nth-child(2) { color: var(--red); font-weight: 600; white-space: nowrap; }
.lm tr[data-on-at], .lm-first, .lm-keep { transition: opacity .45s ease, filter .45s ease; }
.js .lm tr[data-on-at]:not(.is-on), .js .lm-first:not(.is-on), .js .lm-keep:not(.is-on) { opacity: .28; filter: blur(4px); }
.lm-first { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; }
.lm-keep { margin-top: 10px; font-size: 12.5px; color: var(--ui-soft); }
.aud-for { margin-top: 40px; font-size: 19px; max-width: 46em; }
.aud-for b { font-family: var(--display); font-weight: 680; font-size: 16px; }
.aud-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 64px); }
.aud-nums li { border-top: 1px solid rgba(243, 237, 226, .18); padding-top: 22px; }
.aud-nums p:last-child { margin-top: 14px; color: var(--bone-soft); font-size: 18px; max-width: 24em; }
.aud-after { margin-top: 28px; font-size: 17px; color: var(--ink-soft); }
.aud-related { margin-top: 48px; font-size: 17px; color: var(--ink-soft); }
@media (max-width: 1040px) {
  .aud-grid { grid-template-columns: minmax(0, 1fr); }
  .aud-card { left: 12px; }
}
@media (max-width: 760px) {
  .aud-nums { grid-template-columns: minmax(0, 1fr); }
  .aud-card { position: relative; left: 0; bottom: 0; margin-top: -28px; margin-left: 12px; }
  .lm td:nth-child(2) { white-space: normal; }
}

/* Process */
.pr-side { display: grid; gap: 10px; max-width: 340px; margin-left: auto; }
.pr-side .ncard:nth-child(2) { margin-left: 28px; } .pr-side .ncard:nth-child(3) { margin-left: 56px; }
.pr-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; width: 100%; }
.pr-scrub .aud-clock { gap: 12px; }
.pr-cal { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; margin: 14px 0 16px; max-width: 460px; }
.pr-cal i { aspect-ratio: 1; border-radius: 3px; background: rgba(243, 237, 226, .1); transition: background-color .3s ease, transform .3s var(--spring); }
.pr-cal i.is-on { background: var(--bone-soft); }
.pr-cal i.c-audit.is-on { background: var(--red-hi); }
.pr-cal i.c-map.is-on { background: #D9A35B; }
.pr-cal i.c-build.is-on { background: var(--ok-hi); }
.pr-cal i.c-handoff.is-on { background: #A8C4D8; }
.pr-cal i.c-exit.is-on { background: var(--bone); }
.pr-h { font-size: clamp(30px, 3vw, 46px); }
.pr-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(243, 237, 226, .16); }
.pr-k { font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--ok-hi); margin-bottom: 10px; }
.pr-k.pr-you { color: var(--red-hi); }
.pr-cols .ticks { font-size: 17px; color: var(--bone); }
.pr-still { font-size: 18px; line-height: 1.45; }
@media (max-width: 1040px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } .pr-side { display: none; } }
@media (max-width: 760px) { .pr-cols { grid-template-columns: minmax(0, 1fr); } }

/* Results */
.rs-index { max-width: 380px; margin-left: auto; }
.rs-index .win-body { padding: 6px 10px; }
.rs-index li + li { border-top: 1px solid var(--ui-line); }
.rs-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 6px; text-decoration: none; border-radius: 6px; }
.rs-index b { font-size: 15px; }
.rs-index span { font-size: 13px; color: var(--ui-soft); text-align: right; }
@media (hover: hover) and (pointer: fine) { .rs-index a:hover { background: rgba(20, 19, 15, .05); } }
.rs-bar { margin-bottom: 28px; }
.rc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.rc { display: flex; flex-direction: column; padding: 16px 18px 20px; border-radius: 14px; background: #FBF8F3; box-shadow: 0 0 0 1px rgba(20, 19, 15, .1), 0 18px 34px -26px rgba(20, 15, 10, .45); animation: rcIn .45s var(--ease) both; }
@keyframes rcIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.rc-top { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; font-family: var(--device); padding-bottom: 14px; border-bottom: 1px solid var(--ui-line); }
.rc-top .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.rc-top .ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rc-top .c-src { display: block; font-size: 12px; color: var(--ui-soft); }
.rc-top .c-title { display: block; font-size: 15px; font-weight: 650; color: var(--ui-ink); }
.rc-num { margin-top: 18px; font-size: clamp(40px, 3.6vw, 56px); }
.rc-line { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--ink-soft); }
.rs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px clamp(32px, 5vw, 88px); padding: clamp(40px, 6svh, 72px) 0; border-top: 1px solid rgba(20, 19, 15, .16); position: relative; }
.rs-pic .film { position: sticky; top: calc(var(--nav-h) + 28px); aspect-ratio: 4 / 3.2; }
.rs-h { font-size: clamp(28px, 3vw, 44px); margin: 10px 0 8px; }
.rs-k { font-family: var(--display); font-weight: 680; font-size: 15px; margin: 22px 0 6px; }
.rs-body > p:not(.kicker):not(.rs-k) { max-width: 38em; }
.rs .ticks { max-width: 38em; }
.rs-rel { margin-top: 22px; font-size: 17px; color: var(--ink-soft); }
@media (max-width: 1040px) { .rs-index { display: none; } }
@media (max-width: 760px) {
  .rs { grid-template-columns: minmax(0, 1fr); }
  .rs-pic .film { position: relative; top: 0; aspect-ratio: 16 / 10; }
}

.rc-num.is-word { font-size: clamp(30px, 2.6vw, 40px); line-height: 1; }
.rs-built { display: grid; gap: 8px; }

/* About */
.ab-who { position: relative; }
.ab-photo { aspect-ratio: 4 / 4.4; box-shadow: 0 30px 60px -36px rgba(20, 15, 10, .5); }
.ab-photo img { object-position: 50% 30%; }
.ab-h { font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 22px; }
.ab-prose { font-size: 20px; line-height: 1.55; }
.steps-items .step-item:first-child { padding-top: 0; }

/* FAQ */
.faq-find { padding: 24px; border-radius: 14px; background: var(--cream); box-shadow: 0 0 0 1px rgba(20, 19, 15, .1), 0 24px 50px -36px rgba(20, 15, 10, .5); }
.faq-l { display: block; font-family: var(--display); font-weight: 680; font-size: 15px; margin-bottom: 10px; }
.faq-input { width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--r); background: #fff; font-family: var(--display); font-size: 17px; color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 19, 15, .22) inset; -webkit-appearance: none; appearance: none; }
.faq-input:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.faq-count { min-height: 1.4em; margin-top: 10px; font-family: var(--display); font-size: 14px; color: var(--ink-soft); }
.faq-jump { display: grid; margin-top: 6px; border-top: 1px solid rgba(20, 19, 15, .12); }
.faq-jump a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(20, 19, 15, .12); font-family: var(--display); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.faq-jump b { font-weight: 600; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .faq-jump a:hover { color: var(--red); } }
.faq-all { display: grid; gap: clamp(48px, 7svh, 80px); }
.faq-cat { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 20px clamp(32px, 5vw, 88px); }
.faq-cat-h { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; font-size: clamp(22px, 2vw, 28px); }
@media (max-width: 760px) { .faq-cat { grid-template-columns: minmax(0, 1fr); } .faq-cat-h { position: relative; top: 0; } }

/* Contact */
.ct-hero { padding-bottom: clamp(48px, 7svh, 80px); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ct-side { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 36px; }
.ct-mail .win-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.ct-mail [data-echo] { color: var(--ui-soft); transition: color .2s ease; }
.ct-mail [data-echo].is-filled { color: var(--ui-ink); }
.ct-from { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.ct-from span { font-size: 12.5px; color: var(--ui-soft); }
.ct-co { font-size: 13.5px; margin-top: -4px; }
.ct-subj { margin-top: 8px; font-size: 17px; font-weight: 700; }
.ct-rev { font-size: 13px; color: var(--ui-soft); padding-bottom: 10px; border-bottom: 1px solid var(--ui-line); }
.ct-body { min-height: 5.5em; padding-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.ct-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ui-line); font-size: 12.5px; color: var(--ui-soft); }
@media (max-width: 1040px) { .ct-grid { grid-template-columns: minmax(0, 1fr); } .ct-side { position: relative; top: 0; } .ct-mail { display: none; } }

/* Thanks and 404 */
.end-hero { min-height: 100svh; align-items: center; }
.end-steps { display: grid; gap: 10px; max-width: 360px; margin-left: auto; }
.end-steps .ncard { grid-template-columns: 34px minmax(0, 1fr); }
.end-steps li:not(.is-done).ncard { opacity: .88; }
.nf-list a.ncard { text-decoration: none; transition: transform .3s var(--ease), box-shadow .2s ease; }
.nf-list .n-title { font-size: 15.5px; }
@media (hover: hover) and (pointer: fine) { .nf-list a.ncard:hover { transform: translateX(-6px); box-shadow: 0 0 0 2px var(--red-hi), 0 14px 30px -16px rgba(0, 0, 0, .55); } }
.end-links { display: flex; flex-wrap: wrap; gap: 10px 36px; font-family: var(--display); font-weight: 650; font-size: 18px; }
.end-links a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 4px; display: inline-block; padding: 8px 0; }
@media (max-width: 1040px) { .end-steps { margin-left: 0; } }
