/* Wevision — layout and tokens follow the Pane agency template (light + dark, 1440 / 810 / 390). */
:root {
  --bg: #f8f7f4;
  --surface: #f1efea;
  --card: #ffffff;
  --ink: #17171a;
  --text: #46444c;
  --muted: #6c6a73;
  --line: #e4e1da;
  --line-2: #cdc9c0;
  --btn: #17171a;
  --btn-ink: #f8f7f4;
  --bar: #141416;
  --accent: #3346d3;
  --accent-soft: #e6e9fb;
  --accent-ink: #22264a;
  --ok: #1f8a5b;
  --shadow: 0 24px 48px -24px rgba(23, 23, 26, 0.18), 0 2px 6px rgba(23, 23, 26, 0.04);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1300px;
  --gut: 70px;
  --r-card: 20px;
  --r-media: 14px;
  --r-btn: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111113; --surface: #18181b; --card: #1e1e22; --ink: #f2f1ee; --text: #c8c6ce;
  --muted: #9c9aa4; --line: #2a2a2f; --line-2: #3d3d44; --btn: #f2f1ee; --btn-ink: #111113;
  --bar: #0b0b0d; --accent: #8e9cff; --accent-soft: #22264a; --accent-ink: #e6e9fb; --ok: #5cd39a;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.2);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  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; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--bg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(760px + var(--gut) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.serif, .h-display, .h-1, .h-2, .h-3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-optical-sizing: auto; }
.h-display { font-size: 72px; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h-1 { font-size: 64px; line-height: 1.04; letter-spacing: -0.034em; text-wrap: balance; }
.h-2 { font-size: 52px; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.h-3 { font-size: 38px; line-height: 1.12; letter-spacing: -0.025em; }
.h-4 { font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); font-weight: 400; }
.t-title { font: 500 20px/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.t-lead { font-size: 19px; line-height: 1.5; letter-spacing: -0.005em; color: var(--text); }
.t-body { font-size: 16px; line-height: 1.6; color: var(--text); }
.t-small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.t-xs { font-size: 13px; line-height: 1.4; color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r-btn);
  font: 500 15px/1 var(--sans); white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-dark:hover { background: color-mix(in srgb, var(--btn) 84%, var(--accent)); }
.btn-light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 8px;
  font: 500 15px/1.2 var(--sans); color: var(--ink);
  border-bottom: 1px solid var(--line-2); transition: border-color .2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Announcement bar */
.announce { background: var(--bar); color: #f8f7f4; font: 500 14px/1.3 var(--sans); position: relative; z-index: 60; }
.announce .wrap { display: flex; align-items: center; justify-content: center; height: 42px; }
.announce a { display: inline-flex; align-items: center; gap: 10px; }
.announce a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.announce a:hover svg { transform: translateX(3px); }
.announce .tag { background: #f8f7f4; color: #17171a; font-size: 12px; padding: 2px 7px; border-radius: 5px; }
.announce .close { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; color: #f8f7f4; }
.announce .close svg { width: 14px; height: 14px; }
.announce[hidden] { display: none; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 75px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: var(--surface); flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font: 400 28px/1 var(--serif); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; font: 500 15px/1 var(--sans); color: var(--ink); transition: background-color .2s; }
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--surface); }
.nav-link svg { width: 14px; height: 14px; color: var(--muted); transition: transform .25s var(--ease); }
.nav-item:hover > .nav-link svg, .nav-item.open > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: 8px;
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; transition: background-color .2s; }
.dropdown a:hover { background: var(--surface); }
.dropdown .dd-title { display: block; font: 500 15px/1.3 var(--sans); color: var(--ink); }
.dropdown .dd-sub { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.dropdown.cols { min-width: 420px; display: grid; grid-template-columns: 1fr 1fr; }
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); background: var(--card); transition: box-shadow .2s; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.mobile-menu .mm-body { overflow-y: auto; padding: 12px 20px 32px; flex: 1; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 400 26px/1.1 var(--serif); color: var(--ink); cursor: pointer; letter-spacing: -0.02em; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary svg { width: 18px; height: 18px; transition: transform .25s var(--ease); color: var(--muted); }
.mm-group[open] summary svg { transform: rotate(45deg); }
.mm-group .mm-links { padding: 0 0 16px; display: grid; gap: 4px; }
.mm-group .mm-links a { padding: 8px 0; font: 500 16px/1.3 var(--sans); color: var(--text); }
.mm-single { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 26px/1.1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* Sections */
.section { padding: 160px 0; }
.section-sm { padding: 110px 0; }
.section.tight-top { padding-top: 0; }
.section.alt { background: var(--surface); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 64px; }
.sec-head.stack { display: block; }
.sec-head .h-2 { max-width: 720px; }

/* Hero */
.hero { padding: 120px 0 0; text-align: center; }
.hero .h-display { max-width: 900px; margin: 0 auto; }
.hero .t-lead { max-width: 580px; margin: 32px auto 0; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; font-size: 15px; color: var(--text); }
.hero-proof .sep { width: 1px; height: 18px; background: var(--line-2); }
.avatars { display: flex; }
.avatars > * { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; overflow: hidden; background: var(--surface); flex: none; }
.avatars > *:first-child { margin-left: 0; }
.avatars img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.initials { display: grid; place-items: center; font: 500 11px/1 var(--sans); color: var(--ink); }
.blur-word { display: inline-block; }
.js .blur-in .blur-word { opacity: 0; filter: blur(12px); transform: translateY(8px); }
.blur-in.go .blur-word { opacity: 1; filter: blur(0); transform: none; transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }

.hero-media { margin: 96px auto 0; max-width: 1270px; position: relative; perspective: 1600px; }
.hero-media .frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1270 / 580; transform-origin: 50% 100%; }
.hero-media .frame > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .screen { position: absolute; left: 13.5%; right: 13.5%; top: 11%; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); background: #fff; padding: 8px 8px 0; }
.hero-media .screen img { width: 100%; border-radius: 8px 8px 0 0; }
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 4px; z-index: 3; pointer-events: none; }
.cursor svg { width: 18px; height: 18px; flex: none; }
.cursor span { margin-top: 14px; padding: 4px 9px; border-radius: 6px; font: 500 13px/1.2 var(--sans); color: #fff; white-space: nowrap; }
.cursor.a { left: 15%; bottom: 14%; color: #d24a1c; } .cursor.a span { background: #d24a1c; }
.cursor.b { right: 15%; top: 36%; color: #3346d3; } .cursor.b span { background: #3346d3; }

/* Logo marquee */
.marquee { overflow: hidden; padding: 40px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 30px; width: auto; opacity: .8; }
:root[data-theme="dark"] .marquee img { filter: brightness(1.6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Media tile: a field of colour with a real screen on it */
.tile { position: relative; overflow: hidden; border-radius: var(--r-media); background: #121214; isolation: isolate; }
.tile > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.tile > .bg.composite { inset: -5%; width: 110%; height: 110%; }
.tile:hover > .bg { transform: scale(1.04); }
.tile .shot { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0,0,0,.6); background: #fff; }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile .shot.framed { padding: 6px; background: rgba(255,255,255,.9); }
.tile .shot.framed img { border-radius: 6px; }
.tile .phone { position: absolute; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.tile .phone img { width: 100%; height: auto; }
.tile .free { position: absolute; }
.tile .free img { width: 100%; height: auto; }

/* Services trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trio .tile { aspect-ratio: 417 / 360; }
.trio-item h3 { margin-top: 32px; }
.trio-item p { margin-top: 10px; max-width: 360px; }

/* Process rows */
.process { display: grid; gap: 28px; }
.process-row { display: grid; grid-template-columns: 792fr 496fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.process-row .tile { aspect-ratio: 792 / 520; }
.process-row .copy { padding: 0 36px 0 48px; display: flex; flex-direction: column; justify-content: center; }
.process-row .copy p { margin-top: 20px; max-width: 400px; }
.process-row .copy .link-arrow { margin-top: 44px; align-self: flex-start; }

/* Product tabs */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.tab { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border-radius: 10px; font: 500 16px/1 var(--sans); color: var(--muted); transition: color .2s, background-color .25s; }
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.tab-panels { margin-top: 18px; }
.tab-panel { display: grid; grid-template-columns: 460fr 828fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.tab-panel[hidden] { display: none; }
.tab-panel.show { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.tab-panel .copy { padding: 48px 28px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.tab-panel .copy .h-4 { margin-top: 10px; }
.tab-panel .bullets { margin-top: 32px; display: grid; gap: 16px; }
.tab-panel .bullets li { display: flex; gap: 14px; align-items: center; color: var(--ink); font-size: 16px; }
.tab-panel .bullets svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.tab-panel .btn { margin-top: 44px; }
.tab-panel .tile { aspect-ratio: 828 / 560; }

/* Why grid */
.why .center .t-lead { max-width: 560px; margin: 28px auto 0; }
.why-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; margin-top: 64px; }
.why-grid.b { grid-template-columns: 5fr 7fr; margin-top: 16px; }
.why-card { background: var(--card); border-radius: var(--r-card); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.why-card .demo { background: var(--bg); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 30px 20px; flex: 1; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.why-card h3 { margin-top: 36px; }
.why-card p { margin-top: 10px; max-width: 520px; }
.team-avatars { display: flex; gap: 12px; }
.team-avatars > * { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 3px var(--card); }
.team-avatars img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.team-avatars .initials { font-size: 17px; }
.big-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.big-stat .n { font: 400 64px/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 30px; }
.months i { display: block; height: 44px; border-radius: 4px; background: var(--line-2); opacity: .55; }
.months i.on { background: var(--ink); opacity: 1; }
.months span { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.files li:last-child { border-bottom: 0; }
.files .ic { width: 18px; height: 18px; color: var(--muted); flex: none; }
.files .sz { margin-left: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--ink); }
.pr { background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 18px 14px; }
.pr-head { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 500 15px/1.3 var(--sans); }
.pr-head svg { width: 17px; height: 17px; color: var(--ok); }
.pr-head .pill { margin-left: auto; }
.pr ul { margin-top: 12px; display: grid; gap: 10px; }
.pr li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text); }
.pr li svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.pr .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Pricing */
.billing { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 44px; font: 500 15px/1 var(--sans); color: var(--ink); }
.billing .q { color: var(--muted); transition: color .2s; }
.billing.quarterly .q { color: var(--ink); }
.billing.quarterly .m { color: var(--muted); }
.switch { width: 46px; height: 26px; border-radius: 999px; background: var(--ink); position: relative; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); transition: transform .3s var(--ease); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.save { background: var(--accent-soft); color: var(--accent); font-size: 13px; padding: 4px 8px; border-radius: 5px; }
/* Savings show with the quarterly price only, without moving the switch or the cards */
.save { transition: background-color .2s, color .2s; }
.billing:not(.quarterly) .save { background: var(--line); color: var(--muted); }
.billing .save { white-space: nowrap; }
@media (min-width: 810px) { .billing .save { width: 74px; text-align: center; margin-right: -86px; } }
.price .per { position: relative; white-space: nowrap; }
.price .saves { position: absolute; left: 0; bottom: 100%; font: 500 14px/1.3 var(--sans); color: var(--ok); visibility: hidden; }
.billing.quarterly ~ .plans .saves { visibility: visible; }
@media (min-width: 810px) and (max-width: 1199px) {
  .price { position: relative; }
  .price .per { position: static; }
  .price .saves { top: calc(100% + 2px); bottom: auto; }
  .plan .price ~ .desc { margin-top: 34px; }
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.plan { text-align: left; position: relative; background: var(--surface); border-radius: var(--r-card); padding: 30px 30px 30px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.plan.pop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/bg-0.jpg) center/cover; opacity: .0; }
.plan.pop { background: var(--surface); }
.plan.pop .glow { position: absolute; inset: auto -20% -30% -20%; height: 70%; z-index: -1; background: url(img/bg-0.jpg) center/cover; opacity: .22; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.plan-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.badge-dark { background: var(--ink); color: var(--bg); font-size: 13px; padding: 4px 9px; border-radius: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.price .amt { font: 400 54px/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 15px; }
.plan .desc { margin-top: 18px; min-height: 52px; }
.plan hr { border: 0; border-top: 1px solid var(--line-2); margin: 22px 0; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 1.45; }
.checks svg { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.plan .btn { margin-top: auto; }
.plan .checks { margin-bottom: 44px; }
.fine { text-align: center; margin-top: 30px; font-size: 13px; color: var(--muted); }

/* Compare table */
.compare { background: var(--surface); border-radius: var(--r-card); padding: 18px 28px; box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 15px 0; text-align: center; border-bottom: 1px solid var(--line-2); color: var(--text); }
.compare th { font-weight: 500; color: var(--ink); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* Featured story */
.story { display: grid; grid-template-columns: 488fr 800fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.story .tile { aspect-ratio: 488 / 520; }
.story .copy { padding: 44px 48px 36px; display: flex; flex-direction: column; }
.story .copy-top { display: flex; gap: 24px; justify-content: space-between; }
.story blockquote { font: 400 36px/1.2 var(--serif); letter-spacing: -0.022em; color: var(--ink); max-width: 600px; }
.story .client { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 15px/1 var(--sans); flex: none; }
.story .client img { height: 18px; width: auto; }
.story .who { margin-top: 32px; font-size: 15px; }
.story .who b { display: block; font-weight: 500; color: var(--ink); }
.story .link-arrow { margin-top: 26px; align-self: flex-start; }
.story .stats { margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat .n { font: 400 52px/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 10px; font-size: 15px; color: var(--text); }

/* Carousel */
.carousel { position: relative; margin-top: 56px; }
.c-viewport { overflow: hidden; padding: 20px 0 50px; }
.c-track { display: flex; gap: 64px; transition: transform .7s var(--ease); will-change: transform; }
.c-card { flex: 0 0 600px; background: var(--card); border-radius: var(--r-card); padding: 32px 34px 30px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); min-height: 330px; display: flex; flex-direction: column; transition: transform .7s var(--ease), opacity .7s var(--ease); transform: scale(.92); opacity: .45; }
.c-card.active { transform: none; opacity: 1; }
.c-card .from { display: flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); color: var(--muted); }
.c-card .from svg { width: 18px; height: 18px; }
.c-card q { display: block; margin-top: 22px; font: 400 30px/1.2 var(--serif); letter-spacing: -0.02em; color: var(--ink); quotes: none; }
.c-card .who { margin-top: auto; padding-top: 34px; font-size: 15px; color: var(--muted); }
.c-card .who b { display: block; color: var(--ink); font-weight: 500; }
.c-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.c-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: background-color .2s; }
.c-btn:hover { background: var(--surface); }
.c-btn svg { width: 16px; height: 16px; }
.c-dots { display: flex; gap: 6px; align-items: center; }
.c-dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .4s var(--ease), background-color .3s; }
.c-dots button[aria-current="true"] { width: 24px; background: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-col { display: grid; gap: 16px; }
.faq { background: var(--surface); border-radius: 14px; transition: background-color .2s; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; cursor: pointer; font: 500 17px/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 24px; max-width: 560px; }
.faq:hover { background: color-mix(in srgb, var(--surface) 70%, var(--line)); }

/* CTA band */
.cta { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cta .copy { padding: 60px 36px 60px 36px; display: flex; flex-direction: column; justify-content: center; }
.cta .copy p { margin-top: 24px; max-width: 440px; }
.cta .copy .btn { margin-top: 44px; align-self: flex-start; }
.cta .tile { min-height: 400px; }

/* Footer */
.footer { background: var(--surface); padding: 100px 0 40px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 32px; }
.foot-brand p { margin-top: 22px; max-width: 260px; }
.socials { display: flex; gap: 8px; margin-top: 28px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: background-color .2s; }
.socials a:hover { background: var(--bg); }
.socials svg { width: 16px; height: 16px; }
.foot-col h2 { font: 500 15px/1.35 var(--sans); color: var(--muted); }
.foot-col ul { margin-top: 12px; display: grid; gap: 12px; }
.foot-col a { color: var(--ink); font-size: 15px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-col .addr { color: var(--muted); font-size: 15px; line-height: 1.6; }
.foot-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--ink); font-size: 15px; }

/* Page hero (inner pages) */
.page-hero { padding: 100px 0 80px; text-align: center; }
.page-hero .t-lead { max-width: 600px; margin: 24px auto 0; font-size: 18px; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.work-card { display: block; }
.work-card .tile { aspect-ratio: 638 / 470; }
.work-card .meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 15px; }
.work-card .meta b { font-weight: 500; color: var(--ink); }
.work-card h3 { margin-top: 14px; font: 400 28px/1.15 var(--serif); letter-spacing: -0.02em; color: var(--ink); max-width: 460px; }
.work-card + .work-card { }
.work-grid .work-card { margin-bottom: 40px; }

/* Case study */
.back { margin-top: 64px; }
.cs-head { padding: 64px 0 0; }
.cs-head .label { font-size: 15px; color: var(--muted); }
.cs-head .h-1 { margin-top: 18px; max-width: 820px; }
.cs-head .t-lead { margin-top: 24px; max-width: 700px; font-size: 18px; }
.cs-meta { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; font-size: 15px; }
.cs-meta dt { color: var(--muted); font-size: 14px; }
.cs-meta dd { margin: 6px 0 0; color: var(--ink); }
.cs-hero { margin-top: 40px; }
.cs-hero .tile { aspect-ratio: 1300 / 760; border-radius: 20px; }
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.cs-stats .stat { background: var(--surface); border-radius: 16px; padding: 30px 28px; }
.cs-stats .stat .n { font-size: 50px; }
.cs-text { margin-top: 96px; }
.cs-text .row { display: grid; grid-template-columns: 5fr 8fr; gap: 40px; padding: 30px 0 52px; border-top: 1px solid var(--line-2); }
.cs-text .row p + p { margin-top: 18px; }
.cs-text .row p { font-size: 17px; line-height: 1.6; }
.cs-gallery { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-gallery .wide { grid-column: 1 / -1; aspect-ratio: 1300 / 620; }
.cs-gallery .half { aspect-ratio: 642 / 480; }
.cs-gallery .tile { border-radius: 16px; }
.quote-block { margin-top: 80px; background: var(--surface); border-radius: 20px; padding: 64px; }
.quote-block svg { width: 26px; height: 26px; color: var(--muted); }
.quote-block blockquote { margin-top: 22px; font: 400 36px/1.22 var(--serif); letter-spacing: -0.022em; color: var(--ink); max-width: 900px; }
.quote-block .who { margin-top: 32px; font-size: 15px; color: var(--muted); }
.quote-block .who b { display: block; font-weight: 500; color: var(--ink); }

/* Services page */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { background: var(--surface); border-radius: var(--r-card); padding: 12px 12px 28px; box-shadow: inset 0 0 0 1px var(--line); display: block; transition: box-shadow .25s; }
.svc:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.svc .tile { aspect-ratio: 614 / 380; }
.svc .body { padding: 28px 16px 0; }
.svc .body p { margin-top: 10px; }
.kv { margin-top: 26px; }
.kv div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.svc-hero { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; padding: 48px 0 0; }
.svc-hero .t-lead { margin-top: 22px; max-width: 600px; font-size: 18px; }
.svc-hero .actions { display: flex; gap: 10px; margin-top: 36px; }
.svc-hero .kv { margin-top: 0; background: var(--surface); border-radius: 16px; padding: 6px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.svc-hero .kv div:first-child { border-top: 0; }
.svc-hero .kv div { grid-template-columns: 110px 1fr; padding: 16px 0; }
.svc-media { margin: 64px auto 0; max-width: 1040px; }
.svc-media .tile { aspect-ratio: 1040 / 620; border-radius: 20px; }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; }
.split .lists { display: grid; gap: 44px; }
.split h3 { font: 500 18px/1.3 var(--sans); color: var(--ink); }
.bullets-dot { margin-top: 10px; padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.bullets-dot li::marker { color: var(--muted); }

/* About */
.photo-row { display: grid; grid-template-columns: 362fr 543fr 362fr; gap: 16px; align-items: center; margin-top: 64px; }
.photo-row .ph { border-radius: 16px; overflow: hidden; background: var(--surface); }
.photo-row .ph { background: #fff; }
.photo-row .ph img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.photo-row .ph.s { aspect-ratio: 362 / 440; }
.photo-row .ph.l { aspect-ratio: 543 / 560; }
.facts { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts .n { font: 400 52px/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); }
.facts .l { margin-top: 12px; font-size: 15px; color: var(--text); }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rule { background: var(--surface); border-radius: 18px; padding: 10px 10px 28px; box-shadow: inset 0 0 0 1px var(--line); }
.rule .tile { aspect-ratio: 400 / 200; border-radius: 12px; }
.rule h3 { margin: 30px 14px 0; }
.rule p { margin: 10px 14px 0; font-size: 15px; }
.profile { display: grid; grid-template-columns: 420px 1fr; gap: 64px; margin-top: 56px; align-items: start; }
.profile .ph { aspect-ratio: 420 / 518; border-radius: 16px; overflow: hidden; background: var(--surface); }
.profile .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1s var(--ease); }
.profile:hover .ph img { transform: scale(1.03); }
.profile .bio { max-width: 720px; padding-top: 8px; }
.profile .role { margin-top: 8px; font-size: 15px; color: var(--muted); }
.profile .bio > p { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.profile .does { margin-top: 32px; }
.profile .does div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 10px 0; }
.profile .does dt { font-weight: 500; color: var(--ink); }
.profile .does dd { color: var(--muted); }
.visit { display: grid; grid-template-columns: 7fr 5fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.visit .tile { aspect-ratio: 770 / 460; }
.visit .copy { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.visit .copy p { margin-top: 18px; }
.visit .copy .ink { margin-top: 20px; font-weight: 500; }
.visit .copy .link-arrow { margin-top: 22px; align-self: flex-start; }

/* Journal */
.feature-post { display: grid; grid-template-columns: 750fr 550fr; background: var(--surface); border-radius: var(--r-card); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.feature-post .ph { aspect-ratio: 750 / 480; border-radius: 14px; overflow: hidden; }
.feature-post .ph img, .post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-post:hover .ph img, .post-card:hover .ph img { transform: scale(1.04); }
.feature-post .copy { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.post-meta b { color: var(--ink); font-weight: 500; }
.feature-post h2 { margin-top: 16px; }
.feature-post p { margin-top: 18px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 24px; margin-top: 80px; }
.post-card .ph { aspect-ratio: 418 / 280; border-radius: 14px; overflow: hidden; background: var(--surface); }
.post-card .post-meta { margin-top: 18px; }
.post-card h3 { margin-top: 14px; font: 500 20px/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.post-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.post-card { margin-bottom: 24px; }
.article-head { padding: 90px 0 0; text-align: center; }
.article-head .post-meta { justify-content: center; }
.article-head .h-1 { margin: 20px auto 0; max-width: 820px; }
.article-head .t-lead { margin: 22px auto 0; max-width: 640px; font-size: 18px; }
.article-head .by { margin-top: 22px; font-size: 14px; color: var(--muted); }
.article-head .by b { color: var(--ink); font-weight: 500; }
.article-hero { margin-top: 48px; aspect-ratio: 1300 / 620; border-radius: 20px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 690px; margin: 80px auto 0; }
.prose > * + * { margin-top: 20px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--text); }
.prose h2 { font: 400 32px/1.2 var(--serif); letter-spacing: -0.02em; color: var(--ink); margin-top: 44px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.prose blockquote { font: 400 26px/1.3 var(--serif); color: var(--ink); letter-spacing: -0.015em; padding-left: 22px; border-left: 2px solid var(--line-2); }
.prose .link-arrow { margin-top: 48px; }

/* Careers */
.jobs { display: grid; gap: 12px; margin-top: 48px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); border-radius: 14px; padding: 24px 28px; transition: background-color .2s; }
.job:hover { background: color-mix(in srgb, var(--surface) 70%, var(--line)); }
.job h3 { font: 500 19px/1.3 var(--sans); color: var(--ink); }
.job .tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.job .right { display: flex; align-items: center; gap: 22px; color: var(--ink); font-size: 15px; font-weight: 500; flex: none; }
.job .right svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.job:hover .right svg { transform: translateX(3px); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.perk { background: var(--card); border-radius: 18px; padding: 28px 26px; box-shadow: inset 0 0 0 1px var(--line); }
.perk svg { width: 20px; height: 20px; color: var(--ink); }
.perk h3 { margin-top: 44px; font: 500 19px/1.3 var(--sans); color: var(--ink); }
.perk p { margin-top: 10px; font-size: 15px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.duo .ph { aspect-ratio: 642 / 460; border-radius: 16px; overflow: hidden; }
.duo .ph img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 90px 0 0; align-items: start; }
.contact .t-lead { margin-top: 26px; max-width: 450px; font-size: 18px; }
.contact-list { margin-top: 44px; }
.contact-list li { display: grid; grid-template-columns: 24px 100px 1fr; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-2); }
.contact-list svg { width: 17px; height: 17px; color: var(--muted); }
.contact-list .k { color: var(--muted); }
.form-card { background: var(--surface); border-radius: var(--r-card); padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.form-card h2 { font: 400 32px/1.15 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 15px/1.2 var(--sans); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: 140px; padding: 14px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: #c4361b; }
.field .err { font-size: 13px; color: #c4361b; }
.form .btn { grid-column: 1 / -1; height: 48px; margin-top: 4px; }
.form .note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form-done { display: none; padding: 28px 0 6px; }
.form-card.sent .form { display: none; }
.form-card.sent .form-done { display: block; }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; padding: 100px 0 40px; }
.legal .h-1 { font-size: 72px; }
.legal .updated { margin-top: 18px; color: var(--muted); }
.legal section { padding: 34px 0; border-top: 1px solid var(--line-2); }
.legal section:first-of-type { margin-top: 48px; }
.legal h2 { font: 500 20px/1.3 var(--sans); color: var(--ink); }
.legal p { margin-top: 12px; }

/* Reveal motion */
.js .rv { opacity: 0; transform: translateY(24px); }
.rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .hero-media .frame { transform: rotateX(18deg) scale(.94); opacity: .4; }
.hero-media.in .frame { transform: none; opacity: 1; transition: transform 1.4s var(--ease), opacity 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .blur-in .blur-word, .js .hero-media .frame { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; }
}


/* Long-form case study sections */
.cs-body { margin-top: 40px; }
.cb { margin-top: 140px; }
.cb.cont { margin-top: 24px; }
.cb-head { max-width: 760px; margin-bottom: 40px; }
.cb-head .t-lead { margin-top: 20px; }
.cb-row .row, .cb .row { display: grid; grid-template-columns: 5fr 8fr; gap: 40px; padding-top: 30px; border-top: 1px solid var(--line-2); }
.cb .row p { font-size: 17px; line-height: 1.6; }
.cb .row p + p { margin-top: 18px; }
.cb .row .link-arrow { margin-top: 28px; }
.cb-fig { background: var(--surface); border-radius: 20px; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.cb-fig.dark { background: #141416; box-shadow: none; }
.cb-fig img { width: 100%; height: auto; border-radius: 12px; }
.cb-fig figcaption { padding: 14px 8px 4px; font-size: 14px; color: var(--muted); }
.cb-fig.dark figcaption { color: #9c9aa4; }
.cb-stack { display: grid; gap: 16px; }
.cb-cards { display: grid; gap: 16px; }
.cb-cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cb-cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cb-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cb-card { background: var(--surface); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cb-card .t-title { font-size: 19px; }
.cb-card .t-body { font-size: 15px; }
.cb-card .kv { margin-top: 10px; }
.cb-card .kv div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
.cb-tag { align-self: flex-start; font-size: 13px; color: var(--muted); background: var(--card); padding: 4px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.cb-quotes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cb-quote { grid-column: span 2; background: var(--card); border-radius: 16px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.cb-quote:nth-child(4), .cb-quote:nth-child(5) { grid-column: span 3; }
.cb-quote blockquote { font: 400 23px/1.3 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.cb-quote figcaption { font-size: 14px; color: var(--muted); }
.cb-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.cb-table { padding: 10px 28px; }
.cb-table th, .cb-table td { text-align: left !important; vertical-align: top; padding: 18px 20px 18px 0; line-height: 1.5; }
.cb-table tbody th { font-weight: 500; color: var(--ink); width: 22%; }
.cb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.cb-list.one { grid-template-columns: 1fr; max-width: 900px; }
.cb-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.5; color: var(--ink); }
.cb-list.one li { font: 400 24px/1.35 var(--serif); letter-spacing: -0.015em; padding: 22px 0; }
.cb-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--muted); }
.cb-stats { margin-top: 0; }
.cb-stats .stat .l { margin-top: 14px; font-weight: 500; font-size: 17px; }
.cb-stats .stat p { margin-top: 8px; }
.cb-persona { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cb-pq { background: var(--surface); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; }
.cb-pq svg { width: 24px; height: 24px; color: var(--muted); }
.cb-pq blockquote { margin-top: 18px; font: 400 25px/1.3 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.cb-pq figcaption { margin-top: auto; padding-top: 28px; font-size: 15px; color: var(--muted); }
.cb-pq figcaption b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.cb-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cb-chapter { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: center; margin-top: 64px; }
.cb-chapter.flip { grid-template-columns: 7fr 4fr; }
.cb-chapter.flip .copy { order: 2; }
.cb-chapter .h-4 { margin-top: 18px; }
.cb-chapter dl { margin-top: 26px; }
.cb-chapter dl div { padding: 16px 0; border-top: 1px solid var(--line-2); }
.cb-chapter dt { font-size: 14px; color: var(--muted); }
.cb-chapter dd { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.cb-chapter dl div:last-child dd { color: var(--ink); font-weight: 500; }
.cb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cb-split .t-lead { margin-top: 20px; }
.cb-split.tall .cb-fig { max-width: 420px; justify-self: center; }
.cb-notes { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: start; }
.cb-notelist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: sticky; top: 110px; }
.cb-notelist li { padding: 24px 0; border-top: 1px solid var(--line-2); }
.cb-notelist p { margin-top: 8px; }
.cb-statement { text-align: center; padding: 120px 0 0; max-width: 980px; margin-left: auto; margin-right: auto; }
.cb-statement .t-lead { margin: 28px auto 0; max-width: 680px; }
@media (max-width: 1199px) {
  .cb-cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .cb-cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .cb-quote, .cb-quote:nth-child(4), .cb-quote:nth-child(5) { grid-column: span 3; }
  .cb-persona { grid-template-columns: 1fr; }
  .cb-chapter, .cb-chapter.flip { grid-template-columns: 1fr; gap: 28px; }
  .cb-chapter.flip .copy { order: 0; }
  .cb-notes { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 809px) {
  .cb { margin-top: 96px; }
  .cb-head { margin-bottom: 28px; }
  .cb .row { grid-template-columns: 1fr; gap: 16px; }
  .cb-fig { padding: 8px; border-radius: 16px; }
  .cb-fig img { border-radius: 10px; }
  .cb-cards.c2, .cb-cards.c3, .cb-cards.c4 { grid-template-columns: 1fr; }
  .cb-card { padding: 22px; }
  .cb-quotes { grid-template-columns: 1fr; }
  .cb-quote, .cb-quote:nth-child(4), .cb-quote:nth-child(5) { grid-column: auto; padding: 22px; }
  .cb-quote blockquote { font-size: 21px; }
  .cb-table { padding: 4px 18px; }
  .cb-list { grid-template-columns: 1fr; }
  .cb-list.one li { font-size: 20px; }
  .cb-pq { padding: 24px; }
  .cb-pq blockquote { font-size: 21px; }
  .cb-roles { grid-template-columns: 1fr; }
  .cb-split, .cb-notes { grid-template-columns: 1fr; gap: 28px; }
  .cb-notelist { position: static; }
  .cb-statement { padding-top: 64px; }
}

/* ---------- Tablet (810–1199) ---------- */
@media (max-width: 1199px) {
  :root { --gut: 40px; }
  .nav-links, .nav-right .book-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav .wrap { justify-content: space-between; }
  .h-display { font-size: 60px; }
  .h-1 { font-size: 54px; }
  .h-2 { font-size: 44px; }
  .h-3 { font-size: 32px; }
  .section { padding: 120px 0; }
  .trio { gap: 16px; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .process-row .copy { padding: 0 20px 0 36px; }
  .tab-panel { grid-template-columns: 1fr 1.3fr; }
  .tab-panel .tile { aspect-ratio: auto; min-height: 380px; }
  .why-grid, .why-grid.b { grid-template-columns: 1fr 1fr; }
  .plans { gap: 12px; }
  .plan { padding: 24px; }
  .price .amt { font-size: 44px; }
  .story { grid-template-columns: 1fr 1.4fr; }
  .story blockquote { font-size: 28px; }
  .stat .n { font-size: 42px; }
  .c-card { flex-basis: 520px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .cs-meta { grid-template-columns: repeat(3, 1fr); }
  .profile { grid-template-columns: 320px 1fr; gap: 40px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .svc-hero { grid-template-columns: 1fr; gap: 40px; }
  .posts { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone (≤809) ---------- */
@media (max-width: 809px) {
  :root { --gut: 20px; }
  body { font-size: 16px; }
  .announce .wrap { height: auto; min-height: 42px; padding: 10px 48px 10px 20px; justify-content: flex-start; }
  .announce .close { right: 10px; }
  .nav .wrap { height: 64px; }
  .brand-name { font-size: 26px; }
  .nav-right .theme-toggle { display: grid; }
  .h-display { font-size: 44px; line-height: 1.05; }
  .h-1 { font-size: 42px; }
  .h-2 { font-size: 36px; line-height: 1.08; }
  .h-3 { font-size: 28px; }
  .h-4 { font-size: 25px; }
  .t-lead { font-size: 17px; }
  .section { padding: 96px 0; }
  .sec-head { display: block; margin-bottom: 40px; }
  .sec-head .link-arrow { margin-top: 24px; }
  .hero { padding-top: 56px; }
  .hero .t-lead { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .hero-proof { flex-direction: column; font-size: 14px; gap: 10px; }
  .hero-proof .sep { display: none; }
  .hero-media { margin-top: 64px; }
  .hero-media .frame { aspect-ratio: 350 / 260; border-radius: 22px; }
  .hero-media .screen { left: 6%; right: 6%; top: 12%; }
  .cursor { display: none; }
  .marquee img { height: 24px; }
  .marquee-track { gap: 48px; }
  .trio { grid-template-columns: 1fr; gap: 48px; }
  .trio .tile { aspect-ratio: 350 / 300; }
  .trio-item h3 { margin-top: 24px; }
  .process-row { grid-template-columns: 1fr; padding: 10px; }
  .process-row .copy { padding: 30px 14px 22px; }
  .process-row .copy .link-arrow { margin-top: 28px; }
  .tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 0 16px; font-size: 15px; }
  .tab svg { display: none; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel .copy { padding: 26px 14px 28px; order: 0; }
  .tab-panel .tile { order: 1; aspect-ratio: 330 / 280; min-height: 0; }
  .tab-panel .bullets { margin-top: 24px; }
  .tab-panel .btn { margin-top: 30px; width: 100%; }
  .why-grid, .why-grid.b { grid-template-columns: 1fr; margin-top: 40px; }
  .why-grid.b { margin-top: 16px; }
  .why-card { padding: 16px 16px 24px; }
  .why-card h3, .why-card p { padding: 0 6px; }
  .team-avatars > * { width: 46px; height: 46px; }
  .big-stat .n { font-size: 52px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .compare { padding: 8px 18px; }
  .story { grid-template-columns: 1fr; padding: 10px; }
  .story .tile { aspect-ratio: 330 / 300; }
  .story .copy { padding: 28px 14px 20px; }
  .story .copy-top { flex-direction: column-reverse; gap: 18px; }
  .story blockquote { font-size: 26px; }
  .story .stats { grid-template-columns: 1fr; gap: 24px; }
  .stat .n { font-size: 44px; }
  .c-card { flex-basis: calc(100vw - 60px); padding: 26px 24px; min-height: 300px; }
  .c-card q { font-size: 24px; }
  .c-track { gap: 16px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq summary { padding: 20px; font-size: 16px; }
  .faq .ans { padding: 0 20px 20px; }
  .cta { grid-template-columns: 1fr; padding: 10px; }
  .cta .copy { padding: 34px 14px 30px; }
  .cta .copy .btn { margin-top: 30px; }
  .cta .tile { min-height: 280px; }
  .footer { padding: 72px 0 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .foot-bottom { flex-direction: column; margin-top: 56px; }
  .page-hero { padding: 64px 0 56px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card h3 { font-size: 24px; }
  .back { margin-top: 36px; }
  .cs-head { padding-top: 40px; }
  .cs-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cs-hero .tile { aspect-ratio: 350 / 280; border-radius: 16px; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-text { margin-top: 64px; }
  .cs-text .row { grid-template-columns: 1fr; gap: 16px; padding-bottom: 40px; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery .wide, .cs-gallery .half { aspect-ratio: 350 / 280; }
  .quote-block { padding: 34px 24px; }
  .quote-block blockquote { font-size: 26px; }
  .svc-grid { grid-template-columns: 1fr; }
  .kv div { grid-template-columns: 110px 1fr; }
  .svc-hero .actions { flex-wrap: wrap; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row .ph.l { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 350 / 300; }
  .photo-row .ph.s { aspect-ratio: 1 / 1.1; }
  .facts { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .facts .n { font-size: 44px; }
  .rules { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile .does div { grid-template-columns: 110px 1fr; gap: 16px; }
  .visit { grid-template-columns: 1fr; padding: 10px; }
  .visit .copy { padding: 28px 14px 18px; }
  .feature-post { grid-template-columns: 1fr; padding: 10px; }
  .feature-post .copy { padding: 26px 14px 18px; }
  .posts { grid-template-columns: 1fr; margin-top: 48px; }
  .article-head { padding-top: 56px; }
  .article-hero { aspect-ratio: 350 / 260; border-radius: 16px; }
  .prose { margin-top: 48px; }
  .prose p, .prose li { font-size: 17px; }
  .job { flex-direction: column; align-items: flex-start; padding: 20px; }
  .perks { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .contact { padding-top: 56px; }
  .contact-list li { grid-template-columns: 24px 80px 1fr; }
  .form-card { padding: 24px 18px; }
  .form { grid-template-columns: 1fr; }
  .legal { padding-top: 64px; }
  .legal .h-1 { font-size: 48px; }
}

/* ---------- Fluted glass colour fields (in the style of the Pane template) ---------- */
.flute { --rib: 26px; position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--f-base); }
.flute::before, .flute i { content: ""; position: absolute; inset: -25%; background: var(--f-field); filter: blur(34px) saturate(1.15); }
.flute i { transform: translateX(18px) scaleX(1.06);
  -webkit-mask-image: repeating-linear-gradient(calc(90deg + var(--f-tilt)), transparent 0 calc(var(--rib) * .45), #000 calc(var(--rib) * .55) var(--rib));
  mask-image: repeating-linear-gradient(calc(90deg + var(--f-tilt)), transparent 0 calc(var(--rib) * .45), #000 calc(var(--rib) * .55) var(--rib)); }
.flute::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(calc(90deg + var(--f-tilt)), rgba(255,255,255,.26) 0, rgba(255,255,255,.07) 2.5px, rgba(255,255,255,0) 9px, rgba(255,255,255,0) 15px, rgba(28,18,60,.05) 21px, rgba(28,18,60,.11) 25.5px, rgba(255,255,255,.26) var(--rib)); }
.tile:hover > .flute::before, .tile:hover > .flute i { transform: scale(1.05); transition: transform 1.2s var(--ease); }
.f0 { --f-tilt: 16deg; --f-base: #c8bfe6; --f-field: radial-gradient(38% 30% at 22% 42%, #4152cc 0, transparent 72%), radial-gradient(30% 26% at 52% 22%, #5c66d6 0, transparent 70%), radial-gradient(40% 32% at 80% 10%, #ef8f63 0, transparent 72%), radial-gradient(44% 34% at 60% 80%, #ee8d61 0, transparent 72%), radial-gradient(50% 40% at 94% 58%, #9b8ae6 0, transparent 70%), linear-gradient(#e7cfe0, #d6c8ef); }
.f1 { --f-tilt: 0deg; --f-base: #efd8c4; --f-field: radial-gradient(12% 70% at 5% 50%, #e4561f 0, transparent 72%), radial-gradient(16% 70% at 24% 30%, #f2c49f 0, transparent 70%), radial-gradient(16% 60% at 45% 70%, #e98a8c 0, transparent 72%), radial-gradient(16% 70% at 66% 35%, #a7a3ea 0, transparent 72%), radial-gradient(14% 60% at 84% 60%, #f5d7b8 0, transparent 70%), radial-gradient(10% 70% at 97% 50%, #e85a24 0, transparent 72%), linear-gradient(#f2dfcc, #ecd2c0); }
.f2 { --f-tilt: 16deg; --f-base: #bdb3ec; --f-field: radial-gradient(40% 34% at 28% 62%, #4e3fd6 0, transparent 72%), radial-gradient(36% 30% at 76% 28%, #f0a385 0, transparent 72%), radial-gradient(40% 40% at 92% 88%, #7e70e6 0, transparent 70%), radial-gradient(30% 30% at 10% 10%, #e9c3d9 0, transparent 70%), linear-gradient(#d6c8f0, #c7baf0); }
.f3 { --f-tilt: 0deg; --f-base: #ebe1d6; --f-field: radial-gradient(14% 70% at 8% 45%, #6f88e6 0, transparent 72%), radial-gradient(16% 70% at 32% 60%, #f1a35f 0, transparent 72%), radial-gradient(16% 60% at 56% 35%, #f3c2b0 0, transparent 70%), radial-gradient(14% 70% at 78% 55%, #e9784a 0, transparent 72%), radial-gradient(12% 70% at 96% 40%, #6c84e2 0, transparent 72%), linear-gradient(#efe4d8, #e7d9cc); }
.tile { background: var(--surface); }

/* Screens sit in a soft glass rim and may run off an edge, as on the template */
.tile .shot { padding: 1.15%; border-radius: 16px; background: rgba(255,255,255,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 30px 60px -28px rgba(40,25,90,.45); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 9px; }
.tile .shot.framed { padding: 1.15%; background: rgba(255,255,255,.4); }
.hero-media .screen { padding: 10px 10px 0; background: rgba(255,255,255,.38); border-radius: 22px 22px 0 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 30px 60px -20px rgba(40,25,90,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-media .screen img { border-radius: 12px 12px 0 0; }
.hero-media .frame { background: var(--surface); isolation: isolate; }

/* Dollar sign: the serif's $ has two strokes; the sans one has one */
.cur { font-family: var(--sans); font-weight: 500; font-size: .58em; letter-spacing: 0; vertical-align: .62em; margin-right: .05em; }

/* ---------- Testimonials (placeholders until real clients are added) ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.tm { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-card); padding: 32px 30px 26px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.tm-q { font: 400 24px/1.3 var(--serif); letter-spacing: -0.015em; color: var(--ink); }
.tm-who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 36px; }
.tm-photo { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tm-photo svg { width: 22px; height: 22px; }
.tm-id { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; color: var(--muted); min-width: 0; }
.tm-id b { color: var(--ink); font-weight: 500; }
.tm-in { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background .2s; }
.tm-in:hover { color: var(--ink); background: var(--surface); }
.tm-in svg { width: 18px; height: 18px; }

/* ---------- What I bring: the tri-fold letter ---------- */
.tf { padding: 120px 0 40px; }
.tf-board { position: relative; max-width: 1200px; margin: 0 auto; }
.tf-p { position: relative; color: #17171a; padding: 36px; background: linear-gradient(90deg, #f6f5f1 0, #f1f0eb 85%, #e6e4dd 100%); }
.tf-p::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(23,23,26,.28), rgba(23,23,26,.04)); opacity: var(--sh, 0); }
.tf-head { font: 400 38px/1.08 var(--serif); letter-spacing: -0.025em; color: #17171a; }
.tf-head span { color: #8a8a90; }
.tf-sign { position: absolute; left: 36px; right: 36px; bottom: 34px; font: 500 14px/1.3 var(--sans); color: #8a8a90; }
.tf-intro { font: 400 19px/1.55 var(--sans); color: #3e3e44; }
.tf-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; margin-top: 32px; border-radius: 999px; background: #17171a; color: #fff; font: 500 17px/1 var(--sans); transition: transform .2s var(--ease), background .2s; }
.tf-btn:hover { background: #2a2a30; transform: translateY(-1px); }
.tf-svcs li + li { margin-top: 22px; }
.tf-st { font: 500 16px/1.3 var(--sans); color: #17171a; }
.tf-sd { margin-top: 6px; font: 400 14px/1.5 var(--sans); color: #6c6a73; }
.tf-pol-slot { position: absolute; left: 26.25%; top: 41.8%; width: 51%; aspect-ratio: 204 / 267; }
.tf-pol { position: relative; width: 204px; padding: 11px 11px 0; height: 267px; border-radius: 5px; background: #fafaf7; box-shadow: 0 14px 30px -12px rgba(23,23,26,.35), 0 1px 2px rgba(23,23,26,.08); }
.tf-pol .ph { height: 215px; background: #f2f2f0; overflow: hidden; }
.tf-pol .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tf-pol span { display: block; text-align: center; margin-top: 10px; font: 500 12.4px/1 var(--sans); color: #333338; }
.tf-pol .tape { position: absolute; left: 50%; top: -9px; width: 73px; height: 19px; margin-left: -36px; border-radius: 3px; background: rgba(205,242,75,.92); transform: rotate(-3deg); }
.tf-res { position: relative; }
.tf-res.tf-sign { position: absolute; }
.tf-res .b { display: none; }
.tf-env-back, .tf-env-front, .tf-flap, .tf-ov, .tf-track > .tf-stage > .tf-hintwrap { display: none; }

/* No JS, desktop: the open letter as three panels side by side */
@media (min-width: 1100px) {
  .tf:not(.tf-js) .p1 { width: 33.333%; aspect-ratio: 400 / 660; box-shadow: 0 40px 80px -40px rgba(23,23,26,.3); }
  .tf:not(.tf-js) .tf-hinge { position: absolute; left: 100%; top: 0; width: 100%; height: 100%; }
  .tf:not(.tf-js) .tf-hinge > .tf-p { height: 100%; }
  .tf:not(.tf-js) .tf-head { font-size: clamp(28px, 2.7vw, 38px); }
  .tf:not(.tf-js) .tf-pol { width: 100%; height: auto; aspect-ratio: 204 / 267; }
  .tf:not(.tf-js) .tf-pol .ph { height: 80.5%; }
}
@media (max-width: 1099px) {
  .tf:not(.tf-js) .tf-board { max-width: 560px; box-shadow: 0 40px 80px -40px rgba(23,23,26,.3); }
  .tf:not(.tf-js) .tf-p { background: linear-gradient(180deg, #f6f5f1 0, #f1f0eb 85%, #e6e4dd 100%); }
  .tf:not(.tf-js) .tf-pol-slot, .tf-v .tf-pol { display: none; }
  .tf:not(.tf-js) .tf-res.tf-sign { position: static; margin-top: 18px; }
  .tf:not(.tf-js) .tf-hinge.h2 { margin: 32px -36px -36px; }
  .tf:not(.tf-js) .tf-p { padding: 30px 28px; }
  .tf:not(.tf-js) .tf-hinge.h2 { margin: 30px -28px -30px; }
}

/* JS: shared */
.tf-js .tf-env-back, .tf-js .tf-env-front, .tf-js .tf-flap, .tf-js .tf-ov { display: block; position: absolute; }
.tf-js .tf-pol-slot { visibility: hidden; }
.tf-js .tf-board { perspective: 1600px; }
.tf-js .tf-fold { position: absolute; top: 0; transform-origin: 50% 50%; transform-style: preserve-3d; z-index: 2; will-change: transform; }
.tf-js .p1, .tf-js .tf-hinge { transform-style: preserve-3d; }
.tf-js .tf-hinge { position: absolute; will-change: transform; }
.tf-js .tf-p { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tf-js .tf-back { position: absolute; inset: 0; background: #e9e8e2; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tf-js .tf-env-back { z-index: 1; border-radius: 6px; background: linear-gradient(#bfc4c1, #c9cdca); }
.tf-js .tf-env-front { z-index: 3; pointer-events: none; }
.tf-js .tf-pocket { position: absolute; left: 0; right: 0; bottom: 0; height: 64.6%; border-radius: 0 0 6px 6px; background: #d3d7d4; box-shadow: 0 -1px 0 rgba(23,23,26,.05); }
.tf-js .tf-flap { z-index: 4; transform-origin: 50% 0; border-radius: 6px 6px 2px 2px; background: #dcdfdc; box-shadow: 0 1px 0 rgba(23,23,26,.06); -webkit-backface-visibility: visible; }
.tf-js .tf-board::after { content: none; }
.tf-ov.tf-cm { z-index: 5; font: 700 28.5px/.95 var(--sans); letter-spacing: -0.035em; color: #22303a; white-space: nowrap; }
.tf-ov.tf-l1, .tf-ov.tf-l2 { z-index: 6; font: 500 10.5px/1.1 var(--sans); letter-spacing: .18em; color: #22303a; white-space: nowrap; }
.tf-ov.tf-l1.is-bar, .tf-ov.tf-l2.is-bar { overflow: hidden; }
.tf-ov.is-bar { color: transparent; background: rgba(34,48,58,.18); border-radius: 999px; transition: color .25s, background .25s; }
.tf-ov.tf-cm.is-bar { background: rgba(34,48,58,.14); border-radius: 10px; }
.tf-ov.tf-pill { z-index: 7; overflow: hidden; display: grid; place-items: center; background: #cdf24b; }
.tf-pill .seal-t { position: absolute; left: 50%; top: 50%; width: 320px; transform: translate(-50%, -50%) rotate(90deg); text-align: center; font: 600 11.4px/1 var(--sans); letter-spacing: .3em; color: #22303a; opacity: var(--seal, 1); white-space: nowrap; }
.tf-pill .pill-t { font: 500 17px/1 var(--sans); color: #fff; opacity: var(--label, 0); white-space: nowrap; }
.tf-js .tf-pol { position: absolute; left: 0; top: 0; z-index: 8; transform-origin: 0 0; }
.tf-ov.tf-hint { z-index: 6; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.tf-hint button { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: .02em; color: #8e8d94; padding: 8px 10px; border-radius: 8px; }
.tf-hint .t { display: inline-block; max-width: calc((1 - var(--hc, 0)) * 160px); overflow: hidden; white-space: nowrap; opacity: calc(1 - var(--hc, 0)); }
.tf-hint button > .ghost { width: 16px; height: 16px; }
.tf-ov.tf-arrow { z-index: 6; display: grid; place-items: center; color: #8e8d94; background: rgba(23,23,26,calc(var(--line, 0) * .1)); border-radius: 2px; pointer-events: none; }
.tf-arrow svg { width: 16px; height: 16px; transform: rotate(var(--rot, 0deg)); opacity: calc(1 - var(--line, 0)); }
.tf-js .tf-btn { will-change: opacity; }
.tf-js .tf-res .w { display: block; clip-path: inset(0 calc((1 - var(--r, 0)) * 100%) 0 0); }
.tf-js .tf-res .b { display: block; position: absolute; inset: 0; clip-path: inset(0 0 0 calc(var(--r, 0) * 100%)); pointer-events: none; }
.tf-js .tf-res .b span { color: transparent; background: rgba(23,23,26,.12); border-radius: 999px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tf-js.tf-open .tf-res .b { display: none; }

/* JS desktop: horizontal board, scroll-scrubbed */
.tf-js.tf-h .tf-track { height: 330vh; }
.tf-js.tf-h .tf-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.tf-js.tf-h .tf-board { position: absolute; left: 50%; top: 50%; max-width: none; transform: translate(-50%, calc(-50% + 28px)) scale(var(--s, 1)); }
.tf-js.tf-h .tf-fold { left: 400px; width: 400px; height: 660px; }
.tf-js.tf-h .p1 { width: 400px; height: 660px; }
.tf-js .tf-p { box-shadow: 0 40px 80px -40px rgba(23,23,26,calc(.32 * var(--ps, 0))); }
.tf-js.tf-h .tf-hinge { left: 100%; top: 0; width: 400px; height: 660px; transform-origin: 0 50%; }
.tf-js.tf-h .tf-hinge > .tf-p { height: 100%; }
.tf-js.tf-h .tf-back { transform: rotateY(180deg); }
.tf-js.tf-h .tf-hint { top: 548px; }

/* JS tablet and phone: the letter unfolds downward */
.tf-js.tf-v .tf-stage { position: relative; }
.tf-js.tf-v.tf-scrub .tf-track { height: 300vh; }
.tf-js.tf-v.tf-scrub .tf-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.tf-js.tf-v .tf-board { margin: 0 auto; transition: none; }
.tf-js.tf-v .tf-fold { left: 0; width: 100%; }
.tf-js.tf-v .tf-p { background: linear-gradient(180deg, #f6f5f1 0, #f1f0eb 85%, #e6e4dd 100%); padding: 28px 26px; }
.tf-js.tf-v .tf-p::after { background: linear-gradient(180deg, rgba(23,23,26,.28), rgba(23,23,26,.04)); }

.tf-js.tf-v .tf-hinge { top: 100%; left: 0; width: 100%; transform-origin: 50% 0; }
.tf-js.tf-v .tf-back { transform: rotateX(180deg); }
.tf-js.tf-v .tf-head { font-size: 30px; }
.tf-js.tf-v .tf-res.tf-sign { position: static; margin-top: 18px; }
.tf-js.tf-v .tf-intro { font-size: 17px; }
.tf-js.tf-v .tf-cm { font-size: 22px; }
.tf-js.tf-v .tf-ov.tf-l1, .tf-js.tf-v .tf-ov.tf-l2 { font-size: 6.5px; letter-spacing: .05em; }
.tf-js.tf-v .tf-hint { top: auto; }

@media (max-width: 809px) {
  .tf { padding: 80px 0 104px; }
  .tf-head { font-size: 28px; }
  .tm-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .tm { padding: 26px 22px 22px; }
  .tm-q { font-size: 21px; }
  /* Projects: all four stay visible and tappable as a 2 × 2 grid */
  .tabs { display: grid !important; grid-template-columns: 1fr 1fr; overflow: visible; gap: 6px; }
  .tab { height: 48px; padding: 0 12px; justify-content: flex-start; font-size: 15px; }
  .tab svg { display: block !important; flex: none; }
  .tab-swipe { display: block; }
}
@media (min-width: 810px) and (max-width: 1199px) {
  .tm-grid { grid-template-columns: 1fr 1fr; }
}

.tile .phone.byh img { width: 100%; height: 100%; object-fit: contain; object-position: top; }

/* No JS: only the open letter shows; envelope parts and hints are for the animation */
.tf:not(.tf-js) .tf-ov, .tf:not(.tf-js) .tf-env-back, .tf:not(.tf-js) .tf-env-front, .tf:not(.tf-js) .tf-flap { display: none !important; }
.tf:not(.tf-js) .tf-stage { padding: 0 var(--gut); }
.tf-js.tf-v.tf-timed .tf-stage { padding: 0 16px; }

/* Tri-fold button: its label resolves from a bar with the rest of the letter's text */
.tf-btn { position: relative; }
.tf-js .tf-btn::before { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; height: 16px; margin-top: -8px; border-radius: 999px; background: rgba(255,255,255,.2); clip-path: inset(0 0 0 calc(var(--r, 0) * 100%)); }
.tf-js .tf-btn .tf-btn-t { clip-path: inset(0 calc((1 - var(--r, 0)) * 100%) 0 0); }
.tf-js.tf-open .tf-btn::before { display: none; }

/* ---------- Case studies: sections rebuilt from Figma as real HTML ---------- */
.tile .scr { position: absolute; aspect-ratio: 390 / 844; border-radius: 13% / 6%; overflow: hidden; background: #111; box-shadow: 0 0 0 5px #141416, 0 0 0 6px rgba(255,255,255,.18), 0 30px 60px -24px rgba(20,10,40,.55); }
.tile .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cb-phones { display: grid; gap: 20px; }
.cb-phones.c3 { grid-template-columns: repeat(3, 1fr); }
.cb-phones.c4 { grid-template-columns: repeat(4, 1fr); }
.cb-phone .stage { background: var(--surface); border-radius: 20px; padding: 32px 14%; display: flex; justify-content: center; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.cb-phone .stage img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 24px 30px rgba(23,23,26,.18)); }
.cb-phones.screens .stage img { border-radius: 30px / 28px; box-shadow: 0 0 0 5px #141416, 0 24px 40px -20px rgba(23,23,26,.4); filter: none; margin-top: 4px; }
.cb-phones.c4 .stage { padding: 24px 11%; }
.cb-phones.c4.screens .stage img { border-radius: 24px / 22px; }
.cb-phone figcaption { padding: 18px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.cb-phone figcaption b { font: 500 17px/1.35 var(--sans); color: var(--ink); }
.cb-phone figcaption span { font-size: 15px; line-height: 1.55; color: var(--text); }
.cb-phone figcaption .k { font: 400 18px/1.35 var(--serif); color: var(--muted); }

.cb-detail { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; margin-top: 72px; }
.cb-detail.flip .copy { order: 2; }
.cb-detail .t-lead { margin-top: 18px; }
.cb-detail .why { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 1.6; color: var(--text); }
.cb-detail .why b { color: var(--ink); font-weight: 500; }
.cb-detail .stage { aspect-ratio: 716 / 640; border-radius: 20px; display: flex; justify-content: center; align-items: flex-start; padding-top: 8%; }
.cb-detail .stage img { width: 46%; height: auto; filter: drop-shadow(0 30px 40px rgba(20,10,40,.35)); }

.cb-web { display: grid; gap: 20px; }
.cb-web.c2 { grid-template-columns: 1fr 1fr; }
.cb-browser .frame { border-radius: 14px; overflow: hidden; background: #0e0f12; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(23,23,26,.35); }
.cb-browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: #1b1c20; }
.cb-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b40; }
.cb-browser img { width: 100%; height: auto; display: block; }
.cb-browser figcaption { padding: 14px 4px 0; font-size: 15px; color: var(--text); }

.cb-gallery { display: grid; gap: 16px; }
.cb-gallery.c4 { grid-template-columns: repeat(4, 1fr); }
.cb-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.cb-gallery figcaption { padding-top: 12px; font: 500 16px/1.3 var(--sans); color: var(--ink); }

.cb-split.bare .cb-fig { background: none; box-shadow: none; padding: 0; }
.cb-split.bare .cb-fig img { border-radius: 0; }

.cb-table.wide table { min-width: 860px; }
.cb-table.wide { overflow-x: auto; }

.cb-chapter { align-items: start; }
.cb-chv { display: grid; gap: 14px; }
.cb-chv figure { background: var(--surface); border-radius: 16px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.cb-chv img { width: 100%; height: auto; border-radius: 10px; }
.cb-chv .main img { max-height: 760px; object-fit: cover; object-position: top; }
.cb-chv figcaption { padding: 10px 6px 4px; font-size: 14px; color: var(--muted); }
.cb-chv .row2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.cb-chv .pose { display: flex; flex-direction: column; background: #fff; }
.cb-chv .pose img { aspect-ratio: 268 / 240; object-fit: contain; object-position: center bottom; }
.cb-chv .pose figcaption { color: var(--muted); }
.cb-chv .pose figcaption span { display: block; font-size: 13px; }
.cb-chv .pose figcaption b { display: block; font: 400 30px/1.1 var(--serif); color: var(--ink); margin: 2px 0 4px; }
.cb-chv .quote { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.cb-chv .quote blockquote { font: 400 24px/1.3 var(--serif); color: var(--ink); letter-spacing: -0.015em; }

@media (max-width: 1199px) {
  .cb-phones.c4 { grid-template-columns: repeat(2, 1fr); }
  .cb-detail { gap: 36px; }
}
@media (max-width: 809px) {
  .cb-phones.c3, .cb-phones.c4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cb-phone .stage { padding: 16px 10%; }
  .cb-phones.screens .stage img, .cb-phones.c4.screens .stage img { border-radius: 18px / 16px; box-shadow: 0 0 0 3px #141416; }
  .cb-phone figcaption b { font-size: 15px; }
  .cb-phone figcaption span { font-size: 13.5px; }
  .cb-detail { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .cb-detail.flip .copy { order: 0; }
  .cb-web.c2 { grid-template-columns: 1fr; }
  .cb-gallery.c4 { grid-template-columns: 1fr 1fr; }
  .cb-chv .row2 { grid-template-columns: 1fr; }
}

.cb-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 16px; padding: 40px 36px 30px; background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.cb-faces figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cb-faces img { width: 100%; max-width: 200px; height: 120px; object-fit: contain; }
.cb-faces figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 809px) { .cb-faces { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; } .cb-faces img { height: 90px; } }

/* A4 report pages keep their paper ratio */
.cb-gallery.c5 { grid-template-columns: repeat(5, 1fr); }
.cb-gallery.a4 img { aspect-ratio: 952 / 1347; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -20px rgba(23,23,26,.35); }
.cb-gallery.a4 figcaption { font-size: 14px; font-weight: 400; color: var(--muted); }
.cb-phones.c2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
/* Moment card: the number carries it, no character */
.cb-chv .pose { justify-content: space-between; padding: 24px; background: var(--surface); }
.cb-chv .pose .num { font: 400 96px/1 var(--serif); letter-spacing: -0.04em; color: var(--ink); opacity: .9; }
@media (max-width: 809px) { .cb-gallery.c5 { grid-template-columns: 1fr 1fr; } .cb-phones.c2 { grid-template-columns: 1fr 1fr; } .cb-chv .pose .num { font-size: 64px; } }

/* Envelope v2: printed parts live on their paper; the flap has a front and a back face */
.tf-js .tf-flap { background: none; box-shadow: none; transform-style: preserve-3d; transform-origin: 50% 0; transform: translateY(var(--fy, 0)) rotateX(var(--fa, 0deg)); }
.tf-flap .ff, .tf-flap .fb { position: absolute; inset: 0; border-radius: 6px 6px 3px 3px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tf-flap .ff { background: #dcdfdc; box-shadow: 0 1px 0 rgba(23,23,26,.06); }
.tf-flap .fb { background: #cfd3d0; transform: rotateX(180deg); }
.tf-flap .tf-l1, .tf-flap .tf-l2 { position: absolute; left: 5.8%; font: 500 calc(10.45px * var(--es, 1)) / 1.2 var(--sans); letter-spacing: .18em; color: #22303a; white-space: nowrap; }
.tf-flap .tf-l1 { top: 71%; } .tf-flap .tf-l2 { top: 81%; }
.tf-js .tf-env-back, .tf-js .tf-env-front { will-change: transform, opacity; }
.tf-pocket .tf-cm { position: absolute; left: 5.3%; top: 57%; font: 700 calc(28.5px * var(--es, 1)) / .95 var(--sans); letter-spacing: -0.035em; color: #22303a; }
.tf-js .tf-ov.tf-pill { border-radius: 2px; transform-origin: 50% 0; will-change: transform, opacity; }
.tf-js .tf-ov.tf-pill .seal-t { font-size: calc(11.4px * var(--es, 1)); }
.tf-js .tf-ov.tf-hint button { gap: 8px; }
.tf-js .tf-ov.tf-hint svg { width: 16px; height: 16px; }
.tf-v .tf-flap .tf-l1, .tf-v .tf-flap .tf-l2 { letter-spacing: .08em; }

/* Text resolves by cross-fading from its bars, not by wiping */
.tf-js .tf-res .w { clip-path: none; opacity: var(--r, 0); }
.tf-js .tf-res .b { clip-path: none; opacity: calc(1 - var(--r, 0)); }
.tf-js .tf-btn .tf-btn-t { clip-path: none; opacity: var(--r, 0); }
.tf-js .tf-btn::before { clip-path: none; opacity: calc(1 - var(--r, 0)); }

/* ---------- Kwazy screens: same translucent rim and fluted field as the other screens ---------- */
.tile .scr { box-shadow: 0 0 0 7px rgba(255,255,255,.42), 0 0 0 8px rgba(255,255,255,.55), 0 30px 60px -24px rgba(40,25,90,.45); background: #111; }
.cb-phones.screens .stage { background: #d9d2ea center / cover no-repeat; box-shadow: none; }
.cb-phones.screens .cb-phone:nth-child(4n+1) .stage { background-image: url(img/flute-0.jpg); }
.cb-phones.screens .cb-phone:nth-child(4n+2) .stage { background-image: url(img/flute-1.jpg); }
.cb-phones.screens .cb-phone:nth-child(4n+3) .stage { background-image: url(img/flute-2.jpg); }
.cb-phones.screens .cb-phone:nth-child(4n+4) .stage { background-image: url(img/flute-3.jpg); }
.cb-phones.screens .stage img, .cb-phones.c4.screens .stage img { border-radius: 26px; box-shadow: 0 0 0 7px rgba(255,255,255,.42), 0 0 0 8px rgba(255,255,255,.6), 0 28px 50px -24px rgba(40,25,90,.5); }
@media (max-width: 809px) { .cb-phones.screens .stage img, .cb-phones.c4.screens .stage img { border-radius: 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.45), 0 0 0 5px rgba(255,255,255,.6); } }

/* ---------- Billing toggle: the chosen option reads clearly ---------- */
.billing .m, .billing .q { color: #9b99a2; transition: color .2s; }
.billing:not(.quarterly) .m, .billing.quarterly .q { color: var(--ink); }
:root[data-theme="dark"] .billing .m, :root[data-theme="dark"] .billing .q { color: #7d7b85; }
:root[data-theme="dark"] .billing:not(.quarterly) .m, :root[data-theme="dark"] .billing.quarterly .q { color: var(--ink); }

/* ---------- Motion, matched to the Pane template (all on cubic-bezier(.2,0,0,1)) ---------- */
:root { --ease-t: cubic-bezier(.2, 0, 0, 1); }
/* Text blocks rise 18px; everything waits for its own delay */
.js .rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-t), transform .7s var(--ease-t); transition-delay: var(--d, 0s); }
/* Headings: word by word, out of a light blur */
.js .rv.wsplit, .js .wsplit { opacity: 1; transform: none; }
.wsplit .w8 { display: inline-block; }
.js .wsplit .w8 { opacity: 0; filter: blur(4px); transform: translateY(16px); }
.wsplit.in .w8 { opacity: 1; filter: blur(0); transform: none; transition: opacity .5s var(--ease-t), filter .5s var(--ease-t), transform .5s var(--ease-t); transition-delay: calc(var(--wd, 0s) + var(--i, 0) * 40ms); }
/* Text that follows a heading waits for it */
.js .cb-head .t-lead.rv, .js .center .t-lead.rv, .js .page-hero .t-lead.rv, .js .sec-head .link-arrow.rv, .js .cs-head .t-lead.rv { --d: .28s; }
.js .cs-head .cs-meta.rv, .js .cs-head .label.rv { --d: .36s; }
/* Cards tilt up into place */
.js :is(.why-card, .plan, .tm, .work-card, .svc, .cb-card, .cb-phone, .rule, .cb-browser, .cb-quote, .c-card, .cb-gallery figure, .story, .cta, .profile, .cb-chv, .cb-fig, .faq-item).rv { transform: perspective(1200px) translateY(56px) scale(.96) rotateX(12deg); transform-origin: 50% 100%; }
:is(.why-card, .plan, .tm, .work-card, .svc, .cb-card, .cb-phone, .rule, .cb-browser, .cb-quote, .c-card, .cb-gallery figure, .story, .cta, .profile, .cb-chv, .cb-fig, .faq-item).rv.in { transform: none; transition: opacity .8s var(--ease-t), transform .8s var(--ease-t); transition-delay: var(--d, 0s); }
/* Tabs and plan switches rise 20px; panels 32px with a slight scale */
.js .tabs.rv { transform: translateY(20px); }
.js :is(.tab-panels, .cb-detail .stage, .cs-hero, .svc-media).rv { transform: translateY(32px) scale(.97); }
:is(.tab-panels, .cb-detail .stage, .cs-hero, .svc-media).rv.in { transform: none; transition: opacity .8s var(--ease-t), transform .8s var(--ease-t); }
/* Hero: words on load, then lead, buttons and proof at .24s, .34s, .44s; the screen scales up from 92% */
.js .blur-in .blur-word { opacity: 0; filter: blur(4px); transform: translateY(16px); }
.blur-in.go .blur-word { opacity: 1; filter: blur(0); transform: none; transition: opacity .5s var(--ease-t), filter .5s var(--ease-t), transform .5s var(--ease-t); }
.js .hero .t-lead.rv { --d: .24s; } .js .hero .hero-actions.rv { --d: .34s; } .js .hero .hero-proof.rv { --d: .44s; }
.js .hero-media .frame { transform: scale(.92); opacity: 0; transform-origin: 50% 0; }
.hero-media.in .frame { transform: none; opacity: 1; transition: transform 1.1s var(--ease-t), opacity 1.1s var(--ease-t); }
/* The two cursor tags drift on slow loops */
@keyframes driftA { to { transform: translate(22px, -12px); } }
@keyframes driftB { to { transform: translate(-18px, 10px); } }
.cursor.a { animation: driftA 4.2s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.cursor.b { animation: driftB 5s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .wsplit .w8, .js .blur-in .blur-word, .js .hero-media .frame { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cursor.a, .cursor.b { animation: none; }
}
.billing.quarterly .m { color: #9b99a2; }
:root[data-theme="dark"] .billing.quarterly .m { color: #7d7b85; }

/* Case study panel that opens the full design file */
.cb-showcase .cta .tile { min-height: 560px; }
.cb-showcase .mosaic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.cb-showcase .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 809px) { .cb-showcase .cta .tile { min-height: 320px; } }

/* Vertical rhythm: one gap between sections everywhere. Each section owns the space above it;
   only tinted sections and the last one add space below. */
:root { --sec: 140px; }
@media (max-width: 1199px) { :root { --sec: 112px; } }
@media (max-width: 809px) { :root { --sec: 96px; } }
.section, .section.tight-top { padding: var(--sec) 0 0; }
.section.alt { padding-bottom: var(--sec); }
.section.alt + .section { padding-top: var(--sec); }
.section:has(+ .section.alt:not(.gap-top)) { padding-bottom: var(--sec); }
.section.gap-top { margin-top: var(--sec); }
main > .section:last-child { padding-bottom: var(--sec); }
.page-hero + .section.tight-top { padding-top: 0; }
.cb:not(.cont, .cb-detail, .cb-chapter) { margin-top: var(--sec); }
.cb-statement { padding-top: 0; }
.cs-body { margin-top: 0; }
.legal { padding-bottom: var(--sec); }
/* One gap between a section heading and its content */
:root { --head: 56px; }
@media (max-width: 809px) { :root { --head: 36px; } }
.sec-head { margin-bottom: var(--head); }
.why-grid:not(.b), .tm-grid, .rules, .profile, .billing { margin-top: var(--head); }
/* The pinned letter already carries empty space inside its own stage */
.tf { padding: var(--sec) 0 0; }
.tf.tf-h { padding: 0; }
.tf.tf-scrub + .section.tight-top { padding-top: 0; }
@media (min-width: 810px) { .cb-stats:has(> :nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }

/* Full-time plan: a hint of the fluted lavender-to-coral field rising from the bottom edge */
.plan.pop::before { content: none; }
.plan.pop .glow { inset: auto 0 0 0; height: 46%; background: none; opacity: .55; -webkit-mask-image: linear-gradient(to top, #000, rgba(0,0,0,.55) 35%, transparent); mask-image: linear-gradient(to top, #000, rgba(0,0,0,.55) 35%, transparent); }
.plan.pop .flute { z-index: 0; --f-tilt: 16deg; --f-base: #d8c6e6; --f-field: linear-gradient(90deg, #cbbcf2 18%, #d9b9d8 38%, #e8a592 58%, #ec8d62 80%); }
:root[data-theme="dark"] .plan.pop .glow { opacity: .34; }

/* The pinned stage may overlap the hero's lower edge: keep it see-through to clicks */
.tf-scrub { position: relative; pointer-events: none; }
.tf-scrub .tf-board { pointer-events: auto; }
.mm-actions:has(> :only-child) { grid-template-columns: 1fr; }
.mm-actions > :only-child { width: 100%; }

/* ---------- Free consultation: form, scheduler, confirmation ---------- */
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge-free { background: var(--accent-soft); color: var(--accent-ink); font: 500 13px/1 var(--sans); padding: 7px 10px; border-radius: 6px; }
.form-sub { margin-top: 12px; }
.form .btn svg { margin-left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field select { color-scheme: inherit; }
:root[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f1ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .field .err, :root[data-theme="dark"] .sched-err { color: #ff8f78; }
.contact.scheduling { grid-template-columns: minmax(0, 1fr); }
.contact.scheduling > :not(.sched) { display: none; }
.sched[hidden] { display: none; }
.sched { display: grid; grid-template-columns: 300px minmax(0, 1fr) 280px; background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); min-height: 560px; animation: panelIn .6s var(--ease); }
.sched-info { padding: 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.sched-back svg { margin: 0; }
.sched .link-arrow:hover svg { transform: none; }
.sched-title { margin-top: 32px; }
.sched-title:focus, .sched-done h2:focus { outline: none; }
.sched-who { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; }
.sched-info ul { margin-top: 28px; display: grid; gap: 14px; }
.sched-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.sched-info li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.sched-zone { margin-top: auto; padding-top: 32px; width: 100%; display: grid; gap: 8px; font: 500 14px/1.2 var(--sans); color: var(--ink); }
.sched-cal { padding: 36px; }
.sched-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.sched-nav h3 { margin-right: auto; }
.sched-nav svg { width: 17px; height: 17px; }
.sched-nav button:disabled { opacity: .35; cursor: default; }
.sched-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; transition: opacity .2s; }
.sched.busy .sched-grid { opacity: .45; pointer-events: none; }
.sched .dow { text-align: center; font-size: 13px; color: var(--muted); padding: 6px 0; }
.sched .day { height: 52px; border-radius: 10px; font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, box-shadow .2s; position: relative; }
.sched .day:disabled { background: none; box-shadow: none; color: var(--muted); opacity: .6; cursor: default; font-weight: 400; }
.sched .day:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sched .day[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.sched .day.today::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.sched-status { margin-top: 18px; min-height: 21px; }
.sched-times { padding: 36px 28px; border-left: 1px solid var(--line); max-height: 620px; overflow-y: auto; }
.sched-times.empty { display: grid; place-items: center; text-align: center; }
.times { margin-top: 20px; display: grid; gap: 8px; }
.time-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.time-row.on { grid-template-columns: 1fr 1fr; }
.time { height: 48px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 15px/1 var(--sans); color: var(--ink); transition: box-shadow .2s; }
.time:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.time[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.time-row .confirm { height: 48px; padding: 0 8px; }
.sched-err { margin-top: 14px; font-size: 14px; color: #c4361b; }
.sched-err:empty { display: none; }
.sched-done { display: none; }
.sched[data-step="done"] { display: block; padding: 12px; min-height: 0; }
.sched[data-step="done"] > :not(.sched-done) { display: none; }
.sched[data-step="done"] .sched-done { display: grid; grid-template-columns: 1fr 1fr; }
.sched-done .tile { min-height: 460px; }
.sched-done .copy { padding: 48px; align-self: center; }
.done-day { margin-top: 28px; font: 400 28px/1.2 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.done-time { margin-top: 6px; color: var(--ink); }
.done-note { margin-top: 20px; max-width: 420px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
@media (max-width: 1199px) {
  .sched { grid-template-columns: minmax(0, 1fr) 240px; }
  .sched-info { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .sched-zone { margin-top: 0; max-width: 320px; }
}
@media (max-width: 809px) {
  .sched { grid-template-columns: minmax(0, 1fr); }
  .sched-info, .sched-cal { padding: 24px 18px; }
  .sched-title { margin-top: 22px; }
  .sched-grid { gap: 4px; }
  .sched .day { height: 44px; }
  .sched-times { border-left: 0; border-top: 1px solid var(--line); padding: 24px 18px; max-height: none; }
  .sched[data-step="done"] .sched-done { grid-template-columns: 1fr; }
  .sched-done .tile { min-height: 140px; }
  .sched-done .copy { padding: 28px 12px 20px; }
  .done-actions .btn { width: 100%; }
}

.sched-times { scroll-margin-top: 84px; }

/* Already on screen after clicking from another page: no entrance from an empty page */
.rv.now, .rv.now .w8, .hero-media.now .frame { transition: none !important; }
svg { max-width: none; }

/* Phone screens inside a tile: whole devices, same size, centred, fitted to the tile's width and height */
.tile { container-type: size; }
.tile .screens { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5cqw; }
.tile .screens > * { position: static; flex: none; width: min(37cqw, 41cqh); }
.tile .screens.n3 > * { width: min(25cqw, 40cqh); }
.tile .screens.n3 { gap: 4cqw; }

/* ---------- Case study contents, floating on the left ---------- */
.cs-main :is(h1, h2, h3):focus { outline: none; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { position: relative; display: block; padding: 6px 0 6px 18px; font: 500 14px/1.3 var(--sans); color: var(--muted); transition: color .25s; white-space: nowrap; }
.toc ol { position: relative; }
.toc ol::before, .toc ol::after { content: ""; position: absolute; left: 0; top: var(--top, 0); height: var(--len, 100%); width: 2px; background: var(--line-2); pointer-events: none; }
.toc ol::after { background: var(--ink); transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; transition: transform .3s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.read, .toc a[aria-current] { color: var(--ink); }
.toc-btn { display: none; }
@media (min-width: 810px) {
  .cs-layout { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; }
  .toc { position: sticky; top: 84px; align-self: start; padding-top: 64px; height: calc(100vh - 84px); }
  .toc ol { max-height: calc(100vh - 180px); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
  .toc ol::-webkit-scrollbar { display: none; }
}
@media (min-width: 810px) and (max-height: 720px) { .toc { padding-top: 28px; } .toc ol { max-height: calc(100vh - 124px); } .toc a { padding-top: 4px; padding-bottom: 4px; } }
@media (min-width: 1200px) { .cs-layout { grid-template-columns: 130px minmax(0, 1fr); gap: 44px; } .toc a { font-size: 15px; } }
/* Room in the page margin: the case study keeps its full width */
@media (min-width: 1680px) { .cs-layout { margin-left: -174px; } }
@media (max-width: 809px) {
  .toc { position: fixed; left: 16px; bottom: 16px; z-index: 40; transition: opacity .25s, visibility .25s; }
  .toc.ended { opacity: 0; visibility: hidden; }
  .toc-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 500 15px/1 var(--sans); box-shadow: var(--shadow); }
  .toc-btn svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .25s var(--ease); }
  .toc.open .toc-btn svg { transform: none; }
  .toc ol { position: absolute; left: 0; bottom: 56px; width: 220px; max-height: min(60vh, 520px); overflow-y: auto; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .toc.open ol { opacity: 1; visibility: visible; transform: none; }
  .toc a { padding: 11px 0 11px 18px; font-size: 15px; }
  .toc ol::before, .toc ol::after { left: 18px; }
}

/* ---------- Hamburger ---------- */
.icon-btn.menu-btn { display: none; background: var(--btn); color: var(--btn-ink); box-shadow: none; }
@media (max-width: 1199px) { .icon-btn.menu-btn { display: grid; } }
.burger { display: grid; gap: 5px; width: 18px; }
.burger i { height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Small phones: nothing wider than the screen, buttons full width ---------- */
@media (max-width: 809px) {
  .icon-btn { width: 44px; height: 44px; }
  .nav .wrap { gap: 12px; justify-content: space-between; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .nav-right { margin-left: auto; }
  .announce { font-size: 13px; }
  .announce .wrap { padding-top: 11px; padding-bottom: 11px; }
  .announce a { display: block; text-wrap: balance; }
  .announce .tag, .announce a svg { display: none; }

  .h-display { font-size: min(44px, 12.6vw); }
  .h-1 { font-size: min(42px, 12.4vw); overflow-wrap: anywhere; }
  .h-2 { font-size: min(36px, 10.6vw); }
  .price .amt { font-size: min(54px, 15vw); }

  .hero-actions, .svc-hero .actions, .done-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; }
  .hero-actions .btn, .svc-hero .actions .btn, .cta .copy .btn, .cb-showcase .cta .btn, .done-actions .btn, .plan .btn, .tab-panel .btn, .form .btn, .mm-actions .btn { width: 100%; height: 50px; justify-content: center; align-self: stretch; }
  .hero-actions { max-width: 420px; margin-left: auto; margin-right: auto; }
  .tf-btn { width: 100%; justify-content: center; }

  .contact, .form, .why-grid, .why-grid.b, .svc-grid, .work-grid, .plans, .tm-grid, .foot-grid, .story, .cta, .tab-panel, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand, .foot-col:last-child { grid-column: 1 / -1; }
  .foot-col a, .foot-bottom a, .contact-list li > :last-child { overflow-wrap: anywhere; min-width: 0; }
  .contact-list li { grid-template-columns: 24px 74px minmax(0, 1fr); }
  .field, .why-card, .why-card .demo, .files li, .pr { min-width: 0; }
  .pr-head, .files li { flex-wrap: wrap; }
  .field input, .field select, .field textarea { min-width: 0; font-size: 16px; }
}
@media (max-width: 359px) {
  :root { --gut: 16px; }
  .brand-name { font-size: min(24px, 7.2vw); }
  .icon-btn { width: 40px; height: 40px; }
  .nav .wrap { gap: 8px; }
  .nav-right { gap: 6px; }
  .price { position: relative; }
  .price .per { position: static; }
  .price .saves { top: calc(100% + 2px); bottom: auto; }
  .plan .price ~ .desc { margin-top: 34px; }
  .billing { flex-wrap: wrap; }
  .plan { padding: 20px; }
  .files .sz { display: none; }
  .why-card .demo { padding: 22px 14px; }
  .pr { padding-left: 14px; padding-right: 14px; }
  .cs-meta, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sched .day { height: 38px; font-size: 14px; }
  .sched-grid { gap: 2px; }
  .sched .dow { font-size: 11px; }
  .time-row.on { grid-template-columns: minmax(0, 1fr); }
}

/* Light/dark switch lives inside the menu on phones and tablets */
@media (max-width: 1199px) { .nav-right .theme-toggle { display: none !important; } }
.mm-theme { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 26px/1.1 var(--serif); letter-spacing: -0.02em; color: var(--ink); text-align: left; }
.mm-theme svg { width: 20px; height: 20px; color: var(--muted); }
.mm-theme .to-light, :root[data-theme="dark"] .mm-theme .to-dark { display: none; }
:root[data-theme="dark"] .mm-theme .to-light { display: inline; }
@media (max-width: 809px) { .hero .h-display br { display: none; } }

/* Plain hamburger: no box, sized to the name, with a 44px touch area */
.nav .icon-btn.menu-btn, .mobile-menu .mm-close { width: 44px; height: 44px; margin-right: -12px; background: none; box-shadow: none; color: var(--ink); border-radius: 8px; }
.burger { width: 20px; gap: 6px; }
.burger i { height: 1.5px; }
.mobile-menu .mm-close svg { width: 22px; height: 22px; }

/* ---------- Hero cursors: Mayur leads, Client follows ---------- */
.cursor span { display: grid; }
.cursor b { font-weight: 500; }
.cursor em { font-style: normal; font-weight: 400; opacity: 0; max-height: 0; max-width: 0; overflow: hidden; transition: max-height .25s var(--ease), max-width .3s var(--ease), opacity .2s; }
.cursor.talk em { opacity: 1; max-height: 20px; max-width: 160px; }
.cursor svg { filter: drop-shadow(0 2px 3px rgba(20,16,50,.28)); stroke: #fff; stroke-width: 1.4; transition: transform .15s var(--ease); transform-origin: 15% 10%; }
.cursor.press svg { transform: scale(.78); }
.touring .cursor { animation: none; left: 0; top: 0; right: auto; bottom: auto; margin: -2px 0 0 -3px; will-change: transform; }
.touring .cursor.b { z-index: 5; }
.touring .cursor.a { z-index: 4; }
.cursor.flip span { position: absolute; right: 100%; top: 0; margin-right: 2px; }
.cur-box { position: absolute; z-index: 2; border-radius: 8px; box-shadow: 0 0 0 2px #3346d3, 0 0 0 6px rgba(51,70,211,.14); opacity: 0; transform: scale(1.04); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.cur-box.on { opacity: 1; transform: none; }
.cur-chip { position: absolute; left: 0; top: 0; z-index: 3; padding: 9px 14px; border-radius: 8px; background: #fff; color: #2b2b36; font: 500 13px/1 var(--sans); box-shadow: 0 0 0 1px #dfe1ee, 0 14px 26px -10px rgba(30,30,90,.4); opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.cur-chip.on { opacity: 1; }
.cur-ring { position: absolute; z-index: 4; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid currentColor; pointer-events: none; animation: curRing .6s var(--ease) forwards; }
@keyframes curRing { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (max-width: 809px) {
  .touring .cursor { display: flex; }
  .cursor svg { width: 14px; height: 14px; }
  .cursor span { margin-top: 10px; padding: 3px 6px; border-radius: 5px; font-size: 10.5px; }
  .cur-chip { padding: 5px 7px; font-size: 9px; }
  .cur-box { border-radius: 4px; box-shadow: 0 0 0 1.5px #3346d3, 0 0 0 3px rgba(51,70,211,.14); }
  .cur-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}
@media (max-width: 809px) { .cursor em, .cursor.talk em { display: none; } }

/* Billing labels change colour only; the saving lights up in the envelope's lime when Quarterly is on */
.billing .m, .billing .q { font-weight: 500; }
.billing .save { font-weight: 500; }
.billing.quarterly .save { background: #cdf24b; color: #17171a; }

/* Rules: a real screen on each tile, cut off at the bottom edge on purpose */
.rule .tile { aspect-ratio: 400 / 340; }
.rule .tile .phone { left: 50%; top: 10%; width: 56%; transform: translateX(-50%); }
@media (min-width: 560px) and (max-width: 809px) { .rule .tile { aspect-ratio: 400 / 260; } .rule .tile .phone { width: 44%; } }

/* About photos: cropped at the torso, filling each card */
.photo-row .ph img { object-fit: cover; object-position: 50% 0; }
.photo-row .ph img.lift { filter: brightness(1.045); }   /* this render has an off-white backdrop */

/* Booked screen: resume */
.done-cv { position: absolute; left: 50%; top: 10%; width: min(66%, 400px); transform: translateX(-50%); border-radius: 8px; box-shadow: 0 0 0 7px rgba(255,255,255,.4), 0 30px 60px -24px rgba(40,25,90,.5); }
.done-cv[hidden], .done-resume[hidden] { display: none; }
.sched-done .copy { padding-top: 40px; padding-bottom: 40px; }
.done-actions { margin-top: 22px; }
.done-resume { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.done-resume p { margin-top: 8px; max-width: 420px; }
.done-resume .btn { margin-top: 20px; }
.done-resume .btn svg { margin-left: 8px; }
.done-resume .t-xs { margin-left: 14px; }
@media (max-width: 809px) { .sched-done .tile { min-height: 240px; } .done-resume .btn { width: 100%; height: 50px; } .done-resume .t-xs { display: block; margin: 10px 0 0; text-align: center; } }

@media (max-width: 809px) { .toc ol { position: absolute; } }
@media (prefers-reduced-motion: reduce) { .toc ol::after { transition: none; } }

/* ---------- Case study imagery: pictures on cards, faces on quotes, icons in tables ---------- */
.cb-card.has-pic { padding: 10px 10px 26px; gap: 10px; }
.cb-card.has-pic > :not(.cb-pic) { margin-left: 16px; margin-right: 16px; }
.cb-pic { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.cb-pic > img { width: 100%; height: 100%; object-fit: cover; }
.cb-cards.c2 .cb-pic { aspect-ratio: 16 / 9; }
.cb-pic .shots { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 5cqw; padding-top: 11cqh; }
.cb-pic .shots img { width: 24cqw; height: auto; border-radius: 2.6cqw; box-shadow: 0 0 0 1cqw rgba(255,255,255,.4), 0 20px 34px -16px rgba(30,16,70,.5); }
.cb-pic .shots img[src$=".png"] { box-shadow: none; filter: drop-shadow(0 16px 20px rgba(30,16,70,.35)); border-radius: 0; }
.cb-pic .shots img[src*="lab-report"] { width: 46cqw; border-radius: 1.2cqw; }
.cb-pic.draw { display: grid; place-items: center; }
.cb-pic.draw svg { width: 100%; height: 100%; max-width: none; }
.cb-card:nth-child(4n+1) .draw { background: #dcd3f0; } .cb-card:nth-child(4n+2) .draw { background: #f3d3c8; } .cb-card:nth-child(4n+3) .draw { background: #dbe6d8; } .cb-card:nth-child(4n+4) .draw { background: #f6e3c3; }
.cb-quote figcaption { display: flex; align-items: center; gap: 12px; }
.cb-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.cb-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.cb-versus .tile { aspect-ratio: 640 / 480; border-radius: 18px; }
.cb-versus .tile img { position: absolute; left: 50%; top: 11%; width: min(44cqw, 320px); height: auto; transform: translateX(-50%); }
.cb-versus .tile img[src$=".jpg"] { border-radius: min(5cqw, 34px); box-shadow: 0 0 0 7px rgba(255,255,255,.4), 0 30px 60px -24px rgba(40,25,90,.5); }
.cb-versus .tile img[src$=".png"] { filter: drop-shadow(0 24px 30px rgba(40,25,90,.4)); }
.cb-versus figcaption { margin-top: 14px; font-size: 15px; color: var(--text); }
.cb-versus b { font-weight: 500; color: var(--ink); }
.th-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 12px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); vertical-align: middle; }
.th-ic svg { width: 18px; height: 18px; }
@media (max-width: 1199px) { .th-ic { display: grid; margin: 0 0 10px; } }
@media (max-width: 809px) { .cb-versus { gap: 10px; margin-top: 36px; } .cb-versus .tile { aspect-ratio: 1 / 1.15; border-radius: 14px; } .cb-versus .tile img { width: 64cqw; } .cb-versus figcaption { font-size: 14px; } }

/* Project tabs: panels share one space so the loop never moves the page */
.tab-panels { display: grid; }
.tab-panels > .tab-panel { grid-area: 1 / 1; }
.tab-panels > .tab-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; animation: none; }

/* Testimonials */
.tm-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.tm-grid.n1 { grid-template-columns: minmax(0, 640px); }
.tm.soon .tm-q { color: var(--muted); }
.tm-photo { overflow: hidden; font: 500 15px/1 var(--sans); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 809px) { .tm-grid.n1, .tm-grid.n2 { grid-template-columns: minmax(0, 1fr); } }
