/* Version 4, the homepage journey: Kevin's hero, then one gesture per step toward the round window, Mara's world on
   its frosted glass, and Edron's own organisms beside it. Free scrolling over the softened room after it.
   Colours are Kevin's room tokens (--room-ink, --room-teal) and Edron's. */

.home {
  --j-ground: #ece8e0;
  --j-surface: #faf8f6;
  --j-muted: #615d55;
  --j-teal: #2b7a6f;
  --j-teal-ink: #226f66;
  --j-hair: rgba(71, 62, 52, 0.16);
  --j-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --j-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
html.snap { scroll-snap-type: y mandatory; }

/* ---------- The room: one fixed background for the whole homepage ---------- */
.room { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; background: #ece8e0; }
.room-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.room-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; user-select: none; }
.room-sharp { opacity: 0; transition: opacity 1.6s ease; }
html.r-in .room-sharp { opacity: 1; }
.room-frost { opacity: 0; clip-path: circle(0 at 0 0); }
.room-soft, .room-night, .room-night-soft { opacity: 0; }
.room-night, .room-night-soft { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(236, 232, 224, 0.5) 0%, rgba(236, 232, 224, 0.2) 30%, rgba(236, 232, 224, 0) 48%);
}
.room-veil { position: absolute; inset: 0; background: rgba(236, 232, 224, 0.55); opacity: 0; }

/* ---------- The passage (a wide window with a mouse) ---------- */
.passage { position: relative; height: calc(3 * 100vh); }
.snaps { position: absolute; inset: 0; pointer-events: none; }
.snaps i { display: block; height: 100vh; scroll-snap-align: start; scroll-snap-stop: always; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.walls { position: absolute; inset: 0; pointer-events: none; }
.jwall {
  position: absolute; left: var(--j-gutter, 4.6%); top: 0; bottom: 0; width: var(--j-text-w, 360px);
  display: flex; flex-direction: column; justify-content: center; padding-top: 56px;
  opacity: 0; will-change: opacity, transform; color: var(--room-ink, #2b2722);
}
.jwall.is-on { pointer-events: auto; }
/* Kevin's hero, as his page draws it: his .hero and .hero-copy rules set its type and place. */
.jwall.wall-hero { inset: 0; left: 0; width: auto; height: auto; min-height: 0; display: block; padding: 0 4.6%; }
.statement {
  margin: 0 0 20px; font: 500 clamp(36px, 3.1vw, 60px)/1.04 'Cormorant Garamond', serif; letter-spacing: -0.02em;
}
.jwall .lead { margin: 0; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.6; color: var(--j-muted); max-width: 36ch; }
.jwall .benefit-bottom { margin-top: 26px; }

/* The map: Mara's world through the round window, drawn on its frosted glass. */
.map {
  position: absolute; left: 0; top: 0; width: var(--win-d, 600px); height: var(--win-d, 600px); transform-origin: 50% 50%;
  transform: translate(var(--win-x, 0px), var(--win-y, 0px));
  border-radius: 50%; overflow: hidden; clip-path: circle(50% at 50% 50%);
  opacity: 0; will-change: opacity;
}
.map-glass { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(250, 248, 246, 0.5), rgba(250, 248, 246, 0.26) 62%, rgba(250, 248, 246, 0.12)); }
.map-threads { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; overflow: visible; transform-origin: 0 0; will-change: transform; }
.map-nodes { position: absolute; inset: 0; }

.th { fill: none; stroke: #2b2722; stroke-opacity: 0.26; stroke-width: 1.15; vector-effect: non-scaling-stroke; stroke-linecap: round;
  transition: stroke 0.9s var(--j-ease), stroke-opacity 0.9s var(--j-ease), stroke-width 0.9s var(--j-ease), opacity 0.9s var(--j-ease), stroke-dashoffset 1.8s var(--j-ease-out); }
.th.faint { stroke-opacity: 0.16; stroke-dasharray: 2 5; }
.th-draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.map.drawn .th-draw { stroke-dashoffset: 0; }
.th.lit { stroke: var(--j-teal); stroke-opacity: 0.9; stroke-width: 2; }
.th.dim { opacity: 0.28; }
.th.gone { opacity: 0.06; }
.lasso { fill: rgba(43, 122, 111, 0.06); stroke: var(--j-teal); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 6 7;
  opacity: 0; transition: opacity 0.8s var(--j-ease); }
.map[data-step="6"] .lasso { opacity: 1; }

.node, .mark, .tlabel { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity 0.9s var(--j-ease); }
.node-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.node-photo {
  display: block; width: var(--r); height: var(--r); border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(250, 248, 246, 0.95), 0 0 0 3px rgba(43, 39, 34, 0.12), 0 10px 24px -10px rgba(40, 34, 26, 0.5);
  transition: box-shadow 0.9s var(--j-ease), transform 0.9s var(--j-ease);
  animation: j-drift var(--drift, 11s) ease-in-out infinite alternate;
}
.node-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.node-name {
  margin-top: 8px; font: 500 19px/1 'Cormorant Garamond', serif; white-space: nowrap; color: var(--room-ink, #2b2722);
  text-shadow: 0 0 10px rgba(250, 248, 246, 0.9);
}
.node.me .node-name { font-size: 22px; }
.node-note {
  margin-top: 5px; height: 0; overflow: visible; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--j-teal-ink); opacity: 0; transition: opacity 0.7s var(--j-ease); text-shadow: 0 0 8px rgba(250, 248, 246, 1), 0 0 2px rgba(250, 248, 246, 1);
}
.node.noted .node-note { opacity: 1; }
.node.lit .node-photo { box-shadow: 0 0 0 2px rgba(250, 248, 246, 0.95), 0 0 0 4px var(--j-teal), 0 12px 28px -10px rgba(40, 34, 26, 0.55); transform: scale(1.08); }
.node.dim, .mark.dim, .tlabel.dim { opacity: 0.3; }
.node.gone { opacity: 0.1; }
.mark.gone { opacity: 0; }
.tlabel.gone { opacity: 0; }
/* Two things that are not people: the objective she is working toward, and the small replies that can wait. */
.node.thing .node-photo { background: rgba(250, 248, 246, 0.96); display: grid; place-items: center; }
.goal-mark { width: 46%; height: 46%; border-radius: 50%; box-shadow: 0 0 0 2px var(--j-teal), inset 0 0 0 7px rgba(250, 248, 246, 1), inset 0 0 0 30px var(--j-teal); }
.node.goal .node-name { font-style: normal; }
.msg-marks { display: flex; gap: 6px; }
.msg-marks img { width: 22px; height: 22px; }
@keyframes j-drift { from { transform: translate(-1.5px, 1px); } to { transform: translate(1.5px, -1.5px); } }

.mark-in { position: absolute; transform: translate(-6px, -50%); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.mark-left { transform: translate(calc(-100% + 6px), -50%); }
.mark-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(43, 39, 34, 0.5); background: var(--j-surface); flex: none; }
.mark-time { font-size: 12px; font-weight: 600; color: var(--room-ink, #2b2722); }
.mark-what { font-size: 12px; color: #6e665b; }
.mark.lit .mark-dot { border-color: var(--j-teal); background: var(--j-teal); box-shadow: 0 0 0 4px rgba(43, 122, 111, 0.16); }
.mark.lit .mark-time { color: var(--j-teal-ink); }

.tlabel-in {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; line-height: 1; color: #6e665b;
  padding: 5px 9px; border-radius: 999px; background: rgba(250, 248, 246, 0.8); box-shadow: 0 0 0 1px var(--j-hair);
  transition: color 0.9s var(--j-ease), background-color 0.9s var(--j-ease), box-shadow 0.9s var(--j-ease);
}
.tlabel.lit .tlabel-in { color: var(--j-teal-ink); background: rgba(250, 248, 246, 0.95); box-shadow: 0 0 0 1px rgba(43, 122, 111, 0.35); }
.map.small .mark:not(.lit), .map.small .tlabel:not(.lit) { opacity: 0; }
.map.small .node-name { font-size: 16px; }

/* The cards: Edron's own organisms (and Kevin's pattern), rising beside the map. Each glass sheet fades itself. */
.cards { position: absolute; inset: 0; pointer-events: none; }
.card { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); transform-origin: 0 0; will-change: transform;
  --fc-label-col-s: 7.75rem; --fc-window-available-block-size: 2400px; }
.card article { opacity: 1 !important; }
.card [data-card-surface], .card .chat, .card .pattern-card { opacity: 0; will-change: opacity; }
.pattern-card { margin: 0; }
.pattern-card img { display: block; width: 100%; height: auto; }
@media (max-height: 859px) { .stage .pattern-card figcaption { display: none; } }
.pattern-card figcaption { margin-top: 4px; padding-left: 7%; font-size: 12px; color: #6e665b; }

/* Her own AI: a neutral chat, so it reads as the AI she already uses (no product's name, logo or look). */
.chat {
  font-family: "Hanken Grotesk", sans-serif; color: #1f1f1f; pointer-events: auto;
  background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 28px 60px -28px rgba(30, 26, 20, 0.45);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.chat-dot { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 200deg, #d9d9d9, #8c8c8c, #d9d9d9); }
.chat-title { font-size: 14px; font-weight: 600; }
.chat-model { margin-left: auto; font-size: 12px; color: #8a8a8a; }
.chat-thread { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; }
.chat-msg p { margin: 0; font-size: 14px; line-height: 1.55; }
.chat-you { align-self: flex-end; max-width: 88%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.chat-you > p { background: #f1f1f1; padding: 10px 14px; border-radius: 18px; }
.chat-ctx { background: #f7f7f7; border: 1px solid #ececec; border-radius: 14px; padding: 10px 12px; max-width: 100%; }
.chat-ctx .chat-ctx-text { margin-top: 8px; font-size: 12.5px; color: #555; }
.chat-ai { max-width: 94%; display: flex; flex-direction: column; gap: 8px; }
.chat-quote { padding-left: 12px; border-left: 2px solid #e2e2e2; color: #3a3a3a; }
.chat-composer { margin: 0 16px 16px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 22px; border: 1px solid #e3e3e3; background: #fafafa; min-height: 46px; }
.chat-placeholder { font-size: 14px; color: #9a9a9a; }
.chat-send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #1f1f1f; display: grid; place-items: center; }
.chat-send img { filter: invert(1); }
.ctx-chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: 500 13px 'Hanken Grotesk', sans-serif; color: var(--j-teal-ink);
  padding: 6px 12px 6px 9px; border-radius: 999px; background: #eef4f2; box-shadow: 0 0 0 1px rgba(43, 122, 111, 0.3);
}
.chat-msg { opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--j-ease), transform 0.7s var(--j-ease); }
.ctx-fly { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; }
@keyframes j-fly {
  0% { opacity: 0; transform: translate(var(--fly-x0), calc(var(--fly-y0) + 8px)); }
  18% { opacity: 1; transform: translate(var(--fly-x0), var(--fly-y0)); }
  82% { opacity: 1; transform: translate(var(--fly-x1), var(--fly-y1)); }
  100% { opacity: 0; transform: translate(var(--fly-x1), var(--fly-y1)); }
}

/* ---------- After the journey: Kevin's sections over the softened room ---------- */
/* The room behind is already soft, so the sections carry no frosted sheet of their own (no seams where one ends). */
.home .section.soft { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .section.soft:after { display: none; }
.after-sources { min-height: 0; padding-top: 140px; padding-bottom: 40px; scroll-snap-align: start; }
.after-sources .section-inner { max-width: 1440px; }
.home .after-sources .product-shot { margin-top: 0; }
.after-sources .home-product-link { margin-top: 6px; }
:is(.home, .subpage) .vision-after .vision-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8vw; align-items: start; }
/* The closing: the fixed room turns to night behind it, so the day ends without an edge. */
.home #invitation.invitation { background: transparent; }

/* ---------- Stacked: phones, touch screens, narrow or tall windows, reduced motion ---------- */
html[data-mode="stack"] .room-sharp { opacity: 1; }
html[data-mode="stack"] .room-frost { display: none; }
html[data-mode="stack"] .passage { height: auto; }
html[data-mode="stack"] .snaps, html[data-mode="stack"] .ctx-fly { display: none; }
html[data-mode="stack"] .stage { position: static; height: auto; overflow: visible; }
html[data-mode="stack"] .stage > .map, html[data-mode="stack"] .stage > .cards { display: none; }
html[data-mode="stack"] .walls { position: static; }
html[data-mode="stack"] .jwall { position: static; width: auto; opacity: 1; padding: 0; display: block; pointer-events: auto; }
html[data-mode="stack"] .jwall.wall-hero { position: relative; min-height: 100svh; padding: 0 4.6%; }
html[data-mode="stack"] .jwall:not(.wall-hero) { padding: 80px var(--j-gutter, 24px) 24px; max-width: 640px; margin: 0 auto; }
/* A soft, edgeless light behind the hero's words, so they stay legible over the window. */
html[data-mode="stack"] .room-scrim { background: linear-gradient(180deg, rgba(236, 232, 224, 0.92) 0%, rgba(236, 232, 224, 0.8) 36%, rgba(236, 232, 224, 0.38) 56%, rgba(236, 232, 224, 0) 70%); }
.sbit { padding: 0 var(--j-gutter, 24px) 40px; max-width: 760px; margin: 0 auto; display: grid; gap: 28px; justify-items: center; }
.sbit .map { position: relative; transform: none; opacity: 1; width: var(--sd); height: var(--sd); }
.sbit .card { position: relative; transform: none; max-width: 100%; }
.sbit .card [data-card-surface], .sbit .card .chat, .sbit .card .pattern-card { opacity: 1; }
.sbit .chat-msg { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .statement { font-size: clamp(34px, 8.8vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .node-photo { animation: none; }
  .th-draw { stroke-dashoffset: 0; }
}

/* Visual checks only (?check): every transition lands at once, so a still capture shows the final state. */
html.check *, html.check *::before, html.check *::after { transition: none !important; animation-duration: 0.001s !important; animation-delay: 0s !important; }

/* Kevin's sections after the journey sit closer together: each one is about a screen, not a full screen of air. */
:is(.home, .subpage) .vision-after { min-height: 0; padding-top: 110px; padding-bottom: 110px; }
.home #research { min-height: 0; padding-top: 90px; padding-bottom: 130px; }

/* ---------- Round 2 ---------- */
/* A source's mark where a face would be (Edron's avatar circle, the mark inside it). */
.src-avatar { background: #fff; box-shadow: inset 0 0 0 1px rgba(43, 39, 34, 0.1); display: inline-grid; place-items: center; }
.src-avatar > img { width: 82%; height: 82%; object-fit: contain; }
.src-glyph { object-fit: contain; }
.slot-mark { width: 14px; height: 14px; margin-inline-end: 2px; vertical-align: -2px; }
.slot-mark + .slot-mark { margin-inline-start: -1px; }
._heading_1yte1_1:has(.head-mark) { display: flex; align-items: center; justify-content: space-between; }
.head-mark { width: 16px; height: 16px; }

/* The pattern organism: Edron's card anatomy, with a calm week strip. */
.pt-weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fc-space-s); padding: var(--fc-space-xs) 0 2px; }
.pt-week { display: grid; gap: 6px; }
.pt-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; padding-bottom: 1px; border-bottom: 1px solid var(--fc-hairline); }
.pt-bars i { flex: 1; height: max(3px, calc(var(--h) * 100%)); border-radius: 3px 3px 1px 1px; background: rgba(43, 39, 34, 0.18); }
.pt-now .pt-bars i { background: rgba(43, 122, 111, 0.55); }
.pt-rows, .bt-rows { display: flex; flex-direction: column; }
.pt-rows ._row_1xgx7_1, .bt-rows ._row_1xgx7_1 { cursor: default; }
.pt-principle { display: flex; align-items: center; gap: var(--fc-space-s); padding: var(--fc-space-xs) var(--fc-space-s); border-radius: var(--fc-radius-s, 12px); background: rgba(43, 122, 111, 0.07); box-shadow: inset 0 0 0 1px rgba(43, 122, 111, 0.18); }
.pt-principle p { margin: 0; }

/* Bring to my AI: Edron's context export, extended. */
.bt-mark { width: 13px; height: 13px; vertical-align: -2px; }
.bt-said { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-style: italic; color: var(--fc-ink, #2b2722); }
.bt-control { display: flex; align-items: center; justify-content: space-between; gap: var(--fc-space-s); flex-wrap: wrap; }
.bt-toggles { display: flex; flex-direction: column; gap: 10px; }
.bt-toggle { display: inline-flex; align-items: center; gap: 10px; }
.bt-toggle i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(43, 39, 34, 0.16); flex: none; }
.bt-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.bt-toggle.on i { background: var(--j-teal); }
.bt-toggle.on i::after { left: 14px; }
.bt-dest { display: flex; gap: 6px; }
.bt-ai { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px; font-size: 13px; color: var(--fc-ink, #2b2722); box-shadow: inset 0 0 0 1px var(--fc-hairline, rgba(71, 62, 52, 0.16)); }
.bt-ai img { width: 16px; height: 16px; }
.bt-ai.on { box-shadow: inset 0 0 0 1.5px var(--j-teal); background: rgba(43, 122, 111, 0.07); }
.bt-open-mark img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* The right-click: a pointer, Edron's menu, then the window. */
.ctx-menu { position: absolute; left: 0; top: 0; z-index: 4; display: flex; flex-direction: column; padding: 6px; min-width: 196px; opacity: 0; pointer-events: none;
  transform: translate(var(--m-x, 0px), var(--m-y, 0px)) scale(0.96); transform-origin: 0 0; }
.ctx-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--fc-ink, #2b2722); }
.ctx-item svg { width: 16px; height: 16px; color: #6e665b; }
.ctx-item.on { background: rgba(43, 122, 111, 0.1); color: var(--j-teal-ink); }
.ctx-item.on svg { color: var(--j-teal-ink); }
.pointer { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.stage[data-step="8"] .pointer { animation: j-pointer 7.3s var(--j-ease) 0.9s both; }
.stage[data-step="8"] .ctx-menu { animation: j-menu 1.4s var(--j-ease) 1.9s both; }
/* The window opens after the menu, and gives way to her chat a calm beat after "Open in Claude" is pressed. */
.stage[data-step="8"] .card-bring [data-card-surface] { animation: j-window-out 5.5s var(--j-ease) 3.2s both; }
.stage[data-step="8"] .card-chat .chat { animation: j-window 0.8s var(--j-ease) 8.7s both; }
.stage[data-step="8"] .card-bring .bt-open { animation: j-press 0.5s ease 7.5s both; }
@keyframes j-pointer {
  0% { opacity: 0; transform: translate(calc(var(--p0-x) + 40px), calc(var(--p0-y) + 46px)); }
  5.5% { opacity: 1; }
  9.6% { transform: translate(var(--p0-x), var(--p0-y)); }
  11% { transform: translate(var(--p0-x), var(--p0-y)) scale(0.88); }
  13% { transform: translate(var(--p0-x), var(--p0-y)); }
  16.4% { transform: translate(var(--p0-x), var(--p0-y)); }
  20.5%, 26% { transform: translate(var(--p1-x), var(--p1-y)); }
  27.4% { transform: translate(var(--p1-x), var(--p1-y)) scale(0.88); }
  29% { transform: translate(var(--p1-x), var(--p1-y)); }
  46.6% { transform: translate(var(--p3-x), var(--p3-y)); }
  48.6% { transform: translate(var(--p3-x), var(--p3-y)) scale(0.88); }
  50.7% { transform: translate(var(--p3-x), var(--p3-y)); }
  66% { transform: translate(var(--p3-x), var(--p3-y)); }
  71.2% { transform: translate(var(--p4-x), var(--p4-y)); }
  73.3% { transform: translate(var(--p4-x), var(--p4-y)) scale(0.88); }
  75.3% { transform: translate(var(--p4-x), var(--p4-y)); }
  87.7% { opacity: 1; transform: translate(var(--p2-x), var(--p2-y)); }
  89.7% { transform: translate(var(--p2-x), var(--p2-y)) scale(0.88); }
  92% { opacity: 1; transform: translate(var(--p2-x), var(--p2-y)); }
  100% { opacity: 0; transform: translate(var(--p2-x), var(--p2-y)); }
}

@keyframes j-menu {
  0% { opacity: 0; transform: translate(var(--m-x), var(--m-y)) scale(0.96); }
  14%, 70% { opacity: 1; transform: translate(var(--m-x), var(--m-y)) scale(1); }
  100% { opacity: 0; transform: translate(var(--m-x), var(--m-y)) scale(1); }
}
@keyframes j-window { from { opacity: 0; } to { opacity: 1; } }
@keyframes j-window-out { 0% { opacity: 0; } 14% { opacity: 1; } 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes j-press { 0% { transform: none; } 40% { transform: scale(0.96); } 100% { transform: none; } }
.chat-marks { display: inline-flex; gap: 4px; }
.chat-marks img { width: 20px; height: 20px; }
.stage[data-step="8"] .ctx-fly { animation: j-fly 1.4s var(--j-ease) 8.4s both; }
.stage[data-step="8"] .chat-you { opacity: 1; transform: none; transition-delay: 9.6s; }
.stage[data-step="8"] .chat-ai { opacity: 1; transform: none; transition-delay: 10.8s; }
html[data-mode="stack"] .ctx-menu, html[data-mode="stack"] .pointer { display: none; }
.sbit .card-bring [data-card-surface] { opacity: 1; }

.home #research .wall h2 { margin: 14px 0 22px; }
.jwall .teal { color: var(--room-teal, #2b7a6f); }

/* ---------- Round 4 ---------- */
.src-glyph { width: 18px !important; height: 18px !important; }
.li-badge { background: #fff; padding: 0; overflow: hidden; }
.li-badge > img { width: 72%; height: 72%; border-radius: 3px; display: block; }
.slot-sep { margin-inline: 2px 4px; color: var(--fc-faint, #8f877c); }
.day-next { margin-block-end: var(--fc-space-2xs); }
.day-next ._block_a1bs5_47 { margin-block-start: var(--fc-space-2xs); }
.pt-principle ._glyph_1106k_1 { width: 46px !important; height: 46px !important; inline-size: 46px !important; block-size: 46px !important; flex: none; }
.pt-principle ._glyph_1106k_1 svg { width: 26px !important; height: 26px !important; inline-size: 26px !important; block-size: 26px !important; }
/* Mara first: on the still step she is alone in the window; the rest of her world arrives one by one. */
.map.solo [data-key]:not([data-key="n:mara"]) { opacity: 0 !important; }
.map.solo .lasso { opacity: 0; }
.map.arriving [data-key] { transition-delay: var(--d, 0s); }
.slot-pair { display: inline-flex; align-items: center; white-space: nowrap; }

/* ---------- Round 5 ---------- */
/* One size for app and source marks on every card: the Evidence card's own (Edron's --fc-icon-ms). */
.src-avatar > img, .slot-mark, .head-mark, .bt-mark, .app-mark, .bt-ai img, .chat-marks img, .att-mark img,
.bt-open-mark img, .src-glyph, .pt-rows .src-avatar > img { width: var(--fc-icon-ms, 1.0859rem) !important; height: var(--fc-icon-ms, 1.0859rem) !important; }
.slot-mark { margin-inline-end: 4px; vertical-align: -3px; }
.slot-pair { gap: 0; }
/* Focor's own block in the day (not a calendar meeting). */
.focor-block { position: relative; background: rgba(43, 122, 111, 0.06) !important; box-shadow: inset 0 0 0 1px rgba(43, 122, 111, 0.3) !important; }
.focor-node { border-color: var(--j-teal) !important; background: var(--j-teal) !important; }
.focor-tag { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--j-teal-ink); padding: 2px 8px; border-radius: 999px; background: rgba(43, 122, 111, 0.1); }
/* Bring to my AI: a text box with directions that drop down, narrow as she types, and complete. */
.bt-faces { display: inline-flex; }
.bt-faces ._avatar_1f9to_1 + ._avatar_1f9to_1 { margin-inline-start: -8px; box-shadow: 0 0 0 2px #faf8f6; }
.bt-ask-wrap { position: relative; }
.bt-ask { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(71, 62, 52, 0.18); font-size: 15px; color: var(--fc-ink, #2b2722); transition: box-shadow 0.3s ease; }
.bt-ask-wrap.focused .bt-ask, .bt-ask-wrap.open .bt-ask { box-shadow: inset 0 0 0 1.5px var(--j-teal), 0 0 0 4px rgba(43, 122, 111, 0.12); }
.bt-ghost { color: #a39c93; }
.bt-placeholder { position: absolute; left: 14px; color: #8f877c; pointer-events: none; }
.bt-ask-wrap.focused .bt-placeholder, .bt-ask-wrap.picked .bt-placeholder { opacity: 0; }
.bt-caret { width: 1.5px; height: 18px; margin-left: 1px; background: var(--j-teal); opacity: 0; }
.bt-ask-wrap.focused:not(.picked) .bt-caret { opacity: 1; animation: j-caret 1s steps(1) infinite; }
@keyframes j-caret { 50% { opacity: 0; } }
.bt-ask-wrap.picked .bt-ask { background: rgba(43, 122, 111, 0.07); box-shadow: inset 0 0 0 1px rgba(43, 122, 111, 0.35); color: var(--j-teal-ink); font-weight: 500; }
.bt-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 3; margin: 0; padding: 6px; list-style: none; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.35s var(--j-ease), transform 0.35s var(--j-ease); pointer-events: none; }
.bt-ask-wrap.open .bt-list { opacity: 1; transform: none; }
.bt-list li { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--fc-ink, #2b2722); }
.bt-list li.out { display: none; }
.bt-list li.hot { background: rgba(43, 122, 111, 0.1); color: var(--j-teal-ink); }
/* Her chat: Focor's context arrives as one compact attachment, like a file. */
.chat-attach { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: #f7f7f7; box-shadow: inset 0 0 0 1px #e8e8e8; max-width: 100%; }
.att-mark { width: 34px; height: 34px; border-radius: 9px; background: #eef4f2; display: grid; place-items: center; flex: none; }
.att-words { display: flex; flex-direction: column; min-width: 0; }
.att-title { font-size: 13.5px; font-weight: 600; color: #1f1f1f; }
.att-sub { font-size: 12px; color: #6b6b6b; }
.att-more svg { width: 16px; height: 16px; color: #8a8a8a; }
.chat-points { list-style: decimal; margin: 2px 0; padding-left: 22px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: #2a2a2a; }
.chat-thread { gap: 14px; }
.bt-toggles { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
.bt-size { margin-inline-start: auto; }
.app-mark { margin-inline-end: 5px; vertical-align: -3px; }
.slot-pair.slot-wrap { display: inline; white-space: normal; }

/* ---------- Round 6 ---------- */
/* App and source marks stand on their own at the one size: no circle around a small mark. */
.src-avatar { background: none !important; box-shadow: none !important; }
.row-mark { width: var(--fc-icon-ms, 1.0859rem) !important; height: var(--fc-icon-ms, 1.0859rem) !important; display: block; margin: 0 auto; }
.contact-row { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-row a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.contact-row .app-mark { margin: 0; vertical-align: 0; }
.day-date { display: inline-flex; align-items: center; gap: 4px; }
.day-next-arrow { width: 16px; height: 16px; }
/* Each slot's second line sits on the text, not on its mark: the mark never makes the line taller. */
.slot-pair, .slot-pair.slot-wrap { display: inline; white-space: nowrap; }
.slot-pair.slot-wrap { white-space: normal; }
.slot-pair .slot-mark { display: inline-block; vertical-align: -0.28em; margin-block: -0.3em; margin-inline-end: 5px; }
.slot-sep { margin-inline: 4px 6px; }
/* On a phone the two sources take a line each; the dot would be left hanging at the end of the first. */
@media (max-width: 560px) {
  .slot-sep { display: none; }
  :has(> .slot-sep) { column-gap: 14px !important; row-gap: 4px !important; }
}
/* Mara fades in once the camera has settled; the window is empty until then. */
.map.empty [data-key] { opacity: 0 !important; }
.map [data-key="n:mara"] { transition: opacity 0.8s ease; }
.li-badge { width: calc(var(--fc-icon-ms, 1.0859rem) + 4px) !important; height: calc(var(--fc-icon-ms, 1.0859rem) + 4px) !important; }
.li-badge > img { width: var(--fc-icon-ms, 1.0859rem) !important; height: var(--fc-icon-ms, 1.0859rem) !important; border-radius: 3px; }

/* ---------- Round 7 ---------- */
/* Noor's header in two columns: who she is on the left, where she is and how to reach her on the right, at the height
   of her photo. On a narrow card the details go under her name. */
.noor-head { display: grid !important; grid-template-columns: 14.25rem minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
.noor-facts { display: flex; flex-direction: column; min-inline-size: 0; }
.noor-facts ._labelled_1dex1_2 { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 0.5rem; padding-block: var(--fc-space-3xs); border: 0 !important; }
.noor-facts ._value_1dex1_6 { overflow-wrap: normal; white-space: nowrap; }
@container (width < 30rem) {
  .noor-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--fc-space-s); }
  .noor-facts ._value_1dex1_6 { white-space: normal; }
}
.rel-with { display: inline-flex; align-items: center; gap: 5px; }
.rel-face { --pk-size: 1.25rem !important; }
.noor-facts .contact-row { column-gap: 14px; flex-wrap: nowrap; }
/* Day card: each mark is centred on its line of text (between the x-height and the capitals), not sitting low. */
.slot-pair .slot-mark { vertical-align: -0.125em; }
/* Her last message sits under how to reach her; its date and subject may take two lines there. */
.noor-facts .noor-last ._value_1dex1_6 { white-space: normal; }
.noor-facts .noor-last ._line_ejq6l_1 { flex-wrap: wrap; }
.noor-facts ._labelled_1dex1_2.noor-last { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding-block-start: var(--fc-space-2xs); }
.noor-facts .noor-last ._label_1dex1_2 { white-space: nowrap; }
.noor-facts .noor-last ._part_ejq6l_7 { white-space: nowrap; }

/* ---------- Round 8 ---------- */
/* Noor's card is drawn a little wider at the others' scale, so her header's two columns hold their lines. */
.noor-head { grid-template-columns: 17.25rem minmax(0, 1fr); }
@container (width < 30rem) { .noor-head { grid-template-columns: minmax(0, 1fr); } }
/* Each label sits on its value's line of text: the words carry the baseline, the icon centres on them. */
.noor-facts ._label_1dex1_2 { align-items: baseline; }
.noor-facts ._label_1dex1_2 > svg { align-self: center; }
.noor-facts .noor-people { align-items: center; }
/* How to reach her: Edron's small icon buttons, the mark alone at the one app size. */
.noor-facts .contact-row { column-gap: 8px; }
.contact-row .contact-btn { display: inline-grid; place-items: center; text-decoration: none; }
.contact-row .contact-btn .app-mark { margin: 0; }
/* "Reports to you" is quieter than the company it follows. */
.rel-reports { color: var(--fc-faint, #8f877c); }
.aster-mark { margin: 0; flex: none; }
/* Day card: the dot between two sources has the same space on both sides. */
@media (min-width: 561px) {
  .slot-sep { margin-inline: 0; }
  :has(> .slot-sep) { column-gap: 5px !important; }
}
.aster-part { grid-auto-flow: column; column-gap: 1px; }
.aster-part .aster-mark { align-self: center; margin: 0; }

/* ---------- Round 9 ---------- */


/* ---------- Round 10 ---------- */
/* How it starts: a quiet invitation where the journey ends, three calm steps, the tools Focor reads, the privacy facts. */
.home-start .section-inner { display: block; }
.start-invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 52px; margin-bottom: 64px; border-bottom: 1px solid rgba(163, 154, 134, 0.3); }
.start-invite p { font: 500 clamp(28px, 2.4vw, 40px)/1.15 'Cormorant Garamond', serif; color: var(--room-ink, #2b2722); }
.start-invite .text-link { margin-top: 0; }
.home-start h2 { font-size: clamp(40px, 3.6vw, 64px); margin-bottom: 40px; }
.start-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); margin: 0; padding: 0; }
.start-n { margin-top: 22px; font-size: 12px; letter-spacing: 0.12em; color: var(--room-teal, #2b7a6f); }
.start-step h3 { margin-top: 8px; max-width: 22ch; font: 500 clamp(22px, 1.75vw, 29px)/1.2 'Cormorant Garamond', serif; color: var(--room-ink, #2b2722); }
.start-visual { position: relative; height: 172px; padding: 22px 24px; border-radius: 22px; overflow: hidden; font-family: 'Hanken Grotesk', sans-serif;
  background: rgba(250, 248, 246, 0.74); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 40px -26px rgba(67, 52, 36, 0.35); }
.sv-connect { display: flex; flex-direction: column; justify-content: center; }
.sv-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 15px; color: #2b2722; }
.sv-row + .sv-row { border-top: 1px solid rgba(43, 39, 34, 0.08); }
.sv-row img { width: 20px; height: 20px; }
.sv-row em { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; color: #2b7a6f; }
.sv-check { width: 14px; height: 14px; }
.sv-map { display: grid; place-items: center; padding: 0; }
.sv-plane { position: relative; width: 260px; height: 150px; }
.sv-threads { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #2b7a6f; stroke-width: 1.2; opacity: 0.5; }
.sv-node { position: absolute; display: grid; justify-items: center; }
.sv-node img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(250, 248, 246, 0.95), 0 6px 14px -8px rgba(43, 39, 34, 0.5); }
.sv-mara img { width: 52px; height: 52px; box-shadow: 0 0 0 2px #2b7a6f, 0 0 0 4px rgba(250, 248, 246, 0.95), 0 8px 18px -8px rgba(43, 39, 34, 0.5); }
.sv-node b { margin-top: 4px; font: 500 14px/1 'Cormorant Garamond', serif; color: #2b2722; }
.sv-chip { position: absolute; padding: 3px 9px; border-radius: 999px; font-size: 11px; white-space: nowrap; color: #2b7a6f; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 1px rgba(43, 122, 111, 0.22); }
.sv-morning { display: flex; flex-direction: column; justify-content: center; }
.sv-when { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6e665b; }
.sv-aperture svg { width: 16px; height: 16px; display: block; }
.sv-hello { margin-top: 12px; font: 500 26px/1.1 'Cormorant Garamond', serif; color: #2b2722; }
.sv-line { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #3d3831; max-width: 30ch; }
.start-tools { margin-top: 64px; }
.start-tools-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6e665b; }
.tool-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 16px 0 0; padding: 0; }
.tool-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; color: #2b2722;
  background: rgba(250, 248, 246, 0.66); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.08); }
.tool-list img { width: 22px; height: 22px; object-fit: contain; }
.start-more { margin-top: 18px; font-size: 15px; color: #615d55; }
.start-more a { color: #2b7a6f; text-decoration: underline; text-decoration-color: rgba(43, 122, 111, 0.4); text-underline-offset: 3px; }
.start-more a:hover { text-decoration-color: #2b7a6f; }
.start-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 48px; }
.start-foot .trust-note { margin: 0; max-width: 62ch; }
.start-foot .home-product-link { margin: 0; flex: none; }
@media (max-width: 900px) {
  .start-steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .start-invite { flex-direction: column; align-items: flex-start; padding-bottom: 36px; margin-bottom: 44px; }
  .start-foot { flex-direction: column; align-items: flex-start; }
}

/* Mara's You card between Kevin's two text blocks. Each word shows its part of her card; the glass stays still and
   only what is inside it crossfades; the four states share one place, so the card never changes size. */
:is(.home, .subpage) .vision-after .vision-columns { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
.facet { cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.14em; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.facet.on, .facet:focus-visible { color: #2b7a6f; text-decoration-color: rgba(43, 122, 111, 0.45); outline: none; }
@media (max-width: 1180px) {
  :is(.home, .subpage) .vision-after .vision-columns { grid-template-columns: minmax(0, 1fr) auto; row-gap: 56px; }
  :is(.home, .subpage) .vision-after .vision-preview { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :is(.home, .subpage) .vision-after .vision-columns { grid-template-columns: minmax(0, 1fr); }
  .facet { pointer-events: none; text-decoration: none; }
  .facet.on { color: inherit; }
}


@media (prefers-reduced-motion: reduce) {
  .facet { transition: none; }
}

/* ---------- Round 11: journey timing ---------- */
/* On every step change, what is not part of the next step leaves quickly (0.25 s); what arrives keeps its calm pace.
   (A transition is set by the state being entered, so the dim and hidden states carry the short one.) Threads keep
   their own drawing time. */
.node.dim, .node.gone, .mark.dim, .mark.gone, .tlabel.dim, .tlabel.gone { transition-duration: 0.25s; transition-timing-function: ease-out; }
.node.dim .node-photo, .node.gone .node-photo { transition-duration: 0.25s; transition-timing-function: ease-out; }
.tlabel.dim .tlabel-in, .tlabel.gone .tlabel-in { transition-duration: 0.25s; }
.th.dim, .th.gone { transition-duration: 0.25s, 0.25s, 0.25s, 0.25s, 1.8s; transition-timing-function: ease-out, ease-out, ease-out, ease-out, var(--j-ease-out); }
/* The AI step starts sooner: the lasso draws itself 0.35 s after the step arrives, and the pointer's right-click
   follows a second earlier than before (the whole sequence moved 1 s forward, with its timers in journey.js). */
.stage[data-step="8"] .lasso { animation: j-lasso 0.7s var(--j-ease) 0.35s both; }
@keyframes j-lasso { from { opacity: 0; stroke-dashoffset: 26; } to { opacity: 1; stroke-dashoffset: 0; } }

/* ---------- Round 11 ---------- */
/* Noor: her contact marks bare (no circles); her request breaks before "sheet" on a desktop. */
.contact-row .contact-mark { display: inline-flex; align-items: center; text-decoration: none; }
.contact-row .contact-mark .app-mark { margin: 0; }
.noor-facts .contact-row { column-gap: 12px; }
@media (max-width: 760px) { .desk-br { display: none; } }

/* How to get into your own room. */
.home-start h2 { margin-bottom: 44px; }
.start-step h3 { margin-top: 22px; }
.start-visual { height: 200px; }
.sv-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; align-content: center; height: 100%; }
.sv-tools li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.06); font-size: 13px; color: #2b2722; }
.sv-tools img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.sv-tools span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-tools .sv-check { margin-left: auto; flex: none; color: #2b7a6f; }
.sv-plane { width: 300px; height: 170px; }
.sv-node, .sv-thing { transform: translate(-50%, -50%); }
.sv-mara img { width: 50px; height: 50px; }
.sv-node img { width: 36px; height: 36px; }
.sv-mara img { width: 50px; height: 50px; }
.sv-thing { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 6px; border-radius: 999px; font-size: 11px; white-space: nowrap; color: #3d3831;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.1), 0 4px 10px -6px rgba(43, 39, 34, 0.3); }
.sv-thing.lit { color: #2b7a6f; box-shadow: 0 0 0 1px rgba(43, 122, 111, 0.35), 0 4px 10px -6px rgba(43, 39, 34, 0.3); }
.sv-thing img { width: 15px; height: 15px; }
.sv-glyph { display: inline-grid; place-items: center; width: 16px; height: 16px; color: #2b7a6f; }
.sv-glyph-icon { width: 14px; height: 14px; }
.sv-goal { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #2b7a6f, inset 0 0 0 3.5px #fff, inset 0 0 0 9px #2b7a6f; }
.sv-threads { stroke-width: 1; opacity: 0.4; }
/* The third box is her room in daylight, with Focor's morning line resting on its wall, as in the hero. */
.sv-room { padding: 0; background: #ece8e0 url(../assets/sized/room-day-1280.webp?v=4011ef45a5) no-repeat 6% 34% / 300% auto; }
.sv-room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(236, 232, 224, 0.55), rgba(236, 232, 224, 0.1) 72%); pointer-events: none; }
.sv-wall { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 26px; max-width: 78%; }
.sv-room .sv-hello { margin: 0; font: 500 30px/1.05 'Cormorant Garamond', serif; color: #2b2722; letter-spacing: -0.01em; }
.sv-room .sv-line { margin-top: 10px; font-size: 14px; line-height: 1.5; color: #4a443c; }

/* The tools Focor understands: their own band, larger tiles. */
.tools-band { margin-top: 88px; padding-top: 56px; border-top: 1px solid rgba(163, 154, 134, 0.3); }
.band-title { font: 500 clamp(28px, 2.4vw, 40px)/1.15 'Cormorant Garamond', serif; color: var(--room-ink, #2b2722); margin: 0; }
.tool-tiles { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.tool-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 118px; padding: 12px; border-radius: 20px; text-align: center; font-size: 13px; color: #2b2722;
  background: rgba(250, 248, 246, 0.72); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 14px 30px -24px rgba(67, 52, 36, 0.4); }
.tool-tiles img { width: 36px; height: 36px; object-fit: contain; }
.tools-band .start-more { margin-top: 22px; font-size: 16px; }
/* Trust and privacy: their own calm block, the same facts in three points. */
.trust-block { margin-top: 72px; padding: 40px 44px; border-radius: 26px; background: rgba(250, 248, 246, 0.6); box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.trust-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trust-points li { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon { width: 22px; height: 22px; flex: none; color: #2b7a6f; margin-top: 1px; }
.trust-points p { margin: 0; font-size: 15px; line-height: 1.55; color: #615d55; }
.trust-points strong { display: block; font-weight: 600; color: #2b2722; margin-bottom: 2px; }
.trust-links { display: flex; gap: 10px; margin-top: 26px; font-size: 13px; color: #6e665b; }
.trust-links a { color: #2b7a6f; text-decoration: underline; text-decoration-color: rgba(43, 122, 111, 0.35); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .trust-block { padding: 28px 22px; }
  .trust-points { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tool-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tool-tiles li { height: 104px; font-size: 12px; }
}

/* Who are you: her title and company on one line (the card itself is css/you-k7.css). */
.you-co { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 14px; color: #6e665b; }
.you-co .app-mark { margin: 0; }
/* The three words invite a pointer: a quiet dotted line under each. */
.facet { text-decoration: underline dotted; text-decoration-color: rgba(43, 39, 34, 0.32); text-decoration-thickness: 1.5px; text-underline-offset: 0.16em; }
.facet.on, .facet:focus-visible { text-decoration-color: rgba(43, 122, 111, 0.55); }

/* Each tool's check sits on its mark, so the full name fits. */
.sv-tools li { position: relative; padding: 8px 10px 8px 9px; gap: 9px; font-size: 12.5px; }
.sv-tools .sv-check { position: absolute; left: 21px; top: 21px; margin: 0; width: 11px; height: 11px; padding: 1.5px; border-radius: 50%; background: #2b7a6f; color: #fff; stroke-width: 3; }
.sv-tools span { overflow: visible; text-overflow: clip; }
/* Her room: the wall where the words rest and the window beyond, as the hero shows it. */
.sv-room { background-size: 118% auto; background-position: 22% 42%; }
.sv-room::after { background: linear-gradient(90deg, rgba(236, 232, 224, 0.6) 0%, rgba(236, 232, 224, 0.35) 46%, rgba(236, 232, 224, 0) 70%); }
.sv-wall { max-width: 62%; padding: 0 22px; }
.sv-room .sv-hello { font-size: 27px; }
.sv-room .sv-line { font-size: 13px; }
.sv-room { background-size: 128% auto; background-position: 0% 40%; }
.sv-wall { max-width: 50%; padding: 0 0 0 22px; }
.sv-room .sv-hello { font-size: 24px; }
.sv-room .sv-line { font-size: 12.5px; line-height: 1.45; }
@media (max-width: 760px) {
  .start-visual.sv-connect { height: auto; padding: 18px; }
  .sv-tools { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Round 12a ---------- */
/* Her title, quiet, before the company. */
.you-sep { margin: 0 2px; opacity: 0.7; }

/* ---------- Round 13 ---------- */
/* Privacy and security: Lucide icons (Edron's line style), larger, each in a soft tile. */
.trust-points li { align-items: flex-start; gap: 16px; }
.trust-tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(43, 122, 111, 0.09); box-shadow: inset 0 0 0 1px rgba(43, 122, 111, 0.14); }
.trust-tile .trust-icon { width: 26px; height: 26px; margin: 0; stroke-width: 1.6; color: #2b7a6f; }
.trust-points p { padding-top: 4px; }
/* The meeting chip on the map: its name and time sit together inside it. */
.sv-thing.sv-meet { gap: 6px; }
.sv-meet b { font-weight: 600; color: #2b7a6f; }
.nowrap { white-space: nowrap; }

/* A chip near the plane's edge keeps its own width (the browser would otherwise squeeze it to the space left). */
.sv-thing, .sv-node { width: max-content; }

/* ---------- How a card arrives: css/arrive.css ---------- */
.start-visual { isolation: isolate; }

/* ---------- Round 16: the three words are clear controls; "Scroll to enter" ---------- */
/* Each word has its own line (dotted and muted; solid teal on hover or once chosen) and a small round arrow after it.
   A short caption says what they do. The first time the section is fully in view the lines draw in, one after another,
   and the arrows fade in after them (js/you-k7.js adds .facet-intro); nothing else moves. */
.facet, .facet.on, .facet.kept, .facet:focus-visible { text-decoration: none; }
.facet { white-space: nowrap; }
.facet-word { position: relative; display: inline-block; }
.facet-line { position: absolute; left: 0; right: 0; bottom: 0.02em; height: 1.5px; transform-origin: 0 50%;
  background: repeating-linear-gradient(90deg, rgba(43, 39, 34, 0.34) 0 2px, transparent 2px 5px); }
.facet-line b { position: absolute; inset: 0; background: #2b7a6f; opacity: 0; transition: opacity 0.3s ease; }
.facet.on .facet-line b, .facet.kept .facet-line b, .facet:hover .facet-line b, .facet:focus-visible .facet-line b { opacity: 1; }
.facet-go { position: relative; display: inline-grid; place-items: center; width: 0.56em; height: 0.56em; margin-left: 0.24em; vertical-align: 0.06em;
  border-radius: 50%; color: #8a857a; box-shadow: inset 0 0 0 1px rgba(43, 39, 34, 0.2); transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.facet-go-icon { width: 0.32em; height: 0.32em; }
.facet.on .facet-go, .facet.kept .facet-go, .facet:hover .facet-go, .facet:focus-visible .facet-go { color: #2b7a6f; box-shadow: inset 0 0 0 1px rgba(43, 122, 111, 0.55); background: rgba(43, 122, 111, 0.06); }
.vision-after .wall p.facet-hint, .facet-hint { display: flex; align-items: center; gap: 8px; max-width: none; margin: 14px 0 0; font-size: 13.5px; line-height: 1.4; color: #6e665b; }
.facet-hint-icon { width: 17px; height: 17px; flex: none; color: #8a857a; }
.facet-hint + p { margin-top: 18px; }
@media (max-width: 1400px) and (min-width: 761px) { .vision-after .wall p.facet-hint { font-size: 13px; gap: 7px; letter-spacing: -0.005em; } }
.facet-armed .facet-line { transform: scaleX(0); }
.facet-armed .facet-go { opacity: 0; }
.facet-armed.facet-intro .facet-line { transform: none; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 300ms); }
.facet-armed.facet-intro .facet-go { opacity: 1; transition: opacity 0.3s ease calc(900ms + var(--i) * 100ms), color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
@media (max-width: 760px) {
  .facet-word .facet-line, .facet-go, .vision-after .wall p.facet-hint { display: none; }
}

/* The hero: "Scroll to enter", at the bottom on the headline's left edge; a small dot travels down a thin line and
   fades, calmly, every 2 s. It goes for good after the first step (journey.js adds .gone). */
.scroll-hint { position: absolute; left: 4.6%; bottom: clamp(28px, 5vh, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #6e665b; pointer-events: none; transition: opacity 0.6s ease; }
.scroll-hint.gone { opacity: 0; }
.scroll-hint-line { position: relative; display: block; width: 1px; height: 44px; margin-left: 2px; background: rgba(43, 39, 34, 0.2); overflow: hidden; }
.scroll-hint-line i { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #2b7a6f; opacity: 0;
  animation: scroll-dot 2s cubic-bezier(0.45, 0, 0.35, 1) 1s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(-4px); } 25% { opacity: 1; } 80% { opacity: 0; transform: translateY(38px); } 100% { opacity: 0; transform: translateY(38px); } }
html[data-mode="stack"] .scroll-hint { bottom: 24px; gap: 9px; font-size: 11px; }
html[data-mode="stack"] .scroll-hint-line { height: 32px; }
html[data-mode="stack"] .scroll-hint-line i { animation-name: scroll-dot-s; }
@keyframes scroll-dot-s { 0% { opacity: 0; transform: translateY(-4px); } 25% { opacity: 1; } 80% { opacity: 0; transform: translateY(27px); } 100% { opacity: 0; transform: translateY(27px); } }
@media (prefers-reduced-motion: reduce) {
  .scroll-hint-line i { animation: none; opacity: 1; top: 12px; }
  .facet-line b, .facet-go { transition: none; }
}

/* ---------- Round 17: "A look inside" ---------- */
/* One chapter label over the product steps. The product steps' words start at one height, so the label can stay
   still while the headline and lead change under it (journey.js fades it in with the map step and out at the end). */
.chapter { margin: 0 0 18px; font-size: clamp(10px, 0.82vw, 14px); font-weight: 500; letter-spacing: 0.19em; line-height: 1.3; text-transform: uppercase; color: var(--room-teal, #2b7a6f); }
.jwall.jwall-product { justify-content: flex-start; padding-top: 38vh; }
.chapter-in { display: none; }
.walls .chapter-float { position: absolute; left: var(--j-gutter, 4.6%); top: calc(38vh - 1.3em - 18px); margin: 0; opacity: 0; will-change: opacity; }
/* "Mara's Focor": a quiet glass pill on the window's top edge, placed by journey.js. */
.window-tag {
  position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 10px;
  border-radius: 999px; font: 500 12.5px/1 'Hanken Grotesk', sans-serif; letter-spacing: 0.01em; color: #2b2722; white-space: nowrap; pointer-events: none;
  background: rgba(250, 248, 246, 0.72); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.08), 0 6px 18px -10px rgba(67, 52, 36, 0.35); opacity: 0; transition: opacity 0.6s ease;
}
.window-tag-mark { width: 15px; height: 15px; color: #2b2722; }
html[data-mode="stack"] .chapter-float, html[data-mode="stack"] .stage > .window-tag { display: none; }
html[data-mode="stack"] .chapter-in { display: block; margin-bottom: 14px; font-size: 10.5px; }
html[data-mode="stack"] .sbit .window-tag { position: relative; justify-self: center; opacity: 1; transition: none; }


/* Round 18 (Kevin): the scroll cue is a calm mark at the bottom centre of the hero, above the room's floor: "Scroll"
   in small capitals, and under it a slim line down which a dot glides and fades, slowly. It still goes for good after
   the first step; reduced motion shows it still. (Replaces round 16's bottom-left placement.) */
.scroll-hint { left: 50%; right: auto; bottom: clamp(14px, 2.2vh, 26px); transform: translateX(-50%); align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; color: #5f594f; }
.scroll-hint-label { padding-left: 0.22em; }
.scroll-hint-line { height: 40px; margin-left: 0; background: rgba(43, 39, 34, 0.3); }
.scroll-hint-line i { left: -2px; animation: scroll-dot 2.6s cubic-bezier(0.45, 0, 0.35, 1) 1s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(-4px); } 22% { opacity: 1; } 78% { opacity: 0; transform: translateY(35px); } 100% { opacity: 0; transform: translateY(35px); } }
html[data-mode="stack"] .scroll-hint { bottom: 20px; gap: 9px; font-size: 10px; }
html[data-mode="stack"] .scroll-hint-line { height: 30px; }
html[data-mode="stack"] .scroll-hint-line i { animation-name: scroll-dot-s; }
@keyframes scroll-dot-s { 0% { opacity: 0; transform: translateY(-4px); } 22% { opacity: 1; } 78% { opacity: 0; transform: translateY(25px); } 100% { opacity: 0; transform: translateY(25px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint-line i { animation: none; opacity: 1; top: 14px; } }

/* Round 18 fix (Kevin, the go-live preview): on every step change, map items that are not part of the new step leave
   at once, in 0.25 s, in both directions. Nothing delays a leave: the opening's stagger (.arriving, --d) and the
   threads' drawing stagger (--td, now on stroke-dashoffset only) apply to arriving and drawing, never to dimming or
   hiding; the lasso and a name's note leave as quickly as the rest. */
.map .th[data-key], .map.arriving .th[data-key] { transition-delay: 0s, 0s, 0s, 0s, var(--td, 0s); }
.map [data-key].dim, .map [data-key].gone, .map.arriving [data-key].dim, .map.arriving [data-key].gone { transition-delay: 0s; }
.node:not(.noted) .node-note { transition-duration: 0.25s; }
.map:not([data-step="6"]) .lasso { transition-duration: 0.25s; }
.map .unlit:not(.th), .map .unlit:not(.th) * { transition-duration: 0.25s; transition-delay: 0s; }
.map .th.unlit { transition-duration: 0.25s, 0.25s, 0.25s, 0.25s, 1.8s; }

/* Round 18 (Kevin): the scroll cue reads clearly over the rug: a small capsule of the site's light glass (a plain
   translucent warm surface, not a backdrop blur, so it may fade), "Scroll" in ink, a muted line and a teal dot gliding
   down it. Once the hero has settled (1.2 s) it rises a few pixels and fades in; then the dot starts its slow loop.
   The outer mark still goes for good after the first step. */
.scroll-hint { gap: 0; }
.scroll-hint-cap {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 14px 11px; border-radius: 16px;
  background: rgba(250, 248, 246, 0.86); color: #2b2722;
  box-shadow: 0 0 0 1px rgba(43, 39, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 26px -12px rgba(67, 52, 36, 0.42), 0 3px 8px rgba(67, 52, 36, 0.08);
  opacity: 0; translate: 0 6px; animation: cue-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}
@keyframes cue-in { to { opacity: 1; translate: 0 0; } }
.scroll-hint .scroll-hint-label { color: #2b2722; padding-left: 0.22em; }
.scroll-hint .scroll-hint-line { height: 28px; background: rgba(43, 39, 34, 0.22); }
.scroll-hint .scroll-hint-line i { background: #2b7a6f; animation: scroll-dot-c 2.6s cubic-bezier(0.45, 0, 0.35, 1) 1.9s infinite; }
@keyframes scroll-dot-c { 0% { opacity: 0; transform: translateY(-4px); } 22% { opacity: 1; } 78% { opacity: 0; transform: translateY(23px); } 100% { opacity: 0; transform: translateY(23px); } }
html[data-mode="stack"] .scroll-hint-cap { gap: 6px; padding: 8px 11px 9px; border-radius: 13px; }
html[data-mode="stack"] .scroll-hint .scroll-hint-line { height: 22px; }
html[data-mode="stack"] .scroll-hint .scroll-hint-line i { animation-name: scroll-dot-cs; }
@keyframes scroll-dot-cs { 0% { opacity: 0; transform: translateY(-4px); } 22% { opacity: 1; } 78% { opacity: 0; transform: translateY(17px); } 100% { opacity: 0; transform: translateY(17px); } }
@media (prefers-reduced-motion: reduce) {
  .scroll-hint-cap { animation: none; opacity: 1; translate: none; }
  .scroll-hint .scroll-hint-line i { animation: none; opacity: 1; top: 10px; }
}

/* The step count (Kevin, 4 Nov: variation 5, "One of nine", from concept/scroll-cue b17697e). On the stage it replaces
   the glass "Scroll" cue: at the bottom left, "01 / 09" and a mark for each step of the walk, the step on show in teal;
   the marks are one slider control (a single touch target over 24 px), and a click on a mark goes to its step
   (journey.js). "Scroll to begin" leaves after the first step; once the walk is over the count rests out of sight and
   out of the tab order. The stacked page and the phone keep the glass cue. */
html[data-mode="stage"] .scroll-hint { display: none; }
.step-rail {
  position: fixed; left: 4.6%; bottom: clamp(26px, 5vh, 54px); z-index: 6; display: flex; align-items: center; gap: 16px;
  font: 500 clamp(11.5px, 0.75vw, 15px)/1 'Hanken Grotesk', sans-serif; letter-spacing: 0.16em; color: #514c44;
  opacity: 0; animation: rail-in 0.9s ease 1.2s forwards; transition: opacity 0.5s ease, visibility 0s;
}
@keyframes rail-in { to { opacity: 1; } }
.step-rail-n { font-variant-numeric: tabular-nums; min-width: 6.4em; }
.step-rail-n b { font-weight: 500; color: #2b2722; }
.step-rail-ticks { display: flex; align-items: center; gap: 2px; border-radius: 4px; cursor: pointer; }
.step-rail-mark { display: grid; place-items: center; width: 14px; height: 28px; }
.step-rail-ticks i { display: block; width: 1px; height: 10px; background: rgba(43, 39, 34, 0.32); transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease; }
.step-rail-mark.hover i { background: #2b2722; }
.step-rail-mark.on i { height: 22px; width: 1.5px; background: #2b7a6f; }
.step-rail-ticks:focus-visible { outline: 2px solid #2b7a6f; outline-offset: 3px; }
.step-rail-word { text-transform: uppercase; margin-left: 4px; transition: opacity 0.5s ease, translate 0.5s ease; }
.step-rail.begun .step-rail-word { opacity: 0; translate: 6px 0; }
/* The last step says the page goes on ("Keep scrolling"), in the same words' style and fade. */
.step-rail.begun.at-last .step-rail-word { opacity: 1; translate: 0 0; }
html.rail-done .step-rail { opacity: 0 !important; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .step-rail { animation: none; opacity: 1; }
  .step-rail-ticks i, .step-rail-word { transition: none; }
}
