/* Style F, Interlock (track 94), from the Maajii wordmark (SPEC-05 BRAND-02,
   SPEC-44). The logo's rule, where two letters cross the front one stays whole
   and the one behind is cut by a channel one seam wide, is the page's rule.
   Founder and angel lock together like the two A's, teal and coral, centred and
   mirrored; cards are cut by a seam; the leaf marks each section. The living
   wordmark (script.js on #heroMarkCanvas) leads the hero. No numbers, no capitals. */
:root { --teal: #37A08F; --coral-b: #F2845F; --seam: 9px; }
:root[data-theme="dark"] { --teal: #4fb8a6; }
#heroMarkCanvas { --mk-teal: #37a08f; --mk-coral: #f2845f; }
.hero { padding: clamp(14px, 2.5vw, 34px) var(--gutter) clamp(44px, 6vw, 88px); }
.hero-in { max-width: 1100px; margin: 0 auto; text-align: center; }
.mark-stage { position: relative; width: min(100%, 720px); aspect-ratio: 670 / 215; margin: 0 auto; }
.mark-stage canvas, .mark-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark-stage canvas.is-live + img { opacity: 0; }
.meaning { margin: 10px 0 0; color: var(--ink-soft); }
.meaning b { color: var(--coral-ink); }
h1 { margin: clamp(22px, 3vw, 34px) auto 0; max-width: 20ch; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; }
h1 .t { color: var(--btn-teal); } h1 .c { color: var(--btn-coral); }
:root[data-theme="dark"] h1 .t { color: var(--teal); } :root[data-theme="dark"] h1 .c { color: var(--coral-b); }
.lede { margin: 16px auto 0; max-width: 38rem; font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); color: var(--ink-soft); }

/* The interlock: two doors meeting on a slant like the A legs, the front one
   whole, the one behind cut along its edge by a channel of page colour. Mirrored
   so the pair sits centred. */
.lock { display: inline-flex; margin-top: 28px; filter: drop-shadow(0 14px 22px rgba(14,40,33,.16)); }
.lock a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 40px 15px; text-decoration: none; color: #fff; min-width: 13rem; transition: transform 160ms ease; }
.lock a b { font-size: 1.12rem; } .lock a small { opacity: 0.92; font-size: 0.86rem; }
.lock .lf { background: var(--btn-teal); clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); z-index: 2; padding-right: 52px; }
.lock .la { background: var(--btn-coral); color: #fff; margin-left: -28px; padding-left: 56px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, 100% 100%, var(--seam) 100%); }
.lock.one .solo { clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); margin: 0; padding: 16px 44px 15px; }
.lock a:hover { transform: translateY(-2px); }
.lock a:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
@media (max-width: 520px) {
  .lock:not(.one) { display: flex; flex-direction: column; }
  .lock:not(.one) .lf { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%); padding: 16px 26px 22px; }
  .lock:not(.one) .la { margin: -14px 0 0; padding: 30px 26px 15px; clip-path: polygon(0 calc(14px + var(--seam)), 100% var(--seam), 100% 100%, 0 100%); }
}
.signin { margin: 16px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* sections */
.v-f .promises { border: 0; background: var(--ink); color: var(--page); }
:root[data-theme="dark"].v-f .promises { background: var(--paper-2); color: var(--ink); }
.v-f .promises li::before { filter: brightness(1.15); }
.v-f .frag { border: 0; border-top: 4px solid var(--teal); box-shadow: 0 0 0 var(--seam) var(--page), 0 20px 40px -24px rgba(14,40,33,.45); }
.v-f .step:nth-child(2) .frag { border-top-color: var(--coral-b); }
.v-f .step-who { color: var(--coral-ink); }
/* the dashboard: two views interlocked in the middle, mirrored */
.v-f .duo { gap: 0; align-items: center; }
.v-f .pane { border: 0; position: relative; }
.v-f .pane-founder { background: var(--paper-2); border-top: 4px solid var(--teal); margin-right: -24px; padding-right: 48px; }
.v-f .pane-angel { z-index: 2; border-top: 4px solid var(--coral-b); margin-left: -24px; box-shadow: 0 0 0 var(--seam) var(--page), 0 22px 44px -26px rgba(14,40,33,.5); }
@media (max-width: 820px) { .v-f .pane-founder { margin: 0 0 -20px; padding-right: clamp(18px,2.5vw,28px); } .v-f .pane-angel { margin: 0; } }
.v-f .ns { border-left-color: var(--teal); }
.v-f .ns-btn { background: var(--btn-teal); color: #fff; }
.v-f .dcard, .v-f .proc li { border: 0; border-top: 4px solid var(--teal); }
.v-f .dcard:nth-child(even), .v-f .proc li:nth-child(even) { border-top-color: var(--coral-b); }
.v-f .dcard-mono { background: var(--btn-teal); color: #fff; }
.v-f .dcard:nth-child(even) .dcard-mono { background: var(--btn-coral); color: #fff; }
.v-f .person-photo { box-shadow: 0 0 0 var(--seam) var(--page), 0 0 0 calc(var(--seam) + 3px) var(--teal); border-radius: 4px; margin-top: 12px; margin-bottom: 24px; }
.v-f .person:nth-child(even) .person-photo { box-shadow: 0 0 0 var(--seam) var(--page), 0 0 0 calc(var(--seam) + 3px) var(--coral-b); }
.v-f .person-role { color: var(--btn-teal); }
:root[data-theme="dark"].v-f .person-role { color: var(--teal); }
.v-f .mission { background: var(--btn-teal); color: #fff; max-width: none; }
.v-f .mission .sec-kicker, .v-f .mission .more a, .v-f .mission .sec-intro { color: #fff; }
.v-f .mission .sec-kicker::before { filter: brightness(0) invert(1); }
/* closed points down, open points up (agent QA 2026-11-19: it was the other way round) */
.v-f .qa summary::after { content: ""; width: 12px; height: 12px; background: var(--coral-b); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(180deg); transition: transform 160ms ease; flex: none; align-self: center; }
.v-f .qa[open] summary::after { transform: none; background: var(--teal); }
.v-f .join-doors { gap: 0; }
.v-f .join-doors .door { padding: 16px 40px 15px; }
.v-f .join-doors:not(.one) .door-f { background: var(--btn-teal); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); position: relative; z-index: 2; padding-right: 52px; }
.v-f .join-doors:not(.one) .door-a { background: var(--btn-coral); color: #fff; margin-left: -19px; padding-left: 56px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, 100% 100%, var(--seam) 100%); }
.v-f .join-doors.one .door { background: var(--btn-teal); color: #fff; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.v-f .video-frame { box-shadow: 0 0 0 var(--seam) var(--page), 0 0 0 calc(var(--seam) + 4px) var(--teal), 0 30px 60px -36px rgba(14,40,33,.6); }
.v-f .vp-tools { margin-bottom: 30px; }

/* the theme button: the interlock in small, teal and coral meeting on the A's slant
   with a seam of page colour between them */
.theme-btn { border-radius: 0; width: 46px; height: 36px; color: #fff;
  background: linear-gradient(115deg, var(--teal) 0 46%, var(--page) 46% 54%, var(--coral-b) 54% 100%);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.theme-btn svg { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.theme-btn:hover { transform: translateY(-1px); }

/* Three doors (round 10, founder 2026-11-11): three pieces interlocked, teal, coral, teal
   by position (Angels keep the coral), each cut from the next by a seam. Stacked on a
   narrow screen, the slants turned to run across. */
.lock.three a { min-width: 0; padding: 16px 30px 15px; }
.lock.three a:nth-child(1) { background: var(--btn-teal); clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); padding-right: 50px; z-index: 3; }
.lock.three a:nth-child(2) { background: var(--btn-coral); color: #fff; margin-left: -28px; padding-inline: 56px 50px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, calc(100% - 28px) 100%, var(--seam) 100%); z-index: 2; }
.lock.three a:nth-child(3) { background: var(--btn-teal); margin-left: -28px; padding-left: 56px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, 100% 100%, var(--seam) 100%); }
.v-f .join-doors.three .door { padding: 16px 30px 15px; color: #fff; position: relative; }
.v-f .join-doors.three .door-f { background: var(--btn-teal); clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); padding-right: 50px; z-index: 3; margin: 0; }
.v-f .join-doors.three .door-a { background: var(--btn-coral); margin-left: -28px; padding-inline: 56px 50px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, calc(100% - 28px) 100%, var(--seam) 100%); z-index: 2; }
.v-f .join-doors.three .door-v { background: var(--btn-teal); margin-left: -28px; padding-left: 56px; clip-path: polygon(calc(28px + var(--seam)) 0, 100% 0, 100% 100%, var(--seam) 100%); }
@media (max-width: 720px) {
  .lock.three, .v-f .join-doors.three { display: flex; flex-direction: column; width: min(100%, 22rem); margin-inline: auto; }
  .lock.three a:nth-child(1), .v-f .join-doors.three .door-f { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%); padding: 16px 26px 22px; }
  .lock.three a:nth-child(2), .v-f .join-doors.three .door-a { margin: -14px 0 0; padding: 30px 26px 22px; clip-path: polygon(0 calc(14px + var(--seam)), 100% var(--seam), 100% calc(100% - 14px), 0 100%); }
  .lock.three a:nth-child(3), .v-f .join-doors.three .door-v { margin: -14px 0 0; padding: 30px 26px 15px; clip-path: polygon(0 calc(14px + var(--seam)), 100% var(--seam), 100% 100%, 0 100%); }
}
/* the five questions: a slanted mark per row, teal and coral by turn */
/* what comes with it: the icon on a slanted plate, teal and coral by turn */
.v-f .feat { border: 0; border-top: 4px solid var(--teal); box-shadow: 0 0 0 var(--seam) var(--page), 0 20px 40px -26px rgba(14,40,33,.45); }
.v-f .feat:nth-child(4n+2), .v-f .feat:nth-child(4n+3) { border-top-color: var(--coral-b); }
.v-f .feat-icon { background: var(--btn-teal); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); width: 56px; }
.v-f .feat:nth-child(4n+2) .feat-icon, .v-f .feat:nth-child(4n+3) .feat-icon { background: var(--btn-coral); }
@media (min-width: 721px) { .v-f .join-doors.three { flex-wrap: nowrap; } }

/* ================= round 11: the interlock in more places (founder 2026-11-11) =================
   As on the dashboard's two views: one piece in front, whole, set in a seam of page
   colour; the piece behind it tucked under, on the paper colour. */
/* what comes with it: in each row the right piece in front */
.v-f .feats { gap: 30px 0; align-items: center; }
.v-f .feat { border: 0; border-top: 4px solid var(--teal); box-shadow: none; position: relative; }
.v-f .feat:nth-child(odd) { background: var(--paper-2); margin-right: -24px; padding-right: 46px; }
.v-f .feat:nth-child(even) { z-index: 2; border-top-color: var(--coral-b); box-shadow: 0 0 0 var(--seam) var(--page), 0 22px 44px -26px rgba(14,40,33,.5); }
.v-f .feat:nth-child(odd) .feat-icon { background: var(--btn-teal); }
.v-f .feat:nth-child(even) .feat-icon { background: var(--btn-coral); }
@media (max-width: 700px) {
  .v-f .feats { gap: 0; }
  .v-f .feat:nth-child(odd) { margin: 0 0 -18px; padding-right: clamp(16px, 2.2vw, 24px); padding-bottom: 36px; }
  .v-f .feat:nth-child(even) { margin-bottom: 26px; }
}
/* the people in What is Maajii: the middle one in front, the two beside it tucked under */
.v-f .what-roles { gap: 0; align-items: center; }
.v-f .role { border-top: 4px solid var(--teal); }
.v-f .role:nth-child(1) { background: var(--paper-2); margin-right: -22px; padding-right: 40px; box-shadow: none; }
.v-f .role:nth-child(2) { position: relative; z-index: 2; border-top-color: var(--coral-b); box-shadow: 0 0 0 var(--seam) var(--page), 0 22px 44px -26px rgba(14,40,33,.5); }
.v-f .role:nth-child(3) { background: var(--paper-2); margin-left: -22px; padding-left: 40px; box-shadow: none; }
.v-f .what-roles.has-focus .role:not(.focus) { margin-top: 0; }
@media (max-width: 760px) {
  .v-f .role:nth-child(1), .v-f .role:nth-child(3) { margin: 0; padding: 12px 14px 24px; }
  .v-f .role:nth-child(1) { margin-bottom: -12px; }
  .v-f .role:nth-child(3) { margin-top: -12px; padding-top: 24px; }
  .v-f .what-roles.has-focus .role.focus { order: 0; }
}
/* the five questions' cards: every other one in front */
.v-f .fq-track { gap: 0; }
.v-f .fq-card { border: 0; border-top: 4px solid var(--teal); }
.v-f .fq-card:nth-child(odd) { background: var(--paper-2); margin-inline: -12px; padding-inline: 32px; }
.v-f .fq-card:nth-child(even) { position: relative; z-index: 2; border-top-color: var(--coral-b); box-shadow: 0 0 0 var(--seam) var(--page), 0 22px 44px -26px rgba(14,40,33,.5); }
.v-f .fq-ticks { gap: 0; }
.v-f .fq-ticks i { width: 30px; height: 8px; margin-left: -2px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); background: color-mix(in srgb, var(--teal) 30%, transparent); }
.v-f .fq-ticks i:nth-child(even) { background: color-mix(in srgb, var(--coral-b) 34%, transparent); }
.v-f .fq-ticks i.on { background: var(--btn-teal); }
.v-f .fq-ticks i.on:nth-child(even) { background: var(--btn-coral); }
/* Founders on Maajii: the card in the middle in front, its neighbours tucked under */
.v-f .dcar-track { gap: 0; }
.v-f .dcar-track .dcard { margin-inline: -14px; background: var(--paper-2); }
.v-f .dcar-track .dcard.on { position: relative; z-index: 2; background: var(--card); box-shadow: 0 0 0 var(--seam) var(--page), 0 24px 48px -26px rgba(14,40,33,.5); }
.v-f .dcar-ctrl { gap: 0; flex-wrap: wrap; }
.v-f .dcar-btn { width: 64px; color: #fff; }
.v-f .dcar-prev { background: var(--btn-teal); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.v-f .dcar-next { background: var(--btn-coral); margin-left: -8px; clip-path: polygon(calc(14px + 6px) 0, 100% 0, 100% 100%, 6px 100%); }
.v-f .dcar-hint { order: 3; flex-basis: 100%; margin-top: 10px; }
/* what stays true: the modes as an interlock */
.v-f .ta-modes { gap: 0; }
.v-f .ta-modes span { clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-inline: 26px; }
.v-f .ta-modes span + span { margin-left: -6px; }
.v-f .ta-dst, .v-f .ta-q { clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-inline: 24px; }
/* the mission: its teal stays, with the scene drawn over it in light lines */
.v-f.deck-live .slide-mission { background: var(--btn-teal); }
