/* ==========================================================================
   Krystian Wojtarowicz — personal site  ·  v6 "White canvas"
   White ground, visible blue dot grid, one accent, rounded cards,
   floating pill nav. Geist for everything, Geist Mono for labels.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-2:      #f6f7f9;
  --panel:     #f1f3f7;
  --panel-2:   #e9edf3;
  --line:      #e4e7ed;
  --line-2:    #d2d7e0;

  --text:      #0b0f14;
  --text-2:    #3d4653;
  --muted:     #7a8393;
  --prose:     #1f2630;

  --accent:      #1b5cf6;
  --accent-2:    #1349d1;
  --accent-soft: #e9f0ff;
  --on-accent:   #ffffff;

  /* the dots — deliberately visible */
  --dot:       rgba(27, 92, 246, .30);
  --dot-size:  1.6px;
  --dot-gap:   22px;

  --shadow-sm: 0 1px 2px rgba(11,15,20,.05), 0 4px 14px -6px rgba(11,15,20,.10);
  --shadow-md: 0 2px 4px rgba(11,15,20,.05), 0 18px 40px -20px rgba(11,15,20,.22);
  --shadow-lg: 0 6px 10px rgba(11,15,20,.05), 0 40px 80px -30px rgba(11,15,20,.28);

  --display: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --read:    "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "Geist Mono", "DM Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --r: 18px;

  --step-body: clamp(16px, 1.05vw, 17.5px);
  --step-lead: clamp(18px, 1.5vw, 22px);
  --step-h3:   clamp(21px, 2vw, 27px);
  --step-h2:   clamp(32px, 4.2vw, 56px);
  --step-h1:   clamp(40px, 6.4vw, 84px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* legacy aliases so older markup keeps working */
:root { --live: var(--accent); --live-2: var(--accent-2); --fill: var(--accent); --fill-2: var(--accent-2); --on-fill: var(--on-accent); --wire: #b9c6dd; --wire-dim: #dfe5ef; --live-halo: rgba(27,92,246,.14); --wire-halo: rgba(27,92,246,.10); --pulse-glow: rgba(27,92,246,.35); --tag-bg: rgba(255,255,255,.9); --row-hover: rgba(27,92,246,.05); --warn: #c2410c; --img-filter: none; --mast-bg: rgba(255,255,255,.72); }
.invert { /* dark bands are gone — everything is white now */ }

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* static dots as the baseline; the canvas draws the live ones on top */
  background-image: radial-gradient(circle at 1px 1px, var(--dot) var(--dot-size), transparent 0);
  background-size: var(--dot-gap) var(--dot-gap);
}
body.has-dotfield { background-image: none; }
.dotfield { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.masthead, main, footer, .progress, .skip, .totop, .menu { position: relative; z-index: 2; }

::selection { background: var(--accent); color: #fff; }

/* --- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 5.5vw, 72px); }
.section--flush-top { padding-top: 0; }
.topband { position: relative; padding-top: 72px; margin-top: -72px; }
.grid-bg, .dots, .dots-in, .grain, .bgcanvas { display: none; } /* retired helpers */

/* a white "sheet" that lifts content off the dots */
.sheet {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(2px);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow-sm);
}

/* --- Type ---------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; margin-top: .45em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.eyebrow--live::before { background: var(--accent); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.h1 { font-size: var(--step-h1); letter-spacing: -.04em; }
.h2 { font-size: var(--step-h2); }
.h3 { font-size: var(--step-h3); line-height: 1.15; letter-spacing: -.025em; }
.lead { font-size: var(--step-lead); line-height: 1.5; color: var(--text-2); max-width: 46ch; letter-spacing: -.01em; }
.dim { color: var(--text-2); }
.mono { font-family: var(--mono); font-size: 13.5px; letter-spacing: .02em; }
.measure { max-width: 58ch; }
.accent { color: var(--accent); }

a { color: inherit; }
.tlink { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(27,92,246,.35); transition: border-color .2s, color .2s; }
.tlink:hover { border-color: var(--accent); color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; font-family: var(--mono); font-size: 13px; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--text); }
.btn .glyph { font-size: 10px; color: var(--accent); }
.btn--live { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(27,92,246,.65); }
.btn--live .glyph { color: #fff; }
.btn--live:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; box-shadow: 0 12px 28px -10px rgba(27,92,246,.7); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 540px) { .btn-row { flex-direction: column; align-items: stretch; } }

/* --- Floating pill nav ---------------------------------------------------- */
.masthead { position: sticky; top: 14px; z-index: 50; pointer-events: none; transition: transform .45s var(--ease); }
.masthead.is-hidden { transform: translateY(-140%); }
.masthead__in {
  pointer-events: auto;
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
  height: 56px; padding: 0 8px 0 10px;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(11,15,20,.08);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 12px 34px -18px rgba(11,15,20,.35);
  transition: box-shadow .35s var(--ease);
}
.masthead.is-scrolled .masthead__in { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 44px -18px rgba(11,15,20,.45); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 15px; color: var(--accent); }
.brand:hover { background: var(--accent-soft); }
.mark__wire { stroke: var(--accent); stroke-width: 1.6; opacity: .55; }
.mark__box { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.mark__dot { fill: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text); text-decoration: none; padding: 9px 13px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(11,15,20,.06); }
.nav a[aria-current="page"] { background: rgba(11,15,20,.06); }
.nav .nav__cta { background: var(--accent); color: #fff; margin-left: 4px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px -10px rgba(27,92,246,.7); }
.nav .nav__cta:hover { background: var(--accent-2); }
.nav .nav__cta .glyph { font-size: 9px; }
.menubtn { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menubtn span, .menubtn span::before, .menubtn span::after { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: transform .35s var(--ease), background-color .2s; }
.menubtn span::before, .menubtn span::after { content: ""; position: absolute; left: 0; }
.menubtn span::before { top: -6px; } .menubtn span::after { top: 6px; }
body.menu-open .menubtn span { background: transparent; }
body.menu-open .menubtn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menubtn span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
body.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
body.menu-open { overflow: hidden; }
.menu a { font-weight: 600; letter-spacing: -.035em; font-size: clamp(36px, 9vw, 60px); line-height: 1.05; text-decoration: none; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.menu a small { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
body.menu-open .menu a { transform: none; opacity: 1; }
body.menu-open .menu a:nth-child(2) { transition-delay: .05s; } body.menu-open .menu a:nth-child(3) { transition-delay: .1s; } body.menu-open .menu a:nth-child(4) { transition-delay: .15s; }
.menu__foot { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; }
.menu__foot a { font-size: 13px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border: 0; padding: 0; transform: none; opacity: 1; }
@media (max-width: 860px) { .nav { display: none; } .menubtn { display: inline-flex; } .masthead__in { width: auto; justify-content: space-between; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* --- Hero (split: copy left, photo card right) ---------------------------- */
.hero { padding-top: clamp(84px, 11vw, 150px); padding-bottom: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
/* the blue flow lines, nateherk-style, faded out towards the centre */
.hero__flow {
  position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(27,92,246,.16) 0 1.5px, transparent 1.5px 13px);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000 100%);
          mask-image: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000 100%);
  opacity: .9;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { max-width: 620px; }
.hero__title { margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(112%); animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms + 120ms); }
@keyframes rise { to { transform: none; } }
.hero__lead { margin-bottom: 30px; max-width: 42ch; }
.typed { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px 8px 10px; box-shadow: var(--shadow-sm); }
.typed__k { color: var(--muted); }
.typed__v { color: var(--text); }
.typed__caret { width: 1.5px; height: 14px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__stats { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat b { font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.hero__stat b sup { color: var(--accent); font-size: .5em; font-weight: 600; }
.hero__stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* photo card */
.hcard { position: relative; perspective: 1200px; }
.hcard__frame {
  position: relative; border-radius: 26px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.hcard__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.hcard__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hcard:hover .hcard__sheen { opacity: 1; }
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(11,15,20,.08); border-radius: 999px;
  padding: 9px 13px; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.chip b { color: var(--accent); font-weight: 600; }
.chip--a { left: -18px; top: 12%; }
.chip--b { right: -14px; top: 46%; animation-delay: -2s; }
.chip--c { left: 8%; bottom: -14px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  .hero { padding-top: 92px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hcard { max-width: 440px; margin-top: 24px; }
  .chip--a { left: 6px; } .chip--b { right: 6px; } .chip--c { bottom: 8px; }
}

/* --- Places (what I'm up to) --------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 132px minmax(0,1fr) auto; gap: clamp(16px, 3vw, 44px); align-items: baseline; padding: clamp(22px, 2.8vw, 32px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: background-color .3s; border-radius: 8px; }
.row:hover { background: rgba(27,92,246,.035); }
.row__date { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.row__title { display: block; font-size: var(--step-h3); font-weight: 600; letter-spacing: -.028em; line-height: 1.12; transition: color .25s; }
.row:hover .row__title { color: var(--accent); }
.row__excerpt { display: block; margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.row__read { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.row__read .arrow { transition: transform .3s var(--ease); color: var(--accent); }
.row:hover .row__read .arrow { transform: translate(3px, -3px); }
.row--place { grid-template-columns: 220px minmax(0,1fr) auto; align-items: center; padding-inline: 10px; }
.row__num { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.row__num sup { font-size: .46em; color: var(--accent); vertical-align: super; }
.row__num small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.row--place .row__title { font-size: clamp(18px, 1.6vw, 22px); }
.row--place .row__excerpt { margin-top: 5px; }
@media (max-width: 760px) { .row, .row--place { grid-template-columns: 1fr; gap: 8px; } .row__read { margin-top: 8px; } }

.partners__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.partners__head .eyebrow { margin-bottom: 0; }
.partners__note { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }

/* --- Logo strip (quiet, scrolling) --------------------------------------- */
.marquee { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.85); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(48px, 9vw, 140px); pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(-33.3333%); } to { transform: none; } }
.partner { flex: none; display: flex; align-items: center; justify-content: center; height: clamp(84px, 8vw, 104px); padding-inline: clamp(30px, 4.4vw, 64px); text-decoration: none; }
.partner img { width: clamp(120px, 12vw, 160px); opacity: .55; transition: opacity .3s, transform .4s var(--ease); }
.partner:hover img { opacity: 1; transform: translateY(-2px); }
.partner__tag { display: none; }

/* --- Reel: the left → right photo slider ---------------------------------- */
.reel { position: relative; overflow: hidden; padding-block: 12px 40px; cursor: grab; }
.reel.is-dragging { cursor: grabbing; }
.reel__track { display: flex; gap: clamp(14px, 1.8vw, 24px); width: max-content; will-change: transform; }
.reel__card { position: relative; flex: none; width: clamp(240px, 26vw, 400px); }
.reel__frame { border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.reel__card:hover .reel__frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.reel__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.reel__card--wide .reel__frame img { aspect-ratio: 4 / 3; }
.reel__card--wide { width: clamp(300px, 34vw, 520px); }
.reel__cap { position: absolute; left: 12px; bottom: -14px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid rgba(11,15,20,.08); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; box-shadow: var(--shadow-sm); }

/* --- Workflow demo (white node cards) ------------------------------------- */
.wf { border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); overflow: hidden; }
.wf__canvas { display: grid; grid-template-columns: 1fr 52px 1fr 52px 1fr 52px 1fr; align-items: center; padding: clamp(22px, 3.2vw, 44px); background-image: radial-gradient(circle at 1px 1px, rgba(27,92,246,.16) 1.3px, transparent 0); background-size: 18px 18px; }
.wf__node { position: relative; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.wf__node::before, .wf__node::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); transform: translateY(-50%); transition: background-color .3s, border-color .3s; }
.wf__node::before { left: -5px; } .wf__node::after { right: -5px; }
.wf__node:first-child::before, .wf__node:last-child::after { display: none; }
.wf__node.is-active { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md); transform: translateY(-2px); }
.wf__node.is-active::before, .wf__node.is-active::after { background: var(--accent); border-color: var(--accent); }
.wf__node.is-done { border-color: var(--accent); }
.wf__type { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.wf__name { font-weight: 600; font-size: 15px; letter-spacing: -.02em; line-height: 1.2; }
.wf__sub { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.wf__wire { position: relative; height: 1.5px; background: var(--line-2); }
.wf__wire::after { content: ""; position: absolute; top: -1.5px; left: 0; width: 22px; height: 4px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(27,92,246,.5); opacity: 0; }
.wf__wire.is-running::after { animation: wirepulse .5s linear forwards; }
.wf__wire.is-done { background: var(--accent); }
@keyframes wirepulse { from { left: 0; opacity: 1; } to { left: calc(100% - 22px); opacity: 1; } }
.wf__bar { border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0,1fr); gap: 20px; align-items: start; padding: 16px clamp(22px, 3.2vw, 44px); background: #fff; }
.wf__log { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--text-2); white-space: pre-wrap; min-height: 5.4em; }
.wf__log .k { color: var(--muted); } .wf__log .ok { color: var(--accent); } .wf__hint { color: var(--muted); }
@media (max-width: 760px) {
  .wf__canvas { grid-template-columns: 1fr; }
  .wf__wire { width: 1.5px; height: 36px; margin: 0 auto; }
  .wf__wire::after { top: 0; left: -1.5px; width: 4px; height: 22px; }
  .wf__wire.is-running::after { animation-name: wirepulse-v; }
  .wf__node::before, .wf__node::after { left: 50%; right: auto; top: auto; transform: translateX(-50%); }
  .wf__node::before { top: -5px; } .wf__node::after { bottom: -5px; }
  .wf__bar { grid-template-columns: 1fr; }
}
@keyframes wirepulse-v { from { top: 0; opacity: 1; } to { top: calc(100% - 22px); opacity: 1; } }

/* --- Split / story / slots (About) --------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--sticky .split__media { position: sticky; top: 96px; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--sticky .split__media { position: static; } }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); position: relative; }
.story::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; height: 1.5px; background: var(--line-2); }
.story__item { position: relative; display: flex; flex-direction: column; gap: 14px; }
.story__year { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: #fff; padding-right: 12px; width: max-content; border-radius: 999px; }
.story__year::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.story__frame { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__item:hover .story__frame img { transform: scale(1.03); }
.story__cap { font-size: 15px; color: var(--text-2); line-height: 1.5; max-width: 30ch; }
.story__cap b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; gap: 30px; } .story::before { display: none; } }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.slot { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); border: 1px dashed var(--line-2); border-radius: 18px; margin: 0; }
.slot--wide { aspect-ratio: 16 / 9; } .slot--portrait { aspect-ratio: 4 / 5; }
.slot.is-filled { border-style: solid; box-shadow: var(--shadow-sm); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot__hint { padding: 22px; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }
.slot__hint b { display: block; color: var(--text-2); font-weight: 500; margin-bottom: 8px; }
.slot__hint span { display: block; font-size: 10px; text-transform: none; letter-spacing: .03em; margin-top: 6px; opacity: .85; }
.slot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; background: rgba(255,255,255,.9); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); opacity: 0; transform: translateY(100%); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.slot.is-filled:hover .slot__cap { opacity: 1; transform: none; }
.videocard { position: relative; display: block; text-decoration: none; color: inherit; }
.videocard__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; font-size: 20px; box-shadow: 0 0 0 10px rgba(27,92,246,.14); transition: transform .4s var(--ease); pointer-events: none; }
.videocard:hover .videocard__play { transform: scale(1.08); }

/* --- Panels / signup / forms --------------------------------------------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: clamp(26px, 3.4vw, 44px); background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.panel__body { color: var(--text-2); font-size: 15.5px; line-height: 1.55; flex: 1; }
.panel--live { background: var(--accent-soft); border-color: rgba(27,92,246,.18); }
@media (max-width: 760px) { .panels { grid-template-columns: 1fr; } }
.signup { border: 1px solid var(--line); background: rgba(255,255,255,.9); border-radius: calc(var(--r) + 6px); box-shadow: var(--shadow-sm); padding: clamp(26px, 4vw, 52px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
@media (max-width: 880px) { .signup { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 12px; }
.form__line { display: flex; gap: 10px; align-items: stretch; }
.form input, .form textarea { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-family: var(--display); font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form__note { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--muted); line-height: 1.6; }
.form__status { font-family: var(--mono); font-size: 12.5px; color: var(--accent); min-height: 1.2em; }
.form__status[data-state="error"] { color: var(--warn); }
@media (max-width: 520px) { .form__line { flex-direction: column; } }

/* --- Footer / closing / totop ------------------------------------------- */
.closing { position: relative; overflow: hidden; text-align: center; padding-block: clamp(96px, 14vw, 190px); }
.closing__media { display: none; }
.closing__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.closing__in .h1 { font-size: clamp(38px, 6.2vw, 86px); max-width: 14ch; }
.closing__alt { font-size: 15px; color: var(--text-2); }
.footer { border-top: 1px solid var(--line); padding-block: 40px 36px; background: rgba(255,255,255,.85); }
.footer__in { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer .brand { padding: 0; color: var(--text); }
.footer .brand:hover { background: transparent; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.themetoggle { display: none !important; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.9); backdrop-filter: blur(10px); color: var(--text); cursor: pointer; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--text); }

/* --- Interior pages ------------------------------------------------------ */
.pagehead { padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(36px, 5vw, 64px); }
.pagehead .h1 { max-width: 16ch; }
.pagehead .lead { margin-top: 22px; }
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 0; background: var(--accent); }
.article__band { padding-top: clamp(96px, 12vw, 150px); padding-bottom: clamp(30px, 4vw, 52px); }
.article__head { max-width: 20ch; font-size: clamp(34px, 5vw, 64px); margin-top: 26px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.article__dek { font-size: var(--step-lead); color: var(--text-2); max-width: 42ch; margin: 22px 0 28px; line-height: 1.45; }
.article__body { padding-block: clamp(24px, 4vw, 56px) clamp(44px, 6vw, 76px); }
.article__lead-media { margin-bottom: clamp(32px, 5vw, 56px); }
.prose { font-family: var(--read); font-size: clamp(17px, 1.2vw, 19px); line-height: 1.7; color: var(--prose); max-width: 66ch; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.028em; line-height: 1.15; margin-top: 2.1em; }
.prose strong { font-weight: 600; } .prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul { padding-left: 0; list-style: none; } .prose ul li { position: relative; padding-left: 24px; } .prose ul li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); border: 1.5px solid var(--accent); }
.prose blockquote { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.22; letter-spacing: -.03em; color: var(--text); border-left: 2px solid var(--accent); padding-left: clamp(18px, 3vw, 30px); margin-block: 1.7em; max-width: 24ch; }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--panel); padding: 2px 6px; border-radius: 6px; }
.article__foot { margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.backlink { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.backlink:hover { color: var(--accent); } .backlink .arrow { transition: transform .3s var(--ease); } .backlink:hover .arrow { transform: translateX(-3px); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.deflist { border-top: 1px solid var(--line); }
.deflist__item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.deflist__item dt { font-family: var(--mono); color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }
.deflist__item dd { margin: 0; text-align: right; }
.deflist__item a { color: var(--accent); text-decoration: none; } .deflist__item a:hover { text-decoration: underline; }

/* --- Reveal + reduced motion --------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track, .reel__track { animation: none !important; transform: none !important; }
  .hero__title .w > span { transform: none; }
}

/* ===================== v7 — readability, clean hero, roadmap, videos ===== */
:root { --dot: rgba(27, 92, 246, .22); }
/* soft white halo behind any text block so the dots never fight the type */
.halo { position: relative; }
.halo::before { content: ""; position: absolute; inset: -28px -36px; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(255,255,255,.98) 55%, rgba(255,255,255,.75) 78%, rgba(255,255,255,0) 100%); }
.sheet { padding: clamp(22px, 3vw, 40px); }
.section > .wrap > .partners__head { position: relative; }

/* hero — quieter */
.hero { padding-top: clamp(96px, 12vw, 160px); }
.hero__flow { display: none; }
.hero__copy { position: relative; z-index: 1; }
.hcard__frame { border-radius: 28px; box-shadow: 0 30px 70px -30px rgba(27,92,246,.35), var(--shadow-lg); }
.hcard__frame img { object-position: 50% 12%; }
.hcard__cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hcard__cap b { color: var(--text); font-weight: 500; }
.hcard__badge { position: absolute; right: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid rgba(11,15,20,.08); border-radius: 999px; padding: 7px 12px 7px 9px; font-size: 12.5px; font-weight: 500; box-shadow: var(--shadow-sm); }
.hcard__badge i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); }

/* partner strip with real brand icons */
.partner { gap: 12px; }
.partner__icon { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.partner__name { font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--text-2); transition: color .3s; }
.partner:hover .partner__name { color: var(--text); }

/* topic cards slider (replaces the photo reel) */
.reel__topic { flex: none; width: clamp(250px, 24vw, 330px); background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); user-select: none; }
.reel__topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reel__topic .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.reel__topic h3 { font-size: 20px; letter-spacing: -.025em; }
.reel__topic p { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.reel__topic .tool { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* videos */
.videos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.video { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video:hover img { transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 10px rgba(27,92,246,.22); transition: transform .35s var(--ease); pointer-events: none; }
.video:hover .video__play { transform: scale(1.08); }
.video__list { display: flex; flex-direction: column; gap: 14px; }
.video--small { aspect-ratio: 16 / 9; }
.video--small .video__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; font-size: 14px; box-shadow: 0 0 0 6px rgba(27,92,246,.22); }
@media (max-width: 800px) { .videos { grid-template-columns: 1fr; } }

/* roadmap (About) */
.road { position: relative; padding-left: 34px; }
.road::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), var(--accent)); border-radius: 2px; }
.road__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(22px, 3vw, 36px) 0; }
.road__item + .road__item { border-top: 1px solid var(--line); }
.road__item::before { content: ""; position: absolute; left: -30px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.road__year { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.road__item h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; margin-bottom: 8px; }
.road__item p { color: var(--text-2); font-size: 16px; line-height: 1.55; max-width: 48ch; }
.road__pic { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: var(--panel); transform: rotate(var(--tilt, 0deg)); transition: transform .5s var(--ease); }
.road__item:hover .road__pic { transform: rotate(0deg) translateY(-3px); }
.road__pic img { width: 100%; height: 100%; object-fit: cover; }
.road__pic--none { display: grid; place-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 20px; }
@media (max-width: 760px) { .road__item { grid-template-columns: 1fr; } .road__pic { max-width: 240px; } }
.partner__icon { width: 38px; height: 38px; border-radius: 10px; padding: 5px; image-rendering: auto; }
.partner__name { font-size: 18px; }
.marquee { background: #fff; }

/* v8 — communities, cleaner partner icons */
.partner__icon { border: 0; padding: 0; background: transparent; width: 40px; height: 40px; border-radius: 10px; }
.comm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comm__card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3.2vw, 40px); background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.comm__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.comm__card p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; flex: 1; }
.comm__tag { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.comm__card--pro { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 20px 44px -20px rgba(27,92,246,.6); }
.comm__card--pro p { color: rgba(255,255,255,.82); }
.comm__card--pro .comm__tag { background: rgba(255,255,255,.16); color: #fff; }
.comm__cta { font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.comm__cta .arrow { color: var(--accent); transition: transform .3s var(--ease); }
.comm__card--pro .comm__cta .arrow { color: #fff; }
.comm__card:hover .comm__cta .arrow { transform: translate(3px,-3px); }
@media (max-width: 760px) { .comm { grid-template-columns: 1fr; } }

/* ===== v9 — readability, tight partner chips, 4 videos, community cards ===== */
:root { --dot: rgba(27,92,246,.17); --muted: #5f6874; --text-2: #343d49; }
.halo::before { display: none; }
.hero__copy { padding: clamp(18px, 2.4vw, 32px); margin: calc(-1 * clamp(18px, 2.4vw, 32px)); background: rgba(255,255,255,.92); border-radius: 28px; }
.hero__stat span, .row__num small, .story__year, .road__year, .eyebrow, .partners__note, .form__note, .footer__legal, .article__meta, .row__date, .row__read, .wf__sub, .wf__type, .reel__topic .k, .reel__topic .tool, .comm__tag { color: var(--muted); }
.eyebrow, .partners__note { font-size: 12px; }
.hero__stat span { font-size: 11.5px; letter-spacing: .12em; }
.hero__stats { background: rgba(255,255,255,.92); border-radius: 16px; padding: 18px 20px; margin-top: 30px; border: 1px solid var(--line); }
.hero__stat b { font-size: 26px; }
.section .partners__head { background: rgba(255,255,255,.92); border-radius: 14px; padding: 10px 14px; margin-inline: -14px; }
.reel__topic .k, .wf__type { color: var(--accent); }
.partner { height: 84px; padding-inline: clamp(22px, 3vw, 44px); gap: 10px; }
.partner img.partner__icon { width: 28px; height: 28px; border-radius: 7px; opacity: 1; margin: 0; }
.partner__name { font-size: 17px; color: var(--text); }
.videos { grid-template-columns: repeat(2, 1fr); }
.video--small { }
.video__list { display: contents; }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-weight: 500; font-size: 14.5px; letter-spacing: -.01em; pointer-events: none; }
.comm__card { gap: 14px; padding: clamp(26px, 3.4vw, 44px); border-radius: 24px; }
.comm__card h3 { font-size: clamp(24px, 2.4vw, 32px); }
.comm__list { display: grid; gap: 8px; margin: 4px 0 6px; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.comm__list li { display: flex; gap: 10px; align-items: flex-start; }
.comm__list li::before { content: "✓"; color: var(--accent); font-weight: 600; flex: none; }
.comm__card--pro .comm__list { color: rgba(255,255,255,.88); }
.comm__card--pro .comm__list li::before { color: #fff; }
.comm__meta { display: flex; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.comm__card--pro .comm__meta { color: rgba(255,255,255,.75); }
.comm__cta { margin-top: 6px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #fff; align-self: flex-start; font-size: 14.5px; }
.comm__cta .arrow { color: #fff; }
.comm__card--pro .comm__cta { background: #fff; color: var(--accent); }
.comm__card--pro .comm__cta .arrow { color: var(--accent); }

/* ===== v10 — logo mark, clean stats, stack grid ===== */
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; box-shadow: 0 6px 14px -8px rgba(27,92,246,.7); }
.mark svg { width: 18px; height: 18px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; background: transparent; border: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; }
.hero__stat { gap: 4px; padding-right: 16px; }
.hero__stat b { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.hero__stat b sup { font-size: .5em; color: var(--accent); vertical-align: top; position: relative; top: .1em; }
.hero__stat span { font-family: var(--display); font-size: 13.5px; letter-spacing: -.005em; text-transform: none; color: var(--muted); }
@media (max-width: 480px) { .hero__stats { grid-template-columns: 1fr 1fr; gap: 16px 0; } }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stack__tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.stack__tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.stack__tile img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.stack__tile b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.stack__tile span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 960px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stack { grid-template-columns: 1fr; } }
.about__lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -.015em; color: var(--text); max-width: 34ch; }
.about__facts { display: grid; gap: 12px; margin-top: 22px; padding: 0; list-style: none; }
.about__facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); line-height: 1.5; }
.about__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: .5em; }
.hero__stats { grid-template-columns: auto auto auto; justify-content: start; column-gap: clamp(22px, 3vw, 44px); }
.hero__stat { padding-right: 0; }
.hero__stat span { white-space: nowrap; }
img.mark { display: block; object-fit: cover; background: transparent; box-shadow: 0 6px 14px -8px rgba(27,92,246,.7); }

/* v13 — On YouTube section */
.yt { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); padding: clamp(24px, 3.4vw, 44px); }
.yt__head { max-width: 62ch; }
.yt__head .h2 { margin-top: 0; }
.yt__sub { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: -.025em; line-height: 1.15; color: var(--text-2); margin-top: 10px; }
.yt__desc { margin-top: 16px; }
.yt__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.yt__stats > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.yt__stats b { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.yt__stats b sup { font-size: .5em; color: var(--accent); vertical-align: top; position: relative; top: .1em; }
.yt__stats span { font-size: 13.5px; color: var(--muted); }
.yt__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.yt__topics span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); white-space: nowrap; }
.yt__topics .yt__topics-k { background: none; padding: 0 6px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.yt__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 28px 0 6px; }
.yt__row { display: grid; grid-template-columns: 34px 132px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color .25s; border-radius: 12px; }
.yt__row:hover { background: rgba(27,92,246,.04); }
.yt__n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.yt__row img { width: 132px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.yt__t { font-weight: 500; font-size: 15.5px; letter-spacing: -.015em; line-height: 1.3; }
.yt__row:hover .yt__t { color: var(--accent); }
.yt__v { font-family: var(--display); font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
.yt__v small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 3px; }
@media (max-width: 800px) { .yt__stats { grid-template-columns: 1fr; } .yt__row { grid-template-columns: 96px minmax(0,1fr); } .yt__n { display: none; } .yt__row img { width: 96px; } .yt__v { grid-column: 2; text-align: left; } }

/* v15: book mark — no tile shadow, even pill padding */
img.mark { width: 26px; height: 26px; border-radius: 0; box-shadow: none; object-fit: contain; }
.brand { padding: 9px 16px 9px 10px; gap: 10px; line-height: 1; }
.footer .brand { padding: 0; }

/* v20: About preview — wide heading, photo on the right */
.about2 { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about2__h { max-width: 18ch; }
.about2 .about__lead { margin-top: 26px; max-width: 40ch; }
.about2__text { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.about2__more { margin-top: 24px; }
.about2__pic { margin: 0; justify-self: end; width: 100%; max-width: 280px; transform: rotate(var(--tilt, 0deg)); transition: transform .5s var(--ease); }
.about2__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--panel); }
.about2__pic figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.about2:hover .about2__pic { transform: rotate(0deg) translateY(-3px); }
@media (max-width: 760px) { .about2 { grid-template-columns: 1fr; } .about2__pic { justify-self: start; max-width: 240px; } }
