/* Vellionix · inner pages (/services/…, /reviews/). Static, fast pages that search engines and AI assistants can
   index. They share the home page's header, footer, type and colour, show the real demo sites as their pictures,
   and hand off to the live demos on the home page. Behaviour (menu, theme, tabs, reveals) is in pages.js. */
:root {
  --bg: #ffffff; --bg-2: #f1efeb; --ink: #141414; --ink-2: #48474a; --muted: #6b6965;
  --line: rgba(20, 20, 20, 0.1); --line-2: rgba(20, 20, 20, 0.2);
  --btn: #141414; --btn-fg: #fbfaf8; --card: #f1efeb; --accent: #10a37f;
  --chrome: #e9e8e5; --chrome-ink: #6c6a66; --chrome-url: #fbfaf8;
  --hd-bg: rgba(255, 255, 255, 0.86); --hd-ind: rgba(0, 0, 0, 0.06);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1344px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --bg-2: #151515; --ink: #f2f0ec; --ink-2: #c8c5bf; --muted: #8f8c87;
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.2);
  --btn: #f2f0ec; --btn-fg: #111111; --card: #171717;
  --chrome: #232323; --chrome-ink: #9b9893; --chrome-url: #161616;
  --hd-bg: rgba(13, 13, 13, 0.86); --hd-ind: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
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; margin: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #3d6df2; outline-offset: 3px; }
/* One heading typeface: emphasis keeps the surrounding font and steps back in colour. */
em { font-style: normal; }
h1 em, h2 em, h3 em { color: var(--muted); }
.skip-link { position: fixed; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--btn); color: var(--btn-fg); transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ================================================================ header (the home page's bar) */
.pg-top { position: sticky; top: 0; z-index: 60; }
.pg-hd {
  display: flex; align-items: center; gap: 16px; height: 76px; padding: 0 var(--gutter); background: var(--bg); box-shadow: inset 0 -1px 0 var(--line);
  transition: height 0.45s var(--ease), background-color 0.3s;
}
.pg-top.is-solid .pg-hd { height: 64px; background: var(--hd-bg); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 19px; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; overflow: visible; fill: currentColor; }
.brand-mark .bm-r { fill-opacity: 0.42; transform-box: view-box; transform-origin: 15.8px 28.6px; transition: transform 0.7s var(--ease); }
.brand:hover .brand-mark .bm-r { transform: rotate(-24deg); }
.pg-nav { display: flex; gap: 4px; margin: 0 auto 0 clamp(24px, 3.4vw, 56px); }
.pg-nav > a, .pg-dd-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pg-nav > a::after, .pg-dd-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
.pg-nav > a:hover::after, .pg-nav > a[aria-current]::after, .pg-dd-btn:hover::after, .pg-dd-btn[aria-expanded="true"]::after, .pg-dd-btn.on::after { transform: scaleX(1); }
.pg-dd-btn svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.pg-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pg-dd-panel {
  position: absolute; left: 0; right: 0; top: 100%; padding: 14px var(--gutter) 18px; border-radius: 0 0 24px 24px; background: var(--bg);
  box-shadow: inset 0 1px 0 var(--line), 0 1px 0 var(--line), 0 40px 60px -40px rgba(0, 0, 0, 0.35);
  animation: pg-drop 0.4s var(--ease);
}
@keyframes pg-drop { from { opacity: 0; transform: translateY(-10px); } }
.pg-dd-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pg-dd-item { position: relative; display: grid; align-content: start; gap: 12px; padding: 8px 8px 14px; border-radius: 18px; transition: background-color 0.2s; }
.pg-dd-item:hover, .pg-dd-item[aria-current="page"] { background: var(--hd-ind); }
.pg-dd-item img { width: 100%; height: 104px; object-fit: cover; object-position: 50% 0; border-radius: 14px; background: var(--bg-2); }
.pg-dd-item b { display: block; padding: 0 6px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.pg-dd-item small { display: block; padding: 0 6px; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.pg-dd-more { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 18px; background: var(--hd-ind); }
.pg-dd-more p { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; }
.pg-dd-more a { font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.pg-dd-more a.pg-dd-cta { align-self: flex-start; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--btn); color: var(--btn-fg); font-weight: 600; text-decoration: none; }
.pg-actions { display: flex; align-items: center; gap: 6px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background-color 0.25s; }
.theme-toggle:hover { background: var(--hd-ind); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-moon, :root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.h-cta { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 6px 0 22px; border-radius: 999px; background: var(--btn); color: var(--btn-fg); font-size: 15px; font-weight: 600; white-space: nowrap; transition: height 0.45s var(--ease); }
.h-cta i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-fg); color: var(--btn); transition: transform 0.45s var(--ease); }
.h-cta i svg { width: 15px; height: 15px; }
.h-cta:hover i { transform: rotate(-45deg); }
.pg-top.is-solid .h-cta { height: 44px; }
.pg-top.is-solid .h-cta i { width: 32px; height: 32px; }
.cta-s { display: none; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.pg-menu { position: fixed; inset: 0; z-index: 59; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); animation: pg-menu 0.5s var(--ease); }
@keyframes pg-menu { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.pg-menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 84px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
.pg-menu-svcs { display: grid; gap: 8px; margin-top: 10px; }
.pg-menu-svcs a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 20px; background: var(--bg-2); }
.pg-menu-svcs a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pg-menu-svcs img { width: 56px; height: 56px; object-fit: cover; object-position: 30% 20%; border-radius: 14px; }
.pg-menu-svcs b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; line-height: 1.15; }
.pg-menu-svcs small { font-size: 13px; color: var(--muted); }
.pg-menu-svcs i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--btn-fg); }
.pg-menu-svcs i svg { width: 15px; height: 15px; }
.pg-menu-links { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.pg-menu-links a { display: flex; align-items: center; height: 60px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; }
.pg-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.pg-menu-foot a { font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
@media (max-width: 1180px) { .pg-dd-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pg-nav { display: none; }
  .pg-actions { margin-left: auto; }
  .pg-actions .theme-toggle { display: none; }
  .menu-btn { display: block; }
  .pg-hd, .pg-top.is-solid .pg-hd { height: 64px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .h-cta, .pg-top.is-solid .h-cta { height: 42px; padding: 0 5px 0 16px; gap: 9px; font-size: 14.5px; }
  .h-cta i, .pg-top.is-solid .h-cta i { width: 32px; height: 32px; }
  .cta-l { display: none; }
  .cta-s { display: inline; }
}
@media (max-width: 380px) { .brand-t { display: none; } }

/* ================================================================ buttons */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; transition: transform 0.35s var(--ease), box-shadow 0.3s, background-color 0.3s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-ink { background: var(--btn); color: var(--btn-fg); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-wa { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-wa svg { color: #1faa59; }
.btn-wa:hover { box-shadow: inset 0 0 0 1px #1faa59; }
.btn-go { padding: 0 6px 0 24px; gap: 14px; }
.btn-go i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-fg); color: var(--btn); transition: transform 0.45s var(--ease); }
.btn-go i svg { width: 16px; height: 16px; }
.btn-go:hover i { transform: rotate(-45deg); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: text-decoration-color 0.25s; }
.tlink:hover { text-decoration-color: var(--ink); }
.tlink svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ================================================================ hero */
.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; padding-top: 26px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); }
.pg-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 28px clamp(32px, 6vw, 110px); padding: clamp(26px, 4.6vh, 52px) 0 clamp(30px, 5vh, 56px); }
.pg-hero h1, .sp-hero h1 { margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(42px, 5.6vw, 90px); line-height: 0.94; letter-spacing: -0.048em; text-wrap: balance; }
.pg-hero h1 em, .sp-hero h1 em { display: block; }
.pg-hero-side { padding-top: 40px; }
.lead { max-width: 54ch; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); }
.pg-hero .btns { margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
/* one-column heroes (services index, reviews) */
.sp-hero { padding: clamp(26px, 4.6vh, 52px) 0 clamp(26px, 4vh, 44px); }
.sp-hero .lead { margin-top: 22px; }
.sp-hero .btns { margin-top: 26px; }

/* the stage: the real demo sites, in a browser window with a phone beside it */
.pg-stage { position: relative; padding: clamp(18px, 3.4vw, 52px) clamp(14px, 3.4vw, 52px) 0; border-radius: clamp(22px, 2.6vw, 36px); background: var(--bg-2); overflow: hidden; isolation: isolate; }
.pg-shots { display: grid; }
.pg-shot { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.985); transition: opacity 0.6s ease, transform 0.9s var(--ease), visibility 0s 0.6s; }
.pg-shot.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease, transform 0.9s var(--ease); }
.pg-win { width: min(100%, 1120px); margin: 0 auto; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--chrome); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 50px 100px -40px rgba(0, 0, 0, 0.45), 0 20px 40px -24px rgba(0, 0, 0, 0.3); }
.has-phone .pg-win { width: min(86%, 1040px); margin: 0 auto 0 0; }
.pg-win-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; color: var(--chrome-ink); font-size: 12px; }
.pg-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.pg-win-bar i:nth-child(2) { background: #febc2e; }
.pg-win-bar i:nth-child(3) { background: #28c840; }
.pg-win-bar span { flex: 0 1 380px; min-width: 0; height: 24px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--chrome-url); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-win-bar::after { content: ""; flex: 0 0 44px; }
.pg-win img { width: 100%; aspect-ratio: var(--ar, 16 / 10); object-fit: cover; object-position: 50% 0; }
.pg-ph { position: absolute; z-index: 4; right: 0; bottom: clamp(84px, 8vw, 120px); width: 19.5%; min-width: 108px; border-radius: clamp(16px, 2.2vw, 34px); border: clamp(4px, 0.55vw, 8px) solid #131313; background: #131313; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.pg-ph img { width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; border-radius: clamp(11px, 1.6vw, 26px); }
.pg-stage-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 60px clamp(14px, 2.4vw, 28px) clamp(14px, 2vw, 24px); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22)); pointer-events: none; }
.pg-stage-foot > * { pointer-events: auto; }
.pg-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pg-tabs::-webkit-scrollbar { display: none; }
.pg-tab { position: relative; flex: none; height: 36px; padding: 0 15px; border-radius: 99px; color: #48474a; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; transition: color 0.25s, background-color 0.25s; }
.pg-tab small { margin-left: 7px; font-weight: 500; font-size: 12.5px; opacity: 0.62; }
.pg-tab:hover { color: #141414; }
.pg-tab.on { background: #141414; color: #fff; }
.pg-tab.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, 0.55); transform-origin: 0 50%; transform: scaleX(0); }
.pg-stage.is-auto .pg-tab.on::after { animation: pg-fill var(--dwell, 4.6s) linear forwards; }
@keyframes pg-fill { to { transform: scaleX(1); } }
.pg-live { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 5px 0 18px; border-radius: 99px; background: #141414; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.pg-live i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #141414; transition: transform 0.45s var(--ease); }
.pg-live i svg { width: 14px; height: 14px; }
.pg-live:hover i { transform: rotate(-45deg); }

/* facts under the hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 4vh, 44px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 28px) clamp(18px, 2.4vw, 30px) 0; }
.facts > div + div { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.1vw, 46px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.facts span { display: block; margin-top: 10px; max-width: 24ch; font-size: 14.5px; line-height: 1.4; color: var(--muted); }

/* ================================================================ sections */
.sec { padding: clamp(64px, 11vh, 132px) 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 56px; margin-bottom: clamp(28px, 4.4vh, 52px); }
.sec-head h2, .pg-split h2 { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.3vw, 66px); line-height: 0.98; letter-spacing: -0.044em; text-wrap: balance; }
.sec-head h2 em, .pg-split h2 em, .pg-why h2 em { display: block; }
.sec-head > p { max-width: 40ch; padding-bottom: 6px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.sec-head > p a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
/* a heading that stays put on the left while its list runs down the right */
.pg-split { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 28px clamp(32px, 7vw, 120px); align-items: start; }
.pg-split-h { position: sticky; top: 104px; }
.pg-split-h > p:not(.eyebrow) { margin-top: 20px; max-width: 38ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.pg-split-h .tlink { margin-top: 24px; }

/* what you get: a numbered list, one line per deliverable */
.pg-list { counter-reset: n; border-top: 1px solid var(--line-2); }
.pg-list li { counter-increment: n; position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 0; padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease); }
.pg-list li::before { content: counter(n, decimal-leading-zero); grid-row: 1 / 3; padding-top: 7px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pg-list h3 { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2vw, 29px); line-height: 1.12; letter-spacing: -0.03em; }
.pg-list p { grid-column: 2; max-width: 54ch; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
@media (hover: hover) { .pg-list li:hover { padding-left: 14px; } }

/* a strip of real screens that drifts sideways */
.pg-strip { margin-top: clamp(64px, 11vh, 132px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.pg-strip-track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; animation: pg-drift var(--dur, 70s) linear infinite; }
.pg-strip:hover .pg-strip-track { animation-play-state: paused; }
@keyframes pg-drift { to { transform: translateX(calc(-50% - clamp(6px, 0.8vw, 11px))); } }
.pg-strip figure { flex: none; width: clamp(280px, 40vw, 600px); }
.pg-strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: clamp(12px, 1.4vw, 20px); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
.pg-strip figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.pg-strip figcaption b { font-weight: 600; color: var(--ink); }
.pg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(64px, 11vh, 132px); }
.pg-duo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; border-radius: clamp(12px, 1.4vw, 20px); box-shadow: 0 0 0 1px var(--line); background: var(--bg-2); }
.pg-duo figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.pg-duo figcaption b { font-weight: 600; color: var(--ink); }

/* why: a statement on paper */
.pg-why { margin-top: clamp(64px, 11vh, 132px); padding: clamp(36px, 6vw, 96px) clamp(22px, 5vw, 84px); border-radius: clamp(22px, 2.6vw, 36px); background: var(--bg-2); }
.pg-why h2 { margin-top: 14px; max-width: 22ch; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.8vw, 76px); line-height: 0.97; letter-spacing: -0.046em; text-wrap: balance; }
.prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4.6vh, 56px); padding-top: clamp(22px, 3vh, 34px); border-top: 1px solid var(--line-2); }
.prose p { font-size: clamp(16.5px, 1.2vw, 18.5px); line-height: 1.62; color: var(--ink-2); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }

/* how it works: four steps on a rail */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 28px); border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 26px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); transition: background-color 0.4s; }
.steps li.in::before, .steps li:hover::before { background: var(--ink); }
.steps .t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps .t span:last-child { padding: 5px 11px; border-radius: 99px; background: var(--bg-2); font-family: var(--body); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.steps h3 { margin-top: clamp(22px, 4vh, 44px); font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.04em; }
.steps p { margin-top: 12px; max-width: 30ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* questions */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: clamp(18px, 2.2vw, 26px) 56px clamp(18px, 2.2vw, 26px) 0; font-family: var(--display); font-weight: 600; font-size: clamp(18.5px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -0.025em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 13px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--ink-2); }
.faq details p { max-width: 62ch; padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }

/* the other services */
.svc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.svc-links.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svc-links a { display: block; height: 100%; padding: 10px 10px 18px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.35s, transform 0.6s var(--ease); }
.svc-links a:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 34px 60px -44px rgba(0, 0, 0, 0.4); transform: translateY(-3px); }
.svc-links .th { display: block; overflow: hidden; border-radius: 16px; background: var(--bg-2); }
.svc-links .th img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 0 0; transition: transform 1.2s var(--ease); }
.svc-links a:hover .th img { transform: scale(1.04); }
.svc-links b { display: block; margin: 16px 8px 0; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.1; letter-spacing: -0.03em; }
.svc-links small { display: block; margin: 6px 8px 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* the closing call to action */
.band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; margin-top: clamp(64px, 11vh, 132px); padding: clamp(32px, 5.4vw, 84px); border-radius: clamp(22px, 2.6vw, 36px); background: #141414; color: #f4f3ef; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; right: -6%; top: -34%; width: 46%; aspect-ratio: 1; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' fill-opacity='.05' d='M29.5 4.5h-7.2L13.9 28.6h3.8z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.09' d='M2.5 4.5h7.2l7.8 20.6-3.6 3.9z'/%3E%3C/svg%3E"); pointer-events: none; }
.band h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 80px); line-height: 0.96; letter-spacing: -0.046em; text-wrap: balance; }
.band h2 em { display: block; color: #8f8c87; }
.band p { margin-top: 20px; max-width: 46ch; font-size: 17.5px; line-height: 1.55; color: #c8c5bf; }
.band .band-nap { margin-top: 12px; font-size: 14.5px; color: #8f8c87; }
.band .band-nap a { color: #f4f3ef; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.band .btns { flex-direction: column; align-items: stretch; min-width: 250px; }
.band .btn-ink { background: #f4f3ef; color: #141414; }
.band .btn-line { color: #f4f3ef; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.band .btn-line:hover { box-shadow: inset 0 0 0 1px #fff; }
:root[data-theme="dark"] .band { background: #191919; box-shadow: inset 0 0 0 1px var(--line); }

/* services index: one wide row per service */
.pg-rows { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.pg-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; gap: 0; border-radius: clamp(22px, 2.4vw, 32px); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.pg-row:nth-child(even) .pg-row-m { order: 2; }
.pg-row-m { position: relative; display: block; min-height: 300px; overflow: hidden; background: var(--bg-2); }
.pg-row-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 1.4s var(--ease); }
.pg-row:hover .pg-row-m img { transform: scale(1.03); }
.pg-row-t { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.4vw, 52px); }
.pg-row-t .n { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pg-row-t h3 { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.pg-row-t h3 a { text-decoration: none; }
.pg-row-t p { margin-top: 14px; max-width: 50ch; font-size: 16.5px; line-height: 1.58; color: var(--ink-2); }
.pg-row-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.pg-row-a .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }

/* ================================================================ footer (the home page's) */
.pg-foot { margin-top: clamp(64px, 11vh, 132px); padding: clamp(40px, 7vh, 80px) var(--gutter) 22px; border-top: 1px solid var(--line); overflow: hidden; }
.ft-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); max-width: 1344px; margin: 0 auto; }
.ft-brand .brand { font-size: 14.5px; gap: 10px; letter-spacing: 0.07em; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.ft-brand .brand-mark { width: 24px; height: 24px; }
.ft-brand p { margin-top: 18px; max-width: 30ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ft-col { display: grid; align-content: start; gap: 2px; }
.ft-col .eyebrow { margin-bottom: 10px; }
.ft-col a { padding: 6px 0; font-size: 15px; color: var(--ink-2); transition: color 0.2s; }
.ft-col a:hover { color: var(--ink); }
.pg-word { display: flex; justify-content: space-between; max-width: 1344px; margin: clamp(30px, 6vh, 70px) auto 0; overflow: hidden; container-type: inline-size; font-family: var(--display); font-weight: 600; white-space: nowrap; user-select: none; -webkit-user-select: none; }
.pg-word span { display: block; padding: 0.03em 0 0.04em; font-size: 28cqw; line-height: 0.8; letter-spacing: -0.055em; }
.pg-word span:last-child { letter-spacing: 0; }
.ft-bot { display: flex; justify-content: space-between; gap: 12px 24px; max-width: 1344px; margin: clamp(22px, 4vh, 44px) auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ft-bot a:hover { color: var(--ink); }

/* ================================================================ reveals */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
  .js [data-rv].in { opacity: 1; transform: none; }
  .js .pg-word span { transform: translateY(105%); transition: transform 1.1s var(--ease) calc(var(--i) * 45ms); }
  .js .pg-word.in span { transform: none; }
  .rise { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  .rise > span { display: block; animation: pg-rise 1.25s var(--ease) var(--d, 0s) both; }
  @keyframes pg-rise { from { transform: translateY(112%); } }
}
@media (prefers-reduced-motion: reduce) {
  .pg-strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ================================================================ smaller screens */
@media (max-width: 1040px) {
  .pg-hero { grid-template-columns: minmax(0, 1fr); }
  .pg-hero-side { padding-top: 0; }
  .pg-split { grid-template-columns: minmax(0, 1fr); }
  .pg-split-h { position: static; }
  .svc-links, .svc-links.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band .btns { flex-direction: row; min-width: 0; }
  .ft-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
  .pg-row, .pg-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .pg-row:nth-child(even) .pg-row-m { order: 0; }
  .pg-row-m { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .prose { grid-template-columns: minmax(0, 1fr); }
  .pg-hero .btns .btn, .sp-hero .btns .btn { flex: 1 1 0; padding: 0 14px; }
  .pg-hero .btns .btn:first-child, .sp-hero .btns .btn:first-child { flex: 1 1 100%; }
  .pg-stage { padding: 14px 12px 0; }
  .has-phone .pg-win { width: 100%; }
  .pg-ph { width: 25%; min-width: 0; right: 3%; bottom: -14px; }
  .pg-win-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .pg-win-bar i { width: 7px; height: 7px; }
  .pg-win-bar span { height: 17px; font-size: 9.5px; }
  .pg-win-bar::after { flex-basis: 26px; }
  .pg-stage-foot { position: static; padding: 14px 0 14px; background: none; flex-direction: column; align-items: stretch; }
  .pg-tabs { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
  .pg-live { justify-content: space-between; }
  .pg-duo { grid-template-columns: minmax(0, 1fr); }
  .pg-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .band .btns { flex-direction: column; }
  .faq summary { padding-right: 44px; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 560px) {
  .svc-links, .svc-links.five { grid-template-columns: minmax(0, 1fr); }
  .svc-links a { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 4px 6px; padding: 8px; border-radius: 20px; }
  .svc-links .th { grid-row: 1 / 3; border-radius: 14px; }
  .svc-links .th img { aspect-ratio: 1; }
  .svc-links b { margin: 0 8px; align-self: end; }
  .svc-links small { margin: 0 8px; align-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-top: 0; }
  .steps li, .steps li:nth-child(n+3) { padding: 24px 0 28px; border-top: 1px solid var(--line-2); }
  .steps h3 { margin-top: 16px; }
  .ft-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-bot { flex-direction: column; }
}
