.works-panel.grain::after, .testi-card.grain::after { display: none; }

/* ---------- hero ---------- */
.hero { padding-block: 71px var(--sec); }
.hero h1 { margin: 0; font-family: var(--title); font-weight: 400; font-size: 24px; line-height: 32px; letter-spacing: -0.6px; text-wrap: balance; }
.hero-logos {
  position: relative; margin-top: 28px; height: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hero-track { position: absolute; inset: 0 auto 0 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 90s linear infinite; }
.hero-logos:hover .hero-track { animation-play-state: paused; }
.hero-track img { opacity: 0.75; width: auto; }
html.light .hero-track img { filter: invert(1); }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
.hero-sub { margin-top: 28px; font-size: 15px; }
.hero .btns { margin-top: 36px; }

/* ---------- works ---------- */
.works { padding-block: var(--sec); }
.works-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; }
.works-lbl { font-family: var(--mono); font-size: 14px; letter-spacing: -0.5px; text-transform: uppercase; color: var(--dim); }
.works-lbl b { font-weight: 500; color: var(--fg); }
.works-dots { display: flex; gap: 5px; align-items: center; }
.wk-dot { position: relative; width: 5px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: var(--chipb); overflow: hidden; cursor: pointer; transition: width 0.45s var(--ease), background-color 0.2s; }
.wk-dot::before { content: ''; position: absolute; inset: -8px -3px; }
.wk-dot:hover { background: var(--dim); }
.wk-dot i { position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; border-radius: inherit; }
.wk-dot.on { width: 50px; background: var(--chipb); cursor: default; }
.wk-dot:not(.on) i { display: none; }

.works-panel { aspect-ratio: 1240 / 738; overflow: hidden; background: #2a3a2c; user-select: none; -webkit-user-select: none; outline-offset: -2px; }
.works-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wk-stage { position: absolute; inset: 0; z-index: 2; }
.works-panel.gl-on .wk-stage { visibility: hidden; }
.wk-slide { position: absolute; inset: 0; will-change: transform; }
.wk-web, .wk-phone { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.wk-web { width: 938px; height: 621px; transform: translate(var(--wx, 0px), var(--wy, 0px)) scale(var(--ws, 1)); }
.wk-phone { width: 300px; height: 612px; transform: translate(var(--px, 0px), var(--py, 0px)) scale(var(--ps, 1)); }
.wk-anim { position: relative; width: 100%; height: 100%; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.wk-web .wk-anim { border-radius: 14px; overflow: hidden; background: #1e1e20; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.wk-phone .wk-anim { border-radius: 44px; padding: 10px; background: #0e0e0e; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12); opacity: 0; transform: translateY(28px); pointer-events: none; }
.works-panel[data-device='mobile'] .wk-web .wk-anim { opacity: 0; transform: translateY(-16px) scale(0.98); pointer-events: none; }
.works-panel[data-device='mobile'] .wk-phone .wk-anim { opacity: 1; transform: none; }
.wk-chrome { position: relative; height: 38px; }
.wk-chrome svg { display: block; width: 938px; height: 38px; }
.wk-url { position: absolute; left: 283px; top: 0; width: 381px; height: 38px; display: flex; align-items: center; justify-content: center; gap: 5px; font-family: var(--title); font-size: 11px; color: #d6d6d6; pointer-events: none; }
.wk-url svg { width: 8px; height: 10px; }
.wk-screen { position: relative; height: 583px; overflow: hidden; background: #fff; }
.wk-pscreen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; }
.wk-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.wk-isl { position: absolute; z-index: 3; left: 50%; top: 9px; width: 86px; height: 24px; margin-left: -43px; border-radius: 12px; background: #000; }
.wk-live { position: absolute; z-index: 2; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; pointer-events: none; opacity: 0; transition: opacity 0.35s; }
.wk-live.on { opacity: 1; }
.wk-screen .wk-live { width: 1280px; height: 795px; transform: scale(0.73281); }
.wk-pscreen .wk-live { width: 390px; height: 825px; transform: scale(0.71795); }
.wk-gl { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.works-panel.gl-on .wk-gl { visibility: visible; }
.wk-drag { position: absolute; inset: 0; z-index: 4; touch-action: pan-y; cursor: grab; }
@media (hover: hover) and (pointer: fine) { .wk-drag { cursor: none; } }
.wk-cursor {
  position: absolute; z-index: 6; left: 0; top: 0; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px;
  border-radius: 18px; background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); color: #fff; font-family: var(--title); font-size: 13px; pointer-events: none;
  opacity: 0; transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-50%, -50%) scale(0.6); transition: opacity 0.2s, transform 0.25s var(--ease);
}
.wk-cursor svg { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.wk-cursor.on { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-50%, -50%) scale(1); transition: opacity 0.2s, transform 0.06s linear; }
.wk-cursor.down { transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-50%, -50%) scale(0.9); }
.wk-cursor.down svg:first-child { transform: translateX(-3px); }
.wk-cursor.down svg:last-child { transform: translateX(3px); }
.lc1 { background: #8be81e; } .lc2 { background: #fff9c6; } .lc3 { background: #ddf0ff; } .lc4 { background: #34e1f5; }

.wk-arrow { position: absolute; z-index: 5; left: var(--ax, 40px); top: var(--ay, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer;
  background: rgba(24, 24, 20, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  transition: left 0.6s var(--ease), top 0.6s var(--ease), background-color 0.2s, transform 0.25s var(--ease); }
.wk-arrow.next { left: auto; right: var(--ax, 40px); margin: -22px -22px 0 0; transition: right 0.6s var(--ease), top 0.6s var(--ease), background-color 0.2s, transform 0.25s var(--ease); }
.wk-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.wk-arrow:hover { background: rgba(24, 24, 20, 0.72); transform: scale(1.06); }
.wk-arrow.prev:hover svg { transform: translateX(-2px); }
.wk-arrow.next:hover svg { transform: translateX(2px); }
.wk-arrow:active { transform: scale(0.94); }
.seg { position: absolute; z-index: 5; left: 50%; bottom: 3.4%; transform: translateX(-50%); display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(40, 40, 30, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.seg button { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: rgba(255, 255, 255, 0.6); font-family: var(--title); font-size: 13px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.seg button[aria-checked='true'] { background: rgba(255, 255, 255, 0.16); color: #fff; }
.seg svg { width: 14px; height: 14px; }

.works-cap { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-block: 24px 0; }
.works-cap p { margin: 0; max-width: 300px; font-size: 15px; line-height: 18px; color: var(--mut); }
.works-cap p b { font-weight: 400; color: var(--fg); }
.works-say { display: flex; flex-direction: column; gap: 12px; }
.works-cap .works-go { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: none; }
.works-go .lnk { font-size: 14px; }
/* other-domain sites: while the pointer is over the screen the site takes the pointer (see main.js) */
.works-panel.in-site .wk-drag, .works-panel.in-site .wk-slide, .works-panel.in-site .wk-slide * { pointer-events: none; }
.works-panel.in-site .wk-live.on { pointer-events: auto; }
.works-tags { display: flex; gap: 8px; align-items: center; font-family: var(--dm); font-size: 11px; letter-spacing: 0.2px; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

/* ---------- summary ---------- */
.sum { padding-block: var(--sec); }
.sum .sum-stat:last-child { padding-bottom: 0; }
.sum-stat { display: grid; grid-template-columns: 200px 106px minmax(0, 256px); align-items: center; padding: 20px 0; }
.sum-n { font-family: var(--title); font-weight: 300; font-size: 56px; line-height: 56px; letter-spacing: -2.4px; color: var(--mut); }
.sum-pp { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: 1px; }
.sum-t { font-size: 14px; line-height: 21px; color: var(--mut); }
.sum-t svg { width: 20px; height: 20px; margin-bottom: 12px; color: var(--accent); }
.sum-vid { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0 36px; }
.sum-note { flex: 1 1 0; min-width: 0; max-width: 380px; margin: 0; font-family: var(--body); }
.sum-note b { display: block; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--accent); }
.sum-note span { display: block; margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--mut); }
.sum-ann { position: relative; width: 226px; margin: 0; }
.sum-ann img { width: 100%; height: auto; aspect-ratio: 224 / 154; object-fit: cover; }
.sum-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border: 0; border-radius: 14px; background: rgba(30, 30, 30, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-family: var(--title); font-size: 11.5px; cursor: pointer; transition: background-color 0.2s; }
.sum-play:hover { background: rgba(30, 30, 30, 0.75); }
.sum-play svg { width: 10px; height: 10px; }
.i-pause { display: none; }
.playing .i-play { display: none; }
.playing .i-pause { display: block; }
.sum-prog { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; opacity: 0; transition: opacity 0.3s; }
.sum-prog i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.playing .sum-prog { opacity: 1; }
.playing .sum-prog i { animation: prog 12s linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }

/* ---------- studio map: a living node map of every project (main.js studioMap) ---------- */
.smap { --m-ink: var(--fg); --m-grey: var(--dim); --m-sel: #6f7d3c; --m-card: var(--card); margin-top: var(--s6); }
html:not(.light) .smap { --m-sel: #8c9b52; --m-card: #1c1c1c; }
.smap-stage { position: relative; height: 520px; touch-action: pan-y; }
.smap-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.smap-links path { fill: none; stroke: var(--m-ink); stroke-width: 1; transition: opacity 0.4s; }
.smap-links path.dot { stroke: var(--m-grey); stroke-width: 2; stroke-dasharray: 2 10; }
.smap-links path.in { opacity: 0; }
.smap-nodes { position: absolute; inset: 0; }

/* a node: the shape, with its name underneath */
.smn { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; background: none; color: var(--m-ink); font: inherit; cursor: pointer;
  transition: opacity 0.4s var(--ease); }
.smn.in, .smn.out { opacity: 0; }
.smn.out { pointer-events: none; }
.smn-s { position: absolute; inset: 0; }
.smn-s svg { display: block; width: 100%; height: 100%; overflow: visible; }
.smn-s .f { fill: var(--bg); stroke: var(--m-ink); stroke-width: 1.2; transition: fill 0.25s, stroke 0.25s; }
.smn-s .d { fill: var(--m-ink); }
.smn-s text { fill: var(--m-ink); font-family: var(--body); font-size: 9.5px; text-anchor: middle; dominant-baseline: central; }
.smn-t { position: absolute; left: 50%; top: 25px; width: 150px; transform: translateX(-50%); padding: 1px 2px; background: var(--bg); text-align: center; font-size: 13px; line-height: 18.5px; letter-spacing: -0.1px; pointer-events: none; transition: background-color 0.35s, color 0.25s; }
.smn-t small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 10.5px; line-height: 15px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--m-grey); transition: max-height 0.25s, opacity 0.25s; }
.smn:hover .smn-t small, .smn:focus-visible .smn-t small, .smn.sel .smn-t small, .smn.root .smn-t small { max-height: 16px; opacity: 1; }
.smn:focus-visible { outline: none; }
.smn:focus-visible .smn-s { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 50%; }
/* grey: connected but not featured */
.smn.dim { color: var(--m-grey); }
.smn.dim .smn-s .f { stroke: var(--m-grey); }
.smn.dim .smn-s text { fill: var(--m-grey); }
.smn.dim:hover { color: var(--m-ink); }
.smn.dim:hover .smn-s .f { stroke: var(--m-ink); }
/* the studio */
.smn.root .smn-s .f { fill: var(--accent); stroke: var(--m-ink); stroke-width: 1; }
/* the node in focus */
.smn.sel .smn-s .f { fill: var(--m-sel); stroke: var(--m-ink); }
.smn.sel .smn-s .d, .smn.sel .smn-s text { display: none; }
.smn.sel .smn-s .x { display: block; }
.smn-s .x { display: none; stroke: var(--m-ink); stroke-width: 1.2; }
.smn.root.sel .smn-s .f { fill: var(--accent); }
.smn.root.sel .smn-s .x { display: none; }

/* index card */
.smap-index { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.smx { padding: 16px 0; color: var(--m-ink); }
.smx-h { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 20px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 11px; letter-spacing: 0.55px; text-transform: uppercase; text-align: left; cursor: pointer; }
.smx-h b { flex: 1; font-weight: 400; }
.smx-h i { flex: none; width: 12px; height: 12px; display: grid; place-items: center; font-style: normal; }
.smx-h i svg { width: 100%; height: 100%; overflow: visible; }
.smx-h .pm { width: 12px; font-size: 15px; line-height: 1; text-align: center; }
.smx-sec + .smx-sec { margin-top: 18px; }
.smx-sec > .smx-h { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.smx-body { padding-top: 12px; }
.smx-sec.shut .smx-body { display: none; }
.smx-body > p { margin: 0; font-size: 14px; line-height: 20px; text-indent: 24px; }
.smx-body > p + p { margin-top: 10px; }
.smx-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.smx-t { margin: 0 0 0 24px; font-size: 14px; line-height: 20px; }
.smx-t small { display: block; color: var(--m-grey); font-size: 14px; }
.smx-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 14px; }
.smx-acts button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.smx-list { display: flex; flex-direction: column; gap: 9px; max-height: 330px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.smx-list button { display: block; padding: 0 0 0 24px; border: 0; background: none; color: var(--m-ink); font: inherit; font-size: 14px; line-height: 19px; text-align: left; cursor: pointer; }
.smx-list button:hover b { text-decoration: underline; text-underline-offset: 3px; }
.smx-list b { font-weight: 400; }
.smx-list small { display: block; font-size: 10.5px; line-height: 15px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--m-grey); }

@media (max-width: 640px) {
  .smap-stage { height: 460px; margin-inline: -8px; }
  .smn-t { width: 116px; font-size: 12px; line-height: 16px; }
}

/* ---------- framer to astro ---------- */
.fa { padding-block: var(--sec); }
.fa-top { padding-block: 0 36px; }
.fa-top .h { margin-top: 23px; }
.fa-top .p { margin-top: 12px; }
.fa-top .btns { margin-top: 23px; }

.fa-panel { position: relative; aspect-ratio: 1240 / 659; overflow: hidden; background: #55707a; }
.fa-inner { position: absolute; left: 0; top: 0; width: 1240px; height: 659px; transform-origin: 0 0; transform: translateX(var(--tx, 0px)) scale(var(--s, 1)); }
.fa-land { position: absolute; inset: 0; }
.fa-land svg { width: 100%; height: 100%; }
.fa-win { position: absolute; left: 210px; top: 56px; width: 820px; height: 500px; border-radius: 14px; overflow: hidden; background: #1c1c1e; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.fa-chrome { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #1c1c1e; position: relative; }
.fa-chrome .d { width: 11px; height: 11px; border-radius: 50%; }
.d1 { background: #ff5f57; } .d2 { background: #febc2e; } .d3 { background: #28c840; }
.fa-url { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 380px; height: 24px; border-radius: 7px; background: #2a2a2c; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--title); font-size: 12.5px; color: rgba(255, 255, 255, 0.85); overflow: hidden; }
.fa-url svg { width: 9px; height: 11px; flex: none; }
.fa-url .u { position: relative; display: inline-block; height: 16px; line-height: 16px; min-width: 170px; text-align: center; }
.fa-url .u span { display: block; transition: transform 0.5s cubic-bezier(0.3, 0.8, 0.2, 1), opacity 0.4s; }
.fa-url .ua { position: absolute; left: 0; right: 0; top: 0; transform: translateY(100%); opacity: 0; }
.astro .fa-url .uf { transform: translateY(-100%); opacity: 0; }
.astro .fa-url .ua { transform: none; opacity: 1; }

.fa-site { position: absolute; left: 0; right: 0; top: 38px; bottom: 0; background: #fbfaf7; color: #111; overflow: hidden; font-family: var(--title); }
.s-nav { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 28px; border-bottom: 1px solid #eeece6; }
.s-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: -0.3px; }
.s-logo i { width: 16px; height: 16px; border-radius: 5px; background: #111; position: relative; }
.s-logo i::after { content: ''; position: absolute; inset: 4px; border-radius: 2px; background: #ff5a28; }
.s-links { display: flex; gap: 22px; font-size: 12.5px; color: #6b6b70; }
.s-btn { height: 30px; padding: 0 13px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; display: inline-flex; align-items: center; font-weight: 500; }
.s-hero { text-align: center; padding-top: 30px; }
.s-pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e6e4de; font-size: 11.5px; color: #55555b; }
.s-pill i { width: 6px; height: 6px; border-radius: 50%; background: #28c840; }
.s-h { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 46px; letter-spacing: -1.4px; }
.s-p { margin: 8px auto 0; max-width: 420px; font-size: 13.5px; line-height: 20px; color: #5a5a60; }
.s-ctas { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.s-ctas span { height: 34px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 500; }
.s-ctas .k { background: #111; color: #fff; }
.s-ctas .o { box-shadow: inset 0 0 0 1px #dad8d2; }
.s-cards { position: absolute; left: 16px; right: 16px; top: 318px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s-card { height: 144px; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.s-card b { font-family: var(--dm); font-weight: 500; font-size: 9.5px; letter-spacing: 0.4px; text-transform: uppercase; }
.s-card strong { display: block; font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: -1.5px; }
.s-card em { font-style: normal; font-size: 10.5px; line-height: 14px; color: rgba(17, 17, 17, 0.7); }
.made { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06); font-size: 11.5px; font-weight: 600; color: #111; transition: transform 0.5s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.4s; }
.made svg { width: 10px; height: 14px; }
.astro .made { transform: translateY(60px); opacity: 0; }

.fa-ann { position: absolute; border: 1.5px solid var(--blue); pointer-events: none; opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 0.4s 0.25s, clip-path 0.7s 0.2s cubic-bezier(0.6, 0, 0.2, 1); }
.astro .fa-ann { opacity: 1; clip-path: inset(-30px -30px -30px -30px); }
.fa-ann b { position: absolute; left: -1.5px; top: -21px; height: 18px; padding: 0 6px; border-radius: 3px 3px 3px 0; background: var(--blue); color: #fff; font-family: var(--dm); font-weight: 400; font-size: 11px; line-height: 18px; white-space: nowrap; }
.fa-ann em { position: absolute; right: -1.5px; top: -21px; height: 16px; padding: 0 5px; border-radius: 3px; background: var(--blue); color: #fff; font-family: var(--dm); font-style: normal; font-size: 10px; line-height: 16px; white-space: nowrap; }

.fa-code { position: absolute; left: 880px; top: 206px; width: 318px; border-radius: 12px; background: rgba(22, 22, 22, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); font-family: var(--mono); font-size: 11.5px; line-height: 19px; color: rgba(255, 255, 255, 0.75); transform: translateX(70px); opacity: 0; transition: transform 0.6s var(--ease) 0.1s, opacity 0.45s 0.1s; }
.astro .fa-code { transform: none; opacity: 1; }
.fa-code .tabs { display: flex; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.fa-code .tabs span { padding: 6px 10px; border-radius: 6px 6px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.fa-code .tabs .on { background: rgba(255, 255, 255, 0.06); color: #fff; }
.fa-code pre { margin: 0; padding: 10px 14px 12px; white-space: pre; font: inherit; }
.fa-code .n { color: rgba(255, 255, 255, 0.25); display: inline-block; width: 18px; }
.fa-code .k { color: #ff8a5c; } .fa-code .s { color: #8fd67a; } .fa-code .cm { color: rgba(255, 255, 255, 0.35); } .fa-code .v { color: #b6b8ff; }
.fa-code .foot { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 10.5px; color: rgba(255, 255, 255, 0.55); }
.fa-code .foot i { width: 7px; height: 7px; border-radius: 2px; background: var(--green); }

.fa-note { position: absolute; left: 58px; top: 212px; width: 150px; font-family: var(--hand); font-size: 19px; line-height: 21px; transform: rotate(-6deg); transition: opacity 0.5s 0.4s; }
.fa-note small { display: block; margin-top: 6px; font-size: 17px; line-height: 19px; }
.fa-note.f { color: rgba(255, 255, 255, 0.88); opacity: 1; }
.fa-note.f small { color: rgba(255, 255, 255, 0.62); }
.fa-note.a { color: #ff7a4d; opacity: 0; }
.fa-note.a small { color: #fff; }
.fa-note svg { position: absolute; left: 96px; top: 66px; width: 60px; height: 46px; overflow: visible; fill: none; stroke: #ff7a4d; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s 0.8s; }
.astro .fa-note.f { opacity: 0; }
.astro .fa-note.a { opacity: 1; }
.astro .fa-note svg { stroke-dashoffset: 0; }

.fa-tog { position: absolute; left: 50%; top: 584px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(30, 30, 28, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.fa-tog button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: rgba(255, 255, 255, 0.6); font-family: var(--title); font-size: 13.5px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.fa-tog button[aria-checked='true'] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.fa-tog svg { width: 14px; height: 14px; }

.fa-bot { padding-block: 40px 0; }
.fa-bot .h { font-weight: 500; }
.fa-bot .p { margin-top: 12px; }
.fa-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.fa-row a { display: inline-flex; gap: 10px; align-items: center; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.free { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--yellow); font-family: var(--dm); font-size: 12px; color: var(--yellow); }
.free svg { width: 11px; height: 11px; }
html.light .free { color: #8a6d00; border-color: #b8961c; }

/* ---------- testimonial ---------- */
.testi { padding-block: var(--sec); }
.testi-card { max-width: 714px; height: 469px; margin: 0 auto; overflow: hidden; color: #fff; background: #2a1d14; }
.testi-bg { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; }
.testi-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 14, 10, 0.4) 0%, rgba(20, 14, 10, 0.1) 60%, rgba(20, 14, 10, 0) 100%); }
.testi-left { position: absolute; z-index: 2; left: 40px; top: 88px; width: 320px; height: 294px; display: flex; flex-direction: column; justify-content: space-between; }
.testi-amt { display: flex; align-items: center; gap: 14px; padding: 17px 0 17px 24px; border-left: 1.5px solid rgba(255, 255, 255, 0.85); }
.testi-amt strong { font-family: var(--title); font-weight: 400; font-size: 32px; line-height: 32px; letter-spacing: -1px; }
.testi-amt span { font-size: 14px; color: rgba(255, 255, 255, 0.7); padding-top: 8px; }
.testi blockquote { margin: 0; font-size: 15px; line-height: 21px; color: rgba(255, 255, 255, 0.92); }
.testi figcaption { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.testi figcaption b { font-weight: 500; color: #fff; margin-right: 6px; }
.testi-left { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), filter 0.45s var(--ease); }
.testi-left.out { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.testi-right { position: absolute; z-index: 2; left: 416px; top: 40px; width: 272px; height: 390px; }
.testi-col { position: absolute; left: 148px; top: 0; width: 117px; display: flex; flex-direction: column; gap: 20px; transition: transform 1.2s cubic-bezier(0.65, 0, 0.25, 1); }
.testi-right { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.testi-gc { flex: none; width: 117px; height: 117px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; }
.testi-gc img { width: 52px; height: auto; opacity: 0.28; }
.testi-duo { position: absolute; z-index: 1; left: 0; top: 130px; width: 271px; height: 130px; border-radius: 65px; background: rgba(24, 18, 14, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 50px -20px rgba(0, 0, 0, 0.6); display: flex; align-items: center; }
.testi-me { width: 117px; height: 117px; margin-left: 7px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.testi-me img { width: 36px; height: 36px; border-radius: 9px; filter: invert(1); mix-blend-mode: screen; }
.testi-plus { font-family: var(--mono); font-size: 18px; margin: 0 4px 0 2px; }
.testi-them { position: relative; width: 117px; height: 117px; border-radius: 50%; background: #fff; overflow: hidden; animation: pulse 3.6s ease-in-out infinite; }
.testi-track { position: absolute; left: 0; top: 0; width: 117px; display: flex; flex-direction: column; gap: 20px; transition: transform 1.2s cubic-bezier(0.65, 0, 0.25, 1); }
.testi-tl { flex: none; width: 117px; height: 117px; display: flex; align-items: center; justify-content: center; }
.testi-tl img { width: 63px; height: auto; filter: invert(1); }

/* ---------- how we work ---------- */
.how { padding-block: var(--sec); }
.tl { position: relative; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tl-plot { position: relative; height: 200px; }
.tl-plot[data-rows='2'] { height: 224px; }
.tl-plot[data-rows='3'] { height: 248px; }
.tl-kick-lbl { position: absolute; top: 18px; font-family: var(--dm); font-size: 11px; letter-spacing: 0.6px; color: var(--mut); white-space: nowrap; transition: left 0.5s var(--ease); }
.tl-kick-lead { position: absolute; top: 36px; width: 1px; height: 14px; background: var(--dim); transform: rotate(-35deg); transition: left 0.5s var(--ease); }
.tl-span { position: absolute; top: 56px; height: 1px; background: var(--dim); transition: left 0.5s var(--ease), width 0.5s var(--ease); }
.tl-span::before, .tl-span::after { content: ''; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--dim); }
.tl-span::before { left: 0; } .tl-span::after { right: 0; }
.tl-span span { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); padding: 0 8px; background: var(--bg); font-family: var(--dm); font-size: 11px; letter-spacing: 0.6px; line-height: 16px; color: var(--mut); white-space: nowrap; transition: background-color 0.35s; }
.tl-vg { position: absolute; top: 60px; height: 52px; border-left: 1px dashed var(--chipb); transition: left 0.5s var(--ease); }
.tl-ruler { position: absolute; left: 0; right: 0; top: 112px; height: 34px; background: var(--card); border-top: 1px solid var(--chipb); }
.tl-ticks { position: absolute; inset: 0; }
.tl-mn { position: absolute; top: 0; width: 1px; height: 6px; background: var(--dim); opacity: 0.55; }
.tl-tick { position: absolute; top: 0; width: 1px; height: 14px; background: var(--mut); }
.tl-tick span { position: absolute; left: 4px; top: 8px; font-family: var(--dm); font-size: 8.5px; line-height: 10px; color: var(--dim); white-space: nowrap; }
.tl-tick.mj span { color: var(--fg); top: 16px; left: -8px; }
.tl-mk { position: absolute; top: 0; width: 0; transition: left 0.5s var(--ease); }
.tl-mk i { position: absolute; left: -1px; width: 2px; }
.tl-mk b { position: absolute; top: var(--y, 158px); left: var(--dx, 0px); transform: translateX(-50%); height: 17px; padding: 0 6px; border-radius: 3px; font-family: var(--dm); font-weight: 400; font-size: 10.5px; line-height: 17px; letter-spacing: 0.3px; color: #fff; white-space: nowrap; transition: top 0.3s; }
.tl-mk.book i { top: 112px; height: 44px; width: 0; border-left: 2px dotted var(--fg); }
.tl-mk.book b { background: var(--chipb); color: var(--mut); }
.tl-mk.today i { top: 104px; height: 54px; background: var(--pink); }
.tl-mk.today b { background: #c93a73; }
.tl-mk.launch i { top: 44px; height: 114px; background: var(--violet); }
.tl-mk.launch .dia { top: 102px; left: -5px; width: 10px; height: 10px; transform: rotate(45deg); }
.tl-mk.launch b { background: #5b58e0; }
.tl-when { display: flex; justify-content: center; align-items: center; gap: 20px; padding-bottom: 22px; }
.tl-when label { font-family: var(--dm); font-size: 10.5px; letter-spacing: 0.8px; color: var(--dim); }
.tl-when input { height: 34px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--chipb); background: var(--chip); color: var(--fg); font-family: var(--title); font-size: 14px; }
.steps li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; color: var(--mut); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--dim); }
.steps b { font-weight: 400; color: var(--fg); }

/* ---------- motion reel: drag to explore ---------- */
.reel { padding-block: var(--sec); }
.reel-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.reel-hint { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: -0.3px; text-transform: uppercase; color: var(--dim); }
.reel-bar { position: relative; width: 64px; height: 3px; border-radius: 2px; background: var(--chipb); overflow: hidden; }
.reel-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--bw, 30%); border-radius: inherit; background: var(--fg); transform: translateX(var(--bx, 0px)); }
.reel-view { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -2px; }
.reel-view.dragging { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) { .reel-view, .reel-view.dragging { cursor: none; } }
.reel-track { display: flex; gap: 12px; width: max-content; padding-inline: max(16px, calc(50% - 620px)); will-change: transform; }
.reel-item { position: relative; flex: none; height: 400px; aspect-ratio: var(--ar); border-radius: 6px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--cardb); }
.reel-item video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease); }
.reel-item video.ready { opacity: 1; }
.reel-cursor { z-index: 6; }

/* ---------- toolset ---------- */
.tools { padding-block: var(--sec); }
.tools-card { position: relative; z-index: 2; margin-top: 37px; border-radius: 24px; background: var(--card); border: 1px solid var(--cardb); overflow: hidden; transition: background-color 0.35s; }
.tools-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 1px solid var(--cardb); }
.tools-who { display: flex; align-items: center; gap: 18px; }
.tools-av { width: 68px; height: 68px; border-radius: 50%; background: var(--chip); border: 1px solid var(--chipb); display: flex; align-items: center; justify-content: center; flex: none; }
.tools-av img { width: 30px; height: 30px; border-radius: 7px; }
.tools-who strong { display: block; font-family: var(--title); font-weight: 400; font-size: 15px; color: var(--fg); }
.tools-who span span { display: block; margin-top: 2px; font-size: 14px; color: var(--mut); }
.tools-icons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 24px 20px 20px; }
.tools-icons li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; color: var(--fg); }
.ti { position: relative; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 20.8px; overflow: hidden; color: #fff;
  background: linear-gradient(152deg, #313130 8.7%, #141513 68.3%); box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.4); transition: transform 0.35s var(--ease); }
.ti svg { position: relative; z-index: 1; flex: none; max-width: none; }
.tools-icons li:hover .ti { transform: translateY(-4px) rotate(-4deg); }
/* light mode: Apple style glass tiles */
html.light .ti { color: #141414; background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.5) 60%, rgba(240, 238, 232, 0.7));
  backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.95), inset 0 1.5px 1px rgba(255, 255, 255, 1), inset 0 -10px 18px -10px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 12px 26px -14px rgba(0, 0, 0, 0.35); }
html.light .ti::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 70% at 20% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%); }
.tools-learn { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin: -20px 34px 0; padding: 32px 24px 14px; border-radius: 0 0 20px 20px; background: var(--card); border: 1px solid var(--cardb); border-top: 0; font-size: 14px; color: var(--mut); text-decoration: none; transition: color 0.2s, background-color 0.35s; }
.tools-learn:hover { color: var(--fg); }

/* ---------- templates ---------- */
.tpls { padding-block: var(--sec); }
.tpls-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; max-width: 1407px; margin: 40px auto 0; padding-inline: 16px; }
.tpls-grid a { display: block; text-decoration: none; color: var(--fg); }
.tpls-im { display: block; position: relative; overflow: hidden; aspect-ratio: 328 / 249; background: var(--card); }
.tpls-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tpls-grid a:hover img { transform: scale(1.04); }
.tpls-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 16px; }
.tpls-meta span { font-family: var(--dm); font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--dim); }


/* ---------- launch panel: empty for now ---------- */
.fa-panel.fa-empty { background: #000; }
html.light .fa-panel.fa-empty { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- timeline: draggable BOOK BY handle ---------- */
.tl-mk.book { cursor: grab; touch-action: none; outline: none; z-index: 2; }
.tl-mk.book::before { content: ''; position: absolute; left: -14px; width: 28px; top: 100px; height: var(--hit, 75px); }
.tl-grab { position: absolute; left: -5px; top: 107px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg); transition: transform 0.2s var(--ease), background-color 0.2s; }
.tl-mk.book b { cursor: grab; transition: top 0.3s, background-color 0.2s, color 0.2s; }
.tl-mk.book b::before { content: '‹'; margin-right: 5px; opacity: 0.55; }
.tl-mk.book b::after { content: '›'; margin-left: 5px; opacity: 0.55; }
.tl-mk.book:hover b, .tl-mk.book:focus-visible b, .tl.dragging .tl-mk.book b { background: var(--fg); color: var(--bg); }
.tl-mk.book:hover .tl-grab, .tl-mk.book:focus-visible .tl-grab, .tl.dragging .tl-grab { transform: scale(1.3); background: var(--fg); }
.tl-mk.book:focus-visible b { outline: 2px solid var(--blue); outline-offset: 2px; }
.tl.dragging, .tl.dragging .tl-mk.book, .tl.dragging .tl-mk.book b { cursor: grabbing; }
.tl-span.tight span { padding: 0 4px; font-size: 10px; letter-spacing: 0.2px; }
.tl.dragging .tl-mk, .tl.dragging .tl-span, .tl.dragging .tl-vg, .tl.dragging .tl-kick-lbl, .tl.dragging .tl-kick-lead { transition: none; }

/* ---------- design labels (shown on hover by main.js) ---------- */
.dc { position: absolute; z-index: 60; left: 0; top: 0; width: 0; height: 0; pointer-events: none; outline: 1.5px solid var(--blue); opacity: 0;
  transition: opacity 0.18s, left 0.22s var(--ease), top 0.22s var(--ease), width 0.22s var(--ease), height 0.22s var(--ease); }
.dc.jump { transition: opacity 0.18s; }
.dc.on { opacity: 1; }
.dc-lab { position: absolute; left: -1.5px; bottom: calc(100% + 3px); height: 17px; padding: 0 6px; border-radius: 3px 3px 3px 0; background: var(--blue); color: #fff; font-family: var(--dm); font-size: 10.5px; line-height: 17px; white-space: nowrap; }
.dc-dim { position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%); height: 15px; padding: 0 5px; border-radius: 3px; background: var(--blue); color: #fff; font-family: var(--dm); font-size: 10px; line-height: 15px; white-space: nowrap; }


/* ---------- chat (iMessage style): a panel under "Ask any question", page blurred behind ---------- */
html.chat-open, html.chat-open body { overflow: hidden; }
.chat { --c-in: #262628; --c-out: #0a84ff; --c-meta: #8e8e93; --c-bg: #000;
  position: fixed; inset: 0; z-index: 100; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--title); }
.chat[hidden] { display: none; }
html.light .chat { --c-in: #e9e9eb; --c-bg: #fff; }
.chat-veil { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.6); backdrop-filter: blur(16px) saturate(0.85); -webkit-backdrop-filter: blur(16px) saturate(0.85); opacity: 0; transition: opacity 0.3s var(--ease); }
html.light .chat-veil { background: rgba(243, 242, 238, 0.6); }
.chat.on .chat-veil { opacity: 1; }
.chat-panel {
  position: absolute; left: var(--pl, 16px); top: var(--pt, 80px); width: var(--pw, 380px); height: var(--ph, 600px);
  display: flex; flex-direction: column; align-items: stretch; color: #fff;
  transform-origin: var(--ox, 50%) var(--oy, 0px); opacity: 0; transform: translateX(-12px) scale(0.96);
  transition: opacity 0.24s var(--ease), transform 0.36s cubic-bezier(0.2, 1.1, 0.3, 1);
}
.chat.on .chat-panel { opacity: 1; transform: none; }
html.light .chat-panel { color: #000; }
.chat-top { position: relative; z-index: 2; display: flex; justify-content: center; padding: 16px 16px 2px; }
.chat-who { display: flex; flex-direction: column; align-items: center; }
.chat-av { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #ff9a3c, #ff5a28 55%, #c2370f); box-shadow: 0 8px 24px -8px rgba(255, 90, 40, 0.55); }
.chat-av img { width: 28px; height: 28px; border-radius: 7px; filter: invert(1); mix-blend-mode: screen; }
.chat-name { margin-top: -8px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 12px; border-radius: 14px; background: rgba(38, 38, 40, 0.95); font-size: 15px; font-weight: 600; letter-spacing: -0.2px; color: #fff; }
.chat-name svg { width: 6px; height: 10px; opacity: 0.6; }
html.light .chat-name { background: rgba(233, 233, 235, 0.95); color: #000; }
.chat-close { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--c-in); color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s var(--ease); }
.chat-close:hover { transform: scale(1.06); }
.chat-close svg { width: 12px; height: 12px; }
.chat-scroll { flex: 1; min-height: 0; width: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28px); mask-image: linear-gradient(180deg, transparent, #000 28px); }
.chat-scroll::-webkit-scrollbar { display: none; }
.chat-log { padding: 8px 14px 18px; display: flex; flex-direction: column; }
.cm-time { margin: 18px 0 10px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.62); }
html.light .cm-time, html.light .cm-receipt { color: rgba(0, 0, 0, 0.55); }
.cm-time b { font-weight: 600; }
.cm { position: relative; display: flex; margin-top: 4px; max-width: 82%; }
.cm.them { align-self: flex-start; }
.cm.me { align-self: flex-end; }
.cm.tail { margin-bottom: 10px; }
.cm-b { position: relative; padding: 9px 15px; border-radius: 20px; font-size: 16.5px; line-height: 21px; letter-spacing: -0.1px; overflow-wrap: anywhere; }
.them .cm-b { background: var(--c-in); }
.me .cm-b { background: var(--c-out); color: #fff; }
.cm-b a { color: #2f9bff; text-decoration: none; }
.me .cm-b a { color: #fff; text-decoration: underline; }
/* tails: an iMessage tail shape, so nothing has to match the background */
.cm.tail .cm-b::before { content: ''; position: absolute; bottom: 0; width: 20px; height: 18px; z-index: -1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'%3E%3Cpath d='M7 0V8A10 10 0 0 1 0 17.54V18H4A16 14 0 0 0 20 4V0Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'%3E%3Cpath d='M7 0V8A10 10 0 0 1 0 17.54V18H4A16 14 0 0 0 20 4V0Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.them.tail .cm-b::before { left: -7px; background: var(--c-in); }
.me.tail .cm-b::before { right: -7px; background: var(--c-out); transform: scaleX(-1); }
.cm-b { isolation: isolate; }
/* link preview card */
.cm.card { max-width: 260px; width: 80%; }
.cm.card .cm-b { padding: 0; overflow: hidden; width: 100%; }
.cm.card.tail .cm-b::before { display: none; }
.cm-card { display: block; color: inherit !important; }
.cm-card img { width: 100%; aspect-ratio: 1.72; object-fit: cover; }
.cm-art { position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; gap: 8px; aspect-ratio: 1.72; padding: 16px !important; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #ff8a4c 0%, #ff5a28 32%, #3b1407 78%), #1a0b05; color: #fff !important; }
.cm-art::after { content: ''; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.28; mix-blend-mode: overlay; }
.cm-art i { align-self: flex-start; padding: 3px 6px; border-radius: 5px; border: 1px solid #8ef06c; color: #8ef06c; font-style: normal; font-family: var(--dm); font-size: 10.5px; letter-spacing: 0.3px; }
.cm-art strong { font-family: var(--title); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -0.8px; }
.cm-card span { display: block; padding: 10px 14px 12px; font-size: 13px; color: var(--c-meta); }
.cm-card b { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
html.light .cm-card b { color: #000; }
.cm-react { position: absolute; right: -12px; top: -14px; width: 26px; height: 26px; font-size: 13px; border-radius: 50%; background: var(--c-out); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.9); }
.cm-receipt { align-self: flex-end; margin: -4px 4px 6px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.62); }
.cm.pop { animation: cm-pop 0.32s cubic-bezier(0.2, 1.3, 0.4, 1); }
.cm.me.pop { transform-origin: 100% 100%; }
.cm.them.pop { transform-origin: 0 100%; }
@keyframes cm-pop { from { opacity: 0; transform: scale(0.82) translateY(6px); } }
.typing .cm-b { display: flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-meta); animation: cm-dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cm-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-bar { position: relative; width: 100%; padding: 6px 12px 12px; }
.chat-bar input { width: 100%; height: 40px; padding: 0 46px 0 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(28, 28, 30, 0.72); color: inherit; font: inherit; font-size: 16px; outline: none; transition: border-color 0.2s; }
.chat-bar input::placeholder { color: #8e8e93; }
.chat-bar input:focus { border-color: #5a5a5e; }
html.light .chat-bar input { border-color: rgba(0, 0, 0, 0.15); background: rgba(255, 255, 255, 0.8); }
.chat-send { position: absolute; right: 17px; top: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--c-out); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: scale(0.6); pointer-events: none; transition: opacity 0.18s, transform 0.22s var(--ease); }
.chat.can-send .chat-send { opacity: 1; transform: none; pointer-events: auto; }
.chat-send svg { width: 15px; height: 15px; }


/* ---------- work log ("Shipped with") ---------- */
.log { padding-block: var(--sec); }
.log-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; }
.log-hint { font-size: 14px; color: var(--dim); }
.log-list { display: flex; flex-direction: column; }
.log-row { display: flex; align-items: center; gap: 14px; min-height: 36px; font-size: 16px; color: var(--fg); transition: opacity 0.25s; }
.log-row[data-go] { cursor: pointer; }
a.log-row { text-decoration: none; }
.log-li[hidden], .log-row[hidden] { display: none; }
.log-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.log-list:hover .log-row { opacity: 0.45; }
.log-list:hover .log-row:hover { opacity: 1; }
.log-name { flex: none; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.log-name em { font-style: normal; font-size: 15px; color: var(--dim); }
.log-name em.new { color: #ff4f9a; }
.log-desc { flex: 1; min-width: 0; text-align: right; font-size: 15px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-chips { flex: none; display: flex; align-items: center; gap: 6px; }
.log-peek { position: fixed; z-index: 30; left: 0; top: 0; width: 260px; height: 168px; pointer-events: none; opacity: 0; transform: translate(var(--px, 0px), var(--py, 0px)) scale(0.9) rotate(-2deg); transition: opacity 0.2s, transform 0.25s var(--ease); }
.log-peek.on { opacity: 1; transform: translate(var(--px, 0px), var(--py, 0px)) scale(1) rotate(-2deg); transition: opacity 0.2s, transform 0.08s linear; }
.log-peek-in { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: #222; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.log-peek-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.log-peek-in .sw { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 100%; height: 100%; padding: 16px; color: #fff; }
.log-peek-in .sw b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -0.5px; }
.log-peek-in .sw span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.75; }
@media (hover: none) { .log-peek { display: none; } .log-hint { display: none; } }

/* ---------- availability ---------- */
.avail { padding-block: var(--sec) calc(var(--sec) * 2); }
.avail-card { padding: 22px 20px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--cardb); }
.avail-top { display: flex; justify-content: space-between; align-items: center; }
.avail-lbl { margin: 0; font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--mut); }
.avail-book { display: inline-flex; align-items: center; gap: 6px; font-family: var(--body); font-size: 15px; letter-spacing: 0; color: var(--mut); text-decoration: none; transition: color 0.2s; }
.avail-book svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.avail-book:hover { color: var(--fg); }
.avail-book:hover svg { transform: translateX(3px); }
.avail-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; }
.avail-m { display: flex; align-items: flex-end; height: 64px; padding: 10px 11px; border-radius: 9px; font-family: var(--body); font-size: 15px; letter-spacing: 0; text-decoration: none; transition: transform 0.25s var(--ease), filter 0.2s; }
.avail-m.full { background: var(--chip); color: var(--dim); opacity: 0.75; text-decoration: line-through; text-decoration-color: rgba(127, 127, 127, 0.5); }
.avail-m.few { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 90, 40, 0.75); }
.avail-m.open { background: rgba(255, 90, 40, 0.14); color: #ff8a5c; }
html.light .avail-m.open { background: rgba(255, 90, 40, 0.12); color: #d9481b; }
a.avail-m:hover { transform: translateY(-2px); filter: brightness(1.08); }
.avail-reply { margin: 14px 0 0; font-family: var(--body); font-size: 15px; color: var(--mut); }
.avail-reply b { font-weight: 500; color: var(--fg); }

/* ---------- rulers with cursor readout (desktop) ---------- */
.rulers { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .rulers { display: block; position: fixed; inset: 0; z-index: 45; pointer-events: none; }
}
.rulers canvas { position: absolute; display: block; }
.ru-top { left: 18px; top: 0; width: calc(100% - 18px); height: 18px; }
.ru-left { left: 0; top: 18px; width: 18px; height: calc(100% - 18px); }
.ru-corner { position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--ru-bg); border-right: 1px solid var(--ru-line); border-bottom: 1px solid var(--ru-line); }
.rulers { --ru-bg: rgba(20, 20, 20, 0.86); --ru-line: rgba(255, 255, 255, 0.08); --ru-tick: rgba(255, 255, 255, 0.28); --ru-text: rgba(255, 255, 255, 0.42); --ru-tag-bg: rgba(255, 255, 255, 0.72); --ru-tag-fg: #141414; --ru-cross: rgba(255, 255, 255, 0.07); }
html.light .rulers { --ru-bg: rgba(243, 242, 238, 0.9); --ru-line: rgba(0, 0, 0, 0.08); --ru-tick: rgba(0, 0, 0, 0.25); --ru-text: rgba(0, 0, 0, 0.45); --ru-tag-bg: rgba(20, 20, 20, 0.62); --ru-tag-fg: #fff; --ru-cross: rgba(0, 0, 0, 0.07); }
.ru-v, .ru-h { position: absolute; left: 0; top: 0; background: var(--ru-cross); opacity: 0; transition: opacity 0.2s; }
.ru-v { width: 1px; height: 100%; }
.ru-h { height: 1px; width: 100%; }
/* the lines fade out as they get close to the pointer */
.ru-v { -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--my, 0px) - 220px), transparent calc(var(--my, 0px) - 24px), transparent calc(var(--my, 0px) + 24px), #000 calc(var(--my, 0px) + 220px));
        mask-image: linear-gradient(180deg, #000 calc(var(--my, 0px) - 220px), transparent calc(var(--my, 0px) - 24px), transparent calc(var(--my, 0px) + 24px), #000 calc(var(--my, 0px) + 220px)); }
.ru-h { -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--mx, 0px) - 220px), transparent calc(var(--mx, 0px) - 24px), transparent calc(var(--mx, 0px) + 24px), #000 calc(var(--mx, 0px) + 220px));
        mask-image: linear-gradient(90deg, #000 calc(var(--mx, 0px) - 220px), transparent calc(var(--mx, 0px) - 24px), transparent calc(var(--mx, 0px) + 24px), #000 calc(var(--mx, 0px) + 220px)); }
.ru-tag { position: absolute; left: 0; top: 0; height: 15px; padding: 0 5px; border-radius: 3px; background: var(--ru-tag-bg); color: var(--ru-tag-fg); font-family: var(--dm); font-size: 9.5px; line-height: 15px; white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.rulers.on .ru-v, .rulers.on .ru-h, .rulers.on .ru-tag { opacity: 1; }
html.chat-open .rulers { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tpls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .testi { padding-inline: 16px; }
  .testi-card { height: auto; padding: 40px 24px; }
  .testi-left { position: relative; left: auto; top: auto; width: auto; height: auto; gap: 28px; }
  .testi-right { display: none; }
}
@media (max-width: 700px) {
  .fa-panel { aspect-ratio: 940 / 659; }
}
@media (max-width: 640px) {
  .log-row { flex-wrap: wrap; row-gap: 0; padding: 6px 0; }
  .log-desc { order: 3; flex-basis: 100%; text-align: left; font-size: 14px; }
  .log-chips { margin-left: auto; }
  .avail-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 21px; line-height: 28px; }
  .works-panel { aspect-ratio: 4 / 5; }
  .works-cap { flex-direction: column; gap: 12px; }
  .works-tags { flex-wrap: wrap; }
  .sum-stat { grid-template-columns: 1fr; gap: 12px; }
  .sum-pp { display: none; }
  .sum-vid { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sum-note { flex: none; width: 100%; max-width: 420px; margin-top: 0; }
  .tl-span span, .tl-kick-lbl { font-size: 9.5px; letter-spacing: 0.2px; padding: 0 4px; }
  .tl-mk b { font-size: 9.5px; padding: 0 4px; }
  .tl-when { flex-direction: column; gap: 8px; }
  .reel-item { height: 300px; }
  .reel-hint { font-size: 11px; }
  .tools-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .ti { width: 64px; height: 64px; border-radius: 16.6px; }
  .ti svg { transform: scale(0.8); }
  .tools-learn { margin-inline: 20px; }
}
@media (max-width: 560px) {
  .tpls-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- funding notifications (bottom right, one at a time) ---------- */
.ntf { position: fixed; z-index: 55; right: 20px; bottom: 20px; width: 344px; max-width: calc(100vw - 32px); pointer-events: none; }
.ntf-card { position: absolute; right: 0; bottom: 0; display: flex; gap: 11px; width: 100%; padding: 12px 34px 12px 12px; border-radius: 18px;
  background: color-mix(in srgb, var(--card) 82%, transparent); color: var(--fg); text-decoration: none; pointer-events: auto;
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 0 0 1px var(--cardb), 0 18px 40px -14px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(24px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); touch-action: pan-y; }
.ntf-card.in { opacity: 1; transform: none; }
.ntf-card.out { opacity: 0; transform: translateX(40px) scale(0.98); transition-duration: 0.4s; }
.ntf-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #141414; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ntf-ic img { width: 22px; height: 22px; border-radius: 50%; }
.ntf-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ntf-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--dim); }
.ntf-top b { font-weight: 500; letter-spacing: 0.2px; text-transform: uppercase; font-size: 11px; }
.ntf-t { font-size: 14.5px; line-height: 19px; font-weight: 500; color: var(--fg); }
.ntf-d { font-size: 13px; line-height: 18px; color: var(--mut); }
.ntf-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: var(--ghost); color: var(--mut); cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.ntf-x svg { width: 9px; height: 9px; }
.ntf-card:hover .ntf-x, .ntf-x:focus-visible { opacity: 1; }
html.chat-open .ntf { visibility: hidden; }
@media (hover: none) { .ntf-x { opacity: 1; } }
@media (max-width: 640px) { .ntf { right: 16px; bottom: 16px; } }

/* ---------- wall of love (client reviews board) ---------- */
.wl { padding-block: var(--sec); }
.wl-top { padding-bottom: 28px; }
.wl-top .p { margin-top: 12px; }

/* templates: link to the full /templates/ page */
.tpls-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 15px; color: var(--mut); text-decoration: none; transition: color 0.2s; }
.tpls-all:hover { color: var(--fg); }
.tpls-all svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.tpls-all:hover svg { transform: translateX(3px); }
