/* tisrok landing — design language from "06 · Viewfinder".
   The viewfinder corner bracket (.vf-c) is the one recurring device: logo, scan field, loop stage, the pitch.
   Light only, by brief ("bright design"). */

@font-face { font-family: "Bricolage Grotesque"; src: url(assets/fonts/bricolage-grotesque-latin.woff2) format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(assets/fonts/dm-sans-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* Viewfinder palette */
  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --ink: #16131F;
  --ink-2: #4F4960;      /* body-secondary: 8.4:1 on cream */
  --ink-3: #6C667D;      /* captions: 5.4:1 on cream */
  --violet: #6B4EFF;     /* brand; 4.9:1 on cream, used for large text and fills */
  --violet-ink: #5536E8; /* violet as small text: 6.1:1 on cream */
  --violet-soft: #9D8BFF;
  --lavender: #E9E4FF;
  --mint: #2EE6A6;       /* the dot; decorative only, never text on cream */
  --line: #ECE4D6;
  --line-2: #DED4C2;

  /* severities: kept apart from the brand hue */
  --crit: #C11E14; --crit-bg: #FDECEA;
  --high: #B04A00; --high-bg: #FFF0E0;
  --med:  #7A5A00; --med-bg:  #FFF6D6;
  --ok:   #0B7A4B;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: var(--f-body);  /* labels: same face as body (two fonts only, user 2026-11-23) */
  --f-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;  /* code only: the fix prompt */

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
code { font: 500 .88em var(--f-code); }
img { display: block; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- viewfinder corners ----------
   Four <i> inside .vf-c; size/weight/radius/colour come from custom properties on the parent. */
.vf-c { position: absolute; inset: 0; pointer-events: none; }
.vf-c i {
  position: absolute; width: var(--vf-s, 18px); height: var(--vf-s, 18px);
  border: 0 solid var(--vf-color, var(--violet));
  transition: transform .45s var(--ease), border-color .25s;
}
.vf-c i:nth-child(1) { top: 0; left: 0;     border-top-width: var(--vf-w, 3px); border-left-width: var(--vf-w, 3px);   border-top-left-radius: var(--vf-r, 5px); }
.vf-c i:nth-child(2) { top: 0; right: 0;    border-top-width: var(--vf-w, 3px); border-right-width: var(--vf-w, 3px);  border-top-right-radius: var(--vf-r, 5px); }
.vf-c i:nth-child(3) { bottom: 0; left: 0;  border-bottom-width: var(--vf-w, 3px); border-left-width: var(--vf-w, 3px);  border-bottom-left-radius: var(--vf-r, 5px); }
.vf-c i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: var(--vf-w, 3px); border-right-width: var(--vf-w, 3px); border-bottom-right-radius: var(--vf-r, 5px); }

/* ---------- logo (proportions from the Viewfinder artboard, in em) ---------- */
.logo {
  position: relative; display: inline-flex; align-items: center; gap: .12em;
  padding: .3em .48em; font-size: 26px; text-decoration: none; color: var(--ink);
  --vf-s: .4em; --vf-w: .08em; --vf-r: .11em;
}
.logo-word { font: 800 1em/1 var(--f-display); letter-spacing: -.03em; }
.logo-dot { width: .16em; height: .16em; border-radius: 50%; background: var(--mint); align-self: flex-start; margin-top: .08em; }
.logo:hover .vf-c i:nth-child(1) { transform: translate(-2px, -2px); }
.logo:hover .vf-c i:nth-child(2) { transform: translate(2px, -2px); }
.logo:hover .vf-c i:nth-child(3) { transform: translate(-2px, 2px); }
.logo:hover .vf-c i:nth-child(4) { transform: translate(2px, 2px); }
.logo-sm { font-size: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: 0 1.15rem; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 .95rem; font-size: .9rem; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2A2538; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--cream); }
.btn-violet:hover { background: #5A3CF2; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .95rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 560px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3.5rem, 8vw, 6rem);
  isolation: isolate;
}
/* faint focus grid behind the hero, fading out from the centre */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 10%, transparent 75%);
  opacity: .7;
}
.hero-inner { display: grid; justify-items: center; text-align: center; gap: clamp(2.25rem, 5vw, 3.25rem); }
.hero-h {
  font: 800 clamp(2.5rem, 6.6vw, 5.25rem)/.98 var(--f-display);
  letter-spacing: -.035em; max-width: 15ch; text-wrap: balance;
}

/* ---------- scan field ---------- */
.scan { width: 100%; max-width: 640px; display: grid; gap: .7rem; text-align: left; }
.scan-label { font: 500 .78rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-left: 14px; }
.scan-frame { position: relative; padding: 10px; --vf-s: 26px; --vf-w: 4px; --vf-r: 9px; }
.scan-frame .vf-c i { border-color: var(--violet-soft); }
.scan-field {
  display: flex; align-items: center; gap: .25rem; padding: 6px 6px 6px 18px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(22, 19, 31, .04), 0 12px 32px -16px rgba(22, 19, 31, .18);
  transition: border-color .2s, box-shadow .2s;
}
.scan-prefix { font: 500 1rem/1 var(--f-mono); color: var(--ink-3); user-select: none; }
.scan-field input {
  flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent;
  font: 500 1.06rem/1 var(--f-mono); color: var(--ink); letter-spacing: -.01em;
}
.scan-field input::placeholder { color: #A29CB0; opacity: 1; transition: color .22s, opacity .22s; }
.scan-field input.ph-out::placeholder { opacity: 0; }
.scan-field .btn { height: 52px; padding-inline: 1.3rem; border-radius: 10px; }
/* focus: the viewfinder closes in on the field */
.scan-frame:focus-within .vf-c i { border-color: var(--violet); }
.scan-frame:focus-within .vf-c i:nth-child(1) { transform: translate(4px, 4px); }
.scan-frame:focus-within .vf-c i:nth-child(2) { transform: translate(-4px, 4px); }
.scan-frame:focus-within .vf-c i:nth-child(3) { transform: translate(4px, -4px); }
.scan-frame:focus-within .vf-c i:nth-child(4) { transform: translate(-4px, -4px); }
.scan-frame:focus-within .scan-field { border-color: var(--violet); box-shadow: 0 0 0 4px var(--lavender), 0 12px 32px -16px rgba(107, 78, 255, .35); }
.scan-field input:focus-visible { outline: none; } /* the frame carries the focus ring */
.scan-note { font-size: .9rem; color: var(--ink-3); padding-left: 14px; min-height: 1.4em; }
.scan-note:empty::before { display: none; }
.scan-note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: .55rem; vertical-align: .08em; }
/* states set by main.js */
.scan.is-invalid .scan-field { border-color: var(--crit); box-shadow: 0 0 0 4px var(--crit-bg); }
.scan.is-invalid .vf-c i { border-color: var(--crit); }
.scan.is-invalid .scan-note { color: var(--crit); }
.scan.is-invalid .scan-note::before { background: var(--crit); }
.scan.is-locked .vf-c i { border-color: var(--violet); }
.scan.is-locked .scan-note { color: var(--ink); }
.scan.is-locked .scan-note::before { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (max-width: 520px) {
  .scan-prefix { display: none; }
  .scan-field { padding-left: 14px; }
  .scan-field .btn { padding-inline: 1rem; }
}
@media (max-width: 380px) {
  .scan-field { flex-wrap: wrap; padding: 6px; }
  .scan-field input { flex-basis: 100%; padding-left: 8px; }
  .scan-field .btn { flex: 1; }
}

/* ---------- integrations ---------- */
.builders { padding-block: clamp(2rem, 5vh, 3.5rem) 0; }
.mono-label { font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: center; text-wrap: balance; }
.marks { list-style: none; margin: 1.5rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 960px; }
.marks li {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem .55rem .75rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font: 600 .95rem/1 var(--f-body); color: var(--ink);
  transition: border-color .2s, transform .25s var(--ease);
}
.marks li:hover { border-color: var(--line-2); transform: translateY(-2px); }
.marks img { width: 18px; height: 18px; object-fit: contain; }
.marks img.mark-raster, .profile img.mark-raster { filter: brightness(0); }
.marks img.mark-tile { filter: grayscale(1) brightness(.55) contrast(1.3); border-radius: 4px; }

/* ---------- section heading ---------- */
.section-h { font: 800 clamp(2rem, 4.6vw, 3.4rem)/1 var(--f-display); letter-spacing: -.03em; text-align: center; text-wrap: balance; }

/* ---------- the loop ---------- */
.loop { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); }
.loop-ui { margin-top: clamp(2rem, 5vw, 3rem); }
.loop-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 860px; margin: 0 auto; }
.loop-tabs button {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .1rem .6rem;
  padding: .9rem .25rem .8rem; min-height: 44px; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--ink-3); transition: color .2s;
}
.loop-tabs .n { font: 500 .78rem/1 var(--f-mono); }
.loop-tabs .w { font: 700 clamp(1.05rem, 2vw, 1.35rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.loop-tabs .bar { grid-column: 1 / -1; height: 3px; margin-top: .7rem; border-radius: 2px; background: var(--line); overflow: hidden; }
.loop-tabs .bar b { display: block; height: 100%; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.loop-tabs button:hover { color: var(--ink-2); }
.loop-tabs button[aria-selected="true"] { color: var(--ink); }
.loop-tabs button[aria-selected="true"] .n { color: var(--violet-ink); }
.loop-tabs button[aria-selected="true"] .bar b { transform: scaleX(1); }
.loop-ui.is-playing .loop-tabs button[aria-selected="true"] .bar b { animation: fill var(--loop-ms, 5200ms) linear forwards; }
.loop-tabs button.is-done .bar b { transform: scaleX(1); background: var(--line-2); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.loop-stage {
  position: relative; max-width: 860px; margin: 1.75rem auto 0; padding: clamp(22px, 4vw, 40px);
  --vf-s: 28px; --vf-w: 3px; --vf-r: 8px;
}
.panel { min-height: 330px; display: grid; align-content: center; gap: 1.6rem; animation: rise .5s var(--ease); }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 10px; }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }
.panel-line { font: 600 clamp(1.15rem, 2.4vw, 1.5rem)/1.3 var(--f-display); letter-spacing: -.015em; text-align: center; text-wrap: balance; }

/* 01 profile */
.profile { margin: 0 auto; width: 100%; max-width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.profile div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 1.1rem; border-top: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.profile div:first-child { border-top: 0; }
.profile div:nth-child(2) { animation-delay: .06s; } .profile div:nth-child(3) { animation-delay: .12s; }
.profile div:nth-child(4) { animation-delay: .18s; } .profile div:nth-child(5) { animation-delay: .24s; } .profile div:nth-child(6) { animation-delay: .3s; }
.profile dt { font: 500 .8rem/1.5 var(--f-mono); color: var(--ink-3); }
.profile dd { margin: 0; display: flex; align-items: center; gap: .5rem; font: 500 .92rem/1.5 var(--f-mono); color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.profile dd img { width: 14px; height: 14px; flex: none; }
.ok { color: var(--ok); } .bad { color: var(--crit); }

/* 02 scan: one live panel; each check runs in turn and lands on its result */
.scanlog { margin: 0 auto; width: 100%; max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(22, 19, 31, .4); text-align: left; }
.sl-top { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.15rem; }
.sl-live { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--lavender); flex: none; }
.sl-url { font-weight: 600; font-size: .95rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-sum { margin-left: auto; font-size: .85rem; color: var(--ink-3); white-space: nowrap; }
.sl-bar { height: 3px; background: var(--line); }
.sl-bar i { display: block; height: 100%; background: var(--violet); transform-origin: left; animation: sl-fill 2.6s .2s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes sl-fill { from { transform: scaleX(0); } }
.sl-list { list-style: none; margin: 0; padding: 0; }
.sl-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .78rem 1.15rem; border-top: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.sl-row:first-child { border-top: 0; }
.sl-ic { display: grid; place-items: center; color: var(--violet); }
.ck-i { width: 20px; height: 20px; display: block; }
.sl-t { font-size: .95rem; font-weight: 500; min-width: 0; }
.sl-st { position: relative; display: grid; justify-items: end; min-width: 5.5rem; }
.sl-st > * { grid-area: 1 / 1; }
.sl-wait { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-3); animation: sl-out .2s both; }
.sl-wait::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--violet); animation: sl-spin .7s linear infinite; }
.sl-res { font-size: .78rem; font-weight: 600; padding: .32rem .6rem; border-radius: 999px; animation: sl-in .3s var(--ease) both; }
.is-pass .sl-res { background: #EAFBF3; color: var(--ok); }
.is-found .sl-res { background: var(--crit-bg); color: var(--crit); }
.is-found { background: linear-gradient(90deg, rgba(193, 30, 20, .045), transparent 60%); }
@keyframes sl-spin { to { transform: rotate(1turn); } }
@keyframes sl-out { to { opacity: 0; visibility: hidden; } }
@keyframes sl-in { from { opacity: 0; scale: .8; } }
/* stagger: row i appears at i*.35s, its result lands ~.6s later */
.sl-row:nth-child(1) { animation-delay: .05s; } .sl-row:nth-child(1) .sl-wait { animation-delay: .65s; } .sl-row:nth-child(1) .sl-res { animation-delay: .65s; }
.sl-row:nth-child(2) { animation-delay: .4s; }  .sl-row:nth-child(2) .sl-wait { animation-delay: 1s; }   .sl-row:nth-child(2) .sl-res { animation-delay: 1s; }
.sl-row:nth-child(3) { animation-delay: .75s; } .sl-row:nth-child(3) .sl-wait { animation-delay: 1.35s; } .sl-row:nth-child(3) .sl-res { animation-delay: 1.35s; }
.sl-row:nth-child(4) { animation-delay: 1.1s; } .sl-row:nth-child(4) .sl-wait { animation-delay: 1.7s; } .sl-row:nth-child(4) .sl-res { animation-delay: 1.7s; }
.sl-row:nth-child(5) { animation-delay: 1.45s; } .sl-row:nth-child(5) .sl-wait { animation-delay: 2.05s; } .sl-row:nth-child(5) .sl-res { animation-delay: 2.05s; }
.sl-row:nth-child(6) { animation-delay: 1.8s; } .sl-row:nth-child(6) .sl-wait { animation-delay: 2.4s; } .sl-row:nth-child(6) .sl-res { animation-delay: 2.4s; }
/* hold the run until the panel has scrolled into view (only when the reveal script is active) */
.rv:not(.is-in) .scanlog *, .rv:not(.is-in) .scanlog *::before { animation-play-state: paused; }
@media (max-width: 480px) { .sl-sum { display: none; } .sl-st { min-width: 0; } }

/* 03 findings */
.findings { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: .6rem; width: 100%; max-width: 600px; }
.findings li {
  display: grid; grid-template-columns: 5.6rem 1fr; align-items: start; gap: 1rem; padding: .95rem 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  animation: rise .45s var(--ease) both;
}
.findings li:nth-child(2) { animation-delay: .1s; } .findings li:nth-child(3) { animation-delay: .2s; }
.sev { font: 500 .72rem/1 var(--f-mono); letter-spacing: .04em; text-align: center; padding: .4rem 0; border-radius: 999px; margin-top: .1rem; }
.sev-crit { color: var(--crit); background: var(--crit-bg); }
.sev-high { color: var(--high); background: var(--high-bg); }
.sev-med  { color: var(--med);  background: var(--med-bg); }
.f-t { font-weight: 600; font-size: .98rem; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.f-t small { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-3); margin-top: .15rem; }
@media (max-width: 480px) { .findings li { grid-template-columns: 1fr; gap: .55rem; } .sev { justify-self: start; padding-inline: .7rem; } }

/* 04 prompt — the one dark surface, using the Viewfinder ink variant */
.prompt { margin: 0 auto; width: 100%; max-width: 620px; background: var(--ink); color: #EDE9F7; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(22, 19, 31, .45); }
.prompt-top { display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem .55rem 1rem; border-bottom: 1px solid #2A2538; font: 500 .78rem/1 var(--f-mono); color: #A9A2BF; }
.prompt-dots { display: flex; gap: 6px; } .prompt-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3A3450; }
.copy {
  margin-left: auto; min-height: 36px; padding: 0 .9rem; border-radius: 8px; border: 1px solid #3A3450; background: #221E30;
  color: #EDE9F7; font: 500 .8rem/1 var(--f-mono); cursor: pointer; transition: background .2s, border-color .2s;
}
.copy:hover { background: #2C2740; border-color: var(--violet-soft); }
.copy.is-copied { border-color: var(--mint); color: var(--mint); }
.prompt pre { margin: 0; padding: 1.1rem 1.2rem 1.3rem; font: 400 .84rem/1.65 var(--f-code); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- trust center, badge, report (#45) ---------- */
.trust { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); }
.trust-em { color: var(--violet); }
.trust-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); }
.t-card { margin: 0; padding: 1.25rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.t-center { grid-row: span 2; }
.t-cap { font: 600 1.08rem/1.3 var(--f-display); letter-spacing: -.01em; }
.t-win { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; background: var(--paper); }
.t-win-top { display: flex; align-items: center; gap: .8rem; padding: .5rem .9rem; background: var(--cream); border-bottom: 1px solid var(--line); font: 500 .76rem/1 var(--f-mono); color: var(--ink-3); }
.t-win-top .prompt-dots i { background: var(--line-2); }
.t-addr { padding: .3rem .7rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.t-win-body { padding: 1.1rem; display: grid; gap: 1rem; }
.t-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; }
.t-app { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); font: 800 1.2rem/1 var(--f-display); }
.t-name { font: 800 1.2rem/1.1 var(--f-display); letter-spacing: -.02em; }
.t-sub { font-size: .82rem; color: var(--ink-3); }
.t-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.t-checks li { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 10px; background: #EAFBF3; color: #0B5A39; font-size: .88rem; font-weight: 500; }
.t-checks .t-i { width: 16px; height: 16px; flex: none; color: var(--ok); }
.t-k { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.t-k span { text-transform: none; letter-spacing: 0; color: var(--violet-ink); }
.t-subs { width: 100%; border-collapse: collapse; font-size: .86rem; }
.t-subs th { text-align: left; font: 500 .7rem/1 var(--f-mono); color: var(--ink-3); padding: 0 .5rem .5rem 0; border-bottom: 1px solid var(--line); }
.t-subs td { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.t-subs td:first-child { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.t-subs img { width: 14px; height: 14px; }
.t-subs tr:last-child td { border-bottom: 0; }

.t-badge-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: center; padding: 1.4rem 1rem; border-radius: 14px; background: var(--cream); }
.t-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .7rem .35rem .35rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 6px 16px -10px rgba(22, 19, 31, .35); white-space: nowrap; }
.t-badge-mark { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--cream); --vf-s: 8px; --vf-w: 2px; --vf-r: 2px; }
.t-badge-mark .vf-c { inset: 4px; }
.t-badge-mark b { font: 800 .95rem/1 var(--f-display); }
.t-badge-txt { display: grid; font: 800 1rem/1 var(--f-display); letter-spacing: -.02em; }
.t-badge-txt small { font: 500 .58rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.t-badge-date { font: 500 .66rem/1 var(--f-mono); padding: .3rem .45rem; border-radius: 6px; background: #EAFBF3; color: var(--ok); }
.t-badge-dark { background: var(--ink); border-color: var(--ink); color: var(--cream); --vf-color: var(--violet-soft); }
.t-badge-dark .t-badge-mark { background: #221E30; }
.t-badge-dark .t-badge-txt small { color: #A9A2BF; }
.t-badge-dark .t-badge-date { background: rgba(46, 230, 166, .15); color: var(--mint); }
.t-head .t-badge { box-shadow: none; }

@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .t-center { grid-row: auto; } }
@media (max-width: 520px) { .t-checks { grid-template-columns: 1fr; } .t-head { grid-template-columns: auto 1fr; } .t-head .t-badge { grid-column: 1 / -1; justify-self: start; } }


/* ---------- the loop as staggered cards (slide in, overlap, parallax) ---------- */
.stag { list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; }
.stag-card {
  position: relative; width: min(600px, 100%); padding: clamp(1.2rem, 2.5vw, 1.6rem); border-radius: 24px;
  background: var(--paper); border: 1px solid var(--line); display: grid; gap: .6rem; align-content: start;
  box-shadow: 0 1px 2px rgba(22, 19, 31, .04), 0 40px 70px -40px rgba(22, 19, 31, .35);
}
.stag-card:nth-child(1) { justify-self: start; z-index: 1; }
.stag-card:nth-child(2) { justify-self: end; margin-top: -7rem; z-index: 2; }
.stag-card:nth-child(3) { justify-self: start; margin-top: -5rem; margin-left: 6%; z-index: 3; }
.stag-card:nth-child(4) { justify-self: end; margin-top: -6rem; margin-right: 4%; z-index: 4; }
.stag-head { display: flex; align-items: baseline; gap: .7rem; }
.stag-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--violet); color: #fff; font-size: .78rem; font-weight: 600; translate: 0 -.15em; }
.stag-w { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-display); letter-spacing: -.03em; }
.stag-line { color: var(--ink-2); }
.stag-vis { margin-top: .6rem; min-width: 0; }
.stag-vis .scanlog, .stag-vis .findings, .stag-vis .prompt { max-width: none; margin: 0; }
.stag-vis .findings li { background: var(--cream); }
/* reveal: odd cards come in from the left, even from the right */
.stag-card.rv { translate: -48px 40px; }
.stag-card.rv:nth-child(even) { translate: 48px 40px; }
.stag-card.rv.is-in { translate: 0 0; }
@media (max-width: 860px) {
  .stag { gap: 1rem; }
  .stag-card, .stag-card:nth-child(n) { justify-self: stretch; width: 100%; margin: 0; }
  .stag-card[data-parallax] { transform: none; }
}

/* ---------- footprint: a data flow ---------- */
.flow { display: grid; justify-items: start; padding: .4rem 0; width: max-content; max-width: 100%; margin-inline: auto; }
.fl-node { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem .9rem .55rem .55rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 8px 18px -14px rgba(22, 19, 31, .4); position: relative; z-index: 1; }
.fl-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cream); color: var(--ink); flex: none; }
.fl-ic img { width: 18px; height: 18px; }
.fl-svg { width: 18px; height: 18px; }
.fl-txt { display: grid; line-height: 1.2; }
.fl-txt b { font-size: .95rem; }
.fl-txt small { font-size: .78rem; color: var(--ink-3); }
.fl-node.is-warn { border-color: #F6C9C4; }
.fl-node.is-warn .fl-ic { background: var(--crit-bg); color: var(--crit); }
.fl-node.is-warn small { color: var(--crit); }
.fl-row { display: flex; align-items: center; }
/* wires: a line with a packet travelling along it, and a small label */
.fl-v, .fl-h { position: relative; display: block; background: var(--line-2); }
.fl-v { width: 2px; height: 34px; margin-left: calc(.55rem + 17px); }
.fl-h { height: 2px; width: clamp(40px, 8vw, 90px); }
.fl-v::before, .fl-h::before { content: attr(data-l); position: absolute; font-size: .72rem; color: var(--ink-3); white-space: nowrap; }
.fl-v::before { left: 12px; top: 50%; translate: 0 -50%; }
.fl-h::before { left: 50%; bottom: 6px; translate: -50% 0; }
.fl-v::after, .fl-h::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--lavender); }
.fl-v::after { left: -3px; top: 0; }
.fl-h::after { top: -3px; left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .fl-v::after { animation: fl-down 1.8s ease-in-out infinite; }
  .fl-h::after { animation: fl-right 1.8s .9s ease-in-out infinite; }
  .flow .fl-v:nth-of-type(2)::after { animation-delay: .6s; } .flow .fl-v:nth-of-type(3)::after { animation-delay: 1.2s; }
  @keyframes fl-down { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 8px); opacity: 0; } }
  @keyframes fl-right { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
}

/* ---------- report: a document thumbnail ---------- */
.t-doc { display: grid; justify-items: center; gap: .8rem; padding: 1.2rem 1rem 1rem; border-radius: 14px; background: var(--cream); }
.t-page {
  position: relative; width: 132px; aspect-ratio: 1 / 1.3; padding: 14px 12px; border-radius: 4px; background: #fff;
  box-shadow: 0 1px 2px rgba(22, 19, 31, .08), 0 18px 30px -18px rgba(22, 19, 31, .45); display: grid; align-content: start; gap: 6px; rotate: -2deg;
}
.t-page::after { content: ""; position: absolute; inset: 6px -6px -6px 6px; z-index: -1; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(22, 19, 31, .08); rotate: 4deg; }
.t-page-mark { position: relative; display: grid; place-items: center; width: 18px; height: 18px; margin-bottom: 4px; --vf-s: 5px; --vf-w: 1.5px; --vf-r: 1px; }
.t-page-mark b { font: 800 .6rem/1 var(--f-display); }
.t-ln { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.t-ln-h { height: 7px; width: 70%; background: var(--ink); }
.t-ln-s { width: 60%; }
.t-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 4px 0; }
.t-page-grid i { height: 14px; border-radius: 3px; background: #EAFBF3; }
.t-page-grid i:nth-child(2) { background: var(--lavender); }
.t-fname { font-size: .88rem; font-weight: 500; text-align: center; }

/* ---------- the shift: a three-panel strip (Then / Now / With tisrok) ---------- */
.shift { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); }
.shift-em { color: var(--ink-3); }
.shift-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: clamp(2rem, 5vw, 3rem) 0 0; counter-reset: none; }
.shift-card { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-rows: auto auto 1fr; gap: 1.1rem; min-width: 0; }
.sh-tis { border-color: var(--violet-soft); box-shadow: 0 24px 48px -30px rgba(107, 78, 255, .55); }
.sh-cap { display: grid; gap: .6rem; justify-items: start; font: 600 1.08rem/1.3 var(--f-display); letter-spacing: -.01em; }
.shift-tag { font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: .4rem .65rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line-2); color: var(--ink-2); }
.shift-tag-now { background: var(--crit-bg); border-color: #F6C9C4; color: var(--crit); }
.shift-tag-tis { background: var(--lavender); border-color: transparent; color: var(--violet-ink); }

/* who's attacking */
.sh-atk { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: .5rem .75rem; border-radius: 14px; background: var(--cream); }
.sh-lab { font: 500 .78rem/1.2 var(--f-mono); color: var(--ink-2); }
.sh-i { width: 18px; height: 18px; display: block; }
.sh-who { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--cream); }
.sh-swarm { display: flex; }
.sh-bot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--crit); color: #fff; box-shadow: 0 0 0 2px var(--cream); }
.sh-bot + .sh-bot { margin-left: -7px; }
.sh-logo { font-size: 15px; padding: .3em .48em; --vf-s: .4em; --vf-w: .08em; --vf-r: .11em; }

/* the targets */
.sh-ts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; align-content: start; }
.sh-t {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem;
  padding: .5rem .55rem .5rem .5rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  --vf-s: 12px; --vf-w: 2.5px; --vf-r: 5px;
}
.sh-t > .vf-c { inset: -5px; }
.sh-ib { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--cream); color: var(--ink-2); }
.sh-n { font-weight: 600; font-size: .95rem; min-width: 0; }
.sh-badge { font: 500 .68rem/1 var(--f-mono); letter-spacing: .03em; padding: .38rem .55rem; border-radius: 999px; white-space: nowrap; }
.sh-t.is-hit { border-color: #F6C9C4; }
.sh-t.is-hit .sh-ib { background: var(--crit-bg); color: var(--crit); }
.sh-t.is-hit .sh-badge { background: var(--crit-bg); color: var(--crit); }
.sh-t.is-zzz { background: var(--cream); border-style: dashed; }
.sh-t.is-zzz .sh-n, .sh-t.is-zzz .sh-ib { color: var(--ink-3); }
.sh-t.is-zzz .sh-badge { color: var(--ink-3); background: transparent; padding-inline: 0; }
.sh-t.is-guard .sh-badge { color: var(--ink-2); background: var(--cream); border: 1px solid var(--line-2); }
.sh-t.is-safe .sh-ib { background: var(--lavender); color: var(--violet); }
.sh-t.is-safe .sh-badge { background: var(--lavender); color: var(--violet-ink); }
.sh-t.aud-grey { --vf-color: var(--ink-3); }
.sh-t.aud-violet { --vf-color: var(--violet); }

@media (prefers-reduced-motion: no-preference) {
  .sh-t.is-hit .sh-ib { animation: wobble 2.4s ease-in-out infinite; }
  .sh-ts .sh-t:nth-child(2) .sh-ib { animation-delay: .3s; } .sh-ts .sh-t:nth-child(3) .sh-ib { animation-delay: .6s; } .sh-ts .sh-t:nth-child(4) .sh-ib { animation-delay: .9s; }
  @keyframes wobble { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(-9deg); } 80% { transform: rotate(8deg); } 85% { transform: rotate(-5deg); } 90% { transform: rotate(3deg); } }
  .sh-bot { animation: hop 1.6s var(--d, 0s) ease-in-out infinite; }
  @keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
  .sh-t.is-zzz .sh-badge::after { content: "zzz"; display: inline-block; margin-left: .35em; color: var(--violet-soft); animation: doze 2.4s ease-in-out infinite; }
  @keyframes doze { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
  .sh-t.aud-violet > .vf-c i { animation: snap 2.8s var(--ease) infinite; }
  @keyframes snap { 0%, 55%, 100% { translate: 0 0; } 65% { translate: var(--sx, 0) var(--sy, 0); } }
  .sh-t.aud-violet > .vf-c i:nth-child(1) { --sx: -3px; --sy: -3px; } .sh-t.aud-violet > .vf-c i:nth-child(2) { --sx: 3px; --sy: -3px; }
  .sh-t.aud-violet > .vf-c i:nth-child(3) { --sx: -3px; --sy: 3px; }  .sh-t.aud-violet > .vf-c i:nth-child(4) { --sx: 3px; --sy: 3px; }
}
@media (max-width: 980px) { .shift-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- poster (Then/Now concept 07; used by .shift on the landing page and by mockups/shift.html) ---------- */
.poster { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.poster > div { padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: .6rem; align-content: center; min-height: 320px; }
.poster-then { background: var(--paper); }
.poster-now { background: var(--ink); color: var(--cream); --vf-color: var(--violet-soft); }
.poster-k { font: 500 .8rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.poster-now .poster-k { color: #A9A2BF; }
.poster-big { font: 800 clamp(3rem, 8vw, 6.5rem)/.9 var(--f-display); letter-spacing: -.05em; }
.poster-then .poster-big { color: #B3ADC2; text-decoration: line-through; text-decoration-thickness: .06em; text-decoration-color: var(--crit); }
.poster-now .poster-big { color: #fff; }
.poster-s { font: 600 1.2rem/1.3 var(--f-display); color: var(--ink-2); }
.poster-now .poster-s { color: var(--cream); font-size: 1.6rem; }
.poster-now .vf-inline { color: var(--violet-soft); }
@media (max-width: 760px) { .poster { grid-template-columns: 1fr; } .poster > div { min-height: 0; } }

/* landing variant: concept 10's wording, which is longer, so smaller type and no strike-through */
.poster-lp { margin-top: clamp(2rem, 5vw, 3rem); }
.poster-lp .poster-big { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.poster-lp .poster-then .poster-big { text-decoration: none; color: var(--ink-3); }
.poster-lp .poster-k { font-size: .85rem; }
.poster-lp .poster-now .poster-k { color: #FF8A80; }

/* ---------- the pitch: a big card, the type in the middle, two floating "security team" stickers ---------- */
.moat { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.moat-card {
  position: relative; isolation: isolate; text-align: center; border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(6rem, 12vw, 9rem) clamp(1.25rem, 5vw, 4rem);
  background:
    radial-gradient(40rem 22rem at 85% 110%, rgba(46, 230, 166, .18), transparent 70%),
    radial-gradient(40rem 24rem at 10% -10%, rgba(107, 78, 255, .16), transparent 70%),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(107, 78, 255, .45);
}
.moat-h { position: relative; z-index: 1; font: 800 clamp(2.4rem, 7vw, 5.6rem)/1.02 var(--f-display); letter-spacing: -.04em; display: grid; justify-items: center; gap: .1em; }
.moat-l { display: block; }
.moat-l:first-child { color: var(--ink-3); }
.moat-em { color: var(--violet); }
.vf-inline { position: relative; display: inline-block; padding: .02em .22em .08em; margin-left: .06em; --vf-s: .26em; --vf-w: .055em; --vf-r: .07em; }
.moat-p {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; background: var(--lavender); color: var(--violet-ink);
  font: 500 .82rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
}
.moat-p .m-i { width: 18px; height: 18px; flex: none; }

/* floating stickers (decorative; hidden on small screens) */
.m-float {
  position: absolute; z-index: 2; display: grid; gap: .6rem; padding: .9rem 1rem; border-radius: 18px; text-align: left;
  background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -24px rgba(22, 19, 31, .35);
}
.m-bank { top: -1.25rem; left: clamp(1.25rem, 3vw, 2.5rem); rotate: -4deg; }
.m-you  { bottom: -1.25rem; right: clamp(1.25rem, 3vw, 2.5rem); rotate: 3deg; }
.m-k { font: 500 .68rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.m-team { display: flex; }
.m-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); box-shadow: 0 0 0 3px var(--paper); }
.m-av + .m-av { margin-left: -8px; }
.m-av:nth-child(even) { background: #3A3450; }
.m-av .m-i { width: 16px; height: 16px; }
.m-roles { display: flex; flex-wrap: wrap; gap: .3rem; max-width: 220px; }
.m-roles span { font: 500 .66rem/1 var(--f-mono); padding: .3rem .45rem; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); color: var(--ink-2); }
.m-url { display: flex; align-items: center; gap: .55rem; padding: .35rem .35rem .35rem .7rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--cream); font: 500 .8rem/1 var(--f-mono); }
.m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.m-go { padding: .45rem .7rem; border-radius: 8px; background: var(--violet); color: #fff; font-family: var(--f-body); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .m-float { animation: bob 6s ease-in-out infinite; }
  .m-you { animation-delay: -3s; }
  @keyframes bob { 50% { translate: 0 -8px; } }
}
@media (max-width: 900px) {
  .m-float { position: static; rotate: none; margin: 0 auto; width: max-content; max-width: 100%; animation: none; }
  .m-bank { margin-bottom: 2rem; } .m-you { margin-top: 2rem; }
  .moat-card { display: grid; justify-items: center; padding-block: 2rem; }
}

/* ink variant (Viewfinder's dark lockup) */
.moat-ink .moat-card { background: radial-gradient(40rem 24rem at 10% -10%, rgba(157, 139, 255, .25), transparent 70%), var(--ink); border-color: var(--ink); --vf-color: var(--violet-soft); }
.moat-ink .moat-h { color: var(--cream); }
.moat-ink .moat-l:first-child { color: #8E87A3; }
.moat-ink .moat-em { color: var(--violet-soft); }
.moat-ink .moat-p { background: #2A2538; color: #D8D2EA; }

/* ---------- closing ---------- */
.close { padding-block: clamp(4.5rem, 10vw, 7.5rem); border-top: 1px solid var(--line); }
.close-inner { display: grid; justify-items: center; gap: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot-brand { display: grid; gap: .9rem; align-content: start; justify-items: start; }
.foot-tag { color: var(--ink-2); font-size: .95rem; max-width: 26ch; }
.foot-h { font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-base .btn-line { margin-left: auto; }

/* ---------- entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-h { animation: rise .7s var(--ease) both; }
  .hero .scan { animation: rise .7s .12s var(--ease) both; }
  /* the viewfinder "focuses" on the field once, on load */
  .hero .scan-frame .vf-c i { animation: focus-in .9s .25s var(--ease) both; }
  @keyframes focus-in { from { opacity: 0; translate: var(--fx, 0) var(--fy, 0); } }
  .hero .scan-frame .vf-c i:nth-child(1) { --fx: -14px; --fy: -14px; }
  .hero .scan-frame .vf-c i:nth-child(2) { --fx: 14px;  --fy: -14px; }
  .hero .scan-frame .vf-c i:nth-child(3) { --fx: -14px; --fy: 14px; }
  .hero .scan-frame .vf-c i:nth-child(4) { --fx: 14px;  --fy: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- scroll reveal + parallax (state set by main.js; off under reduced motion) ---------- */
.rv { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--rv-i, 0) * 90ms); }
.rv.is-in { opacity: 1; translate: 0 0; }
.moat-l.rv { translate: 0 40px; filter: blur(6px); transition-property: opacity, translate, filter; }
.moat-l.rv.is-in { filter: none; }
.poster > div.rv:nth-child(2) { translate: 40px 0; } .poster > div.rv:nth-child(2).is-in { translate: 0 0; }
.poster > div.rv:nth-child(1) { translate: -40px 0; } .poster > div.rv:nth-child(1).is-in { translate: 0 0; }
/* parallax: elements carrying data-parallax move by --py; the hero grid drifts slower than the page */
[data-parallax] { transform: translateY(var(--py, 0px)); will-change: transform; }
.m-float[data-parallax] { transform: translateY(var(--py, 0px)); }
@media (prefers-reduced-motion: no-preference) {
  .hero::before, .e-frame { background-position-y: calc(var(--sy, 0) * 0.35px); }
  .moat-card .vf-inline .vf-c i { transition: transform .6s .5s var(--ease), border-color .25s; }
  .moat-l.rv:not(.is-in) .vf-inline .vf-c i:nth-child(1) { transform: translate(-10px, -10px); }
  .moat-l.rv:not(.is-in) .vf-inline .vf-c i:nth-child(2) { transform: translate(10px, -10px); }
  .moat-l.rv:not(.is-in) .vf-inline .vf-c i:nth-child(3) { transform: translate(-10px, 10px); }
  .moat-l.rv:not(.is-in) .vf-inline .vf-c i:nth-child(4) { transform: translate(10px, 10px); }
}
@media (max-width: 900px) { .m-float[data-parallax] { transform: none; } }

/* ---------- sticky sections: scroll snaps to each section and holds it ----------
   Desktop/tablet only, and never under reduced motion: on phones the stacked sections are taller than
   the screen and mandatory snapping would fight the reader. The builders strip rides along with the hero. */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) and (min-height: 620px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 72px; }
  main > section { scroll-snap-align: start; min-height: calc(100svh - 72px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
  main > section > .wrap { width: 100%; }
  .foot { scroll-snap-align: end; }
  /* first screen = hero + the builders/hosts strip, always together */
  main > section.hero { grid-template-rows: 1fr auto; align-content: stretch; padding-block: clamp(1.5rem, 5vh, 3.5rem) clamp(1.25rem, 3vh, 2rem); }
  main > section.hero > .wrap { align-self: center; }
  .v-d main > section.hero { min-height: 100svh; padding-top: calc(72px + clamp(1rem, 3vh, 2rem)); }
}
