/* Blueshift — site styles
   Breakpoints match the Framer build: desktop ≥1200, tablet 810–1199.98, phone ≤809.98.
   All sizes are the computed values from the live site at 1440 / 1024 / 390 wide. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300; font-style: italic; font-display: swap; src: url("../assets/fonts/inter-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-display-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Variable"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-variable-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/satoshi-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/satoshi-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --blue: #0716a3;
  --pink: #f81a75;
  --ink: #0b0a07;
  --ink-2: #0c0c0c;
  --gray-77: #777777;
  --gray-97: #979797;
  --gray-99: #999999;
  --gray-52: #525252;
  --card: #f9f9f9;
  --card-hover: #f5f5f5;
  --faq-bg: #eeeeee;
  --white: #ffffff;
  --font-ui: "Inter", "Inter Placeholder", sans-serif;
  --font-display: "Inter Display", "Inter Display Placeholder", sans-serif;
  --font-var: "Inter Variable", "Inter Variable Placeholder", sans-serif;
  --font-satoshi: "Satoshi", "Satoshi Placeholder", sans-serif;
  --page-pad: 80px;
}
@media (max-width: 1199.98px) { :root { --page-pad: 64px; } }
@media (max-width: 809.98px) { :root { --page-pad: 24px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink); color: var(--white); }

/* Page transitions — the Framer page effect applied to all pages.
   Exit: fade to 0, slide up 40%, wipe out (0.6s, 0.05s delay). Enter: wipe in from the bottom (0.92s, 0.38s delay).
   Both use the custom ease cubic-bezier(0.73, 0.01, 0.29, 1). */
.page { position: relative; --vt: 0px; }
.page.is-leaving { animation: page-exit 0.6s cubic-bezier(0.73, 0.01, 0.29, 1) 0.05s forwards; pointer-events: none; }
@keyframes page-exit { from { opacity: 1; transform: none; clip-path: inset(var(--vt) 0 0 0); } to { opacity: 0; transform: translateY(-40vh); clip-path: inset(calc(var(--vt) + 100vh) 0 0 0); } }
.page.is-entering { clip-path: inset(100vh 0 0 0); animation: page-enter 0.92s cubic-bezier(0.73, 0.01, 0.29, 1) 0.38s forwards; }
@keyframes page-enter { from { clip-path: inset(100vh 0 0 0); } to { clip-path: inset(0 0 0 0); } }
body.is-entering .site-header:not(.header--fade) { animation: fade-up 0.3s ease-out 0.55s both; }
@media (prefers-reduced-motion: reduce) { .page.is-leaving, .page.is-entering { animation: none; clip-path: none; } }

/* ---------- Type scale ---------- */
.t-display { font-family: var(--font-display); font-weight: 600; font-size: 112px; line-height: 1.05em; letter-spacing: -0.04em; }
.t-display--hero { font-size: 112px; }
.t-lead { font-family: var(--font-ui); font-weight: 400; font-size: 40px; line-height: 1.2em; letter-spacing: -0.04em; }
.t-h3 { font-family: var(--font-ui); font-weight: 500; font-size: 24px; line-height: 1.4em; letter-spacing: -0.04em; }
.t-body { font-family: var(--font-ui); font-weight: 500; font-size: 18px; line-height: 1.4em; letter-spacing: -0.04em; }
.t-small { font-family: var(--font-ui); font-weight: 500; font-size: 15px; line-height: 1.4em; letter-spacing: -0.01em; }
.t-eyebrow { font-family: var(--font-ui); font-weight: 600; font-size: 14px; line-height: 1.2em; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pink); }
.t-section { font-family: var(--font-var); font-weight: 400; font-variation-settings: "opsz" 32, "wght" 700; font-size: 32px; line-height: 1em; letter-spacing: -0.03em; }
.t-section-sub { font-family: var(--font-var); font-weight: 400; font-variation-settings: "opsz" 32, "wght" 500; font-size: 22px; line-height: 1.2em; letter-spacing: -0.01em; color: var(--gray-99); }
@media (max-width: 1199.98px) {
  .t-display { font-size: 90px; }
  .t-display--hero { font-size: 80px; }
  .t-lead { font-size: 36px; }
  .t-h3 { font-size: 21px; }
}
@media (max-width: 809.98px) {
  .t-display { font-size: 60px; }
  .t-display--hero { font-size: 48px; }
  .t-lead { font-size: 24px; }
  .t-h3 { font-size: 18px; letter-spacing: -0.05em; }
  .t-section { font-size: 24px; letter-spacing: -0.02em; }
}

/* OpenType features Framer applies per text style (they change glyph widths, so wrapping matches) */
/* OpenType features mirror the live site's per-text-style settings (measured per breakpoint) */
.d-card__text p, .article p, .article li, .post-hero__excerpt, .post-aside p, .services .copy p, .copy-email, .products__left .t-body, .qa__q p { font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11"; }
.t-display, .hero__headline h1, .tile__caption, .post-card__date, .post-hero time, .rs-root, .sd-root, .also-explore, .post-nav, .more-posts,
.contact:not(.contact--product) .contact__form label, .contact:not(.contact--product) .contact__form .submit,
.article a, .article strong, .contact--product .contact__left strong { font-feature-settings: "ss03"; }
.copy-email .tooltip { font-feature-settings: normal; }
.qa__a-inner p, .qa__a-inner li { font-feature-settings: "liga" 0, "ss02", "ss03", "ss04"; }
.qa__a-inner strong { font-feature-settings: "ss03"; }
.pkg__price { font-feature-settings: "cv01", "cv05", "cv09", "cv11", "tnum"; }
.pkg__details p, .pkg__details .note { font-feature-settings: "cv01", "cv05", "cv09", "cv11", "tnum"; }
.faq__top p, .faq__body-inner p { font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03"; }
.t-section { font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03"; }
.t-section-sub, .p-process__text .t-section { font-feature-settings: "cv01", "cv05", "cv09", "ss03"; }
.t-lead, .t-section-sub, .pkg__details p, .faq__top p, .faq__body-inner p, .product-card__start, .product-card__desc, .article p, .article li { white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }

/* Framer balances line breaks on nearly all text */
.t-display, .t-lead, .t-h3, .t-body, .t-small, .t-section-sub, .qa__q p, .product-card__start, .product-card__desc, .pkg__details p, .d-card__text p, .contact__left p, .post-hero__excerpt, .post-aside p, .article h2, .latest__head .t-lead { text-wrap: balance; }

/* Word-split headlines: each word animates in with a blur */
.words .w { display: inline-block; white-space: pre; }
.anim .words .w { opacity: 0; filter: blur(10px); transform: translateY(10px); }
.anim .words.in .w { animation: word-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(var(--words-delay, 0ms) + var(--i) * 75ms); }
/* Entering through the page transition: whatever is already in view is revealed by the wipe itself, not by its own appear effect (matches Framer) */
.anim .instant.appear, .anim .instant.appear-soft, .anim .instant.appear-x { transition: none; opacity: 1; transform: none; }
.anim .instant.words .w { animation: none; opacity: 1; filter: none; transform: none; }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
/* Framer leaves will-change on every animated block; it keeps the text on its own compositing layer, which changes how glyphs rasterise */
.appear, .appear-soft, .appear-x, .words .w, .site-header { will-change: transform; }
/* Generic fade-up appear */
.anim .appear { opacity: 0; transform: translateY(var(--y, 24px)); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.anim .appear.in { opacity: 1; transform: none; }
.anim .appear-soft { opacity: 0; transform: translateY(10px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.anim .appear-soft.in { opacity: 1; transform: none; }
.anim .appear-x { opacity: 0; transform: translateX(80px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.anim .appear-x.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim .words .w, .anim .appear, .anim .appear-soft, .anim .appear-x { opacity: 1; filter: none; transform: none; animation: none; transition: none; }
}

/* Breakpoint-specific manual line breaks (Framer text variants) */
.br-desktop, .br-wide { display: inline; }
@media (max-width: 1199.98px) { .br-desktop { display: none; } }
@media (max-width: 809.98px) { .br-wide { display: none; } }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--page-pad); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: flex-start; padding: 56px 56px 0; pointer-events: none; }
.site-header .logomark { display: block; width: 64px; height: 64px; pointer-events: auto; }
.site-header .logomark svg { width: 100%; height: 100%; }
.site-header.header--fade { opacity: 0; }
@media (max-width: 809.98px) {
  .site-header { padding: 8px 8px 0; }
  .site-header .logomark { width: 48px; height: 48px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 10px; background: var(--pink); color: var(--white); font-weight: 600; font-size: 18px; line-height: 1.2em; transition: transform 0.25s ease, background-color 0.25s ease; }
.btn svg { width: 24px; height: 24px; flex: none; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover { background: #c60656; }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Contact section ---------- */
.contact { background: var(--blue); color: var(--white); padding: 160px 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.contact .container { display: flex; flex-direction: column; gap: 64px; }
.contact__bottom { display: flex; align-items: flex-start; gap: 48px; }
.contact__left { flex: 1 1 0; max-width: 560px; }
.contact__left p { font-size: 18px; line-height: 1.4em; letter-spacing: -0.04em; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.contact__left p + p { margin-top: 0; }
.contact__form { width: 739px; max-width: 100%; flex: none; min-height: 695px; }
.contact__form .field { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.contact__form .field:last-of-type { margin-bottom: 40px; }
.contact__form label { font-size: 12px; line-height: 1.2em; font-weight: 500; color: var(--white); }
.contact__form input, .contact__form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; padding: 12px 0; font-size: 20px; line-height: 28px; font-weight: 400; letter-spacing: -0.04em; color: var(--white); outline: 0; resize: none; }
.contact__form input::placeholder, .contact__form textarea::placeholder { color: rgba(255, 255, 255, 0.3); opacity: 1; }
.contact__form input:focus, .contact__form textarea:focus { border-bottom-color: rgba(255, 255, 255, 0.7); }
.contact__form textarea { height: 193px; margin-bottom: 3px; }
@media (max-width: 809.98px) { .contact__form textarea { margin-bottom: 4px; } }
.contact__form .submit { display: block; width: 100%; margin-top: 0; padding: 20px; border-radius: 12px; background: var(--pink); color: var(--white); font-size: 20px; line-height: 1em; font-weight: 600; text-align: center; transition: filter 0.25s ease, transform 0.25s ease; }
.contact__form .submit:hover { filter: brightness(1.06); }
/* Surge uses the compact Framer form component */
.contact--product .container { gap: 80px; }
.contact--product .contact__form { min-height: 0; }
.contact--product .contact__form .field { gap: 10px; margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact--product .contact__form .field:last-of-type { margin-bottom: 20px; }
.contact--product .contact__form input, .contact--product .contact__form textarea { height: 22px; padding: 0; border: 0; font-weight: 500; line-height: 22px; }
.contact--product .contact__form textarea { height: 144px; padding: 0 0 18px; line-height: 28px; margin-bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact--product .contact__form .field--message { padding-bottom: 0; border-bottom: 0; }
.contact--post .contact__bottom { gap: 40px; }
.contact--post .contact__left { max-width: 496px; }
.contact--post .contact__form { width: 744px; }
.contact--product .contact__form .submit { margin-top: 0; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 18px; line-height: 1.2em; }
.form-status { margin-top: 16px; font-size: 15px; line-height: 1.4em; color: rgba(255, 255, 255, 0.8); }
.form-status:empty { display: none; }
@media (max-width: 1199.98px) {
  .contact { padding: 120px 0; }
  .contact .container { gap: 48px; }
  .contact__bottom { gap: 32px; }
  .contact__form { width: auto; flex: 1 1 0; }
  .contact__left { flex: 0 0 346px; max-width: 346px; }
  .contact--product { padding: 80px 0; }
  .contact--product .container { padding: 0 48px; gap: 64px; }
  .contact--product .contact__left { flex-basis: 358px; max-width: 358px; }
}
@media (max-width: 809.98px) {
  .contact { padding: 80px 0; }
  .contact .container { gap: 32px; }
  .contact__form { flex: none; }
  .contact--product { padding: 64px 0; }
  .contact--product .container { padding: 0 24px; gap: 48px; }
  .contact--product .contact__left { flex-basis: auto; max-width: 100%; }
  .contact__bottom { flex-direction: column; gap: 48px; }
  .contact__left { flex: none; max-width: 100%; }
  .contact__form { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--white); padding: 80px 0; }
.site-footer .inner { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 47px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.site-footer--end .inner { align-items: flex-end; }
.site-footer .left { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.site-footer .wordmark { display: block; width: 312px; height: 51px; }
.site-footer .wordmark svg { width: 100%; height: auto; overflow: visible; display: block; } /* scales by width like the live <use>; it overhangs the 51px/38.5px link box by half a pixel */
.site-footer .blog-link { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.4em; letter-spacing: -0.04em; font-weight: 500; }
.site-footer .blog-link .arrow { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.site-footer .blog-link .arrow svg { width: 24px; height: 24px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.site-footer .blog-link:hover .arrow svg { transform: translate(2px, -2px); }
.site-footer .right { display: flex; flex-direction: column; align-items: flex-end; gap: 0; font-size: 18px; line-height: 1.4em; letter-spacing: -0.04em; font-weight: 500; text-align: right; }
.copy-email { position: relative; cursor: pointer; letter-spacing: -0.04em; }
.copy-email .tooltip { position: absolute; left: 50%; bottom: calc(100% - 5px); transform: translate(-50%, 0); padding: 8px 12px; border-radius: 18px; background: #333; color: var(--white); font-size: 16px; line-height: 1.2em; font-weight: 400; letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.copy-email:hover .tooltip, .copy-email.is-copied .tooltip { opacity: 1; transform: translate(-50%, -6px); }
@media (max-width: 809.98px) {
  .site-footer .inner { flex-direction: column; align-items: center; gap: 20px; }
  .site-footer .left { align-items: center; }
  .site-footer .wordmark { width: 238px; height: 38.516px; } /* Framer scales the 312×50.5 link box, not the 51px row */
  .site-footer .blog-link { width: 238px; text-align: center; justify-content: center; text-wrap: balance; }
  .site-footer .blog-link .arrow { display: none; }
  .site-footer .right { align-items: center; text-align: center; }
}

/* ================= HOME ================= */
.hero { position: relative; min-height: 92vh; background: var(--blue); color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 36px 56px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; opacity: 0.34; pointer-events: none; }
.hero__bg video { position: absolute; top: 50%; left: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); object-fit: cover; }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 96px; width: 100%; }
.hero__logo { width: 480px; max-width: 100%; }
.hero__logo svg { width: 100%; height: auto; }
.hero__headline { max-width: 1000px; text-align: center; }
.hero__headline h1 { font-size: 40px; line-height: 48px; letter-spacing: -1.6px; }
@media (max-width: 1199.98px) {
  .hero { min-height: 90vh; padding: 0 32px 40px; }
  .hero__content { gap: 64px; }
  .hero__logo { width: 360px; }
  .hero__headline { max-width: 960px; }
}
@media (max-width: 809.98px) {
  .hero { min-height: 700px; padding: 0 24px 34px; }
  .hero__content { gap: 48px; }
  .hero__logo { width: 240px; }
}
/* Hero intro animation */
.anim .hero__logo { opacity: 0; animation: fade-up 0.5s ease-out forwards; }
.anim .hero__headline .w { opacity: 0; filter: blur(10px); transform: translateY(10px); animation: word-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(1s + var(--i) * 75ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.reel { background: var(--white); overflow: hidden; }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 809.98px) { .reel video { aspect-ratio: 720 / 1558; } } /* phones play the portrait cut; height follows its intrinsic ratio like the live site */

.process { padding: 120px 0; min-height: 720px; display: flex; flex-direction: column; justify-content: center; }
.process .container { display: flex; flex-direction: column; gap: 48px; }
.process__body { display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 1199.98px) { .process { padding: 80px 0; } }
@media (max-width: 809.98px) { .process { padding: 48px 0; } }

/* Services (Our Expertise) */
.services { background: var(--blue); color: var(--white); padding: 64px 0; }
.services .container { display: flex; flex-direction: column; gap: 48px; }
.services__top { display: flex; flex-direction: column; gap: 24px; }
.services__main { display: flex; gap: 24px; padding-bottom: 160px; align-items: flex-start; }
.services__items { display: flex; flex-direction: column; gap: 24px; width: 685px; flex: none; }
.services__item { display: flex; align-items: center; gap: 24px; padding: 8px; cursor: pointer; text-align: left; width: 100%; }
.services__item .icon { position: relative; width: 64px; height: 64px; flex: none; }
.services__item .icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s ease; }
.services__item .icon .on { opacity: 0; }
.services__item.is-active .icon .on { opacity: 1; }
.services__item.is-active .icon .off { opacity: 0; }
.services__item h2 { opacity: 0.25; transition: opacity 0.4s ease; }
.services__item.is-active h2 { opacity: 1; }
.services__desc { flex: 1 1 0; padding-top: 16px; min-width: 0; }
.services__panel { display: none; flex-direction: column; gap: 16px; max-width: 514px; padding-bottom: 16px; }
.services__panel.is-active { display: flex; animation: panel-in 0.5s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.services__panel h3 { font-size: 18px; line-height: 1.3em; font-weight: 600; letter-spacing: -0.04em; }
.services__panel .copy { display: flex; flex-direction: column; gap: 20px; opacity: 0.8; }
.services__panel .copy p { font-size: 18px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.04em; }
@media (max-width: 1199.98px) {
  .services__main { flex-direction: column; gap: 24px; }
  .services__items { width: 100%; gap: 16px; }
  .services__item { padding: 4px; gap: 24px; }
  .services__item .icon { width: 56px; height: 56px; }
  .services__desc { width: 100%; padding-top: 16px; }
  .services__panel { max-width: 851px; }
  .services__panel h3 { font-size: 16px; }
}
@media (max-width: 809.98px) {
  .services { padding: 48px 0; }
  .services .container { gap: 70px; }
  .services__main { gap: 40px; padding-bottom: 0; }
  .services__items { gap: 24px; }
  .services__item { padding: 0; }
  .services__item .icon { width: 48px; height: 48px; }
  .services__panel { max-width: 100%; gap: 10px; padding-bottom: 10px; }
}

/* Products (Choose your next move) */
.products { padding: 120px 0; }
.products .container { display: flex; flex-direction: column; gap: 48px; }
.products__body { display: flex; flex-direction: column; gap: 56px; }
.products__left { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.products__left .t-h3 { color: var(--ink-2); }
.products__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-radius: 24px; background: var(--card); overflow: clip; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease; will-change: transform; }
.anim .product-card.appear { transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease; }
.product-card:hover { background: var(--card-hover); transform: translateY(-4px) scale(1.1); }
.product-card__copy { display: flex; flex-direction: column; gap: 16px; padding-bottom: 28px; }
.product-card__copy .t-h3 { color: var(--ink-2); }
.product-card__start { font-size: 15px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.01em; }
.product-card__start strong { font-weight: 600; }
.product-card__desc { font-size: 15px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.01em; color: var(--gray-77); }
.product-card__link { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.2em; font-weight: 600; }
.product-card__link svg { width: 16px; height: 16px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-card__link svg { transform: translateX(4px); }
@media (max-width: 1199.98px) {
  .products { padding: 80px 0; }
  .products__cards { display: flex; flex-direction: column; gap: 20px; }
  .products__left .t-body { font-size: 17px; }
}
@media (max-width: 809.98px) {
  .products { padding: 48px 0; }
  .products .container { gap: 24px; }
  .products__cards { gap: 16px; }
  .product-card { padding: 24px; }
  .products__left .t-body { font-size: 16px; }
}

/* Partners marquee */
.partners { background: var(--pink); height: 180px; overflow: hidden; display: flex; align-items: center; }
.partners__track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.partners__track li { list-style: none; width: 240px; height: 180px; display: flex; align-items: center; justify-content: center; flex: none; }
.partners__track img { width: 104px; height: 72px; object-fit: contain; opacity: 0.8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-3120px); } }
@media (max-width: 809.98px) { .partners { height: 160px; } .partners__track li { height: 160px; } }

/* Gallery */
.gallery { padding: 16px 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 16px 16px; }
.tile { position: relative; overflow: hidden; border-radius: 8px; background: #f9f9fb; --y: 40px; }
.tile:first-child { padding-bottom: 1px; }
.tile--wide { grid-column: span 2; }
.tile--square { background: #eeeef2; }
.tile__img { width: 100%; aspect-ratio: 16 / 9; }
.tile--square .tile__img { aspect-ratio: 1 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile__caption { position: absolute; left: 24px; top: 16px; width: var(--cw); color: var(--ink-2); z-index: 1; }
.tile__caption--bottom { top: auto; bottom: 16px; }
@media (max-width: 1199.98px) {
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .tile__caption { width: var(--cw-t); }
}
@media (max-width: 809.98px) {
  .gallery { padding: 8px 0; }
  .gallery__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 8px; }
  .tile--wide { grid-column: auto; }
  .tile--last-m { order: 4; }
  .tile__img, .tile--square .tile__img { aspect-ratio: 1 / 1; }
  .tile__caption { left: 16px; top: 16px; width: var(--cw-m); }
  .tile__caption--bottom, .tile__caption--bottom-m { top: auto; bottom: 16px; }
}

/* Q&A accordion (home) */
.qa { padding: 120px 0; }
.qa .container { display: flex; flex-direction: column; gap: 24px; }
.qa__top { display: flex; flex-direction: column; gap: 24px; }
.qa__list { display: flex; flex-direction: column; }
.qa__item { border-bottom: 1px solid rgba(11, 10, 7, 0.12); padding: 32px 0 31px; }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; text-align: left; }
.qa__q p { flex: 1 1 auto; font-size: 18px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.04em; }
.qa__q .plus { width: 32px; height: 35px; flex: none; color: var(--pink); }
.qa__q .plus svg { width: 32px; height: 32px; fill: currentColor; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.qa__item.is-open .qa__q .plus svg { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.qa__a > div { overflow: hidden; min-height: 0; }
.qa__a-inner { display: flex; flex-direction: column; gap: 16px; max-width: 900px; padding-top: 16px; opacity: 0; transition: opacity 0.3s ease; }
.qa__item.is-open .qa__a { grid-template-rows: 1fr; }
.qa__item.is-open .qa__a-inner { opacity: 1; transition-delay: 0.1s; }
.qa__a-inner p, .qa__a-inner li { font-family: var(--font-satoshi); font-size: 14px; line-height: 1.3em; font-weight: 400; color: var(--gray-97); }
.qa__a-inner strong { font-weight: 700; }
.qa__a-inner ul { padding-left: 19px; list-style: disc; }
@media (max-width: 1199.98px) { .qa { padding: 80px 0; } .qa .container { gap: 16px; } .qa__q p { font-size: 17px; } }
@media (max-width: 809.98px) { .qa { padding: 48px 0; } .qa__q p { font-size: 16px; } .qa__q .plus { height: 36px; } }

/* ================= PRODUCT PAGES (Surge / Pulse / Spark) ================= */
.p-hero { padding: 120px 0; overflow: hidden; }
.p-hero .container { display: flex; flex-direction: column; align-items: center; gap: 64px; padding: 0 160px; }
.p-hero__text { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; }
.p-hero__text .t-display--hero, .p-hero__text .t-lead { text-align: center; }
.p-hero__media { width: 100%; }
.p-hero__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; }
.p-hero__frame { position: relative; width: 100%; height: 624px; border-radius: 24px; overflow: clip; padding: 32px; display: flex; align-items: center; justify-content: center; }
.p-hero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.p-hero__frame .inner { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: clip; display: flex; align-items: center; justify-content: center; }
.p-hero__frame .widget { width: 816px; max-width: none; flex: none; height: 100%; }
@media (max-width: 1199.98px) {
  .p-hero { padding: 80px 0; }
  .p-hero .container { padding: 0 80px; }
  .p-hero__frame { padding: 24px; height: 608px; }
}
@media (max-width: 809.98px) {
  .p-hero { padding: 120px 0 40px; }
  .p-hero .container { padding: 0 24px; gap: 40px; }
  .p-hero__text .t-display--hero, .p-hero__text .t-lead { text-align: left; width: 100%; }
  .p-hero__text .btn { width: 100%; }
  .p-hero__frame { padding: 16px; height: 592px; }
}

.p-section { padding: 80px 0; overflow: hidden; }
.p-section .container { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 0 160px; }
.p-section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; width: 100%; }
.p-section__head .t-section { width: 100%; }
.p-section__head .t-section-sub { width: min(100%, 400px); }
@media (max-width: 1199.98px) { .p-section .container { padding: 0 80px; } }
@media (max-width: 809.98px) { .p-section { padding: 40px 0; } .p-section .container { padding: 0 24px; } .p-section__head { gap: 8px; text-align: left; align-items: flex-start; } .p-section__head .t-section-sub { width: 100%; } }

/* How it works */
.p-process__row { display: flex; align-items: center; justify-content: center; gap: 48px; width: 100%; }
.p-process__text { display: flex; flex-direction: column; gap: 15px; width: 320px; flex: none; }
.p-process__row--first .p-process__text { gap: 15px; }
.p-process__row:not(.p-process__row--first) .p-process__text { gap: 10px; }
.p-process__text .t-section { color: var(--ink); }
.p-process__art { width: 240px; height: 240px; border-radius: 20px; flex: none; overflow: hidden; }
.p-process__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.p-process__row--flip .p-process__art { order: -1; }
@media (max-width: 1199.98px) { .p-process__text .t-section { font-size: 28px; letter-spacing: -0.02em; } }
@media (max-width: 809.98px) {
  .p-process__row { gap: 8px; }
  .p-process__text, .p-process__row--first .p-process__text { width: 100%; gap: 10px; }
  .p-process__text .t-section { font-size: 24px; }
  .p-process--compact .p-process__text .t-section-sub { font-size: 18px; }
  .deliverables { padding: 80px 0; }
  .p-process__art { display: none; }
}

/* What you get */
.deliverables { color: var(--white); background: linear-gradient(143deg, rgb(7, 22, 162) 0%, rgb(7, 22, 161) 0.751407%, rgb(7, 22, 161) 2.91793%, rgb(8, 22, 161) 6.368%, rgb(11, 22, 161) 10.9701%, rgb(15, 22, 160) 16.5926%, rgb(22, 22, 159) 23.104%, rgb(31, 22, 157) 30.3727%, rgb(43, 22, 155) 38.2673%, rgb(59, 22, 152) 46.656%, rgb(78, 23, 148) 55.4074%, rgb(102, 23, 144) 64.3899%, rgb(130, 24, 138) 73.472%, rgb(163, 24, 132) 90%, rgb(202, 25, 125) 105%, rgb(248, 26, 117) 130%); }
.deliverables .t-section { color: var(--white); }
.deliverables .t-section-sub { color: #c2c2c2; }
.deliverables__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.deliverables__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.d-card::after, .d-card__art::after, .tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 0.75px solid rgba(255, 255, 255, 0.4); }
.d-card__art { position: relative; }
.d-card__art::after { border-width: 1px; }
.tile::after { border: 1px solid #dcdde1; }
.d-card__art { width: 100%; height: 198px; border-radius: 16px; overflow: hidden; }
.d-card__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.d-card__text { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 0 12px 20px; }
.d-card__text p { font-size: 18px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 1199.98px) { .deliverables__grid, .deliverables__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 810px) and (max-width: 1199.98px) { .d-card--tall-tablet { min-height: 406.219px; } } /* live Quick Wins card is as tall as its neighbour (text height 162.219px) */
@media (max-width: 809.98px) { .deliverables__grid, .deliverables__grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* Packages */
.packages { padding: 120px 0 80px; display: flex; flex-direction: column; gap: 80px; overflow: hidden; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 100px; background: var(--blue); color: var(--white); font-size: 14px; line-height: 20px; font-weight: 500; }
.badge__pill { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 100px; background: var(--white); color: var(--blue); }
.badge__pill svg { width: 20px; height: 20px; }
.badge__pill span, .badge > span { padding: 0 4px; }
.packages__cards { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.pkg { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 24px; background: var(--card-hover); width: 357px; flex: none; }
.pkg .t-h3 { color: var(--ink-2); }
.pkg__price { font-family: var(--font-var); font-variation-settings: "opsz" 32, "wght" 700; font-size: 32px; line-height: 1em; letter-spacing: -0.02em; }
.pkg__details { display: flex; flex-direction: column; gap: 5px; }
.pkg__details p { font-family: var(--font-var); font-variation-settings: "opsz" 24, "wght" 500; font-size: 15px; line-height: 1.3em; letter-spacing: -0.01em; color: var(--gray-77); }
.pkg__details p.gap { height: 19.5px; }
body[data-page="surge"] .pkg__details p { text-wrap: wrap; }
.pkg__details .note { font-family: var(--font-ui); font-variation-settings: normal; font-weight: 300; font-style: italic; }
.pkg--single { width: 500px; max-width: 100%; }
.packages__cta { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; text-align: center; }
.packages__cta .t-section-sub { line-height: 1.1em; width: 478px; }
@media (max-width: 1199.98px) { .packages__cta .t-section-sub { width: 260px; } }
@media (max-width: 809.98px) { .packages__cta .t-section-sub { width: 100%; } }
@media (max-width: 1199.98px) { .pkg { width: 272px; } .pkg--single { width: 500px; } }
@media (max-width: 809.98px) {
  .packages { padding: 40px 0; gap: 40px; }
  .badge { flex-direction: column; padding: 16px; border-radius: 16px; }
  .badge__pill { align-self: stretch; justify-content: center; }
  .packages__cta .t-section-sub { text-align: left; }
  .packages__cards { flex-direction: column; }
  .pkg, .pkg--single { width: 100%; }
  .packages__cta .btn { width: 100%; }
}

/* FAQ (product pages) */
.faq { padding: 80px 0; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.faq__list { display: flex; flex-direction: column; gap: 5px; width: 100%; padding-bottom: 5px; }
.faq__item { border-radius: 10px; background: var(--faq-bg); overflow: hidden; }
.faq__top { display: flex; align-items: center; gap: 0; width: 100%; padding: 8px 8px 8px 0; text-align: left; }
.faq__plus { position: relative; width: 40px; height: 40px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--pink); border-radius: 1px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.faq__plus::before { width: 14px; height: 2px; left: 13px; top: 19px; }
.faq__plus::after { width: 2px; height: 14px; left: 19px; top: 13px; border-radius: 10px; }
.faq__item.is-open .faq__plus::after { transform: scaleY(0); }
.faq__top p { flex: 1 1 auto; font-family: var(--font-var); font-variation-settings: "opsz" 24, "wght" 500; font-size: 15px; line-height: 1.2em; letter-spacing: -0.01em; color: #000; }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.faq__body > div { overflow: hidden; min-height: 0; }
.faq__body-inner { padding: 0 20px 10px 40px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity 0.3s ease; }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__item.is-open .faq__body-inner { opacity: 1; transition-delay: 0.1s; }
.faq__body-inner p, .faq__body-inner li { font-family: var(--font-var); font-variation-settings: "opsz" 24, "wght" 500; font-size: 15px; line-height: 1.3em; letter-spacing: -0.01em; color: var(--gray-99); }
.faq__body-inner ul { padding-left: 20px; list-style: disc; }
@media (max-width: 809.98px) { .faq { padding: 40px 0; } }

/* Injected "Also explore" cards on the live site (kept verbatim) */
.also-explore { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 40px 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: sans-serif; }
.also-explore a { display: flex; flex-direction: column; gap: 4px; padding: 20px 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; color: inherit; min-width: 180px; }
.also-explore .k { font-size: 0.75rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.08em; }
.also-explore .n { font-size: 1.1rem; font-weight: 700; }
.also-explore .d { font-size: 0.85rem; opacity: 0.65; }

/* ================= LATEST ================= */
.latest { padding: 200px 0 240px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.latest__head { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 1440px; padding: 0 var(--page-pad); }
.latest__head .t-lead { max-width: 480px; }
.latest__content { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; max-width: 1440px; padding: 80px; }
.latest__featured { width: 100%; padding-top: 41px; border-top: 1px solid rgba(11, 10, 7, 0.07); }
.latest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; width: 100%; padding-top: 41px; border-top: 1px solid rgba(11, 10, 7, 0.07); }
.post-card { display: flex; flex-direction: column; gap: 20px; }
.post-card__img { position: relative; border-radius: 12px; overflow: hidden; height: 295px; }
.post-card--large .post-card__img { height: 500px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.post-card__img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card:hover .post-card__img::after { opacity: 0.25; }
.post-card__meta { display: flex; flex-direction: column; gap: 5px; min-height: 100px; }
.post-card__meta .t-h3 { color: var(--ink-2); text-wrap: wrap; }
.post-card__date { font-size: 16px; line-height: 1.6em; font-weight: 400; letter-spacing: -0.02em; color: var(--gray-52); }
.latest__extra { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; color: inherit; font-family: sans-serif; width: 100%; }
.latest__extra .n { font-size: 1rem; font-weight: 600; }
.latest__extra .d { font-size: 0.85rem; opacity: 0.6; }
@media (max-width: 1199.98px) {
  .latest { padding: 160px 0 240px; }
  .latest__head { padding: 0 48px; }
  .latest__content { padding: 48px; }
}
@media (max-width: 809.98px) {
  .latest { padding: 120px 16px 240px; }
  .latest__head { padding: 0 16px 40px; }
  .latest__content { padding: 16px; }
  .latest__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ================= POST ================= */
.post-hero { position: relative; min-height: 900px; background: var(--ink); color: var(--white); display: flex; align-items: flex-end; justify-content: center; padding: 80px; overflow: hidden; }
.post-hero__bg { position: absolute; inset: 0; opacity: 0.5; }
.post-hero__bg img { width: 100%; height: 100%; object-fit: contain; }
.post-hero__content { position: relative; display: flex; flex-direction: column; gap: 64px; width: 100%; max-width: 1280px; }
.post-hero__title { max-width: 1111px; }
.post-hero__excerpt { max-width: 590px; font-size: 18px; line-height: 1.4em; font-weight: 500; letter-spacing: -0.04em; }
.post-hero__byline { display: flex; align-items: center; gap: 16px; }
.post-hero__author { display: flex; align-items: center; gap: 18px; }
.post-hero__avatar { width: 64px; height: 64px; border-radius: 50px; object-fit: cover; }
@media (max-width: 1199.98px) {
  .post-hero { padding: 80px 40px; }
  .post-hero__content { max-width: 810px; }
  .post-hero__avatar { width: 48px; height: 48px; }
  .contact--post { padding: 120px 40px; }
  .contact--post .container { padding: 0; gap: 80px; }
  .contact--post .contact__bottom { gap: 40px; }
  .contact--post .contact__left { flex-basis: 362px; max-width: 362px; }
}
@media (max-width: 809.98px) {
  .post-hero { padding: 80px 24px; }
  .post-hero__avatar { width: 24px; height: 24px; }
  .contact--post { padding: 80px 16px 50px; }
  .contact--post .container { padding: 0; gap: 80px; }
  .contact--post .contact__bottom { gap: 40px; }
  .contact--post .contact__left { flex-basis: auto; max-width: 100%; }
}
.post-body { padding: 80px; display: flex; justify-content: center; }
.post-body__wrap { display: flex; align-items: flex-start; gap: 80px; width: 100%; max-width: 1200px; }
.post-aside { position: sticky; top: 180px; width: 270px; flex: none; display: flex; flex-direction: column; gap: 50px; }
.post-aside p { font-size: 16px; line-height: 1.6em; font-weight: 400; letter-spacing: -0.02em; color: var(--gray-52); }
.post-aside .back { display: inline-flex; align-items: center; gap: 12px; min-height: 28px; }
.post-aside .back svg { width: 24px; height: 24px; color: var(--pink); }
.post-aside .back .t-h3 { color: var(--ink-2); }
.article { flex: 1 1 0; min-width: 0; max-width: 850px; }
.article p, .article li { font-size: 18px; line-height: 1.6em; font-weight: 400; letter-spacing: -0.02em; white-space: pre-wrap; word-break: break-word; }
.article > * + * { margin-top: 20px; }
.article > * + h2 { margin-top: 32px; }
.article > p + ul, .article > p + ol, .article > * + img, .article > h2 + .article__video { margin-top: 0; }
.article h2 { font-family: var(--font-ui); font-size: 40px; line-height: 1.2em; font-weight: 400; letter-spacing: -0.04em; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article__video { display: block; position: relative; width: 100%; aspect-ratio: 560 / 315; overflow: hidden; cursor: pointer; }
.article .article__video img, .article__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.article__video .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; }
.article__video .play svg { width: 100%; height: 100%; }
.article__video .play path:first-child { fill: #212121; fill-opacity: 0.8; transition: fill 0.1s cubic-bezier(0.4, 0, 1, 1), fill-opacity 0.1s cubic-bezier(0.4, 0, 1, 1); }
.article__video:hover .play path:first-child { fill: #f00; fill-opacity: 1; }
.article ul { list-style: disc; padding-left: 22.7px; }
.article ol { list-style: decimal; padding-left: 22.7px; }
.article a { color: var(--pink); }
.article a:hover { text-decoration: underline; }
.article strong { font-weight: 700; }
.article em { font-style: italic; }
.article img { max-width: 100%; height: auto; }
.article figure { margin: 20px 0; }
.article figcaption { margin-top: 8px; font-size: 14px; color: var(--gray-52); }
@media (max-width: 1199.98px) {
  .post-body { padding: 80px 40px; }
  .post-body__wrap { gap: 40px; max-width: 810px; }
}
@media (max-width: 809.98px) {
  .post-body { padding: 80px 24px; }
  .post-body__wrap { flex-direction: column; gap: 80px; }
  .post-aside { position: static; width: 100%; order: 2; gap: 24px; }
}
/* Injected post navigation on the live site (kept verbatim) */
.post-nav { display: flex; justify-content: space-between; gap: 16px; padding: 32px 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); max-width: 760px; margin: 0 auto; font-family: sans-serif; }
.post-nav a { text-decoration: none; color: inherit; max-width: 45%; }
.post-nav a.next { text-align: right; }
.post-nav .k { font-size: 0.75rem; opacity: 0.5; margin-bottom: 4px; }
.post-nav .n { font-size: 0.9rem; font-weight: 600; line-height: 1.3em; }
.more-posts { padding: 32px 24px; max-width: 760px; margin: 0 auto; font-family: sans-serif; }
.more-posts h2 { font-size: 1rem; font-weight: 700; margin: 0 0 16px; opacity: 0.8; }
.more-posts div { display: flex; flex-direction: column; gap: 12px; }
.more-posts a { text-decoration: none; color: inherit; padding: 12px 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; font-weight: 600; display: block; line-height: 1.3em; }

/* ================= HERO WIDGETS ================= */
/* Pulse: "Research Sprint" WebGL card */
.rs-root { width: 100%; height: 100%; background: var(--rs-bg); color: var(--rs-ink); display: flex; justify-content: center; align-items: center; overflow: hidden; font-family: var(--font-ui); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; line-height: 11px; }
.rs-card { width: 100%; height: 100%; background: var(--rs-bg); position: relative; display: flex; flex-direction: column; padding: 16px; }
.rs-frame { flex: 1; border: 1px solid var(--rs-ink); position: relative; display: flex; flex-direction: column; overflow: hidden; width: 100%; }
.rs-meta-bar { height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; text-transform: uppercase; background: var(--rs-bg); z-index: 5; white-space: nowrap; }
.rs-meta-bar--top { border-bottom: 1px solid var(--rs-ink); }
.rs-meta-bar--bottom { border-top: 1px solid var(--rs-ink); }
.rs-meta-group { display: flex; gap: 24px; }
.rs-meta-item { display: flex; align-items: center; gap: 8px; }
.rs-canvas-container { flex: 1; position: relative; background: var(--rs-bg); overflow: hidden; width: 100%; height: 100%; min-height: 0; }
.rs-canvas { width: 100%; height: 100%; display: block; }
.rs-labels-layer { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.node-label { position: absolute; display: flex; align-items: center; transform: translate(0, -50%); opacity: 0; transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.node-label.active { opacity: 1; transform: translate(12px, -50%); }
.node-label.reverse.active { transform: translate(-12px, -50%); }
.node-origin-dot { width: 5px; height: 5px; background: var(--rs-bloom); border-radius: 50%; box-shadow: 0 0 0 2px var(--rs-bg); }
.node-line { width: 40px; height: 1px; background: var(--rs-ink); margin-right: 8px; transform-origin: left center; animation: growLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.node-content { background: var(--rs-bg); border: 1px solid var(--rs-ink); padding: 6px 10px; font-size: 10px; white-space: nowrap; display: flex; flex-direction: column; gap: 2px; }
.node-title { font-weight: 500; }
.node-sub { font-size: 9px; opacity: 0.7; }
@keyframes growLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 768px) {
  .rs-card { padding: 8px; }
  .rs-meta-bar { padding: 0 8px; font-size: 9px; }
  .rs-meta-group { gap: 8px; }
  .rs-hide-mobile { display: none; }
  .rs-canvas-container { min-height: 200px; }
}
/* Spark: "Spark Diagnostic" clustering dots */
.sd-root { width: 100%; height: 100%; position: relative; overflow: hidden; }
.sd-grid { position: absolute; top: 0; left: 0; width: 100%; background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.sd-dots { position: absolute; inset: 0; }
.sd-dot { position: absolute; border-radius: 50%; transition: background-color 0.8s ease; pointer-events: none; }
.sd-glow { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 1.5s ease; }
.sd-glow.is-on { opacity: 1; }
.sd-label { position: absolute; transform: translate(-50%, -100%); font-family: monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; opacity: 0; }
.sd-label.is-on { animation: sd-fade 0.8s ease forwards; }
@keyframes sd-fade { to { opacity: 1; } }
.sd-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 120px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 40px 30px; background: linear-gradient(to top, rgba(0, 0, 0, 0.02), transparent); }
.sd-title { font-family: var(--font-ui); font-size: 32px; font-weight: 400; letter-spacing: -0.02em; line-height: 1em; color: #333; margin-bottom: 12px; }
.sd-rule { width: 100%; height: 1px; background: rgba(0, 0, 0, 0.1); margin-bottom: 12px; }
.sd-ticker { font-family: monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.05em; line-height: 1em; color: #666; text-transform: uppercase; }
.sd-root.is-tablet .sd-bottom { padding: 0 30px 30px; }
.sd-root.is-tablet .sd-title { font-size: 26px; }
.sd-root.is-tablet .sd-ticker, .sd-root.is-tablet .sd-label { font-size: 10px; }
.sd-root.is-mobile .sd-bottom { height: 100px; padding: 0 20px 20px; }
.sd-root.is-mobile .sd-title { font-size: 20px; margin-bottom: 8px; }
.sd-root.is-mobile .sd-rule { margin-bottom: 8px; }
.sd-root.is-mobile .sd-ticker, .sd-root.is-mobile .sd-label { font-size: 9px; }
