/* ==========================================================================
   Saltbyte — Design system & site styles
   Brand: Midnight #121826 · Sunset Coral #F0562F · Peach #FFB59E
          Ember #C2410C · Salt White #FAF6F1 · Grey #5B6170
   Type:  Space Grotesk (headings) · Inter (body)
   ========================================================================== */

/* Self-hosted Google Fonts (latin subset, variable). SIL Open Font License. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --midnight: #121826;
  --midnight-2: #1a2132;
  --midnight-3: #232b3f;
  --coral: #f0562f;
  --coral-2: #ff7a50;
  --peach: #ffb59e;
  --ember: #c2410c;
  --salt: #1b2336;      /* dark theme: tinted chip/field surface */
  --salt-2: #0f1522;
  --salt-white: #faf6f1;
  --grey: #5b6170;
  --slate: #6b7499;
  --white: #ffffff;

  --bg: #0b1019;
  --bg-2: #0f1522;
  --surface: #141b2a;
  --surface-2: #1b2336;
  --ink: #f3efe9;
  --muted: #98a0b3;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(255, 255, 255, 0.09);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.2);
  --shadow: 0 24px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  --shadow-lg: 0 50px 100px -30px rgba(0,0,0,.75);
  --shadow-coral: 0 14px 34px -12px rgba(240, 86, 47, 0.65);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --grain: url("../img/grain.png");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--coral); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }
.section { padding-block: var(--section); position: relative; }
.section-sm { padding-block: clamp(56px, 7vw, 96px); }
.section-dark { background: var(--midnight); color: #e7e9f0; }
.section-dark .lead, .section-dark p { color: #aab0c0; }
.section-cream { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-white { background: transparent; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .06; mix-blend-mode: overlay;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.display { font-size: clamp(2.9rem, 8vw, 6.6rem); letter-spacing: -0.045em; line-height: .96; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
.h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; }
.h4 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--peach) 0%, var(--coral) 45%, var(--coral-2) 75%, var(--peach) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.coral { color: var(--coral); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #aab0c0;
}
.eyebrow::before { content: "//"; color: var(--coral); font-weight: 600; letter-spacing: 0; }
.eyebrow b { color: var(--ink); font-weight: 500; }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.section-dark .eyebrow { color: #aab0c0; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #e5e7ee; backdrop-filter: blur(8px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 80%,100% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px 60px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--midnight); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; line-height: 1;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bg: var(--coral); box-shadow: var(--shadow-coral); }
.btn-primary:hover { --bg: #f4643f; box-shadow: 0 20px 40px -14px rgba(240,86,47,.8); }
.btn-dark { --bg: var(--salt-white); --fg: var(--midnight); }
.btn-dark:hover { --bg: #fff; }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: rgba(255,255,255,.2); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.section-dark .btn-ghost, .hero .btn-ghost, .on-dark .btn-ghost { border-color: rgba(255,255,255,.22); --fg: #fff; }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover, .on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-white { --bg: #fff; --fg: var(--midnight); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 20px 32px; font-size: 1.08rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--peach); position: relative;
}
.section-dark .link-arrow { color: var(--peach); }
.link-arrow .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--peach), var(--coral)); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff;
  transition: background .4s var(--ease), box-shadow .4s, transform .5s var(--ease), padding .4s var(--ease);
  padding-block: 18px;
}
.site-header.is-scrolled {
  background: rgba(11, 16, 25, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -15px rgba(0,0,0,.5);
  padding-block: 10px;
}
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 30px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.05em; line-height: 1; }
.wordmark span { color: var(--coral); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; font-size: .96rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: color .25s, background .25s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); margin-left: 2px; }
.main-nav .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-mega { position: relative; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(860px, 92vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
  background: var(--surface); color: var(--ink); border-radius: 24px; padding: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(18,24,38,.06);
  display: grid; grid-template-columns: 1fr 1fr 260px; gap: 6px;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a.mega-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 16px; color: var(--ink); background: transparent;
}
.mega a.mega-item:hover { background: var(--salt); }
.mega-item .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(240,86,47,.1); color: var(--coral); transition: background .3s, color .3s, transform .4s var(--ease);
}
.mega a.mega-item:hover .ico { background: var(--coral); color: #fff; transform: rotate(-6deg); }
.mega-item strong { display: block; font-family: var(--font-head); font-size: 1rem; letter-spacing: -0.01em; }
.mega-item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.mega-card {
  grid-row: span 4; border-radius: 18px; padding: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, rgba(240,86,47,.55), transparent 60%), var(--midnight);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
}
.mega-card h4 { font-size: 1.35rem; line-height: 1.1; }
.mega-card p { font-size: .9rem; color: #b9bfcc; }
.mega-card img { position: absolute; top: 22px; right: 22px; width: 54px; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.85); }
.header-phone:hover { color: #fff; }
.header-phone .i { width: 18px; height: 18px; color: var(--peach); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--midnight); color: #fff;
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.04em;
  padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu nav a:hover { color: var(--coral); }
.mobile-menu nav a .i { width: 26px; height: 26px; color: var(--coral); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .4s; }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 14px; color: #aab0c0; }
.mobile-menu .mm-foot a { color: #fff; font-weight: 500; }

@media (max-width: 1080px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .header-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--midnight); color: #fff; overflow: hidden; isolation: isolate;
  padding: clamp(130px, 16vw, 190px) 0 clamp(70px, 9vw, 120px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .glow {
  position: absolute; border-radius: 50%; opacity: .55; will-change: transform;
  animation: float 16s ease-in-out infinite;
}
.hero-bg .glow.g1 { width: 620px; height: 620px; right: -120px; top: -120px; background: radial-gradient(circle closest-side, rgba(240,86,47,.75), transparent); }
.hero-bg .glow.g2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle closest-side, rgba(107,116,153,.6), transparent); animation-delay: -6s; }
.hero-bg .glow.g3 { width: 300px; height: 300px; right: 30%; bottom: 0; background: radial-gradient(circle closest-side, rgba(255,181,158,.35), transparent); animation-delay: -10s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-40px, 30px) scale(1.08); } 66% { transform: translate(30px, -20px) scale(.95); } }
.hero-bg .gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; }
.hero-spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--hx, 70%) var(--hy, 30%), rgba(240,86,47,.12), transparent 60%);
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); letter-spacing: -0.05em; line-height: .95; }
.hero h1 .line { display: block; }
.rotator {
  display: inline-grid; vertical-align: bottom; position: relative;
  overflow: hidden; clip-path: inset(0 -0.2em 0 -0.05em); /* clip-path: Safari ignores overflow for text-clipped layers */
  height: 1.08em; padding-bottom: .08em;
}
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 70%, 0);
  transition: transform .75s var(--ease), opacity .45s var(--ease);
  will-change: transform, opacity;
}
.rotator > span.is-active { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: .12s; }
.rotator > span.is-leaving { opacity: 0; transform: translate3d(0, -70%, 0); transition-duration: .5s, .3s; }
html:not(.js) .rotator > span:first-child { opacity: 1; transform: none; }
.hero .lead { color: #b6bccb; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; color: #9aa1b3; font-size: .93rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { width: 18px; height: 18px; color: var(--coral); stroke-width: 2.4; }

/* ---------- 3D Cube ---------- */
.cube-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; display: grid; place-items: center; perspective: 1400px; }
.cube-stage .ring {
  position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12);
  animation: spin 60s linear infinite;
}
.cube-stage .ring.r2 { inset: 18%; border-style: solid; border-color: rgba(240,86,47,.18); animation-duration: 40s; animation-direction: reverse; }
.cube-stage .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 18px var(--coral); }
@keyframes spin { to { transform: rotate(360deg); } }
.cube-tilt { transform-style: preserve-3d; transition: transform .9s var(--ease); }
.cube {
  --s: clamp(64px, 8.4vw, 104px);
  --gap: clamp(6px, .8vw, 10px);
  --o: calc((var(--s) + var(--gap)) / 2);
  position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d;
  transform: rotateX(-33deg) rotateY(-45deg);
  animation: cubeIdle 12s ease-in-out infinite;
}
@keyframes cubeIdle {
  0%,100% { transform: rotateX(-33deg) rotateY(-45deg); }
  50% { transform: rotateX(-28deg) rotateY(-30deg); }
}
.cubelet { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); transform: translate3d(calc(var(--x) * var(--o)), calc(var(--y) * var(--o)), calc(var(--z) * var(--o))); }
.cube-stage:hover .cubelet, .cube-stage.is-exploded .cubelet { transform: translate3d(calc(var(--x) * var(--o) * 1.55), calc(var(--y) * var(--o) * 1.55), calc(var(--z) * var(--o) * 1.55)); }
.cube-stage:hover .cubelet.hot, .cube-stage.is-exploded .cubelet.hot { transform: translate3d(calc(var(--x) * var(--o) * 2.1), calc(var(--y) * var(--o) * 2.1), calc(var(--z) * var(--o) * 2.1)); }
.face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; }
.face.ft { transform: translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #59618a, #4a5175); }
.face.bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: #3a405d; }
.face.rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #454c6c, #363c58); }
.face.lt { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #59618a, #4a5175); }
.face.tp { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, #8088ad, #6b7499); }
.face.bt { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #2c3148; }
.cubelet.hot .face.ft, .cubelet.hot .face.lt { background: linear-gradient(135deg, #f46a43, #e04a22); }
.cubelet.hot .face.rt { background: linear-gradient(135deg, #cf4a12, #b23a09); }
.cubelet.hot .face.tp { background: linear-gradient(135deg, #ffa07c, #ff7a50); }
.cubelet.hot .face.bk, .cubelet.hot .face.bt { background: var(--ember); }
.cube-shadow { position: absolute; bottom: 14%; left: 50%; width: 46%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(240,86,47,.35), transparent); filter: blur(10px); }

.float-card {
  position: absolute; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(26,33,50,.72); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); font-size: .88rem; color: #dfe2ea;
  animation: bob 7s ease-in-out infinite; z-index: 2;
}
.float-card strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1rem; line-height: 1.2; }
.float-card small { color: #9aa1b3; font-size: .78rem; }
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(240,86,47,.18); color: var(--peach); }
.float-card .fc-ico .i { width: 20px; height: 20px; }
.float-card.fc1 { top: 8%; left: -4%; }
.float-card.fc2 { top: 46%; right: -8%; animation-delay: -2.5s; }
.float-card.fc3 { bottom: 6%; left: 4%; animation-delay: -5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cube-stage { max-width: 380px; order: -1; margin-bottom: -10px; }
  .float-card.fc1 { left: 0; top: 4%; } .float-card.fc2 { right: 0; top: auto; bottom: 6%; } .float-card.fc3 { display: none; }
}
@media (max-width: 520px) {
  .cube-stage { max-width: 300px; }
  .float-card { font-size: .8rem; padding: 9px 12px 9px 9px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
}

/* Inner page hero */
.page-hero { padding: clamp(150px, 18vw, 210px) 0 clamp(70px, 9vw, 110px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: #8d94a6; margin-bottom: 26px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--coral); color: #fff; padding: 20px 0; position: relative; z-index: 2; }
.marquee.tilt { transform: rotate(-1.6deg) scale(1.02); margin-block: -24px; box-shadow: 0 20px 40px -20px rgba(194,65,12,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; align-items: center; gap: 0; }
.marquee-track li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.03em; white-space: nowrap; }
.marquee-track li::after { content: ""; width: 14px; height: 14px; background: url("../img/logo-mark.svg") center/contain no-repeat; filter: brightness(0) invert(1); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js .split-words.is-in .w > span { transform: none; }

/* ---------- Work showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.showcase-media { position: relative; padding: 0 0 60px; }
.browser {
  position: relative; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(18,24,38,.08);
  transition: transform .8s var(--ease);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #1a2132; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3146; }
.browser-bar i:nth-child(1) { background: #ff6159; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar .url { margin-left: 14px; flex: 1; max-width: 320px; font-size: .75rem; color: #8d94a6; background: #0f1522; border-radius: 8px; padding: 5px 12px; display: flex; align-items: center; gap: 6px; }
.browser-bar .url svg { width: 11px; height: 11px; }
.browser-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1b2d; }
.browser-screen img.scroll { width: 100%; height: auto; transform: translateY(0); transition: transform 7s cubic-bezier(.45,.05,.35,1); }
.browser:hover .browser-screen img.scroll, .showcase-media:hover .browser-screen img.scroll { transform: translateY(calc(-100% + var(--screen-h, 380px))); }
.scroll-hint { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-size: .75rem; font-weight: 600; background: rgba(11,16,25,.82); color: #fff; padding: 7px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; transition: opacity .3s; }
.showcase-media:hover .scroll-hint { opacity: 0; }

.phone {
  position: absolute; right: -4%; bottom: 0; width: 28%; min-width: 130px; aspect-ratio: 9 / 19.2;
  border-radius: 30px; padding: 7px; background: #0d1220;
  box-shadow: 0 40px 70px -25px rgba(18,24,38,.6), inset 0 0 0 2px #2a3146;
  transform: rotate(4deg); transition: transform .8s var(--ease);
}
.showcase-media:hover .phone { transform: rotate(0deg) translateY(-10px); }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); border-radius: 10px; background: #0d1220; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }

.showcase-copy { display: grid; gap: 22px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.06); color: var(--ink); }
.section-dark .tag { background: rgba(255,255,255,.08); color: #dfe2ea; }
.tag.coral { background: rgba(240,86,47,.12); color: var(--peach); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(240,86,47,.12); color: var(--coral); stroke-width: 3; margin-top: 2px; }
.section-dark .check-list li { color: #cfd3dd; }

@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } .phone { right: 0; } }

/* Project cards */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-card { display: grid; gap: 18px; position: relative; }
.work-card .thumb {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--midnight-2); isolation: isolate;
}
.work-card .thumb > * { transition: transform 1s var(--ease); }
.work-card:hover .thumb > .mock, .work-card:hover .thumb > img { transform: scale(1.04); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card .view {
  position: absolute; z-index: 3; top: 50%; left: 50%; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.1;
  background: var(--coral); color: #fff; transform: translate(-50%, -50%) scale(0); transition: transform .5s var(--ease);
}
.work-card:hover .view { transform: translate(-50%, -50%) scale(1); }
.work-card h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.work-card .wc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.work-card .wc-head span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.work-card p { color: var(--muted); }
.work-card.is-hidden { display: none; }
.label-concept { position: absolute; z-index: 4; top: 16px; left: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--midnight); padding: 6px 10px; border-radius: 999px; }
.label-live { background: #e7fbef; color: #12723e; }
.label-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #20b462; margin-right: 6px; vertical-align: middle; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* CSS-built mock previews for concept / placeholder projects */
.mock { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; }
.mock .mwin { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.mock .mbar { height: 22px; background: #f1ede7; display: flex; gap: 5px; align-items: center; padding: 0 10px; flex: none; }
.mock .mbar i { width: 7px; height: 7px; border-radius: 50%; background: #ddd5cb; }
.mock .mbody { flex: 1; position: relative; padding: 7% 8%; display: flex; flex-direction: column; gap: 7%; }
.mock .mnav { display: flex; justify-content: space-between; align-items: center; }
.mock .mlogo { width: 22%; height: 8px; border-radius: 4px; }
.mock .mlinks { display: flex; gap: 6px; }
.mock .mlinks i { width: 22px; height: 5px; border-radius: 3px; background: currentColor; opacity: .25; }
.mock .mh { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-size: clamp(1rem, 2.6vw, 1.7rem); max-width: 70%; }
.mock .mp { display: grid; gap: 5px; width: 55%; }
.mock .mp i { height: 5px; border-radius: 3px; background: currentColor; opacity: .18; }
.mock .mp i:last-child { width: 70%; }
.mock .mbtns { display: flex; gap: 8px; }
.mock .mbtns i { width: 64px; height: 18px; border-radius: 999px; }
.mock .mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.mock .mcards i { height: 44px; border-radius: 8px; }
/* variants */
.mock-casula { background: linear-gradient(135deg, #0e3b5c, #1a6a9a); }
.mock-casula .mbody { background: linear-gradient(160deg, #f4f9fc 0%, #e3f0f8 100%); color: #0e3b5c; }
.mock-casula .mlogo { background: #1a6a9a; } .mock-casula .mbtns i:first-child { background: #1a8ac7; } .mock-casula .mbtns i:last-child { background: #fff; border: 1px solid #b8d4e6; }
.mock-casula .mcards i { background: #fff; box-shadow: 0 6px 14px -8px rgba(14,59,92,.35); }
.mock-cafe { background: linear-gradient(135deg, #3b2a20, #8a5a3b); }
.mock-cafe .mbody { background: #f6efe6; color: #3b2a20; }
.mock-cafe .mlogo { background: #3b2a20; } .mock-cafe .mbtns i:first-child { background: #c8693a; } .mock-cafe .mbtns i:last-child { background: #e9dccb; }
.mock-cafe .mcards i { background: linear-gradient(160deg, #d9b892, #b98a5f); }
.mock-trade { background: linear-gradient(135deg, #0f2a1f, #1f6b4a); }
.mock-trade .mbody { background: #0f1a14; color: #eafff3; }
.mock-trade .mlogo { background: #ffd23f; } .mock-trade .mbtns i:first-child { background: #ffd23f; } .mock-trade .mbtns i:last-child { background: rgba(255,255,255,.15); }
.mock-trade .mcards i { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.mock-ai { background: radial-gradient(circle at 30% 20%, #3a2a6b, #121826 70%); }
.mock-app { background: linear-gradient(135deg, #1a2132, #2b3552); }
.mock-seo { background: linear-gradient(135deg, #f0562f, #c2410c); }

/* AI chat mock */
.chat { width: 78%; max-width: 360px; display: grid; gap: 10px; }
.chat .b { padding: 10px 14px; border-radius: 16px; font-size: .82rem; line-height: 1.4; max-width: 85%; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.chat .b.bot { background: #fff; color: var(--midnight); border-bottom-left-radius: 4px; }
.chat .b.me { background: var(--coral); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat .b.typing { display: inline-flex; gap: 4px; width: max-content; }
.chat .b.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa1b3; animation: typing 1.2s infinite; }
.chat .b.typing i:nth-child(2) { animation-delay: .15s; } .chat .b.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Dashboard / app mock */
.dash { width: 86%; height: 78%; border-radius: 14px; background: #121826; border: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 22% 1fr; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.dash .side { background: #0d1220; padding: 12px; display: grid; gap: 8px; align-content: start; }
.dash .side i { height: 7px; border-radius: 4px; background: rgba(255,255,255,.12); }
.dash .side i:first-child { background: var(--coral); width: 70%; margin-bottom: 8px; }
.dash .main { padding: 14px; display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.dash .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash .kpis div { border-radius: 8px; background: rgba(255,255,255,.05); padding: 8px; display: grid; gap: 5px; }
.dash .kpis b { font-family: var(--font-head); color: #fff; font-size: .9rem; }
.dash .kpis i { height: 4px; width: 60%; border-radius: 3px; background: rgba(255,255,255,.15); }
.dash .chart { border-radius: 8px; background: rgba(255,255,255,.04); display: flex; align-items: flex-end; gap: 5%; padding: 10px 10px 0; }
.dash .chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--ember), var(--coral-2)); opacity: .9; }

/* SEO mock */
.serp { width: 80%; background: #fff; border-radius: 14px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.serp .q { display: flex; align-items: center; gap: 8px; border: 1px solid #e6e1da; border-radius: 999px; padding: 8px 12px; font-size: .8rem; color: #444; }
.serp .q svg { width: 14px; height: 14px; color: #888; }
.serp .r { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; }
.serp .r.top { background: rgba(240,86,47,.08); outline: 1px solid rgba(240,86,47,.25); }
.serp .r b { font-size: .82rem; color: #1a0dab; font-weight: 500; }
.serp .r small { font-size: .7rem; color: #2a7a3e; }
.serp .r i { height: 4px; border-radius: 3px; background: #e4e0da; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240,86,47,.12), transparent 45%);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(240,86,47,.3); }
.svc:hover::before { opacity: 1; }
.svc .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--salt); color: var(--coral); transition: transform .6s var(--ease), background .3s, color .3s;
}
.svc .ico .i { width: 26px; height: 26px; }
.svc:hover .ico { background: var(--coral); color: #fff; transform: rotate(-8deg) scale(1.05); }
.svc h3 { font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1.1; }
.svc p { color: var(--muted); font-size: .98rem; }
.svc .link-arrow { margin-top: auto; padding-top: 10px; }
.svc .num { position: absolute; top: 26px; right: 30px; font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.18); font-size: .95rem; }
.svc.span-7 { grid-column: span 7; } .svc.span-5 { grid-column: span 5; } .svc.span-4 { grid-column: span 4; } .svc.span-6 { grid-column: span 6; } .svc.span-8 { grid-column: span 8; }
.svc.feature { background: linear-gradient(160deg, #1a2236, #121826); color: #fff; border-color: rgba(255,255,255,.1); }
.svc.feature p { color: #aab0c0; }
.svc.feature .ico { background: rgba(240,86,47,.15); }
.svc.feature .num { color: rgba(255,255,255,.2); }
.svc.feature .link-arrow { color: var(--peach); }
.svc.feature::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(240,86,47,.5), transparent); filter: blur(20px);
}
.svc.coral { background: linear-gradient(140deg, var(--coral), var(--ember)); color: #fff; border-color: transparent; }
.svc.coral p { color: rgba(255,255,255,.85); }
.svc.coral .ico { background: rgba(255,255,255,.18); color: #fff; }
.svc.coral .num { color: rgba(255,255,255,.4); }
.svc.coral .link-arrow { color: #fff; }
.svc .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .svc-tags span { font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: var(--salt); color: var(--muted); font-weight: 500; }
.svc.feature .svc-tags span { background: rgba(255,255,255,.07); color: #c5cad6; }
.svc-visual { display: flex; gap: 10px; align-items: flex-end; margin-top: 8px; }
@media (max-width: 1000px) { .svc.span-7, .svc.span-5, .svc.span-4, .svc.span-6, .svc.span-8 { grid-column: span 6; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .svc.span-7, .svc.span-5, .svc.span-4, .svc.span-6, .svc.span-8 { grid-column: auto; } .svc { min-height: 0; } }

/* Mini code window inside feature card */
.codewin { margin-top: 10px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); padding: 16px 18px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; line-height: 1.7; color: #c9cede; overflow: hidden; }
.codewin .k { color: var(--peach); } .codewin .s { color: #8fe3b5; } .codewin .c { color: #6b7499; } .codewin .f { color: #8ab4ff; }
.codewin .caret { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--coral); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 36px 26px 10px 0; border-right: 1px solid var(--line-dark); padding-left: 26px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.8rem, 5.5vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; color: #fff; }
.stat .n sup, .stat .n small { font-size: .45em; color: var(--coral); vertical-align: top; letter-spacing: 0; margin-left: 2px; }
.stat p { margin-top: 12px; font-size: .95rem; color: #9aa1b3; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }

/* ---------- Why / feature split ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why-sticky { position: sticky; top: 120px; display: grid; gap: 24px; }
.why-list { display: grid; gap: 16px; }
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.why-item:hover { background: rgba(255,255,255,.06); border-color: rgba(240,86,47,.35); transform: translateX(6px); }
.why-item .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(240,86,47,.14); color: var(--peach); }
.why-item h3 { font-size: 1.25rem; color: #fff; margin-bottom: 6px; letter-spacing: -0.02em; line-height: 1.25; }
.why-item p { font-size: .97rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-sticky { position: static; } }

/* AU badge */
.au-badge { display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.au-badge svg { width: 44px; height: 44px; }
.au-badge strong { display: block; font-family: var(--font-head); color: #fff; }
.au-badge small { color: #9aa1b3; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 34px; right: 22%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px); }
.step { position: relative; display: grid; gap: 14px; padding-right: 10px; }
.step .bubble {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--coral);
  box-shadow: var(--shadow-sm); transition: background .4s, color .4s, transform .5s var(--ease);
}
.step:hover .bubble { background: var(--coral); color: #fff; transform: scale(1.08) rotate(-6deg); }
.step h3 { font-size: 1.35rem; letter-spacing: -0.025em; margin-top: 10px; }
.step p { color: var(--muted); font-size: .97rem; }
.step .dur { font-size: .8rem; font-weight: 600; color: var(--peach); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.industry { background: var(--surface); padding: 34px; display: grid; gap: 10px; position: relative; overflow: hidden; transition: background .4s; }
.industry:hover { background: var(--surface-2); }
.industry .emoji { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); box-shadow: var(--shadow-sm); color: var(--coral); }
.industry h3 { font-size: 1.3rem; letter-spacing: -0.025em; margin-top: 6px; }
.industry p { color: var(--muted); font-size: .95rem; }
.industry .arrow { position: absolute; top: 30px; right: 30px; color: var(--coral); opacity: 0; transform: translate(-8px, 8px); transition: all .4s var(--ease); }
.industry:hover .arrow { opacity: 1; transform: none; }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.pricing-toggle button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background .3s, color .3s; }
.pricing-toggle button[aria-selected="true"] { background: var(--coral); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 36px 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.popular { background: linear-gradient(170deg, #1d2538, #121826); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card.popular::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--coral), transparent 40%, transparent 60%, var(--peach)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card .badge { position: absolute; top: -13px; left: 32px; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.price-card .desc { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.price-card.popular .desc { color: #aab0c0; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .from { font-size: .85rem; color: var(--muted); width: 100%; }
.price-card.popular .price .from, .price-card.popular .price .per { color: #9aa1b3; }
.price .amt { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; letter-spacing: -0.05em; line-height: 1; }
.price .per { color: var(--muted); font-size: .9rem; }
.price-card ul { display: grid; gap: 11px; font-size: .95rem; }
.price-card li { display: flex; gap: 10px; }
.price-card li .i { width: 20px; height: 20px; color: var(--coral); stroke-width: 2.6; margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.price-panel[hidden] { display: none; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-size: 1.05rem; background: var(--midnight); color: #fff; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--coral); font-weight: 700; }
.compare .no { color: #c4c7cf; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(240,86,47,.35); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; flex: none; position: relative; background: var(--salt); transition: background .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--coral); transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 24px 24px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  background: var(--midnight); color: #fff; padding: clamp(50px, 8vw, 110px) clamp(28px, 6vw, 90px);
  border: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 100%, rgba(240,86,47,.7), transparent 60%), radial-gradient(50% 60% at 0% 0%, rgba(107,116,153,.4), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.05em; line-height: .98; }
.cta-band p { color: #c3c8d4; margin-top: 18px; max-width: 46ch; }
.cta-band .cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-band .contact-mini { display: grid; gap: 6px; color: #c3c8d4; font-size: .95rem; margin-top: 10px; }
.cta-band .contact-mini a { color: #fff; font-weight: 600; }
.cta-band .contact-mini a:hover { color: var(--peach); }
.cta-cube { position: absolute; right: -30px; top: -30px; width: 200px; opacity: .14; transform: rotate(12deg); z-index: -1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #080c14; border-top: 1px solid var(--line); color: #aab0c0; padding-top: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; }
.footer-top h4 { font-family: var(--font-head); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-top ul { display: grid; gap: 10px; font-size: .96rem; }
.footer-top a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .96rem; }
.footer-brand .brand { color: #fff; }
.newsletter { margin-top: 26px; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); max-width: 400px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; color: #fff; outline: none; font-size: .95rem; }
.newsletter input::placeholder { color: #7d8496; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.ack { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line-dark); font-size: .9rem; color: #8d94a6; }
.ack .flags { display: flex; gap: 6px; }
.ack .flags span { width: 34px; height: 22px; border-radius: 4px; display: block; }
.flag-ab { background: linear-gradient(#000 50%, #c8102e 50%); position: relative; }
.flag-ab::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #ffcd00; transform: translate(-50%, -50%); }
.flag-ts { background: linear-gradient(#00a651 25%, #000 25% 27%, #0072c6 27% 73%, #000 73% 75%, #00a651 75%); position: relative; }
.flag-ts::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 24px 0 30px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: #7d8496; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
.footer-giant {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.07em; line-height: .78;
  font-size: clamp(5rem, 23vw, 22rem); text-align: center; margin-bottom: -0.12em; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-giant span { background: linear-gradient(180deg, rgba(240,86,47,.35), rgba(240,86,47,0) 85%); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .ack { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.svc-nav {
  position: sticky; top: var(--header-h, 66px); z-index: 50;
  background: rgba(11,16,25,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: top .5s var(--ease), box-shadow .4s;
}
.svc-nav.is-stuck { box-shadow: 0 12px 30px -18px rgba(18,24,38,.35); }
.header-hidden .svc-nav { top: 0; }
html:has(.svc-nav) { scroll-padding-top: 64px; }
.svc-detail { scroll-margin-top: 64px; }
.svc-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-flex; padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; white-space: nowrap; color: var(--muted); transition: background .3s, color .3s; }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-active { background: var(--coral); color: #fff; }
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 6.5vw, 96px); border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail.flip .svc-art { order: 2; }
.svc-detail .copy { display: grid; gap: 22px; }
.svc-detail .copy .num { font-family: var(--font-head); font-weight: 700; color: var(--coral); font-size: 1rem; }
.svc-detail h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.deliverables li { display: flex; gap: 10px; font-size: .97rem; }
.deliverables li .i { width: 20px; height: 20px; color: var(--coral); stroke-width: 2.6; margin-top: 3px; }
.svc-art { position: relative; aspect-ratio: 1 / .9; border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.svc-art.dark { background: var(--midnight); }
.svc-art.coral { background: linear-gradient(140deg, var(--coral), var(--ember)); }
.svc-art.peach { background: linear-gradient(140deg, #ffd8cb, var(--peach)); }
.svc-art.slate { background: linear-gradient(140deg, #2b3552, #121826); }
.svc-art::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; z-index: 5; pointer-events: none; }
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-row span { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 500; background: #fff; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail.flip .svc-art { order: 0; } }
@media (max-width: 520px) { .deliverables { grid-template-columns: 1fr; } }

/* Social mock */
.social-stack { position: relative; width: 70%; height: 80%; }
.post { position: absolute; width: 62%; border-radius: 18px; background: #fff; box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); padding: 12px; display: grid; gap: 10px; }
.post .ph { aspect-ratio: 1; border-radius: 12px; }
.post .meta { display: flex; gap: 8px; align-items: center; }
.post .meta i { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); }
.post .meta b { height: 6px; width: 40%; border-radius: 4px; background: #e5e0d9; }
.post .acts { display: flex; gap: 10px; color: var(--coral); }
.post .acts svg { width: 18px; height: 18px; }
.post.p1 { left: 0; top: 4%; transform: rotate(-7deg); }
.post.p1 .ph { background: linear-gradient(135deg, var(--midnight), #3a405d); }
.post.p2 { right: 0; top: 18%; transform: rotate(6deg); z-index: 2; }
.post.p2 .ph { background: linear-gradient(135deg, var(--peach), var(--coral)); }
.heart-pop { position: absolute; z-index: 3; right: 6%; top: 6%; background: #fff; color: var(--coral); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-family: var(--font-head); display: flex; gap: 6px; align-items: center; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.heart-pop svg { width: 18px; height: 18px; fill: var(--coral); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; transition: transform .6s var(--ease), box-shadow .6s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .big { font-family: var(--font-head); font-weight: 700; font-size: 3rem; letter-spacing: -0.05em; line-height: 1; color: var(--coral); }
.value h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
.value p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story .copy { display: grid; gap: 20px; }
.story .copy p { color: var(--muted); }
.story-art { aspect-ratio: 1; border-radius: var(--radius-xl); background: var(--midnight); position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.story-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 70% 30%, rgba(240,86,47,.55), transparent 70%); }
.story-art img { width: 46%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); animation: bob 8s ease-in-out infinite; }
.story-art .caption { position: absolute; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; color: #aab0c0; font-size: .85rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { display: grid; gap: 14px; }
.member .avatar { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: #fff; letter-spacing: -0.04em; }
.member:nth-child(1) .avatar { background: linear-gradient(160deg, #2b3552, var(--midnight)); }
.member:nth-child(2) .avatar { background: linear-gradient(160deg, var(--coral), var(--ember)); }
.member:nth-child(3) .avatar { background: linear-gradient(160deg, #8088ad, #4a5175); }
.member:nth-child(4) .avatar { background: linear-gradient(160deg, var(--peach), #f08a6a); }
.member h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.member p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps-bar { display: flex; gap: 8px; margin-bottom: 30px; }
.steps-bar span { flex: 1; height: 5px; border-radius: 5px; background: var(--salt-2); overflow: hidden; position: relative; }
.steps-bar span::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps-bar span.done::after { transform: scaleX(1); }
.form-step { display: none; gap: 24px; }
.form-step.is-active { display: grid; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
.form-step .hint { color: var(--muted); margin-top: -12px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; cursor: pointer; height: 100%;
  border: 1.5px solid var(--line); background: var(--salt); font-weight: 500; font-size: .96rem; line-height: 1.3;
  transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.choice label .i { color: var(--coral); }
.choice label:hover { border-color: rgba(240,86,47,.45); transform: translateY(-2px); }
.choice input:checked + label { border-color: var(--coral); background: rgba(240,86,47,.07); box-shadow: 0 0 0 3px rgba(240,86,47,.12); }
.choice input:focus-visible + label { outline: 2px solid var(--coral); outline-offset: 2px; }
.choice-grid.pills { display: flex; flex-wrap: wrap; }
.choice-grid.pills label { padding: 12px 18px; border-radius: 999px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--salt);
  font-size: 1rem; outline: none; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); background: var(--surface); box-shadow: 0 0 0 4px rgba(240,86,47,.12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d93025; }
.field .err { color: #d93025; font-size: .85rem; display: none; }
.field.has-error .err { display: block; }
.step-error { color: #d93025; font-size: .9rem; display: none; }
.step-error.show { display: block; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.form-nav .back { font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.form-nav .back:hover { color: var(--ink); }
.form-nav .back .i { width: 18px; height: 18px; transform: rotate(180deg); }
.form-success { display: none; text-align: center; justify-items: center; gap: 18px; padding: 30px 0; }
.form-success.show { display: grid; animation: stepIn .6s var(--ease); }
.form-success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-coral); }
.form-success .tick .i { width: 40px; height: 40px; stroke-width: 3; }
.hp { position: absolute; left: -9999px; }
.contact-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.contact-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; transition: transform .5s var(--ease), box-shadow .5s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(240,86,47,.1); color: var(--coral); margin-bottom: 8px; }
.contact-card small { color: var(--muted); font-size: .85rem; }
.contact-card strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.02em; }
.contact-card.dark { background: linear-gradient(160deg, rgba(240,86,47,.16), var(--surface) 60%); color: #fff; border-color: rgba(240,86,47,.25); }
.contact-card.dark small, .contact-card.dark p { color: #aab0c0; }
.hours { display: grid; gap: 6px; font-size: .93rem; margin-top: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #3ddc84; }
.open-now.closed { color: var(--peach); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); height: 380px; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Case study ---------- */
.cs-hero-media { margin-top: clamp(-120px, -8vw, -60px); position: relative; z-index: 2; }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.cs-facts div { background: var(--surface); padding: 26px; }
.cs-facts small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.cs-facts strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-top: 6px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .cs-facts { grid-template-columns: 1fr 1fr; } }
.cs-body { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 90px); }
.cs-body aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 10px; }
.cs-body aside a { color: var(--muted); font-weight: 500; padding: 8px 0 8px 16px; border-left: 2px solid var(--line); transition: color .3s, border-color .3s; }
.cs-body aside a:hover, .cs-body aside a.is-active { color: var(--ink); border-color: var(--coral); }
.prose { display: grid; gap: 22px; max-width: 70ch; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #b9bfcc; font-size: 1.06rem; }
.prose ul.check-list { margin-top: 4px; }
.cs-gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.cs-gallery .tile { border-radius: var(--radius-lg); overflow: hidden; background: var(--midnight); }
.cs-gallery .tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-gallery .tile.phone-tile { display: grid; place-items: center; padding: 30px; background: linear-gradient(140deg, var(--coral), var(--ember)); }
.cs-gallery .tile.phone-tile img { width: 62%; height: auto; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); border: 6px solid #0d1220; }
@media (max-width: 860px) { .cs-body { grid-template-columns: 1fr; } .cs-body aside { display: none; } .cs-gallery { grid-template-columns: 1fr; } }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.next-project .h2 { transition: color .3s; }
.next-project:hover .h2 { color: var(--coral); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .94rem; color: var(--muted); transition: all .3s; }
.filters button:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.filters button.is-active { background: var(--coral); color: #fff; border-color: var(--coral); }

/* Simple prose page */
.legal { max-width: 780px; display: grid; gap: 18px; }
.legal h2 { font-size: 1.6rem; margin-top: 26px; }
.legal p, .legal li { color: #b9bfcc; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(8rem, 30vw, 20rem); letter-spacing: -0.08em; line-height: .8; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-coral); opacity: 0; transform: translateY(20px) scale(.8); transition: all .5s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .i { transform: rotate(-90deg); }
.to-top:hover { background: var(--ember); }

/* Utilities */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; } .mt-5 { margin-top: 72px; }
.center { text-align: center; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.divider { height: 1px; background: var(--line); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split-words .w > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}


/* Map facade */
.map-facade { filter: none; background: radial-gradient(60% 80% at 70% 30%, rgba(240,86,47,.18), transparent 70%), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px), var(--salt-2); }
.map-load { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--muted); }
.map-load strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); letter-spacing: -0.03em; }
.map-load .ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); transition: transform .4s var(--ease); }
.map-load .ico .i { width: 28px; height: 28px; }
.map-load:hover .ico { transform: translateY(-4px) scale(1.05); }
.map-load u { color: var(--peach); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   v2 — modern components
   ========================================================================== */

/* Hero v2 */
.hero-v2 { padding-bottom: clamp(80px, 9vw, 120px); }
.hero-v2 .hero-grid { grid-template-columns: 1fr 1.02fr; gap: clamp(30px, 5vw, 70px); }
.hero-v2 h1 { font-size: clamp(3rem, 6.8vw, 6.2rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; font-size: .78rem; color: #8d94a6; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta b { color: var(--peach); font-weight: 600; margin-right: 4px; }
@media (max-width: 960px) { .hero-v2 .hero-grid { grid-template-columns: 1fr; } }

/* Console (live studio demo) */
.console {
  position: relative; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(26,33,50,.92), rgba(15,21,34,.95));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; background: linear-gradient(140deg, rgba(240,86,47,.6), transparent 35%, transparent 70%, rgba(255,181,158,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.console-bar .dots { display: flex; gap: 7px; }
.console-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3146; }
.console-bar .dots i:nth-child(1) { background: #ff6159; } .console-bar .dots i:nth-child(2) { background: #ffbd2e; } .console-bar .dots i:nth-child(3) { background: #28c941; }
.console-title { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: #c9cede; }
.console-title span { color: #6b7499; }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; letter-spacing: .14em; color: #3ddc84; }
.console-live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: ping 2s infinite; }
.console-tabs { position: relative; display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); overflow-x: auto; scrollbar-width: none; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 14px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #8d94a6; transition: color .3s; white-space: nowrap; }
.console-tabs button .i { width: 16px; height: 16px; }
.console-tabs button:hover { color: #fff; }
.console-tabs button[aria-selected="true"] { color: #fff; }
.console-tabs button[aria-selected="true"] .i { color: var(--coral); }
.tab-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--tw, 0); transform: translateX(var(--tx, 0)); transition: transform .5s var(--ease), width .5s var(--ease); }
.tab-progress i { position: absolute; inset: 0; background: var(--coral); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--coral); }
.console.is-playing .tab-progress i { animation: tabfill var(--dur, 5s) linear forwards; }
.console.is-paused .tab-progress i { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }
.console-body { position: relative; height: clamp(300px, 30vw, 380px); }
.pane { position: absolute; inset: 0; padding: 22px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.pane.is-active { opacity: 1; visibility: visible; transform: none; }
.pane .a { opacity: 0; }
.pane.is-active .a { animation: paneIn .7s var(--ease) both; animation-delay: calc(var(--i) * 140ms + 100ms); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.console-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: .7rem; letter-spacing: .12em; color: #6b7499; }
.console-foot b { color: #e7e9f0; font-weight: 500; margin-left: 4px; }
.console-foot .ok { margin-left: auto; color: #3ddc84; display: inline-flex; align-items: center; gap: 7px; }
.console-foot .ok i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ok { color: #3ddc84; }

/* design pane: a mini website assembling itself */
.ds { position: relative; height: 100%; border-radius: 14px; background: #faf6f1; color: #121826; padding: 16px 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; overflow: hidden; }
.ds-nav { display: flex; align-items: center; gap: 12px; }
.ds-logo { width: 64px; height: 10px; border-radius: 5px; background: #121826; }
.ds-links { display: flex; gap: 8px; margin-left: auto; }
.ds-links i { width: 26px; height: 6px; border-radius: 3px; background: rgba(18,24,38,.2); }
.ds-btn { width: 54px; height: 20px; border-radius: 999px; background: var(--coral); }
.ds-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.ds-copy { display: grid; gap: 10px; }
.ds-tag { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; color: var(--ember); }
.ds-h { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.1vw, 1.65rem); line-height: 1; letter-spacing: -0.04em; }
.ds-h em { font-style: normal; color: var(--coral); }
.ds-p { display: grid; gap: 5px; }
.ds-p i { height: 5px; border-radius: 3px; background: rgba(18,24,38,.15); }
.ds-p i:last-child { width: 70%; }
.ds-ctas { display: flex; gap: 8px; }
.ds-ctas i { width: 70px; height: 22px; border-radius: 999px; background: #121826; }
.ds-ctas i:last-child { background: transparent; border: 1.5px solid rgba(18,24,38,.25); }
.ds-img { height: 100%; min-height: 110px; border-radius: 12px; background: linear-gradient(140deg, var(--peach), var(--coral) 60%, var(--ember)); position: relative; overflow: hidden; }
.ds-img span { position: absolute; inset: 18% 22%; border-radius: 10px; background: rgba(255,255,255,.25); backdrop-filter: blur(4px); }
.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ds-cards i { height: 48px; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px -10px rgba(18,24,38,.35); }
.ds-cursor { position: absolute; width: 22px; height: 22px; left: 70%; top: 80%; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.pane-design.is-active .ds-cursor { animation: cursorMove 4.6s var(--ease-in-out) .9s both; }
@keyframes cursorMove { 0% { opacity: 0; left: 80%; top: 85%; } 10% { opacity: 1; } 45% { left: 16%; top: 62%; } 55% { left: 16%; top: 62%; transform: scale(.85); } 60% { transform: scale(1); } 90% { left: 86%; top: 8%; opacity: 1; } 100% { left: 86%; top: 8%; opacity: 0; } }

/* code pane */
.code { margin: 0; font-size: clamp(.72rem, 1vw, .85rem); line-height: 1.8; color: #c9cede; white-space: normal; overflow: hidden; }
.code .ln:empty { height: .9em; }
.code .ln { display: block; overflow: hidden; width: 0; white-space: pre; }
.pane-code.is-active .code .ln { animation: typeLine .5s steps(30, end) both; animation-delay: calc(var(--i) * 260ms + 150ms); }
@keyframes typeLine { from { width: 0; } to { width: 100%; } }
.code .k { color: var(--peach); } .code .s { color: #8fe3b5; } .code .c { color: #6b7499; } .code .f { color: #8ab4ff; } .code .n { color: #ffd479; }
.code .caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -3px; background: var(--coral); animation: blink 1s steps(2) infinite; margin-left: 2px; }
.build-log { position: absolute; left: 22px; right: 22px; bottom: 18px; font-size: .74rem; color: #c9cede; padding: 10px 14px; border-radius: 10px; background: rgba(61,220,132,.08); border: 1px solid rgba(61,220,132,.2); opacity: 0; }
.build-log .dim { color: #6b7499; }
.pane-code.is-active .build-log { animation: paneIn .6s var(--ease) 2.9s both; }

/* seo pane */
.serp2 { height: 100%; border-radius: 14px; background: #fff; color: #202124; padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.q2 { display: flex; align-items: center; gap: 10px; border: 1px solid #e6e1da; border-radius: 999px; padding: 10px 16px; font-size: .9rem; box-shadow: 0 2px 8px -4px rgba(0,0,0,.15); }
.q2 .i { width: 16px; height: 16px; color: #888; }
.q2 .typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--coral); width: 0; }
.pane-seo.is-active .q2 .typed { animation: typeQ 1s steps(15, end) .2s both, caretOff .1s 1.4s forwards; }
@keyframes typeQ { to { width: 15ch; } }
@keyframes caretOff { to { border-color: transparent; } }
.results { position: relative; }
.res { --row: 58px; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--row) - 8px); display: grid; align-content: center; gap: 2px; padding: 0 14px; border-radius: 10px; transform: translateY(calc(var(--from) * var(--row))); transition: transform 1s var(--ease), background .4s, box-shadow .4s; }
.res small { font-size: .7rem; color: #2a7a3e; }
.res b { font-size: .86rem; color: #1a0dab; font-weight: 500; }
.res.me { background: rgba(240,86,47,.06); outline: 1px dashed rgba(240,86,47,.4); }
.pane-seo.is-active .res { transform: translateY(calc(var(--to) * var(--row))); transition-delay: 1.6s; }
.pane-seo.is-active .res.me { background: rgba(240,86,47,.1); box-shadow: 0 12px 30px -14px rgba(240,86,47,.6); outline-style: solid; }
.rank { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(0); background: var(--coral); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 9px; border-radius: 999px; transition: transform .5s var(--ease) 2.5s; }
.pane-seo.is-active .rank { transform: translateY(-50%) scale(1); }

/* ai pane */
.chat2 { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.b2 { max-width: 80%; padding: 11px 15px; border-radius: 16px; font-size: .88rem; line-height: 1.45; }
.b2.bot { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); color: #e7e9f0; border-bottom-left-radius: 4px; }
.b2.me { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 4px; }
.b2.sys { align-self: center; font-size: .72rem; letter-spacing: .06em; color: #c9cede; background: rgba(61,220,132,.08); border: 1px solid rgba(61,220,132,.22); border-radius: 999px; padding: 7px 14px; }

@media (max-width: 520px) {
  .console-body { height: 330px; }
  .pane { padding: 14px; }
  .ds-hero { grid-template-columns: 1fr; }
  .ds-img { display: none; }
  .console-foot span:nth-child(3) { display: none; }
}

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(255,255,255,.012); }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; }
.ticker li { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; white-space: nowrap; color: var(--ink); }
.ticker li.o { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.35); }
.ticker li::after { content: ""; width: .42em; height: .48em; background: url("../img/logo-mark.svg") center/contain no-repeat; }

/* Scroll-linked drift on project thumbs (no JS; skipped where unsupported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .thumb.drift > img, .thumb.drift > .mock { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: translateY(-4%) scale(1.08); } to { transform: translateY(4%) scale(1.08); } }
    .work-card:hover .thumb.drift > * { scale: 1.03; transition: scale 1s var(--ease); }
  }
}

/* Pinned horizontal services */
.hscroll { position: relative; padding-block: clamp(70px, 8vw, 110px); }
.hs-pin { display: grid; gap: clamp(30px, 4vw, 52px); }
.hs-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 60px; align-items: end; }
.hs-title { display: grid; gap: 18px; }
.hs-side { display: grid; gap: 22px; }
.hs-meter { display: flex; align-items: center; gap: 16px; font-size: .74rem; letter-spacing: .14em; color: #8d94a6; text-transform: uppercase; }
.hs-meter b { color: var(--ink); font-weight: 500; }
.hs-bar { flex: 1; height: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; border-radius: 2px; }
.hs-bar i { position: absolute; inset: 0; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--p, .08)); }
.hs-cue { display: inline-flex; align-items: center; gap: 6px; }
.hs-cue .i { width: 14px; height: 14px; animation: cueX 1.6s var(--ease) infinite; }
@keyframes cueX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.hs-viewport { overflow: hidden; }
.hs-track { display: flex; gap: 18px; padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); will-change: transform; }
.hs-card {
  --mx: 50%; --my: 50%;
  position: relative; flex: none; width: clamp(280px, 30vw, 400px); min-height: clamp(440px, 34vw, 500px);
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, background .4s;
}
.hs-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(240,86,47,.16), transparent 45%); }
.hs-card:hover { transform: translateY(-6px); border-color: rgba(240,86,47,.4); }
.hs-card:hover::before { opacity: 1; }
.hs-card.hot { background: linear-gradient(165deg, rgba(240,86,47,.22), var(--surface) 55%); border-color: rgba(240,86,47,.28); }
.hs-top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .16em; color: #6b7499; }
.hs-top span:first-child { color: var(--coral); }
.hs-card h3 { font-size: 1.6rem; letter-spacing: -0.035em; line-height: 1.08; margin-top: auto; }
.hs-card p { color: var(--muted); font-size: .95rem; }
.hs-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .12em; color: #aab0c0; }
.hs-foot .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.06); transition: background .3s, transform .4s var(--ease); }
.hs-card:hover .hs-foot .i { background: var(--coral); color: #fff; transform: rotate(45deg); }
.hs-art { position: relative; height: 150px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); overflow: hidden; display: grid; place-items: center; }
.hs-end { justify-content: center; align-items: flex-start; background: linear-gradient(160deg, var(--coral), var(--ember)); border-color: transparent; }
.hs-end h3 { margin-top: 18px; font-size: 2rem; color: #fff; }
.hs-end .btn { --bg: var(--midnight); box-shadow: none; margin-top: 10px; }
.hs-end img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
/* mini art */
.mini-browser { width: 78%; height: 72%; border-radius: 10px; background: #faf6f1; padding: 10px; display: grid; gap: 7px; align-content: start; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.hs-card:hover .mini-browser { transform: rotate(0) scale(1.04); }
.mini-browser i { height: 6px; width: 40%; border-radius: 3px; background: #121826; }
.mini-browser b { height: 10px; border-radius: 4px; background: rgba(18,24,38,.14); }
.mini-browser b:nth-of-type(2) { width: 70%; }
.mini-browser span { height: 26px; width: 46%; border-radius: 999px; background: var(--coral); margin-top: 4px; }
.art-seo { display: flex; align-items: flex-end; gap: 8px; padding: 18px 22px 0; place-items: initial; }
.art-seo .bar { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: rgba(255,255,255,.1); transition: height .8s var(--ease); }
.art-seo .bar.hi { background: linear-gradient(to top, var(--ember), var(--coral-2)); box-shadow: 0 0 20px rgba(240,86,47,.5); }
.hs-card:hover .art-seo .bar { height: calc(var(--h) * .9 + 10%); }
.art-social .tile { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 12px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.art-social .t1 { left: 10%; top: 18%; background: linear-gradient(135deg, #3a405d, #1a2132); transform: rotate(-8deg); }
.art-social .t2 { left: 30%; top: 10%; background: linear-gradient(135deg, var(--peach), var(--coral)); transform: rotate(3deg); z-index: 2; }
.art-social .t3 { left: 50%; top: 22%; background: linear-gradient(135deg, #6b7499, #3a405d); transform: rotate(10deg); }
.hs-card:hover .t1 { transform: rotate(-14deg) translateX(-8px); } .hs-card:hover .t3 { transform: rotate(16deg) translateX(8px); }
.art-social .likes { position: absolute; right: 10px; bottom: 10px; z-index: 3; font-size: .7rem; background: #fff; color: var(--coral); padding: 5px 10px; border-radius: 999px; font-weight: 600; }
.art-code { place-items: initial; align-content: center; padding: 0 22px; gap: 4px; font-size: .8rem; color: #c9cede; }
.art-code span { display: block; white-space: pre; }
.art-code em { font-style: normal; color: var(--peach); }
.art-ai .orb { width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd2c2, var(--coral) 55%, var(--ember)); box-shadow: 0 0 40px rgba(240,86,47,.7); animation: orb 4s ease-in-out infinite; }
.art-ai .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(240,86,47,.35); animation: ripple 3s ease-out infinite; width: 60px; height: 60px; }
.art-ai .r2 { animation-delay: 1.5s; }
@keyframes orb { 50% { transform: scale(1.08); } }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.art-shop { display: flex; gap: 12px; place-items: initial; align-items: center; justify-content: center; }
.art-shop .p { width: 34%; height: 70%; border-radius: 12px; background: linear-gradient(160deg, #d9b892, #b98a5f); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.art-shop .p + .p { background: linear-gradient(160deg, var(--peach), var(--coral)); transform: translateY(8px); }
.art-shop .badge { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: .64rem; letter-spacing: .1em; background: var(--coral); color: #fff; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.art-brand { display: flex; place-items: initial; align-items: center; justify-content: center; }
.art-brand span { width: 44px; height: 44px; border-radius: 50%; background: var(--c); margin-left: -10px; border: 2px solid var(--surface); transition: margin .5s var(--ease); }
.art-brand span:first-child { margin-left: 0; outline: 1px solid rgba(255,255,255,.2); }
.hs-card:hover .art-brand span { margin-left: 4px; }
.art-care { place-items: initial; align-content: center; padding: 0 20px; gap: 7px; font-size: .74rem; color: #c9cede; }
.art-care i { font-style: normal; margin-right: 6px; }

/* Native (mobile / reduced motion): swipe instead of pin */
.hscroll.hs-native .hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll.hs-native .hs-viewport::-webkit-scrollbar { display: none; }
.hscroll.hs-native .hs-card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.hscroll.hs-native .hs-cue { display: none; }
/* Pinned (desktop) */
.hscroll.hs-pinned { padding-block: 0; }
.hscroll.hs-pinned .hs-pin { position: sticky; top: 0; height: 100vh; align-content: center; overflow: hidden; }
@media (max-width: 860px) { .hs-head { grid-template-columns: 1fr; } }


/* Mobile: vertical-only reveals (side reveals widen the page on phones) */
@media (max-width: 860px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(30px); }
}
.hero h1 .line { white-space: nowrap; }
@media (max-width: 420px) { .hero-v2 h1 { font-size: 2.75rem; } }
.tech-row span { background: transparent; }
.stat .n small { margin-left: .12em; }
@media (max-width: 520px) {
  .console-title span { display: none; }
  .console-tabs { gap: 0; padding-inline: 6px; justify-content: space-between; }
  .console-tabs button { padding: 10px 8px 12px; font-size: .64rem; letter-spacing: .06em; gap: 5px; }
  .console-tabs button .i { width: 13px; height: 13px; }
}

/* =====================================================================
   v3 HERO — code → live site, 3D stack, floating 3D logo
   ===================================================================== */
/* 3D floating logo (header) */
.logo3d { position: relative; display: inline-block; width: 32px; height: 37px; perspective: 260px; }
.logo3d .lc { display: block; overflow: visible; transform-style: preserve-3d; animation: lfloat 4.5s ease-in-out infinite; filter: drop-shadow(0 8px 6px rgba(0,0,0,.6)) drop-shadow(0 0 12px rgba(240,86,47,.4)); }
.lc .g { --t: url(#lgT); --l: url(#lgL); --r: url(#lgR); }
.lc .o { --t: url(#lgCT); --l: url(#lgCL); --r: url(#lgCR); }
@keyframes lfloat { 0%,100% { transform: translateY(0) rotateX(12deg) rotateY(-18deg); } 50% { transform: translateY(-4px) rotateX(4deg) rotateY(18deg); } }
.logo3d .lcore { animation: lcore 4.5s ease-in-out infinite; transform-box: fill-box; }
@keyframes lcore { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.logo3d .lsh { position: absolute; left: 50%; bottom: -8px; width: 28px; height: 6px; margin-left: -14px; border-radius: 50%; background: radial-gradient(rgba(240,86,47,.55), rgba(0,0,0,.4) 40%, transparent 70%); animation: lsh 4.5s ease-in-out infinite; }
@keyframes lsh { 50% { transform: scaleX(.65); opacity: .45; } }
.brand:hover .logo3d .lc { animation-duration: 1.6s; }

/* Hero shell */
.hero-x { background: var(--bg); padding-bottom: 0; }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 72% 45%, rgba(240,86,47,.22), transparent 70%), radial-gradient(ellipse 35% 35% at 10% 0%, rgba(110,120,255,.10), transparent 70%); }
.hx-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent); mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000, transparent); }
.hx-tok { position: absolute; font-family: var(--font-mono); color: rgba(255,181,158,.16); animation: hxdrift 14s ease-in-out infinite; }
@keyframes hxdrift { 50% { transform: translate(18px,-26px) rotate(6deg); } }
.hx-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 20px; align-items: center; }
.hx-copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }

/* Copy */
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: .85rem; color: #c9cdd8;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, color .3s; }
.hx-pill:hover { border-color: rgba(240,86,47,.5); color: #fff; }
.hx-pill .mono { background: var(--coral); color: #fff; font-size: .7rem; padding: 3px 8px; border-radius: 999px; letter-spacing: .06em; }
.hx-pill .i { width: 14px; height: 14px; }
.hx-h1 { font-size: clamp(3.1rem, 7vw, 6.75rem); line-height: .92; letter-spacing: -0.05em; }
.hx-w { display: inline-block; }
.hx-glow { background: linear-gradient(100deg, #F0562F 10%, #ffb59e 50%, #F0562F 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-x .lead { color: #a9b0c0; max-width: 31rem; }
.hx-neon { box-shadow: 0 0 0 1px rgba(255,181,158,.45) inset, 0 0 30px -6px rgba(240,86,47,.8), 0 18px 40px -14px rgba(240,86,47,.9); }
.hx-neon:hover { box-shadow: 0 0 0 1px #ffb59e inset, 0 0 50px 0 rgba(240,86,47,.9); }
.hx-cmd { font-size: .95rem; letter-spacing: 0; }
.hx-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .75rem; letter-spacing: .1em; color: #8d94a6; text-transform: uppercase; }
.hx-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hx-meta b { color: #fff; font-weight: 600; }
.hx-live { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; animation: hxpulse 1.4s ease-in-out infinite; }
@keyframes hxpulse { 50% { opacity: .3; } }

/* Stage + 3D stack */
.hx-stage { --s: 1; position: relative; height: calc(610px * var(--s)); perspective: 1600px; }
.hx-stack { --mx: 0; --my: 0; position: absolute; left: 50%; top: 0; width: 640px; height: 560px; transform-style: preserve-3d; transform-origin: 50% 0;
  transform: translateX(-50%) scale(var(--s)) rotateY(calc(-16deg + var(--mx) * 8deg)) rotateX(calc(9deg - var(--my) * 7deg)); transition: transform .3s ease-out; }
.hx-layer { position: absolute; transform: translateZ(var(--z)); transform-style: preserve-3d; }
.hx-win { background: rgba(13,17,28,.94); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(240,86,47,.06); }
.hx-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); font-family: var(--font-mono); font-size: 11px; color: #6f778a; }
.hx-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #2a3146; }
.hx-file { margin-left: 8px; color: #c9cdd8; }
.hx-edit { margin-left: auto; color: var(--coral); }
.hx-code-win { left: 0; top: 10px; width: 470px; }
.hx-code { letter-spacing: 0; font-size: 12.5px; line-height: 1.85; padding: 12px 0; color: #c9cdd8; }
.hx-ln { display: flex; min-height: 1.85em; }
.hx-ln b { width: 34px; flex: none; text-align: right; padding-right: 14px; color: #3d4559; font-weight: 400; }
.hx-ty { display: inline-block; overflow: hidden; white-space: pre; width: 0; vertical-align: top; animation: hxtype calc(var(--n) * 32ms) steps(var(--n)) var(--d) forwards; }
@keyframes hxtype { to { width: calc(var(--n) * 1ch); } }
.hx-code .k { color: #ff8a63; } .hx-code .s { color: #9fe6a0; } .hx-code .f { color: #ffd479; } .hx-code .t { color: #7cc7ff; }
.hx-cur { display: inline-block; width: 7px; height: 15px; background: var(--coral); margin-top: 4px; animation: hxblink 1s steps(1) infinite; }
@keyframes hxblink { 50% { opacity: 0; } }

.hx-site { left: 200px; top: 190px; width: 430px; background: var(--salt-white); border-color: rgba(255,255,255,.25); }
.hx-bar-light { background: #ece6de; border-color: rgba(18,24,38,.08); }
.hx-bar-light > i:nth-child(1) { background: #ff5f57; } .hx-bar-light > i:nth-child(2) { background: #febc2e; } .hx-bar-light > i:nth-child(3) { background: #28c840; }
.hx-url { margin: 0 auto; background: #fff; color: #6b7180; padding: 3px 40px; border-radius: 6px; }
.hx-site-body { padding: 16px 18px 20px; color: var(--midnight); display: grid; gap: 12px; min-height: 230px; align-content: start; }
.hx-snav { display: flex; justify-content: space-between; align-items: center; }
.hx-slogo { width: 70px; height: 10px; border-radius: 4px; background: var(--midnight); }
.hx-slinks { display: flex; gap: 8px; align-items: center; }
.hx-slinks .hx-shim { width: 26px; height: 6px; }
.hx-sbtn { width: 46px; height: 16px; border-radius: 99px; background: var(--coral); }
.hx-shim { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(18,24,38,.08), rgba(18,24,38,.18), rgba(18,24,38,.08)); background-size: 200% 100%; animation: hxshim 1.5s linear infinite; }
@keyframes hxshim { to { background-position: -200% 0; } }
.hx-shero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.hx-scopy { display: grid; gap: 8px; }
.hx-scopy b { font-family: var(--font-head); font-size: 22px; line-height: 1.05; letter-spacing: -0.03em; }
.hx-scopy em { font-style: normal; color: var(--coral); }
.hx-simg { height: 96px; border-radius: 12px; background: linear-gradient(135deg, #FFB59E, #F0562F 60%, #C2410C); }
.hx-sbook { display: flex; align-items: center; gap: 10px; background: var(--midnight); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.hx-sbook .mono { width: 24px; height: 24px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-size: 10px; flex: none; }
.hx-sbook em { margin-left: auto; font-style: normal; background: var(--coral); border-radius: 99px; padding: 4px 10px; font-weight: 600; }

.hx-term { left: 0; top: 455px; width: 320px; background: rgba(8,11,18,.96); }
.hx-term-body { letter-spacing: 0; font-size: 11.5px; line-height: 1.9; padding: 10px 14px; color: #a9b0c0; }
.hx-term-body .c { color: var(--coral); } .hx-term-body .ok { color: #3ddc84; } .hx-wht { color: #fff; }
.hx-blink { animation: hxpulse 1.4s ease-in-out infinite; }


.hx-badge { left: 470px; top: 440px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-size: 11px; letter-spacing: .1em; color: #c9cdd8;
  background: linear-gradient(160deg, rgba(20,27,42,.92), rgba(13,17,28,.92)); border: 1px solid rgba(61,220,132,.35); box-shadow: 0 0 30px -10px rgba(61,220,132,.6); }
.hx-badge small { color: #8d94a6; font-size: 11px; }
.hx-score { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #3ddc84; display: grid; place-items: center; color: #3ddc84; font-size: 13px; letter-spacing: 0; }

.hx-replay { position: absolute; right: 0; bottom: 0; z-index: 3; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.15); color: #a9b0c0; cursor: pointer; transition: color .2s, border-color .2s; }
.hx-replay:hover { color: #fff; border-color: var(--coral); }

/* Entrance animations */
.hx-w { opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(8px); animation: hxin .9s cubic-bezier(.2,.8,.2,1) var(--d, 0s) forwards; }
.hx-glow.hx-w { animation: hxin .9s cubic-bezier(.2,.8,.2,1) var(--d) forwards, hxsheen 4s linear 1.4s infinite; }
@keyframes hxin { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes hxsheen { to { background-position: -200% 0; } }
.hx-fade { opacity: 0; animation: hxfade .8s ease var(--d, 0s) forwards; }
@keyframes hxfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hx-pop { opacity: 0; animation: hxpop .7s cubic-bezier(.2,.9,.2,1.15) var(--d, 0s) forwards; }
@keyframes hxpop { from { opacity: 0; translate: 0 16px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* Tech marquee */
.hx-marq { margin-top: 20px; overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-marq-track { display: flex; gap: 56px; padding-right: 56px; width: max-content; animation: marquee 34s linear infinite; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: #6f778a; }
.hx-marq-track i { font-style: normal; color: var(--coral); }

@media (max-width: 1000px) {
  .hx-grid { grid-template-columns: 1fr; gap: 50px; }
  .hx-stage { margin-bottom: 64px; }
  .hx-replay { right: 50%; transform: translateX(50%); bottom: -60px; }
}
@media (max-width: 520px) { .hx-tok { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hx-w, .hx-fade, .hx-pop { animation: none; opacity: 1; transform: none; filter: none; }
  .hx-ty { animation: none; width: calc(var(--n) * 1ch); }
  .hx-tok, .hx-marq-track, .hx-live, .hx-cur, .hx-shim, .hx-blink, .logo3d .lc, .logo3d .lcore, .logo3d .lsh, .hx-glow.hx-w { animation: none; }
  .hx-stack { transition: none; }
  .hx-replay { display: none; }
}

/* =====================================================================
   GLASS + SHINE layer
   ===================================================================== */
/* Ambient colour behind everything, so glass has something to frost */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(28vmax 28vmax at 18% 30%, rgba(240,86,47,.10), transparent 70%),
    radial-gradient(32vmax 32vmax at 85% 65%, rgba(110,120,255,.08), transparent 70%),
    radial-gradient(22vmax 22vmax at 60% 10%, rgba(255,181,158,.06), transparent 70%);
}
@keyframes ambient { to { transform: translate3d(-4vmax, 3vmax, 0) rotate(8deg); } }

/* Glass cards */
:is(.hs-card, .why-item, .faq details, .value, .contact-card, .form-card, .price-card, .svc:not(.feature), .step .bubble) {
  --mx: 50%; --my: 0%;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -40px rgba(0,0,0,.85);
}
:is(.hs-card:not(.hot), .faq details, .value, .contact-card:not(.dark), .form-card, .price-card:not(.popular), .svc:not(.feature), .step .bubble) {
  background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.012) 42%, rgba(255,255,255,.035)), rgba(20,27,42,.55);
  border-color: rgba(255,255,255,.09);
}
/* (no live backdrop blur on cards: it re-renders every scroll frame in Safari) */
/* Shiny gradient edge that lights up where the cursor is */
:is(.hs-card, .why-item, .faq details, .value, .contact-card, .form-card, .price-card, .svc:not(.feature))::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(255,181,158,.85), transparent 45%),
    linear-gradient(160deg, rgba(255,255,255,.26), rgba(255,255,255,.03) 38%, rgba(255,255,255,.02) 70%, rgba(240,86,47,.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .55; transition: opacity .4s;
}
:is(.hs-card, .why-item, .faq details, .value, .contact-card, .form-card, .price-card, .svc:not(.feature)):hover::after { opacity: 1; }

/* Glass sheen sweep across cards on hover */
:is(.value, .contact-card, .why-item) { overflow: hidden; }
:is(.value, .contact-card, .why-item)::before {
  content: ""; position: absolute; inset: -40% -60%; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.07) 48%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.07) 52%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.1s var(--ease);
}
:is(.value, .contact-card, .why-item):hover::before { transform: translateX(60%); }

/* Header: frosted glass with a light edge */
.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(20,27,42,.72), rgba(11,16,25,.62));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.05), 0 20px 40px -24px rgba(0,0,0,.7);
}
.mega {
  background: linear-gradient(160deg, rgba(30,38,58,.82), rgba(15,21,34,.86));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 40px 80px -30px rgba(0,0,0,.8);
}
.svc-nav { background: linear-gradient(180deg, rgba(20,27,42,.7), rgba(11,16,25,.66)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }

/* Primary buttons: glossy top light + automatic shine pass */
.btn-primary { background-image: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--shadow-coral); }
.btn-primary::before { animation: btnShine 5s var(--ease) infinite; }
.btn-primary:hover::before { animation: none; }
@keyframes btnShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-ghost { background-image: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); }

/* Hero windows get glass too */
.hx-win:not(.hx-site) { background: linear-gradient(160deg, rgba(30,38,58,.78), rgba(11,15,25,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.9); }
.hx-site { box-shadow: inset 0 1px 0 #fff, 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(240,86,47,.35); }

@media (prefers-reduced-motion: reduce) {
  body::before, .btn-primary::before { animation: none; }
}

/* =====================================================================
   HOME v4 — Vercel/Linear style: black, rails, beams, live demo cells
   ===================================================================== */
body:has(main.v4) { background-color: #06080d; background-image: none; }
.v4 { --vl: rgba(255,255,255,.08); --vbg: #06080d; --vcell: #080a10; }
.v4 .hero-x { background: var(--vbg); }

/* Section frame: full-width top rule, side rails, + corner marks, travelling beam */
.v-sec { position: relative; border-top: 1px solid var(--vl); }
.v-sec::before { content: ""; position: absolute; top: -1px; left: 0; width: 30vw; height: 1px; background: linear-gradient(90deg, transparent, var(--coral), var(--peach), transparent); transform: translateX(-30vw); animation: vbeam 7s linear infinite; }
.v-sec:nth-of-type(2n)::before { animation-delay: -3.5s; animation-duration: 9s; }
@keyframes vbeam { to { transform: translateX(100vw); } }
.v-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 48px); border-inline: 1px solid var(--vl); }
.v-wrap::before, .v-wrap::after { content: ""; position: absolute; top: -8px; width: 15px; height: 15px; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)) center / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)) center / 100% 1px no-repeat; }
.v-wrap::before { left: -8px; } .v-wrap::after { right: -8px; }

.v-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.v-head-split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.v-head-center { justify-items: center; text-align: center; }
.v-label { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #8d94a6; }
.v-label i { width: 6px; height: 6px; border-radius: 1px; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.v-h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.045em; color: #f5f3ef; }
.v-dim { color: #5d6478; }
.v-lead { color: #98a0b3; font-size: 1.1rem; line-height: 1.6; max-width: 34rem; }
.v-tagline { font-size: .7rem; letter-spacing: .14em; color: var(--peach); }

/* Trust strip */
.v-trust .v-wrap { padding-block: 44px 56px; }
.v-trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.v-kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #6f778a; }
.v-clients { display: flex; flex-wrap: wrap; gap: 14px 40px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: #9aa1b3; }
.v-clients li { display: inline-flex; align-items: center; gap: 10px; }
.v-clients .i { width: 20px; height: 20px; color: var(--peach); }
.v-clients .v-you { color: #4b5163; }
.v-clients .v-you span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px dashed #4b5163; border-radius: 6px; font-size: .9rem; }
.v-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--vl); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.015); }
.v-stat { padding: 26px 26px 24px; display: grid; gap: 6px; border-left: 1px solid var(--vl); }
.v-stat:first-child { border-left: 0; }
.v-stat b { font-family: var(--font-head); font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.045em; line-height: 1; color: #fff; }
.v-stat b em { font-style: normal; font-size: .5em; color: var(--coral); margin-left: 3px; letter-spacing: 0; }
.v-stat > span { color: #8d94a6; font-size: .9rem; line-height: 1.45; }

/* Work */
.v-case { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.5vw, 44px); border: 1px solid var(--vl); border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.v-case::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; top: -300px; background: radial-gradient(circle closest-side, rgba(240,86,47,.22), transparent); }
.v-case-copy { display: grid; gap: 16px; justify-items: start; }
.v-case-copy h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.05; color: #fff; }
.v-case-copy p { color: #98a0b3; }
.v-facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-block: 1px solid var(--vl); margin-top: 6px; }
.v-facts li { padding: 16px 12px 16px 0; display: grid; gap: 4px; }
.v-facts li + li { padding-left: 14px; border-left: 1px solid var(--vl); }
.v-facts b { font-family: var(--font-head); font-size: 1.5rem; color: #fff; letter-spacing: -0.03em; }
.v-facts span { font-size: .72rem; letter-spacing: .04em; color: #8d94a6; }
.v-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
.v-actions-center { justify-content: center; }
.v-link { display: inline-flex; align-items: center; gap: 6px; color: #c9cdd8; font-weight: 500; transition: color .3s; }
.v-link:hover { color: #fff; }
.v-link .i { width: 16px; height: 16px; }
.v-work-row { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v-mini { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 90px 30px 30px; border: 1px solid var(--vl); border-radius: 22px; background: rgba(255,255,255,.02); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.v-mini:hover { border-color: rgba(240,86,47,.4); transform: translateY(-4px); background: rgba(255,255,255,.035); }
.v-mini h3 { font-size: 1.45rem; letter-spacing: -0.03em; color: #fff; }
.v-mini p { color: #8d94a6; font-size: .95rem; }
.v-mini-cta { background: linear-gradient(135deg, rgba(240,86,47,.16), rgba(240,86,47,.02) 60%); }
.v-arrow { position: absolute; top: 26px; right: 26px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--vl); color: #fff; transition: background .4s, transform .5s var(--ease), border-color .4s; }
.v-arrow .i { width: 18px; height: 18px; }
.v-mini:hover .v-arrow { background: var(--coral); border-color: var(--coral); transform: rotate(45deg); }

/* Bento of live demos */
.v-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--vl); border: 1px solid var(--vl); border-radius: 26px; overflow: hidden; }
.v-cell { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 22px; padding: 26px; min-height: 380px; background: var(--vcell); transition: background .4s; }
.v-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240,86,47,.12), transparent 50%); }
.v-cell:hover { background: #0b0e15; }
.v-cell:hover::before { opacity: 1; }
.v-span2 { grid-column: span 2; }
.v-cell-copy { display: grid; gap: 6px; }
.v-cell-copy h3 { font-size: 1.2rem; letter-spacing: -0.02em; color: #fff; display: flex; align-items: center; gap: 8px; }
.v-cell-copy h3::after { content: "→"; font-family: var(--font-body); color: var(--coral); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.v-cell:hover .v-cell-copy h3::after { opacity: 1; transform: none; }
.v-cell-copy p { color: #8d94a6; font-size: .93rem; line-height: 1.55; }
.v-price { font-size: .7rem; letter-spacing: .12em; color: var(--peach); margin-top: 4px; }
.v-demo { position: relative; flex: 1; min-height: 190px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; border: 1px solid var(--vl);
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.045), transparent 60%), #0a0d14; }

/* web demo */
.dw-win { width: min(88%, 520px); border-radius: 10px; overflow: hidden; background: #faf6f1; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.dw-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #ece6de; }
.dw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d6cec4; }
.dw-bar span { margin: 0 auto; font: 9px var(--font-mono); color: #7a7f8c; background: #fff; padding: 2px 26px; border-radius: 4px; }
.dw-body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.dw-nav { display: flex; justify-content: space-between; align-items: center; }
.dw-nav b { width: 54px; height: 8px; border-radius: 3px; background: #121826; }
.dw-nav span { display: flex; gap: 7px; align-items: center; }
.dw-nav i { width: 20px; height: 5px; border-radius: 3px; background: #ddd5ca; }
.dw-nav em { width: 34px; height: 13px; border-radius: 99px; background: var(--coral); }
.dw-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: center; }
.dw-hero > div:first-child { display: grid; gap: 7px; }
.dw-h { height: 13px; width: 85%; border-radius: 3px; background: #121826; }
.dw-h2 { width: 60%; background: var(--coral); }
.dw-p { height: 5px; width: 92%; border-radius: 3px; background: #ddd5ca; }
.dw-p2 { width: 70%; }
.dw-btn { width: 64px; height: 16px; border-radius: 99px; background: #121826; margin-top: 4px; }
.dw-img { height: 84px; border-radius: 9px; background: linear-gradient(135deg, #FFB59E, #F0562F 60%, #C2410C); }
.dw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dw-cards i { height: 36px; border-radius: 7px; background: #ece6de; }
.dw-cursor { position: absolute; left: 30%; top: 70%; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.18), 0 6px 14px rgba(0,0,0,.5); }
.is-in .d-web :is(.dw-nav, .dw-h, .dw-h2, .dw-p, .dw-btn, .dw-img, .dw-cards i) { animation: dwBuild 7s var(--ease) infinite both; }
.is-in .d-web .dw-h { animation-delay: .25s; } .is-in .d-web .dw-h2 { animation-delay: .45s; } .is-in .d-web .dw-p { animation-delay: .6s; }
.is-in .d-web .dw-p2 { animation-delay: .7s; } .is-in .d-web .dw-btn { animation-delay: .9s; } .is-in .d-web .dw-img { animation-delay: .5s; }
.is-in .d-web .dw-cards i:nth-child(1) { animation-delay: 1.1s; } .is-in .d-web .dw-cards i:nth-child(2) { animation-delay: 1.25s; } .is-in .d-web .dw-cards i:nth-child(3) { animation-delay: 1.4s; }
@keyframes dwBuild { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 8%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.is-in .d-web .dw-cursor { animation: dwCursor 7s ease-in-out infinite; }
@keyframes dwCursor { 0% { left: 20%; top: 80%; } 25% { left: 38%; top: 58%; } 40% { left: 38%; top: 58%; transform: scale(.75); } 45% { transform: scale(1); } 70% { left: 70%; top: 40%; } 100% { left: 20%; top: 80%; } }

/* seo demo */
.d-seo svg { position: absolute; inset: 22% 0 0; width: 100%; height: 78%; }
.d-seo .line { stroke-dasharray: 520; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(240,86,47,.7)); }
.is-in .d-seo .line { animation: seoDraw 6s var(--ease) infinite; }
.is-in .d-seo .area { animation: seoArea 6s var(--ease) infinite; }
@keyframes seoDraw { 0% { stroke-dashoffset: 520; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes seoArea { 0%, 30% { opacity: 0; } 55%, 88% { opacity: 1; } 100% { opacity: 0; } }
.ds-rank { position: absolute; top: 14px; right: 14px; display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 1.1rem; font-weight: 600; color: var(--coral);
  background: rgba(20,27,42,.8); border: 1px solid rgba(240,86,47,.35); box-shadow: 0 0 24px -6px rgba(240,86,47,.6); }
.ds-rank small { font-size: .62rem; color: #8d94a6; letter-spacing: .06em; font-weight: 400; }
.is-in .ds-rank { animation: rankPop 6s var(--ease) infinite; }
@keyframes rankPop { 0%, 40% { opacity: 0; transform: translateY(8px) scale(.9); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ai demo */
.d-ai { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 9px; padding: 18px; place-items: initial; }
.d-ai .b { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .8rem; line-height: 1.3; }
.d-ai .bot { align-self: flex-start; background: rgba(255,255,255,.07); color: #dfe3ea; border-bottom-left-radius: 4px; }
.d-ai .me { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 4px; }
.is-in .d-ai .b { animation: aiMsg 7s var(--ease) infinite both; }
.is-in .d-ai .b:nth-child(2) { animation-delay: 1s; } .is-in .d-ai .b:nth-child(3) { animation-delay: 2s; }
@keyframes aiMsg { 0% { opacity: 0; transform: translateY(10px) scale(.95); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }

/* dashboard demo */
.d-dash { display: grid; grid-template-rows: auto 1fr; align-content: stretch; place-items: stretch; padding: 18px 18px 0; gap: 14px; }
.dd-top { display: flex; justify-content: space-between; font-size: .75rem; color: #8d94a6; letter-spacing: .06em; }
.dd-top b { color: #3ddc84; }
.dd-bars { display: flex; align-items: flex-end; gap: 8px; min-height: 120px; }
.dd-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(to top, rgba(240,86,47,.2), rgba(240,86,47,.75)); transform-origin: bottom; }
.dd-bars i:last-child { background: linear-gradient(to top, rgba(240,86,47,.4), #ff8a63); box-shadow: 0 0 22px -4px rgba(240,86,47,.8); }
.is-in .dd-bars i { animation: barGrow 6s var(--ease) infinite both; }
.is-in .dd-bars i:nth-child(2) { animation-delay: .1s; } .is-in .dd-bars i:nth-child(3) { animation-delay: .2s; } .is-in .dd-bars i:nth-child(4) { animation-delay: .3s; }
.is-in .dd-bars i:nth-child(5) { animation-delay: .4s; } .is-in .dd-bars i:nth-child(6) { animation-delay: .5s; } .is-in .dd-bars i:nth-child(7) { animation-delay: .6s; }
@keyframes barGrow { 0% { transform: scaleY(0); } 15%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* shop demo */
.d-shop { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; }
.d-shop .o { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 11px; font-size: .78rem; color: #dfe3ea; background: rgba(255,255,255,.05); border: 1px solid var(--vl); }
.d-shop .o i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.is-in .d-shop .o { animation: order 6s var(--ease) infinite both; }
.is-in .d-shop .o:nth-child(2) { animation-delay: .9s; } .is-in .d-shop .o:nth-child(3) { animation-delay: 1.8s; }
@keyframes order { 0% { opacity: 0; transform: translateY(-14px) scale(.95); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px); } }

/* social demo */
.d-social .post { position: relative; width: 130px; height: 150px; border-radius: 16px; transform: rotate(-6deg); background: linear-gradient(150deg, #FFB59E, #F0562F 55%, #C2410C); box-shadow: 0 30px 50px -20px rgba(240,86,47,.6); }
.d-social .post::before, .d-social .post::after { content: ""; position: absolute; width: 110px; height: 130px; border-radius: 14px; background: #1b2336; border: 1px solid var(--vl); z-index: -1; }
.d-social .post::before { left: -60px; top: 14px; transform: rotate(-10deg); }
.d-social .post::after { left: 70px; top: 10px; transform: rotate(14deg); }
.d-social .likes { position: absolute; right: -26px; bottom: -14px; padding: 7px 12px; border-radius: 99px; background: #fff; color: var(--coral); font-size: .78rem; transform: rotate(6deg); box-shadow: 0 10px 20px rgba(0,0,0,.4); }
.is-in .d-social .likes { animation: likePop 2.6s var(--ease) infinite; }
@keyframes likePop { 0%, 70%, 100% { transform: rotate(6deg) scale(1); } 80% { transform: rotate(6deg) scale(1.18); } }

/* brand demo */
.d-brand { display: flex; justify-content: center; align-items: center; }
.d-brand i { width: 54px; height: 54px; border-radius: 50%; background: var(--c); border: 3px solid var(--vcell); margin-left: -16px; box-shadow: 0 10px 20px rgba(0,0,0,.4); transition: margin .6s var(--ease), transform .6s var(--ease); }
.d-brand i:first-child { margin-left: 0; }
.v-cell:hover .d-brand i { margin-left: 8px; } .v-cell:hover .d-brand i:first-child { margin-left: 0; }
.v-cell:hover .d-brand i:nth-child(odd) { transform: translateY(-8px); }

/* care demo */
.d-care { display: grid; align-content: center; justify-content: start; place-items: initial; gap: 12px; padding: 0 26px; font-size: .82rem; color: #8d94a6; }
.d-care span { display: flex; align-items: center; gap: 10px; }
.d-care i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.d-care b { color: #fff; font-weight: 500; }
.is-in .d-care i { animation: hxpulse 1.6s ease-in-out infinite; }
.is-in .d-care span:nth-child(2) i { animation-delay: .4s; } .is-in .d-care span:nth-child(3) i { animation-delay: .8s; }

/* Process: sticky story */
.v-story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.v-story-side { position: sticky; top: 110px; align-self: start; display: grid; gap: 18px; }
.v-steps { margin-top: 18px; display: grid; gap: 4px; }
.v-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px 18px; border-radius: 14px; color: #5d6478; cursor: pointer; transition: background .4s, color .4s; border: 1px solid transparent; }
.v-steps li span { font-size: .78rem; padding-top: 4px; transition: color .4s; }
.v-steps li b { display: block; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: -0.02em; }
.v-steps li small { font-size: .85rem; }
.v-steps li.is-on { background: rgba(255,255,255,.04); border-color: var(--vl); color: #fff; }
.v-steps li.is-on span { color: var(--coral); }
.v-steps li.is-on small { color: #8d94a6; }
.v-story-bar { height: 2px; background: var(--vl); border-radius: 2px; overflow: hidden; }
.v-story-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--peach)); box-shadow: 0 0 12px var(--coral); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .6s var(--ease); }
.v-panel { min-height: 78vh; display: grid; align-content: center; gap: 22px; opacity: .28; transition: opacity .5s ease; }
.v-panel.is-on { opacity: 1; }
.v-pcard { position: relative; border: 1px solid var(--vl); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), #0a0d14; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.9); }
.v-pbar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--vl); font-size: .74rem; color: #6f778a; }
.v-pbar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3146; }
.v-pbar i:last-of-type { margin-right: 8px; }
.v-pbody { padding: 22px; font-size: .9rem; line-height: 2.05; color: #c9cdd8; letter-spacing: 0; }
.v-pbody .c { color: #6f778a; } .v-pbody .ok { color: #3ddc84; } .v-pbody .hl { color: var(--peach); }
.v-panel.seen .v-pbody p { animation: hxfade .5s ease both; }
.v-panel.seen .v-pbody p:nth-child(2) { animation-delay: .1s; } .v-panel.seen .v-pbody p:nth-child(3) { animation-delay: .2s; }
.v-panel.seen .v-pbody p:nth-child(4) { animation-delay: .3s; } .v-panel.seen .v-pbody p:nth-child(5) { animation-delay: .4s; } .v-panel.seen .v-pbody p:nth-child(6) { animation-delay: .5s; }
.v-pcap { color: #98a0b3; font-size: 1.05rem; max-width: 32rem; }
.v-frames { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 22px; }
.v-frames i { display: grid; gap: 8px; align-content: start; padding: 14px; height: 150px; border-radius: 12px; background: #faf6f1; }
.v-frames b { height: 10px; width: 60%; border-radius: 3px; background: #121826; }
.v-frames em { height: 6px; border-radius: 3px; background: #ddd5ca; }
.v-frames .f3 { grid-column: span 2; height: 70px; background: linear-gradient(120deg, #FFB59E, #F0562F); }
.v-frames .f3 b { background: #fff; } .v-frames .f3 em { background: rgba(255,255,255,.5); width: 40%; }
.v-panel.seen .v-frames i { animation: hxpop .7s cubic-bezier(.2,.9,.2,1.15) both; }
.v-panel.seen .v-frames .f2 { animation-delay: .12s; } .v-panel.seen .v-frames .f3 { animation-delay: .24s; }
.v-comment { display: flex; align-items: center; gap: 10px; margin: 0 22px 22px; padding: 12px 14px; border-radius: 12px; font-size: .8rem; color: #dfe3ea; background: rgba(255,255,255,.05); border: 1px solid var(--vl); }
.v-comment span { padding: 3px 9px; border-radius: 99px; background: var(--coral); color: #fff; font-size: .7rem; }
.v-plaunch svg { display: block; width: 100%; height: 180px; }
.v-plaunch svg path:first-child { stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 8px rgba(240,86,47,.7)); }
.v-panel.seen .v-plaunch svg path:first-child { animation: seoDrawOnce 1.6s var(--ease) forwards; }
@keyframes seoDrawOnce { to { stroke-dashoffset: 0; } }
.v-launch-tags { display: flex; gap: 10px; padding: 0 22px 22px; font-size: .72rem; letter-spacing: .08em; }
.v-launch-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--vl); color: #c9cdd8; }
.v-launch-tags i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }

/* Promises */
.v-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--vl); border: 1px solid var(--vl); border-radius: 22px; overflow: hidden; }
.v-promise { display: grid; gap: 12px; align-content: start; padding: 30px 26px; background: var(--vcell); transition: background .4s; }
.v-promise:hover { background: #0b0e15; }
.v-promise .i { width: 26px; height: 26px; color: var(--coral); }
.v-promise h3 { font-size: 1.15rem; color: #fff; letter-spacing: -0.02em; }
.v-promise p { color: #8d94a6; font-size: .93rem; line-height: 1.55; }

/* FAQ */
.v-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.v-faq-wrap > div:first-child { display: grid; gap: 18px; }

/* Final CTA */
.v-final-inner { position: relative; overflow: hidden; isolation: isolate; text-align: center; display: grid; justify-items: center; gap: 22px; padding: clamp(70px, 10vw, 130px) 20px; border: 1px solid var(--vl); border-radius: 30px;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.v-final-inner::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 70% at 50% 40%, transparent, var(--vbg) 75%); }
.v-orb { position: absolute; z-index: -1; left: 50%; bottom: -420px; width: 1000px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(240,86,47,.55), rgba(240,86,47,.12) 55%, transparent); animation: orbBreath 6s ease-in-out infinite; }
@keyframes orbBreath { 50% { transform: translateX(-50%) scale(1.08); opacity: .8; } }
.v-final-inner h2 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: .98; letter-spacing: -0.05em; color: #fff; }
.v-glow { animation: hxsheen 4s linear infinite; }
.v-final-inner p { color: #98a0b3; max-width: 36rem; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 1000px) {
  .v-bento { grid-template-columns: 1fr 1fr; }
  .v-promises { grid-template-columns: 1fr 1fr; }
  .v-case { grid-template-columns: 1fr; }
  .v-head-split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .v-story { grid-template-columns: 1fr; }
  .v-story-side { position: static; }
  .v-panel { min-height: 0; opacity: 1; transform: none; padding: 26px 0; }
  .v-faq-wrap { grid-template-columns: 1fr; }
  .v-faq-wrap > div:first-child { position: static; }
}
@media (max-width: 700px) {
  .v-wrap { border-inline: 0; }
  .v-wrap::before, .v-wrap::after { display: none; }
  .v-stats { grid-template-columns: 1fr 1fr; }
  .v-stat:nth-child(3) { border-left: 0; }
  .v-stat:nth-child(n+3) { border-top: 1px solid var(--vl); }
  .v-bento, .v-promises, .v-work-row { grid-template-columns: 1fr; }
  .v-span2 { grid-column: auto; }
  .v-cell { min-height: 0; }
  .v-facts b { font-size: 1.2rem; }
  .v-final-inner h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v-sec::before, .v4 .v-demo *, .v-orb, .v-glow, .v-panel .v-pbody p, .v-frames i { animation: none !important; }
  .v-plaunch svg path:first-child { stroke-dashoffset: 0; }
  .v-panel { opacity: 1; transform: none; }
}

/* =====================================================================
   HERO v5 — centred, light beams, one glowing build window
   ===================================================================== */
@property --hz-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hz { position: relative; overflow: hidden; isolation: isolate; background: var(--vbg, #06080d); color: #fff;
  padding: calc(var(--header-h, 80px) + clamp(44px, 6vw, 84px)) clamp(16px, 3vw, 40px) 0; }
.hz-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hz-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 20%, transparent 75%); }
.hz-beam { position: absolute; top: -20%; left: 50%; width: 140vmax; height: 140vmax; margin-left: -70vmax; transform-origin: 50% 0; }
.hz-beam-l { background: conic-gradient(from 180deg at 50% 0%, transparent 152deg, rgba(240,86,47,.26) 162deg, transparent 172deg); animation: hzSwayL 9s ease-in-out infinite alternate; }
.hz-beam-r { background: conic-gradient(from 180deg at 50% 0%, transparent 188deg, rgba(255,181,158,.18) 198deg, transparent 208deg); animation: hzSwayR 11s ease-in-out infinite alternate; }
@keyframes hzSwayL { to { transform: rotate(5deg); } }
@keyframes hzSwayR { to { transform: rotate(-5deg); } }
.hz-aurora { position: absolute; left: 50%; top: 52%; width: 1100px; height: 700px; margin-left: -550px; background: radial-gradient(closest-side, rgba(240,86,47,.30), rgba(240,86,47,.08) 55%, transparent); animation: orbBreath 7s ease-in-out infinite; }

.hz-copy { max-width: 1200px; margin: 0 auto; display: grid; justify-items: center; gap: 24px; text-align: center; }
.hz-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .86rem; color: #c9cdd8;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: border-color .3s, color .3s; }
.hz-pill:hover { border-color: rgba(240,86,47,.55); color: #fff; }
.hz-pill .mono { background: var(--coral); color: #fff; font-size: .68rem; padding: 4px 9px; border-radius: 999px; letter-spacing: .08em; }
.hz-pill .i { width: 14px; height: 14px; }
.hz-h1 { font-size: clamp(2.7rem, 6.9vw, 6.4rem); line-height: .96; letter-spacing: -0.055em; color: #fff; }
.hz-line { display: block; }
.hz-lead { max-width: 40rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: #a3aabb; }
.hz-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hz-proof { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 8px; font-size: .92rem; color: #8d94a6; }
.hz-proof-by { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6f778a; }
.hz-client { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: #c9cdd8; letter-spacing: -0.01em; }
.hz-client .i { width: 17px; height: 17px; color: var(--peach); }
.hz-sep { width: 1px; height: 18px; background: rgba(255,255,255,.14); }
.hz-promise { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hz-promise i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; animation: hxpulse 1.6s ease-in-out infinite; }

/* Stage + scroll-flattening tilt */
.hz-stage { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1140px; perspective: 1800px; animation: hzRise 1.2s cubic-bezier(.2,.8,.2,1) .45s both; }
@keyframes hzRise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
.hz-tilt { --t: 1; position: relative; transform-origin: 50% 0; transform: rotateX(calc(var(--t) * 22deg)) scale(calc(1 - var(--t) * .06)); will-change: transform; }
.hz-tilt::before { content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: 17px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--hz-a), transparent 0 68%, rgba(255,181,158,.95) 80%, var(--coral) 86%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: hzSpin 6s linear infinite; }
@keyframes hzSpin { to { --hz-a: 360deg; } }
.hz-window { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #10151f, #0a0d14); border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 70px 140px -50px rgba(0,0,0,.95), 0 0 140px -30px rgba(240,86,47,.4); text-align: left; }
.hz-bar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.hz-dots { display: flex; gap: 7px; } .hz-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3146; }
.hz-dots i:nth-child(1) { background: #ff5f57; } .hz-dots i:nth-child(2) { background: #febc2e; } .hz-dots i:nth-child(3) { background: #28c840; }
.hz-tabs { display: flex; gap: 4px; font-size: .74rem; letter-spacing: 0; }
.hz-tabs b, .hz-tabs span { padding: 5px 12px; border-radius: 7px; font-weight: 400; }
.hz-tabs b { background: rgba(255,255,255,.07); color: #dfe3ea; } .hz-tabs span { color: #6f778a; }
.hz-live { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8d94a6; }
.hz-live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; animation: hxpulse 1.6s ease-in-out infinite; }
.hz-replay { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); color: #8d94a6; background: transparent; cursor: pointer; transition: color .2s, border-color .2s, transform .5s var(--ease); }
.hz-replay:hover { color: #fff; border-color: var(--coral); transform: rotate(-180deg); }
.hz-replay svg { width: 15px; height: 15px; }
.hz-body { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 420px; }
.hz-code { padding: 16px 0; border-right: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.hz-code .hx-ln b { width: 38px; }
.hz-preview { padding: 14px; background: rgba(255,255,255,.015); display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.hz-url { display: inline-flex; align-items: center; gap: 8px; justify-self: center; padding: 6px 40px; border-radius: 8px; font-size: .72rem; letter-spacing: 0; color: #8d94a6; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.hz-url svg { width: 11px; height: 11px; }
.hz-site { position: relative; display: grid; gap: 16px; align-content: start; padding: 16px 20px 22px; border-radius: 12px; background: var(--salt-white); color: var(--midnight); }
.hz-snav { display: flex; justify-content: space-between; align-items: center; }
.hz-slogo { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: -0.02em; }
.hz-slogo i { width: 13px; height: 13px; border-radius: 4px; background: var(--coral); }
.hz-slinks { display: flex; align-items: center; gap: 10px; }
.hz-slinks i { width: 30px; height: 5px; border-radius: 3px; background: #ddd5ca; }
.hz-slinks em { white-space: nowrap; font-style: normal; font-size: .62rem; font-weight: 600; color: #fff; background: var(--coral); padding: 5px 11px; border-radius: 99px; }
.hz-shero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.hz-scopy { display: grid; gap: 9px; justify-items: start; }
.hz-skick { font-size: .56rem; letter-spacing: .16em; color: var(--coral); }
.hz-scopy b { font-family: var(--font-head); font-size: clamp(20px, 2.3vw, 30px); line-height: 1; letter-spacing: -0.04em; }
.hz-scopy b em { font-style: normal; color: var(--coral); }
.hz-scopy .hx-shim { height: 6px; }
.hz-sbtns { display: flex; gap: 8px; margin-top: 4px; }
.hz-sbtns em { width: 72px; height: 22px; border-radius: 99px; background: var(--midnight); }
.hz-sbtns em + em { background: #e6ddd0; width: 60px; }
.hz-simg { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #FFB59E, #F0562F 55%, #C2410C); }
.hz-simg span { position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hz-scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hz-scards i { height: 52px; border-radius: 10px; background: #ece6de; }
.hz-toast { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--midnight); color: #fff; box-shadow: 0 20px 40px -12px rgba(18,24,38,.6); }
.hz-toast > .mono { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); font-size: .62rem; flex: none; }
.hz-toast b { display: block; font-size: .78rem; font-weight: 600; }
.hz-toast small { display: block; font-size: .68rem; color: #a9b0c0; }
.hz-toast em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--coral); }
.hz-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: .7rem; letter-spacing: .06em; color: #8d94a6; background: rgba(255,255,255,.015); }
.hz-status b { color: #fff; font-weight: 600; }
.hz-status .ok { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.hz-deployed { margin-left: auto; color: #c9cdd8; }
.hz .hx-marq { margin: clamp(56px, 7vw, 90px) calc(-1 * clamp(16px, 3vw, 40px)) 0; }

@media (max-width: 900px) {
  .hz-body { grid-template-columns: 1fr; }
  .hz-code { display: none; }
  .hz-tabs { display: none; }
  .hz-deployed { margin-left: 0; }
}
@media (max-width: 560px) {
  .hz-sep { display: none; }
  .hz-shero { grid-template-columns: 1fr; }
  .hz-simg { height: 90px; }
  .hz-toast { position: static; }
  .hz-live { display: none; }
  .hz-bar { grid-template-columns: auto 1fr auto; }
  .hz-slinks i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hz-beam, .hz-aurora, .hz-tilt::before, .hz-stage, .hz-promise i, .hz-live i { animation: none; }
  .hz-tilt { --t: 0 !important; }
}

/* =====================================================================
   v6 — terminal intro, salt→byte particles, 8 pieces assembled & secured
   ===================================================================== */
/* Salt → byte particles */
.hz-salt { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 8 pieces, one secure whole */
.v-pieces { height: auto; }
.v-pieces-pin { position: relative; }
.v-pieces-pin .v-wrap { width: 100%; }
.v-pieces-grid { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-areas: "copy stage" "list stage"; gap: 28px 60px; align-items: center; }
.v-pieces-copy { grid-area: copy; display: grid; gap: 18px; align-self: end; }
.v-pieces-meter { display: grid; gap: 10px; max-width: 340px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #8d94a6; }
.v-pieces-meter b { color: #fff; }
.v-pieces-bar { height: 3px; border-radius: 3px; overflow: hidden; background: var(--vl); }
.v-pieces-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--peach)); box-shadow: 0 0 12px var(--coral); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s var(--ease); }
.v-pieces-stage { grid-area: stage; position: relative; display: grid; place-items: center; width: 100%; max-width: 560px; aspect-ratio: 1; max-height: 72vh; justify-self: center; }
.v-cube { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.v-pieces-stage::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 16%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); pointer-events: none; }
.v-cube .g { --t: url(#lgT); --l: url(#lgL); --r: url(#lgR); }
.v-cube .o { --t: url(#lgCT); --l: url(#lgCL); --r: url(#lgCR); }
.v-cube text { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; fill: #c9cdd8; text-anchor: middle; }
.v-cube .pc-core text { fill: var(--peach); font-weight: 600; }
.v-shield { position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(240,86,47,.4); box-shadow: 0 0 0 18px rgba(240,86,47,.04), 0 0 80px rgba(240,86,47,.35), inset 0 0 60px rgba(240,86,47,.12); opacity: 0; transform: scale(.92); transition: opacity .6s, transform .8s var(--ease); }
.v-shield::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(240,86,47,.35); opacity: 0; }
.v-shield.on { opacity: 1; transform: none; }
.v-shield.on::after { animation: shieldRing 2.4s ease-out infinite; }
@keyframes shieldRing { 0% { opacity: .9; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.12); } }
.v-lock { white-space: nowrap; position: absolute; left: 50%; bottom: 2%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.45); opacity: 0; transform: translate(-50%, 10px); transition: opacity .5s, transform .5s var(--ease); }
.v-lock .i { width: 14px; height: 14px; color: #3ddc84; }
.v-lock.on { opacity: 1; transform: translate(-50%, 0); }
.v-sec-list { grid-area: list; align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; font-size: .78rem; letter-spacing: .02em; color: #5d6478; }
.v-sec-list li { display: flex; align-items: center; gap: 10px; transition: color .4s; }
.v-sec-list i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(255,255,255,.15); transition: background .3s, border-color .3s, box-shadow .3s; }
.v-sec-list li.on { color: #e6e9ef; }
.v-sec-list li.on i { background: #3ddc84; border-color: #3ddc84; box-shadow: 0 0 12px rgba(61,220,132,.6); }
.v-sec-list li.on i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #06080d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .v-pieces-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "list"; gap: 14px; }
  .v-pieces-copy { gap: 10px; }
  .v-pieces-copy .v-lead { display: none; }
  .v-pieces-copy .v-h2 { font-size: 2.1rem; }
  .v-pieces-stage { max-height: 40vh; max-width: 40vh; }
  .v-sec-list { font-size: .68rem; gap: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) { .v-shield.on::after { animation: none; } }

/* Safari 26+: content scrolls under the translucent toolbar, so cover the area above the header */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: #06080d; pointer-events: none; }
.site-header.is-scrolled { background: linear-gradient(180deg, rgba(10,13,21,.94), rgba(8,11,17,.88)); }

/* Progress bar lives on the header's top edge; header starts flush at the very top (no sliver of page above it) */
.site-header { top: -1px; padding-top: 19px; }
.site-header.is-scrolled { padding-top: 11px; }
.site-header .progress { position: absolute; top: 1px; left: 0; z-index: 2; }
.site-header.is-scrolled { background-image: linear-gradient(#06080d, #06080d), linear-gradient(180deg, rgba(10,13,21,.94), rgba(8,11,17,.88)); background-size: 100% 6px, 100% 100%; background-repeat: no-repeat; }

/* =====================================================================
   HERO WINDOW — plain-English service showcase (Website · Apps · SEO · AI · Marketing)
   ===================================================================== */
.hz-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.hzs-tabs { position: relative; display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hzs-tabs::-webkit-scrollbar { display: none; }
.hzs-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer; white-space: nowrap;
  font: 500 .82rem var(--font-body); color: #8d94a6; transition: color .25s, background .25s; }
.hzs-tabs button:hover { color: #fff; }
.hzs-tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.08); }
.hzs-tabs button .i { width: 15px; height: 15px; }
.hzs-ul { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--tw, 0); transform: translateX(var(--tx, 0)); transition: transform .45s var(--ease), width .45s var(--ease); border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.08); }
.hzs-ul i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--peach)); transform-origin: left; transform: scaleX(0); }
.hzs-ul.run i { animation: hzsFill 6s linear forwards; }
.hzs-ul.paused i { animation-play-state: paused; }
@keyframes hzsFill { to { transform: scaleX(1); } }

.hzs-panes { display: grid; min-height: 440px; }
.hzp { grid-area: 1 / 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; align-items: center; padding: 28px 34px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.hzp.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
.hzp .pp { opacity: 0; }
.hzp.is-on .pp { animation: hxpop .6s cubic-bezier(.2,.9,.2,1.15) var(--d, 0s) both; }
.hzp-info { display: grid; gap: 14px; align-content: center; }
.hzp-k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.hzp-info h3 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.08; letter-spacing: -0.035em; color: #fff; }
.hzp-info p { color: #a3aabb; font-size: 1rem; line-height: 1.55; }
.hzp-info ul { display: grid; gap: 9px; margin-top: 4px; }
.hzp-info li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #dfe3ea; }
.hzp-info li .i { width: 16px; height: 16px; flex: none; color: #3ddc84; }
.hzp-vis { position: relative; display: grid; place-items: center; min-height: 370px; }
.hzp-vis .hz-site { width: 100%; }
.hz-toast > .mono { background: #3ddc84; color: #06280f; }

/* Apps */
.hza-phone { width: 224px; display: grid; gap: 8px; align-content: start; padding: 14px 13px 16px; border-radius: 32px; border: 7px solid #1b2232; background: var(--salt-white); color: var(--midnight); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.hza-top { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; font-weight: 600; padding: 0 4px; }
.hza-top i { width: 18px; height: 8px; border-radius: 2px; background: var(--midnight); }
.hza-hi { font-size: .68rem; color: #6b7180; margin-top: 4px; }
.hza-h { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.02em; }
.hza-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgba(18,24,38,.06); font-size: .68rem; }
.hza-row .t { text-align: center; font-size: .58rem; line-height: 1.2; color: #6b7180; }
.hza-row .t b { display: block; font-size: .78rem; color: var(--midnight); }
.hza-row .s { font-weight: 600; line-height: 1.25; }
.hza-row .s small { display: block; font-weight: 400; font-size: .6rem; color: #6b7180; }
.hza-row em { font-style: normal; font-size: .54rem; font-weight: 600; padding: 3px 7px; border-radius: 99px; background: #fdecc8; color: #8a5a00; }
.hza-row em.ok { background: #d9f7e5; color: #127a3f; }
.hza-btn { margin-top: 4px; padding: 9px; border-radius: 99px; text-align: center; font-size: .75rem; font-weight: 600; color: #fff; background: var(--coral); }
.hza-note, .hza-stat { position: absolute; border-radius: 14px; background: #121826; border: 1px solid rgba(255,255,255,.1); color: #fff; box-shadow: 0 24px 40px -18px rgba(0,0,0,.8); }
.hza-note { left: 2%; top: 16%; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.hza-note > .mono { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #3ddc84; color: #06280f; font-size: .72rem; }
.hza-note b, .hzc-head b { display: block; font-size: .78rem; }
.hza-note small { display: block; font-size: .66rem; color: #a9b0c0; }
.hza-stat { right: 2%; bottom: 14%; display: grid; gap: 4px; min-width: 150px; padding: 12px 14px; }
.hza-stat small { font-size: .6rem; letter-spacing: .12em; color: #8d94a6; }
.hza-stat b { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -0.02em; }
.hza-spark { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.hza-spark i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(to top, rgba(240,86,47,.35), var(--coral)); }

/* SEO */
.hzg { width: 100%; max-width: 520px; display: grid; gap: 12px; }
.hzg-q { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 99px; background: #fff; color: var(--midnight); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.hzg-q .i { width: 16px; height: 16px; color: #6b7180; flex: none; }
.hzg-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; font: 500 .9rem var(--font-mono); letter-spacing: 0; }
.hzp.is-on .hzg-type { animation: hzgType .9s steps(15) .35s forwards; }
@keyframes hzgType { to { width: 15ch; } }
.hzg-list { position: relative; height: 244px; }
.hzg-r { position: absolute; left: 0; right: 0; top: calc(var(--r) * 62px); height: 54px; display: grid; align-content: center; gap: 2px; padding: 8px 16px; border-radius: 12px; background: #fff; color: var(--midnight); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.hzg-r small { font-size: .66rem; color: #1a7f37; }
.hzg-r b { font-size: .84rem; font-weight: 500; color: #1a0dab; }
.hzg-r.me { padding-right: 46px; top: 186px; background: #fff7f3; border: 1.5px solid rgba(240,86,47,.5); }
.hzg-r.me .mono { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-size: .95rem; font-weight: 600; color: var(--coral); opacity: 0; }
.hzp.is-on .hzg-r:not(.me) { animation: hzgDown .8s cubic-bezier(.6,0,.2,1) 1.5s both; }
.hzp.is-on .hzg-r.me { animation: hzgUp .8s cubic-bezier(.6,0,.2,1) 1.5s both; z-index: 2; }
.hzp.is-on .hzg-r.me .mono { animation: hxfade .4s ease 2.3s both; }
@keyframes hzgDown { to { transform: translateY(62px); } }
@keyframes hzgUp { 50% { box-shadow: 0 20px 40px -10px rgba(240,86,47,.5); } to { transform: translateY(-186px); box-shadow: 0 10px 30px -10px rgba(240,86,47,.45); } }
.hzg-map { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #121826; border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: .78rem; }
.hzg-map .pin { width: 20px; height: 20px; flex: none; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--coral); box-shadow: 0 0 14px rgba(240,86,47,.7); }
.hzg-map small { display: block; font-size: .66rem; color: #f5c04a; }

/* AI chat */
.hzc { width: 100%; max-width: 440px; border-radius: 18px; overflow: hidden; background: var(--salt-white); color: var(--midnight); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); }
.hzc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(18,24,38,.08); }
.hzc-head .av { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-size: .62rem; flex: none; }
.hzc-head small { display: flex; align-items: center; gap: 6px; font-size: .66rem; color: #6b7180; }
.hzc-head small i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.hzc-head em { margin-left: auto; font-style: normal; font-size: .62rem; color: #8d94a6; }
.hzc-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 250px; }
.hzc .b { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.35; }
.hzc .bot { align-self: flex-start; background: #ece6de; border-bottom-left-radius: 4px; }
.hzc .me { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 4px; }
.hzc .sys { align-self: center; max-width: none; padding: 6px 12px; border-radius: 99px; background: #d9f7e5; color: #127a3f; font-size: .68rem; letter-spacing: .02em; }

/* Marketing */
.hzp[data-p="4"] .hzp-vis { display: flex; align-items: center; justify-content: center; gap: 24px; }
.hzm-post { width: 230px; flex: none; border-radius: 16px; overflow: hidden; background: #fff; color: var(--midnight); transform: rotate(-3deg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); }
.hzm-ph { display: flex; align-items: center; gap: 8px; padding: 10px; }
.hzm-ph .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--coral)); }
.hzm-ph b { display: block; font-size: .72rem; } .hzm-ph small { display: block; font-size: .6rem; color: #6b7180; }
.hzm-img { height: 170px; display: grid; align-content: end; justify-items: start; gap: 8px; padding: 16px; background: linear-gradient(150deg, #FFB59E, #F0562F 55%, #C2410C); }
.hzm-img b { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.hzm-img em { font-style: normal; font-size: .66rem; font-weight: 600; color: #fff; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.22); }
.hzm-act { display: flex; align-items: center; gap: 8px; padding: 10px; font-size: .72rem; }
.hzm-act .heart { color: var(--coral); font-size: 1rem; }
.hzp.is-on .hzm-act .heart { animation: likePopH 1.6s ease-in-out 1.2s infinite; }
@keyframes likePopH { 0%, 60%, 100% { transform: scale(1); } 75% { transform: scale(1.35); } }
.hzm-stats { display: grid; gap: 10px; width: 200px; }
.hzm-stats > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #121826; border: 1px solid rgba(255,255,255,.1); }
.hzm-stats small { font-size: .6rem; letter-spacing: .12em; color: #8d94a6; }
.hzm-stats b { font-family: var(--font-head); font-size: 1.35rem; color: #fff; letter-spacing: -0.02em; }
.hzm-stats .bar { height: 4px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.08); }
.hzm-stats .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--coral), var(--peach)); transform-origin: left; }
.hzp.is-on .hzm-stats .bar i { animation: barX 1s var(--ease) 1s both; }
@keyframes barX { from { transform: scaleX(0); } }

@media (max-width: 900px) {
  .hzp { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; align-content: start; }
  .hzp-info { gap: 10px; }
  .hzp-info ul { display: none; }
  .hzp-vis { min-height: 330px; }
}
@media (max-width: 560px) {
  .hza-note, .hza-stat, .hzm-stats { display: none; }
  .hzs-tabs button { padding: 7px 10px; font-size: .78rem; }
  .hzs-tabs button .i { display: none; }
  .hzp .hz-dots, [data-hzs] .hz-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hzp .pp { opacity: 1; animation: none !important; }
  .hzg-type { width: 15ch; animation: none !important; }
  .hzg-r:not(.me) { transform: translateY(62px); animation: none !important; }
  .hzg-r.me { transform: translateY(-186px); animation: none !important; }
  .hzg-r.me .mono { opacity: 1; animation: none !important; }
}
