/* =====================================================================
   WebHub.uz — "Studio" design system
   Warm paper + ink, one vermilion accent, sans + serif-italic pairing.
   Hairline rules, generous whitespace, soft motion. Light is default.
   ===================================================================== */
:root, [data-theme="light"] {
  --bg: #f1eee7; --bg-alt: #e9e5dc; --surface: #e6e2d8; --surface-2: #dcd7cb;
  --ink: #121211; --text: #121211; --muted: #615d55;
  --line: rgba(18, 18, 17, .13); --line-2: rgba(18, 18, 17, .28);
  --acc: #e4490f; --acc-text: #b8380a; --acc-ink: #121211;
  --inv-bg: #121211; --inv-ink: #f1eee7; --inv-muted: #9a968c; --inv-line: rgba(241, 238, 231, .16);
  --ok: #2e8b57; --bad: #d9382b;
  --radius: 6px; --radius-lg: 14px; --nav-h: 76px;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Playfair Display", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(20px, 3.2vw, 56px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #11110f; --bg-alt: #161614; --surface: #1c1c19; --surface-2: #262622;
  --ink: #f1eee7; --text: #f1eee7; --muted: #8d897f;
  --line: rgba(241, 238, 231, .12); --line-2: rgba(241, 238, 231, .26);
  --acc: #ff6a3a; --acc-text: #ff6a3a;
  --inv-bg: #0a0a09; --inv-ink: #f1eee7; --inv-muted: #8d897f; --inv-line: rgba(241, 238, 231, .14);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 400 16.5px/1.6 var(--display); letter-spacing: -.008em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background .5s, color .5s;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .05; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .5em; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
h1 em, h2 em, h3 em { font-size: 1.06em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acc); color: var(--acc-ink); }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 920px; }
.center { text-align: center; }
.center-x { justify-content: center; }
.mt { margin-top: 64px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
.ic { flex: none; }
.glow, .grid-bg { display: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 500; font-size: 15px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--acc); color: var(--acc-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--inv-ink); color: var(--inv-bg); }
.btn-light:hover { background: var(--acc); color: var(--acc-ink); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.link .ic { width: 15px; height: 15px; transition: transform .45s var(--ease); }
a:hover > .link .ic, .link:hover .ic { transform: translateX(5px); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; position: relative; }
.nav-in > .logo, .nav-in > .nav-tools { position: relative; z-index: 3; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.034em; }
.logo-mark { display: inline-flex; color: var(--ink); transition: color .4s; }
.lm { display: block; overflow: visible; }
.lm .lm-s { fill: currentColor; }
.lm .lm-dot { fill: var(--acc); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .lm-dot { transform: translateY(-5px); }
.footer .logo-mark { color: var(--inv-ink); }

/* first visit of a session: the mark assembles stroke by stroke, the dot drops in, then the page is revealed.
   The head script decides (no-loader / is-loading) and has a timer, so nothing stays hidden if JS fails. */
.loader { display: none; }
.js:not(.no-loader) .loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); color: var(--ink); animation: loader-out .5s var(--ease) 2s forwards; }
.js:not(.no-loader) .loader.done { animation: loader-out .6s var(--ease) forwards; pointer-events: none; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader-mark { width: 76px; height: 76px; transition: transform .6s var(--ease); }
.loader.done .loader-mark { transform: scale(.86); }
.loader-mark .lm-s { --from: -26px; opacity: 0; transform-box: fill-box; animation: lm-in .5s var(--ease) forwards; animation-delay: calc(var(--k) * 55ms + 30ms); }
.loader-mark .lm-s:nth-of-type(even) { --from: 26px; }
.loader-mark .lm-dot { opacity: 0; transition: none; animation: lm-drop .55s cubic-bezier(.3, 1.5, .5, 1) .26s forwards, lm-pulse 1.3s ease-in-out .9s infinite; }
@keyframes lm-in { from { opacity: 0; transform: translateY(var(--from)); } to { opacity: 1; transform: none; } }
@keyframes lm-drop { from { opacity: 0; transform: translateY(-44px) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes lm-pulse { 50% { transform: scale(.72); } }
.is-loading .intro > *, .is-loading .hero h1 .w > span { animation-play-state: paused; }
.logo-text b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--acc-text); letter-spacing: -.01em; }
.nav-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer; font-weight: 500; font-size: 13px; letter-spacing: .02em; transition: background .3s;
}
.tool:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.i-moon, [data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: inline; }
.i-sun { display: inline; }
.nav-cta { height: 42px; padding: 0 20px; font-size: 14px; margin-left: 6px; transition: opacity .3s, background .4s, color .4s; }
.lang { position: relative; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); }
.lang.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.lang-list a:hover, .lang-list a.active { background: var(--surface); color: var(--text); }
.burger { gap: 12px; padding: 0 16px; border: 1px solid var(--line-2); }
.burger-label { font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.burger-ic { position: relative; width: 18px; height: 8px; display: block; }
.burger-ic b { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger-ic b:nth-child(1) { top: 0; }
.burger-ic b:nth-child(2) { top: 6.5px; }


/* --------------------------------------------- bento menu: one icon tile per page */
html:has(> body.nav-open) { overflow: hidden; }
.nav-open .nav, .nav-open .nav.scrolled { background: var(--bg); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .burger-ic b:nth-child(1) { top: 3.2px; transform: rotate(45deg); }
.nav-open .burger-ic b:nth-child(2) { top: 3.2px; transform: rotate(-45deg); }
.nav-open .nav-cta { opacity: 0; pointer-events: none; }
.bento {
  --foot-h: 64px;
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); visibility: hidden; pointer-events: none;
  clip-path: circle(0 at calc(100% - 92px) -38px); transition: clip-path .75s var(--ease), visibility 0s .75s;
}
.nav-open .bento { visibility: visible; pointer-events: auto; clip-path: circle(160vmax at calc(100% - 92px) -38px); transition-delay: 0s; }
.bn-grid {
  list-style: none; margin: 0 auto; padding: 16px var(--gut) 0; width: 100%; max-width: 1360px; flex: 1 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(148px, 1fr)); gap: 12px;
}
/* placed so the 01-08 numbers read left to right, top to bottom */
.bt-home { grid-column: 1; grid-row: 1; }
.bt-services { grid-column: 2 / 4; grid-row: 1 / 3; }
.bt-portfolio { grid-column: 4; grid-row: 1; }
.bt-pricing { grid-column: 1; grid-row: 2; }
.bt-blog { grid-column: 4; grid-row: 2; }
.bt-about { grid-column: 1; grid-row: 3; }
.bt-contact { grid-column: 2; grid-row: 3; }
.bt-order { grid-column: 3 / 5; grid-row: 3; }
.bt { min-height: 0; opacity: 0; transform: translateY(26px) scale(.965); transition: opacity .3s, transform .5s var(--ease); }
.nav-open .bt { opacity: 1; transform: none; transition: opacity .5s, transform .8s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.bt a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; height: 100%; padding: 22px; border-radius: 22px; overflow: hidden; isolation: isolate;
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, transform .6s var(--ease), box-shadow .4s;
}
.bt a:hover { background: var(--surface-2); transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.bt a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.bt a[aria-current] { box-shadow: inset 0 0 0 2px var(--acc); }
.bt a::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 24%, transparent), transparent 72%); }
.bt a:hover::before, .bt a:focus-visible::before { opacity: 1; }
.bt-n { position: absolute; top: 20px; left: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.bt a[aria-current] .bt-n { color: var(--acc-text); }
.bt-go { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: var(--acc-ink); opacity: 0; transform: translate(-8px, 8px) scale(.8); transition: opacity .3s, transform .5s var(--ease); }
.bt a:hover .bt-go, .bt a:focus-visible .bt-go { opacity: 1; transform: none; }
.bt-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 34px 0 auto; border-radius: 18px; border: 1px solid var(--line-2); color: var(--ink); transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.bt-ic .ic { width: 32px; height: 32px; stroke-width: 1.6; }
.bt a:hover .bt-ic, .bt a:focus-visible .bt-ic { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); transform: rotate(-7deg) scale(1.06); }
.bt-body { display: grid; gap: 4px; }
.bt-t { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.bt-d { font-size: 14px; line-height: 1.35; color: var(--muted); }
/* services: the big dark tile with the six service icons */
.bt-services a { background: var(--inv-bg); color: var(--inv-ink); box-shadow: inset 0 0 0 1px var(--inv-line); }
.bt-services a:hover { background: var(--inv-bg); }
.bt-services .bt-n, .bt-services .bt-d { color: var(--inv-muted); }
.bt-services .bt-ic { width: 88px; height: 88px; border-radius: 26px; color: var(--inv-ink); border-color: var(--inv-line); }
.bt-services .bt-ic .ic { width: 44px; height: 44px; }
.bt-services .bt-t { font-size: clamp(34px, 4.6vw, 68px); }
.bt-minis { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.bt-minis i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--inv-line); color: var(--inv-muted); transition: transform .6s var(--ease), color .3s, border-color .3s; transition-delay: calc(var(--k) * 40ms); }
.bt-services a:hover .bt-minis i { transform: translateY(-6px); color: var(--acc); border-color: var(--acc); }
/* order: the orange call-to-action tile */
.bt-order a { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
.bt-order a:hover { background: var(--acc); }
.bt-order a::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .38), transparent 72%); }
.bt-order .bt-n, .bt-order .bt-d { color: color-mix(in srgb, var(--acc-ink) 72%, transparent); }
.bt-order .bt-ic { color: var(--acc-ink); border-color: color-mix(in srgb, var(--acc-ink) 38%, transparent); }
.bt-order a:hover .bt-ic { background: var(--acc-ink); color: var(--acc); border-color: var(--acc-ink); }
.bt-order .bt-go { background: var(--acc-ink); color: var(--acc); }
.bt-order .bt-t { font-size: clamp(28px, 3.6vw, 52px); }
/* icons draw themselves in (app.js measures each stroke and sets --len) */
.bento.pl .bt-ic svg :is(path, line, circle, rect, polyline, polygon, ellipse) { stroke-dasharray: var(--len, 0); }
.nav-open .bento.pl .bt-ic svg :is(path, line, circle, rect, polyline, polygon, ellipse) { animation: bt-draw .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 320ms); }
.nav-open .bento.pl .bt a:hover .bt-ic svg :is(path, line, circle, rect, polyline, polygon, ellipse) { animation: bt-draw2 .8s var(--ease) both; animation-delay: 0s; }
@keyframes bt-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes bt-draw2 { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.bn-foot { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 28px; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); min-height: var(--foot-h); font-size: 14px; color: var(--muted); }
.bn-foot a:hover { color: var(--text); }
/* page-to-page continuity: the picked tile's title and icon glide into the new page's heading and icon tile */
@view-transition { navigation: auto; }
.nav { view-transition-name: wh-nav; }
::view-transition-old(root) { animation: .3s ease both vt-out; }
::view-transition-new(root) { animation: .45s ease .1s both vt-in; }
::view-transition-group(wh-title), ::view-transition-group(wh-icon) { animation-duration: .6s; animation-timing-function: cubic-bezier(.65, 0, .15, 1); }
::view-transition-old(wh-title), ::view-transition-new(wh-title) { height: 100%; width: auto; }
::view-transition-old(wh-icon), ::view-transition-new(wh-icon) { width: 100%; height: 100%; object-fit: contain; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.vt-in .page-hero h1, html.vt-in .hero h1 { view-transition-name: wh-title; width: fit-content; }
html.vt-in .ph-icon { view-transition-name: wh-icon; }
html.vt-in .hero h1 .w > span, html.vt-in .intro > .ph-icon, html.vt-in .hero-visual.reveal { animation: none; opacity: 1; transform: none; }
html.menu-reset .bento, html.menu-reset .bento *, html.menu-reset .nav * { transition: none !important; }

/* optional photography slots */
.hv-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* service cards: a cut-out 3D illustration floats on the tile's glow (assets/img/svc) */
.sc-art { --h1: 18; --h2: 262; }
.sc-el { position: absolute; inset: 7%; z-index: 1; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .45)); animation: el-float 7s ease-in-out calc(var(--i, 0) * -1.4s) infinite; transition: scale .8s var(--ease); }
.stack-card:hover .sc-el { scale: 1.06; }
.sc-el ~ .sc-ic { display: none; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 4.5vw, 64px)) 0 0; overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(24px, 4vw, 72px); }
.hero-top .hero-grid h1 { font-size: clamp(44px, 6.6vw, 112px); max-width: 9.6em; }
.hero-top .hero-row { grid-template-columns: 1fr; gap: 28px; margin-top: clamp(28px, 3.4vw, 48px); }
.hero-art { position: relative; aspect-ratio: 1 / .98; max-height: 76vh; justify-self: stretch; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 8% 4% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, .26), rgba(75, 59, 209, .12) 62%, transparent 78%); filter: blur(34px); }
.ha { position: absolute; display: block; }
.ha-img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(18, 18, 17, .26)); animation: el-float 8s ease-in-out infinite; }
[data-theme="dark"] .ha-img { filter: drop-shadow(0 28px 38px rgba(0, 0, 0, .6)); }
.ha1 { top: 0; right: 2%; width: 66%; z-index: 1; }
.ha2 { left: -2%; bottom: 6%; width: 46%; z-index: 3; }
.ha3 { right: -3%; bottom: -2%; width: 54%; z-index: 2; }
.ha2 .ha-img { animation-duration: 6.4s; animation-direction: reverse; }
.ha3 .ha-img { animation-duration: 9.4s; animation-delay: -2.2s; }
.js .ha { opacity: 0; animation: intro 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 150ms + 450ms); transform: translateY(46px) scale(.93); }
.is-loading .ha { animation-play-state: paused; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: clamp(28px, 4vw, 56px); font-size: 13px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--text); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(46, 139, 87, 0); } }
.hero h1 { font-size: clamp(46px, 8.2vw, 132px); line-height: .96; letter-spacing: -.046em; font-weight: 500; margin: 0; max-width: 13.5em; }
.hero h1 em { color: var(--acc); letter-spacing: -.025em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: clamp(36px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); max-width: 520px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 21 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #14110e; isolation: isolate; }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: 2; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.b1 { width: 40%; height: 105%; left: -4%; top: -10%; background: #ff5a1f; opacity: .85; animation: drift1 16s ease-in-out infinite alternate; }
.b2 { width: 34%; height: 90%; left: 34%; top: 20%; background: #3b2bb0; opacity: .6; animation: drift2 20s ease-in-out infinite alternate; }
.b3 { width: 30%; height: 80%; right: 2%; top: -20%; background: #b5834a; opacity: .5; animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(22%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-18%, -12%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-24%, 18%) scale(1.2); } }
.hv-foot { position: absolute; z-index: 3; left: 20px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .86); }
.hv-badge { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(10, 10, 9, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 500; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.stat { padding: 24px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.042em; line-height: 1; }
.stat > span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------ marquee */
.marquee { margin-top: clamp(64px, 9vw, 120px); padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 54px); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; margin: 0 clamp(24px, 3vw, 44px); border-radius: 50%; background: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section-sm { padding: 40px 0 120px; }
.section-alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin: 0 0 clamp(44px, 6vw, 84px); }
.sec-head .tag, .tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sec-head .tag::before, .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.sec-head h2 { font-size: clamp(36px, 5.6vw, 84px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.sec-head h2 em { color: var(--acc); }
.sec-head p { margin: 24px 0 0; max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; }

/* statement */
.statement { padding: clamp(96px, 13vw, 190px) 0 0; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; align-items: start; }
.st-grid .tag { margin: .9em 0 0; }
.scrub { margin: 0; font-size: clamp(28px, 4.1vw, 62px); line-height: 1.12; letter-spacing: -.034em; font-weight: 500; text-wrap: balance; }
.scrub.is-split span { opacity: .2; transition: opacity .6s var(--ease); }
.scrub.is-split span.on { opacity: 1; }

/* services: stacking panels (plain sticky, no scroll-jacking) */
.stack { display: grid; gap: 0; padding-bottom: 8px; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 14px + var(--i) * 12px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px);
  min-height: min(440px, 60vh); margin-bottom: 18px; padding: clamp(24px, 3.2vw, 44px); border-radius: var(--radius-lg); background: var(--surface); color: var(--text);
  transform-origin: 50% 0; will-change: transform; overflow: hidden;
}
.stack-card:nth-child(even) { background: var(--inv-bg); color: var(--inv-ink); }
.sc-main { display: flex; flex-direction: column; min-width: 0; }
.sc-n { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.stack-card:nth-child(even) .sc-n, .stack-card:nth-child(even) p, .stack-card:nth-child(even) .sc-price { color: var(--inv-muted); }
.sc-main h3 { margin: auto 0 18px; padding-top: 40px; font-size: clamp(34px, 4.6vw, 70px); line-height: .98; letter-spacing: -.04em; }
.sc-main h3 em { color: var(--acc); }
.sc-main p { max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0 0 32px; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.stack-card:nth-child(even) .sc-foot { border-color: var(--inv-line); }
.sc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.sc-go .ic { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.stack-card:hover .sc-go .ic { transform: translateX(6px); }
.sc-art { position: relative; border-radius: 10px; overflow: hidden; min-height: 240px; background: hsl(var(--h1) 30% 10%); isolation: isolate; }
.sc-art::before, .ph::before { content: ""; position: absolute; inset: -25%; z-index: -1; filter: blur(34px) saturate(1.15); background: radial-gradient(40% 50% at 25% 30%, hsl(var(--h1) 62% 46%), transparent 70%), radial-gradient(45% 55% at 78% 72%, hsl(var(--h2) 55% 36%), transparent 70%), radial-gradient(34% 40% at 72% 18%, hsl(calc(var(--h1) + 30) 70% 56% / .55), transparent 70%); transition: transform 1.4s var(--ease); }
.sc-art::after, .ph::after { content: ""; position: absolute; inset: 0; opacity: .4; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stack-card:hover .sc-art::before { transform: scale(1.12) rotate(4deg); }
.sc-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; z-index: 1; }
.sc-ic svg { width: 72px; height: 72px; stroke-width: 1.2; }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why-grid .sec-head { margin: 0; }
.why-grid .grid { gap: 0 40px; }
.feature { padding: 28px 0 40px; border-top: 1px solid var(--line-2); }
.feature-n { display: block; margin-bottom: 44px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.feature h3 { font-size: 26px; line-height: 1.1; letter-spacing: -.028em; margin-bottom: 12px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }
.feature-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.feature-top .feature-n { margin-bottom: 0; }
.feature-top:not(:has(.el)) { margin-bottom: 44px; }

/* founder card (home) and About page */
.founder-sec { padding-bottom: 0; }
.founder { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 5vw, 80px); align-items: center; padding: clamp(18px, 3.4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; color: var(--inv-ink); background: radial-gradient(60% 90% at 0% 0%, rgba(255, 90, 31, .2), transparent 62%), var(--inv-bg); }
.founder-photo, .about-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #0a0a09; }
.about-photo { border-radius: var(--radius-lg); }
.founder-photo picture, .about-photo picture { display: block; height: 100%; }
.founder-photo img, .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.founder .tag { color: var(--inv-muted); }
.founder-name { font-size: clamp(36px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; margin: 0 0 12px; }
.founder-name em { color: var(--acc); }
.founder-role { margin: 0 0 clamp(20px, 3vw, 34px); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--inv-muted); }
.founder-motto { margin: 0 0 18px; max-width: 18em; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.founder-bio { margin: 0 0 clamp(24px, 3vw, 36px); max-width: 52ch; color: var(--inv-muted); font-size: 17px; }
.founder-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 20px; }
.about-sec { overflow-x: clip; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.about-photo { position: sticky; top: calc(var(--nav-h) + 24px); }
.about-main .founder-role { color: var(--muted); }
.about-motto { margin: 0 0 28px; padding: 0 0 0 22px; border-left: 2px solid var(--acc); font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.about-facts { display: grid; margin: 34px 0; border-top: 1px solid var(--line-2); }
.about-facts > div { display: grid; grid-template-columns: minmax(96px, 1fr) 3fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.about-facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 0; font-weight: 500; }
.about-stats { margin: 34px 0 0; }
.about-stats .stat { padding: 20px 14px 0 0; }
.about-stats .stat + .stat { padding-left: 16px; }
.about-stats .stat b { font-size: clamp(32px, 3.6vw, 52px); }
.about-stats .stat > span { font-size: 13px; }
.about-facts .tags { gap: 8px; }
.about-facts .tags span { font-weight: 500; font-size: 13.5px; padding: 5px 13px; }
.about-facts .tags .tag-more { border-style: dashed; color: var(--muted); font-weight: 400; }
.about-main .socials a { border-color: var(--line-2); color: var(--text); }
.about-main .socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* endless decorative motion costs battery: paused off screen (app.js sets .off), disabled on weak devices (.lite) */
.off, .off * { animation-play-state: paused !important; }
.lite .blob { animation: none; filter: blur(34px); }
.lite .el, .lite .ha-img, .lite .sc-el, .lite .marquee-track { animation: none !important; }
.lite .ha-img, .lite .sc-el, .lite .el { filter: none; }
.lite .hero-art::before { filter: none; }
.lite .nav.scrolled, .lite .hv-badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .nav.scrolled { background: var(--bg); }

/* cut-out 3D elements (assets/img/el) */
.el { height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 22px rgba(18, 18, 17, .16)); }
[data-theme="dark"] .el { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
.feature-el { width: clamp(72px, 7vw, 104px); margin: -6px -4px 0 0; transition: transform .9s var(--ease); }
.feature:hover .feature-el { transform: translateY(-8px) rotate(-7deg) scale(1.06); }
.order-info { position: relative; }
.order-el { position: absolute; top: clamp(-104px, -7vw, -72px); right: 0; width: clamp(88px, 9.6vw, 140px); animation: el-float 7s ease-in-out infinite; }
.cta-band { position: relative; }
.cta-el { position: absolute; right: clamp(28px, 5vw, 72px); top: clamp(-56px, -4vw, -32px); width: clamp(92px, 10vw, 148px); animation: el-float 8s ease-in-out infinite reverse; }
@keyframes el-float { 50% { transform: translateY(-12px) rotate(-4deg); } }

/* work (portfolio) */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(44px, 6vw, 96px) 28px; align-items: start; }
.work .project:nth-child(6n+1) { grid-column: 1 / 9; }
.work .project:nth-child(6n+2) { grid-column: 9 / 13; margin-top: clamp(0px, 14vw, 220px); }
.work .project:nth-child(6n+3) { grid-column: 1 / 6; }
.work .project:nth-child(6n+4) { grid-column: 6 / 13; margin-top: clamp(0px, 6vw, 96px); }
.work .project:nth-child(6n+5) { grid-column: 1 / 8; }
.work .project:nth-child(6n+6) { grid-column: 8 / 13; margin-top: clamp(0px, 10vw, 150px); }
.work .project:nth-child(6n+2) .project-img, .work .project:nth-child(6n+3) .project-img, .work .project:nth-child(6n+6) .project-img { aspect-ratio: 4 / 5; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filters a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 500; color: var(--text); transition: .35s var(--ease); }
.filters a:hover { border-color: var(--ink); }
.filters a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.projects { gap: 56px 28px; }
.project { display: flex; flex-direction: column; }
.project-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.project-img img, .project-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project-img img { transform: scale(1.05); }
.project:hover .ph::before { transform: scale(1.12) rotate(4deg); }
.chip { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .78); color: #121211; font-size: 12px; font-weight: 500; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.project-body { padding: 22px 0 0; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: start; }
.project-body h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; margin: 0 0 8px; }
.project-body p { grid-column: 1; color: var(--muted); font-size: 15.5px; margin: 0; max-width: 46ch; }
.project-body .link { grid-column: 2; grid-row: 1; margin-top: 8px; }
.ph { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: hsl(var(--h1) 30% 10%); isolation: isolate; }
.ph span { position: absolute; z-index: 1; left: 22px; bottom: 16px; font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: #fff; }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
.step { position: relative; padding: 28px 0 0; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.step.in::before { transform: scaleX(1); }
.step-n { display: block; margin-bottom: 56px; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 5vw, 78px); line-height: 1; letter-spacing: -.03em; }
.step h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* pricing */
.pricing { gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; }
.plan h3 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.028em; }
.plan .muted { font-size: 15px; margin: 0; }
.plan-price { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.038em; line-height: 1; margin: 36px 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.plan ul { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; align-content: start; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.plan li .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--acc); }
.plan.featured { background: var(--inv-bg); color: var(--inv-ink); }
.plan.featured .muted { color: var(--inv-muted); }
.plan.featured .plan-price { border-color: var(--inv-line); }
.plan.featured .btn-primary { background: var(--acc); color: var(--acc-ink); }
.plan.featured .btn-primary:hover { background: var(--inv-ink); color: var(--inv-bg); }
.badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: 12px; font-weight: 500; }

/* testimonials */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.testi { margin: 0; display: flex; flex-direction: column; padding: 36px 36px 8px 0; }
.testi + .testi { padding-left: 36px; border-left: 1px solid var(--line); }
.stars { display: flex; gap: 3px; margin-bottom: 28px; color: var(--line-2); }
.stars .on { color: var(--acc); }
.stars svg { width: 14px; height: 14px; }
.stars .on svg { fill: currentColor; }
.testi blockquote { margin: 0 0 40px; font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.22; letter-spacing: -.02em; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 14px; padding-bottom: 28px; }
.testi figcaption img, .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 500; }
.testi figcaption b { display: block; font-size: 15px; font-weight: 500; }
.testi figcaption small { color: var(--muted); font-size: 13.5px; }

/* faq */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.split-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.split-head .sec-head { margin: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.faq-ic .ic { width: 16px; height: 16px; }
.faq summary:hover .faq-ic { border-color: var(--ink); }
.faq details[open] .faq-ic { transform: rotate(135deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a { padding: 0 60px 30px 0; color: var(--muted); max-width: 680px; font-size: 17px; }
.faq-a p:last-child { margin: 0; }

/* blog */
.post { display: flex; flex-direction: column; background: none; padding: 0; border-radius: 0; }
.post-img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius-lg); }
.post-img img, .post-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post:hover .ph::before { transform: scale(1.12) rotate(4deg); }
.post-body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.post-body h3 { font-size: 25px; letter-spacing: -.03em; margin: 12px 0 10px; line-height: 1.08; }
.post-body p { color: var(--muted); font-size: 15.5px; flex: 1; }
.grid-3:has(.post) { gap: 48px 28px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 64px; }
.pager .ic { width: 16px; height: 16px; }
.pager .pg-prev .ic { transform: rotate(180deg); }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; transition: .3s; }
.pager a.active, .pager a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { color: var(--muted); padding: 40px 0; }

/* order */
.order { overflow: hidden; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.order-info h2 { font-size: clamp(40px, 6vw, 92px); line-height: .96; letter-spacing: -.042em; margin: 0 0 28px; }
.order-info h2 em { color: var(--acc); }
.order-info > p { color: var(--muted); font-size: 18px; max-width: 420px; }
.contact-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; border-top: 1px solid var(--line-2); }
.contact-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.ci .ic { width: 18px; height: 18px; }
.contact-list small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-list a, .contact-list li > span:last-child { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.contact-list a:hover { color: var(--acc-text); }
.order-form { position: relative; background: var(--bg-alt); padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius-lg); }
.section-alt .order-form, .order .order-form { background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; margin-bottom: 26px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; letter-spacing: -.01em; transition: border-color .3s; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2376726a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field select option { background: var(--bg); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 65%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--acc); box-shadow: 0 1px 0 0 var(--acc); }
.field.invalid input { border-bottom-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 500; text-align: center; }
.form-msg.err { color: var(--bad); }
.form-success { position: absolute; inset: 0; border-radius: inherit; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; animation: pop .6s var(--ease); }
.form-success[hidden] { display: none; }
.form-success p { color: var(--muted); }
.success-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); margin-bottom: 22px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }

/* cta band */
.cta-band { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-lg); background: var(--inv-bg); color: var(--inv-ink); }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 68px); line-height: .98; letter-spacing: -.04em; margin: 0 0 14px; max-width: 14em; }
.cta-band h2 em { color: var(--acc); }
.cta-band p { margin: 0; color: var(--inv-muted); font-size: 17px; }

/* inner pages */
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 110px)) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(44px, 7.6vw, 120px); line-height: .96; letter-spacing: -.046em; max-width: 14em; margin: 0 0 24px; }
.page-hero h1 em { color: var(--acc); }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 580px; margin: 0; }
.page-hero .container:has(.ph-icon) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(18px, 5vw, 80px); align-items: end; }
.page-hero .container:has(.ph-icon) > :not(.ph-icon) { grid-column: 1; }
.ph-icon { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; width: clamp(88px, 13vw, 190px); aspect-ratio: 1; display: grid; place-items: center; border-radius: clamp(22px, 3vw, 40px); color: var(--acc); border: 1px solid var(--line-2); background: radial-gradient(75% 75% at 28% 18%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 72%), var(--surface); }
.ph-icon .ic { width: 44%; height: 44%; stroke-width: 1.35; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 48px; }
.detail-cover img, .detail-cover .ph { width: 100%; height: 100%; object-fit: cover; }
.detail-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 12px; }
.detail-side dl { margin: 0 0 12px; }
.detail-side dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.detail-side dd { margin: 6px 0 20px; font-weight: 500; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 400; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 36px; margin-top: 1.6em; }
.prose h3 { font-size: 25px; margin-top: 1.4em; }
.prose a { color: var(--acc-text); text-decoration: underline; text-underline-offset: 4px; }
.prose img { border-radius: var(--radius-lg); margin: 1.6em 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; height: auto; margin: 0; border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 2px solid var(--acc); font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.35; }
.prose ul, .prose ol { padding-left: 1.3em; }
.post-section { padding-top: 56px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-cover { border-radius: var(--radius-lg); margin-bottom: 36px; width: 100%; }
.post-section .lead { font-size: 23px; color: var(--text); font-weight: 500; letter-spacing: -.03em; margin-bottom: 1.4em; max-width: none; line-height: 1.35; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); font-weight: 500; }
.share a, .socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: .35s var(--ease); }
.share a:hover, .socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.not-found { min-height: 90vh; display: flex; align-items: center; }
.big-404 { font-family: var(--serif); font-style: italic; font-size: clamp(140px, 28vw, 340px); line-height: .85; letter-spacing: -.028em; color: var(--acc); }
.not-found h1 { font-size: clamp(32px, 4vw, 56px); }
.not-found .lead { margin: 0 auto 8px; }

/* footer: ink slab */
.footer { background: var(--inv-bg); color: var(--inv-ink); padding: clamp(72px, 10vw, 140px) 0 0; position: relative; }
.footer-cta { padding-bottom: clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--inv-line); }
.footer-cta .tag { color: var(--inv-muted); }
.footer-cta h2 { font-size: clamp(36px, 6vw, 96px); line-height: .96; letter-spacing: -.042em; max-width: 12em; margin: 0 0 clamp(28px, 4vw, 56px); }
.footer-cta h2 em { color: var(--acc); }
.fc-mail { display: inline-flex; align-items: center; gap: 20px; font-size: clamp(22px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--inv-line); padding-bottom: 10px; transition: color .4s, border-color .4s; }
.fc-mail .ic { width: .8em; height: .8em; transition: transform .6s var(--ease); }
.fc-mail:hover { color: var(--acc); border-color: var(--acc); }
.fc-mail:hover .ic { transform: translate(6px, -6px) rotate(-45deg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 72px; }
.footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--inv-muted); margin-bottom: 20px; }
.footer-grid > div > a, .footer-contacts span { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15.5px; color: var(--inv-ink); transition: color .3s; }
.footer-grid > div > a:hover { color: var(--acc); }
.footer-brand p { color: var(--inv-muted); margin: 18px 0 26px; max-width: 340px; font-size: 15.5px; }
.footer .logo { font-size: 24px; }
.footer .logo-text b { color: var(--acc); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { border-color: var(--inv-line); color: var(--inv-ink); }
.socials a:hover { background: var(--inv-ink); color: var(--inv-bg); border-color: var(--inv-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; margin-top: 72px; border-top: 1px solid var(--inv-line); font-size: 13px; color: var(--inv-muted); }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--ease), background .4s; }
.fab:hover { transform: scale(1.08); background: var(--acc); color: var(--acc-ink); }
.to-top { position: fixed; right: 33px; bottom: 90px; z-index: 40; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ------------------------------------------------------------- motion */
.reveal-all .reveal, .reveal-all .ha { opacity: 1 !important; transform: none !important; }
@media print { .js .reveal, .js .ha { opacity: 1 !important; transform: none !important; } .loader { display: none !important; } }
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-anim="left"] { transform: translateX(-40px); }
.js .reveal[data-anim="right"] { transform: translateX(40px); }
.js .reveal[data-anim="zoom"] { transform: scale(.96) translateY(20px); }
.js .reveal[data-anim="blur"] { transform: translateY(28px); }
.js .reveal[data-anim].in { transform: none; }
.js .intro > * { opacity: 0; transform: translateY(24px); animation: intro 1.2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes intro { to { opacity: 1; transform: none; } }
.js .intro > h1 { animation: none; opacity: 1; transform: none; }
.js .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .16em; margin: 0 -.042em -.16em; }
.js .hero h1 .w > span { display: inline-block; transform: translateY(112%); animation: wordUp 1.3s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes wordUp { to { transform: none; } }
.scroll-bar { position: fixed; z-index: 60; inset: 0 0 auto; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); will-change: transform; }
.project:hover [data-parallax], .post:hover [data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.15); }

/* --------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: 1fr; border-top: 0; }
  .testi, .testi + .testi { padding: 32px 0 8px; border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-top .hero-grid h1 { font-size: clamp(44px, 11vw, 92px); max-width: 11em; }
  .hero-art { display: none; }
  .nav-cta { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stack-card { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0; }
  .sc-art { min-height: 200px; order: -1; }
  .sc-main h3 { padding-top: 24px; margin-top: 0; }
  .why-grid, .order-grid, .detail-grid, .split { grid-template-columns: 1fr; }
  .split-head, .detail-side { position: static; }
  .st-grid { grid-template-columns: 1fr; }
  .st-grid .tag { margin: 0 0 8px; }
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .work .project:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .work .project:nth-child(n) .project-img { aspect-ratio: 16 / 11; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-el { top: -40px; right: 20px; width: 84px; }
  .founder, .about-grid { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 1 / 1; }
  .about-photo { position: static; max-width: 420px; }
  .order-el { top: -64px; width: 72px; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .why-grid .grid { gap: 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step-n { margin-bottom: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-cta .btn { flex: 1; }
  .plan-price { white-space: normal; }
  .burger-label { display: none; }
  .burger { padding: 0 14px; }
  .bento { --foot-h: 72px; }
  .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(0, 1fr); grid-auto-flow: dense; gap: 10px; padding-top: 12px; flex: 1 1 0; min-height: 600px; }
  .bt-services, .bt-order { grid-column: 1 / -1; grid-row: auto; }
  .bt-home, .bt-portfolio, .bt-pricing, .bt-blog, .bt-about, .bt-contact { grid-column: auto; grid-row: auto; }
  .bt a { padding: 14px; border-radius: 18px; gap: 6px; }
  .bt-n { top: 12px; left: 14px; }
  .bt-go, .bt-minis, .bt-d { display: none; }
  .bt-ic { width: 40px; height: 40px; margin-top: 22px; border-radius: 12px; }
  .bt-ic .ic { width: 20px; height: 20px; }
  .bt-t { font-size: 19px; }
  .bt-services .bt-ic { width: 48px; height: 48px; border-radius: 14px; }
  .bt-services .bt-ic .ic { width: 24px; height: 24px; }
  .bt-services .bt-t, .bt-order .bt-t { font-size: 26px; }
  .bn-foot { flex-direction: column; align-items: flex-start; justify-content: center; font-size: 13.5px; }
  .faq-a { padding-right: 0; }
  .fab { right: 16px; bottom: 16px; }
  .to-top { right: 25px; bottom: 80px; }

  /* phones: tighter rhythm, and long card lists become sideways swipe rails (next card peeks in) */
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 16px; margin-top: 16px; }
  .mt { margin-top: 32px; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .hv-addr { display: none; }
  .hv-badge { height: 32px; padding: 0 14px 0 12px; font-size: 12.5px; }
  .stack, .work, .pricing, .projects, .grid-3:has(.post), .rail {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 14px; scroll-padding-inline: var(--gut); scrollbar-width: none;
  }
  .stack::-webkit-scrollbar, .work::-webkit-scrollbar, .pricing::-webkit-scrollbar, .projects::-webkit-scrollbar, .grid-3:has(.post)::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
  .stack > *, .work > *, .pricing > *, .projects > *, .grid-3:has(.post) > *, .rail > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .projects.projects-all { display: grid; grid-template-columns: 1fr; gap: 36px; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0; }
  .projects.projects-all > * { flex: initial; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 28px; padding: 0 var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex: none; }
  .stack-card { padding: 18px; gap: 0; }
  .sc-art { min-height: 0; aspect-ratio: 16 / 10; }
  .sc-main h3 { font-size: 30px; padding-top: 18px; margin-bottom: 10px; }
  .sc-main p { font-size: 15px; margin-bottom: 18px; }
  .project-body { padding-top: 14px; }
  .project-body h3 { font-size: 21px; }
  .post-body { padding-top: 14px; }
  .post-body h3 { font-size: 20px; margin: 8px 0 6px; }
  .plan { padding: 28px 22px 22px; }
  .plan-price { margin: 22px 0 18px; padding-bottom: 18px; }
  .plan ul { gap: 10px; margin-bottom: 24px; }
  .rail { border-top: 0; }
  .testi, .testi + .testi { padding: 22px 0 4px; border-top: 1px solid var(--line-2); }
  .testi blockquote { font-size: 21px; margin-bottom: 24px; }
  .why-grid .grid-2 { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .feature { padding: 18px 0 26px; }
  .feature-top { margin-bottom: 14px; }
  .feature-el { width: 56px; }
  .feature h3 { font-size: 18px; margin-bottom: 8px; }
  .feature p { font-size: 14px; }
  .steps { gap: 0; }
  .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 18px 0 20px; }
  .step-n { grid-row: span 2; margin: 0; font-size: 34px; }
  .step h3 { font-size: 18px; margin-bottom: 4px; }
  .step p { font-size: 14.5px; }
  .footer { padding-top: 64px; }
  .footer-cta { padding-bottom: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
  .footer-brand, .footer-contacts { grid-column: 1 / -1; }
  .footer-brand p { margin: 12px 0 18px; }
  .footer-bottom { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .intro > *, .js .hero h1 .w > span, .js .ha { opacity: 1; transform: none; }
  .scroll-bar { display: none; }
  [data-parallax] { transform: none !important; }
  .scrub.is-split span { opacity: 1; }
  @view-transition { navigation: none; }
}
@media (max-width: 960px) { .bt-d, .bt-minis { display: none; } }
@media (max-height: 560px) { .bt-ic { display: none; } }
