/* Salmanul Farisy theme
   Layout: one dark page, 1360px max width, sticky side headings beside content, mono labels. */
:root {
	--bg: #0B0B0D;
	--bgr: 11 11 13;
	--fgr: 237 234 227;
	--surface: #111114;
	--surface-2: #16161B;
	--surface-3: #26262D;
	--ink: #EDEAE3;
	--ink-2: #CFCBC2;
	--ink-3: #B8B4AC;
	--muted: #9A9AA0;
	--faint: #5E5E66;
	--attr: #C9B8FF;
	--line: rgb(var(--fgr) / .12);
	--line-soft: rgb(var(--fgr) / .08);
	--accent: #7CC4FF;
	--ak: var(--accent);
	--on-accent: #0B0B0D;
	--logo-filter: brightness(0) invert(1);
	--disp: 'Syne', 'Space Grotesk', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	color-scheme: dark;
}
html.light {
	--bg: #F5F4F0;
	--bgr: 245 244 240;
	--fgr: 17 17 20;
	--surface: #FFFFFF;
	--surface-2: #EAE9E4;
	--surface-3: #D9D7D0;
	--ink: #111114;
	--ink-2: #2C2C31;
	--ink-3: #42424A;
	--muted: #5C5C63;
	--faint: #85858C;
	--attr: #5B3FD0;
	--ak: #1A5FAF;
	--logo-filter: brightness(0);
	color-scheme: light;
}
body { transition: background-color .5s, color .5s; }

/* Theme toggle */
.themebtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; padding: 0; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .25); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .3s, transform .4s var(--ease); }
.themebtn:hover { border-color: var(--ak); transform: rotate(-15deg); }
.theme-ico { display: inline-flex; animation: tspin .6s var(--ease) both; }
.theme-ico-moon, html.light .theme-ico-sun { display: none; }
html.light .theme-ico-moon { display: inline-flex; }
@keyframes tspin { from { opacity: 0; transform: rotate(-120deg) scale(.4); } }
::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: sfreveal .75s cubic-bezier(.7, 0, .2, 1); mix-blend-mode: normal; }
@keyframes sfreveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); } to { clip-path: circle(150vmax at var(--tx, 50%) var(--ty, 0)); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { color: var(--ak); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
main { display: block; }

.mono { font-family: var(--mono); }
.disp { font-family: var(--disp); }
.muted { color: var(--muted); }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 999px; }

/* Type scale */
.eyebrow { margin: 0 0 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ak); }
.eyebrow a { color: inherit; text-decoration: none; }
.h-xl { margin: 0; font-weight: 700; font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.h-lg { margin: 0; font-weight: 700; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h-sm { margin: 0 0 24px; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.lead { margin: 28px 0 0; max-width: 34em; color: var(--ink-3); font-size: clamp(17px, 1.3vw, 19px); }
.count { font-size: .22em; font-weight: 400; letter-spacing: 0; vertical-align: top; color: var(--muted); margin-left: 10px; }

/* Buttons and links */
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-size: 16px; font-weight: 500; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; }
.pill:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.pill-sm { min-height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pill-lg { min-height: 64px; padding: 0 32px; font-size: 18px; }
.pill-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(var(--fgr) / .3); }
.pill-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; text-decoration: none; position: relative; }
.navlink::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 10px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-io); }
.navlink:hover::after, .navlink:focus-visible::after, .current-menu-item > .navlink::after { transform: scaleX(1); transform-origin: left; }

/* Header */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(var(--bgr) / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.admin-bar .site-header { top: 32px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .25); font-weight: 800; font-size: 15px; letter-spacing: -.02em; transition: background .3s, color .3s; }
.brand:hover .brand-mark { background: var(--accent); color: var(--on-accent); border-color: var(--ak); }
.brand-name { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.site-menu { display: flex; align-items: center; gap: 20px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nav-div { width: 1px; height: 20px; background: rgb(var(--fgr) / .2); }
.nav-right { gap: 24px !important; }
.site-menu a { color: var(--ink); }
.site-menu a.is-current { color: var(--ak); }
.site-menu a.navlink-ext { color: var(--ink-2); }
.site-menu ul, .site-menu li { display: contents; list-style: none; margin: 0; padding: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgb(var(--fgr) / .25); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.mnav { padding: 8px var(--gutter) 28px; font-weight: 700; font-size: 28px; letter-spacing: -.02em; animation: fadeup .45s var(--ease) both; }
.mnav[hidden] { display: none; }
.mnav a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; text-decoration: none; border-bottom: 1px solid rgb(var(--fgr) / .1); }
.mnav a.is-current { color: var(--ak); }
.mnav .mono { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
@media (max-width: 1100px) { .site-menu { display: none !important; } .menu-toggle { display: inline-flex; } }
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #FFFFFF; mix-blend-mode: difference; pointer-events: none; z-index: 80; transform: translate3d(-100px, -100px, 0); transition: width .3s, height .3s, margin .3s; }
.cursor.big { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
@media (pointer: coarse) { .cursor { display: none; } }

/* Hero */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 140px; overflow: hidden; }
.hero-inner { position: relative; width: 100%; }
.gridbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(var(--fgr) / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--fgr) / .06) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%); animation: pan 18s linear infinite; }
@keyframes pan { to { background-position: 80px 80px; } }
.ringwrap { position: absolute; right: clamp(16px, 6vw, 120px); top: 96px; width: 220px; height: 220px; }
.ring { animation: spin 26s linear infinite; }
.ring-text { font-family: var(--mono); font-size: 11.5px; letter-spacing: 3px; fill: var(--muted); text-transform: uppercase; }
.ring-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ak); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgb(var(--fgr) / .15); border-radius: 999px; font-size: 13px; color: var(--ink-2); margin-bottom: 40px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.hero-tag { margin: 0 0 18px; font-size: clamp(13px, 1.3vw, 16px); color: var(--muted); }
.type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 29ch; animation: type 1.3s steps(29) .2s both; }
@keyframes type { from { width: 0; } }
.caret { display: inline-block; width: .6ch; height: 1.1em; vertical-align: -.2em; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-name { margin: 0; font-weight: 800; font-size: clamp(36px, 8.8vw, 136px); letter-spacing: -.045em; text-transform: uppercase; }
.line { display: block; overflow: hidden; white-space: nowrap; line-height: .92; padding-bottom: .04em; }
.line-2 { padding-left: clamp(24px, 14vw, 260px); }
.ch { display: inline-block; animation: rise 1s var(--ease) both; }
.ch.accent { color: var(--ak); }
@keyframes rise { from { transform: translateY(110%) rotate(6deg); } }
.fadeup { animation: fadeup 1s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 48px; }
.hero-intro { margin: 0; max-width: 460px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cue-track { position: relative; display: block; width: 1px; height: 56px; background: rgb(var(--fgr) / .15); overflow: hidden; }
.cue { position: absolute; inset: 0; background: var(--accent); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee bands */
.bands { position: relative; padding: 40px 0 72px; overflow: hidden; }
.band { background: var(--accent); color: var(--on-accent); padding: 18px 0; transform: rotate(-2deg) scale(1.06); }
.band-thin { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: 28px; transform: rotate(1deg) scale(1.06); }
.mq { display: flex; width: max-content; animation: mq 32s linear infinite; white-space: nowrap; }
.mq.disp { font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.02em; text-transform: uppercase; }
.mq-rev { animation-direction: reverse; animation-duration: 38s; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mq-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.mq-small { padding-right: 40px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Client logos */
.clients { padding: 40px 0; }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 36px; }
.clients-head .eyebrow { margin: 0; font-weight: 400; }
.clients-regions { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos:hover .mq { animation-play-state: paused; }
.mq-logos { animation-duration: 40s; }
.logo { flex: none; display: flex; align-items: center; justify-content: center; width: clamp(180px, 18vw, 260px); height: 120px; margin-right: 16px; border: 1px solid rgb(var(--fgr) / .1); border-radius: 16px; background: var(--surface); color: var(--muted); transition: color .35s, border-color .35s, transform .45s var(--ease); }
.logo:hover { color: var(--ink); border-color: var(--ak); transform: translateY(-4px); }
.logo img { max-width: 70%; max-height: 52px; width: auto; object-fit: contain; opacity: .7; filter: var(--logo-filter); transition: opacity .35s; }
.logo:hover img { opacity: 1; }
.logo-name { font-weight: 700; font-size: 22px; letter-spacing: -.02em; }

/* Sections */
.section { padding: 120px 0; }
.section-tight { padding: 40px 0 120px; }
.split { display: flex; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.split-side { flex: 1 1 400px; min-width: 0; }
.split-main { flex: 1 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sticky { position: sticky; top: 140px; }

/* Code window */
.codewin { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.codewin-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.codewin-bar > span:not(.codewin-file) { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--fgr) / .18); }
.codewin-file { margin-left: 12px; font-size: 12px; color: var(--muted); }
.codewin-body { padding: 22px 0; font-size: clamp(12px, 1.05vw, 14px); line-height: 2; overflow-x: auto; }
.cl { display: flex; white-space: pre; padding: 0 22px; }
.ln { width: 32px; flex: none; color: var(--faint); user-select: none; }
.c-cm { color: var(--muted); } .c-lq { color: var(--ak); } .c-tx { color: var(--ink); } .c-at { color: var(--attr); } .c-st { color: var(--ink-2); }
.rendered { display: flex; align-items: center; gap: 12px; color: var(--ak); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.rendered span:first-of-type { color: var(--muted); }
.rendered .rule { flex: 1; height: 1px; background: var(--line); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-soft); padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.tile-img { flex: 1; border-radius: 8px; background: var(--surface-3); }
.tile-img.tone-accent { background: var(--accent); }
.tile-img.tone-light { background: var(--ink); }
.tile-l1, .tile-l2 { height: 6px; border-radius: 3px; background: rgb(var(--fgr) / .25); width: 70%; }
.tile-l2 { width: 40%; background: rgb(var(--fgr) / .12); }

/* Work rows */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.work-intro { margin: 0; max-width: 340px; color: var(--ink-3); }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 360px) 48px; align-items: center; gap: 24px; padding: 30px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: color .35s; }
.row::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-io); z-index: 0; }
.row > * { position: relative; z-index: 1; }
.row:hover, .row:focus-visible { color: var(--on-accent); }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.row .muted { transition: color .35s; }
.row:hover .muted, .row:focus-visible .muted { color: var(--on-accent); }
.row-n { font-size: 13px; }
.rname { font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; transition: transform .5s var(--ease); }
.row:hover .rname { transform: translateX(16px); }
.row-what { display: block; font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; margin-top: 8px; }
.tags { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.arrow { display: inline-flex; justify-content: flex-end; transition: transform .5s var(--ease); }
.row:hover .arrow, .row:focus-visible .arrow { transform: rotate(-45deg); }
.all-work { margin: 32px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Services */
.svc { display: flex; flex-wrap: wrap; gap: 20px 40px; padding: 44px 0; border-top: 1px solid var(--line); transition: border-color .4s; }
.svc:hover { border-color: var(--ak); }
.svc-n { font-size: 13px; color: var(--ak); width: 48px; }
.svc-text { flex: 1 1 380px; min-width: 0; }
.stitle { margin: 0 0 14px; font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.025em; transition: transform .5s var(--ease); }
.svc:hover .stitle { transform: translateX(10px); }
.svc p { margin: 0; color: var(--ink-3); max-width: 520px; }

/* Contact call to action */
.contact-cta { padding: 140px 0 100px; position: relative; overflow: hidden; }
.contact-title { margin: 0; font-weight: 800; font-size: clamp(36px, 10vw, 168px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.contact-title .fill { display: block; }
.contact-title .indent { padding-left: clamp(0px, 12vw, 220px); }
.fill { color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fgr) / .55); background: linear-gradient(var(--ak), var(--ak)) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 64px; }
.contact-mail { font-size: 14px; color: var(--muted); margin-left: 12px; }

/* Footer */
.site-footer { border-top: 1px solid rgb(var(--fgr) / .1); padding: 28px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); }

/* Inner pages */
.page-head { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); }
.page-head .lead { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .2); background: transparent; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ak); }
.filter.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--ak); }
.filter.is-on .muted { color: var(--on-accent); }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 40px 28px; }
.project-card[hidden] { display: none; }
.project-card-link { display: block; text-decoration: none; }
.project-card-img { display: block; aspect-ratio: 1280 / 908; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.project-card-link:hover img { transform: scale(1.04); }
.project-card-blank { display: flex; height: 100%; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; color: var(--muted); }
.project-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.project-card-title { font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.project-card-link:hover .project-card-title { color: var(--ak); }
.project-card-plat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 40px 0 36px; font-size: 13px; }
.facts dt { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-bottom: 4px; }
.facts dd { margin: 0; }
.project-shots { display: flex; flex-direction: column; gap: 28px; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.shot img { width: 100%; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.post-card { border-bottom: 1px solid var(--line); }
.post-card-link { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; text-decoration: none; height: 100%; }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; margin-bottom: 10px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card-title { font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; transition: color .3s; }
.post-card-link:hover .post-card-title { color: var(--ak); }
.post-card-excerpt { color: var(--ink-3); font-size: 15px; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ak); }
.pager { margin-top: 48px; font-size: 14px; }
.pager .nav-links, .pager { display: flex; gap: 8px; flex-wrap: wrap; text-transform: none; letter-spacing: 0; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pager .page-numbers.current { background: var(--accent); color: var(--on-accent); border-color: var(--ak); }

/* Article content */
.prose { padding-bottom: 80px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--disp); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin-top: 2em; margin-bottom: .5em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); }
.prose a { color: var(--ak); }
.prose img { border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose .sf-promo-box { padding: 20px 24px; border: 1px solid var(--surface-3); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface-2); }
.prose .sf-promo-box p { margin: 0; }
.prose .sf-promo-box p + p { margin-top: .6em; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose .sf-figure { margin: 2em 0; }
.prose .sf-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 500; }
.prose-legacy { max-width: 1000px; }
.entry-hero { margin: 0 auto 48px; }
.entry-hero img { border-radius: 16px; width: 100%; }
.entry-foot { padding-bottom: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.post-navigation a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.post-navigation a:hover { border-color: var(--ak); }
.post-navigation .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.post-navigation .disp { font-weight: 700; font-size: 20px; line-height: 1.2; }
.nav-next { text-align: right; }

.comments { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-top: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-author img { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }

/* Forms */
.contact-head { padding-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; font-size: 19px; }
.contact-list .mono { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { text-decoration: none; }
.contact-form { display: flex; flex-direction: column; gap: 4px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 20px; }
.field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.field label, .comment-form label { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgb(var(--fgr) / .16); background: var(--bg); color: var(--ink); transition: border-color .3s; }
.field textarea, .comment-form textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ak); }
.contact-form .pill { align-self: flex-start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; font-size: 15px; }
.notice-ok { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); border: 1px solid var(--accent); }
.notice-err { background: rgba(255, 120, 110, .12); color: #FFB4AD; border: 1px solid rgba(255, 120, 110, .5); }
html.light .notice-err { color: #9B1C1C; }

/* Scroll-linked motion, where the browser supports it. Everything is visible without it. */
@supports (animation-timeline: view()) {
	.progress { animation: grow linear both; animation-timeline: scroll(root); }
	@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	.drift-l { animation: driftl linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
	.drift-r { animation: driftr linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
	@keyframes driftl { to { transform: translateX(-18%); opacity: .15; } }
	@keyframes driftr { to { transform: translateX(18%); opacity: .15; } }
	.rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
	@keyframes rv { from { opacity: 0; transform: translateY(64px); } }
	.clip { animation: clip linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
	@keyframes clip { from { clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { clip-path: inset(0 0 0 0); } }
	.cl { animation: typein linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
	@keyframes typein { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } }
	.tile { animation: tile linear both; animation-timeline: view(); }
	.t1 { animation-range: entry 40% cover 40%; } .t2 { animation-range: entry 55% cover 45%; } .t3 { animation-range: entry 70% cover 50%; } .t4 { animation-range: entry 85% cover 55%; }
	@keyframes tile { from { opacity: 0; transform: translateY(40px) scale(.9); } }
	.fill { animation: fill linear both; animation-timeline: view(); animation-range: entry 15% cover 50%; }
	@keyframes fill { from { background-size: 0% 100%; } }
	.band { animation: band linear both; animation-timeline: view(); }
	@keyframes band { from { transform: rotate(-4deg) scale(1.06); } to { transform: rotate(2deg) scale(1.06); } }
	.shot { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
}

/* Small screens */
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	.nav-right { gap: 10px !important; }
	.brand-name { display: none; }
	.split { flex-direction: column; align-items: stretch; }
	.sticky { position: static; }
	.row { grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 14px; padding: 24px 4px; }
	.row .tags { display: none; }
	.hero { min-height: 0; padding: 56px 0 96px; }
	.ringwrap { width: 150px; height: 150px; right: 12px; top: auto; bottom: 24px; opacity: .6; }
	.tiles { gap: 8px; }
	.section { padding: 80px 0; }
	.contact-cta { padding: 96px 0 72px; }
	.contact-actions { margin-top: 40px; }
	.contact-mail { margin-left: 0; width: 100%; }
	.facts { gap: 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.cursor { display: none; }
}

/* ===== v2 design additions ===== */
.small-caps { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.swap { animation: fadeup .8s var(--ease) both; }
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.more svg { transition: transform .4s var(--ease); }
.more:hover svg { transform: translateX(6px); }
.h-md { margin: 0 0 24px; font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.h-md2 { margin: 0; font-weight: 700; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.lead-sm { margin: 0; max-width: 680px; color: var(--ink-3); }
.section-mid { padding: 72px 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .15); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tagchip.is-accent { background: var(--accent); border-color: var(--ak); color: var(--on-accent); }
.stackchip { padding: 12px 20px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .18); font-size: 13px; letter-spacing: .04em; }

/* Services rows on the homepage */
.row-svc { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 420px) 48px; padding: 28px 12px; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .18); transition: border-color .35s, color .35s; }
.row:hover .ico { border-color: var(--on-accent); color: var(--on-accent); }
.rname-svc { font-size: clamp(24px, 3vw, 44px); }
.svc-short { font-family: var(--body); font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }

/* About */
.split-center { align-items: center; }
.about-photo-col { flex: 1 1 380px; min-width: 0; max-width: 480px; }
.about-text-col { flex: 1 1 560px; min-width: 0; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; transition: transform .8s var(--ease); }
.photo:hover { transform: rotate(-2deg) scale(1.02); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hello { position: absolute; top: 20px; right: 20px; width: 92px; height: 92px; }
.hello-text { font-family: var(--mono); font-size: 22px; letter-spacing: 5px; fill: var(--accent); text-transform: uppercase; }
.about-words { margin: 0; font-weight: 700; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.about-words .word { display: inline-block; margin-right: .26em; }
.facts-grid { margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 32px; }
.facts-grid > div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts-grid dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts-grid dd { margin: 6px 0 0; }

/* Side projects */
.side-h { margin-bottom: 56px; }
.side-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.side { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 32px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .4s, transform .6s var(--ease); }
.side:hover { border-color: var(--ak); transform: translateY(-6px); color: var(--ink); }
.side-art { height: 220px; border-radius: 16px; background: var(--bg); }
.side-art-fun { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 28px; }
.sq { display: block; border-radius: 6px; animation: sq 2.4s var(--ease-io) infinite; }
@keyframes sq { 0%, 100% { transform: scale(1); border-radius: 6px; } 50% { transform: scale(.45) rotate(45deg); border-radius: 50%; } }
.tone-a { background: var(--accent); } .tone-d { background: var(--surface-3); } .tone-l { background: var(--ink); } .tone-m { background: var(--faint); }
.side-art-tools { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 32px; }
.tbar { display: flex; align-items: center; gap: 16px; }
.tbar .mono { width: 64px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.track { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.track .bar { display: block; height: 100%; border-radius: 4px; transform-origin: left; animation: barx 3s var(--ease-io) infinite alternate; }
@keyframes barx { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.side-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.side-url { font-size: 12px; letter-spacing: .08em; color: var(--ak); }
.side h3 { margin: 8px 0; font-weight: 700; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; }
.side p { margin: 0; color: var(--ink-3); }
.go { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .25); transition: transform .5s var(--ease), background .3s, color .3s; }
.side:hover .go { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }

/* Inner page hero */
.page-hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.page-hero-inner { position: relative; }
.gridbg-side { -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ak); }
.crumbs .here { color: var(--ink); }
.mega { margin: 0; font-weight: 800; font-size: clamp(64px, 14vw, 230px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.mega-count { display: inline-block; vertical-align: top; margin-left: .2em; font-size: .14em; font-weight: 400; letter-spacing: 0; color: var(--ak); }
.page-lead { margin: 32px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.blog-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.blog-hero .page-lead { margin: 0; max-width: 400px; }

/* Sticky filter bar */
.filterbar { position: sticky; top: 72px; z-index: 40; background: rgb(var(--bgr) / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.admin-bar .filterbar { top: 104px; }
.filterbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.filterbar .chips, .filterbar-inner { padding-top: 12px; padding-bottom: 12px; }
.filterbar-inner .chips { padding: 0; }
.chips { display: flex; gap: 10px; overflow-x: auto; min-width: 0; }
.scrollx { scrollbar-width: none; }
.scrollx::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid rgb(var(--fgr) / .18); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip span:not(.tabname) { font-size: 11px; color: var(--muted); }
.chip:hover { border-color: var(--ak); color: var(--ink); }
.chip.is-on { background: var(--accent); border-color: var(--ak); color: var(--on-accent); }
.chip.is-on span { color: var(--on-accent); opacity: .7; }
.viewtog { flex: none; display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .18); }
.viewtog button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: var(--ink); }
.viewtog button.is-on { background: var(--accent); color: var(--on-accent); }

/* Listings */
.listing { padding: 56px 0 120px; min-height: 400px; }
.listing-count { margin: 0 0 28px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.empty-state { padding: 96px 24px; border: 1px dashed rgb(var(--fgr) / .2); border-radius: 24px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state h2 { margin: 0 0 12px; font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }
.empty-state p { margin: 0 auto 28px; max-width: 420px; color: var(--ink-3); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 40px 24px; }
.work-grid[hidden], .work-list[hidden], [data-cats][hidden] { display: none !important; }
.wcard { display: flex; flex-direction: column; gap: 20px; text-decoration: none; color: var(--ink); }
.wcard:hover { color: var(--ink); }
.wcard-media { position: relative; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease); }
.cover-img { object-fit: cover; object-position: top center; }
.wcard:hover .cover { transform: scale(1.04); }
.cover-letter { display: flex; align-items: center; justify-content: center; }
.cover-letter.tone-0 { background: var(--surface-2); } .cover-letter.tone-1 { background: var(--surface); } .cover-letter.tone-2 { background: var(--surface-2); }
.cover-letter span { font-weight: 800; font-size: clamp(120px, 14vw, 220px); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fgr) / .35); }
.cover-letter span.stroke-accent { -webkit-text-stroke-color: var(--ak); }
.warrow { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(var(--bgr) / .7); color: var(--ink); transition: transform .5s var(--ease), background .3s, color .3s; }
.wcard:hover .warrow { transform: rotate(-45deg); background: var(--accent); color: var(--on-accent); }
.wcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wname { margin: 0 0 6px; font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.025em; transition: color .3s; }
.wcard:hover .wname { color: var(--ak); }
.wcard-head p { margin: 0; font-size: 15px; color: var(--ink-3); }
.wnum { flex: none; font-size: 12px; }
.row-list { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 320px); padding: 26px 12px; }
.rname-sm { font-size: clamp(24px, 3vw, 44px); }
.row-list:hover .rname { transform: none; }

/* Case study */
.case-title { margin: 0; font-weight: 800; font-size: clamp(52px, 11vw, 184px); line-height: .9; letter-spacing: -.055em; overflow: hidden; padding-bottom: .04em; }
.case-title.is-long { font-size: clamp(40px, 7vw, 120px); }
.wd { display: inline-block; white-space: nowrap; }
.page-hero .chips-row { margin-bottom: 28px; }
.page-hero .facts-grid { margin-top: 56px; }
.page-hero .facts-grid a { color: var(--ink); }
.case-hero-wrap { padding: 24px var(--gutter) 96px; }
.case-hero { position: relative; max-width: 1360px; margin: 0 auto; aspect-ratio: 16 / 8; border-radius: 24px; overflow: hidden; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); }
.case-hero img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-hero-letter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.case-hero-letter span { font-weight: 800; font-size: clamp(160px, 26vw, 420px); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.case-body { padding: 24px 0 96px; }
.case-cols { display: flex; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.toc { position: sticky; top: 120px; flex: 0 0 220px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.toc p { margin: 0 0 12px; color: var(--ak); }
.toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--muted); transition: color .3s; }
.toc a:hover { color: var(--ink); }
.toc .bar { width: 16px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.toc a:hover .bar { width: 36px; background: var(--accent); }
.case-main { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 96px; }
.case-sec { scroll-margin-top: 110px; }
.case-sec .eyebrow { margin-bottom: 20px; }
.prose-flat { padding: 24px 0 0; }
.built { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.built li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.built .mono { font-size: 13px; color: var(--ak); padding-top: 6px; }
.built h3 { margin: 0 0 8px; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.built p { margin: 0; color: var(--ink-3); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery .shot { border-radius: 20px; transition: transform .9s var(--ease); }
.gallery .shot:first-child:last-child, .gallery .shot:nth-child(3n) { grid-column: 1 / -1; }
.gallery .shot:hover { transform: scale(.985); }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pn-nav { padding: 0 0 96px; }
.pn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: 12px; padding: 40px 0; text-decoration: none; color: var(--ink); transition: color .35s; }
.pn:hover { color: var(--ak); }
.pn .mono { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pn .disp { font-weight: 700; font-size: clamp(30px, 4vw, 60px); line-height: 1; letter-spacing: -.04em; }
.pn svg { transition: transform .5s var(--ease); }
.pn.prev:hover svg { transform: translateX(-10px); }
.pn.nxt { align-items: flex-end; text-align: right; }
.pn.nxt:hover svg { transform: translateX(10px); }
.pn-back { margin: 32px 0 0; text-align: center; }
.pn-back a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Services pages */
.svc-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 48px; }
.svc-hero-text { flex: 1 1 640px; min-width: 0; }
.svc-hero .eyebrow { margin-bottom: 20px; }
.svc-title { margin: 0; font-weight: 800; font-size: clamp(40px, 6.4vw, 108px); line-height: .92; letter-spacing: -.05em; }
.svc-title .outline { display: block; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fgr) / .6); }
.svc-hero .btn-row { margin-top: 40px; gap: 16px; }
.svc-badge { position: relative; width: 260px; height: 260px; flex: none; }
.ring-text-sm { font-size: 10.5px; letter-spacing: 3px; }
.svc-badge-ico { position: absolute; inset: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.bigico { animation: bigico 1s var(--ease) both; }
@keyframes bigico { from { opacity: 0; transform: scale(.6) rotate(-30deg); } }
.filterbar > .chips { padding-top: 12px; padding-bottom: 12px; }
.subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.sub { display: flex; flex-direction: column; gap: 14px; min-height: 200px; padding: 28px; border-radius: 20px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); transition: border-color .4s, background .4s, transform .6s var(--ease); }
.sub:hover { border-color: var(--ak); background: var(--surface-2); transform: translateY(-4px); }
.sub-top { display: flex; justify-content: space-between; align-items: center; }
.sub-top .mono { font-size: 12px; color: var(--ak); }
.plus { color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.sub:hover .plus { transform: rotate(90deg); color: var(--ak); }
.sub h3 { margin: auto 0 0; font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.sub p { margin: 0; font-size: 15px; color: var(--ink-3); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.step { position: relative; padding-top: 28px; }
.lineg { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--accent); transform-origin: left; }
.step .mono { font-size: 12px; color: var(--ak); }
.step h3 { margin: 10px 0 8px; font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.step p { margin: 0; font-size: 15px; color: var(--ink-3); }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 16px; border-radius: 20px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .4s, transform .6s var(--ease); }
.card:hover { border-color: var(--ak); transform: translateY(-6px); color: var(--ink); }
.card-media { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: flex; align-items: flex-end; padding: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-letter { padding: 16px; font-weight: 800; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ak); }
.card-text { padding: 0 8px 8px; }
.card-text h3 { margin: 0 0 4px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.card-text p { margin: 0; font-size: 14px; color: var(--ink-3); }
.next-inner { border-top: 1px solid var(--line); padding-top: 40px; }
.next-wrap { padding-bottom: 120px; }
.next { display: flex; align-items: center; gap: 24px; margin-top: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: clamp(34px, 6vw, 96px); line-height: 1; letter-spacing: -.045em; transition: color .35s; }
.next:hover { color: var(--ak); }
.next svg { flex: none; transition: transform .5s var(--ease); }
.next:hover svg { transform: translateX(12px); }

/* Blog */
.post { text-decoration: none; color: var(--ink); }
.post:hover { color: var(--ink); }
.post-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px 48px; align-items: center; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.post-cover { position: relative; aspect-ratio: 1200 / 630; border-radius: 18px; overflow: hidden; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface-2); }
.post-cover-feat { border-radius: 24px; }
.pcover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .pcover { transform: scale(1.05); }
.pcover-orb .orb { position: absolute; left: 18%; top: 14%; width: 60%; height: 72%; border-radius: 42% 58% 55% 45%; background: var(--accent); opacity: .9; animation: orb 7s ease-in-out infinite alternate; }
.pcover-orb .gridbg { position: absolute; inset: 0; }
@keyframes orb { from { transform: translate(-10%, -6%) rotate(0); } to { transform: translate(10%, 6%) rotate(40deg); } }
.pcover-glyph { display: flex; align-items: center; justify-content: center; }
.pcover-glyph span { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.04em; }
.pcover-glyph.tone-0 { background: var(--accent); color: var(--on-accent); }
.pcover-glyph.tone-1 { background: var(--surface-2); color: var(--ak); }
.pcover-glyph.tone-2 { background: var(--surface-3); color: var(--ink); }
.post-cover.is-auto .post-cat { display: none; } /* Auto blog images already show the category. */
.post-cat { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgb(var(--bgr) / .75); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.post-feat .eyebrow { margin-bottom: 20px; }
.post-feat-title { margin: 0 0 20px; font-weight: 700; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.ptitle { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size .5s var(--ease-io); }
.post:hover .ptitle { background-size: 100% 1px; }
.post-excerpt { margin: 0; max-width: 520px; color: var(--ink-3); }
.post-feat .post-excerpt { margin-bottom: 28px; }
.post-feat-foot { display: flex; align-items: center; gap: 16px; }
.parr { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .25); transition: transform .5s var(--ease), background .3s, color .3s; }
.post:hover .parr { transform: rotate(-45deg); background: var(--accent); color: var(--on-accent); }
.post-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 24px; }
.post-grid2 .post { display: flex; flex-direction: column; gap: 18px; }
.post-title { margin: 0; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.post-grid2 .post-excerpt { font-size: 15px; }
.post-meta { margin-top: auto; }
.loadmore-wrap { display: flex; justify-content: center; margin-top: 72px; }
.loadmore { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 32px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .25); color: var(--ink); text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: border-color .3s, color .3s; }
.loadmore:hover { border-color: var(--ak); color: var(--ak); }
.loadmore[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* Call-to-action band */
.cta-wrap { padding: 0 var(--gutter) 96px; }
.cta-band { max-width: 1360px; margin: 0 auto; border-radius: 28px; background: var(--accent); color: var(--on-accent); padding: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { margin: 0; max-width: 720px; font-weight: 800; font-size: clamp(32px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--on-accent); }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 30px; border-radius: 999px; background: #0B0B0D; color: #F5F4F0; text-decoration: none; font-weight: 500; transition: transform .35s var(--ease); }
.cta-btn:hover { color: var(--ink); transform: translateY(-2px); }

@supports (animation-timeline: view()) {
	.par { animation: parx linear both; animation-timeline: view(); }
	@keyframes parx { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
	.case-hero .par { animation-name: parzoom; }
	@keyframes parzoom { from { transform: scale(1.15) translateY(-40px); } to { transform: scale(1) translateY(40px); } }
	.grow { animation: growin linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
	@keyframes growin { from { clip-path: inset(12% 8% 12% 8% round 24px); } to { clip-path: inset(0 0 0 0 round 24px); } }
	.word { animation: wordin linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
	@keyframes wordin { from { opacity: .12; } }
	.step { animation: stepin linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
	@keyframes stepin { from { opacity: 0; transform: translateX(-40px); } }
	.lineg { animation: lineg linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
	@keyframes lineg { from { transform: scaleX(0); } }
}

@media (max-width: 900px) {
	.toc { display: none; }
	.case-cols { display: block; }
}
@media (max-width: 760px) {
	.row-svc { grid-template-columns: 56px minmax(0, 1fr) 32px; }
	.row-svc .ico { width: 44px; height: 44px; }
	.row-list { grid-template-columns: 44px minmax(0, 1fr); }
	.viewtog { display: none; }
	.tabname { display: none; }
	.svc-badge { display: none; }
	.filterbar { top: 72px; }
	.mega { font-size: clamp(56px, 18vw, 120px); }
	.case-title, .case-title.is-long { font-size: clamp(40px, 12vw, 80px); }
	.side-art { height: 180px; }
	.post-feat { padding-bottom: 40px; margin-bottom: 40px; }
}

/* Service landing page */
.land-hero { padding-bottom: 80px; }
.land-hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.land-hero-text { flex: 1 1 560px; min-width: 0; container-type: inline-size; }
.land-badge { margin-bottom: 28px; }
.land-title { margin: 0; font-weight: 800; font-size: clamp(28px, 9.2cqw, 136px); line-height: .9; letter-spacing: -.05em; }
.land-name { display: block; overflow: hidden; white-space: nowrap; padding: 0 .12em .04em 0; }
.land-title .outline { display: block; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fgr) / .6); }
.land-hero .page-lead { max-width: 580px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); margin-top: 32px; }
.land-hero .btn-row { margin-top: 40px; gap: 14px; }
.hubwrap { flex: 1 1 340px; min-width: 0; max-width: 480px; }
.hub { position: relative; width: 100%; aspect-ratio: 1 / 1; container-type: inline-size; }
.hub-rings { position: absolute; inset: 0; }
.hub-rings circle { stroke: rgb(var(--fgr) / .12); }
.hub-rings circle.dash { stroke: rgb(var(--fgr) / .18); animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit-pos { position: absolute; transform: translate(-50%, -50%); }
.op { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .2); background: var(--surface); font-size: clamp(9px, 2.6cqw, 12px); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); animation: spin 40s linear infinite reverse; }
.hubcore { position: absolute; left: 50%; top: 50%; width: 34%; height: 34%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; animation: corepulse 3.2s ease-in-out infinite; }
.hubcore svg { width: 44%; height: 44%; }
@keyframes corepulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent); } 50% { box-shadow: 0 0 0 28px transparent; } }
.land-facts { padding: 24px 0 80px; }
.facts-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.fact { padding: 28px; border-radius: 20px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); transition: transform .6s var(--ease); }
.fact:hover { transform: translateY(-6px); }
.fact .mono { font-size: 12px; color: var(--ak); }
.fact h2 { margin: 14px 0 8px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.fact p { margin: 0; font-size: 15px; color: var(--ink-3); }
.land-sec { padding: 80px 0; scroll-margin-top: 90px; }
.land-h { margin-bottom: 56px; max-width: 820px; }
.land-h0 { max-width: 760px; }
.idx-layout { display: flex; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.idxwrap { position: sticky; top: 110px; flex: 0 0 280px; font-size: 13px; }
.idx { display: flex; flex-direction: column; }
.idx a { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; color: var(--muted); transition: color .3s; }
.idx a:hover, .idx a.on { color: var(--ink); }
.idx .bar { display: block; width: 16px; height: 1px; background: currentColor; transition: width .4s var(--ease), background .3s; }
.idx a.on .bar, .idx a:hover .bar { width: 28px; background: var(--accent); }
.blks { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.blk { scroll-margin-top: 100px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); transition: border-color .5s; }
.blk.on { border-color: var(--accent); }
.blk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.blk-n { font-size: 12px; color: var(--ak); }
.blk h3 { margin: 0 0 12px; font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.blk p { margin: 0 0 24px; max-width: 620px; color: var(--ink-3); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ticks svg { flex: none; margin-top: 3px; color: var(--ak); }
.int-note { margin: 0; max-width: 380px; color: var(--ink-3); }
.icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 48px; }
.icard { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.icard:hover { border-color: var(--accent); transform: translateY(-4px); }
.icard-head { display: flex; align-items: center; gap: 12px; }
.icard-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-3); color: var(--ak); }
.icard h3 { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.icard p { margin: 0; font-size: 15px; color: var(--ink-3); }
.ipills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ipill { padding: 6px 12px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .15); font-size: 12px; color: var(--ink-2); transition: border-color .3s; }
.icard:hover .ipill { border-color: rgb(var(--fgr) / .3); }
.rel-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card-media-cs { position: relative; aspect-ratio: 16 / 11; align-items: center; justify-content: center; }
.card-letter-c { font-size: 96px; padding: 0; }
.cs-badge { position: absolute; left: 12px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.faq-split { align-items: flex-start; }
.faq-split .split-side { top: 110px; flex: 1 1 340px; }
.faqs { flex: 1 1 640px; min-width: 0; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faqq { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.015em; transition: color .3s; }
.faqq::-webkit-details-marker { display: none; }
.faqq:hover { color: var(--ak); }
.pm { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .2); transition: transform .5s var(--ease); }
.faq[open] .pm { transform: rotate(45deg); }
.faqa { padding: 0 64px 28px 0; color: var(--ink-3); animation: fadeup .6s var(--ease) both; }
.cs-badge-lg { position: absolute; left: 16px; bottom: 14px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; z-index: 1; }
@media (max-width: 900px) { .idxwrap { display: none; } }
@media (max-width: 760px) { .hubwrap { max-width: 360px; margin: 0 auto; } .faqa { padding-right: 0; } }
@media (max-width: 520px) { .talk { display: none !important; } .nav-right { gap: 10px; } }
.land-sec .work-head > div { flex: 1 1 520px; min-width: 0; }

/* Client logos shown as uploaded */
.logo-raw img { filter: none; opacity: .9; }

/* Auditor side card */
.side-art-audit { display: flex; align-items: center; gap: 28px; padding: 28px 32px; }
.gauge { position: relative; flex: none; width: 116px; height: 116px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.g-track { stroke: rgb(var(--fgr) / .1); }
.g-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; animation: gauge 3.2s var(--ease) infinite; }
@keyframes gauge { 0% { stroke-dashoffset: 314; } 45%, 80% { stroke-dashoffset: 25; } 100% { stroke-dashoffset: 314; } }
.g-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 32px; letter-spacing: -.03em; }
.audit-lines { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.audit-lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgb(var(--fgr) / .1); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.audit-lines li span:last-child { color: var(--ink); }
.side-soon { cursor: default; }
.side-soon .side-url { color: var(--ak); }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 22px; background: var(--bg); transition: opacity .5s var(--ease), visibility .5s; }
html.is-loading .preloader { display: flex; }
html.is-loaded .preloader { opacity: 0; visibility: hidden; }
.pre-mark { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgb(var(--fgr) / .25); font-family: var(--disp); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); animation: premark 1s var(--ease) both; }
@keyframes premark { from { opacity: 0; transform: scale(.6) rotate(-30deg); } }
.pre-bar { width: 120px; height: 2px; border-radius: 2px; overflow: hidden; background: rgb(var(--fgr) / .12); }
.pre-bar span { display: block; width: 40%; height: 100%; background: var(--accent); animation: prebar 1s ease-in-out infinite; }
@keyframes prebar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Floating 1:1 booking button */
.book-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 30px rgb(0 0 0 / .25); transform: translateY(0); transition: transform .4s var(--ease), background .3s, color .3s, opacity .4s; }
.book-float:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.book-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 520px) { .book-float { min-height: 44px; padding: 0 14px; } .book-float .bf-long { display: none; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none !important; } }

/* Case studies page title */
.mega-cs { font-size: clamp(52px, 11vw, 190px); }
.mega-line { display: block; overflow: hidden; }
.mega-cs .outline { color: transparent; -webkit-text-stroke: 1.5px rgb(var(--fgr) / .6); }

/* Blog post */
.post-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.post-hero-inner { position: relative; max-width: 1100px; }
.post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 28px; }
.tagchip-on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); text-decoration: none; }
.entry-title-xl { margin: 0; font-weight: 800; font-size: clamp(36px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.post-hero .page-lead { max-width: 760px; margin-top: 28px; color: var(--ink-2); }
.post-author { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.post-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.post-author > span { display: flex; flex-direction: column; line-height: 1.3; }
.post-author .mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.post-cover-lg { margin: 0 auto 72px; }
.post-cover-lg img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.post-layout { display: flex; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.post-toc { position: sticky; top: 110px; flex: 0 0 240px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.post-toc[hidden] { display: none; }
.post-toc-h { margin: 0 0 12px; color: var(--ak); }
.post-toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; min-height: 40px; padding: 4px 0; color: var(--muted); text-decoration: none; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 14px; line-height: 1.35; transition: color .3s; }
.post-toc a .bar { display: block; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease), background .3s; }
.post-toc a:hover, .post-toc a.on { color: var(--ink); }
.post-toc a.on .bar, .post-toc a:hover .bar { width: 22px; background: var(--accent); }
.post-body { flex: 1 1 0; min-width: 0; max-width: 760px; }
.post-body > :first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 100px; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose .callout { padding: 22px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.prose .callout > :first-child { margin-top: 0; }
.prose .callout > :last-child { margin-bottom: 0; }
.prose .table-wrap { overflow-x: auto; }
.prose table { display: table; }
.prose thead th { background: var(--surface); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.post-end { max-width: 1100px; padding-bottom: 40px; }
.author-box { display: flex; gap: 28px; align-items: flex-start; margin-top: 24px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.author-box img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author-box h2 { margin: 6px 0 8px; font-weight: 700; font-size: 28px; letter-spacing: -.02em; }
.author-box p { margin: 0; color: var(--ink-3); }
.author-box .btn-row { margin-top: 20px; gap: 12px; }
@media (max-width: 1000px) { .post-toc { display: none !important; } }
@media (max-width: 600px) { .author-box { flex-direction: column; } }

/* Location landing pages */
.loc-title { margin: 28px 0 0; font-weight: 800; font-size: clamp(40px, 7vw, 120px); line-height: .95; letter-spacing: -.05em; text-wrap: balance; max-width: 1100px; }
.loc-hero .page-lead { max-width: 640px; margin-top: 28px; color: var(--ink-2); }
.loc-hero .btn-row { margin-top: 36px; }
.loc-sec { padding: 64px 0; }
.loc-body { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.loc-body > section { padding: 40px 0; border-top: 1px solid var(--line); }
.loc-body > section:first-child { border-top: 0; padding-top: 0; }
.loc-body h2 { margin: 0 0 20px; max-width: 900px; font-family: var(--disp); font-weight: 700; color: var(--ink); font-size: clamp(30px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.loc-body .eyebrow { margin-bottom: 18px; }
.loc-body > section > p { max-width: 760px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 36px; }
.loc-card { padding: 28px; border-radius: 20px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.loc-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.loc-card .mono { font-size: 12px; color: var(--ak); }
.loc-card h3 { margin: 12px 0 8px; font-family: var(--disp); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.loc-card p { margin: 0; font-size: 15px; color: var(--ink-3); }
.loc-body .faqs { margin-top: 28px; max-width: 900px; }
.loc-body .faqa { font-size: 17px; }
.loc-body a { color: var(--ak); }

/* Article components (rebuilt blog posts) */
.prose .pkicker { margin: 2.6em 0 -.4em; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ak); }
.prose .pkicker + h2 { margin-top: .6em; }
.prose > .pkicker:first-child { margin-top: 0; }
.prose .plead { font-size: 1.12em; color: var(--ink); }
.prose .pbtn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .pbtn-row + .pbtn-row { margin-top: 10px; }
.prose .sf-btn { min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 500; text-decoration: none; }
.prose .pbtn-row + .pbtn-row .sf-btn, .prose .callout .pbtn-row ~ .pbtn-row .sf-btn { background: transparent; color: var(--ink); border: 1px solid rgb(var(--fgr) / .25); }
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 2em 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.pstats > div { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--surface); }
.pstats strong { font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--ak); }
.pstats span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 1.6em 0 2em; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; border: 1px solid rgb(var(--fgr) / .1); background: var(--surface); font-size: 15px; line-height: 1.6; transition: border-color .4s, transform .6s var(--ease); }
.pcard:hover { border-color: var(--accent); transform: translateY(-3px); }
.prose .pcard > * { margin: 0; }
.prose .pcard h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.25; }
.pcard-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); font-size: 20px; }
.pcard-tick { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; }
.pcard-num { font-family: var(--disp); font-weight: 800; font-size: 28px; color: var(--ak); letter-spacing: -.03em; line-height: 1; }
.prose .pcard-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ak); }
.pcard p { color: var(--ink-3); }
.pcards-check { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.psteps { list-style: none; margin: 1.6em 0 2em; padding: 0 !important; counter-reset: none; border-top: 1px solid var(--line); }
.prose .psteps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pnum { font-family: var(--mono); font-size: 13px; color: var(--ak); padding-top: 6px; }
.prose .psteps h3 { margin: 0 0 8px; font-size: clamp(20px, 2vw, 26px); }
.prose .psteps p { margin: 0 0 12px; }
.ptags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0 !important; }
.prose .ptags li { margin: 0; padding: 5px 11px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .15); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); line-height: 1.4; }
.prose .callout { margin: 2.4em 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.prose .callout h2, .prose .callout h3 { margin-top: 0; }
.prose .callout .pcards { margin-bottom: 1.4em; }
/* Quiz */
.pquiz { margin: 2em 0; padding: clamp(22px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.pquiz-steps { list-style: none; margin: 0; padding: 0 !important; }
.prose .pquiz-step { margin: 0; }
.prose .pquiz-prog { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose .pquiz-q { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 30px); }
.pquiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.pquiz-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid rgb(var(--fgr) / .15); background: var(--bg); color: var(--ink); text-align: left; font: inherit; font-size: 15px; line-height: 1.45; cursor: pointer; transition: border-color .3s, transform .4s var(--ease); }
.pquiz-opt:hover, .pquiz-opt:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.pquiz-opt > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pquiz-opt strong { font-family: var(--disp); font-size: 17px; }
.pquiz-opt span span { color: var(--muted); font-size: 14px; }
.pquiz-ico { font-size: 22px; line-height: 1.2; }
.pquiz-result { text-align: left; }
.pquiz-r-ico { font-size: 40px; }
.prose .pquiz-result h3 { margin: 4px 0 8px; font-size: clamp(32px, 4vw, 48px); color: var(--ak); }
.prose .pquiz-result .pkicker { margin: 10px 0 0; }
.pquiz-reasons { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.prose .pquiz-reasons li { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.pquiz-retake { margin-top: 16px; padding: 10px 0; border: 0; background: none; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.pquiz-retake:hover { color: var(--ink); }

/* Tabs, accordion and score lists in articles */
.ptabs { margin: 1.6em 0 2em; }
.ptabs-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ptabs-nav::-webkit-scrollbar { display: none; }
.ptabs-nav button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .18); background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.ptabs-nav button:hover { border-color: var(--accent); }
.ptabs-nav button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.prose .ptab-title { margin: 18px 0 8px; font-family: var(--disp); font-weight: 700; font-size: 20px; color: var(--ink); }
.ptabs.is-js .ptab-title { display: none; }
.ptab-panel .table-wrap { margin-top: 14px; }
.prose .ptab-winner { margin-top: 12px; font-weight: 600; color: var(--ink); }
.prose table td:nth-child(n+2), .prose table th:nth-child(n+2) { text-align: center; }
.paccs { margin: 1.6em 0 2em; border-top: 1px solid var(--line); }
.pacc { border-bottom: 1px solid var(--line); }
.pacc summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 40px; align-items: center; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; }
.pacc summary::-webkit-details-marker { display: none; }
.pacc-num { font-size: 12px; color: var(--ak); }
.pacc-title { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); }
.pacc-badges { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pacc[open] .pm { transform: rotate(45deg); }
.pacc-body { padding: 0 0 22px 52px; }
.pacc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.prose .pacc-grid h4 { margin: 0 0 6px; font-size: 16px; }
.prose .pacc-grid ul { margin: 0; font-size: 15px; }
.prose .pacc-verdict { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.pscores, .pchecks { list-style: none; margin: 6px 0 0 !important; padding: 0 !important; display: grid; gap: 6px; }
.prose .pscores li { display: flex; justify-content: space-between; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.pscores strong { font-family: var(--mono); color: var(--ak); }
.prose .pchecks li { position: relative; margin: 0; padding-left: 24px; font-size: 15px; }
.pchecks li::before { content: '✓'; position: absolute; left: 0; color: var(--ak); font-weight: 700; }
.prose .pwin { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .pacc summary { grid-template-columns: 32px minmax(0, 1fr) 36px; } .pacc-badges { display: none; } .pacc-body { padding-left: 0; } }

/* Social links */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgb(var(--fgr) / .2); color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.socials-about, .socials-contact-page { margin-top: 28px; }
.socials-contact { margin-top: 28px; }
.socials-author { margin-top: 16px; }
.socials-mnav { margin-top: 20px; }
.mnav .socials a { display: inline-flex; min-height: 44px; border-bottom: 1px solid rgb(var(--fgr) / .2); }
.socials-foot a { min-width: 36px; height: 36px; padding: 0; }
.footer-row { flex-wrap: wrap; }

/* ===== v2.5: fit, nav, services, partners, popup, art, rhythm ===== */

/* Big headings fit their box: long text gets smaller and wraps line by line. */
.wrap, .land-hero-text, .svc-hero-text { container-type: inline-size; }
.disp[data-fit] { font-size: min(var(--fmax), calc(100cqw / (var(--lw) * var(--cw, .92)))); white-space: normal; text-wrap: balance; overflow-wrap: normal; }
.mega[data-fit] { line-height: .9; padding-bottom: .04em; }
.land-title[data-fit] .land-name, .svc-title[data-fit] .svc-w1 { display: block; white-space: normal; }
.contact-title[data-fit] { font-size: min(var(--fmax), calc(92cqw / (var(--lw) * var(--cw, 1.1)))); }
.contact-title[data-fit] .indent { padding-left: min(12vw, 8cqw, 220px); }
h1, h2, h3, .rname, .faqq, .scard-t { overflow-wrap: break-word; }
.rname { min-width: 0; }
@media (max-width: 520px) {
	.rname { font-size: clamp(22px, 7vw, 30px); }
	.h-lg { font-size: clamp(30px, 8.6vw, 40px); }
	.h-xl { font-size: clamp(34px, 10vw, 48px); }
	.cta-band h2 { font-size: clamp(28px, 8vw, 40px); }
	.blk h3 { font-size: clamp(22px, 6.4vw, 28px); }
}

/* Services dropdown (desktop) */
.navdrop { position: relative; display: inline-flex; }
.navcaret { display: inline-flex; transition: transform .35s var(--ease); }
.navdrop.is-open .navcaret, .navdrop:hover .navcaret { transform: rotate(180deg); }
.navpanel { position: absolute; top: 100%; left: 50%; z-index: 60; padding-top: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.navdrop:hover .navpanel, .navdrop.is-open .navpanel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.navpanel-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: min(560px, 90vw); padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -20px rgb(0 0 0 / .5); }
.site-menu .navsvc { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 14px; transition: background .25s, color .25s; }
.site-menu .navsvc:hover, .site-menu .navsvc:focus-visible { background: var(--surface-2); color: var(--ak); }
.site-menu .navsvc.is-extra { color: var(--ink-3); }
.navsvc-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--surface-2); color: var(--ak); }
.site-menu .navsvc-all { grid-column: 1 / -1; justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ak); }

/* Services submenu (mobile) */
.msub { border-bottom: 1px solid rgb(var(--fgr) / .1); }
.msub summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; list-style: none; }
.msub summary::-webkit-details-marker { display: none; }
.msub summary.is-current { color: var(--ak); }
.msub .pm { display: inline-flex; transition: transform .35s var(--ease); }
.msub[open] .pm { transform: rotate(45deg); }
.msub-list { padding: 0 0 12px 14px; border-left: 1px solid var(--line); margin-left: 4px; }
.mnav .msub-list a { min-height: 44px; font-size: 18px; font-weight: 600; border-bottom: 0; color: var(--ink-2); }
.mnav .msub-list a:hover { color: var(--ak); }

/* Partner badges */
.partners { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.partners li { animation: fadeup .7s var(--ease) both; animation-delay: calc(var(--i, 0) * .08s + .2s); }
.partner { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
a.partner:hover { border-color: var(--ak); transform: translateY(-2px); }
.partner-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.partner-txt { display: flex; flex-direction: column; line-height: 1.15; }
.partner-name { font-weight: 600; font-size: 14px; }
.partner-sub { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.partner-img { display: block; height: 34px; width: auto; }
.clients-partners { margin-top: 32px; }
.partners-hero { margin-top: 32px; }
.footer-partners { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgb(var(--fgr) / .08); }
.partners-foot .partner { min-height: 40px; }
.partners-foot .partner-ico { width: 28px; height: 28px; }
.land-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; }
.land-badges .badge { margin-bottom: 0; }
.partners-inline .partner { min-height: 40px; padding-top: 3px; padding-bottom: 3px; }
.partners-inline .partner-ico { width: 30px; height: 30px; }

/* Services archive cards */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.sgrid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.scard { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 100%; padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease); }
.scard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%); opacity: 0; transition: opacity .5s; }
.scard:hover { border-color: var(--ak); transform: translateY(-4px); }
.scard:hover::before { opacity: 1; }
.scard-top { display: flex; justify-content: space-between; align-items: center; }
.scard-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); color: var(--ak); transition: transform .5s var(--ease), background .4s, color .4s; }
.scard:hover .scard-ico { transform: rotate(-8deg) scale(1.06); background: var(--accent); color: var(--on-accent); }
.scard-n { font-size: 12px; color: var(--muted); }
.scard-t { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.025em; }
.scard-d { color: var(--ink-3); font-size: 15px; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scard-tags span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; color: var(--ink-2); }
.scard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scard-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background .35s, color .35s, transform .45s var(--ease); }
.scard:hover .scard-arrow { background: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
.scard-sm .scard-ico { width: 44px; height: 44px; border-radius: 14px; }
.scard-sm .scard-t { font-size: clamp(20px, 1.9vw, 24px); }
.svc-archive-extra { padding-top: 0; }
.svc-extra-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 32px; }
.svc-extra-row .small-caps { margin-right: 6px; }
.chip-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transition: border-color .3s, color .3s, transform .4s var(--ease); }
.chip-link:hover { border-color: var(--ak); color: var(--ak); transform: translateY(-2px); }

/* Side-project popup */
.sidepop { position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right)); bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px)); width: min(400px, calc(100vw - 32px)); padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 80px -24px rgb(0 0 0 / .55); opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.sidepop.is-on { opacity: 1; transform: none; }
.sidepop[hidden] { display: none; }
.sidepop .eyebrow { margin-bottom: 8px; }
.sidepop-h { margin: 0 0 16px; font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.05; padding-right: 36px; }
.sidepop-x { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: transform .35s var(--ease), border-color .3s; }
.sidepop-x:hover { transform: rotate(90deg); border-color: var(--ak); }
.sidepop-list { display: grid; gap: 8px; }
.sidepop-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.sidepop.is-on .sidepop-card { animation: fadeup .6s var(--ease) both; animation-delay: calc(var(--i) * .08s + .15s); }
.sidepop-card:hover { border-color: var(--ak); background: var(--surface-2); transform: translateX(4px); }
.sidepop-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.sidepop-t { display: flex; flex-direction: column; min-width: 0; }
.sidepop-t .disp { font-weight: 700; font-size: 18px; }
.sidepop-d { font-size: 13px; color: var(--ink-3); line-height: 1.35; }

/* Showcase, journey */
.showgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.show { margin: 0; display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.show:hover { border-color: var(--ak); transform: translateY(-4px); }
.show-art { position: relative; display: flex; align-items: center; justify-content: center; height: 240px; padding: 22px; background: radial-gradient(120% 90% at 50% 0, color-mix(in srgb, var(--accent) 12%, var(--surface-2)), var(--surface-2)); container-type: inline-size; overflow: hidden; }
.show-art > * { width: 100%; max-width: 340px; font-size: clamp(9px, 3.2cqw, 12px); transition: transform .7s var(--ease); }
.show:hover .show-art > * { transform: translateY(-6px) scale(1.02); }
.show figcaption { padding: 24px; }
.show h3 { margin: 0 0 8px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.show p { margin: 0; font-size: 15px; color: var(--ink-3); }
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 32px 24px; counter-reset: j; }
.jstep { position: relative; padding: 0 0 0 0; }
.jstep::before { content: ''; position: absolute; top: 22px; left: 56px; right: -24px; height: 1px; background: linear-gradient(90deg, var(--ak), transparent); opacity: .5; }
.jstep:last-child::before { display: none; }
.jdot { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ak); color: var(--ak); font-size: 13px; background: var(--bg); transition: background .4s, color .4s; }
.jstep:hover .jdot { background: var(--accent); color: var(--on-accent); }
.jstep h3 { margin: 18px 0 8px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.jstep p { margin: 0; font-size: 15px; color: var(--ink-3); }

/* ---- Illustrations (mini UI mocks, decorative) ---- */
.artwrap { flex: 1 1 380px; min-width: 0; max-width: 560px; container-type: inline-size; }
.art { position: relative; font-size: clamp(9px, 2.6cqw, 14px); padding: 6% 4% 10%; }
.art-main { position: relative; z-index: 1; animation: artin 1s var(--ease) .3s both; }
.art-second { position: absolute; z-index: 2; right: -2%; bottom: 0; width: 46%; font-size: .8em; animation: artin 1s var(--ease) .6s both, float 7s ease-in-out 1.6s infinite; }
.art-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.1em; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: max(11px, .9em); white-space: nowrap; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); animation: chipin .8s var(--ease) both, float 6s ease-in-out infinite; }
.art-chip-0 { top: 0; left: -2%; animation-delay: .9s, 1.7s; }
.art-chip-1 { bottom: 2%; left: 6%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); animation-delay: 1.15s, 2.4s; }
.art-chip-1 svg { color: var(--ak); }
.art-glow { position: absolute; inset: 10% 5%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent); filter: blur(30px); animation: glow 8s ease-in-out infinite alternate; }
@keyframes artin { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes chipin { from { opacity: 0; transform: translateY(14px) scale(.8); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes glow { to { transform: scale(1.15); opacity: .7; } }
@media (max-width: 760px) { .artwrap { max-width: 440px; margin: 0 auto; } .art-second { width: 50%; } }
.art-frontend .art-second { width: 34%; right: -4%; bottom: -4%; }
.art-whatsapp .art-main { max-width: 78%; margin: 0 auto; }
.show-art:has(.m-phone) { align-items: flex-start; padding-bottom: 0; }
.show-art .m-phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.m-win, .m-card, .m-codewin, .m-phone { border-radius: 1.1em; border: 1px solid rgb(var(--fgr) / .14); background: var(--bg); box-shadow: 0 1.6em 3.6em -1.6em rgb(0 0 0 / .55); overflow: hidden; color: var(--ink); text-align: left; }
.m-bar { display: flex; align-items: center; gap: .4em; padding: .7em .9em; border-bottom: 1px solid rgb(var(--fgr) / .1); background: var(--surface); }
.m-bar i { width: .7em; height: .7em; border-radius: 50%; background: rgb(var(--fgr) / .2); }
.m-bar i:first-child { background: #FF5F57; } .m-bar i:nth-child(2) { background: #FEBC2E; } .m-bar i:nth-child(3) { background: #28C840; }
.m-url { flex: 1; margin-left: .6em; padding: .25em .8em; border-radius: 999px; background: var(--surface-2); font-size: .8em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-body { padding: 1em; }
.m-ln { display: block; height: .55em; margin: .45em 0; border-radius: 99px; background: rgb(var(--fgr) / .14); }
.m-ln.ln-strong { height: .9em; background: rgb(var(--fgr) / .55); }
.m-img { display: block; aspect-ratio: 1; border-radius: .6em; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 40%, var(--surface-2)), var(--surface-3)); }
.m-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: .6em; padding: .55em 1.1em; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .85em; font-weight: 600; }
.m-btn-full { display: flex; width: 100%; }
.m-price { display: block; margin-top: .3em; font-size: .85em; color: var(--ak); }
.m-tag { padding: .2em .7em; border-radius: 999px; background: color-mix(in srgb, #28C840 22%, transparent); color: #28C840; font-size: .85em; }
.m-av { display: inline-flex; align-items: center; justify-content: center; width: 2.2em; height: 2.2em; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .85em; }

.m-nav { display: flex; align-items: center; gap: .8em; margin-bottom: .9em; }
.m-nav b { font-size: .95em; letter-spacing: .08em; margin-right: auto; }
.m-nav > span { width: 2.6em; height: .45em; border-radius: 99px; background: rgb(var(--fgr) / .2); }
.m-cart { position: relative; display: inline-flex; color: var(--ink); }
.m-cart sup { position: absolute; top: -.7em; right: -.8em; display: inline-flex; align-items: center; justify-content: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .7em; font-style: normal; animation: pop 3.2s var(--ease) 1.4s infinite; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.5); } }
.m-banner { display: flex; align-items: center; min-height: 6.5em; padding: 1em; border-radius: .8em; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 34%, var(--surface-2)), var(--surface-2) 70%); }
.m-banner > div { width: 60%; }
.m-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin-top: .9em; }
.m-prods-4 { grid-template-columns: repeat(4, 1fr); }
.m-prods-2 { grid-template-columns: repeat(2, 1fr); }
.m-prods-3 { grid-template-columns: repeat(3, 1fr); }
.m-prod { animation: fadeup .7s var(--ease) both; animation-delay: calc(var(--i) * .12s + .8s); }
.m-prod .m-img { margin-bottom: .3em; }

.m-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.m-img-l { aspect-ratio: 4 / 5; }
.m-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; margin-top: .4em; }
.m-thumbs span { aspect-ratio: 1; border-radius: .4em; background: var(--surface-2); }
.m-sw { display: flex; gap: .4em; margin: .7em 0; }
.m-sw i { width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--surface-3); }
.m-sw i:nth-child(2) { background: var(--accent); } .m-sw i:nth-child(3) { background: #E8A87C; } .m-sw i:nth-child(4) { background: #85C88A; }
.m-sw i.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ak); }
.m-sizes { display: flex; gap: .4em; font-size: .8em; }
.m-sizes span { padding: .3em .7em; border-radius: .4em; border: 1px solid var(--line); }
.m-sizes .on { border-color: var(--ak); color: var(--ak); }

.m-ed { display: grid; grid-template-columns: 38% 1fr; gap: .8em; }
.m-secs { margin: 0; padding: 0; list-style: none; font-size: .78em; }
.m-secs li { display: flex; align-items: center; gap: .5em; padding: .55em .6em; border-radius: .5em; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.m-secs li.on { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--ak); }
.m-drag { width: .5em; height: .9em; flex: none; background: radial-gradient(circle, rgb(var(--fgr) / .4) 1px, transparent 1.4px) 0 0 / .25em .3em; }
.m-add { color: var(--ak) !important; }
.m-banner-sel { outline: 2px solid var(--ak); outline-offset: 2px; animation: selpulse 2.4s ease-in-out infinite; }
@keyframes selpulse { 50% { outline-color: transparent; } }

.m-co { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1em; }
.m-field { display: block; height: 1.8em; margin: .5em 0; border-radius: .5em; border: 1px solid var(--line); }
.m-co-pay { display: flex; gap: .4em; margin: .6em 0; font-size: .78em; }
.m-co-pay span { padding: .35em .7em; border-radius: .5em; border: 1px solid var(--line); }
.m-co-pay .on { border-color: var(--ak); color: var(--ak); }
.m-co-sum { padding: .7em; border-radius: .7em; background: var(--surface); }
.m-row { display: grid; grid-template-columns: 2.4em 1fr; align-items: center; gap: .6em; margin-bottom: .5em; }
.m-img-s { width: 2.4em; }
.m-tot { display: flex; justify-content: space-between; padding-top: .5em; border-top: 1px solid var(--line); font-size: .85em; }

.m-phone { position: relative; max-width: 15em; margin: 0 auto; padding: 2.2em .9em 1em; border-radius: 2em; border-width: 2px; }
.m-notch { position: absolute; top: .7em; left: 50%; width: 4em; height: .9em; border-radius: 99px; background: rgb(var(--fgr) / .2); transform: translateX(-50%); }
.m-banner-p { min-height: 5em; }
.m-banner-p > div { width: 80%; }

.m-speed { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2em; padding: 1.3em; }
.m-gauge { position: relative; width: 7.5em; height: 7.5em; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.m-gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.m-gauge circle { fill: none; stroke-width: 9; }
.g-bg { stroke: rgb(var(--fgr) / .1); }
.g-fg { stroke: #28C840; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 19; animation: gaugein 1.6s var(--ease) .5s both; }
@keyframes gaugein { from { stroke-dashoffset: 314; } }
.m-gauge b { font-size: 2.2em; font-weight: 800; line-height: 1; }
.m-gauge span { font-size: .7em; color: var(--muted); }
.m-metric { display: grid; grid-template-columns: 2.8em 1fr; align-items: center; gap: .6em; margin: .6em 0; font-size: .8em; }
.m-track { height: .55em; border-radius: 99px; background: rgb(var(--fgr) / .1); overflow: hidden; }
.m-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; animation: barx 1.2s var(--ease) both; animation-delay: calc(var(--i) * .15s + .6s); }

.m-wa { max-width: 17em; padding: 2em 0 0; background: color-mix(in srgb, #25D366 5%, var(--bg)); }
.m-wa-head { display: flex; align-items: center; gap: .6em; padding: .6em .9em; border-bottom: 1px solid var(--line); background: var(--surface); }
.m-wa-head span:last-child { display: flex; flex-direction: column; line-height: 1.2; font-size: .9em; }
.m-wa-head em { font-style: normal; font-size: .75em; color: #25D366; }
.m-wa-body { display: flex; flex-direction: column; gap: .5em; padding: .9em; }
.m-wa-body p, .b-card { margin: 0; max-width: 82%; padding: .55em .8em; border-radius: .9em; font-size: .85em; line-height: 1.35; animation: bubble .6s var(--ease) both; animation-delay: calc(var(--i) * .7s + .8s); }
.b-in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: .2em; }
.b-out { align-self: flex-end; background: color-mix(in srgb, #25D366 26%, var(--surface)); border-bottom-right-radius: .2em; }
.b-card { display: flex; flex-direction: column; gap: .3em; }
.b-card .m-img { aspect-ratio: 2 / 1; }
.b-card .mono { font-size: .85em; color: var(--ak); }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.92); } }

.m-bc { padding: 1.2em; }
.m-bc-top { display: flex; justify-content: space-between; align-items: center; font-size: .8em; color: var(--muted); }
.m-bc-msg { margin: .8em 0 .2em; font-size: .95em; }
.m-bc-stats { display: flex; justify-content: space-between; margin-top: .9em; font-size: .75em; color: var(--muted); }
.m-bc-stats b { display: block; color: var(--ink); font-size: 1.3em; }

.m-deploy { padding: 1.2em; }
.m-files { margin: 0; padding: 0; list-style: none; font-size: .85em; }
.m-files li { display: flex; align-items: center; gap: .5em; padding: .4em 0; border-bottom: 1px solid var(--line); animation: fadeup .6s var(--ease) both; animation-delay: calc(var(--i) * .12s + .6s); }
.m-files svg { color: var(--ak); }
.m-pipe { margin-top: 1em; }
.m-pipe-bar { display: block; height: .5em; border-radius: 99px; background: rgb(var(--fgr) / .1); overflow: hidden; }
.m-pipe-bar span { display: block; height: 100%; background: #28C840; animation: deploy 3.6s var(--ease) 1s infinite; transform-origin: left; }
@keyframes deploy { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.m-live { display: inline-flex; align-items: center; gap: .4em; margin-top: .6em; font-size: .85em; color: #28C840; }

.m-pay { padding: 1.2em; }
.m-pay-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .85em; color: var(--muted); }
.m-pay-top b { font-size: 1.8em; color: var(--ink); }
.m-pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin: 1em 0 .4em; font-size: .8em; }
.m-pay-opts span { display: flex; align-items: center; gap: .4em; padding: .6em .7em; border-radius: .6em; border: 1px solid var(--line); }
.m-pay-opts .on { border-color: var(--ak); color: var(--ak); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.m-paid { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .7em; font-size: .8em; color: #28C840; animation: paid 4s var(--ease) 1.2s infinite; }
@keyframes paid { 0%, 20% { opacity: 0; transform: translateY(6px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.m-mails { margin: 0; padding: 0; list-style: none; }
.m-mails li { display: flex; align-items: center; gap: .7em; padding: .55em 0; border-bottom: 1px solid var(--line); animation: fadeup .6s var(--ease) both; animation-delay: calc(var(--i) * .15s + .7s); }
.m-mails li > span:last-child { display: flex; flex-direction: column; min-width: 0; font-size: .85em; line-height: 1.3; }
.m-mails em { font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-apps { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .8em; font-size: .75em; }
.m-apps span { display: inline-flex; align-items: center; gap: .35em; padding: .35em .7em; border-radius: 999px; background: var(--surface-2); }
.m-apps svg { color: var(--ak); }

.m-dns { padding: 1.1em; }
.m-dns-top { display: flex; justify-content: space-between; align-items: center; font-size: .8em; color: var(--muted); }
.m-dns ul { margin: .7em 0 0; padding: 0; list-style: none; }
.m-dns li { display: grid; grid-template-columns: 3.6em 1fr auto; align-items: center; gap: .6em; padding: .35em 0; font-size: .85em; }
.m-dns .m-ln { margin: 0; }
.m-ok { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #28C840; color: #fff; animation: chipin .5s var(--ease) both; animation-delay: calc(var(--i) * .3s + 1s); }

.m-wp { display: grid; grid-template-columns: 2em 1fr 28%; gap: .7em; }
.m-wp-side { display: flex; flex-direction: column; gap: .5em; }
.m-wp-side span { height: 1.6em; border-radius: .4em; background: rgb(var(--fgr) / .1); }
.m-wp-side .on { background: var(--accent); }
.m-wp-canvas { position: relative; }
.m-blk { position: relative; margin-bottom: .6em; padding: .5em; border-radius: .4em; border: 1px dashed transparent; }
.m-blk-sel { border: 1.5px solid var(--ak); }
.m-blk-tag { position: absolute; top: -1.2em; left: .3em; padding: .1em .5em; border-radius: .3em; background: var(--accent); color: var(--on-accent); font-size: .65em; }
.m-blk-img { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.m-ins { position: absolute; right: -.4em; bottom: -.4em; display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: .4em; background: var(--ink); color: var(--bg); font-weight: 700; animation: float 3s ease-in-out infinite; }
.m-wp-panel { padding-left: .6em; border-left: 1px solid var(--line); font-size: .75em; color: var(--muted); }
.m-toggle { display: block; position: relative; width: 2.4em; height: 1.3em; margin-top: .6em; border-radius: 99px; background: rgb(var(--fgr) / .2); }
.m-toggle::after { content: ''; position: absolute; top: .2em; left: .2em; width: .9em; height: .9em; border-radius: 50%; background: #fff; transition: transform .3s; }
.m-toggle.on { background: var(--accent); }
.m-toggle.on::after { transform: translateX(1.1em); }

.m-cms { margin: 0; padding: 0; list-style: none; font-size: .85em; }
.m-cms li { display: grid; grid-template-columns: 2.4em 1fr auto; align-items: center; gap: .6em; padding: .45em 0; border-bottom: 1px solid var(--line); animation: fadeup .6s var(--ease) both; animation-delay: calc(var(--i) * .15s + .7s); }
.m-cms em { font-style: normal; font-size: .8em; color: #28C840; }
.m-cms li:first-child em { color: var(--muted); }

.m-dz { display: grid; grid-template-columns: 22% 1fr 22%; gap: .6em; }
.m-dz-left, .m-dz-right { display: flex; flex-direction: column; gap: .45em; font-size: .7em; color: var(--muted); white-space: pre; }
.m-dz-left .on { color: var(--ak); }
.m-dz-sel { position: relative; padding: .8em; border: 1.5px solid #4353FF; border-radius: .2em; }
.m-dz-label { position: absolute; top: -1.35em; left: -1px; padding: .1em .45em; background: #4353FF; color: #fff; font-size: .62em; white-space: nowrap; }
.m-dz-sel i { position: absolute; width: .5em; height: .5em; background: #fff; border: 1.5px solid #4353FF; }
.m-dz-sel .h1 { top: -.3em; left: -.3em; } .m-dz-sel .h2 { top: -.3em; right: -.3em; } .m-dz-sel .h3 { bottom: -.3em; left: -.3em; } .m-dz-sel .h4 { bottom: -.3em; right: -.3em; }
.m-seg { display: flex; gap: .2em; } .m-seg i { flex: 1; height: 1.2em; border-radius: .3em; background: rgb(var(--fgr) / .12); } .m-seg i.on { background: #4353FF; }
.m-box { display: block; padding: .5em; border: 1px dashed rgb(var(--fgr) / .3); border-radius: .3em; } .m-box span { display: block; height: 1em; border-radius: .2em; background: rgb(var(--fgr) / .14); }

.m-codewin { background: #0E0E12; color: #E6E3DC; }
.m-codewin .m-bar { background: #15151A; border-color: rgb(255 255 255 / .08); }
.m-codewin .m-url { background: #1E1E25; color: #9A9AA0; }
.m-code { padding: 1em 0; font-size: .85em; line-height: 1.9; }
.m-code-ln { display: block; padding: 0 1em; white-space: pre; animation: codein .6s var(--ease) both; animation-delay: calc(var(--i) * .18s + .6s); }
.m-code-ln em { display: inline-block; width: 1.8em; font-style: normal; color: #5E5E66; }
.c-k { color: #7CC4FF; } .c-a { color: #C9B8FF; } .c-s { color: #A5E3A1; } .c-t { color: #E6E3DC; } .c-c { color: #6B6B74; font-style: italic; } .c-f { color: #FFC66D; }
@keyframes codein { from { opacity: 0; transform: translateX(-12px); } }

/* ---- Logo strip: slower, smaller (especially on phones) ---- */
.mq-logos { animation-duration: calc(var(--n, 20) * 3.4s); }
.logo { width: clamp(150px, 14vw, 210px); height: 96px; margin-right: 14px; border-radius: 14px; }
.logo img { max-height: 42px; max-width: 68%; }
@media (max-width: 760px) {
	.mq-logos { animation-duration: calc(var(--n, 20) * 2.6s); }
	.logo { width: 116px; height: 68px; margin-right: 10px; border-radius: 12px; }
	.logo img { max-height: 30px; max-width: 72%; }
	.logo-name { font-size: 15px; }
	.clients-head { margin-bottom: 24px; }
}

/* ---- Even vertical rhythm ---- */
:root { --sy: clamp(72px, 9vw, 120px); --sy-s: clamp(48px, 6vw, 80px); }
.section, .land-sec, .loc-sec, .section-mid { padding-top: var(--sy-s); padding-bottom: var(--sy-s); }
.section { padding-top: var(--sy); padding-bottom: var(--sy); }
.section-tight { padding-top: clamp(24px, 3vw, 40px); padding-bottom: var(--sy); }
.land-facts { padding-top: 8px; padding-bottom: var(--sy-s); }
.land-hero { padding-bottom: var(--sy-s); }
.listing { padding-top: var(--sy-s); padding-bottom: var(--sy); }
.cta-wrap { padding-bottom: var(--sy-s); }
.clients { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(24px, 4vw, 40px); }
.land-h { margin-bottom: clamp(32px, 4.4vw, 56px); }
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); }

/* ---- FAQ & accordion motion ---- */
.faq, .pacc, .msub { overflow: hidden; }
.faqq { transition: color .3s, padding-left .45s var(--ease); }
.faqq:hover { padding-left: 8px; }
.faq .pm, .pacc .pm { transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; }
.faq[open] .pm { background: var(--accent); color: var(--on-accent); border-color: var(--ak); }
.faq[open]:not(.is-closing) .faqa, .pacc[open]:not(.is-closing) .pacc-body { animation: faqin .5s var(--ease) both; }
.faq.is-closing .faqa, .pacc.is-closing .pacc-body { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s; }
@keyframes faqin { from { opacity: 0; transform: translateY(-10px); } }
.faq.is-closing .pm, .pacc.is-closing .pm { transform: rotate(0deg); }

/* ---- Reveal fallback for browsers without scroll-driven animations ---- */
html.io .rv, html.io .step, html.io .tile, html.io .shot, html.io .grow, html.io .clip { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
html.io .is-in { opacity: 1 !important; transform: none !important; }
html.io .grow, html.io .clip { transform: none; }

@media (prefers-reduced-motion: reduce) {
	.navpanel, .sidepop { transition: none; }
	html.io .rv, html.io .step { opacity: 1; transform: none; }
}
@media (max-width: 600px) { .jstep::before { display: none; } }
#main { overflow-x: clip; }

/* ===== v2.6: client logos page ===== */
.page-hero .clients-regions { margin: 20px 0 0; font-size: 13px; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.client-tile { display: flex; flex-direction: column; border: 1px solid rgb(var(--fgr) / .1); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color .35s, transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.client-tile:hover { border-color: var(--ak); transform: translateY(-4px); }
.client-logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 24px; color: var(--muted); }
.client-logo img { max-width: 72%; max-height: 60px; width: auto; object-fit: contain; opacity: .75; filter: var(--logo-filter); transition: opacity .35s; }
.client-tile:hover .client-logo img { opacity: 1; }
.client-tile.logo-raw .client-logo img { filter: none; opacity: .9; }
.client-name { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.clients-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .client-logo { height: 104px; padding: 16px; } .client-logo img { max-height: 40px; } .client-name { padding: 10px 12px; font-size: 11px; } }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
