/* Cobbo public site
   One system: Geist + Geist Mono, a neutral paper/ink base, one accent (Cobbo crimson),
   14px media radius, pill buttons, motion on transform/opacity only with one easing curve. */

:root {
    --paper: #f2f2ef;
    --paper-2: #e8e8e3;
    --card: #fbfbf9;
    --ink: #141416;
    --ink-2: #38383d;
    --muted: #6a6a70;
    --line: #d9d9d3;
    --accent: #a8171c;
    --accent-ink: #8f1317;
    --accent-soft: #f4dede;
    --night: #121214;
    --night-2: #1c1c1f;
    --night-line: #2c2c30;
    --night-muted: #9a9aa2;
    --r: 14px;
    --r-lg: 22px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --gutter: clamp(20px, 4vw, 56px);
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 999px; transform: translateY(-150%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow--light { color: var(--night-muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dot--live { background: #1f9d55; box-shadow: 0 0 0 3px color-mix(in srgb, #1f9d55 22%, transparent); }
.h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }

/* Buttons and links */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 22px; font-size: 15px; font-weight: 500; white-space: nowrap; border-radius: 999px; transition: transform .35s var(--ease), background-color .25s, color .25s; will-change: transform; }
.btn:active { transform: scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 9px 0 26px; font-size: 16px; }
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { background: #000000e6; }
.btn--accent { color: #fff; background: var(--accent); }
.btn__arrow { display: grid; place-items: center; width: 34px; height: 34px; font-size: 15px; color: var(--ink); background: #fff; border-radius: 50%; transition: transform .45s var(--ease); }
.btn--lg .btn__arrow { width: 40px; height: 40px; }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn--accent .btn__arrow { color: var(--accent); }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; font-size: 15px; font-weight: 500; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); transform-origin: left; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -2px); }
.round { display: grid; place-items: center; width: 48px; height: 48px; font-size: 18px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.round:hover:not(:disabled) { color: #fff; background: var(--ink); border-color: var(--ink); }
.round:active { transform: scale(.95); }
.round:disabled { opacity: .35; cursor: default; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; }

/* ===================== Navigation ===================== */
.nav { position: fixed; z-index: 50; inset: 14px var(--gutter) auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding: 0 8px 0 16px; border: 1px solid transparent; border-radius: 999px; transition: background-color .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-scrolled { background: color-mix(in srgb, var(--paper) 82%, transparent); border-color: color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 10px 30px -18px #14141640; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.nav.is-hidden { transform: translateY(calc(-100% - 60px)); }
.nav__brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.nav__mark { width: 26px; height: 26px; fill: var(--accent); transition: transform .8s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(-90deg); }
.nav__brand--light { color: #fff; }
.nav__links { display: none; gap: 4px; padding: 4px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); border-radius: 999px; }
.nav.is-scrolled .nav__links { background: transparent; border-color: transparent; }
.nav__links a { padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: background-color .2s, color .2s; }
.nav__links a:hover, .nav__links a.is-current, .nav__links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav__end { display: flex; align-items: center; gap: 6px; }
.nav__login { display: none; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
.nav__cta { display: none; }
.nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); border-radius: 50%; }
.nav__burger { display: grid; gap: 5px; width: 16px; }
.nav__burger i { display: block; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease); }
.menu-open .nav__burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1024px) {
    .nav__links { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
    .nav__login { display: inline-block; }
    .nav__toggle { display: none; }
}

/* Mobile menu */
.menu { position: fixed; z-index: 45; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom)); color: #fff; background: var(--night); clip-path: circle(0 at calc(100% - var(--gutter) - 30px) 44px); transition: clip-path .7s var(--ease); }
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 30px) 44px); }
.menu-open .nav { color: #fff; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .nav__cta { display: none; }
.menu-open .nav__toggle { background: #fff; }
.menu-open .nav__burger i { background: var(--ink); }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font-size: clamp(40px, 11vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; border-bottom: 1px solid var(--night-line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
.menu__links .mono { color: var(--night-muted); }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__login { font-size: 14px; color: var(--night-muted); text-decoration: underline; text-underline-offset: 4px; }
body.menu-open { overflow: hidden; }

/* ===================== Hero ===================== */
.hero { position: relative; display: grid; align-items: center; gap: 48px; min-height: 100dvh; padding: 120px var(--gutter) 72px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 55% at 78% 45%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), radial-gradient(ellipse 50% 40% at 10% 100%, #ffffff80, transparent 70%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero__title { font-size: clamp(38px, 4.45vw, 74px); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede { max-width: 50ch; margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }

.hero__stage { position: relative; height: clamp(360px, 60vw, 560px); }
/* Desktop deck: a perspective stage, tilted a touch; site.js places every card along the conveyor each frame */
.deck { perspective: 3400px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.deck.is-dragging { cursor: grabbing; }
.deck__space { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(3deg) rotateY(-4deg); }
.deck-card { position: absolute; top: 50%; left: 50%; width: 62%; margin: 0; opacity: 0; border-radius: 18px; box-shadow: 0 34px 60px -30px #14141670, 0 8px 18px -10px #14141629; backface-visibility: hidden; will-change: transform, opacity; }
.deck-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: inherit; pointer-events: none; }
.deck-card .flow-card__tag { position: absolute; left: 12px; bottom: 12px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; display: none; width: 26px; height: 40px; translate: -50% 0; border: 1.5px solid var(--line); border-radius: 999px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; translate: -50% 0; background: var(--ink); border-radius: 2px; animation: scrollcue 2.2s var(--ease) infinite; }

@media (min-width: 1024px) {
    .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; padding-top: 100px; padding-bottom: 96px; }
    .hero__stage { height: min(68vh, 640px); }
    .hero__scroll { display: block; }
}
.flow-card__tag { position: absolute; z-index: 1; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 20px); padding: 6px 11px; overflow: hidden; font-size: 12px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); background: color-mix(in srgb, var(--card) 92%, transparent); border-radius: 999px; box-shadow: 0 6px 16px -8px #14141666; }

/* Phones and tablets: the 3D deck give way to one full-bleed strip of client sites that glides
   rightwards on an endless linear loop (the track holds two copies, so -50% -> 0 is seamless). */
.hero__flow { display: none; }
@media (max-width: 1023px) {
    .hero { gap: 36px; padding-top: 112px; padding-bottom: 56px; }
    .hero__stage { display: none; }
    .hero__flow { display: block; width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden; padding-block: 6px 26px; }
    .hero__flow-track { display: flex; width: max-content; gap: var(--flow-gap); animation: flow-glide var(--flow-time) linear infinite; will-change: transform; }
    .hero__flow { --flow-card: 320px; --flow-gap: 16px; --flow-time: 70s; }
    .flow-card { position: relative; flex: none; width: var(--flow-card); aspect-ratio: 260 / 168; overflow: hidden; background: var(--tone); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 18px; box-shadow: 0 22px 34px -24px #14141666, 0 4px 10px -6px #1414161f; }
    .flow-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
    .flow-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, #14141647, transparent 46%); pointer-events: none; }
}
@media (max-width: 639px) {
    .hero__flow { --flow-card: 260px; --flow-gap: 12px; --flow-time: 56s; }
}
@keyframes flow-glide { from { transform: translateX(calc(-50% - var(--flow-gap) / 2)); } to { transform: translateX(0); } }

/* Browser frame, shared by every screenshot */
.browser { display: block; overflow: hidden; background: var(--card); border: 1px solid color-mix(in srgb, var(--line) 75%, transparent); border-radius: var(--r); }
.browser__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: var(--card); border-bottom: 1px solid var(--paper-2); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.browser__bar span { flex: 1; margin-inline: 10px 30px; overflow: hidden; font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser--lg .browser__bar { height: 34px; }
.browser--lg .browser__bar i { width: 9px; height: 9px; }
.browser--lg .browser__bar span { font-size: 11.5px; }

/* ===================== Industries band ===================== */
.band { overflow: hidden; padding: 22px 0; color: var(--paper); background: var(--ink); }
.band__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band ul { display: flex; flex-shrink: 0; }
.band li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.band li::after { content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }

/* ===================== Selected work ===================== */
.work { padding: clamp(88px, 11vw, 160px) 0 clamp(72px, 9vw, 120px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head__aside { max-width: 36ch; font-size: 16px; color: var(--ink-2); }
@media (min-width: 1024px) {
    .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: end; column-gap: 64px; }
    .section-head .eyebrow { grid-column: 1 / -1; }
    .section-head__aside { justify-self: end; padding-bottom: 8px; }
}

.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .feature { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; } }
.feature__media { position: relative; display: block; padding: clamp(14px, 3vw, 40px); overflow: hidden; background: var(--tone); border-radius: var(--r-lg); cursor: none; }
.feature__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, #ffffff1f, transparent 55%); }
.feature__media .browser { position: relative; box-shadow: 0 40px 70px -30px #000000a6; transform: translateY(var(--lift, 0)); transition: transform .8s var(--ease); }
.feature__media:hover .browser { --lift: -8px; }
.feature__media img { will-change: transform; }
.feature__cursor { position: absolute; top: 0; left: 0; z-index: 3; display: grid; place-items: center; width: 104px; height: 104px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--card); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, 50%), var(--cy, 50%), 0) translate(-50%, -50%) scale(.4); transition: opacity .3s, transform .45s var(--ease); }
.feature__media:hover .feature__cursor { opacity: 1; transform: translate3d(var(--cx, 50%), var(--cy, 50%), 0) translate(-50%, -50%) scale(1); }
@media (hover: none) { .feature__media { cursor: pointer; } .feature__cursor { display: none; } }
.feature__info { display: grid; gap: 20px; justify-items: start; }
.feature__summary { max-width: 46ch; color: var(--ink-2); }
.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; padding: 16px 0; border-block: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.35; }

/* Slider */
.slider { margin-top: clamp(64px, 8vw, 112px); }
.slider__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.slider__drag { display: inline-block; margin-right: 6px; color: var(--accent); animation: nudge 2.4s var(--ease) infinite; }
.slider__controls { display: flex; align-items: center; gap: 10px; }
.slider__count { margin-right: 10px; }
.slider__count b { color: var(--ink); font-weight: 600; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 520px); gap: clamp(16px, 2vw, 28px); padding: 4px var(--gutter) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__track.is-dragging * { pointer-events: none; }
@media (min-width: 1360px) { .slider__track { padding-inline: calc((100vw - 1360px) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 1360px) / 2 + var(--gutter)); } }
@media (min-width: 1024px) { .slider__track { grid-auto-columns: min(46vw, 600px); } }
.case { display: grid; align-content: start; gap: 22px; scroll-snap-align: start; }
.case__media { position: relative; display: block; overflow: hidden; background: var(--tone); border-radius: var(--r-lg); aspect-ratio: 16 / 11; }
.case__media img { position: absolute; inset: 9% 7% auto; width: 86%; border-radius: 10px; box-shadow: 0 30px 50px -26px #000000b3; transform-origin: top center; transition: transform 1s var(--ease); user-select: none; -webkit-user-drag: none; }
.case__media:hover img { transform: translateY(-4%) scale(1.035); }
.case__visit { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: var(--card); border-radius: 999px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease); }
.case__media:hover .case__visit, .case__media:focus-visible .case__visit { opacity: 1; transform: none; }
@media (hover: none) { .case__visit { opacity: 1; transform: none; } }
.case__body { display: grid; gap: 8px; }
.case__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.case__built { font-size: 14.5px; font-weight: 500; color: var(--accent-ink); }
.case__summary { max-width: 52ch; font-size: 15px; color: var(--ink-2); }
.case__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.case__index { color: var(--muted); }
.slider__progress { height: 2px; overflow: hidden; background: var(--line); border-radius: 2px; }
.slider__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .4s var(--ease); }
@media (max-width: 639px) { .slider__hint { display: none; } }

/* ===================== Services ===================== */
.services { padding: clamp(88px, 10vw, 150px) 0; background: var(--card); border-block: 1px solid var(--line); }
.services__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .services__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; } .services__intro { position: sticky; top: 110px; align-self: start; } }
.services__panel { position: relative; display: none; margin-top: 48px; aspect-ratio: 4 / 3; max-width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 1024px) { .services__panel { display: block; } }
.services__panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.glyph { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px 32px 56px; color: var(--ink-2); animation: glyphIn .6s var(--ease) both; }
.glyph__svg { width: 100%; max-width: 380px; }
.glyph .g-accent { stroke: var(--accent); }
.glyph .g-fill { fill: var(--accent); stroke: var(--accent); }
.glyph .g-solid { fill: var(--card); }
.glyph .g-cursor { fill: var(--ink); stroke: var(--ink); }
.glyph .g-flow { stroke: var(--accent); stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; }
.glyph figcaption { position: absolute; left: 22px; bottom: 18px; }

.services__list { border-top: 1px solid var(--line); counter-reset: svc; }
.service { border-bottom: 1px solid var(--line); }
.service h3 { font: inherit; }
.service__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: center; gap: 12px; width: 100%; padding: clamp(18px, 2.4vw, 28px) 0; text-align: left; }
.service__name { font-size: clamp(24px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--muted); transition: color .35s, transform .6s var(--ease); }
.service__head:hover .service__name, .service.is-open .service__name { color: var(--ink); }
.service__head:hover .service__name { transform: translateX(6px); }
.service__plus { position: relative; width: 22px; height: 22px; justify-self: end; }
.service__plus::before, .service__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.service__plus::after { transform: rotate(90deg); }
.service.is-open .service__plus::after { transform: rotate(0deg); }
.service.is-open .service__plus::before { background: var(--accent); }
.service.is-open .service__plus::after { background: var(--accent); }
.service__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.service.is-open .service__body { grid-template-rows: 1fr; }
.service__body > div { overflow: hidden; padding-left: 56px; }
.service__body p { max-width: 52ch; color: var(--ink-2); }
.service__body ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 28px; }
.service__body li { position: relative; padding-left: 14px; font-size: 14px; font-weight: 500; }
.service__body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
@media (max-width: 639px) { .service__body > div { padding-left: 0; } .service__head { grid-template-columns: 34px minmax(0, 1fr) 24px; } }

/* ===================== Approach ===================== */
.approach { padding: clamp(96px, 11vw, 170px) 0; color: #f3f3f1; background: var(--night); }
.approach .muted { color: var(--night-muted); }
.approach__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .approach__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 96px; } .approach__sticky { position: sticky; top: 120px; align-self: start; } }
.approach__dial { display: none; margin-top: 56px; }
@media (min-width: 1024px) { .approach__dial { display: grid; gap: 4px; } }
.approach__dial li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #5a5a62; transition: color .4s; }
.approach__dial li::before { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .5s var(--ease), background-color .4s; }
.approach__dial li.is-active { color: #fff; }
.approach__dial li.is-active::before { width: 42px; background: var(--accent); }
.approach__stages { position: relative; display: grid; gap: clamp(56px, 8vw, 120px); padding-left: 44px; }
.approach__rail { position: absolute; top: 8px; bottom: 8px; left: 7px; width: 2px; background: var(--night-line); }
.approach__rail span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--rail, 0)); }
.stage { position: relative; opacity: .38; transition: opacity .6s var(--ease); }
.stage.is-active, .stage.is-past { opacity: 1; }
.stage__node { position: absolute; left: -44px; top: 4px; width: 16px; height: 16px; background: var(--night); border: 2px solid #4a4a52; border-radius: 50%; transition: border-color .4s, background-color .4s, transform .6s var(--ease); }
.stage.is-active .stage__node, .stage.is-past .stage__node { background: var(--accent); border-color: var(--accent); }
.stage.is-active .stage__node { transform: scale(1.3); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.stage .mono { color: var(--night-muted); }
.stage__name { margin-top: 10px; font-size: clamp(40px, 5.6vw, 80px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.stage__text { max-width: 46ch; margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); color: #c9c9ce; }
.stage__detail { margin-top: 16px; color: #8a8a92; text-transform: none; }

/* ===================== About ===================== */
.about { padding: clamp(96px, 11vw, 170px) 0; }
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 96px; } }
.about__equation { max-width: 520px; width: 100%; justify-self: center; }
.venn { width: 100%; overflow: visible; }
.venn circle { fill: none; stroke: var(--ink); stroke-width: 1.25; transform-box: fill-box; transform-origin: center; transition: transform 1.4s var(--ease); }
.venn .venn__a { fill: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.venn .venn__c { stroke: var(--accent); }
.venn text { font-family: var(--mono); font-size: 13px; fill: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.venn .venn__dot { fill: var(--accent); stroke: none; }
.venn .venn__core { display: none; }
.js .about__equation:not(.is-in) .venn__a { transform: translate(-30px, -10px); }
.js .about__equation:not(.is-in) .venn__b { transform: translate(30px, -10px); }
.js .about__equation:not(.is-in) .venn__c { transform: translate(0, 34px); }
.about__copy { display: grid; gap: 22px; }
.about__copy .eyebrow { margin-bottom: 0; }
.about__copy > p { max-width: 58ch; color: var(--ink-2); }
.about__lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink) !important; letter-spacing: -.01em; }
.about__product { display: grid; gap: 10px; justify-items: start; margin-top: 12px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 4px var(--r) var(--r) 4px; }
.about__product p:not(.mono) { color: var(--ink-2); }

/* ===================== Proof ===================== */
.proof { padding: 0 0 clamp(96px, 11vw, 160px); }
.proof__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .proof__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); }
.proof__stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 1023px) { .proof__stats > div:nth-child(3) { padding-left: 0; border-left: 0; } }
.proof__stats dd { font-size: clamp(56px, 7vw, 104px); font-weight: 600; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.proof__stats dt { max-width: 22ch; font-size: 14px; color: var(--muted); }
.proof__stack { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 1024px) { .proof__stack { grid-template-columns: 220px minmax(0, 1fr); align-items: center; } }
.proof__stack ul { display: flex; flex-wrap: wrap; gap: 8px; }
.proof__stack li { padding: 8px 16px; font-size: 14.5px; font-weight: 500; background: var(--card); border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, transform .4s var(--ease); }
.proof__stack li:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ===================== Final CTA ===================== */
.cta { position: relative; padding: clamp(96px, 12vw, 180px) 0; overflow: hidden; color: #fff; background: var(--accent); isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; right: -20vw; top: -30vw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-5 0 110 110'%3E%3Cpath fill='%23ffffff' d='M99.5 22.7A55 55 0 1 0 99.5 87.3L84.93 76.75A37 37 0 1 1 84.93 33.25Z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .06; animation: spin 90s linear infinite; }
.cta .eyebrow--light { color: #ffffffb3; }
.cta__grid { display: grid; gap: 48px; align-items: end; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.cta__title { font-size: clamp(46px, 6.3vw, 104px); font-weight: 600; line-height: .92; letter-spacing: -.055em; }
.cta__lede { max-width: 46ch; margin-top: 28px; font-size: clamp(16px, 1.3vw, 19px); color: #ffffffd9; }
.cta__action { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 1024px) { .cta__action { justify-items: end; } }
.cta__button { display: inline-flex; align-items: center; gap: 22px; padding: 12px 12px 12px 34px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); background: #fff; border-radius: 999px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); box-shadow: 0 24px 50px -24px #2a0405b3; will-change: transform; }
.cta__button:active { scale: .98; }
.cta__button-arrow { display: grid; place-items: center; width: 64px; height: 64px; font-size: 24px; color: #fff; background: var(--ink); border-radius: 50%; transition: transform .6s var(--ease), background-color .3s; }
.cta__button:hover .cta__button-arrow { transform: rotate(-45deg); background: var(--accent-ink); }
.cta__mail { font-size: 15px; color: #ffffffcc; }
.cta__mail a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ===================== Footer ===================== */
.footer { padding: clamp(64px, 8vw, 100px) 0 28px; color: #e9e9e6; background: var(--night); overflow: hidden; }
.footer__top { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .footer__brand { grid-column: auto; } }
.footer__brand p { max-width: 32ch; color: var(--night-muted); }
.footer .mono { margin-bottom: 14px; color: #6f6f78; }
.footer ul { display: grid; gap: 8px; }
.footer li, .footer li a { font-size: 15px; color: #d6d6d4; overflow-wrap: anywhere; }
.footer li a:hover { color: #fff; }
.footer__word { margin: clamp(48px, 8vw, 96px) 0 0; font-size: clamp(88px, 22vw, 340px); font-weight: 650; line-height: .78; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px #4c4c54; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; font-size: 13.5px; color: #85858d; border-top: 1px solid var(--night-line); }
.footer__bottom .link-arrow { font-size: 13.5px; color: #d6d6d4; }

/* ===================== Motion ===================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js.is-loaded .hero__title .line > span { transform: none; }
.js .hero .reveal { transition-delay: var(--d, 0s); }

@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes glyphIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .js .reveal, .js .hero__title .line > span { opacity: 1; transform: none; }
    .band__track { animation: none; flex-wrap: wrap; width: auto; }
    .hero__flow { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .hero__flow-track { animation: none !important; padding-inline: var(--gutter); }
    .flow-card { scroll-snap-align: start; }
    .band ul[aria-hidden] { display: none; }
}

/* WhatsApp chat: a floating pill, bottom-right, that expands its label on hover */
.wa { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; color: #fff; background: #1f9e55; border-radius: 999px; box-shadow: 0 16px 34px -14px #14141680, inset 0 1px 0 #ffffff33; text-decoration: none; font-weight: 500; font-size: 15px; transition: transform .4s var(--ease), gap .4s var(--ease), box-shadow .4s var(--ease); }
.wa svg { width: 24px; height: 24px; flex: none; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.wa:hover, .wa:focus-visible { gap: 10px; transform: translateY(-2px); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 120px; }
.wa:active { transform: scale(.97); }
.wa:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #1f9e55; z-index: -1; animation: wa-ping 2.8s var(--ease) 2s 3; }
body.menu-open .wa { opacity: 0; pointer-events: none; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 639px) { .wa { right: 16px; bottom: 16px; height: 52px; padding: 0 14px; } }

/* ======================= Portfolio page (/work) ======================= */
.pf-hero { padding: clamp(140px, 16vw, 210px) 0 clamp(40px, 5vw, 64px); }
.pf-hero__title { max-width: 16ch; font-size: clamp(42px, 6.4vw, 96px); font-weight: 600; line-height: .96; letter-spacing: -.05em; }
.pf-hero__lede { max-width: 52ch; margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); }
.pf { padding-bottom: clamp(110px, 12vw, 180px); }
.pf__bar { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 calc(var(--gutter) * -1) clamp(36px, 4vw, 56px); padding: 14px var(--gutter); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, top .6s var(--ease); }
body:has(.nav:not(.is-hidden)) .pf__bar { top: var(--nav-h, 84px); }
.pf__bar.is-stuck { border-bottom-color: var(--line); }
.pf__filters { display: flex; gap: 8px; margin: -4px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.pf__filters::-webkit-scrollbar { display: none; }
.pf__chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.pf__chip span { font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .25s; }
.pf__chip:hover { border-color: var(--ink-2); }
.pf__chip:active { transform: scale(.97); }
.pf__chip[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.pf__chip[aria-pressed="true"] span { color: #ffffffa6; }
.pf__chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pf__count { flex: none; }
.pf__grid { display: grid; gap: clamp(48px, 5vw, 72px) clamp(24px, 3.4vw, 48px); padding: 0; list-style: none; }
.pf-card[hidden] { display: none; }
.pf-card.is-leaving { opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .25s, transform .25s; }
.pf-card__link { display: grid; gap: 22px; }
.pf-card__frame { box-shadow: 0 30px 60px -36px #14141647; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.pf-card__frame img { transition: transform 1.2s var(--ease); }
.pf-card__link:hover .pf-card__frame { transform: translateY(-6px); box-shadow: 0 44px 80px -36px #1414166b; }
.pf-card__link:hover .pf-card__frame img { transform: scale(1.035); }
.pf-card__link:focus-visible { outline: none; }
.pf-card__link:focus-visible .pf-card__frame { outline: 2px solid var(--accent); outline-offset: 4px; }
.pf-card__meta { display: grid; gap: 8px; }
.pf-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pf-card__name { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.025em; }
.pf-card__visit { display: grid; place-items: center; flex: none; width: 38px; height: 38px; font-size: 16px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.pf-card__link:hover .pf-card__visit { color: #fff; background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.pf-card__tags { color: var(--accent); }
.pf-card__summary { max-width: 52ch; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pf__empty { padding: 60px 0; color: var(--muted); }
@media (min-width: 768px) {
    .pf__grid { grid-template-columns: 1fr 1fr; padding-bottom: 90px; }
    .pf-card.is-alt { transform: translateY(90px); }
    .js .pf-card.reveal.is-alt { transform: translateY(116px); }
    .js .pf-card.reveal.is-alt.is-in { transform: translateY(90px); }
    .pf-card.is-alt.is-leaving { transform: translateY(102px) scale(.985); }
}
@media (max-width: 767px) { .pf__count { display: none; } }
.work__all { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.service__more { margin-bottom: 28px; font-size: 14px; }

/* ======================= Services page (/services) ======================= */
.sv-hero { padding: clamp(140px, 15vw, 200px) 0 clamp(72px, 8vw, 120px); }
.sv-hero__grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: end; }
.sv-hero__title { max-width: 14ch; font-size: clamp(40px, 5.6vw, 84px); font-weight: 600; line-height: .97; letter-spacing: -.048em; }
.sv-hero__lede { max-width: 46ch; margin-top: 26px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-2); }
.sv-index { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sv-index li { border-bottom: 1px solid var(--line); }
.sv-index__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 4px 16px; padding: 18px 4px; isolation: isolate; }
.sv-index__row::before { content: ""; position: absolute; z-index: -1; inset: 0 -14px; background: var(--card); border-radius: 12px; opacity: 0; transform: scaleY(.6); transition: opacity .35s, transform .5s var(--ease); }
.sv-index__row:hover::before, .sv-index__row:focus-visible::before { opacity: 1; transform: none; }
.sv-index__row:focus-visible { outline: none; }
.sv-index__name { font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.sv-index__summary { grid-column: 1; font-size: 14.5px; color: var(--muted); }
.sv-index__arrow { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; align-self: center; width: 32px; height: 32px; font-size: 14px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.sv-index__row:hover .sv-index__arrow { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(3px); }

.sv { padding-bottom: clamp(100px, 11vw, 160px); }
.sv__grid { display: grid; gap: 40px; }
.sv-rail { display: none; }
.sv__list { display: grid; gap: clamp(88px, 10vw, 150px); }
.sv-item { display: grid; gap: clamp(28px, 3.5vw, 48px); scroll-margin-top: 110px; }
.sv-item__art { position: relative; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sv-item__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 32px 32px; mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); -webkit-mask: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); }
.sv-item__art .glyph { padding: 8%; animation: none; }
.sv-item__art .glyph__svg { max-width: 440px; transition: transform 1.2s var(--ease); }
.sv-item.is-active .sv-item__art .glyph__svg { transform: scale(1.04); }
.sv-item__name { font-size: clamp(32px, 4vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.sv-item__summary { max-width: 30ch; margin-top: 16px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink-2); }
.sv-item__intro { max-width: 60ch; margin-top: 20px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.sv-item__deliver { margin-top: 36px; }
.sv-item__deliver ul { display: grid; margin-top: 12px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sv-item__deliver li { display: flex; align-items: center; gap: 12px; padding: 13px 0; font-size: 15.5px; font-weight: 500; border-bottom: 1px solid var(--line); }
.sv-item__deliver li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.sv-item__ask { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--accent); }
.sv-item__ask span { transition: transform .45s var(--ease); }
.sv-item__ask:hover span { transform: translateX(5px); }

.sv-proof { margin-top: 28px; }
.sv-proof--product { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.sv-proof--product:hover { border-color: var(--ink-2); transform: translateY(-2px); box-shadow: 0 20px 40px -28px #1414165c; }
.sv-proof__mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); border-radius: 12px; }
.sv-proof__mark svg { width: 22px; fill: var(--accent); }
.sv-proof__title { display: block; font-weight: 600; letter-spacing: -.01em; }
.sv-proof__text { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.sv-proof__go { transition: transform .45s var(--ease); }
.sv-proof--product:hover .sv-proof__go { transform: translate(3px, -3px); }
.sv-proof--web { display: grid; gap: 18px; justify-items: start; }
.sv-proof__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 0; list-style: none; }
.sv-proof__shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; }

.sv-combine { padding: clamp(96px, 11vw, 160px) 0; color: #fff; background: var(--night); }
.sv-combine .h2 { max-width: 15ch; }
.sv-combine__dim { color: var(--night-muted); }
.sv-combine__grid { display: grid; gap: 48px; align-items: end; }
.sv-combine__side p { max-width: 48ch; color: #ffffffc7; }
.sv-combine__stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; padding: 0; list-style: none; counter-reset: stage; }
.sv-combine__stages li { padding: 9px 16px; font-size: 14px; font-weight: 500; border: 1px solid var(--night-line); border-radius: 999px; }
.sv-combine__stages li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--night-muted); }
.sv-combine .link-arrow { color: #fff; }

@media (min-width: 768px) {
    .sv-item__deliver ul { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1024px) {
    .sv-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .sv__grid { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
    .sv-rail { position: sticky; top: 120px; display: grid; grid-template-columns: 2px minmax(0, 1fr); gap: 0 20px; }
    .sv-rail__track { position: relative; background: var(--line); border-radius: 2px; }
    .sv-rail__track span { position: absolute; inset: 0; background: var(--accent); border-radius: inherit; transform: scaleY(var(--p, 0)); transform-origin: top; }
    .sv-rail ul { display: grid; gap: 2px; padding: 0; list-style: none; }
    .sv-rail a[data-sv-link] { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
    .sv-rail a[data-sv-link]:hover { color: var(--ink); }
    .sv-rail a[data-sv-link].is-active { color: var(--ink); transform: translateX(6px); }
    .sv-rail__cta { grid-column: 2; justify-self: start; margin-top: 28px; }
    .sv-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .sv-item:nth-child(even) .sv-item__art { order: 2; }
    .sv-item__art { position: sticky; top: 120px; }
    .sv-combine__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* ======================= Invoice mock (coded product visual) ======================= */
.imock { position: relative; width: 100%; max-width: 520px; margin-inline: auto; padding: 28px 34px 70px 0; font-size: 11px; color: var(--ink); }
.imock i { font-style: normal; color: var(--muted); }
.imock s { text-decoration: none; }
.imock__doc { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 70px -40px #14141680, 0 10px 24px -14px #14141626; transform: rotate(-1.2deg); }
.imock__band { height: 8px; background: var(--accent); }
.imock__head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 20px 22px 16px; border-bottom: 1px solid var(--paper-2); }
.imock__logo { display: grid; place-items: center; width: 36px; height: 36px; font-size: 12px; font-weight: 700; color: #fff; background: #2d2a26; border-radius: 9px; }
.imock__biz, .imock__no, .imock__meta span, .imock__paid { display: grid; gap: 2px; }
.imock__biz b { font-size: 13px; }
.imock__no { text-align: right; }
.imock__no b { font-family: var(--mono); font-size: 11.5px; }
.imock__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 22px; }
.imock__rows { display: grid; margin: 0 22px; border-top: 1px solid var(--paper-2); }
.imock__rows span { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--paper-2); }
.imock__rows b { font-weight: 500; }
.imock__rows em { font-style: normal; font-variant-numeric: tabular-nums; }
.imock__total { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; padding: 14px 22px 6px; }
.imock__total b { font-size: 20px; letter-spacing: -.02em; }
.imock__bank { display: flex; justify-content: space-between; margin: 10px 22px 20px; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.imock__status { position: absolute; right: 0; bottom: 0; display: grid; gap: 10px; width: 210px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 40px -24px #14141673; }
.imock__pill { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 4px 10px 4px 8px; font-size: 11.5px; font-weight: 600; border-radius: 999px; background: var(--paper-2); animation: imock-pill 9s var(--ease) infinite; }
.imock__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.imock__state, .imock__amount { display: inline-grid; }
.imock__state s, .imock__amount s { grid-area: 1 / 1; opacity: 0; animation: imock-swap 9s infinite; }
.imock__state s:nth-child(2), .imock__amount s:nth-child(2) { animation-delay: 3s; }
.imock__state s:nth-child(3), .imock__amount s:nth-child(3) { animation-delay: 6s; }
.imock__bar { height: 6px; overflow: hidden; background: var(--paper-2); border-radius: 6px; }
.imock__bar span { display: block; height: 100%; background: #1f9e55; border-radius: inherit; transform-origin: left; animation: imock-bar 9s var(--ease) infinite; }
.imock__paid { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
.imock__paid b { justify-self: end; font-size: 15px; font-variant-numeric: tabular-nums; }
.imock__share { position: absolute; left: -14px; top: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 34px -22px #14141673; animation: imock-float 6s ease-in-out infinite; }
.imock__share svg { width: 30px; height: 30px; padding: 6px; color: #fff; background: #1f9e55; border-radius: 9px; }
.imock__share span { display: grid; gap: 1px; }
.imock__share b { font-size: 12px; }
.imock--compact { max-width: 440px; }
@keyframes imock-swap { 0%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes imock-bar { 0%, 30% { transform: scaleX(0); } 36%, 63% { transform: scaleX(.5); } 70%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes imock-pill { 0%, 30% { color: var(--muted); background: var(--paper-2); } 36%, 63% { color: #9a6200; background: #fbefd9; } 70%, 96% { color: #157a40; background: #ddf3e5; } 100% { color: var(--muted); background: var(--paper-2); } }
@keyframes imock-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ======================= Products page (/products) ======================= */
.pr-hero { padding: clamp(140px, 15vw, 200px) 0 clamp(48px, 6vw, 80px); }
.pr-hero__title { max-width: 13ch; font-size: clamp(42px, 6vw, 92px); font-weight: 600; line-height: .96; letter-spacing: -.05em; }
.pr-hero__lede { max-width: 52ch; margin-top: 26px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-2); }
.pr { padding-bottom: clamp(100px, 11vw, 160px); }
.pr__list { display: grid; gap: 48px; padding: 0; list-style: none; }
.pr-item { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); background: var(--card); border: 1px solid var(--line); border-radius: 28px; }
.pr-item__visual { display: block; padding: 24px 8px; background: radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%), var(--paper); border-radius: 20px; }
.pr-item__visual:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pr-item__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pr-item__name { margin-top: 14px; font-size: clamp(34px, 4vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.pr-item__tagline { max-width: 26ch; margin-top: 14px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink-2); }
.pr-item__summary { max-width: 54ch; margin-top: 16px; color: var(--muted); }
.pr-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.pr-item__tags li { padding: 7px 13px; font-size: 13.5px; font-weight: 500; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.pr-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.pr-next { display: grid; gap: 20px; align-items: end; margin-top: 48px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.pr-next__title { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.pr-next p { max-width: 54ch; margin-top: 8px; color: var(--muted); }

/* ======================= Invoicing landing (/products/invoicing) ======================= */
.ip-hero { padding: clamp(130px, 14vw, 180px) 0 clamp(72px, 8vw, 120px); overflow: hidden; }
.ip-hero__grid { display: grid; gap: 56px; align-items: center; }
.ip-hero__title { max-width: 15ch; font-size: clamp(40px, 5.2vw, 80px); font-weight: 600; line-height: .98; letter-spacing: -.048em; }
.ip-hero__lede { max-width: 48ch; margin-top: 26px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: var(--ink-2); }
.ip-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.ip-hero__login { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.ip-hero__login a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.ip-flow { padding: clamp(88px, 10vw, 140px) 0; background: var(--card); border-block: 1px solid var(--line); }
.ip-flow__title { max-width: 18ch; }
.ip-flow__steps { display: grid; gap: 36px; margin-top: clamp(44px, 5vw, 72px); padding: 0; list-style: none; }
.ip-step { position: relative; display: grid; gap: 10px; padding-top: 26px; }
.ip-step__line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); overflow: hidden; }
.ip-step__line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .3s); }
.ip-step.is-in .ip-step__line::after { transform: scaleX(1); }
.ip-step h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.ip-step p { max-width: 36ch; color: var(--muted); }

.ip-features { padding: clamp(96px, 11vw, 160px) 0; }
.ip-features__head .h2 { max-width: 17ch; }
.bento { display: grid; gap: 16px; margin-top: clamp(44px, 5vw, 72px); }
.bento__tile { display: grid; align-content: start; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bento__tile:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -36px #14141666; }
.bento__tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.bento__tile p { max-width: 44ch; font-size: 15px; color: var(--muted); }
.bento__art { display: grid; place-items: center; min-height: 170px; margin-bottom: 14px; padding: 20px; background: var(--paper); border-radius: 16px; overflow: hidden; }
.tb-brand { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; width: min(100%, 300px); padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tb-brand__logo { display: grid; place-items: center; width: 52px; height: 52px; font-weight: 700; color: #fff; background: #2d2a26; border-radius: 12px; }
.tb-brand__lines { display: grid; gap: 7px; }
.tb-brand__lines i { height: 8px; background: var(--paper-2); border-radius: 4px; }
.tb-brand__lines i:first-child { width: 80%; background: var(--ink); }
.tb-brand__sign { grid-column: 1 / -1; justify-self: end; width: 120px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.bento__tile.is-in .tb-brand__sign { animation: sign-draw 2.4s var(--ease) .4s forwards; }
.tb-share { display: grid; gap: 6px; justify-items: end; width: min(100%, 300px); }
.tb-share__bubble { display: grid; gap: 6px; padding: 12px 14px; font-size: 13px; line-height: 1.45; background: #dcf8c6; border-radius: 14px 14px 4px 14px; box-shadow: 0 6px 14px -10px #1414165c; }
.tb-share__bubble em { font-style: normal; color: #1f6fb2; text-decoration: underline; }
.tb-share__ticks { font-size: 12px; font-weight: 700; color: #34b7f1; letter-spacing: -.2em; }
.tb-track { display: grid; gap: 8px; width: min(100%, 300px); padding: 0; list-style: none; }
.tb-track li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tb-track b { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.tb-tag { padding: 3px 9px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--paper-2); border-radius: 999px; }
.tb-tag--paid { color: #157a40; background: #ddf3e5; }
.tb-tag--part { color: #9a6200; background: #fbefd9; }
.tb-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(100%, 340px); }
.tb-ledger span { display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tb-ledger i { font-style: normal; font-size: 11px; color: var(--muted); }
.tb-ledger b { font-size: 16px; letter-spacing: -.02em; }
.tb-ledger__net b { color: #157a40; }
.tb-ledger span.tb-ledger__bars { grid-column: 1 / -1; display: flex; align-items: end; gap: 8px; height: 70px; padding: 10px 12px 0; }
.tb-ledger__bars i { flex: 1; height: var(--h); background: color-mix(in srgb, var(--accent) 80%, #fff); border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.bento__tile.is-in .tb-ledger__bars i { transform: none; }
.tb-ledger__bars i:nth-child(2) { transition-delay: .08s; } .tb-ledger__bars i:nth-child(3) { transition-delay: .16s; } .tb-ledger__bars i:nth-child(4) { transition-delay: .24s; } .tb-ledger__bars i:nth-child(5) { transition-delay: .32s; } .tb-ledger__bars i:nth-child(6) { transition-delay: .4s; }
.tb-team { display: grid; gap: 8px; width: min(100%, 240px); padding: 0; list-style: none; }
.tb-team li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tb-team span { display: grid; place-items: center; width: 30px; height: 30px; font-size: 11px; font-weight: 700; color: #fff; background: var(--c); border-radius: 50%; }
.tb-team b { font-size: 13px; font-weight: 500; }
.bento__tile--more { background: var(--ink); color: #fff; border-color: var(--ink); }
.tb-list { display: grid; margin-top: 8px; padding: 0; list-style: none; border-top: 1px solid var(--night-line); }
.tb-list li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--night-line); }
.tb-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
@keyframes sign-draw { to { stroke-dashoffset: 0; } }

.ip-pricing { padding: clamp(96px, 11vw, 160px) 0; background: var(--card); border-block: 1px solid var(--line); scroll-margin-top: 40px; }
.ip-pricing__head { display: grid; gap: 28px; align-items: end; }
.ip-pricing__head .h2 { max-width: 16ch; }
.cycle { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.cycle__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.cycle__btn span { padding: 2px 8px; font-size: 11.5px; font-weight: 600; color: #157a40; background: #ddf3e5; border-radius: 999px; }
.cycle__btn[aria-pressed="true"] { color: #fff; background: var(--ink); }
.cycle__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.plans { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.plan { position: relative; display: grid; align-content: start; gap: 6px; padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.plan--popular { background: #fff; border-color: var(--ink); box-shadow: 0 40px 70px -50px #14141699; }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; }
.plan__name { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.plan__desc { font-size: 14.5px; color: var(--muted); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan__price b { font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); }
.plan__price em { flex-basis: 100%; font-style: normal; font-size: 13.5px; color: #157a40; }
.plan__cta { justify-self: start; margin-top: 20px; }
.plan__features { display: grid; margin-top: 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plan__features li { position: relative; padding: 11px 0 11px 26px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.plan__features li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ip-pricing__note { margin-top: 28px; font-size: 14px; color: var(--muted); }
.ip-pricing__empty { margin-top: 32px; color: var(--muted); }

.ip-faq { padding: clamp(96px, 11vw, 160px) 0; }
.ip-faq__grid { display: grid; gap: 40px; }
.ip-faq__list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.02em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0); background: var(--accent); }
.faq[open] .faq__icon::before { background: var(--accent); }
.faq p { max-width: 62ch; padding-bottom: 24px; color: var(--ink-2); }
.ip-cta .cta__title { max-width: 12ch; }

@media (min-width: 768px) {
    .ip-flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .bento__tile--brand { grid-column: span 4; }
    .bento__tile--share { grid-column: span 2; }
    .bento__tile--track { grid-column: span 2; }
    .bento__tile--ledger { grid-column: span 4; }
    .bento__tile--team { grid-column: span 3; }
    .bento__tile--more { grid-column: span 3; }
    .ip-pricing__head { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 1024px) {
    .ip-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ip-flow__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
    .plan--popular { margin-top: -12px; }
    .ip-faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
    .pr-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pr-next { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 479px) {
    .imock { padding-right: 18px; font-size: 10px; }
    .imock__meta { grid-template-columns: 1fr 1fr; }
    .imock__meta span:last-child { display: none; }
    .imock__status { width: 180px; }
    .imock__share { left: -6px; }
}

/* ----- Invoicing: real product imagery ----- */
.ip-phone { margin: 0; padding: 6px; background: #1b1b1e; border-radius: 30px; box-shadow: inset 0 0 0 1px #ffffff1f, 0 40px 60px -30px #141416a6, 0 12px 24px -16px #14141659; }
.ip-phone img { width: 100%; height: auto; border-radius: 24px; }

/* Hero: the coded invoice, and the customer's copy on a phone. Pointer depth uses `translate`, so it never
   fights the entrance, which uses `transform`. */
.ip-hero__visual { position: relative; --mx: 0; --my: 0; }
.ip-hero__mock { translate: calc(var(--mx) * -6px) calc(var(--my) * -6px); transition: translate .9s var(--ease); }
.ip-hero__phone { position: absolute; left: -3%; bottom: -12%; z-index: 2; width: clamp(108px, 14vw, 184px); translate: calc(var(--mx) * 16px) calc(var(--my) * 14px); transform: rotate(-6deg); transition: translate .9s var(--ease); }
.js .ip-hero__phone { opacity: 0; transform: translateY(80px) rotate(-14deg); transition: opacity .9s var(--ease) .75s, transform 1.4s var(--ease) .75s, translate .9s var(--ease); }
.js .ip-hero__visual.is-in .ip-hero__phone { opacity: 1; transform: rotate(-6deg); }

/* Invoice to receipt. Static by default (phones, reduced motion, no JS); pinned and scroll-driven on desktop. */
.ip-paper { position: relative; color: #fff; background: var(--night); }
.ip-paper .muted { color: var(--night-muted); }
.ip-paper__pin { padding: clamp(88px, 10vw, 140px) 0; }
.ip-paper__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.ip-paper__copy .h2 { max-width: 12ch; }
.ip-paper__stages { display: grid; gap: 4px; margin-top: clamp(32px, 4vw, 56px); counter-reset: stage; }
.ip-stage { position: relative; padding: 18px 0 18px 30px; border-top: 1px solid var(--night-line); transition: opacity .5s var(--ease); }
.ip-stage::before { content: ""; position: absolute; left: 2px; top: 27px; width: 9px; height: 9px; border: 1.5px solid var(--night-muted); border-radius: 50%; transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.ip-stage h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.025em; }
.ip-stage p { max-width: 42ch; margin-top: 6px; font-size: 15px; color: var(--night-muted); }
.ip-paper__stage { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1.04; margin-inline: auto; }
.ip-sheet { position: absolute; width: 64%; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: 0 50px 80px -40px #000000d9, 0 16px 30px -18px #00000080; }
.ip-sheet img { width: 100%; height: auto; }
.ip-sheet--invoice { left: 0; top: 0; transform: rotate(-4deg); }
.ip-sheet--receipt { right: 0; bottom: 0; transform: rotate(3deg); }
.ip-stamp { position: absolute; left: 30%; top: 44%; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; color: var(--ink); background: var(--card); border-radius: 14px; box-shadow: 0 24px 40px -20px #000000b3; }
.ip-stamp__dot { width: 26px; height: 26px; border-radius: 50%; background: #1f9e55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ip-stamp span:last-child { display: grid; line-height: 1.3; }
.ip-stamp b { font-size: 14px; }
.ip-stamp i { font-size: 12.5px; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.ip-paper__rail { display: none; }

.ip-paper.is-pinned { height: 340vh; --a: 0; --r: 0; --s: 0; --p: 0; }
.ip-paper.is-pinned .ip-paper__pin { position: sticky; top: 0; display: grid; align-items: center; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.ip-paper.is-pinned .ip-stage { opacity: .38; }
.ip-paper.is-pinned .ip-stage.is-active { opacity: 1; }
.ip-paper.is-pinned .ip-stage.is-active::before, .ip-paper.is-pinned .ip-stage.is-done::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.ip-paper.is-pinned .ip-paper__stage { width: auto; height: min(76vh, 760px); aspect-ratio: 1000 / 1415; }
.ip-paper.is-pinned .ip-sheet { inset: 0; width: auto; border-radius: 10px; }
.ip-paper.is-pinned .ip-sheet--invoice { transform: translate3d(calc(var(--r) * -16%), calc(var(--r) * -2%), 0) rotate(calc(-1.5deg - var(--r) * 5deg)) scale(calc(1 - var(--r) * .08)); filter: brightness(calc(1 - var(--r) * .45)) blur(calc(var(--r) * 1.5px)); }
.ip-paper.is-pinned .ip-sheet--receipt { clip-path: inset(calc((1 - var(--r)) * 100%) 0 0 0 round 10px); transform: translate3d(calc(var(--r) * 7%), calc((1 - var(--r)) * 10%), 0) rotate(calc(var(--r) * 2deg)); }
.ip-paper.is-pinned .ip-stamp { left: auto; right: -14%; top: 38%; opacity: var(--s); transform: translateY(calc((1 - var(--a)) * 26px)) scale(calc(.9 + var(--a) * .1)); }
.ip-paper.is-pinned .ip-paper__rail { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: block; height: 2px; background: var(--night-line); border-radius: 2px; overflow: hidden; }
.ip-paper.is-pinned .ip-paper__rail span { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p)); transform-origin: left; }

/* Product tour: four real screens, advancing on their own until you pick one */
.ip-tour { padding: clamp(96px, 11vw, 160px) 0; overflow: hidden; }
.ip-tour__head { display: grid; gap: 18px; align-items: end; }
.ip-tour__head .h2 { max-width: 14ch; }
.ip-tour__lede { max-width: 42ch; color: var(--muted); }
.ip-tour__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin-top: clamp(36px, 4vw, 56px); }
.ip-tab { position: relative; display: grid; align-content: start; gap: 4px; padding: 16px 0 18px; text-align: left; border-top: 1px solid var(--line); cursor: pointer; }
.ip-tab__label { font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); transition: color .3s; }
.ip-tab__caption { display: none; max-width: 30ch; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ip-tab:hover .ip-tab__label, .ip-tab[aria-selected="true"] .ip-tab__label { color: var(--ink); }
.ip-tab__meter { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.ip-tab__meter span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ip-tab[aria-selected="true"] .ip-tab__meter span { transform: scaleX(1); }
.js .ip-tour.is-auto .ip-tab[aria-selected="true"] .ip-tab__meter span { animation: tour-meter 6.5s linear both; }
.ip-tour.is-paused .ip-tab__meter span { animation-play-state: paused !important; }
.ip-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ip-tour__stage { position: relative; margin-top: 8px; padding: 0 clamp(18px, 6vw, 90px) clamp(40px, 6vw, 70px) 0; }
.ip-tour__browser { box-shadow: 0 50px 90px -50px #14141699, 0 14px 30px -20px #14141640; }
.ip-tour__screens { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f5f6f8; }
.ip-screen { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.025); filter: blur(8px); transition: opacity .55s var(--ease), transform 1s var(--ease), filter .55s var(--ease); }
.ip-screen.is-active { opacity: 1; transform: none; filter: none; }
.ip-screen img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top left; }
.ip-tour__phone { position: absolute; right: 0; bottom: 0; z-index: 2; width: clamp(96px, 17vw, 230px); transform: rotate(4deg); }
.js .ip-tour__stage .ip-tour__phone { opacity: 0; transform: translateY(70px) rotate(10deg); transition: opacity .9s var(--ease) .35s, transform 1.3s var(--ease) .35s; }
.js .ip-tour__stage.is-in .ip-tour__phone { opacity: 1; transform: rotate(4deg); }
@keyframes tour-meter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 768px) {
    .ip-tab__caption { display: block; }
    .ip-tour__head { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 1024px) {
    .ip-paper__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .ip-hero__phone { left: -7%; bottom: -4%; }
}
@media (max-width: 639px) {
    .ip-hero__phone { display: none; }
    .ip-tab__label { font-size: 14px; }
    .ip-tour__tabs { gap: 0 12px; }
    .ip-stamp { left: 18%; }
}
@media (prefers-reduced-motion: reduce) {
    .js .ip-hero__phone, .js .ip-tour__stage .ip-tour__phone { opacity: 1; transition: none; }
    .js .ip-hero__visual .ip-hero__phone { transform: rotate(-6deg); }
    .js .ip-tour__stage .ip-tour__phone { transform: rotate(4deg); }
    .ip-screen { transition: opacity .3s; transform: none; filter: none; }
}

/* Phones read as app devices: a dark bezel with a camera island */
.ip-phone::before { content: ""; position: absolute; left: 50%; top: 13px; z-index: 1; width: 26%; height: 4.2%; max-height: 22px; background: #1b1b1e; border-radius: 999px; transform: translateX(-50%); }

/* Mobile app, coming soon: three real phone screens fan out as the section arrives, then drift */
.ip-app { padding: clamp(96px, 11vw, 160px) 0; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 75% 55%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), var(--paper); border-top: 1px solid var(--line); }
.ip-app__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
.ip-app__soon { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 12px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; }
.ip-app__pulse { position: relative; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.ip-app__pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); animation: app-pulse 2.2s var(--ease) infinite; }
.ip-app__copy .h2 { max-width: 13ch; }
.ip-app__lede { max-width: 48ch; margin-top: 22px; font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); }
.ip-app__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ip-store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; cursor: default; }
.ip-store svg { width: 26px; height: 26px; color: var(--ink-2); }
.ip-store span { display: grid; line-height: 1.2; }
.ip-store i { font-size: 11.5px; font-style: normal; color: var(--muted); }
.ip-store b { font-size: 15px; letter-spacing: -.01em; }
.ip-store em { margin-left: 6px; padding: 3px 8px; font-size: 11px; font-style: normal; font-weight: 600; color: var(--muted); background: var(--paper-2); border-radius: 999px; }
.ip-app__cta { margin-top: 28px; }
.ip-app__phones { position: relative; height: clamp(420px, 52vw, 620px); }
.ip-app__phone { position: absolute; top: 50%; left: 50%; width: clamp(150px, 19vw, 250px); }
.ip-app__phone--center { z-index: 2; transform: translate(-50%, -50%); }
.ip-app__phone--left { transform: translate(-112%, -44%) rotate(-9deg); }
.ip-app__phone--right { transform: translate(12%, -44%) rotate(9deg); }
.ip-app__phone img { animation: app-drift 7s ease-in-out infinite; }
.ip-app__phone--left img { animation-delay: -2.3s; }
.ip-app__phone--right img { animation-delay: -4.6s; }
.js .ip-app__phones.reveal { opacity: 1; transform: none; }
.js .ip-app__phones .ip-app__phone { transition: transform 1.4s var(--ease) .15s, opacity .8s var(--ease) .15s; }
.js .ip-app__phones:not(.is-in) .ip-app__phone { opacity: 0; transform: translate(-50%, -30%) rotate(0deg) scale(.92); }
.js .ip-app__phones:not(.is-in) .ip-app__phone--center { opacity: 1; transform: translate(-50%, -40%); }
@keyframes app-pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes app-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (min-width: 1024px) {
    .ip-app__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 639px) {
    .ip-app__phones { height: 400px; }
    .ip-app__phone { width: 150px; }
    .ip-app__phone--left { transform: translate(-98%, -44%) rotate(-9deg); }
    .ip-app__phone--right { transform: translate(-2%, -44%) rotate(9deg); }
    .ip-phone::before { top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .ip-app__pulse::after, .ip-app__phone img { animation: none; }
    .js .ip-app__phones .ip-app__phone { transition: none; }
}

/* Client logo band: every logo knocked out to white on the dark band, evenly spaced */
.band--logos { padding: 30px 0; }
.band--logos li { gap: 0; padding-right: clamp(48px, 6vw, 88px); }
.band--logos li::after { content: none; }
.band--logos img { display: block; width: auto; height: clamp(28px, 3vw, 40px); max-width: 160px; object-fit: contain; filter: brightness(0) invert(1); opacity: .82; transition: opacity .3s; }
.band--logos li:hover img { opacity: 1; }

/* ======================= Legal pages (/privacy) ======================= */
.footer__legal { margin-left: 18px; color: #d6d6d4; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffffff40; transition: text-decoration-color .3s; }
.footer__legal:hover { text-decoration-color: currentColor; }
.legal-hero { padding: clamp(140px, 15vw, 200px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.legal-hero__title { font-size: clamp(42px, 6vw, 88px); font-weight: 600; line-height: .96; letter-spacing: -.05em; }
.legal-hero__lede { max-width: 54ch; margin-top: 22px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-2); }
.legal { padding: clamp(48px, 6vw, 88px) 0 clamp(100px, 11vw, 160px); }
.legal__grid { display: grid; gap: 40px; }
.legal-toc { display: none; }
.legal__body { display: grid; gap: clamp(44px, 5vw, 64px); max-width: 72ch; }
.legal__body section { display: grid; gap: 16px; scroll-margin-top: 110px; }
.legal__body h2 { display: flex; gap: 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.legal__body h2 span { flex: none; min-width: 1.6em; font-variant-numeric: tabular-nums; color: var(--accent); }
.legal__body p, .legal__body li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal__body strong { font-weight: 600; color: var(--ink); }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { display: grid; gap: 10px; margin: 0; padding-left: 22px; }
.legal__list li { padding-left: 6px; }
.legal__list li::marker { color: var(--accent); }
.legal__list--defs { gap: 0; padding: 0; list-style: none; counter-reset: def; border-top: 1px solid var(--line); }
.legal__list--defs li { position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); counter-increment: def; }
.legal__list--defs li::before { content: counter(def, lower-roman) "."; position: absolute; left: 0; top: 14px; width: 34px; font-family: var(--mono); font-size: 13px; line-height: 1.95; color: var(--accent); }
::selection { color: #fff; background: var(--accent); }
@media (min-width: 1024px) {
    .legal__grid { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
    .legal-toc { position: sticky; top: 120px; display: grid; gap: 14px; }
    .legal-toc ol { display: grid; gap: 1px; margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--line); }
    .legal-toc a { position: relative; display: block; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .25s; }
    .legal-toc a::before { content: ""; position: absolute; left: -17px; top: 6px; bottom: 6px; width: 2px; background: var(--accent); border-radius: 2px; transform: scaleY(0); transition: transform .4s var(--ease); }
    .legal-toc a:hover { color: var(--ink); }
    .legal-toc a.is-active { color: var(--ink); }
    .legal-toc a.is-active::before { transform: scaleY(1); }
}

/* Footer social row: round outlined marks that fill white on hover */
.footer .footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.footer .footer__social a { display: grid; place-items: center; width: 44px; height: 44px; color: #d6d6d4; border: 1px solid #ffffff2e; border-radius: 50%; transition: color .3s, background-color .3s, border-color .3s, transform .45s var(--ease); }
.footer .footer__social a:hover { color: var(--night); background: #fff; border-color: #fff; transform: translateY(-2px); }
.footer .footer__social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.footer__social svg { width: 19px; height: 19px; }
.nowrap { white-space: nowrap; }
