/* H Byte — site styles */
:root {
  --blue: #1677ff;          /* exact blue from the H Byte logo */
  --blue-hover: #0f62d9;
  --navy: #071442;
  --navy-2: #0d1f5c;
  --blue-soft: #e8f0ff;
  --ink: #1b1d22;
  --ink-2: #4a4f5c;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dde3ee;

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.3125rem;
  --t-xl: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  --t-2xl: clamp(2rem, 1.25rem + 2.8vw, 3.3rem);
  --t-3xl: clamp(2.5rem, 1.2rem + 4.4vw, 4.6rem);

  --slant: -16deg;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--t-md); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.14; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
p, ul { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-sm);
  text-decoration: none; border: 0; cursor: pointer;
  padding: 15px 26px; border-radius: 8px; background: var(--blue); color: #fff;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 10px 24px -10px rgba(22,119,255,.7); }
.btn:active { transform: translateY(1px); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--navy); box-shadow: none; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); box-shadow: none; }
.text-link { font-family: var(--f-display); font-weight: 600; font-size: var(--t-sm); color: var(--blue); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--blue-hover); }

/* ---------- header ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .logo img { height: 42px; width: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(7,20,66,.4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-item > a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: var(--t-sm); font-weight: 500; padding: 10px 14px; border-radius: 6px; color: var(--ink-2); }
.nav > a:hover, .nav-item > a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav-item { position: relative; }
.nav-item > a svg { width: 12px; height: 12px; transition: transform .2s; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 8px;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(7,20,66,.28), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge so the menu stays open while the pointer moves down */
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover > a svg, .nav-item:focus-within > a svg { transform: rotate(180deg); }
.submenu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.submenu a:hover { background: var(--paper); }
.submenu small { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--t-xs); }
.submenu .ico { width: 36px; height: 36px; border-radius: 8px; }
.submenu .ico svg { width: 18px; height: 18px; }
.nav .btn { margin-left: 14px; color: #fff; padding: 12px 20px; }
.nav .btn:hover { background: var(--blue-hover); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; max-height: calc(100vh - var(--header)); overflow-y: auto;
    flex-direction: column; align-items: stretch; background: #fff; padding: 12px var(--gutter) 24px; gap: 2px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-item > a { padding: 14px 8px; font-size: var(--t-md); }
  .nav-item > a svg { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 8px; min-width: 0; }
  .submenu small { display: none; }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- line icons ---------- */
.ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); flex: none; }
.ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--white); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--t-2xl); max-width: 20ch; }
.section-head p { color: var(--ink-2); max-width: 60ch; }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) { .section-head--row { grid-template-columns: 1fr; } }
.work-sub { font-size: var(--t-lg); margin: clamp(40px, 6vw, 64px) 0 20px; }
.section-head + .work-sub { margin-top: 0; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; top: -30%; height: 160%; background: rgba(255,255,255,.045); transform: skewX(var(--slant)); }
.page-hero::before { right: 14%; width: 130px; }
.page-hero::after { right: calc(14% - 70px); width: 44px; }
.page-hero .wrap { position: relative; }
.crumbs { font-size: var(--t-sm); color: rgba(255,255,255,.65); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: var(--t-3xl); font-weight: 700; letter-spacing: -0.04em; max-width: 18ch; }
.page-hero p { margin-top: 20px; font-size: var(--t-lg); color: rgba(255,255,255,.76); max-width: 52ch; line-height: 1.5; }

/* =========================================================
   HOME HERO — 3D starfield with the H mark in particles,
   pinned while the text scrolls over it
   ========================================================= */
:root { --space: #050d33; --serif: "Instrument Serif", Georgia, serif; }

/* transparent header over the dark hero on the home page */
.page-home .site-header { position: fixed; left: 0; right: 0; top: 0; }
.logo .logo-light { display: none; }
.site-header.on-dark { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.on-dark .logo .logo-dark { display: none; }
.site-header.on-dark .logo .logo-light { display: block; }
.site-header.on-dark .nav-toggle { color: #fff; }
@media (min-width: 961px) {
  .site-header.on-dark .nav > a, .site-header.on-dark .nav-item > a { color: rgba(255,255,255,.78); }
  .site-header.on-dark .nav > a:hover, .site-header.on-dark .nav-item > a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .site-header.on-dark .nav a[aria-current="page"] { color: #fff; }
  .site-header.on-dark .nav .btn { background: #fff; color: var(--space); }
}

.space { position: relative; color: #fff; background: var(--space); }
/* the wrapper spans the whole hero, so the pinned background can never spill past it */
.space-stage-wrap { position: absolute; inset: 0; pointer-events: none; }
.space-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 105%, rgba(22,119,255,.55), transparent 70%),
    radial-gradient(40% 55% at 75% 50%, rgba(22,119,255,.3), transparent 72%),
    linear-gradient(180deg, #040a2a 0%, #071442 55%, #0b2a7a 100%);
}
.space-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the logo mark: solid H Byte blue with a soft glow, tilted in 3D by site.js */
.hero-mark {
  position: absolute; left: 0; top: 0; width: 0; height: auto; pointer-events: none; will-change: transform, opacity;
  transform: translate(-50%, -50%) perspective(1100px) rotateY(var(--ry, 0rad)) rotateX(var(--rx, 0rad)) scale(var(--ms, 1));
  opacity: var(--mo, 0); filter: drop-shadow(0 0 28px rgba(22,119,255,.55)) drop-shadow(0 0 70px rgba(22,119,255,.35));
}
/* thin corner brackets framing the screen */
.vh-frame { position: absolute; inset: 14px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.vh-frame i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(120,175,255,.75); }
.vh-frame i:nth-child(1) { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.vh-frame i:nth-child(2) { right: -1px; top: -1px; border-right-width: 2px; border-top-width: 2px; }
.vh-frame i:nth-child(3) { left: -1px; bottom: -1px; border-left-width: 2px; border-bottom-width: 2px; }
.vh-frame i:nth-child(4) { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }

.space-panel { position: relative; z-index: 1; min-height: 100svh; display: grid; }
.sp-grid { display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--header) + 40px); padding-bottom: 72px; min-height: 100svh; }
.sp-top { max-width: 760px; }
.vh-eyebrow { font-size: var(--t-md); color: rgba(255,255,255,.82); margin-bottom: 10px; }
.space h1 { font-family: var(--serif); font-style: italic; font-weight: 400; margin: 0; font-size: clamp(3.2rem, 1.2rem + 6.6vw, 8rem); line-height: .94; letter-spacing: -0.015em; }
.space .dim { color: rgba(130,175,255,.62); }
.sp-bottom { grid-row: 3; justify-self: end; max-width: 440px; }
.sp-bottom p { font-size: var(--t-md); line-height: 1.6; color: rgba(255,255,255,.82); text-align: justify; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--pill { border-radius: 40px; padding: 14px 26px; }
.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.space-panel--hero .btn:not(.btn--ghost-light) { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.space-panel--hero .btn:not(.btn--ghost-light):hover { background: #fff; color: var(--space); }

/* load-in: headline and copy rise out of a blur */
.js .sp-top > *, .js .sp-bottom > * { opacity: 0; transform: translateY(24px); filter: blur(10px); }
.is-loaded .sp-top > *, .is-loaded .sp-bottom > * { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.is-loaded .sp-top > :nth-child(2) { transition-delay: .12s; }
.is-loaded .sp-bottom > :nth-child(1) { transition-delay: .3s; }
.is-loaded .sp-bottom > :nth-child(2) { transition-delay: .42s; }

.vh-scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: var(--t-xs); color: rgba(255,255,255,.6); }
.vh-scroll span { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.8)); position: relative; overflow: hidden; }
.vh-scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

/* statement: words light up as you scroll */
.space-panel--statement { align-items: center; min-height: 0; padding: 18svh 0 22svh; }
.sp-statement { font-family: var(--serif); font-size: clamp(2.6rem, 1rem + 5.4vw, 6.4rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 15ch; margin-left: auto; text-align: right; }
.sp-statement .w { opacity: .14; transition: opacity .35s linear; }
.sp-statement .w.on { opacity: 1; }
.sp-statement .w:nth-child(n+3) { font-style: italic; }
.sp-note { margin: 28px 0 0 auto; max-width: 40ch; text-align: right; color: rgba(255,255,255,.7); }

/* intro screen (shown once per visit) */
.preload {
  position: fixed; inset: 0; z-index: 100; background: var(--space); color: #fff;
  display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 24px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preload img { width: 150px; height: auto; opacity: 0; transform: translateY(10px); animation: intro-in .9s var(--ease) .1s forwards; }
.preload p { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); color: rgba(255,255,255,.88); opacity: 0; animation: intro-in .9s var(--ease) .35s forwards; }
.preload p em { color: rgba(130,175,255,.7); }
.preload.is-done { opacity: 0; visibility: hidden; }
@keyframes intro-in { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .vh-frame { inset: 8px; }
  .sp-grid { padding-top: calc(var(--header) + 24px); padding-bottom: 48px; }
  .sp-bottom { justify-self: stretch; max-width: none; }
  .sp-bottom p { text-align: left; font-size: var(--t-sm); }
  .vh-scroll { display: none; }
  .sp-statement, .sp-note { text-align: left; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-statement .w { opacity: 1; }
  .preload { display: none; }
}

/* ---------- brand wall: every client logo, tiles flip in as you scroll ---------- */
[data-logo-source] { display: none; } /* source list that site.js turns into the wall */
.brand-sec { background: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.brand-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.brand-head h2 { font-size: var(--t-2xl); max-width: 16ch; }
.brand-head p { color: var(--ink-2); max-width: 48ch; }
.brand-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; perspective: 1200px; }
.bw-tile {
  aspect-ratio: 3 / 2; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 12px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}
.bw-tile { overflow: hidden; }
.bw-tile img { max-width: 88%; max-height: clamp(36px, 4.4vw, 62px); width: auto; height: auto; object-fit: contain; }
.bw-tile.is-dark { background: var(--navy-2); box-shadow: none; }
.bw-tile:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 0 0 1.5px var(--blue), 0 18px 32px -20px rgba(22,119,255,.6); }
.bw-tile.is-dark:hover { background: var(--navy-2); }
/* scroll reveal: each tile flips up into place, row by row */
.js .bw-tile { opacity: 0; transform: rotateX(-75deg) translateY(24px); transform-origin: 50% 100%; }
.js .bw-tile.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), box-shadow .35s, background .35s; transition-delay: var(--delay, 0s); }
.js .bw-tile.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
.brand-sec--dark { background: var(--navy); color: #fff; }
.brand-sec--dark .brand-head p { color: rgba(255,255,255,.72); }
.brand-sec--dark .bw-tile { background: #fff; box-shadow: none; }
.brand-sec--dark .bw-tile.is-dark { background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
@media (max-width: 1100px) { .brand-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) { .brand-head { grid-template-columns: 1fr; } .brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 420px) { .brand-wall { gap: 8px; } .bw-tile { border-radius: 10px; padding: 8px 10px; } }

/* ---------- website case studies: layout ---------- */
.site-cases { display: grid; gap: clamp(48px, 7vw, 96px); }
.site-case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.site-case:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.site-info .kicker { font-size: var(--t-sm); font-weight: 600; color: var(--blue); }
.site-info h3 { font-size: var(--t-xl); margin: 8px 0 12px; }
.site-info p { color: var(--ink-2); }
.site-info .tags { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.site-info .tags li { font-size: var(--t-xs); font-weight: 600; padding: 5px 11px; border-radius: 40px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
@media (max-width: 860px) {
  .site-case { grid-template-columns: 1fr; }
  .site-case:nth-child(even) { grid-template-columns: 1fr; }
}

/* ---------- business card mockups ---------- */
.bcard { display: block; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 40px 60px -28px rgba(0,0,0,.75), 0 4px 10px rgba(0,0,0,.25); }
.bcard img { width: 100%; height: auto; display: block; }
.bcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.28), transparent 38%, transparent 70%, rgba(0,0,0,.12)); pointer-events: none; }
.card-mocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.card-mock { margin: 0; }
.card-mock .scene {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #f4f6fa, #dfe5ef 70%, #d3dae6);
  box-shadow: 0 0 0 1px var(--line);
}
.card-mock .bcard { position: absolute; width: 60%; transition: transform .5s var(--ease); }
.card-mock .bcard--back { left: 8%; top: 12%; transform: rotate(-9deg); }
.card-mock .bcard--front { right: 7%; bottom: 13%; transform: rotate(5deg); }
.card-mock:hover .bcard--back { transform: rotate(-12deg) translate(-10px, -8px); }
.card-mock:hover .bcard--front { transform: rotate(3deg) translate(8px, 6px); }
.card-mock figcaption { margin-top: 12px; }
.card-mock figcaption b { display: block; font-family: var(--f-display); font-size: var(--t-md); }
.card-mock figcaption span { color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 760px) { .card-mocks { grid-template-columns: 1fr; } }

/* ---------- intro (home) ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro h2 { font-size: var(--t-2xl); }
.intro .muted p + p { margin-top: 16px; }
.intro .text-link { display: inline-block; margin-top: 24px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- service overview cards (home) ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease); }
.svc-card:hover { box-shadow: 0 0 0 1.5px var(--blue), 0 18px 40px -24px rgba(22,119,255,.6); transform: translateY(-2px); }
.svc-card h3 { font-size: var(--t-lg); margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: var(--t-sm); }
.svc-card ul { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card li { font-size: var(--t-xs); font-weight: 600; padding: 5px 11px; border-radius: 40px; background: var(--paper); color: var(--ink-2); }
.svc-card .more { display: inline-block; margin-top: 18px; font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600; color: var(--blue); }
.svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; } /* odd card count: the last card fills the row */
@media (max-width: 860px) { .svc-cards { grid-template-columns: 1fr; } .svc-card { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.why div { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.why h3 { font-size: var(--t-md); margin-bottom: 8px; }
.why p { color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- ticker ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track > div { display: flex; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 12px; height: 18px; background: rgba(255,255,255,.55); transform: skewX(var(--slant)); display: inline-block; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 40px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: var(--t-sm); }
.jump a:hover { box-shadow: 0 0 0 1.5px var(--blue); }
.jump .ico { width: 34px; height: 34px; border-radius: 40px; }
.jump .ico svg { width: 18px; height: 18px; }

.svc-group { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
.svc-head { position: sticky; top: calc(var(--header) + 24px); align-self: start; }
.svc-head h2 { font-size: var(--t-xl); margin: 18px 0 10px; }
.svc-head p { color: var(--ink-2); font-size: var(--t-sm); }
.svc-head .btn { margin-top: 22px; padding: 12px 20px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-self: start; }
.svc { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.svc:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd last card fills the row, so every group ends on a straight line */
.svc:last-child:nth-child(odd) ul { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
.svc h3 { font-size: var(--t-md); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.svc h3::before { content: ""; width: 8px; height: 15px; background: var(--blue); transform: skewX(var(--slant)); flex: none; }
.svc p { color: var(--ink-2); font-size: var(--t-sm); }
.svc ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 6px; }
.svc li { font-size: var(--t-sm); padding-left: 24px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 960px) {
  .svc-group { grid-template-columns: 1fr; }
  .svc-head { position: static; }
}
@media (max-width: 640px) { .svc-list { grid-template-columns: 1fr; } .svc:last-child:nth-child(odd) ul { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.step { border-top: 1.5px solid #fff; padding-top: 22px; }
.step::before { counter-increment: step; content: "Step " counter(step); display: block; font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600; color: #8fb8ff; margin-bottom: 10px; }
.step h3 { font-size: var(--t-lg); margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.75); font-size: var(--t-sm); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section-head p { color: rgba(255,255,255,.75); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- portfolio ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button { font: 600 var(--t-sm) var(--f-display); border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; padding: 10px 18px; border-radius: 40px; cursor: pointer; color: var(--ink-2); }
.tabs button:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--ink); box-shadow: none; color: #fff; }
.work-group[hidden] { display: none; }

.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.reel-card { margin: 0; }
.reel-card .frame { position: relative; aspect-ratio: 9/16; background: var(--ink); border-radius: 14px; overflow: hidden; cursor: pointer; }
.reel-card video { width: 100%; height: 100%; object-fit: cover; }
.reel-card .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--ink); border: 0; border-radius: 40px; padding: 9px 16px 9px 12px; font: 600 var(--t-xs) var(--f-display); cursor: pointer; }
.reel-card .play svg { width: 16px; height: 16px; }
.reel-card figcaption { margin-top: 14px; }
.reel-card figcaption b { font-family: var(--f-display); display: block; font-size: var(--t-md); }
.reel-card figcaption span { color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 760px) { .reel-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 14px; background: var(--line); }
.gallery figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); }
.gallery figcaption b { font-family: var(--f-display); font-size: var(--t-md); }
.gallery figcaption span { color: var(--ink-2); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.clients .logo-card { margin: 0; box-shadow: 0 0 0 1px var(--line); }
.clients .logo-card img { filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.clients .logo-card:hover img { filter: none; opacity: 1; }
.clients .logo-card.is-dark img { filter: none; opacity: 1; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* ---------- numbers ---------- */
.numbers-band { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.number strong { display: block; font-family: var(--f-display); font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.number span { color: rgba(255,255,255,.7); font-size: var(--t-sm); }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story .muted p + p { margin-top: 16px; }
.story .lead { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.3; letter-spacing: -0.02em; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv article { padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.mv article:first-child { background: var(--blue); color: #fff; box-shadow: none; }
.mv article:first-child p { color: rgba(255,255,255,.88); }
.mv h3 { font-size: var(--t-xl); margin: 6px 0 14px; }
.mv .kicker { font-size: var(--t-sm); font-weight: 600; color: var(--blue); }
.mv article:first-child .kicker { color: #d4e4ff; }
.mv p { color: var(--ink-2); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.industries { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.industries li { padding: 10px 18px; border-radius: 40px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: var(--t-sm); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; gap: clamp(16px, 2.4vw, 28px); }
.member img { width: 100%; aspect-ratio: 31/36; object-fit: cover; border-radius: 14px; background: var(--line); }
.member h3 { margin-top: 14px; font-size: var(--t-md); }
.member p { color: var(--ink-2); font-size: var(--t-sm); }
.member .socials { margin-top: 8px; display: flex; gap: 6px; }
.member .socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--paper); color: var(--ink); }
.member .socials a:hover { background: var(--blue); color: #fff; }
.member .socials svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: start; }
.review { margin: 0; background: var(--paper); padding: 28px; border-radius: 14px; }
.section:not(.section--white) .review { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; display: block; }
.review blockquote { margin: 0; font-size: var(--t-md); line-height: 1.55; }
.review footer { margin-top: 18px; font-size: var(--t-sm); color: var(--ink-2); }
.review footer b { display: block; font-family: var(--f-display); color: var(--ink); }
.review--lead { background: var(--navy) !important; color: #fff; padding: 36px; grid-row: span 2; box-shadow: none !important; }
.review--lead blockquote { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.4; letter-spacing: -0.01em; }
.review--lead footer, .review--lead footer b { color: rgba(255,255,255,.85); }
.rating { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: var(--t-sm); color: var(--ink-2); }
.rating .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review--lead { grid-row: auto; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--t-2xl); max-width: 18ch; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.88); max-width: 46ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; top: -40%; height: 180%; background: rgba(255,255,255,.08); transform: skewX(var(--slant)); }
.cta-band::before { right: 6%; width: 160px; }
.cta-band::after { right: calc(6% + 190px); width: 56px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: var(--t-sm); font-family: var(--f-body); font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-bottom: 2px; }
.contact-card a, .contact-card address { font-family: var(--f-display); font-size: var(--t-md); font-weight: 600; font-style: normal; text-decoration: none; line-height: 1.45; }
.contact-card a:hover { color: var(--blue); }
.contact-card p { font-size: var(--t-sm); color: var(--ink-2); }
.form { background: #fff; padding: clamp(24px, 4vw, 44px); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 22px; }
.form h2 { font-size: var(--t-xl); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .form legend { font-size: var(--t-sm); font-weight: 600; }
.field input, .field textarea, .field select { font: inherit; font-size: var(--t-md); color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--paper); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 40px; font-size: var(--t-sm); border: 1.5px solid var(--line); background: var(--paper); transition: background .15s, border-color .15s, color .15s; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-note { font-size: var(--t-xs); color: var(--ink-2); }
.form-error { color: #c62828; font-size: var(--t-sm); font-weight: 600; }
.form-error:empty { display: none; }
.map { margin-top: clamp(40px, 6vw, 64px); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: var(--t-sm); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo img { height: 46px; width: auto; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-grid h2 { color: #fff; font-size: var(--t-md); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand p { margin-top: 18px; max-width: 32ch; }
.foot-social { display: flex; gap: 8px; margin-top: 20px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; }
.foot-social a:hover { background: var(--blue); text-decoration: none; }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom small { font-size: var(--t-xs); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(7,20,66,.3); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-track [aria-hidden="true"] { display: none; }
  .js .bw-tile { opacity: 1 !important; transform: none !important; }
  .layer > * { animation: none !important; }
}

/* ---------- portfolio: logo design showcase ---------- */
.logo-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.logo-showcase figure { margin: 0; }
.logo-showcase .art {
  aspect-ratio: 4 / 3; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line);
  display: grid; place-items: center; padding: 12%; transition: box-shadow .25s, transform .25s var(--ease);
}
.logo-showcase figure:hover .art { box-shadow: 0 0 0 1.5px var(--blue), 0 18px 40px -24px rgba(22,119,255,.6); transform: translateY(-2px); }
.logo-showcase img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-showcase figcaption { margin-top: 12px; }
.logo-showcase figcaption b { display: block; font-family: var(--f-display); font-size: var(--t-md); }
.logo-showcase figcaption span { color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 860px) { .logo-showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .logo-showcase { grid-template-columns: 1fr; } }

/* portfolio: four reels in a row */
.reel-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .reel-grid--4 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; } }
@media (max-width: 560px) { .reel-grid--4 { grid-template-columns: 1fr; max-width: 380px; } }

/* ---------- website case studies: browser window on a brand-colour stage ---------- */
.site-case:nth-child(even) .web-stage { order: 2; }
.web-stage {
  position: relative; display: block; overflow: hidden; text-decoration: none; isolation: isolate;
  padding: 9% 7% 0; border-radius: 24px; perspective: 1600px;
  background: radial-gradient(120% 100% at 15% 0%, var(--a1), var(--a2) 72%);
  box-shadow: 0 30px 60px -36px rgba(7,20,66,.55);
}
.web-stage::before { /* soft dot grid, fading out */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.28) 1px, transparent 1.2px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%); mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
}
.web-window {
  display: block; margin-bottom: -5%; border-radius: 14px 14px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.5);
  transform: rotateX(10deg) rotateY(-12deg) rotateZ(1.5deg); transform-origin: 50% 100%;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.site-case:nth-child(even) .web-window { transform: rotateX(10deg) rotateY(12deg) rotateZ(-1.5deg); }
.web-stage:hover .web-window, .web-stage:focus-visible .web-window { transform: none; box-shadow: 0 40px 70px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.5); }
.web-chrome { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; background: #f4f5f8; border-bottom: 1px solid #e9ecf1; }
.web-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; flex: none; }
.web-chrome i:nth-child(2) { background: #febc2e; }
.web-chrome i:nth-child(3) { background: #28c840; }
.web-chrome .url {
  flex: 0 1 46%; display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto;
  background: #fff; border-radius: 5px; padding: 1px 8px; box-shadow: inset 0 0 0 1px #eceef3;
  font-size: 9.5px; line-height: 1.5; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.web-chrome .url svg { width: 8px; height: 8px; flex: none; fill: none; stroke: #2a9d4b; stroke-width: 1.6; }
.web-window img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top center; }
.web-chip {
  position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 40px; font: 600 var(--t-xs) var(--f-display); color: #fff;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.web-chip i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.3); }
@media (max-width: 860px) {
  .site-case:nth-child(even) .web-stage { order: 0; }
  .web-stage { border-radius: 18px; padding: 12% 6% 0; }
  .web-chip { top: 10px; right: 10px; padding: 5px 10px; }
  .web-chrome { height: 18px; padding: 0 7px; gap: 4px; }
  .web-chrome i { width: 5px; height: 5px; }
  .web-chrome .url { font-size: 8px; padding: 0 6px; flex-basis: 60%; }
  .web-chrome .url svg { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) { .web-window, .site-case:nth-child(even) .web-window { transform: none; } }

/* =========================================================
   Serif headings across every page (matches the home hero)
   ========================================================= */
:root {
  --t-xl: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem);
  --t-2xl: clamp(2.6rem, 1.4rem + 3.8vw, 4.6rem);
  --t-3xl: clamp(3rem, 1.4rem + 5.4vw, 6rem);
}
h1, h2, .story .lead, .mv h3, .site-info h3, .svc-head h2 {
  font-family: var(--serif) !important; font-style: italic; font-weight: 400 !important; letter-spacing: -0.01em !important; line-height: 1.02;
}
.section-head h2, .brand-head h2, .intro h2, .cta-band h2 { max-width: 18ch; }
.work-sub, h2.work-sub { font-size: var(--t-xl); }
.story .lead { font-size: var(--t-2xl); line-height: 1.08; }
.form h2 { font-size: var(--t-xl); }

/* ---------- home hero: text on the left, logo on the right ---------- */
.sp-top { max-width: min(780px, 58vw); }
.sp-bottom { justify-self: start; max-width: 460px; }
.sp-bottom p { text-align: left; }
@media (max-width: 760px) { .sp-top { max-width: none; } }
/* phones: leave room above the statement for the star and its ring */
@media (max-width: 760px) { .space-panel--statement { padding-top: 48svh; } }

/* ---------- tech stack band (home) ---------- */
.tech { display: grid; grid-template-columns: minmax(260px, 30%) minmax(0, 1fr); background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-side {
  background: var(--navy); color: #fff; display: grid; align-content: center; justify-items: center; text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); position: relative; overflow: hidden;
}
.tech-side::after { content: ""; position: absolute; right: -40px; top: -30%; width: 90px; height: 160%; background: rgba(255,255,255,.05); transform: skewX(var(--slant)); }
.tech-icon { width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; margin-bottom: 14px; }
.tech-side h2 { font-size: var(--t-xl); color: #fff; }
.tech-side .dot { color: var(--blue); font-style: normal; }
.tech-side p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: var(--t-sm); max-width: 28ch; }
.tech-main { padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; align-content: center; }
.tech-platforms, .tech-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

/* platform cards: one even row, every card the same shape */
.tech-platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tech-platforms li {
  display: grid; justify-items: center; align-content: start; text-align: center; gap: 4px;
  padding: 22px 12px 18px; background: #fff; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s;
}
.tech-platforms .tl { height: 44px; display: grid; place-items: center; margin-bottom: 8px; }
.tech-platforms img { width: 40px; height: 40px; object-fit: contain; }
.tech-platforms img.wide { width: 66px; height: 30px; }
.tech-platforms b { font-family: var(--f-display); font-size: 16px; font-weight: 700; line-height: 1.2; }
.tech-platforms small { color: var(--ink-2); font-size: 12.5px; line-height: 1.35; text-wrap: balance; }

/* tool tiles: 7 x 2 grid, same tile, same logo box */
.tech-tools { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tech-tools li {
  aspect-ratio: 1; background: #fff; border-radius: 14px; display: grid; grid-template-rows: 36px auto; place-items: center; align-content: center; gap: 10px; padding: 8px;
  box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s;
}
.tech-tools img { width: 32px; height: 32px; object-fit: contain; transition: transform .25s var(--ease); }
.tech-tools img.wide { width: 46px; height: 30px; }
.tech-tools span { font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.2; text-align: center; }

.tech-platforms li:hover, .tech-tools li:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--blue), 0 14px 24px -16px rgba(22,119,255,.5); }
.tech-tools li:hover img { transform: scale(1.08); }

@media (max-width: 1180px) { .tech-platforms b { font-size: 14px; white-space: nowrap; } .tech-platforms li { padding: 18px 8px 14px; } .tech-tools li { aspect-ratio: auto; padding: 16px 6px; } .tech-tools span { font-size: 12px; } }
@media (max-width: 860px) { .tech { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .tech-platforms { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .tech-platforms li { grid-column: span 2; padding: 16px 6px 14px; }
  .tech-platforms li:nth-child(4) { grid-column: 2 / span 2; }
  .tech-platforms .tl { height: 34px; margin-bottom: 4px; }
  .tech-platforms img { width: 30px; height: 30px; }
  .tech-platforms img.wide { width: 46px; height: 22px; }
  .tech-platforms b { font-size: 14px; }
  .tech-platforms small { font-size: 12px; }
  .tech-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .tech-tools li:nth-child(13) { grid-column: 2; }
  .tech-tools img { width: 26px; height: 26px; }
  .tech-tools img.wide { width: 38px; height: 24px; }
  .tech-tools li { grid-template-rows: 28px auto; gap: 6px; }
  .tech-tools span { font-size: 12px; letter-spacing: -.01em; }
}

/* five reels: centred rows, never a lone card stuck on the left */
.reel-grid--5 { display: flex; flex-wrap: wrap; justify-content: center; --g: clamp(16px, 2.4vw, 28px); gap: var(--g); }
.reel-grid--5 > .reel-card { flex: 0 1 calc((100% - 4 * var(--g)) / 5); min-width: 0; }
@media (max-width: 1100px) { .reel-grid--5 > .reel-card { flex-basis: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 760px) { .reel-grid--5 { max-width: none; } .reel-grid--5 > .reel-card { flex-basis: calc((100% - var(--g)) / 2); } }
@media (max-width: 480px) { .reel-grid--5 { max-width: 380px; margin: 0 auto; } .reel-grid--5 > .reel-card { flex-basis: 100%; } }

/* hero (desktop): headline sits just above the paragraph, no empty gap between them */
@media (min-width: 761px) {
  .sp-grid { grid-template-rows: 1fr auto auto 0.6fr; }
  .sp-top { grid-row: 2; }
  .sp-bottom { grid-row: 3; margin-top: clamp(40px, 8vh, 90px); }
}

/* platform row with 7 cards: centred flex rows so the last row never leaves a hole */
.tech-platforms { display: flex; flex-wrap: wrap; justify-content: center; --g: 14px; gap: var(--g); }
.tech-platforms li { flex: 0 1 calc((100% - 6 * var(--g)) / 7); min-width: 0; }
.tech-platforms li:nth-child(n) { grid-column: auto; }
@media (max-width: 1280px) { .tech-platforms li { flex-basis: calc((100% - 3 * var(--g)) / 4); } }
@media (max-width: 640px) { .tech-platforms { --g: 10px; } .tech-platforms li { flex-basis: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 1500px) { .tech-platforms b { font-size: 14px; white-space: nowrap; } .tech-platforms li { padding-left: 6px; padding-right: 6px; } }

/* logo design grid: smaller cards, 4 across */
.logo-showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.logo-showcase .art { aspect-ratio: 16 / 10; padding: 10% 12%; }
.logo-showcase figcaption { margin-top: 10px; }
.logo-showcase figcaption b { font-size: 15px; }
.logo-showcase figcaption span { font-size: 13px; }
@media (max-width: 1000px) { .logo-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .logo-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-showcase { display: flex; flex-wrap: wrap; justify-content: center; --g: clamp(14px, 1.8vw, 22px); gap: var(--g); }
.logo-showcase figure { flex: 0 1 calc((100% - 3 * var(--g)) / 4); min-width: 0; }
@media (max-width: 1000px) { .logo-showcase figure { flex-basis: calc((100% - 2 * var(--g)) / 3); } }
@media (max-width: 700px) { .logo-showcase figure { flex-basis: calc((100% - var(--g)) / 2); } }

/* hero eyebrow now lives inside the h1 (so the h1 carries the local keyword) but looks the same */
.space h1 .vh-eyebrow { display: block; font-family: var(--f-body); font-style: normal; font-weight: 400; font-size: var(--t-md); line-height: 1.5; letter-spacing: 0; color: rgba(255,255,255,.82); margin-bottom: 10px; }

/* ---------- portfolio video slider ---------- */
.slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.slider-head .work-sub { margin-bottom: 0; }
.slider-nav { display: flex; gap: 10px; flex: none; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .2s var(--ease);
}
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.reel-slider { margin-top: 22px; }
.reel-track {
  --g: clamp(14px, 2vw, 24px); --per: 4;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--g)) / var(--per)); gap: var(--g);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 14px; }
.reel-track > .reel-card { scroll-snap-align: start; min-width: 0; }
.slider-dots { display: flex; justify-content: center; gap: 0; margin-top: 16px; }
.slider-dots button { position: relative; width: 24px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s var(--ease); }   /* 24px+ touch area, small visual dot */
.slider-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 9px; background: #c9d2e3; transform: translate(-50%, -50%); transition: width .3s var(--ease), background .3s; }
.slider-dots button:hover::before { background: #9fb0cc; }
.slider-dots button[aria-current="true"] { width: 40px; }
.slider-dots button[aria-current="true"]::before { width: 26px; background: var(--blue); }
@media (max-width: 1100px) { .reel-track { --per: 3; } }
@media (max-width: 760px) { .reel-track { --per: 2.2; } .slider-btn { width: 42px; height: 42px; } }
@media (max-width: 480px) { .reel-track { --per: 1.3; } .slider-nav { display: none; } }

/* ---------- about: world map ---------- */
.world-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); display: grid; gap: 14px; justify-items: center; }
.world-head h2 { font-size: var(--t-2xl); max-width: 20ch; }
.world-head h2 em { color: var(--blue); }
.world-head p { color: var(--ink-2); max-width: 58ch; }
.world-map { position: relative; max-width: 1120px; margin: 0 auto; }
.world-map img { display: block; width: 100%; height: auto; }
.wm-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wm-route { fill: none; stroke: #6b7790; stroke-width: 1.6; stroke-dasharray: 6 6; stroke-linecap: round; }
.wm-draw { fill: none; stroke: #fff; stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1; }
.world-map.is-in .wm-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 3.2s cubic-bezier(.45,.05,.25,1) .3s; }

.wm-pins { position: absolute; inset: 0; }
.wm-pin {
  position: absolute; left: var(--x); top: var(--y); width: clamp(18px, 2.6vw, 30px); aspect-ratio: 24 / 32;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--c);
  transform: translate(-50%, -100%) translateY(-18px) scale(.4); opacity: 0; transform-origin: 50% 100%;
}
.wm-pin svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 4px 6px rgba(7,20,66,.25)); transition: transform .25s var(--ease); transform-origin: 50% 100%; }
.wm-ring {           /* the small ring under each pin */
  position: absolute; left: 50%; bottom: 0; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid #1677ff; background: #fff; transform: translate(-50%, 45%); z-index: -1;
}
.wm-pin.is-hq { width: clamp(22px, 3.2vw, 38px); }
.wm-pin.is-hq .wm-ring { border-color: #0a2f8f; border-width: 3px; }
.world-map.is-in .wm-pin {
  opacity: 1; transform: translate(-50%, -100%);
  transition: opacity .4s var(--ease) calc(.4s + var(--i) * .3s), transform .6s cubic-bezier(.3,1.6,.5,1) calc(.4s + var(--i) * .3s);
}
.wm-pin:hover svg, .wm-pin:focus-visible svg, .wm-pin.is-active svg { transform: scale(1.18); }
.wm-pin:hover, .wm-pin:focus-visible, .wm-pin.is-active { z-index: 2; }
.wm-pin:focus-visible { outline: none; }
.wm-pin:focus-visible svg { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 3px var(--blue)); }

.wm-tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; white-space: nowrap;
  background: var(--navy); color: #fff; font: 600 clamp(12px, 1.3vw, 15px)/1 var(--f-display);
  padding: 12px 16px; border-radius: 10px; box-shadow: 0 12px 24px -10px rgba(7,20,66,.5);
  opacity: 0; transform: translate(-50%, calc(-100% - 8px)) translateY(6px); transition: opacity .2s, transform .25s var(--ease);
}
.wm-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.wm-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 8px)); }

@media (prefers-reduced-motion: reduce) {
  .world-map .wm-draw { stroke-dashoffset: 0; transition: none; }
  .world-map .wm-pin { opacity: 1; transform: translate(-50%, -100%); transition: none; }
}
@media (max-width: 640px) {
  .world-map { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .wm-tip { font-size: 11px; padding: 8px 10px; border-radius: 8px; }
  .wm-tip::after { width: 9px; height: 9px; bottom: -4px; }
}

/* ---------- portfolio: logo brand boards ---------- */
/* each logo is shown like a brand guideline card: the logo on a clean canvas, with its colour palette underneath */
.logo-showcase .art.brand-board {
  padding: 0; aspect-ratio: 4 / 3; display: grid; grid-template-rows: 1fr auto; place-items: stretch;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgba(7,20,66,.45);
}
.bb-logo {
  position: relative; display: grid; place-items: center; padding: 13% 14% 11%;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 40%, #f4f6fa);
}
.bb-logo::before {  /* faint construction grid, like a logo presentation sheet */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center;
  -webkit-mask: radial-gradient(closest-side, transparent 45%, #000 100%); mask: radial-gradient(closest-side, transparent 45%, #000 100%);
}
.bb-logo img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease); }
.bb-palette { display: flex; height: 40px; }
.bb-palette i { flex: 3; transition: flex .45s var(--ease); }
.bb-palette i:nth-child(1) { background: var(--c1); }
.bb-palette i:nth-child(2) { background: var(--c2); flex: 1.6; }
.bb-palette i:nth-child(3) { background: var(--c3); flex: 1; }
.logo-showcase figure:hover .bb-logo img { transform: scale(1.05); }
.logo-showcase figure:hover .bb-palette i:nth-child(2) { flex: 2.4; }
.logo-showcase figure:hover .art.brand-board { box-shadow: 0 0 0 1.5px var(--c1), 0 24px 44px -26px rgba(7,20,66,.5); }
@media (max-width: 700px) { .bb-palette { height: 26px; } .bb-logo::before { background-size: 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .bb-logo img, .bb-palette i { transition: none; } }

/* ---------- portfolio: Instagram reel embeds in the slider ---------- */
.reel-track--ig { --per: 3; }   /* Instagram's player needs ~330px to look right */
.ig-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 16px 34px -26px rgba(7,20,66,.45); }
.ig-frame { position: relative; aspect-ratio: 9 / 17.4; background: linear-gradient(110deg, #f1f4f9 30%, #f8fafc 50%, #f1f4f9 70%) 0 0 / 200% 100%; animation: ig-shimmer 1.4s linear infinite; }
.ig-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes ig-shimmer { to { background-position: -200% 0; } }
@media (max-width: 1100px) { .reel-track--ig { --per: 2.2; } }
@media (max-width: 760px) { .reel-track--ig { --per: 1.6; } }
@media (max-width: 480px) { .reel-track--ig { --per: 1.12; } }
@media (prefers-reduced-motion: reduce) { .ig-frame { animation: none; } }
/* hide Instagram's likes / comment bar: show only the header, the reel and "View more on Instagram",
   and clip the rest of the embed (it's another site's frame, so it can only be cropped, not edited) */
.ig-card { container-type: inline-size; }
.ig-frame { aspect-ratio: auto; height: calc(96px + 125cqw); overflow: hidden; }
.ig-frame iframe { inset: 0 0 auto 0; height: calc(96px + 125cqw + 200px); }
/* card for a reel Instagram won't embed (age-restricted): same size, opens Instagram */
.ig-out { display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; text-decoration: none; color: #fff; animation: none;
  background: radial-gradient(90% 60% at 50% 40%, rgba(22,119,255,.55), transparent 70%), linear-gradient(160deg, #0b1d5c, var(--navy) 60%, #050c2b); }
.ig-out-head { justify-self: stretch; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font: 600 14px var(--f-display); background: rgba(255,255,255,.06); }
.ig-out-head svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; }
.ig-out-head svg circle:last-child { fill: #fff; stroke: none; }
.ig-out-play { align-self: center; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); box-shadow: 0 0 0 10px rgba(255,255,255,.06); transition: transform .3s var(--ease), background .3s; }
.ig-out-play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.ig-out-text { padding: 0 20px 22px; font-size: var(--t-sm); color: rgba(255,255,255,.8); }
.ig-out-more { justify-self: stretch; padding: 12px 16px; background: #fff; color: #4150f7; font-size: 14px; font-weight: 600; }
.ig-out:hover .ig-out-play { transform: scale(1.08); background: var(--blue); }

/* our own video card, styled to sit beside the Instagram embeds (same height: 96px + 125cqw) */
.own-head { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-bottom: 1px solid #efefef; }
.own-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); flex: none; }
.own-avatar img { width: 18px; height: 18px; object-fit: contain; }
.own-head b { display: block; font: 600 14px/1.2 var(--f-body); }
.own-head small { display: block; font-size: 12px; color: var(--ink-2); }
.reel-card .own-media { aspect-ratio: auto; height: 125cqw; border-radius: 0; background: #000; }
.own-media video { object-fit: contain; }
.own-foot { height: 42px; display: flex; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 600; color: #4150f7; border-top: 1px solid #efefef; }
.foot-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.95); margin-bottom: 2px; }

/* ---------- portfolio: brochure mockup (two A4 sheets on a soft studio backdrop) ---------- */
.brochure-case { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.brochure-scene {
  position: relative; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 60% at 40% 30%, #ffffff, #e6ebf3 65%, #d6deea);
  box-shadow: 0 0 0 1px var(--line);
}
.brochure-scene::before {   /* soft light from the top left */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.35), transparent 40%);
}
.sheet {
  position: absolute; top: 50%; width: 45%; aspect-ratio: 989 / 1400; border-radius: 3px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 30px 50px -22px rgba(7,20,66,.55), 0 12px 20px -14px rgba(7,20,66,.35);
  transition: transform .6s var(--ease);
}
.sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sheet::after {   /* paper sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 35%, transparent 70%, rgba(0,0,0,.08));
}
.sheet--back { left: 9%; transform: translateY(-50%) rotate(-7deg); z-index: 1; }
.sheet--front { left: 45%; transform: translateY(-46%) rotate(5deg); z-index: 2; }
.brochure-case:hover .sheet--back { transform: translateY(-50%) translateX(-6%) rotate(-10deg); }
.brochure-case:hover .sheet--front { transform: translateY(-48%) translateX(6%) rotate(7deg); }
@media (max-width: 860px) {
  .brochure-case { grid-template-columns: 1fr; }
  .sheet { width: 46%; }
  .sheet--back { left: 6%; }
  .sheet--front { left: 47%; }
}
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } }

/* ---------- portfolio: packaging mockups (bottles, dropper, pouches), drawn in CSS around the real label art ---------- */
.work-intro { color: var(--ink-2); max-width: 64ch; margin: -6px 0 22px; }
.pack-grid { display: flex; flex-wrap: wrap; justify-content: center; --g: clamp(16px, 2.2vw, 26px); gap: var(--g); }
.pack-card { margin: 0; flex: 0 1 calc((100% - 2 * var(--g)) / 3); min-width: 0; }
.pack-card figcaption { margin-top: 12px; }
.pack-card figcaption b { display: block; font-family: var(--f-display); font-size: 15px; }
.pack-card figcaption span { color: var(--ink-2); font-size: 13px; }
.pack-scene {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; container-type: inline-size;
  display: flex; align-items: flex-end; justify-content: center; gap: 5%; padding: 0 5% 11%;
  background: radial-gradient(75% 60% at 50% 30%, #ffffff, #eef1f6 60%, #dfe5ee);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(7,20,66,.45);
}
.pack-scene::before { /* table edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 17%;
  background: linear-gradient(180deg, #e6ebf2, #d9e0ea); border-top: 1px solid rgba(255,255,255,.8);
}

/* bottles */
.btl { position: relative; z-index: 1; width: var(--w); display: flex; flex-direction: column; align-items: center; transition: transform .5s var(--ease); }
.btl::after { /* contact shadow on the table */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -5%; height: 8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(7,20,66,.38), transparent); filter: blur(2px);
}
.btl-cap, .btl-neck { display: block; position: relative; }
.btl-body { display: block; position: relative; width: 100%; overflow: hidden; padding: 16% 0 12%; border-radius: 22% 22% 12% 12% / 9% 9% 5% 5%; }
/* --img paths are written relative to this stylesheet (assets/css/), e.g. ../labels/x.jpg */
.btl-label { display: block; position: relative; width: 100%; aspect-ratio: var(--ar); background: var(--img) var(--pos) / var(--size) no-repeat; }
.btl-body::after { /* round-bottle shading: dark edges, a soft highlight on the left */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.08) 13%, rgba(255,255,255,.32) 27%, rgba(255,255,255,0) 40%, rgba(0,0,0,0) 68%, rgba(0,0,0,.16) 86%, rgba(0,0,0,.45));
}
.btl-label::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.2); }

/* dark green glass with a gold screw cap */
.btl--glass .btl-cap { width: 52%; aspect-ratio: 2.1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(90deg, #6b5420, #e9cd7a 30%, #fff3c4 40%, #c9a54c 60%, #5d4718),
              repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 4px); background-blend-mode: multiply; }
.btl--glass .btl-neck { width: 36%; aspect-ratio: 3.2; background: linear-gradient(90deg, #06130f, #1d3b33 30%, #0b1d18 70%, #040c0a); }
.btl--glass .btl-body { background: linear-gradient(90deg, #06130f, #163a31 35%, #0d2620 70%, #050f0c); }

/* white shampoo bottle with a flip-top cap */
.btl--white .btl-cap { width: 72%; aspect-ratio: 2.6; border-radius: 40% 40% 6px 6px / 60% 60% 6px 6px;
  background: linear-gradient(90deg, #b9bec8, #ffffff 30%, #f4f5f8 55%, #a9afba); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.btl--white .btl-neck { width: 66%; aspect-ratio: 12; background: linear-gradient(90deg, #9aa1ad, #e9ecf1 35%, #b5bbc6); }
.btl--white .btl-body { background: linear-gradient(90deg, #c3c8d1, #ffffff 30%, #f3f4f7 60%, #b9bfca); border-radius: 18% 18% 10% 10% / 7% 7% 4% 4%; }

/* amber dropper bottle */
.btl--dropper .btl-cap { width: 30%; aspect-ratio: .78; border-radius: 48% 48% 10% 10% / 38% 38% 6% 6%;
  background: linear-gradient(90deg, #0b0b0d, #3a3a40 35%, #121215 70%, #000); }
.btl--dropper .btl-neck { width: 52%; aspect-ratio: 3.4; border-radius: 3px;
  background: linear-gradient(90deg, #6b5420, #e9cd7a 30%, #fff3c4 40%, #c9a54c 60%, #5d4718); }
.btl--dropper .btl-body { background: linear-gradient(90deg, #2a1203, #8a4312 32%, #5b2a08 70%, #1e0c02); padding: 22% 0 16%; }

/* stand-up pouches */
.pouch {
  position: relative; z-index: 1; width: var(--w); aspect-ratio: .64; border-radius: 6px 6px 16px 16px / 6px 6px 10px 10px;
  background: var(--img) 100% 70% / 200% auto no-repeat, #ddd; transition: transform .5s var(--ease);
  box-shadow: 0 22px 30px -18px rgba(7,20,66,.55), 0 4px 8px -4px rgba(7,20,66,.25);
}
.pouch::after { /* puffy foil look: soft highlights and darker sides */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 12%, rgba(255,255,255,.26) 24%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 72%, rgba(255,255,255,.12) 84%, rgba(0,0,0,.3)),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 30%, transparent 80%, rgba(0,0,0,.18));
}
.pouch-seal { /* top heat seal with zip line and tear notch */
  position: absolute; left: 0; right: 0; top: 0; height: 13%; border-radius: 6px 6px 0 0; z-index: 1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 2px, rgba(0,0,0,.06) 2px 4px), rgba(255,255,255,.14);
  border-bottom: 2px solid rgba(255,255,255,.35); box-shadow: 0 3px 0 -1px rgba(0,0,0,.15);
}
.pouch-seal::before { content: ""; position: absolute; left: 6%; right: 6%; top: 70%; height: 2px; background: rgba(255,255,255,.4); }
.pouch-seal::after { content: ""; position: absolute; right: -1px; top: 32%; width: 7px; height: 7px; background: #eef1f6; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.pouch::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -6%; height: 8%; z-index: -1; background: radial-gradient(closest-side, rgba(7,20,66,.35), transparent); filter: blur(2px); }

.pack-card:hover .btl:nth-child(odd), .pack-card:hover .pouch:nth-child(odd) { transform: translateY(-6px) rotate(-1.5deg); }
.pack-card:hover .btl:nth-child(even), .pack-card:hover .pouch:nth-child(even) { transform: translateY(-6px) rotate(1.5deg); }

@media (max-width: 1000px) { .pack-card { flex-basis: calc((100% - var(--g)) / 2); } }
@media (max-width: 560px) { .pack-card { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .btl, .pouch { transition: none; } }

/* ---------- packaging mockups: studio upgrade (later rules override the base ones above) ---------- */
.pack-scene {
  gap: 0; padding: 0 6% 15%;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(120% 90% at 50% 20%, var(--bg1), var(--bg2));
}
.pack-scene::before {          /* round podium the products stand on */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 7%; height: 15%; border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, var(--pod1), var(--pod1));
  box-shadow: 0 10px 0 0 var(--pod2), 0 26px 30px -8px rgba(0,0,0,.28);
  border-top: 0;
}
.pack-scene::after {           /* soft window light from the top left */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(125deg, rgba(255,255,255,.18), transparent 35%), radial-gradient(90% 60% at 50% 110%, rgba(0,0,0,.12), transparent 60%);
}

/* depth: the smaller product sits behind and overlaps */
.btl.is-back, .pouch.is-back { z-index: 0; margin-right: -7%; transform: translateY(-5%) scale(.94); filter: brightness(.93); }
.btl:not(.is-back), .pouch:not(.is-back) { z-index: 2; }
.pack-card:hover .btl.is-back, .pack-card:hover .pouch.is-back { transform: translateY(-8%) scale(.94) rotate(-2deg); }
.pack-card:hover .btl:not(.is-back), .pack-card:hover .pouch:not(.is-back) { transform: translateY(-3%); }

/* mirror reflection on the podium (Chrome, Edge, Safari) */
.btl, .pouch { -webkit-box-reflect: below 1px linear-gradient(transparent 82%, rgba(255,255,255,.22)); }
.btl::after, .pouch::before { bottom: -3%; height: 6%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }

/* glass: narrow specular highlight + rim light */
.btl-body::before {
  content: ""; position: absolute; top: 4%; bottom: 6%; left: 15%; width: 6%; z-index: 2; pointer-events: none; border-radius: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.25) 40%, rgba(255,255,255,.55) 80%, rgba(255,255,255,.1));
  filter: blur(1.5px); mix-blend-mode: screen;
}
.btl-body::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12) 10%, rgba(255,255,255,.18) 24%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 66%, rgba(0,0,0,.18) 84%, rgba(0,0,0,.6)),
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 9%, transparent 92%, rgba(0,0,0,.3));
}
.btl--white .btl-body::after {
  background:
    linear-gradient(90deg, rgba(40,50,70,.38), rgba(40,50,70,.08) 10%, rgba(255,255,255,.35) 24%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 66%, rgba(40,50,70,.12) 84%, rgba(40,50,70,.42)),
    linear-gradient(180deg, rgba(255,255,255,.4), transparent 9%, transparent 92%, rgba(40,50,70,.18));
}
.btl-label { box-shadow: 0 0 0 .5px rgba(0,0,0,.15); }

/* caps with fine ribs */
.btl--glass .btl-cap, .btl--dropper .btl-neck {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 1px, rgba(255,255,255,.08) 1px 2px, transparent 2px 4px),
    linear-gradient(90deg, #5a4416, #d9b964 22%, #fff1bf 34%, #e0bf6a 46%, #a7822e 70%, #4a370f);
}
.btl--glass .btl-cap { border-radius: 5px 5px 2px 2px; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 2px 0 rgba(0,0,0,.25); }
.btl--white .btl-cap { box-shadow: inset 0 -4px 0 rgba(0,0,0,.07), inset 0 3px 0 rgba(255,255,255,.9), 0 2px 0 rgba(0,0,0,.08); }
.btl--dropper .btl-cap { box-shadow: inset -3px 0 6px rgba(255,255,255,.12); }

/* pouches: fuller shape, crisp side seams and a bottom gusset line */
.pouch { border-radius: 8px 8px 22px 22px / 8px 8px 14px 14px; box-shadow: 0 26px 34px -20px rgba(0,0,0,.5), 0 6px 10px -6px rgba(0,0,0,.3); }
.pouch::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0) 9%, rgba(255,255,255,.3) 20%, rgba(255,255,255,0) 33%, rgba(0,0,0,0) 70%, rgba(255,255,255,.14) 82%, rgba(0,0,0,.38)),
    linear-gradient(180deg, rgba(255,255,255,.2), transparent 25%, transparent 84%, rgba(0,0,0,.08) 88%, rgba(255,255,255,.12) 89%, rgba(0,0,0,.22));
}
.pouch-seal { height: 11%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, rgba(0,0,0,.08) 1px 3px), rgba(255,255,255,.12); }

/* ---------- portfolio: theatre ad shown on a cinema screen (pure CSS auditorium) ---------- */
.theatre-case { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.theatre-info { display: grid; grid-template-columns: minmax(200px, .8fr) 2fr; gap: 12px clamp(20px, 4vw, 48px); align-items: start; }
.theatre-info h3 { font-size: var(--t-xl); }
.theatre-info p { color: var(--ink-2); margin: 0; }
.theatre-info .tags { grid-column: 2; margin: 0; }

.cinema {
  position: relative; aspect-ratio: 16 / 8.6; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: #060304; box-shadow: 0 30px 60px -36px rgba(0,0,0,.7);
}
.cinema-wall {   /* dark auditorium walls with a faint warm wash */
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 50% 34%, rgba(160,60,40,.28), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 2px, transparent 2px 60px),
    linear-gradient(180deg, #120709, #070304 70%);
}
.cinema-screen {
  position: absolute; left: 16%; right: 16%; top: 7%; aspect-ratio: 16 / 9; z-index: 1;
  border-radius: 2px; overflow: hidden; background: #000;
  transform: perspective(1400px) rotateX(3deg);
  box-shadow: 0 0 0 3px #0b0607, 0 0 40px 6px rgba(255,140,80,.22), 0 0 120px 30px rgba(200,60,40,.18);
}
.cinema-screen img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); }
.cinema-screen::after {   /* projector hotspot and soft vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 70% at 50% 45%, rgba(255,255,255,.08), transparent 60%), radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,.35));
}
.cinema-spill {   /* light from the screen falling on the floor */
  position: absolute; left: 8%; right: 8%; top: 52%; height: 40%; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,120,70,.22), transparent 70%);
}
.cinema-curtain {
  position: absolute; top: 0; bottom: 18%; width: 15%; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), transparent 12%, transparent 80%, rgba(0,0,0,.6)),
    repeating-linear-gradient(90deg, #3a050b 0, #7a0f1a 1.4%, #a51a28 2.4%, #6a0b15 3.6%, #2e0408 5%);
}
.cinema-curtain--l { left: 0; box-shadow: 10px 0 30px rgba(0,0,0,.6); border-bottom-right-radius: 40% 12%; }
.cinema-curtain--r { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,.6); border-bottom-left-radius: 40% 12%; }
.cinema-curtain--l::after, .cinema-curtain--r::after {   /* screen light on the inner edge of each curtain */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,120,80,.22));
}
.cinema-curtain--l::after { right: 0; }
.cinema-curtain--r::after { left: 0; transform: scaleX(-1); }
.cinema-haze {   /* projector beam passing over the seats */
  position: absolute; left: 28%; right: 28%; top: 30%; bottom: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(255,255,255,.07), rgba(255,200,170,.02) 70%, transparent);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); filter: blur(6px);
}
.cinema-seats {   /* rows of seat backs, closest row largest, rim-lit by the screen */
  position: absolute; left: -4%; right: -4%; z-index: 3;
  background:
    radial-gradient(48% 70% at 50% 75%, #140a0c 96%, transparent 100%) 0 0 / var(--seat) 100% repeat-x;
  filter: drop-shadow(0 -1px 0 rgba(255,130,90,.35));
}
.cinema-seats--3 { bottom: 15%; height: 9%; --seat: 4.2%; background-position: 1.5% 0; opacity: .85; }
.cinema-seats--2 { bottom: 6%; height: 12%; --seat: 5.6%; background-position: 3% 0; }
.cinema-seats--1 { bottom: -4%; height: 16%; --seat: 7.4%; }
.cinema-seats--1::after {   /* floor */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: #070304;
}
@media (max-width: 760px) {
  .cinema { aspect-ratio: 16 / 10; }
  .cinema-screen { left: 12%; right: 12%; top: 9%; }
  .cinema-curtain { width: 11%; }
  .theatre-info { grid-template-columns: 1fr; }
  .theatre-info .tags { grid-column: auto; }
}
.theatre-info h3 { margin: 6px 0 0; }
.theatre-info .tags { margin: 4px 0 0; }

/* ---------- portfolio: interactive invitation (flip front/back, tilts with the mouse) ---------- */
.invite-stage {
  position: relative; display: grid; justify-items: center; gap: 18px; padding: clamp(28px, 4vw, 44px) 16px 22px;
  border-radius: 18px; perspective: 1600px;
  background: radial-gradient(70% 60% at 50% 30%, #ffffff, #e8f1ea 60%, #d3e4d8);
  box-shadow: 0 0 0 1px var(--line);
}
.invite-card {
  --rx: 0deg; --ry: 0deg;
  width: min(62%, 340px); aspect-ratio: 989 / 1400; padding: 0; border: 0; background: none; cursor: pointer;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .25s ease-out;
}
.invite-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 8px; border-radius: 6px; }
.invite-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4,.2,.2,1); }
.invite-card.is-flipped .invite-inner { transform: rotateY(180deg); }
.invite-face {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 34px 50px -24px rgba(7,40,20,.55), 0 14px 22px -16px rgba(7,40,20,.35);
}
.invite-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.invite-face::after {   /* card sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 38%, transparent 70%, rgba(0,0,0,.08));
}
.invite-face--back { transform: rotateY(180deg); }
.invite-controls { display: inline-flex; padding: 4px; border-radius: 40px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.invite-side { border: 0; background: none; padding: 8px 18px; border-radius: 40px; font: 600 13px var(--f-body); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.invite-side.is-on { background: var(--navy); color: #fff; }
.invite-hint { font-size: 12px; color: var(--ink-2); opacity: .8; }
@media (hover: hover) { .invite-hint::after { content: " or move your mouse over it"; } }
@media (prefers-reduced-motion: reduce) { .invite-inner, .invite-card { transition: none; } }

/* ---------- portfolio: every section is a sideways slider ---------- */
.reel-track.track--1 { --per: 1; }
.reel-track.track--2 { --per: 2; }
.reel-track.track--3 { --per: 3; }
.reel-track.track--4 { --per: 4; }
/* the old grid/flex layouts become slider tracks */
.reel-track.logo-showcase, .reel-track.card-mocks, .reel-track.pack-grid, .reel-track.site-cases {
  display: grid; grid-auto-flow: column; grid-template-columns: none; flex-wrap: nowrap; justify-content: start; max-width: none; margin-left: 0; margin-right: 0;
}
.reel-track > * { scroll-snap-align: start; min-width: 0; flex: none; }
/* room for hover lifts and shadows inside the scroll area */
.reel-track { padding: 10px 2px 30px; margin: -10px -2px -30px; }
.work-group .slider-dots { margin-top: 18px; }
.slider-static .slider-nav { display: none; }
.work-group + .work-group { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 1100px) {
  .reel-track.track--4 { --per: 3; }
  .reel-track.track--3 { --per: 2.2; }
}
@media (max-width: 760px) {
  .reel-track.track--4 { --per: 2.2; }
  .reel-track.track--3, .reel-track.track--2 { --per: 1.3; }
}
@media (max-width: 480px) {
  .reel-track.track--4 { --per: 1.6; }
  .reel-track.track--3, .reel-track.track--2 { --per: 1.15; }
}

/* ---------- header: Services mega menu + call block ---------- */

@media (min-width: 961px) {
  .site-header .wrap { position: relative; }
  .nav-item.has-mega { position: static; }
  .mega {
    left: 0; right: 0; top: calc(100% - 6px); min-width: 0; padding: 0; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1.45fr 1.05fr; border-radius: 16px;
  }
  .mega::before { top: -18px; height: 18px; }
  .mega .nav-h { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
  .mega-col { padding: 30px 28px 32px; }
  .mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .submenu.mega .mega-list a { display: inline-block; padding: 7px 0; font-weight: 500; color: var(--ink-2); border-radius: 0; background: none; transition: color .15s, transform .2s var(--ease); }
  .submenu.mega .mega-list a:hover { color: var(--blue); transform: translateX(3px); background: none; }
  .mega-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .submenu.mega .mega-cards a {
    display: grid; align-content: space-between; justify-items: start; gap: 18px; min-height: 104px; padding: 16px;
    border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; color: var(--ink); background: #fff;
    transition: box-shadow .2s, transform .2s var(--ease);
  }
  .submenu.mega .mega-cards a:hover { box-shadow: inset 0 0 0 1.5px var(--blue), 0 12px 24px -16px rgba(22,119,255,.5); transform: translateY(-2px); background: #fff; }
  .mega-cards .ico { width: 38px; height: 38px; border-radius: 10px; }
  .mega-side { position: relative; padding: 30px 28px 32px 40px; background: var(--paper); }
  .mega-target { position: absolute; left: -34px; top: 22px; width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--paper); }
  .mega-target svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; }
  .mega-target .dot { fill: var(--blue); stroke: var(--blue); }
  .mega-side .nav-h { margin-left: 18px; }
  .mega-industries { list-style: none; margin: 0 0 14px 18px; padding: 0; display: grid; gap: 10px; font-size: var(--t-sm); color: var(--ink-2); }
  .submenu.mega .mega-all { display: inline-block; margin-left: 18px; padding: 0; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; background: none; }
  .submenu.mega .mega-all:hover { background: none; color: var(--navy); }
  /* over the dark home hero */
}
@media (min-width: 961px) and (max-width: 1160px) {
}
@media (max-width: 960px) {
  .mega .mega-col--cards, .mega .mega-side, .mega .nav-h { display: none; }
  .mega-col { padding: 0; }
  .mega-list { list-style: none; margin: 0; padding: 0; }
  .submenu.mega .mega-list a { padding: 10px 12px; }
}

/* Portfolio mega menu: featured project cards with thumbnails */
@media (min-width: 961px) {
  .submenu.mega .mega-cards--work a {
    grid-template-columns: 64px 1fr; align-items: center; align-content: center; gap: 12px; min-height: 0; padding: 10px;
  }
  .mega-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  .mega-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s var(--ease); }
  .submenu.mega .mega-cards--work a:hover .mega-thumb img { transform: scale(1.08); }
  .mega-cards--work small { display: block; font-size: 11px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
  .mega-target .star { fill: var(--blue); stroke: var(--navy); stroke-linejoin: round; }
  .mega-list { gap: 0; }
}
@media (max-width: 960px) {
  .mega-thumb { display: none; }
}

/* ---------- phone menu: short, with tap-to-open Services and Portfolio ---------- */
.sub-toggle { display: none; }
@media (max-width: 960px) {
  .nav { padding-top: 8px; padding-bottom: 18px; }
  .nav > a, .nav-item > a { padding: 11px 8px; font-size: 16px; }
  .nav-item.has-mega { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .sub-toggle {
    display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .sub-toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
  .nav-item.is-expanded .sub-toggle { background: var(--blue-soft); color: var(--blue); }
  .nav-item.is-expanded .sub-toggle svg { transform: rotate(180deg); }
  .nav-item.has-mega .submenu.mega { display: none; grid-column: 1 / -1; padding: 2px 0 8px 8px; }
  .nav-item.has-mega.is-expanded .submenu.mega { display: block; }
  .submenu.mega .mega-list a { padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
  .nav .btn { margin-top: 10px; }
}

/* ---------- portfolio: CRM dashboard on a laptop (pure CSS device) ---------- */
.crm-case { grid-template-columns: 1.6fr 1fr; }
.laptop-scene {
  display: grid; place-items: center; padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 40px) clamp(34px, 4.5vw, 58px); border-radius: 18px;
  background: radial-gradient(70% 70% at 50% 30%, #ffffff, #fbeedd 55%, #f3dcc0);   /* warm, picks up the CRM's orange */
  box-shadow: 0 0 0 1px var(--line);
}
.laptop { width: 100%; max-width: 760px; transition: transform .5s var(--ease); }
.laptop-lid {
  position: relative; display: block; margin: 0 7%; padding: 2.4% 2.4% 3%; border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, #2b2d33, #121317); box-shadow: inset 0 0 0 1.5px #3a3c43, 0 0 0 1px #0b0b0d;
}
.laptop-cam { position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c3140; box-shadow: inset 0 0 0 1px #474d5e; }
.laptop-screen { position: relative; display: block; overflow: hidden; border-radius: 3px; background: #fff; aspect-ratio: 1600 / 832; }
.laptop-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.laptop-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.22), transparent 34%); }
.laptop-base {
  position: relative; display: block; height: 0; padding-bottom: 3.2%; border-radius: 3px 3px 18px 18px / 3px 3px 60% 60%;
  background: linear-gradient(180deg, #e7e9ee, #b9bdc6 55%, #8d929d);
  box-shadow: 0 26px 30px -18px rgba(60,35,10,.55), 0 2px 0 #7b808b;
}
.laptop-notch { position: absolute; left: 50%; top: 0; width: 15%; height: 40%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #a9adb6, #c9ccd3); }
.crm-case:hover .laptop { transform: translateY(-4px); }
@media (max-width: 860px) { .crm-case { grid-template-columns: 1fr; } }
.slider-dots[hidden] { display: none; }   /* one screen of work: no dots */

/* flip-card mockups reused for the brochure and the business cards */
.invite-stage--brochure { background: radial-gradient(70% 60% at 50% 30%, #ffffff, #e7ecf6 60%, #d2dbec); }
.invite-stage--card { background: radial-gradient(70% 60% at 50% 30%, #ffffff, #e9ecf2 60%, #d6dce6); padding-top: clamp(36px, 5vw, 60px); }
.invite-stage--card .invite-card { width: min(84%, 440px); aspect-ratio: 900 / 530; }
.invite-stage--card .invite-face { border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.15), 0 30px 40px -22px rgba(7,20,66,.55), 0 10px 18px -12px rgba(7,20,66,.35); }
.card-mock figcaption { margin-top: 12px; }

/* ---------- portfolio: page-flip catalogue booklet ---------- */
.catalogue-case { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.book-stage {
  display: grid; justify-items: center; gap: 18px; padding: clamp(30px, 4vw, 56px) clamp(12px, 3vw, 40px) 22px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 25%, #ffffff, #f1efe8 55%, #e2ddd0);
  box-shadow: 0 0 0 1px var(--line);
}
.book { position: relative; width: min(100%, 880px); aspect-ratio: 1190 / 842; perspective: 2600px; transition: transform .7s var(--ease); }
.book.at-start { transform: translateX(-25%); }   /* closed: centre the cover */
.book.at-end { transform: translateX(25%); }      /* finished: centre the back cover */
.book::before {   /* soft shadow the book casts on the table */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -5%; height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,30,10,.32), transparent); filter: blur(4px);
}
.leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.45,.05,.2,1); cursor: pointer;
}
.leaf.is-flipped { transform: rotateY(-180deg); }
.leaf-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.leaf-face--front { border-radius: 0 4px 4px 0; box-shadow: 0 10px 24px -14px rgba(40,30,10,.45); }
.leaf-face--back { transform: rotateY(180deg); border-radius: 4px 0 0 4px; box-shadow: 0 10px 24px -14px rgba(40,30,10,.45); }
.pg { position: absolute; inset: 0; display: block; }
.pg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg--blank { background: linear-gradient(135deg, #f7f5ef, #ece8dd); }
.leaf-face--front .pg::after, .leaf-face--back .pg::after {   /* gutter shading where the pages meet the spine */
  content: ""; position: absolute; top: 0; bottom: 0; width: 9%; pointer-events: none;
}
.leaf-face--front .pg::after { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), transparent); }
.leaf-face--back .pg::after { right: 0; background: linear-gradient(270deg, rgba(0,0,0,.22), transparent); }
.leaf:first-child .leaf-face--front .pg::after { display: none; }   /* the cover has no gutter */
.pg-lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 40px; background: rgba(7,20,66,.86); color: #fff; font: 600 clamp(10px, 1.2vw, 13px)/1.2 var(--f-body); white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(7,20,66,.6);
}
.pg-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.book-controls { display: inline-flex; align-items: center; gap: 14px; }
.book-count { min-width: 120px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 640px) {
  .pg-lock { padding: 6px 8px; gap: 4px; }
  .pg-lock svg { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .leaf, .book { transition: none; } }
@media (min-width: 961px) {
  .mega-cards--work { grid-auto-rows: 1fr; }
  .submenu.mega .mega-cards--work a { padding: 9px; }
  .mega-cards--work .mega-thumb { width: 58px; height: 58px; }
}

/* breathing room between each portfolio heading, its intro line and the work below */
.work-group .slider-head { margin-bottom: clamp(20px, 2.4vw, 30px); }
.work-group .slider-head .work-sub { line-height: 1.15; padding-bottom: 4px; margin-top: 0; }
.work-group .reel-slider { margin-top: 0; }
.work-group .work-intro { margin: calc(-1 * clamp(8px, 1vw, 12px)) 0 clamp(20px, 2.4vw, 28px); }

/* home: client reviews as a sideways slider */
.reviews-head { margin-bottom: clamp(24px, 3vw, 40px); }
.reviews-head h2 { font-size: var(--t-2xl); }
.reel-track.reviews { display: grid; grid-auto-flow: column; grid-template-columns: none; align-items: stretch; }
.reviews .review { display: flex; flex-direction: column; height: 100%; }
.reviews .review blockquote { flex: 1; }
.reviews .review--lead { grid-row: auto; }
.reviews ~ .slider-dots, .reel-slider:has(.reviews) .slider-dots { margin-top: 18px; }
.reel-slider:has(.reviews) + .rating { margin-top: 28px; }

/* ---------- home: Google reviews (summary + review cards) ---------- */
.greviews-title { font-size: var(--t-2xl); margin-bottom: clamp(24px, 3vw, 40px); }
.greviews { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.g-summary { display: grid; justify-items: center; gap: 6px; text-align: center; }
.g-word { font: 800 26px/1 var(--f-display); letter-spacing: .02em; color: var(--ink); }
.g-stars { color: #fbbc04; letter-spacing: 1px; font-size: 18px; line-height: 1; }
.g-stars--big { font-size: 34px; letter-spacing: 2px; }
.g-based { font-size: 16px; color: var(--ink); }
.g-wordmark { font: 600 38px/1.1 "Product Sans", var(--f-body); letter-spacing: -.02em; }
.g-wordmark i { font-style: normal; }
.g-wordmark i:nth-child(1), .g-wordmark i:nth-child(4) { color: #4285f4; }
.g-wordmark i:nth-child(2), .g-wordmark i:nth-child(6) { color: #ea4335; }
.g-wordmark i:nth-child(3) { color: #fbbc05; }
.g-wordmark i:nth-child(5) { color: #34a853; }
.g-write { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }

.g-track-wrap { position: relative; }
.g-track { align-items: stretch; }
.g-review { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; border-radius: 14px; background: #f1f3f4; min-height: 230px; }
.g-review header { display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center; }
.g-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--c, #1a73e8); color: #fff; font: 600 19px var(--f-body); }
.g-avatar img { width: 100%; height: 100%; object-fit: cover; }
.g-who { min-width: 0; }
.g-who b { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-who small { font-size: 13px; color: var(--ink-2); }
.g-logo { width: 22px; height: 22px; }
.g-rate { display: flex; align-items: center; gap: 6px; }
.g-verified { width: 17px; height: 17px; }
.g-review blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.g-review.is-open blockquote { -webkit-line-clamp: unset; display: block; }
.g-more { align-self: start; border: 0; background: none; padding: 0; font: 500 14px var(--f-body); color: var(--ink-2); cursor: pointer; }
.g-more:hover { color: var(--blue); }
.g-arrow { position: absolute; top: 50%; transform: translateY(-80%); z-index: 2; width: 40px; height: 40px; box-shadow: 0 6px 16px -6px rgba(7,20,66,.35); }
.g-arrow--prev { left: -16px; }
.g-arrow--next { right: -16px; }
.g-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .reel-track.g-track { --per: 2; } }
@media (max-width: 860px) {
  .greviews { grid-template-columns: 1fr; }
  .g-summary { grid-auto-flow: row; }
}
@media (max-width: 560px) {
  .reel-track.g-track { --per: 1.1; }
  .g-arrow { display: none; }
}

/* review arrows sit under the cards, either side of the dots, so they never cover review text */
.g-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.g-controls .slider-dots { margin-top: 0; }
.g-arrow { position: static; transform: none; width: 42px; height: 42px; box-shadow: none; }
.g-arrow:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 560px) { .g-arrow { display: grid; } }

/* phone shown in front of the laptop (Aadhi Sankar CRM slide) */
.laptop-scene { position: relative; }
.laptop-scene:has(.phone) .laptop { margin-right: 12%; }
.phone {
  position: absolute; right: 5%; bottom: 9%; z-index: 2; width: 21%; max-width: 170px; aspect-ratio: 445 / 900;
  padding: 2.2% 1.6%; border-radius: 22px; background: linear-gradient(160deg, #2b2d33, #0d0e11);
  box-shadow: inset 0 0 0 1.5px #44474f, 0 30px 40px -20px rgba(60,35,10,.6), 0 8px 16px -8px rgba(0,0,0,.35);
  transition: transform .5s var(--ease);
}
.phone::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 20px; background: #0b0b0d; z-index: 1; }
.phone-screen { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: #fff; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crm-case:hover .phone { transform: translateY(-8px) rotate(-1deg); }
@media (max-width: 560px) { .phone { border-radius: 14px; } .phone-screen { border-radius: 10px; } }

/* ---------- portfolio: new packaging tiles ---------- */
.pack-photo { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #e9f3f1; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(7,20,66,.45); }
.pack-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pack-card:hover .pack-photo img { transform: scale(1.04); }
.pack-photo--flat { display: grid; place-items: center; padding: 10%; background: radial-gradient(70% 60% at 50% 35%, #ffffff, #f4ece6 60%, #e8dcd2); }
.pack-photo--flat img { height: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(80,40,10,.25)); }
.invite-stage--label { aspect-ratio: 1; align-content: center; padding: 6% 6% 4%; gap: 10px; background: radial-gradient(70% 60% at 50% 30%, #ffffff, #f3ebe2 60%, #e3d4c4); }
.invite-stage--label .invite-card { width: 50%; aspect-ratio: 1000 / 1352; }

/* paint bucket with a wrap-around label */
.bucket { position: relative; z-index: 1; width: 52%; display: flex; flex-direction: column; align-items: center; transition: transform .5s var(--ease); }
.bucket-handle { position: absolute; top: -9%; left: 8%; right: 8%; height: 30%; border: 3px solid #9aa3b2; border-bottom: 0; border-radius: 50% 50% 0 0 / 70% 70% 0 0; }
.bucket-lid { display: block; width: 104%; height: 0; padding-bottom: 9%; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #9ea6b3, #f4f6f9 30%, #e1e5eb 60%, #8d95a3); box-shadow: 0 2px 0 rgba(0,0,0,.12); position: relative; z-index: 1; }
.bucket-body { position: relative; display: block; width: 100%; padding: 6% 0 8%; overflow: hidden; clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); background: linear-gradient(90deg, #c5ccd6, #ffffff 30%, #eef1f5 60%, #b8c0cc); }
.bucket-label { display: block; width: 100%; aspect-ratio: 666 / 710; background: var(--img) 50% 50% / 300% 100% no-repeat; }
.bucket-body::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 14%, rgba(255,255,255,.28) 28%, transparent 42%, transparent 68%, rgba(0,0,0,.14) 86%, rgba(0,0,0,.4)); }
.pack-card:hover .bucket { transform: translateY(-4px); }

/* ---------- ads: banner on a café's digital screen ---------- */
.cafe { position: relative; aspect-ratio: 16 / 8.6; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: #3a2b22; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); }
.cafe-wall { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 35%, rgba(255,214,160,.35), transparent 70%),
  repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 34px),
  repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 72px),
  linear-gradient(180deg, #7a5a44, #5a3f2e 70%, #3b281d); }
.cafe-screen { position: relative; z-index: 1; width: 68%; aspect-ratio: 2 / 1; border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 7px #111, 0 0 0 8px #2b2b2b, 0 30px 50px -20px rgba(0,0,0,.7), 0 0 80px 10px rgba(80,200,120,.18); transform: translateY(-6%); }
.cafe-screen img { width: 100%; height: 100%; object-fit: cover; }
.cafe-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 35%); }
.cafe-shelf { position: absolute; left: 10%; right: 10%; bottom: 10%; height: 4%; border-radius: 3px; background: linear-gradient(180deg, #a77b55, #6d4a31); box-shadow: 0 12px 20px -8px rgba(0,0,0,.6); }

/* booklets inside sliders: sideways swipes turn pages instead of scrolling the slider */
.book { touch-action: pan-y; }

/* dito label flips shown as spout pouches: cap and spout on top, heat-sealed edges, soft pouch sheen */
.invite-stage--label { padding-top: 13%; }
.invite-stage--label .invite-card { width: 48%; position: relative; }
.invite-stage--label .invite-card::before {   /* spout + screw cap */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 22%; aspect-ratio: 1 / 1.05; transform: translate(-50%, 4%); z-index: 3;
  border-radius: 6px 6px 3px 3px;
  background:
    linear-gradient(180deg, transparent 62%, #d9dde3 62% 70%, #f4f6f8 70%),
    repeating-linear-gradient(90deg, #e6e9ed 0 3px, #ffffff 3px 6px);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.25);
}
.invite-stage--label .invite-face { border-radius: 10px 10px 14px 14px; }
.invite-stage--label .invite-face::after {    /* pouch sheen and sealed top/side edges */
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 8%, rgba(255,255,255,.22) 20%, rgba(255,255,255,0) 34%, rgba(0,0,0,0) 70%, rgba(255,255,255,.12) 84%, rgba(0,0,0,.3)),
    linear-gradient(180deg, rgba(255,255,255,.35) 0 2.2%, rgba(0,0,0,.12) 2.2% 2.8%, transparent 2.8% 94%, rgba(0,0,0,.18));
}
.dito-case .invite-stage--brochure .invite-card { width: min(56%, 320px); }
.cup-scene { padding: 0; display: block; }
.cup-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* portfolio sliders: arrows under the slides, either side of the dots */
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.slider-controls .slider-dots { margin-top: 0; }
.slider-controls .slider-dots[hidden] { display: none; }
.slider-static .slider-controls { display: none; }
@media (max-width: 760px) { .slider-controls { gap: 8px; } }

/* audit: bigger touch areas without changing the look */
.wm-pin::after { content: ""; position: absolute; inset: -12px -10px -6px; }   /* map pins: about 40px to tap */
.socials a { min-width: 40px; min-height: 40px; }
.g-write { display: inline-block; padding: 8px 0; }
.text-link { display: inline-block; padding-top: 6px; }

/* team: on tablets and phones, swipe sideways one person at a time */
@media (max-width: 860px) {
  .team { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; max-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .team::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 min(72%, 300px); scroll-snap-align: start; }
}
.team:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 14px; }

/* one consistent text alignment on every screen size. Everything starts at the left edge,
   and paragraphs run edge to edge (hyphenated so there are no big gaps) */
@media all {
  .world-head { text-align: left; justify-items: start; margin-left: 0; }
  .world-head p { max-width: 640px; }
  .tech-side { text-align: left; justify-items: start; }
  main p:not(.crumbs):not(.kicker):not(.sp-statement):not(.pv-desc):not(.lead) {
    text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; word-spacing: -0.02em;
  }
  main .g-card p, main .g-summary p, main .pf-meta p, main .desk p, main .numbers p { text-align: left; hyphens: manual; }
}

/* ---------- policy pages (privacy, terms, refund) ---------- */
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 4px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.legal-nav a { padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.legal-nav a:hover { background: var(--paper); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.legal { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal-updated { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 30px; background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.legal h2 { font-size: var(--t-lg); color: var(--ink); margin: 40px 0 12px; scroll-margin-top: calc(var(--header) + 20px); }
.legal h3 { font-size: 17px; color: var(--ink); margin: 20px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.legal b { color: var(--ink); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { font-style: normal; display: grid; gap: 2px; padding: 20px 22px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.8; }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; }
  .legal-nav a { white-space: nowrap; padding: 10px 14px; }
  .legal { font-size: 16px; }
}

/* about page opening line: big display text, words light up as you scroll */
.story .lead { text-align: left; hyphens: manual; word-spacing: normal; text-wrap: balance; max-width: 22ch; }
.story .lead em { font-style: inherit; color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 94% / 0 2px no-repeat; transition: background-size .9s var(--ease); }
.story .lead em.is-on { background-size: 100% 2px; }
.rw-ready .rw { opacity: .16; transition: opacity .45s ease; }
.rw-ready .rw.is-lit { opacity: 1; }
@media (max-width: 760px) { .story .lead { max-width: none; } }
.story .lead em { white-space: nowrap; }   /* keep "Anandbabu S" and "one mission" on one line */



/* ---------- About hero: HUNGRYBYTE turns into H Byte, pixel by pixel ---------- */
.hx { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 64px);
  background:
    radial-gradient(60% 70% at 50% 62%, rgba(22,119,255,.32), transparent 70%),
    radial-gradient(40% 50% at 85% 10%, rgba(120,90,255,.18), transparent 70%),
    linear-gradient(180deg, #050b24 0%, #071442 100%); }
.hx::before {   /* faint pixel grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px; background-position: center;
  -webkit-mask: radial-gradient(70% 80% at 50% 55%, #000 30%, transparent 85%); mask: radial-gradient(70% 80% at 50% 55%, #000 30%, transparent 85%); }
.hx .crumbs, .hx .crumbs a { color: rgba(255,255,255,.7); }
.hx-head { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.hx-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  font: 700 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #cfe0ff; }
.hx-kicker i { width: 7px; height: 7px; border-radius: 2px; background: #4d94ff; box-shadow: 0 0 10px #4d94ff; animation: hx-blink 1.2s steps(2) infinite; }
.hx h1 { margin: 18px 0 14px; font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.hx h1 span { background: linear-gradient(90deg, #4d94ff, #9fc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-head p { text-align: center !important; text-align-last: center !important; max-width: 60ch; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; margin: 0; }

.hx-stage { position: relative; height: clamp(240px, 34vw, 440px); margin-top: clamp(12px, 2vw, 24px); cursor: crosshair; touch-action: pan-y; }
.hx-stage canvas { display: block; filter: drop-shadow(0 0 14px rgba(77,148,255,.35)); }
.hx-caption { position: absolute; left: 50%; bottom: 4px; translate: -50% 0; display: grid; place-items: center; white-space: nowrap;
  font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.hx-cap { grid-area: 1 / 1; display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 30px; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.hx-cap b { color: #4d94ff; font-weight: 700; }
.hx.is-old .hx-cap--old, .hx.is-new .hx-cap--new { opacity: 1; transform: none; }
.hx-replay { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 8px 12px; border-radius: 30px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #cfe0ff; font: 600 13px var(--f-body); opacity: 0; pointer-events: none; transition: opacity .6s, background .2s; }
.hx-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hx-replay:hover { background: rgba(255,255,255,.16); }
.hx.is-done .hx-replay { opacity: 1; pointer-events: auto; }
@keyframes hx-blink { 50% { opacity: .2; } }
@media (max-width: 640px) {
  .hx-caption { font-size: 11px; bottom: 42px; }
  .hx-replay { left: 50%; right: auto; translate: -50% 0; }
  .hx-stage { height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .hx-kicker i { animation: none; } .hx-cap { transition: none; } }
/* logo animation on top, the words underneath */
.hx-stage { margin-top: 0; }
.hx-head { margin-top: clamp(20px, 3vw, 36px); }

/* ---------- About: "How it started" with founder card and journey cards ---------- */
.story-sec { position: relative; overflow: hidden; }
.story-sec::before { content: ""; position: absolute; right: -10%; top: 10%; width: 46vw; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(22,119,255,.08), transparent 70%); pointer-events: none; }
.story { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.story-left { position: sticky; top: calc(var(--header) + 32px); display: grid; gap: 22px; align-content: start; }
.story-kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.story-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.founder-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; justify-self: start; padding: 10px 18px 10px 10px; border-radius: 18px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -22px rgba(7,20,66,.35); }
.founder-card img { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: top; }
.founder-card b { display: block; font: 700 16px var(--f-body); color: var(--ink); }
.founder-card div span { font-size: 13.5px; color: var(--ink-2); }
.founder-est { grid-column: 2; justify-self: start; margin-top: 2px; padding: 3px 9px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); font: 700 11.5px var(--f-body); }

.journey { --fill: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 0; display: grid; gap: 18px; }
.journey::before, .journey::after { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; }
.journey::before { background: var(--line); }
.journey::after { background: linear-gradient(var(--blue), #6aa8ff); transform-origin: top; transform: scaleY(var(--fill)); }
.jr-card { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 24px 22px 0;
  opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .8s var(--ease); }
.jr-card.is-in { opacity: 1; transform: none; }
.jr-card:nth-child(2) { transition-delay: .12s; } .jr-card:nth-child(3) { transition-delay: .24s; }
.jr-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--blue);
  box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(7,20,66,.4); transition: transform .4s var(--ease), background .3s, color .3s; }
.jr-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jr-body { padding: 18px 22px 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.jr-card:hover .jr-body { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(22,119,255,.35), 0 24px 40px -26px rgba(22,119,255,.55); }
.jr-card:hover .jr-icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.jr-body h3 { font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; }
.jr-num { color: var(--blue); font-variant-numeric: tabular-nums; }
.jr-body p { margin: 0; color: var(--ink-2); line-height: 1.6; text-align: left !important; hyphens: manual !important; }
.jr-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jr-tags li { padding: 5px 11px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 12.5px var(--f-body); color: var(--ink-2); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-left { position: static; }
  .jr-card { grid-template-columns: 48px 1fr; gap: 12px; padding-right: 0; }
  .jr-icon { width: 48px; height: 48px; border-radius: 14px; }
  .jr-icon svg { width: 22px; height: 22px; }
  .journey::before, .journey::after { left: 23px; }
  .jr-body { padding: 16px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .jr-card { opacity: 1; transform: none; transition: none; } .journey { --fill: 1; } }

/* "How it started": short headline over a big outlined 2019 */
.story-left { isolation: isolate; padding-top: clamp(30px, 4vw, 56px); }
.story-year { position: absolute; left: -6px; top: -10px; z-index: -1; pointer-events: none; user-select: none;
  font: 800 clamp(120px, 15vw, 230px)/0.9 var(--f-display); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(22,119,255,.22);
  background: linear-gradient(90deg, rgba(22,119,255,.12), rgba(22,119,255,.04)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease); }
.story-left.is-in .story-year { background-size: 100% 100%; }
.story-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); margin: 0; }
.story-title em { font-style: italic; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 92% / 0 3px no-repeat; transition: background-size 1s .5s var(--ease); }
.story-left.is-in .story-title em { background-size: 100% 3px; }
.story-sub { max-width: 40ch; margin: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); text-align: left !important; hyphens: manual !important; }
.story-sub b { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .story-year { font-size: 32vw; top: -6px; } }
@media (prefers-reduced-motion: reduce) { .story-year { background-size: 100% 100%; transition: none; } .story-title em { background-size: 100% 3px; transition: none; } }

/* ---------- About FAQ: intro + help card on the left, numbered question cards on the right ---------- */
.faq-sec { position: relative; overflow: hidden; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header) + 32px); isolation: isolate; display: grid; gap: 16px; padding-top: 20px; }
.faq-mark { position: absolute; right: 4%; top: -40px; z-index: -1; font: 800 clamp(180px, 20vw, 300px)/1 var(--f-display); color: transparent;
  -webkit-text-stroke: 1.5px rgba(22,119,255,.18); transform: rotate(12deg); pointer-events: none; user-select: none; }
.faq-intro h2 { font-size: var(--t-2xl); margin: 0; }
.faq-intro h2 em { font-style: italic; color: var(--blue); }
.faq-intro > p { margin: 0; max-width: 38ch; color: var(--ink-2); font-size: 17px; text-align: left !important; hyphens: manual !important; }
.faq-help { margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 14px 14px; align-items: center; padding: 20px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(22,119,255,.55), transparent 55%), var(--navy); box-shadow: 0 24px 40px -26px rgba(7,20,66,.7); }
.faq-help-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.faq-help-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.faq-help b { display: block; font: 700 16.5px var(--f-body); }
.faq-help div span { font-size: 13.5px; color: rgba(255,255,255,.72); }
.faq-help-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.faq-btn { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; font: 700 14px var(--f-body); text-decoration: none; background: #fff; color: var(--navy); transition: transform .2s, background .2s; }
.faq-btn:hover { transform: translateY(-2px); }
.faq-btn--wa { background: #25d366; color: #fff; }

.faq-list { display: grid; gap: 12px; }
.faq-item { position: relative; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow .3s, transform .3s var(--ease); }
.faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(22,119,255,.3), 0 18px 34px -24px rgba(7,20,66,.4); }
.faq-item[open] { box-shadow: 0 0 0 1.5px rgba(22,119,255,.5), 0 24px 44px -28px rgba(22,119,255,.55); }
.faq-item[open]::before { transform: none; }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 36px; gap: 16px; align-items: center; padding: 20px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: 18px; }
.faq-n { display: grid; place-items: center; height: 36px; border-radius: 10px; background: var(--paper); color: var(--ink-2); font: 700 13px ui-monospace, Menlo, monospace; transition: background .3s, color .3s; }
.faq-item[open] .faq-n, .faq-item:hover .faq-n { background: var(--blue); color: #fff; }
.faq-q { font-family: var(--f-display); font-weight: 600; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.35; color: var(--ink); }
.faq-plus { position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: background .3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--blue); box-shadow: none; }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 22px 22px 82px; color: var(--ink-2); line-height: 1.65; text-align: left !important; hyphens: manual !important; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-mark { top: -20px; right: 0; font-size: 180px; }
  .faq-item summary { grid-template-columns: 36px 1fr 32px; gap: 12px; padding: 16px; }
  .faq-n { height: 32px; }
  .faq-plus { width: 32px; height: 32px; }
  .faq-a p { padding: 0 16px 18px 64px; }
}
@media (max-width: 480px) { .faq-a p { padding-left: 16px; } }

/* ---------- About: industries as icon cards ---------- */
.ind-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: clamp(24px, 3vw, 36px); }
.ind-head h2 { font-size: var(--t-2xl); margin: 0; }
.ind-head h2 em { font-style: italic; color: var(--blue); }
.ind-head p { margin: 0; color: var(--ink-2); font-size: 17px; text-align: left !important; hyphens: manual !important; }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ind-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 18px 22px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px var(--line); cursor: default;
  opacity: 0; transform: translateY(18px); transition: opacity .6s calc(var(--i) * 60ms), transform .7s calc(var(--i) * 60ms) var(--ease), box-shadow .3s; }
.ind-grid.is-in .ind-card { opacity: 1; transform: none; }
.ind-grid.is-in .ind-card:hover { transform: translateY(-4px); transition-delay: 0s; box-shadow: 0 0 0 1px rgba(22,119,255,.35), 0 20px 34px -24px rgba(22,119,255,.6); }
.ind-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background .3s, color .3s, transform .4s var(--ease); }
.ind-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind-card:hover .ind-ico { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.ind-card b { font: 600 15.5px/1.3 var(--f-display); color: var(--ink); }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ind-card { flex-direction: row; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; min-height: 64px; }
  .ind-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; }
  .ind-ico svg { width: 20px; height: 20px; }
  .ind-card b { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .ind-card { opacity: 1; transform: none; transition: none; } }
/* 9 industries: a balanced 3 x 3 grid on desktop, icon beside the name */
.ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ind-card { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
@media (max-width: 760px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-card { gap: 10px; padding: 12px; }
  .ind-card:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* the 9th card spans the full row */
}

/* ================= Home page: creative sections ================= */
h2 em { font-style: italic; color: var(--blue); }
.section-head .story-kicker { margin-bottom: 12px; }

/* --- intro: before/after hub --- */
.intro { align-items: center; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.intro-copy { display: grid; gap: 16px; justify-items: start; }
.intro-copy h2 { font-size: var(--t-2xl); margin: 0; }
.intro-copy p { margin: 0; color: var(--ink-2); max-width: 46ch; text-align: left !important; hyphens: manual !important; }
.intro-copy .text-link { margin-top: 6px; }
.hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.hub-card { position: relative; display: grid; gap: 10px; padding: 16px 16px 18px; border-radius: 22px; }
.hub-card--before { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hub-card--after { background: #fff; box-shadow: 0 0 0 1.5px rgba(22,119,255,.45), 0 30px 50px -30px rgba(22,119,255,.6); }
.hub-label { justify-self: start; padding: 5px 11px; border-radius: 20px; font: 700 11.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: var(--paper); color: var(--ink-2); }
.hub-card--after .hub-label { background: var(--blue); color: #fff; }
.hub-card > p { margin: 0; text-align: center !important; font: 600 13.5px var(--f-body); color: var(--ink-2); }
.hub-card--after > p { color: var(--blue); }
.hub-stage { position: relative; aspect-ratio: 1 / .9; border-radius: 16px; background-image: radial-gradient(rgba(7,20,66,.08) 1px, transparent 1px); background-size: 14px 14px; }
.hub-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-tangle path { fill: none; stroke: #e5484d; stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.hub-links circle, .hub-links path { fill: none; stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hub-links circle { stroke-opacity: .25; stroke-dasharray: 4 6; }
.hub-links path { stroke-dasharray: 4 5; animation: hub-flow 1.2s linear infinite; opacity: 0; transition: opacity .6s .9s; }
.hub.is-in .hub-links path { opacity: .7; }
@keyframes hub-flow { to { stroke-dashoffset: -18; } }
.hub-chip { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; white-space: nowrap; padding: 7px 12px; border-radius: 12px;
  font: 700 12.5px var(--f-body); background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 0 8px 16px -10px rgba(7,20,66,.35); rotate: var(--r); }
.hub-card--after .hub-chip { color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 1px rgba(22,119,255,.25);
  rotate: var(--r); transform: translate(var(--sx), var(--sy)); transition: transform .9s calc(var(--i) * 90ms + .2s) var(--ease), rotate .9s calc(var(--i) * 90ms + .2s) var(--ease); }
.hub.is-in .hub-card--after .hub-chip { transform: none; rotate: 0deg; }
.hub-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 26%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center;
  background: var(--navy); box-shadow: 0 0 0 6px rgba(22,119,255,.12), 0 14px 26px -12px rgba(7,20,66,.6); animation: hub-pulse 2.6s ease-in-out infinite; }
.hub-core img { width: 70%; height: auto; }
@keyframes hub-pulse { 50% { box-shadow: 0 0 0 14px rgba(22,119,255,.06), 0 14px 26px -12px rgba(7,20,66,.6); } }
.hub-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(22,119,255,.8); }
.hub-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; justify-items: center; }
  .hub-card { width: min(100%, 360px); }
  .hub-arrow { rotate: 90deg; }
}

/* --- services: numbered cards with a spotlight that follows the mouse --- */
.svc-card { position: relative; overflow: hidden; isolation: isolate; --mx: 50%; --my: 0%; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(22,119,255,.12), transparent 60%); }
.svc-card:hover::before { opacity: 1; }
.svc-n { position: absolute; right: 22px; top: 14px; font: 800 clamp(44px, 4vw, 64px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px rgba(22,119,255,.22);
  letter-spacing: -0.04em; transition: -webkit-text-stroke-color .3s, transform .4s var(--ease); pointer-events: none; }
.svc-card:hover .svc-n { -webkit-text-stroke-color: rgba(22,119,255,.55); transform: translateY(-3px); }
.svc-card .ico { transition: transform .4s var(--ease), box-shadow .3s; }
.svc-card:hover .ico { transform: rotate(-6deg) scale(1.06); }
.svc-card .more::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.svc-card:hover .more::after { transform: translateX(5px); }
.svc-cards[data-reveal] .svc-card { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .7s var(--ease), box-shadow .3s; }
.svc-cards[data-reveal] .svc-card:nth-child(2) { transition-delay: .08s; } .svc-cards[data-reveal] .svc-card:nth-child(3) { transition-delay: .16s; }
.svc-cards[data-reveal] .svc-card:nth-child(4) { transition-delay: .24s; } .svc-cards[data-reveal] .svc-card:nth-child(5) { transition-delay: .32s; }
.svc-cards[data-reveal] .svc-card:nth-child(6) { transition-delay: .4s; }
.svc-cards.is-in .svc-card { opacity: 1; transform: none; }
.svc-cards.is-in .svc-card:hover { transform: translateY(-3px); transition-delay: 0s; }

/* --- why choose: icon cards --- */
.why { gap: 16px; }
.why-card { position: relative; overflow: hidden; border-top: 0 !important; padding: 24px 22px 26px !important; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(22px); transition: opacity .6s calc(var(--i) * 90ms), transform .7s calc(var(--i) * 90ms) var(--ease), box-shadow .3s; }
.why.is-in .why-card { opacity: 1; transform: none; }
.why.is-in .why-card:hover { transform: translateY(-4px); transition-delay: 0s; box-shadow: 0 0 0 1px rgba(22,119,255,.35), 0 22px 38px -24px rgba(22,119,255,.6); }
.why-n { position: absolute; right: 16px; top: 8px; font: 800 58px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px rgba(22,119,255,.2); letter-spacing: -0.04em; }
.why-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-soft); color: var(--blue); transition: background .3s, color .3s, transform .4s var(--ease); }
.why-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.why-card:hover .why-ico { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.why-card p { text-align: left !important; hyphens: manual !important; }

/* --- numbers band: pixel grid, glow and gradient numbers (every page) --- */
.numbers-band { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(50% 120% at 50% 0%, rgba(22,119,255,.35), transparent 70%), linear-gradient(180deg, #071442, #050b24); }
.numbers-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask: radial-gradient(70% 90% at 50% 50%, #000, transparent); mask: radial-gradient(70% 90% at 50% 50%, #000, transparent); }
.numbers { gap: 0; }
.number { position: relative; padding: 6px clamp(14px, 2vw, 28px); }
.number + .number::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.22), transparent); }
.number strong { background: linear-gradient(180deg, #fff 30%, #9fc2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .number:nth-child(3)::before { display: none; } .numbers { row-gap: 28px; } }

/* --- CTA band: pixel grid, glow and floating pixels (every page) --- */
.cta-band { background: radial-gradient(60% 140% at 85% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(120deg, #1677ff, #0b4fd1); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; top: 0; height: auto; width: auto; right: 0; transform: none; z-index: -1; opacity: .7;
  background: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 30px 30px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); }
.cta-band::after { content: ""; position: absolute; top: auto; bottom: -10px; right: 12%; width: 10px; height: 10px; transform: none; background: rgba(255,255,255,.9); border-radius: 2px; z-index: -1;
  box-shadow: 40px -60px 0 rgba(255,255,255,.5), 120px -20px 0 rgba(255,255,255,.35), -80px -40px 0 rgba(255,255,255,.4), 200px -90px 0 rgba(255,255,255,.3), -160px -80px 0 rgba(255,255,255,.25), 80px -130px 0 rgba(255,255,255,.2);
  animation: cta-float 7s ease-in-out infinite; }
@keyframes cta-float { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-26px); opacity: .5; } }

@media (prefers-reduced-motion: reduce) {
  .hub-card--after .hub-chip { transform: none; rotate: 0deg; transition: none; }
  .hub-links path { opacity: .7; animation: none; } .hub-core, .cta-band::after { animation: none; }
  .svc-cards[data-reveal] .svc-card, .why-card { opacity: 1; transform: none; transition: none; }
}
.brand-title { display: grid; gap: 12px; justify-items: start; }
@media (max-width: 860px) {
  .hub { gap: 10px; }
  .hub-card { width: 100%; padding: 12px 12px 14px; }
  .hub-stage { aspect-ratio: 1 / .62; }
  .hub-chip { font-size: 11.5px; padding: 6px 10px; }
  .hub-core { width: 20%; }
}

/* ================= Footer: creative ================= */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 7vw, 88px) 0 0;
  background: radial-gradient(50% 60% at 15% 0%, rgba(22,119,255,.28), transparent 70%), radial-gradient(40% 60% at 95% 100%, rgba(22,119,255,.22), transparent 70%), linear-gradient(180deg, #071442, #040a22); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  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: 34px 34px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 75%); mask: linear-gradient(180deg, #000, transparent 75%); }
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: clamp(28px, 4vw, 48px); }
.foot-brand p { color: rgba(255,255,255,.7); line-height: 1.6; }
.foot-grid h2.foot-h { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; }
.foot-grid h2.foot-h::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: #4d94ff; }
.foot-col ul { gap: 10px; }
.foot-col:not(.foot-col--contact) a { position: relative; display: inline-block; color: rgba(255,255,255,.72); transition: color .2s, transform .3s var(--ease); }
.foot-col:not(.foot-col--contact) a::before { content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #4d94ff; opacity: 0; transition: opacity .2s; }
.foot-col:not(.foot-col--contact) a:hover { color: #fff; text-decoration: none; transform: translateX(10px); }
.foot-col:not(.foot-col--contact) a:hover::before { opacity: 1; }
.foot-social { gap: 10px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s, transform .3s var(--ease), box-shadow .25s; }
.foot-social a:hover { background: var(--blue); box-shadow: 0 10px 20px -8px rgba(22,119,255,.8); transform: translateY(-3px); }
.foot-contact { gap: 14px !important; }
.foot-ci { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.foot-ci-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #9fc2ff; }
.foot-ci-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.foot-ci > a, .foot-ci > span { align-self: center; }
.foot-ci a { color: #fff; font-weight: 600; }
.foot-bottom { margin-top: clamp(40px, 5vw, 64px); align-items: center; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: rgba(255,255,255,.7); }
.foot-top { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 30px; cursor: pointer; font: 600 13px var(--f-body);
  color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .25s, transform .3s var(--ease); }
.foot-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.foot-top:hover { background: var(--blue); }
.foot-top:hover svg { transform: translateY(-3px); }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand, .foot-col--contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 48px; }
  .foot-brand p { max-width: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-top { align-self: stretch; justify-content: center; }
}
.foot-grid h2.foot-h { font: 700 12.5px var(--f-body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot-grid h2.foot-h { font-family: var(--f-body) !important; font-weight: 700 !important; font-style: normal; letter-spacing: .14em !important; line-height: 1.3; }
/* footer: the H Byte logo, drawn in pixels */
.foot-logo { position: relative; height: clamp(130px, 21vw, 330px); margin-top: clamp(24px, 4vw, 44px); cursor: crosshair; }
.foot-logo canvas { display: block; filter: drop-shadow(0 0 18px rgba(77,148,255,.35)); }
.foot-logo { margin-bottom: clamp(16px, 3vw, 36px); }
/* footer logo: line drawing, then the real colours */
.foot-logo { cursor: default; display: grid; place-items: center; }
.foot-logo canvas { display: none; }
.foot-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }   /* the logo fits inside the box at any width */
.fl-mark { fill: #1677ff; } .fl-text { fill: #fff; }
.fl-fill { opacity: 0; transition: opacity 1s 2.3s ease; }
.fl-line { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.fl-line--mark { stroke: #4d94ff; transition: stroke-dashoffset 1.6s cubic-bezier(.6,.1,.3,1), opacity 1s 2.6s; }
.fl-line--text { stroke: #dbe7ff; transition: stroke-dashoffset 2s .5s cubic-bezier(.6,.1,.3,1), opacity 1s 2.6s; }
.foot-logo.is-in .fl-line { stroke-dashoffset: 0; opacity: .35; }
.foot-logo.is-in .fl-fill { opacity: 1; }
.foot-logo.is-in svg { animation: fl-breathe 4s 3.4s ease-in-out infinite; }
@keyframes fl-breathe { 0%, 100% { filter: drop-shadow(0 0 10px rgba(77,148,255,.25)); } 50% { filter: drop-shadow(0 0 26px rgba(77,148,255,.55)); } }
@media (prefers-reduced-motion: reduce) { .fl-line { stroke-dashoffset: 0; opacity: .35; transition: none; } .fl-fill { opacity: 1; transition: none; } .foot-logo svg { animation: none; } }
.site-footer .logo img { height: 56px; width: auto; }
/* footer logo: your exact logo shapes; the mark uses the brighter tint of the logo blue on the dark footer */
.fl-mark { fill: #3b6ef3; }
.fl-tag { fill: #fff; opacity: 0; transition: opacity 1s 2.9s ease; }
.foot-logo.is-in .fl-tag { opacity: .9; }
.fl-line--mark { stroke: #7da0ff; }
.foot-logo { height: clamp(150px, 23vw, 360px); }
@media (prefers-reduced-motion: reduce) { .fl-tag { opacity: .9; transition: none; } }

/* =================== CONTACT PAGE =================== */
/* hero: dark, live open/closed badge, channel tiles, orbit around the logo mark */
.ct-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  background: radial-gradient(60% 80% at 80% 40%, rgba(22,119,255,.28), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(59,110,243,.18), transparent 70%), var(--space); }
.ct-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 80%); pointer-events: none; }
.ct-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ct-hero .crumbs { color: rgba(255,255,255,.6); font-size: var(--t-sm); }
.ct-hero .crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.ct-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 14px 7px 12px; border-radius: 40px; font-size: var(--t-sm); font-weight: 600; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.ct-status i { width: 9px; height: 9px; border-radius: 50%; background: #8a93ad; flex: none; }
.ct-status.is-open i { background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ctPing 1.8s infinite; }
.ct-status.is-closed i { background: #f59e0b; }
@keyframes ctPing { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
.ct-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem) !important; line-height: 1.02; font-weight: 400 !important; letter-spacing: -0.02em; max-width: 13ch; }
.ct-hero h1 em { font-style: italic; color: #7da0ff; }
main .ct-lead { margin-top: 20px; font-size: var(--t-lg); line-height: 1.5; color: rgba(255,255,255,.74); max-width: 46ch; text-align: left !important; }
.ct-channels { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 660px; }
.ct-ch { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; color: #fff; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: transform .35s var(--ease), box-shadow .3s, background .3s; }
.ct-ch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, rgba(22,119,255,.45), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ct-ch:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(125,160,255,.55), 0 18px 40px -18px rgba(22,119,255,.7); }
.ct-ch:hover::after { opacity: 1; }
.ct-ch-ico { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); }
.ct-ch-ico svg, .ct-ch-arrow, .ct-link svg, .ct-submit svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-ch-ico svg { width: 21px; height: 21px; }
.ct-ch-txt { position: relative; z-index: 1; display: grid; gap: 2px; min-width: 0; }
.ct-ch-txt b { font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ct-ch-txt span { font-family: var(--f-display); font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-ch-arrow { position: absolute; z-index: 1; top: 12px; right: 12px; width: 16px; height: 16px; opacity: .45; transition: transform .3s var(--ease), opacity .3s; }
.ct-ch:hover .ct-ch-arrow { opacity: 1; transform: translate(2px, -2px); }

.ct-orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.ct-ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(125,160,255,.22); }
.ct-ring--1 { inset: 0; } .ct-ring--2 { inset: 15%; box-shadow: inset 0 0 0 1px rgba(125,160,255,.3); } .ct-ring--3 { inset: 31%; box-shadow: inset 0 0 0 1px rgba(125,160,255,.4); background: radial-gradient(circle, rgba(22,119,255,.25), transparent 70%); }
.ct-ring--1::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 75%, rgba(125,160,255,.65) 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); animation: ctSpin 6s linear infinite; }
.ct-pulse { position: absolute; inset: 38%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(125,160,255,.7); animation: ctWave 3s var(--ease) infinite; }
@keyframes ctWave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.ct-core { position: absolute; inset: 38%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1d3a8f, #0a1647); box-shadow: inset 0 0 0 1px rgba(125,160,255,.5), 0 0 60px rgba(22,119,255,.55); }
.ct-core img { width: 52%; height: auto; filter: drop-shadow(0 0 14px rgba(59,110,243,.8)); }
.ct-spin { position: absolute; inset: 0; animation: ctSpin 28s linear infinite; }
.ct-spin--b { inset: 15%; animation-duration: 22s; animation-direction: reverse; }
.ct-spin--c { animation-delay: -14s; }
.ct-spin--d { inset: 15%; animation-duration: 22s; animation-direction: reverse; animation-delay: -11s; }
.ct-tag { position: absolute; top: 0; left: 50%; translate: -50% -50%; padding: 7px 13px; border-radius: 40px; font-size: var(--t-xs); font-weight: 600; white-space: nowrap; color: #fff;
  background: rgba(13,31,92,.85); box-shadow: inset 0 0 0 1px rgba(125,160,255,.45), 0 8px 24px -8px rgba(0,0,0,.6); backdrop-filter: blur(6px); animation: ctSpin 28s linear infinite reverse; }
.ct-spin--b .ct-tag, .ct-spin--d .ct-tag { animation-duration: 22s; animation-direction: normal; }
.ct-spin--c .ct-tag { animation-delay: -14s; } .ct-spin--d .ct-tag { animation-delay: -11s; }
@keyframes ctSpin { to { transform: rotate(360deg); } }

/* steps strip, overlapping the hero */
.ct-steps-sec { position: relative; z-index: 2; margin-top: -40px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px rgba(7,20,66,.35); overflow: hidden; }
.ct-steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 26px clamp(18px, 2.4vw, 30px); }
.ct-steps li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.ct-step-n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--blue); }
.ct-steps b { display: block; font-family: var(--f-display); font-size: var(--t-md); }
.ct-steps li span:not(.ct-step-n) { display: block; margin-top: 4px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.45; }
.ct-steps[data-reveal] li { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .7s var(--ease); }
.ct-steps[data-reveal] li:nth-child(2) { transition-delay: .1s; } .ct-steps[data-reveal] li:nth-child(3) { transition-delay: .2s; }
.ct-steps.is-in li { opacity: 1; transform: none; }

/* main: offices + hours on the left, the form on the right */
.ct-main { background: var(--paper); padding-top: clamp(48px, 6vw, 80px); }
.ct-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ct-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.ct-office, .ct-hours { position: relative; padding: 22px 22px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s, transform .35s var(--ease); }
.ct-office::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--blue-soft), transparent 70%); }
.ct-office:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(22,119,255,.35), 0 18px 40px -24px rgba(22,119,255,.5); }
.ct-office-tag { position: relative; display: inline-block; padding: 4px 10px; border-radius: 40px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); }
.ct-office-tag--alt { color: #5b4bd6; background: #efecff; }
main .ct-office-city { position: relative; margin-top: 10px; font-family: var(--serif); font-size: 2rem; line-height: 1.05; color: var(--ink); text-align: left !important; }
.ct-office address { position: relative; margin-top: 6px; font-style: normal; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.ct-link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: var(--t-sm); font-weight: 600; color: var(--blue); text-decoration: none; }
.ct-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ct-link:hover svg { transform: translateX(4px); }
main .ct-hours-title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); text-align: left !important; }
.ct-week { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ct-week li { display: grid; gap: 3px; justify-items: center; padding: 9px 0; border-radius: 10px; background: var(--paper); font-size: .72rem; color: var(--ink-2); }
.ct-week b { font-size: .78rem; color: var(--ink); }
.ct-week li.is-off { opacity: .55; }
.ct-week li.is-off span { font-size: .62rem; }
.ct-week li.is-today { background: var(--blue); color: rgba(255,255,255,.85); box-shadow: 0 8px 18px -8px rgba(22,119,255,.8); }
.ct-week li.is-today b { color: #fff; }
.ct-week li.is-today.is-off { background: #8a93ad; opacity: 1; }
main .ct-hours-note { margin-top: 10px; font-size: var(--t-xs); color: var(--ink-2); text-align: left !important; }

/* the quote form */
.ct-form { position: relative; display: grid; gap: 26px; padding: clamp(22px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(7,20,66,.35); overflow: hidden; }
.ct-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #7da0ff, #5b4bd6, var(--blue)); background-size: 200% 100%; animation: ctBar 6s linear infinite; }
@keyframes ctBar { to { background-position: 200% 0; } }
.ct-form-head h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem) !important; font-weight: 400 !important; line-height: 1.05; }
main .ct-form-head p { margin-top: 8px; font-size: var(--t-sm); color: var(--ink-2); text-align: left !important; }
.ct-block { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.ct-block legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); }
.ct-block-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: .8rem; color: var(--blue); background: var(--blue-soft); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form .field label, .ct-label { font-size: var(--t-sm); font-weight: 600; }
.ct-form .field input, .ct-form .field textarea, .ct-form .field select { border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.ct-form .field input:focus, .ct-form .field textarea:focus, .ct-form .field select:focus { box-shadow: 0 0 0 4px rgba(22,119,255,.14); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips label { position: relative; cursor: pointer; }
.ct-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.ct-chips span { display: inline-flex; align-items: center; gap: 0; padding: 9px 15px; border-radius: 40px; font-size: var(--t-sm); border: 1.5px solid var(--line); background: var(--paper); transition: background .2s, border-color .2s, color .2s, gap .25s, padding .25s, transform .2s; }
.ct-chips span::before { content: ""; width: 0; height: 14px; overflow: hidden; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; transition: width .25s var(--ease); }
.ct-chips label:hover span { border-color: rgba(22,119,255,.5); }
.ct-chips input:checked + span { gap: 7px; padding-left: 12px; background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(22,119,255,.9); }
.ct-chips input:checked + span::before { width: 14px; }
.ct-chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-chips--radio input:checked + span { background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 18px -10px rgba(7,20,66,.9); }
.ct-label + .ct-chips { margin-top: 2px; }
.ct-submit { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 700; font-size: var(--t-md); color: #fff;
  background: linear-gradient(135deg, var(--blue), #3b6ef3); box-shadow: 0 14px 30px -12px rgba(22,119,255,.8); transition: transform .3s var(--ease), box-shadow .3s; }
.ct-submit svg { width: 20px; height: 20px; }
.ct-submit-arrow { transition: transform .3s var(--ease); }
.ct-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(22,119,255,.9); }
.ct-submit:hover .ct-submit-arrow { transform: translateX(4px); }
.ct-submit:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
main .ct-form .form-note { margin-top: -10px; text-align: left !important; }

/* map with office tabs */
.ct-map-sec { background: var(--paper); padding: 0 0 clamp(56px, 8vw, 96px); }
.ct-map-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ct-map-head h2 { font-size: var(--t-2xl) !important; font-weight: 400 !important; }
.ct-map-head h2 em { font-style: italic; color: var(--blue); }
.ct-tabs { display: inline-flex; padding: 5px; border-radius: 40px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ct-tabs button { border: 0; background: none; font: inherit; font-weight: 600; font-size: var(--t-sm); padding: 9px 18px; border-radius: 40px; cursor: pointer; color: var(--ink-2); transition: background .25s, color .25s; }
.ct-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.ct-tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-map { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(7,20,66,.4); }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

@media (max-width: 960px) {
  .ct-hero-grid { grid-template-columns: 1fr; }
  .ct-orbit { width: min(78%, 340px); order: -1; margin-top: 8px; }
  .ct-hero-copy { order: 1; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; grid-template-columns: 1fr 1fr; }
  .ct-hours { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ct-hero { padding-top: 28px; }
  .ct-orbit { display: none; }
  .ct-channels { grid-template-columns: 1fr; }
  .ct-ch { padding: 14px; }
  .ct-steps { grid-template-columns: 1fr; }
  .ct-steps li { padding: 18px 20px; }
  .ct-steps li + li::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; }
  .ct-steps-sec { margin-top: -28px; }
  .ct-side { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-submit { justify-self: stretch; justify-content: center; }
  .ct-map iframe { height: 320px; }
  .ct-map-head { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-ring--1::before, .ct-pulse, .ct-spin, .ct-tag, .ct-form::before, .ct-status.is-open i { animation: none; }
  .ct-steps[data-reveal] li { opacity: 1; transform: none; transition: none; }
}
/* contact tiles: icon on top so the full number fits */
.ct-ch { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
.ct-ch-txt span { white-space: normal; overflow: visible; font-size: 1rem; }
@media (max-width: 640px) {
  .ct-ch { grid-template-columns: auto 1fr; gap: 12px; padding: 14px; }
}

/* =================== SERVICES PAGE =================== */
.sv-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(55% 75% at 85% 30%, rgba(22,119,255,.3), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(91,75,214,.2), transparent 70%), var(--space); }
.sv-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 80%); pointer-events: none; }
.sv-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sv-hero .crumbs { color: rgba(255,255,255,.6); font-size: var(--t-sm); }
.sv-hero .crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.sv-kicker { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 14px 7px 12px; border-radius: 40px; font-size: var(--t-sm); font-weight: 600; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.sv-kicker i { width: 8px; height: 8px; border-radius: 2px; background: #7da0ff; transform: skewX(-16deg); }
.sv-hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.7rem) !important; line-height: 1.03; font-weight: 400 !important; letter-spacing: -0.02em; max-width: 14ch; }
.sv-hero h1 em { font-style: italic; color: #7da0ff; }
main .sv-lead { margin-top: 20px; font-size: var(--t-lg); line-height: 1.5; color: rgba(255,255,255,.74); max-width: 46ch; text-align: left !important; }
.sv-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.sv-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sv-area { position: relative; display: grid; gap: 6px; align-content: start; min-height: 168px; padding: 18px; border-radius: 18px; color: #fff; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  opacity: 0; transform: translateY(18px); animation: svIn .7s var(--ease) forwards; transition: transform .35s var(--ease), box-shadow .3s; }
.sv-area:nth-child(2) { animation-delay: .07s; } .sv-area:nth-child(3) { animation-delay: .14s; } .sv-area:nth-child(4) { animation-delay: .21s; } .sv-area:nth-child(5) { animation-delay: .28s; } .sv-area:nth-child(6) { animation-delay: .35s; }
@keyframes svIn { to { opacity: 1; transform: none; } }
.sv-area::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 100% 0%, rgba(22,119,255,.5), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.sv-area:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(125,160,255,.6), 0 20px 44px -20px rgba(22,119,255,.8); }
.sv-area:hover::after { opacity: 1; }
.sv-area-n { position: absolute; top: 14px; right: 16px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: rgba(255,255,255,.3); transition: color .3s; }
.sv-area:hover .sv-area-n { color: #7da0ff; }
.sv-area-ico { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: auto; border-radius: 12px; display: grid; place-items: center; background: var(--blue); }
.sv-area-ico svg, .sv-ico svg, .sv-nav .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-area b { position: relative; z-index: 1; margin-top: 22px; font-family: var(--f-display); font-size: .98rem; font-weight: 600; line-height: 1.25; }
.sv-area small { position: relative; z-index: 1; font-size: var(--t-xs); color: rgba(255,255,255,.6); }

/* sticky area bar, the current area is highlighted while scrolling */
.sv-nav { position: sticky; top: var(--header); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line); }
.sv-nav-track { display: flex; gap: 6px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.sv-nav-track::-webkit-scrollbar { display: none; }
.sv-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 10px; border-radius: 40px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background .25s, color .25s, box-shadow .25s; }
.sv-nav a:hover { background: var(--paper); color: var(--ink); }
.sv-nav .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); transition: background .25s, color .25s; }
.sv-nav .ico svg { width: 16px; height: 16px; }
.sv-nav a[aria-current="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(7,20,66,.8); }
.sv-nav a[aria-current="true"] .ico { background: var(--blue); color: #fff; }

/* service groups */
.sv-group { padding: clamp(56px, 7vw, 104px) 0; scroll-margin-top: calc(var(--header) + 50px); background: #fff; }
.sv-group:nth-child(even) { background: var(--paper); }
.sv-group-grid { display: grid; grid-template-columns: .8fr 1.7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sv-head { position: sticky; top: calc(var(--header) + 90px); }
.sv-num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 3rem + 3vw, 6.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px rgba(22,119,255,.45); }
.sv-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-top: 18px; border-radius: 14px; background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(22,119,255,.9); }
.sv-ico svg { width: 26px; height: 26px; }
.sv-head h2, .sv-feature h2 { margin-top: 16px; font-size: var(--t-2xl) !important; font-weight: 400 !important; line-height: 1.05; }
main .sv-head p, main .sv-feature > p { margin-top: 14px; font-size: var(--t-md); color: var(--ink-2); line-height: 1.6; text-align: left !important; }
.sv-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 13px 20px; border-radius: 12px; font-weight: 700; font-size: var(--t-sm); color: #fff; background: var(--blue); text-decoration: none; box-shadow: 0 12px 26px -12px rgba(22,119,255,.9); transition: transform .3s var(--ease), box-shadow .3s, background .2s; }
.sv-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.sv-btn:hover { background: var(--blue-hover); transform: translateY(-2px); }
.sv-btn:hover svg { transform: translateX(4px); }

.sv-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sv-cards > :first-child:nth-last-child(3) { grid-column: 1 / -1; }   /* three cards: the first one runs full width */
.sv-cards--six { grid-template-columns: repeat(3, 1fr); }
.sv-cards--six > :first-child:nth-last-child(6) { grid-column: auto; }
.sv-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .3s; }
.sv-group:nth-child(even) .sv-card { background: #fff; }
.sv-group:nth-child(odd) .sv-card { background: var(--paper); box-shadow: 0 0 0 1px rgba(221,227,238,.7); }
.sv-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), #7da0ff); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sv-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(22,119,255,.3), 0 24px 50px -28px rgba(22,119,255,.55); }
.sv-card:hover::before { transform: scaleX(1); }
.sv-idx { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--blue); }
.sv-card h3 { margin-top: 10px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem) !important; font-weight: 400 !important; line-height: 1.15; }
main .sv-card p, main .sv-feature-card p { margin-top: 8px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; text-align: left !important; }
.sv-card ul, .sv-feature-card ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.sv-card li, .sv-feature-card li { position: relative; padding-left: 28px; font-size: var(--t-sm); line-height: 1.45; }
.sv-card li::before, .sv-feature-card li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.sv-cards[data-reveal] .sv-card { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .7s var(--ease), box-shadow .3s; }
.sv-cards[data-reveal] .sv-card:nth-child(2) { transition-delay: .08s; } .sv-cards[data-reveal] .sv-card:nth-child(3) { transition-delay: .16s; }
.sv-cards[data-reveal] .sv-card:nth-child(4) { transition-delay: .24s; } .sv-cards[data-reveal] .sv-card:nth-child(5) { transition-delay: .32s; } .sv-cards[data-reveal] .sv-card:nth-child(6) { transition-delay: .4s; }
.sv-cards.is-in .sv-card { opacity: 1; transform: none; }
.sv-cards.is-in .sv-card:hover { transform: translateY(-5px); transition-delay: 0s; }

/* apps + CRM side by side */
.sv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sv-feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.5vw, 40px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; scroll-margin-top: calc(var(--header) + 70px); }
.sv-feature::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(22,119,255,.14), transparent 70%); pointer-events: none; }
.sv-feature-top { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; }
.sv-feature-top .sv-num { font-size: clamp(3.4rem, 2.6rem + 2.4vw, 5rem); }
.sv-feature-top .sv-ico { margin-top: 0; }
.sv-feature-card { align-self: stretch; margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--paper); }
.sv-feature-card h3 { font-size: 1.5rem !important; font-weight: 400 !important; }
.sv-feature .sv-btn { margin-top: auto; }
.sv-feature-card + .sv-btn { margin-top: 22px; }

/* video: dark band */
.sv-group--dark { background: var(--space) !important; color: #fff; position: relative; overflow: hidden; }
.sv-group--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 0% 0%, rgba(22,119,255,.25), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(91,75,214,.22), transparent 70%); pointer-events: none; }
.sv-group--dark .wrap { position: relative; }
.sv-group--dark .sv-num { -webkit-text-stroke-color: rgba(125,160,255,.55); }
main .sv-group--dark .sv-head p { color: rgba(255,255,255,.72); }
.sv-group--dark .sv-card { background: rgba(255,255,255,.05) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1) !important; color: #fff; }
.sv-group--dark .sv-card:hover { box-shadow: inset 0 0 0 1px rgba(125,160,255,.5), 0 24px 50px -28px rgba(22,119,255,.8) !important; }
.sv-group--dark .sv-idx { color: #7da0ff; }
main .sv-group--dark .sv-card p { color: rgba(255,255,255,.66); }
.sv-group--dark .sv-card ul { border-top-color: rgba(255,255,255,.14); }
.sv-group--dark .sv-card li::before { background-color: rgba(22,119,255,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237da0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E"); }

/* process */
.sv-process { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); }
.sv-process-head { text-align: center; max-width: 620px; margin: 0 auto; }
.sv-kicker--dark { margin-top: 0; color: var(--blue); background: var(--blue-soft); box-shadow: none; }
.sv-kicker--dark i { background: var(--blue); }
.sv-process-head h2 { margin-top: 16px; font-size: var(--t-2xl) !important; font-weight: 400 !important; }
.sv-process-head h2 em { font-style: italic; color: var(--blue); }
main .sv-process-head p { margin-top: 10px; color: var(--ink-2); text-align: center !important; }
.sv-steps { position: relative; list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-steps::before, .sv-steps::after { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.sv-steps::after { background: linear-gradient(90deg, var(--blue), #7da0ff); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.sv-steps.is-in::after { transform: scaleX(1); }
.sv-steps li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.sv-step-dot { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--blue); background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: background .4s, color .4s, box-shadow .4s; }
.sv-steps.is-in li .sv-step-dot { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--blue-soft), 0 12px 24px -10px rgba(22,119,255,.9); }
.sv-steps.is-in li:nth-child(1) .sv-step-dot { transition-delay: .2s; } .sv-steps.is-in li:nth-child(2) .sv-step-dot { transition-delay: .7s; }
.sv-steps.is-in li:nth-child(3) .sv-step-dot { transition-delay: 1.2s; } .sv-steps.is-in li:nth-child(4) .sv-step-dot { transition-delay: 1.7s; }
.sv-steps h3 { margin-top: 18px; font-size: 1.6rem !important; font-weight: 400 !important; }
main .sv-steps p { margin-top: 8px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; text-align: center !important; }

@media (max-width: 1100px) {
  .sv-cards--six { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .sv-hero-grid { grid-template-columns: 1fr; }
  .sv-group-grid { grid-template-columns: 1fr; }
  .sv-head { position: static; }
  .sv-pair { grid-template-columns: 1fr; }
  .sv-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .sv-steps::before, .sv-steps::after { display: none; }
}
@media (max-width: 640px) {
  .sv-hero { padding-top: 28px; }
  .sv-areas { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sv-area { min-height: 140px; padding: 14px; }
  .sv-area b { margin-top: 16px; font-size: .92rem; }
  .sv-actions .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .sv-cards, .sv-cards--six { grid-template-columns: 1fr; }
  .sv-card { padding: 22px 20px 20px; }
  .sv-num { font-size: 4rem; }
  .sv-steps { grid-template-columns: 1fr; text-align: left; }
  .sv-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .sv-steps li .sv-step-dot { grid-row: span 2; }
  .sv-steps h3 { margin-top: 6px; }
  main .sv-steps p { text-align: left !important; }
  .sv-process-head { text-align: left; }
  main .sv-process-head p { text-align: left !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-area { opacity: 1; transform: none; animation: none; }
  .sv-cards[data-reveal] .sv-card { opacity: 1; transform: none; transition: none; }
  .sv-steps::after { transition: none; }
}

/* =================== services + contact: text alignment matches the rest of the site ===================
   main paragraphs are justified (straight edges, last line left); card text and short labels are left-aligned */
main .sv-lead, main .sv-head p, main .sv-feature > p, main .sv-process-head p, main .sv-steps p,
main .ct-lead, main .ct-form-head p, main .ct-form .form-note {
  text-align: justify !important; text-align-last: left !important; hyphens: auto; -webkit-hyphens: auto;
}
main .sv-card p, main .sv-feature-card p, main .ct-steps span, main .ct-office address, main .ct-hours-note,
main .ct-office-city, main .ct-hours-title, main .sv-kicker, main .ct-status {
  text-align: left !important; text-align-last: auto !important; hyphens: manual !important; -webkit-hyphens: manual !important; word-spacing: normal !important;
}
.sv-card li, .sv-feature-card li, .ct-steps b { text-align: left; hyphens: manual; }

/* "How we work": left-aligned like the other section heads */
.sv-process-head { text-align: left; max-width: 640px; margin: 0; }
.sv-steps li { text-align: left; padding: 0; }
.sv-steps::before, .sv-steps::after { left: 28px; right: calc((100% - 60px) / 4 - 28px); }

/* contact form: send by email, WhatsApp as a second option, thank-you panel */
.ct-form[hidden], .ct-done[hidden] { display: none !important; }
.ct-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ct-submit[disabled] { cursor: progress; opacity: .85; transform: none; }
.ct-submit.is-busy .ct-submit-arrow { animation: ctBusy .8s linear infinite; }
@keyframes ctBusy { 50% { transform: translateX(6px); opacity: .4; } }
.ct-wa { display: inline-flex; align-items: center; gap: 9px; padding: 15px 20px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 600; font-size: var(--t-sm); color: var(--ink); text-decoration: none; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, color .25s, background .25s; }
.ct-wa svg { width: 19px; height: 19px; fill: none; stroke: #16a34a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-wa:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #16a34a; color: #15803d; }
.ct-wa:focus-visible, .ct-again:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ct-wa.is-nudge { box-shadow: inset 0 0 0 1.5px #16a34a; animation: ctNudge 1.6s var(--ease) 2; }
@keyframes ctNudge { 0%, 100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } }
.ct-form .form-note a { color: var(--blue); }

.ct-done { position: relative; display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 5vw, 56px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(7,20,66,.35); overflow: hidden; outline: none; animation: ctDoneIn .6s var(--ease); }
.ct-done::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #16a34a, #34d399); }
.ct-done::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.18), transparent 70%); pointer-events: none; }
@keyframes ctDoneIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ct-done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 8px rgba(22,163,74,.12), 0 14px 30px -12px rgba(22,163,74,.8); }
.ct-done-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: ctTick .6s .25s var(--ease) forwards; }
@keyframes ctTick { to { stroke-dashoffset: 0; } }
.ct-done h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem) !important; font-weight: 400 !important; line-height: 1.05; }
main .ct-done p { max-width: 46ch; color: var(--ink-2); font-size: var(--t-md); text-align: left !important; hyphens: manual !important; }
.ct-done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ct-again { border: 0; background: none; font: inherit; font-weight: 600; font-size: var(--t-sm); color: var(--blue); cursor: pointer; padding: 15px 6px; }
.ct-again:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .ct-send { flex-direction: column; align-items: stretch; }
  .ct-wa { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ct-done, .ct-wa.is-nudge, .ct-submit.is-busy .ct-submit-arrow { animation: none; } .ct-done-ico svg { animation: none; stroke-dashoffset: 0; } }

/* =================== header: frosted glass =================== */
.site-header {
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(20px) saturate(1.9); backdrop-filter: blur(20px) saturate(1.9);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(7,20,66,.06);
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(22,119,255,.35) 30%, rgba(125,160,255,.5) 50%, rgba(22,119,255,.35) 70%, transparent); opacity: 0; transition: opacity .35s; }
.site-header.is-scrolled { border-bottom-color: rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 32px -20px rgba(7,20,66,.5); }
.site-header.is-scrolled::after { opacity: 1; }
/* over the dark home banner: clear at the very top, dark glass once you scroll */
.site-header.on-dark { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.on-dark::after { opacity: 0; }
.site-header.on-dark.is-scrolled { background: linear-gradient(180deg, rgba(5,13,51,.55), rgba(5,13,51,.35)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px -20px rgba(0,0,0,.6); }
.site-header.on-dark.is-scrolled::after { opacity: .8; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255,255,255,.96); }
  .site-header.on-dark.is-scrolled { background: rgba(5,13,51,.92); }
}
/* any page: when a dark section is behind the header, it turns into dark glass with the white logo */
.site-header.over-dark:not(.on-dark) { background: linear-gradient(180deg, rgba(5,13,51,.62), rgba(5,13,51,.42)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px -20px rgba(0,0,0,.6); }
.site-header.over-dark .logo .logo-dark { display: none; }
.site-header.over-dark .logo .logo-light { display: block; }
.site-header.over-dark .nav-toggle { color: #fff; }
@media (min-width: 961px) {
  .site-header.over-dark .nav > a, .site-header.over-dark .nav-item > a { color: rgba(255,255,255,.8); }
  .site-header.over-dark .nav > a:hover, .site-header.over-dark .nav-item > a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .site-header.over-dark .nav a[aria-current="page"] { color: #7da0ff; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.over-dark:not(.on-dark) { background: rgba(5,13,51,.94); } }
/* the services area bar below the header gets the same glass */
.sv-nav { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58)); -webkit-backdrop-filter: blur(20px) saturate(1.9); backdrop-filter: blur(20px) saturate(1.9); }

/* =================== header: floating glass pill (replaces the full-width bar) =================== */
:root { --pill-top: 12px; --pill-h: 64px; }          /* --header (76px) = pill-top + pill-h, used for page offsets */
.site-header, .page-home .site-header, .site-header.is-scrolled, .site-header.on-dark, .site-header.on-dark.is-scrolled, .site-header.over-dark:not(.on-dark) {
  position: fixed; top: 0; left: 0; right: 0; padding-top: var(--pill-top);
  background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none;
}
.site-header::after { display: none; }
.site-header .wrap {
  pointer-events: auto; position: relative; isolation: isolate; height: var(--pill-h);
  width: min(calc(100% - 32px), var(--wrap)); max-width: none; margin: 0 auto; padding: 0 8px 0 26px; box-sizing: border-box;
}
.site-header .wrap::before {                          /* the glass itself, on its own layer so menus inside still position normally */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.86));
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(255,255,255,.75), inset 0 1px 0 rgba(255,255,255,.95), 0 14px 36px -16px rgba(7,20,66,.45);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled .wrap::before { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.76)); box-shadow: 0 0 0 1px rgba(255,255,255,.8), inset 0 1px 0 #fff, 0 18px 44px -18px rgba(7,20,66,.55); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header .wrap::before { background: rgba(255,255,255,.97); } }
.site-header .logo img { height: 38px; }
.nav > a, .nav-item > a { border-radius: 999px; }
.nav .btn { border-radius: 999px; padding: 13px 26px; margin-left: 18px; box-shadow: 0 8px 20px -10px rgba(22,119,255,.9); }
/* the pill is always light glass, so always the dark logo and dark menu text */
.site-header.on-dark .logo .logo-dark, .site-header.over-dark .logo .logo-dark { display: block; }
.site-header.on-dark .logo .logo-light, .site-header.over-dark .logo .logo-light { display: none; }
.site-header.on-dark .nav-toggle, .site-header.over-dark .nav-toggle { color: var(--ink); }
@media (min-width: 961px) {
  .site-header.on-dark .nav > a, .site-header.on-dark .nav-item > a, .site-header.over-dark .nav > a, .site-header.over-dark .nav-item > a { color: var(--ink-2); }
  .site-header.on-dark .nav > a:hover, .site-header.on-dark .nav-item > a:hover, .site-header.over-dark .nav > a:hover, .site-header.over-dark .nav-item > a:hover { color: var(--ink); background: rgba(7,20,66,.05); }
  .site-header.on-dark .nav a[aria-current="page"], .site-header.over-dark .nav a[aria-current="page"] { color: var(--blue); }
  .site-header.on-dark .nav .btn, .site-header.over-dark .nav .btn { background: var(--blue); color: #fff; }
  .mega { top: calc(100% + 10px); }
}
/* page banners now run up behind the floating pill */
.page-hero { padding-top: calc(var(--header) + clamp(48px, 7vw, 96px)); }
.ct-hero, .sv-hero { padding-top: calc(var(--header) + clamp(36px, 5vw, 72px)); }
.hx { padding-top: calc(var(--header) + clamp(24px, 4vw, 56px)); }
@media (max-width: 960px) {
  .nav { inset: calc(var(--header) + 8px) 16px auto 16px; max-height: calc(100vh - var(--header) - 24px); border: 0; border-radius: 24px;
    box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(7,20,66,.45); }
}
@media (max-width: 640px) {
  :root { --pill-top: 10px; --pill-h: 60px; --header: 70px; }
  .site-header .wrap { width: calc(100% - 20px); padding: 0 6px 0 18px; }
  .site-header .logo img { height: 34px; }
  .ct-hero, .sv-hero { padding-top: calc(var(--header) + 24px); }
  .page-hero { padding-top: calc(var(--header) + 40px); }
  .hx { padding-top: calc(var(--header) + 12px); }
  .nav { inset: calc(var(--header) + 8px) 10px auto 10px; }
}

/* =================== header: liquid glass pill after the top banner =================== */
.site-header .wrap::before {
  background:
    linear-gradient(112deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 72%, rgba(255,255,255,.3) 88%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.4) 55%, rgba(255,255,255,.52) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(2.2) brightness(1.08); backdrop-filter: blur(22px) saturate(2.2) brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.5),
    inset 0 0 20px rgba(255,255,255,.35), inset 0 -12px 22px -14px rgba(22,119,255,.22),
    0 16px 40px -18px rgba(7,20,66,.5);
  transition: opacity .45s, transform .5s var(--ease), background .35s, box-shadow .35s;
}
.site-header .wrap::after {                       /* light-catching rim, brighter at the top-left and bottom-right */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; pointer-events: none; padding: 1.2px;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.18) 38%, rgba(255,255,255,.08) 62%, rgba(255,255,255,.75));
  -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);
  transition: opacity .45s, transform .5s var(--ease);
}
.site-header.is-scrolled .wrap::before { box-shadow:
    inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.5),
    inset 0 0 20px rgba(255,255,255,.35), inset 0 -12px 22px -14px rgba(22,119,255,.22),
    0 20px 48px -20px rgba(7,20,66,.6); }

/* light text and logo: over the top banner, and on the glass when a dark section is behind it */
.site-header.at-hero .logo .logo-dark, .site-header.over-dark .logo .logo-dark { display: none; }
.site-header.at-hero .logo .logo-light, .site-header.over-dark .logo .logo-light { display: block; }
.site-header.at-hero .nav-toggle, .site-header.over-dark .nav-toggle { color: #fff; }
@media (min-width: 961px) {
  .site-header.at-hero .nav > a, .site-header.at-hero .nav-item > a, .site-header.over-dark .nav > a, .site-header.over-dark .nav-item > a { color: rgba(255,255,255,.82); }
  .site-header.at-hero .nav > a:hover, .site-header.at-hero .nav-item > a:hover, .site-header.over-dark .nav > a:hover, .site-header.over-dark .nav-item > a:hover { color: #fff; background: rgba(255,255,255,.1); }
  .site-header.at-hero .nav a[aria-current="page"], .site-header.over-dark .nav a[aria-current="page"] { color: #fff; }
  .site-header.at-hero .nav .btn { background: #fff; color: var(--space); box-shadow: none; }
  .site-header.over-dark .nav a[aria-current="page"] { color: #9db8ff; }
}
/* over the top banner: no pill, like before */
.site-header.at-hero .wrap::before, .site-header.at-hero .wrap::after { opacity: 0; transform: scale(.97); }
/* dark section behind the glass: a deeper, see-through tint */
.site-header.over-dark .wrap::before {
  background:
    linear-gradient(112deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 72%, rgba(255,255,255,.12) 88%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.1) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.45), inset 0 -1px 1px rgba(255,255,255,.18), inset 0 0 22px rgba(125,160,255,.16), 0 18px 44px -20px rgba(0,0,0,.7);
}
.site-header.over-dark .wrap::after { opacity: .6; }
/* phone menu open: always show the light pill so the open card matches */
.site-header:has(.nav.is-open) .wrap::before, .site-header:has(.nav.is-open) .wrap::after { opacity: 1; transform: none; }
.site-header:has(.nav.is-open) .logo .logo-dark { display: block; }
.site-header:has(.nav.is-open) .logo .logo-light { display: none; }
.site-header:has(.nav.is-open) .nav-toggle { color: var(--ink); }
.site-header:has(.nav.is-open) .wrap::before { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header .wrap::before { background: rgba(255,255,255,.96); }
  .site-header.over-dark .wrap::before { background: rgba(13,31,92,.94); }
}
@media (prefers-reduced-motion: reduce) { .site-header .wrap::before, .site-header .wrap::after { transition: none; } }

/* =================== BOOK AN APPOINTMENT =================== */
.bk-hero .ct-lead { max-width: 52ch; }
.bk-hero h1 { max-width: 16ch; }
.bk-perks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bk-perks li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 40px; font-size: var(--t-sm); font-weight: 600; color: rgba(255,255,255,.9); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bk-perks svg, .bk-mode svg, .bk-gcal svg, .bk-done .ct-wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bk-perks svg { color: #7da0ff; }
.bk-main { background: var(--paper); }
.bk-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.bk-form { position: relative; display: grid; gap: 30px; padding: clamp(22px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(7,20,66,.35); overflow: hidden; }
.bk-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #7da0ff, #5b4bd6, var(--blue)); background-size: 200% 100%; animation: ctBar 6s linear infinite; }
.bk-form[hidden] { display: none !important; }
.bk-block { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.bk-block legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); }
.bk-tz { margin-left: auto; font-family: var(--f-body); font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); background: var(--paper); padding: 4px 10px; border-radius: 40px; }
.bk-why { font-weight: 400; color: var(--ink-2); }

.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk-day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 70px; padding: 11px 0 10px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, box-shadow .2s, color .2s, transform .25s var(--ease); }
.bk-day small { font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.bk-day b { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.1; }
.bk-day:hover { box-shadow: inset 0 0 0 1.5px rgba(22,119,255,.5); transform: translateY(-2px); }
.bk-day.is-on { background: var(--navy); color: #fff; box-shadow: 0 12px 24px -12px rgba(7,20,66,.8); }
.bk-day.is-on small { color: rgba(255,255,255,.7); }
.bk-day:focus-visible, .bk-time:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; min-height: 48px; }
.bk-times.is-loading { opacity: .5; }
.bk-time { padding: 12px 0; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 600; font-size: var(--t-sm); color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, box-shadow .2s, color .2s; }
.bk-time:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.bk-time.is-on { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(22,119,255,.9); }
.bk-time:disabled { cursor: not-allowed; color: #b4bac7; background: #fafbfd; text-decoration: line-through; box-shadow: inset 0 0 0 1px #eef1f6; }
main .bk-times-note { font-size: var(--t-xs); color: var(--ink-2); text-align: left !important; hyphens: manual !important; }

.bk-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bk-mode { position: relative; cursor: pointer; }
.bk-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-mode span { display: grid; gap: 4px; height: 100%; padding: 16px 14px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, box-shadow .2s, color .2s; }
.bk-mode svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: 6px; }
.bk-mode b { font-family: var(--f-display); font-size: var(--t-sm); }
.bk-mode small { font-size: var(--t-xs); color: var(--ink-2); }
.bk-mode:hover span { box-shadow: inset 0 0 0 1.5px rgba(22,119,255,.5); }
.bk-mode input:checked + span { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.bk-mode input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
main .bk-form .form-note { text-align: left !important; hyphens: manual !important; }

.bk-summary { position: sticky; top: calc(var(--header) + 24px); padding: 24px; border-radius: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(80% 60% at 100% 0%, rgba(22,119,255,.4), transparent 70%), var(--space); box-shadow: 0 30px 70px -36px rgba(7,20,66,.7); }
main .bk-sum-title { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7da0ff; text-align: left !important; }
.bk-sum-title--next { margin-top: 24px; }
.bk-summary dl { margin: 12px 0 0; display: grid; gap: 2px; }
.bk-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.bk-summary dt { font-size: var(--t-sm); color: rgba(255,255,255,.6); }
.bk-summary dd { margin: 0; font-weight: 600; font-size: var(--t-sm); text-align: right; }
.bk-next { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 12px; }
.bk-next li { counter-increment: n; position: relative; padding-left: 34px; font-size: var(--t-sm); line-height: 1.45; color: rgba(255,255,255,.82); }
.bk-next li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: rgba(22,119,255,.35); color: #fff; }
main .bk-help { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--t-xs); color: rgba(255,255,255,.7); text-align: left !important; hyphens: manual !important; }
.bk-help a { color: #9db8ff; }

main .bk-done-when { font-family: var(--f-display); font-weight: 600; font-size: var(--t-md) !important; color: var(--ink) !important; }
.bk-gcal { text-decoration: none; }

@media (max-width: 960px) { .bk-grid { grid-template-columns: 1fr; } .bk-summary { position: static; order: -1; } .bk-modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .bk-day { width: 62px; }
  .bk-times { grid-template-columns: repeat(3, 1fr); }
  .bk-summary dl { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .bk-summary .bk-next, .bk-summary .bk-sum-title--next, .bk-summary .bk-help { display: none; }
}
/* contact: "book a free consultation" card */
.ct-book { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; text-decoration: none; color: #fff; overflow: hidden;
  background: radial-gradient(90% 80% at 100% 0%, rgba(125,160,255,.45), transparent 70%), linear-gradient(135deg, var(--blue), #0b4fd1); box-shadow: 0 18px 40px -20px rgba(22,119,255,.9); transition: transform .35s var(--ease), box-shadow .3s; }
.ct-book:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(22,119,255,1); }
.ct-book-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.ct-book svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-book-txt b { display: block; font-family: var(--f-display); font-size: var(--t-md); }
.ct-book-txt span { display: block; margin-top: 3px; font-size: var(--t-xs); line-height: 1.45; color: rgba(255,255,255,.85); }
.ct-book-arrow { transition: transform .3s var(--ease); }
.ct-book:hover .ct-book-arrow { transform: translateX(4px); }
.ct-done-actions .ct-submit { text-decoration: none; }
@media (max-width: 960px) { .ct-book { grid-column: 1 / -1; } }

/* =================== header buttons + popup forms =================== */
.nav-book { display: inline-flex; align-items: center; gap: 8px; }
.nav-book svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav .nav-book { background: rgba(22,119,255,.08); color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(22,119,255,.35); margin-left: 14px; }
.nav .nav-book:hover { background: rgba(22,119,255,.14); color: var(--blue); }
.nav .nav-book + .btn { margin-left: 8px; }
.nav-book-short { display: none; }
@media (min-width: 961px) {
  .site-header.at-hero .nav .nav-book, .site-header.over-dark .nav .nav-book { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
  .site-header.at-hero .nav .nav-book:hover, .site-header.over-dark .nav .nav-book:hover { background: rgba(255,255,255,.16); }
}
@media (max-width: 1280px) and (min-width: 961px) { .nav-book-long { display: none; } .nav-book-short { display: inline; } .nav > a, .nav-item > a { padding: 10px 11px; } }
@media (max-width: 1060px) and (min-width: 961px) { .nav-book svg { display: none; } .nav .btn { padding: 12px 16px; } }
@media (max-width: 960px) { .nav .nav-book { margin: 12px 0 0; justify-content: center; } .nav .nav-book + .btn { margin: 8px 0 0; } }

html.fm-open { overflow: hidden; }
.fm { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.fm[hidden] { display: none; }
.fm-backdrop { position: absolute; inset: 0; background: rgba(5,13,51,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.fm.is-open .fm-backdrop { opacity: 1; }
.fm-card { position: relative; display: flex; flex-direction: column; width: min(820px, 100%); height: min(88vh, 920px); border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s, transform .4s var(--ease); }
.fm.is-open .fm-card { opacity: 1; transform: none; }
.fm-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 12px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f9fd); }
.fm-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 40px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fm-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-weight: 600; font-size: var(--t-sm); color: var(--ink-2); padding: 10px 16px; border-radius: 40px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.fm-tabs svg, .fm-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fm-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(7,20,66,.8); }
.fm-tabs button:focus-visible, .fm-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.fm-close { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--paper); color: var(--ink); transition: background .2s, transform .3s var(--ease); }
.fm-close:hover { background: #e8ecf5; transform: rotate(90deg); }
.fm-body { position: relative; flex: 1; min-height: 0; background: #fff; }
.fm-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s; }
.fm-frame.is-ready { opacity: 1; }
.fm-loading { position: absolute; inset: 0; display: none; place-items: center; }
.fm.is-loading .fm-loading { display: grid; }
.fm-loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--blue-soft); border-top-color: var(--blue); animation: fmSpin .8s linear infinite; }
@keyframes fmSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .fm { padding: 0; align-items: end; }
  .fm-card { width: 100%; height: 94vh; height: 94dvh; border-radius: 24px 24px 0 0; transform: translateY(40px); }
  .fm-head { padding: 10px 10px 10px 12px; }
  .fm-tabs button { padding: 9px 12px; font-size: 13px; gap: 6px; }
  .fm-tabs svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fm-card, .fm-backdrop, .fm-frame { transition: none; } }

/* form-only view inside the popup (/contact?embed=1, /book?embed=1) */
html.embed, html.embed body { background: #fff; }
html.embed .skip, html.embed .site-header, html.embed .site-footer, html.embed .hc, html.embed .ct-side, html.embed .bk-summary,
html.embed main > section:not(.ct-main):not(.bk-main) { display: none !important; }
html.embed main > section.ct-main, html.embed main > section.bk-main { padding: 0 !important; background: #fff; }
html.embed .ct-grid, html.embed .bk-grid { display: block; padding: 0; max-width: none; }
html.embed .ct-form, html.embed .bk-form, html.embed .ct-done { box-shadow: none; border-radius: 0; padding: clamp(18px, 4vw, 34px); }
html.embed .ct-form::before, html.embed .bk-form::before { display: none; }
html.embed .ct-form-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem) !important; }
.fm-frame[hidden] { display: none !important; }
.fm-short { display: none; }
@media (max-width: 640px) { .fm-long { display: none; } .fm-short { display: inline; } }
@media (max-width: 960px) { .nav .nav-book { white-space: nowrap; } }

/* portfolio filters on phones: one swipeable row instead of five uneven rows */
@media (max-width: 760px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 calc(var(--gutter) * -1) 26px; padding: 4px var(--gutter) 10px;
    scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 44px), transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; scroll-snap-align: start; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
  .tabs button[aria-pressed="true"] { box-shadow: 0 8px 18px -10px rgba(27,29,34,.7); }
}
/* portfolio filters on phones: every filter visible, in an even two-column grid (replaces the swipe row) */
@media (max-width: 760px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; margin: 0 0 28px; padding: 0;
    -webkit-mask-image: none; mask-image: none; scroll-snap-type: none; }
  .tabs button { width: 100%; min-height: 46px; padding: 9px 10px; font-size: 13.5px; line-height: 1.25; white-space: normal; text-align: center; scroll-snap-align: none; }
  .tabs button:first-child { grid-column: 1 / -1; }
}

/* portfolio sliders that show one slide at a time: each slide keeps its own height and the slider
   eases to the height of the slide on screen (set by site.js), so there are no empty bands around short slides */
.reel-track.is-single { align-items: start; transition: height .45s var(--ease); overflow-y: hidden; }
@media (prefers-reduced-motion: reduce) { .reel-track.is-single { transition: none; } }

/* =================== services area bar: a floating glass pill that matches the header =================== */
.sv-nav, .sv-nav.is-stuck {
  top: calc(var(--header) + 8px); padding: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none;
}
.sv-nav > .wrap {
  pointer-events: auto; position: relative; isolation: isolate;
  width: min(calc(100% - 32px), var(--wrap)); max-width: none; margin: 0 auto; padding: 0 8px; box-sizing: border-box;
}
.sv-nav > .wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.8));
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(255,255,255,.75), 0 0 0 1px rgba(7,20,66,.05), inset 0 1px 0 rgba(255,255,255,.95), 0 14px 36px -18px rgba(7,20,66,.4);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sv-nav > .wrap::before { background: rgba(255,255,255,.97); } }
.sv-nav-track { padding: 7px 0; justify-content: space-between; border-radius: 999px; }
.sv-nav a { padding: 7px 16px 7px 8px; }
.sv-nav a:hover { background: rgba(7,20,66,.05); }
.sv-group, .sv-feature { scroll-margin-top: calc(var(--header) + 86px); }
@media (max-width: 960px) { .sv-nav-track { justify-content: flex-start; } }
@media (max-width: 640px) {
  .sv-nav, .sv-nav.is-stuck { top: calc(var(--header) + 6px); }
  .sv-nav > .wrap { width: calc(100% - 20px); padding: 0 5px; }
  .sv-nav-track { padding: 5px 0; gap: 2px; }
  .sv-nav a { padding: 6px 12px 6px 6px; }
}
/* the bar takes no room of its own: it floats over the top of the first area, so no grey strip shows beside the pill */
.sv-nav { height: 0; margin-top: 18px; }
.sv-nav + .sv-body > .sv-group:first-child { padding-top: calc(clamp(56px, 7vw, 104px) + 52px); }
@media (max-width: 640px) { .sv-nav { margin-top: 12px; } .sv-nav + .sv-body > .sv-group:first-child { padding-top: calc(56px + 40px); } }

/* hero logo glow: its own soft gradient layer, not a CSS filter on the 3D-tilted logo
   (iPhone Safari drew the filter's box as a visible square around the mark) */
.hero-mark { filter: none; }
.hero-glow {
  position: absolute; left: 0; top: 0; width: 0; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--ms, 1)); opacity: var(--mo, 0);
  background: radial-gradient(closest-side, rgba(22,119,255,.42), rgba(22,119,255,.2) 45%, rgba(22,119,255,.07) 72%, rgba(22,119,255,0));
}

/* =================== team: dark crew cards (about page) =================== */
.team { grid-template-columns: repeat(4, 1fr); max-width: none; gap: clamp(14px, 1.8vw, 24px); align-items: start; padding-bottom: 44px; }
.member { position: relative; }
@media (min-width: 861px) { .member:nth-child(even) { transform: translateY(44px); } }   /* staggered row */
.member-photo {
  position: relative; aspect-ratio: 31/40; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #0b2a7a, var(--navy)); color: #fff;
  box-shadow: 0 0 0 1px rgba(7,20,66,.08), 0 22px 44px -30px rgba(7,20,66,.7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.member-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 20%; border-radius: 0; z-index: -2;
  transition: transform .8s var(--ease), filter .5s; }
.member-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,13,51,0) 45%, rgba(5,13,51,.55) 70%, rgba(5,13,51,.94) 100%),
              radial-gradient(90% 50% at 50% 115%, rgba(22,119,255,.55), transparent 70%); }
/* thin blue corner brackets, like the home page banner */
.member-frame { position: absolute; inset: 12px; pointer-events: none; opacity: .55; transition: inset .5s var(--ease), opacity .4s; }
.member-frame i { position: absolute; width: 16px; height: 16px; border: 0 solid #7da0ff; }
.member-frame i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 6px; }
.member-frame i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 6px; }
.member-frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 6px; }
.member-frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 6px; }
.member-n { position: absolute; top: 18px; left: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.85); text-shadow: 0 2px 18px rgba(5,13,51,.35); transition: color .4s; }
.member-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 24px; }
.member-cap h3 { margin: 0; color: #fff; font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -.01em; }
.member-cap p { display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: var(--t-xs); font-weight: 600; color: #fff;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.member-photo .socials { position: absolute; top: 16px; right: 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.member-photo .socials a { width: 40px; height: 40px; min-width: 0; min-height: 0; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, transform .45s var(--ease), opacity .45s var(--ease); }
.member-photo .socials a:hover, .member-photo .socials a:focus-visible { background: var(--blue); box-shadow: none; }
.member-photo .socials svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .member-photo .socials a { opacity: 0; transform: translateX(16px); }
  .member-photo .socials a:nth-child(2) { transition-delay: .05s; } .member-photo .socials a:nth-child(3) { transition-delay: .1s; }
  .member:hover .member-photo .socials a, .member:focus-within .member-photo .socials a { opacity: 1; transform: none; }
  .member:hover .member-photo { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(22,119,255,.35), 0 30px 60px -28px rgba(22,119,255,.75); }
  .member:hover .member-photo > img { transform: scale(1.05); }
  .member:hover .member-frame { inset: 8px; opacity: 1; }
  .member:hover .member-n { color: rgba(255,255,255,.95); }
}
/* the "+12" card */
.member--more .member-photo { background: radial-gradient(80% 60% at 70% 20%, rgba(22,119,255,.55), transparent 70%), linear-gradient(180deg, #0b2a7a, #050d33); }
.member--more .member-photo::after { display: none; }
.member-more-mark { position: absolute; width: 58%; height: auto; top: 16%; left: 50%; transform: translateX(-50%) rotate(-8deg); opacity: .9; z-index: -1;
  transition: transform .8s var(--ease); }
.member--more:hover .member-more-mark { transform: translateX(-50%) rotate(0deg) scale(1.06); }
.member-more-n { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3rem, 5vw, 4.2rem); line-height: .9; color: #fff; }
.member--more .member-cap p { display: block; padding: 0; margin-top: 8px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  font-size: var(--t-sm); font-weight: 400; color: rgba(255,255,255,.78); line-height: 1.45; }
.member-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: var(--t-sm); font-weight: 600; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(22,119,255,.95); transition: background .25s, gap .25s; }
.member-more-link:hover { background: #fff; color: var(--navy); gap: 12px; }
.member-more-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) and (min-width: 861px) { .member-cap { padding: 18px; } .member-n { left: 18px; } }
@media (max-width: 860px) { .team { padding-bottom: 10px; } .member { flex: 0 0 min(76%, 300px); } }
@media (prefers-reduced-motion: reduce) { .member-photo, .member-photo > img, .member-frame, .member-more-mark { transition: none; } }
.member-more-mark { width: 44%; top: 13%; left: auto; right: 12%; transform: rotate(-8deg); opacity: .95; filter: none; }
.member--more:hover .member-more-mark { transform: rotate(0deg) scale(1.06); }
.member-photo > .member-more-mark { inset: auto; top: 13%; right: 12%; left: auto; width: 44%; height: auto; object-fit: contain; background: none; z-index: -1;
  transform: rotate(-8deg); filter: none; }
.member--more:hover .member-photo > .member-more-mark { transform: rotate(0deg) scale(1.06); }
.member:not(.member--more) .member-photo::after {
  background: linear-gradient(180deg, rgba(5,13,51,.42) 0%, rgba(5,13,51,0) 24%, rgba(5,13,51,0) 45%, rgba(5,13,51,.55) 70%, rgba(5,13,51,.94) 100%),
              radial-gradient(90% 50% at 50% 115%, rgba(22,119,255,.55), transparent 70%);
}

/* =================== contact hero: growth hub (six services wired into the H) =================== */
.ct-hub { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; isolation: isolate; }
.ct-hub::before { content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22,119,255,.32), rgba(22,119,255,.08) 60%, transparent); }
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-svg * { fill: none; vector-effect: non-scaling-stroke; }
.hub-hex { stroke: rgba(125,160,255,.22); stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; }
.hub-ring { stroke: rgba(125,160,255,.28); stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; transform-origin: 50% 50%; animation: ctSpin 40s linear infinite; }
.hub-line { stroke: rgba(125,160,255,.3); stroke-width: 1.2; }
.hub-signal { stroke: #9fbcff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 12;
  filter: drop-shadow(0 0 3px rgba(125,160,255,.9)); animation: hubFlow 3.3s cubic-bezier(.45,0,.2,1) infinite; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes hubFlow { 0% { stroke-dashoffset: 12; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: -92; opacity: 0; } }

/* the H in a glass tile, with a turning light edge */
.hub-core { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; translate: -50% -50%; border-radius: 30%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2147a8, #0a1647 75%);
  box-shadow: inset 0 0 0 1px rgba(160,190,255,.45), inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 10px rgba(22,119,255,.08), 0 0 70px rgba(22,119,255,.6); }
.hub-core::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--hub-a, 0deg), transparent 0 62%, #9fbcff 80%, transparent 96%);
  -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: hubEdge 4s linear infinite; }
@property --hub-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hubEdge { to { --hub-a: 360deg; } }
.hub-core img { position: relative; width: 50%; height: auto; }
.hub-wave { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(159,188,255,.7); animation: hubWave 3.3s var(--ease) infinite; }
@keyframes hubWave { 0%, 60% { transform: scale(1); opacity: 0; } 70% { opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* the six service cards */
.hub-node { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px; border-radius: 14px; white-space: nowrap; color: #fff; font-family: var(--f-display); font-size: .82rem; font-weight: 600;
  background: linear-gradient(180deg, rgba(30,58,150,.82), rgba(10,22,71,.86)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(125,160,255,.38), inset 0 1px 0 rgba(255,255,255,.12), 0 14px 30px -14px rgba(0,0,0,.7);
  animation: hubFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s);
  transition: box-shadow .3s, background .3s; }
.hub-node:hover { background: linear-gradient(180deg, #1f5fe0, #1240b0); box-shadow: inset 0 0 0 1px rgba(190,210,255,.6), 0 16px 34px -12px rgba(22,119,255,.8); }
@keyframes hubFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hub-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #3b8bff, #1250e6); box-shadow: 0 4px 12px -4px rgba(22,119,255,.9); }
.hub-ico svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-caption { position: absolute; left: 50%; bottom: -2%; translate: -50% 0; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: rgba(190,210,255,.6); white-space: nowrap; }
@media (max-width: 960px) { .ct-hub { width: min(86%, 400px); order: -1; margin-top: 8px; margin-bottom: 24px; } }
@media (max-width: 640px) { .ct-hub { display: none; } }
@media (prefers-reduced-motion: reduce) { .hub-ring, .hub-signal, .hub-core::before, .hub-wave, .hub-node { animation: none; } .hub-signal { opacity: 0; } }
/* the signal measures its dash along the path (pathLength 100), so it keeps normal stroke scaling: one pulse per line */
.hub-svg .hub-signal { vector-effect: none; stroke-width: .6; stroke-dasharray: 8 92; }

/* =================== labels and badges: no glass pills or glowing dots =================== */
/* section labels: plain text led by two slanted blades, the same angle as the H Byte mark */
.hx-kicker, .sv-kicker, .sv-kicker--dark {
  padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  gap: 12px; font: 600 13px var(--f-display); letter-spacing: .02em; text-transform: none;
}
.hx-kicker { color: #cfe0ff; }
.sv-kicker { color: rgba(255,255,255,.82); }
.sv-kicker--dark { color: var(--blue); }
.hx-kicker i, .sv-kicker i, .sv-kicker--dark i {
  width: 15px; height: 12px; border-radius: 0; box-shadow: none; animation: none; flex: none;
  background: linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px, currentColor 9px 14px);
  transform: skewX(-24deg); opacity: .95;
}
.hx-kicker i { color: #4d94ff; } .sv-kicker i { color: #7da0ff; } .sv-kicker--dark i { color: var(--blue); }

/* open / closed: a short note, the state word in the serif with a hand-drawn underline */
.ct-status {
  padding: 0; border-radius: 0; background: none; box-shadow: none; gap: 0;
  font: 400 var(--t-md) var(--f-body); color: rgba(255,255,255,.72);
}
.ct-status i { display: none; }
.ct-status .st-word {
  position: relative; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45em; line-height: 1; color: #fff;
  margin-right: .2em; padding-bottom: 4px;
  background: no-repeat left bottom / 100% 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4.5C9 2 15 6 23 3.6S36 2 44 4.4 54 3 59 2.6' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ct-status.is-closed .st-word {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 7' preserveAspectRatio='none'%3E%3Cpath d='M1 4.5C9 2 15 6 23 3.6S36 2 44 4.4 54 3 59 2.6' fill='none' stroke='%23f5a524' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* "Live website": a square label tag with an arrow, like a sticker on the screenshot */
.web-chip {
  gap: 6px; padding: 6px 9px 6px 11px; border-radius: 4px; background: #0a1238; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 6px 16px -8px rgba(5,13,51,.7); font: 600 11px var(--f-display); letter-spacing: .04em; text-transform: uppercase;
  transition: background .25s, gap .25s;
}
.web-chip i { display: none; }
.web-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.web-stage:hover .web-chip { background: var(--blue); gap: 9px; }
@media (max-width: 860px) { .web-chip { padding: 5px 7px 5px 9px; font-size: 10px; } }
/* about banner caption: plain type-written line under the pixel logo, no pill */
.hx-cap { padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx-cap b::before { content: "["; color: rgba(207,224,255,.45); font-weight: 400; } .hx-cap b::after { content: "]"; color: rgba(207,224,255,.45); font-weight: 400; }

/* =================== contact hero: line-drawing dial (replaces the glossy hub) =================== */
.ct-dial { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; color: #cfe0ff; }
.dial-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-svg * { fill: none; vector-effect: non-scaling-stroke; }
.dial-ring { stroke: rgba(207,224,255,.42); stroke-width: 1; }
.dial-ring--in { stroke: rgba(207,224,255,.16); stroke-dasharray: 1 4; }
.dial-ticks line { stroke: rgba(207,224,255,.28); stroke-width: 1; }
.dial-ticks line.lg { stroke: rgba(207,224,255,.6); }
.dial-ticks { transform-origin: 50% 50%; animation: ctSpin 120s linear infinite; }
.dl path { stroke: rgba(207,224,255,.55); stroke-width: 1; stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: dialDraw 1.1s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(.35s + var(--i) * .12s); transition: stroke .3s; }
.dl circle { fill: #cfe0ff; stroke: none; }
@keyframes dialDraw { to { stroke-dashoffset: 0; } }
.dial-mark { position: absolute; left: 50%; top: 50%; width: 21%; height: auto; translate: -50% -50%; }

/* the services, written like notes on a drawing */
.dial-label { position: absolute; translate: 0 -50%; display: grid; gap: 1px; white-space: nowrap; line-height: 1.05;
  font-family: var(--serif); font-style: italic; font-size: 5.1cqw; color: #fff;
  opacity: 0; animation: dialIn .6s var(--ease) forwards; animation-delay: calc(1s + var(--i) * .12s); }
.dial-label small { font-family: var(--f-display); font-style: normal; font-size: 2.3cqw; font-weight: 600; letter-spacing: .08em; color: #7da0ff; }
.dial-label--l { text-align: right; }
@keyframes dialIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dial-note { position: absolute; left: 0; right: 0; bottom: 3%; text-align: center; margin: 0;
  font-family: var(--serif); font-style: italic; font-size: 3.6cqw; color: rgba(207,224,255,.62); }
@media (max-width: 960px) { .ct-dial { width: min(92%, 440px); order: -1; margin-top: 8px; } }
@media (max-width: 640px) { .ct-dial { display: none; } }
@media (prefers-reduced-motion: reduce) { .dial-ticks { animation: none; } .dl path { animation: none; stroke-dashoffset: 0; } .dial-label { animation: none; opacity: 1; } }
.dial-svg .dl path { vector-effect: none; stroke-width: .22; }
main .ct-dial .dial-note { text-align: center !important; text-align-last: center !important; }

/* home banner layers: glow at the back, then the H, then the canvas (star, sparks, particles) in front of the H */
.space-stage { isolation: isolate; }
.hero-glow { z-index: 0; }
.hero-mark { z-index: 1; }
.space-canvas { z-index: 2; }
.vh-frame { z-index: 3; }
