/* =========================================================
   PenXtool. light theme
   Ink #010052 · Cyan #4ADEDE · Azure #007FFF · Volt #021BF9
   Display font: Owners XWide (drop licensed files in /assets/fonts),
   falls back to Owners XWide Expanded from Google Fonts.
   ========================================================= */
:root {
  --ink: #010052; --cyan: #4adede; --azure: #007fff; --volt: #021bf9;
  --white: #ffffff; --soft: #f4f6fc; --soft-2: #eef1fb;
  --muted: #4a4a7c; --faint: #9a9cc4; --line: #e3e5f2;
  --f-display: "Owners XWide", "Owners XWide", system-ui, sans-serif;
  --f-body: "Owners XWide", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px; --gutter: clamp(20px, 4vw, 56px); --sec: clamp(112px, 13vw, 200px);
  --r-md: 18px; --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; } button { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 500; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* Type */
h1, h2, h3 { font-family: var(--f-display); font-stretch: normal; font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 120px); }
h2 { font-size: clamp(34px, 4.8vw, 66px); }
h3 { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; max-width: 40ch; }
.muted { color: var(--muted); }
.kicker { font-size: 15px; font-weight: 600; color: var(--volt); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px) rotate(-45deg); }
.btn--cyan { --bg: var(--cyan); --fg: var(--ink); }
.btn--white { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::after { background: var(--ink); }
.link-line { font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size .4s var(--ease); }
.link-line:hover { background-size: 0% 2px; background-position: 100% 100%; }

/* Header. floating light glass pill */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: 14px; color: var(--ink); transition: transform .45s var(--ease); }
.site-header .wrap { height: 68px; display: flex; align-items: center; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; height: 64px; padding: 0 10px 0 22px; border-radius: 999px; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.site-header.is-scrolled .bar { background: rgba(255, 255, 255, .74); border-color: rgba(1, 0, 82, .08); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 12px 40px -24px rgba(1, 0, 82, .35), inset 0 1px 0 #fff; }
.site-header.is-hidden { transform: translateY(-120%); }
.brand { display: inline-flex; align-items: center; } .brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 16px; border-radius: 999px; position: relative; transition: background .25s, color .25s; }
.nav a:hover { background: rgba(1, 0, 82, .05); }
.nav a[aria-current="page"] { color: var(--volt); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--volt); border-radius: 50%; }
.header-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(1, 0, 82, .06); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: #fff; color: var(--ink); padding: 88px 24px 32px; display: flex; flex-direction: column; justify-content: space-between; transform: translateX(100%); transition: transform .35s ease; visibility: hidden; }
.menu-open .mobile-menu { transform: none; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--f-body); font-weight: 600; font-size: 18px; text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--volt); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; } .menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu .mm-foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.mobile-menu .mm-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (max-width: 960px) { .nav, .header-cta { display: none; } .menu-btn { display: block; } .site-header .bar { padding: 0 8px 0 18px; } }

/* Sections */
.section { padding-block: var(--sec); position: relative; }
.section--soft, .section--paper, .section--ink { background: var(--soft); }
.section--light { background: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-bottom: clamp(56px, 7vw, 104px); }
.sec-head p { max-width: 44ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* 3D hero (light) */
.hero3d { position: relative; background: var(--soft); color: var(--ink); overflow: hidden; }
.hero3d-stage { position: relative; height: clamp(560px, 94svh, 1040px); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.hero3d.webgl-ready #scene { opacity: 1; }
.hero3d-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.hero3d-fallback .word { position: absolute; font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: 16vw; letter-spacing: -0.03em; color: var(--ink); line-height: 1; white-space: nowrap; }
.hero3d-fallback svg { position: relative; width: min(56vh, 70vw); height: auto; }
.hero3d-fallback .s1 { fill: rgba(74, 222, 222, .8); } .hero3d-fallback .s2 { fill: rgba(0, 127, 255, .75); } .hero3d-fallback .s3 { fill: rgba(2, 27, 249, .75); }
.hero3d.no-webgl .hero3d-fallback, .no-js .hero3d-fallback { display: grid; }
.hero3d-chrome { position: absolute; inset: auto 0 calc(48px + 40px) 0; z-index: 2; pointer-events: none; }
.hero3d-chrome .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 14px; color: var(--muted); }
.hint-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(1, 0, 82, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 10px 30px -18px rgba(1, 0, 82, .3); }
.hint-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(2, 27, 249, .45); } 70% { box-shadow: 0 0 0 10px rgba(2, 27, 249, 0); } 100% { box-shadow: 0 0 0 0 rgba(2, 27, 249, 0); } }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--volt), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.hero-panel { position: relative; z-index: 3; background: #fff; border-radius: 36px 36px 0 0; margin-top: -48px; padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); box-shadow: 0 -30px 60px -40px rgba(1, 0, 82, .22); }
.hero-panel-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.hero-panel h1 { font-size: clamp(42px, 6.4vw, 100px); line-height: .98; }
.hero-panel h1 .soft { color: var(--faint); display: block; }
.hero-panel h1 .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-panel h1 .line > span { display: inline-block; }
.js .hero-panel h1 .line > span { animation: rise 1.1s var(--ease) .5s both; }
.js .hero-panel h1 .line:nth-child(2) > span { animation-delay: .62s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-panel .lede { color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats-inline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stats-inline > div { padding: 26px 20px 0 0; }
.stats-inline > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--f-display); font-stretch: normal; font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; }
.stat-label { color: var(--muted); font-size: 15px; margin-top: 8px; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes s-in-1 { from { transform: translate(-30%, 30%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s-in-2 { from { transform: translate(-40%, -40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s-in-3 { from { transform: translate(40%, 40%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) {
  .hero-panel-grid { grid-template-columns: 1fr; }
  .stats-inline { grid-template-columns: 1fr 1fr; }
  .stats-inline > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats-inline > div:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
  .hero3d-chrome .scroll-cue { display: none; }
}

/* Marquee */
.marquee { background: #fff; padding: 44px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.marquee-track { display: flex; width: max-content; gap: 80px; align-items: center; animation: scroll-x 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 38px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* Glass surfaces (light) with pointer spotlight */
.glass { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; background: rgba(255, 255, 255, .8); border: 1px solid rgba(1, 0, 82, .07); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -46px rgba(1, 0, 82, .35); }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(2, 27, 249, .07), transparent 45%); opacity: 0; transition: opacity .4s; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(2, 27, 249, .45), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s; }
.glass:hover::before, .glass:hover::after { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }

/* Bento */
.bento-sec { background: #fff; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.cell { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; }
.bento .glass { background: var(--soft); box-shadow: none; }
.cell-tag { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.cell-tag svg { width: 12px; height: 12px; color: var(--volt); }
.c-big { grid-column: span 7; grid-row: span 2; justify-content: space-between; min-height: 440px; }
.c-big .bignum { font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: clamp(64px, 10vw, 156px); line-height: .9; letter-spacing: -0.03em; color: var(--ink); }
.c-big p { color: var(--muted); max-width: 36ch; margin-top: 16px; }
.c-quote { grid-column: span 5; justify-content: space-between; gap: 24px; }
.c-quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.c-quote cite { font-style: normal; color: var(--muted); font-size: 15px; }
.c-stack { grid-column: span 5; gap: 20px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stack span { padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s, transform .4s var(--ease); }
.stack span:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.c-svc { grid-column: span 3; justify-content: space-between; text-decoration: none; min-height: 240px; }
.c-svc h3 { font-size: clamp(20px, 1.7vw, 24px); margin-top: 18px; }
.c-svc p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.c-svc .go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, transform .5s var(--ease); align-self: flex-end; margin-top: 18px; }
.c-svc .go svg { width: 18px; height: 18px; }
.c-svc:hover .go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.c-loc { grid-column: span 3; justify-content: space-between; }
.c-loc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.c-loc li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.c-loc li span:last-child { color: var(--muted); }
.c-contact { grid-column: span 3; justify-content: space-between; text-decoration: none; background: var(--ink) !important; color: #fff; border-color: transparent !important; }
.c-contact .cell-tag, .c-contact .cell-tag svg { color: var(--cyan); }
.c-contact h3 { font-size: clamp(24px, 2.4vw, 34px); }
.c-contact::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(74, 222, 222, .25), transparent 45%); }
.orb { display: none; }
@media (max-width: 1060px) { .c-big, .c-quote, .c-stack { grid-column: span 12; } .c-svc, .c-contact, .c-loc { grid-column: span 6; } }
@media (max-width: 640px) { .c-svc, .c-contact, .c-loc { grid-column: span 12; } .c-big { min-height: 340px; } }

/* Services columns (home) */
.cols { display: flex; height: clamp(560px, 72vh, 740px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.col { position: relative; flex: 1 1 0; min-width: 0; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; transition: flex-grow .9s var(--ease), background .5s; overflow: hidden; }
.col:first-child { border-left: 0; }
.col.active { flex-grow: 3.4; background: var(--soft); }
.col-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); flex-shrink: 0; }
.col-ico svg { width: 20px; height: 20px; }
.col-media { position: absolute; left: 24px; right: 24px; top: 98px; bottom: 214px; border-radius: 20px; overflow: hidden; clip-path: inset(100% 0 0 0 round 20px); transition: clip-path .9s var(--ease) .05s; }
.col-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.col.active .col-media { clip-path: inset(0 0 0 0 round 20px); }
.col.active .col-media img { transform: scale(1); }
.col-body { position: relative; }
.col-body h3 { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.15; transition: font-size .6s var(--ease); }
.col.active .col-body h3 { font-size: clamp(24px, 2.4vw, 36px); }
.col-body p { color: var(--muted); max-width: 44ch; margin-top: 12px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.col.active .col-body p { max-height: 120px; opacity: 1; transition-delay: .25s; }
.col-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-top: 16px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.col-more svg { width: 16px; height: 16px; }
.col.active .col-more { opacity: 1; transform: none; transition-delay: .35s; }
@media (max-width: 960px) {
  .cols { flex-direction: column; height: auto; }
  .col { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .col:first-child { border-top: 0; }
  .col.active { background: transparent; }
  .col-media { position: relative; inset: auto; height: 230px; margin: 20px 0; clip-path: none; }
  .col-media img { transform: none; }
  .col-body p, .col-more { max-height: none; opacity: 1; transform: none; }
  .col-body h3 { font-size: 24px !important; }
}

/* Commitments */
.commit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.commit-sticky { position: sticky; top: 140px; }
.commit-items { display: flex; flex-direction: column; gap: 16px; }
.commit { background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.commit .glyph { width: 56px; height: 56px; border-radius: 16px; background: var(--soft-2); color: var(--volt); display: grid; place-items: center; }
.commit .glyph svg { width: 26px; height: 26px; }
.commit h3 { margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.pill svg { width: 16px; height: 16px; color: var(--volt); }
@media (max-width: 860px) { .commit-grid { grid-template-columns: 1fr; } .commit-sticky { position: static; } }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.proj { text-decoration: none; display: flex; flex-direction: column; gap: 20px; }
.proj:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.proj-frame { border-radius: var(--r-lg); overflow: hidden; background: #fff; position: relative; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(1, 0, 82, .4); }
.proj-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--soft); }
.proj-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cbe0; }
.proj-shot { aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; }
.proj-shot img { width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; transition: transform 6s cubic-bezier(.45, .05, .35, 1); }
.proj:hover .proj-shot img, .proj:focus-visible .proj-shot img { transform: translateY(calc(-100% + var(--frame-h, 400px))); }
.proj-shot.static img { height: 100%; transition: transform .8s var(--ease); }
.proj:hover .proj-shot.static img { transform: scale(1.04); }
.proj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.proj-meta span { font-size: 15px; color: var(--muted); }
.proj-hint { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; transition: opacity .3s, transform .4s var(--ease); }
.proj:hover .proj-hint { opacity: 0; transform: translateY(8px); }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } .proj:nth-child(even) { margin-top: 0; } }

/* Testimonials */
.quotes { position: relative; }
.quote-track { display: flex; transition: transform .8s var(--ease); }
.quote-slide { min-width: 100%; padding-right: 4px; }
.quote-slide blockquote { margin: 0; font-family: var(--f-display); font-stretch: normal; font-weight: 500; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -0.01em; max-width: 28ch; }
.quote-slide blockquote.long { font-size: clamp(19px, 2vw, 28px); max-width: 44ch; line-height: 1.38; }
.quote-by { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.quote-by .av { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--cyan); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.quote-by strong { display: block; }
.stars { color: var(--volt); letter-spacing: 2px; font-size: 14px; }
.quote-nav { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.quote-nav button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.quote-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.quote-nav svg { width: 20px; height: 20px; }
.quote-count { font-variant-numeric: tabular-nums; margin-left: 12px; color: var(--muted); }
.quote-mark { position: absolute; right: 0; top: -20px; width: clamp(80px, 12vw, 160px); color: var(--cyan); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.member { margin: 0; }
.member-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--soft); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform .9s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.member-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.member:hover .member-photo::after { transform: scaleX(1); }
.member figcaption { padding-top: 18px; }
.member figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; }
.faq-q .pm { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 12px; right: 12px; top: 18px; height: 2px; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .pm::before, .faq-q[aria-expanded="true"] .pm::after { background: #fff; }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 64px 28px 0; color: var(--muted); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: #fff; color: var(--ink); overflow: hidden; position: relative; border-top: 1px solid var(--line); }
.cta-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(40px, 7vw, 104px); max-width: 11ch; }
.cta-band .big-x { position: absolute; right: -6%; top: -30%; width: 46%; color: var(--cyan); opacity: .25; }

/* Footer */
.site-footer { background: var(--soft); color: var(--ink); padding-top: clamp(80px, 9vw, 128px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; transition: color .2s; }
.foot-grid a:hover { color: var(--volt); }
.foot-about p { color: var(--muted); max-width: 36ch; margin-top: 20px; }
.foot-about img { height: 26px; width: auto; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.foot-word { font-family: var(--f-display); font-stretch: normal; font-weight: 700; line-height: .8; font-size: clamp(64px, 17.5vw, 268px); letter-spacing: -0.03em; white-space: nowrap; margin-top: clamp(56px, 7vw, 96px); color: transparent; -webkit-text-stroke: 1px rgba(1, 0, 82, .14); user-select: none; text-align: center; transform: translateY(12%); }
.foot-bottom { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: 14px; color: var(--muted); position: relative; z-index: 1; background: var(--soft); }
.foot-bottom a { text-decoration: none; } .foot-bottom a:hover { color: var(--volt); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* Inner page hero */
.page-hero { background: var(--soft); color: var(--ink); padding: clamp(170px, 18vw, 240px) 0 clamp(72px, 8vw, 120px); position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(1, 0, 82, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 0, 82, .05) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse 70% 70% at 75% 60%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 60%, #000 20%, transparent 75%); }
.page-hero .crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.page-hero .crumbs a { text-decoration: none; } .page-hero .crumbs a:hover { color: var(--volt); }
.page-hero h1 { font-size: clamp(44px, 9vw, 136px); }
.page-hero .lede { margin-top: 28px; color: var(--muted); max-width: 46ch; }
.mini-x { position: absolute; right: var(--gutter); bottom: -12%; width: clamp(160px, 26vw, 380px); }
.mini-x svg { width: 100%; height: auto; }
.mini-x .s { transform-box: fill-box; transform-origin: center; }
.js .page-hero h1 { animation: fade 1s var(--ease) both; }
.js .page-hero .lede { animation: fade 1s var(--ease) .12s both; }
.js .mini-x .s1 { animation: s-in-1 1.2s var(--ease) .1s both; }
.js .mini-x .s2 { animation: s-in-2 1s var(--ease) .3s both; }
.js .mini-x .s3 { animation: s-in-3 1s var(--ease) .4s both; }
.updated { display: inline-block; background: rgba(1, 0, 82, .06); padding: 8px 14px; border-radius: 999px; font-size: 14px; margin-top: 24px; }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.svc-toc { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 4px; }
.svc-toc a { text-decoration: none; padding: 12px 16px; border-radius: 12px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 12px; transition: background .25s, color .25s; }
.svc-toc a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .25s, transform .35s var(--ease); }
.svc-toc a:hover, .svc-toc a.active { color: var(--ink); background: var(--soft); }
.svc-toc a.active::before { background: var(--volt); transform: scale(1.3); }
.svc-block { padding-bottom: clamp(80px, 9vw, 130px); margin-bottom: clamp(80px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.svc-block-head .kicker { margin-bottom: 14px; }
.svc-block-head h2 { font-size: clamp(30px, 3.8vw, 52px); }
.svc-block-head p { margin-top: 20px; color: var(--muted); }
.svc-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--soft); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block:hover .svc-img img { transform: scale(1.04); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--soft); border-radius: var(--r-md); padding: 28px; }
.feat h3 { font-size: 19px; margin-bottom: 10px; font-stretch: normal; }
.feat p { color: var(--muted); font-size: 16px; }
.benefits { margin-top: 24px; background: var(--soft-2); border-radius: var(--r-md); padding: 32px; }
.benefits h3 { font-size: 19px; margin-bottom: 18px; font-stretch: normal; }
.benefits ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.benefits li { display: flex; gap: 12px; color: var(--muted); }
.benefits li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--volt); margin-top: 3px; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-toc { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .svc-toc a { white-space: nowrap; } .svc-block-head { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .feat-grid, .benefits ul { grid-template-columns: 1fr; } }

/* About page */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv { border-radius: var(--r-lg); padding: clamp(32px, 4vw, 56px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mv--ink { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.mv--ink .tag { color: var(--volt) !important; }
.mv--cyan { background: #e3f9f9; color: var(--ink); }
.mv .tag { font-weight: 600; font-size: 15px; }
.mv h3 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; }
.mv p { color: var(--muted); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; border-radius: 4px; }
.value { padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.value:hover { background: var(--soft-2); }
.value h3 { font-size: 20px; font-stretch: normal; margin-bottom: 10px; }
.value p { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat-row > div { padding: 32px 24px 8px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row .stat-num { font-size: clamp(34px, 4.4vw, 62px); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; } }
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 16/9; display: grid; place-items: center; padding: 24px; background: #fff; }
.logo-wall img { max-height: 42px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-wall div:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.office { border-top: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 22px; margin-bottom: 10px; }
.office address { font-style: normal; color: var(--muted); }
.office .soon { display: inline-block; font-size: 13px; font-weight: 600; background: var(--cyan); color: var(--ink); padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; font-family: var(--f-body); }
.map { align-self: start; }
.direct { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.direct a { font-family: var(--f-display); font-stretch: normal; font-weight: 500; font-size: clamp(20px, 2vw, 26px); text-decoration: none; transition: color .25s; }
.direct a:hover { color: var(--volt); }
.form-card { background: var(--soft); color: var(--ink); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.form-card h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
.form-card > p { color: var(--muted); margin-bottom: 32px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .form fieldset legend { font-size: 14px; font-weight: 600; color: var(--muted) !important; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 52px; transition: border-color .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); }
.field .err { font-size: 13px; color: #c0392b; }
.field.invalid input, .field.invalid textarea { border-color: #e06666; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: all .25s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 24px; }
.form-status.ok { color: #0b7a6d; } .form-status.bad { color: #c0392b; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 72ch); gap: clamp(40px, 6vw, 104px); }
.legal-toc { position: sticky; top: 130px; align-self: start; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legal-toc a { color: var(--muted); text-decoration: none; } .legal-toc a:hover { color: var(--volt); }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 56px 0 16px; font-stretch: normal; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 28px 0 10px; font-stretch: normal; }
.legal-body p, .legal-body li, .legal-body dd { color: var(--muted); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 20px; margin: 14px 0; } .legal-body li + li { margin-top: 8px; }
.legal-body dl { margin: 14px 0; } .legal-body dt { font-weight: 600; margin-top: 14px; } .legal-body dd { margin: 4px 0 0; }
.legal-body a { color: var(--volt); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--soft); color: var(--ink); padding: 120px var(--gutter); }
.nf .num { font-family: var(--f-display); font-stretch: normal; font-weight: 700; font-size: clamp(120px, 26vw, 360px); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--volt); }
.nf p { color: var(--muted); margin: 16px auto 32px; max-width: 40ch; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].in > *:nth-child(2) { transition-delay: .08s; } .js [data-reveal-stagger].in > *:nth-child(3) { transition-delay: .16s; } .js [data-reveal-stagger].in > *:nth-child(4) { transition-delay: .24s; } .js [data-reveal-stagger].in > *:nth-child(5) { transition-delay: .32s; } .js [data-reveal-stagger].in > *:nth-child(6) { transition-delay: .4s; } .js [data-reveal-stagger].in > *:nth-child(7) { transition-delay: .48s; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--volt); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.page-cover { position: fixed; inset: 0; background: #fff; z-index: 300; pointer-events: none; transition: transform .7s var(--ease); display: grid; place-items: center; }
.page-cover svg { width: 64px; height: 64px; }
.page-cover.out { transform: translateY(-100%); }
.page-cover.in { transform: translateY(0); transition-duration: .5s; }
.no-js .page-cover { display: none; }

/* Glass lens cursor */
.lens { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 1.5px solid rgba(1, 0, 82, .75); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), inset 0 0 12px rgba(255, 255, 255, .4); backdrop-filter: blur(1px) brightness(1.08); -webkit-backdrop-filter: blur(1px) brightness(1.08); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s; opacity: 0; }
.lens.on { opacity: 1; }
.lens.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(2, 27, 249, .06); backdrop-filter: blur(3px) brightness(1.1); -webkit-backdrop-filter: blur(3px) brightness(1.1); }
.lens.drag { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255, 255, 255, .25); }
.lens .lbl { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .2s; }
.lens.drag .lbl { opacity: 1; }
@media (hover: none) { .lens { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .page-cover, .lens { display: none; }
}

/* =========================================================
   v4. navy hero/footer frame, colourful light middle
   ========================================================= */
:root { --cyan-tint: #e3f9f9; --azure-tint: #e8f2ff; --volt-tint: #eceeff; }

/* Header: white over dark heroes, light glass pill on scroll */
.logo-on-light { display: none; }
.site-header:not(.is-scrolled) { color: #fff; }
.site-header:not(.is-scrolled) .nav a:hover { background: rgba(255, 255, 255, .1); }
.site-header:not(.is-scrolled) .nav a[aria-current="page"] { color: var(--cyan); }
.site-header:not(.is-scrolled) .nav a[aria-current="page"]::after { background: var(--cyan); }
.site-header:not(.is-scrolled) .header-cta { --bg: var(--cyan); --fg: var(--ink); }
.site-header:not(.is-scrolled) .menu-btn { background: rgba(255, 255, 255, .12); }
.site-header.is-scrolled .logo-on-dark { display: none; }
.site-header.is-scrolled .logo-on-light { display: block; }
.menu-open .site-header { color: var(--ink); }
.menu-open .site-header .logo-on-dark { display: none; }
.menu-open .site-header .logo-on-light { display: block; }
.menu-open .site-header .menu-btn { background: rgba(1, 0, 82, .06); }

/* Dark 3D hero (as before) */
.hero3d { background: var(--ink); color: #fff; }
.hero3d-fallback .word { color: #e6eaff; }
.hero3d-fallback .s1 { fill: rgba(74, 222, 222, .85); } .hero3d-fallback .s2 { fill: rgba(0, 127, 255, .85); } .hero3d-fallback .s3 { fill: rgba(2, 27, 249, .9); }
.hero3d-chrome .wrap { color: #c3c6f0; }
.hint-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.hint-pill .dot { background: var(--cyan); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 222, .6); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 222, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 222, 0); } }
.scroll-cue i { background: linear-gradient(var(--cyan), transparent); }
.scroll-cue i::after { background: #fff; }
.hero-panel { box-shadow: none; }
.hero-panel h1 .soft { color: var(--volt); }

/* Inner page heroes: navy, matching home */
.page-hero { background: var(--ink); color: #fff; }
.page-hero .crumbs, .page-hero .lede { color: #c3c6f0; }
.page-hero .crumbs a:hover { color: var(--cyan); }
.hero-grid { background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); }
.updated { background: rgba(255, 255, 255, .1); color: #fff; }
.nf { background: var(--ink); color: #fff; }
.nf .num { -webkit-text-stroke-color: var(--cyan); }
.nf p { color: #c3c6f0; }
.nf .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.nf .btn--ghost::after { background: #fff; } .nf .btn--ghost:hover { color: var(--ink); }

/* Brand-coloured light sections */
.section--paper { background: var(--azure-tint); }
.section--soft { background: var(--soft); }
.kicker { color: var(--volt); }

/* Bento tiles in brand colours */
.bento .c-big { background: var(--volt); color: #fff; border-color: transparent; }
.bento .c-big .bignum { color: #fff; }
.bento .c-big p { color: rgba(255, 255, 255, .82); }
.bento .c-big .cell-tag, .bento .c-big .cell-tag svg { color: var(--cyan); }
.bento .c-big::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .18), transparent 45%); }
.bento .c-big::after { background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, .8), transparent 60%); }
.bento .c-quote { background: var(--cyan-tint); }
.bento .c-stack { background: var(--azure-tint); }
.bento .c-svc { background: #fff; border-color: var(--line); }
.bento .c-loc { background: var(--volt-tint); }
.bento .c-contact { background: var(--cyan) !important; color: var(--ink); }
.bento .c-contact .cell-tag, .bento .c-contact .cell-tag svg { color: var(--ink); }
.bento .c-contact::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .5), transparent 45%); }

/* Services columns: brand tint on the open column */
.col.active { background: var(--cyan-tint); }
.col.active .col-ico { background: var(--volt); color: #fff; border-color: var(--volt); }
.col-ico { transition: background .4s, color .4s, border-color .4s; }

/* Commitments on azure tint */
.commit .glyph, .section--paper .commit .glyph { background: var(--volt); color: #fff; }
.pill { background: #fff; }
.pill svg { color: var(--volt); }

/* Testimonials on cyan tint */
.quotes-sec { background: var(--cyan-tint); }
.quote-mark { color: var(--volt); opacity: .9; }
.quote-by .av { background: var(--volt); color: #fff; }

/* About: mission volt, vision cyan */
.mv--ink { background: var(--volt); color: #fff; border: 0; }
.mv--ink p { color: rgba(255, 255, 255, .85); }
.mv--ink .tag { color: var(--cyan) !important; }
.mv--cyan { background: var(--cyan); color: var(--ink); }
.mv--cyan p { color: var(--ink); opacity: .85; }
.value:hover { background: var(--cyan-tint); }
.value h3 { color: var(--volt); }
.stat-row .stat-num { color: var(--volt); }
.benefits { background: var(--volt-tint); }
.feat { background: var(--soft); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.feat:hover { background: var(--cyan-tint); border-color: rgba(74, 222, 222, .5); }

/* Forms */
.form-card { background: var(--azure-tint); }
.chip input:checked + span { background: var(--volt); border-color: var(--volt); }

/* CTA band: electric blue */
.cta-band { background: var(--volt); color: #fff; border-top: 0; }
.cta-band .big-x { color: #fff; opacity: .14; }
.cta-band .btn--white { --bg: #fff; --fg: var(--ink); }
.cta-band .btn--white::after { background: var(--cyan); }
.cta-band .btn--white:hover { color: var(--ink); }

/* Footer: navy, mirrors the hero */
.site-footer { background: var(--ink); color: #fff; }
.foot-grid h4, .foot-about p { color: #c3c6f0; }
.foot-grid a:hover { color: var(--cyan); }
.foot-grid li[style] { color: #c3c6f0 !important; }
.socials a { background: transparent; border-color: rgba(255, 255, 255, .18); }
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.foot-word { -webkit-text-stroke: 1px rgba(255, 255, 255, .2); }
.foot-bottom { background: var(--ink); color: #c3c6f0; border-top-color: rgba(255, 255, 255, .14); }
.foot-bottom a:hover { color: var(--cyan); }

/* Cursor lens over dark areas */
.lens.dark { border-color: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(1, 0, 82, .35), inset 0 0 12px rgba(255, 255, 255, .25); }
.lens.dark .lbl { color: #fff; }
.lens.dark.big { background: rgba(74, 222, 222, .12); }
.page-cover { background: var(--ink); }
.progress { background: var(--cyan); }
.hero-panel { color: var(--ink); }

/* =========================================================
   v5. futuristic layer: dot fields, scroll-lit statement,
   pinned horizontal showcase, back-to-top ring
   ========================================================= */
.lens, .hint-pill { display: none !important; }

/* Button hover fix: ghost buttons always readable */
.btn--ghost { --fg: var(--ink); color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--on-dark { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--on-dark::after { background: #fff; }
.btn--on-dark:hover { color: var(--ink); }
.btn--cyan::after { background: #fff; }
.btn--cyan:hover { color: var(--ink); }

/* Dot fields */
[data-dots] { position: relative; isolation: isolate; }
.dots-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; }
[data-dots] > .wrap, [data-dots] > .foot-bottom, [data-dots] > .hs-track, [data-dots] > .hs-head { position: relative; z-index: 1; }
[data-dots="light"] .dots-canvas { mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 30%, transparent 85%); }
.page-hero .dots-canvas { mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); }
.page-hero .hero-grid { display: none; }
.page-hero .mini-x { z-index: 1; }

/* Footer glows */
.site-footer .glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.site-footer .g1 { width: 520px; height: 520px; left: -160px; top: -120px; background: rgba(2, 27, 249, .55); }
.site-footer .g2 { width: 560px; height: 420px; right: -120px; bottom: 60px; background: rgba(74, 222, 222, .22); }
.site-footer .foot-word { position: relative; z-index: 1; }
.cta-band .big-x { z-index: 0; }

/* Scroll-lit statement */
.statement { background: #fff; overflow: hidden; }
.statement p.words { font-family: var(--f-display); font-stretch: normal; font-weight: 600; font-size: clamp(28px, 4.1vw, 62px); line-height: 1.14; letter-spacing: -.015em; max-width: 22ch; }
.words .w { color: var(--ink); opacity: .14; transition: opacity .25s linear, color .3s; }
.words .w.on { opacity: 1; }
.words .w.hl.on { color: var(--volt); }
.float-x { position: absolute; right: -3%; top: 8%; width: clamp(200px, 30vw, 480px); opacity: .9; z-index: 0; pointer-events: none; will-change: transform; }
.float-x svg { width: 100%; height: auto; }
@media (max-width: 760px) { .float-x { opacity: .25; width: 70vw; right: -20vw; } }

/* Pinned horizontal showcase */
.hscroll { position: relative; background: var(--ink); color: #fff; }
.hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; background: radial-gradient(1000px 600px at 70% 60%, rgba(2, 27, 249, .55), transparent 70%), var(--ink); }
.hscroll .kicker { color: var(--cyan); }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.hs-head h2 { font-size: clamp(34px, 4.6vw, 68px); }
.hs-meta { display: flex; align-items: center; gap: 18px; font-variant-numeric: tabular-nums; color: #c3c6f0; }
.hs-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; border-radius: 2px; }
.hs-bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }
.hs-track { display: flex; gap: clamp(20px, 3vw, 44px); padding-inline: var(--gutter); will-change: transform; }
.hs-card { flex: 0 0 min(62vw, 860px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; text-decoration: none; color: #fff; padding: 18px; border-radius: 34px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .4s, border-color .4s; }
.hs-card:hover { border-color: rgba(74, 222, 222, .6); }
.hs-frame { border-radius: 24px; overflow: hidden; background: #0b0d55; border: 1px solid rgba(255, 255, 255, .12); position: relative; height: min(56vh, 540px); }
.hs-frame .bar3 { height: 38px; display: flex; gap: 7px; align-items: center; padding: 0 16px; background: rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hs-frame .bar3 i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.hs-frame .bar3 b { margin-left: 14px; flex: 1; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 400; font-size: 12px; color: #c3c6f0; display: flex; align-items: center; padding-left: 12px; }
.hs-shot { position: absolute; inset: 38px 0 0 0; overflow: hidden; }
.hs-shot img { width: 100%; height: auto; will-change: transform; }
.hs-shot.fit img { height: 100%; object-fit: cover; }
.hs-info { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 10px 10px 0; }
.hs-num { font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: clamp(64px, 8vw, 128px); line-height: .85; color: transparent; -webkit-text-stroke: 1.2px rgba(74, 222, 222, .7); }
.hs-info h3 { font-size: clamp(26px, 2.8vw, 42px); margin-top: 18px; }
.hs-info .cat { display: inline-flex; margin-top: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: #c3c6f0; }
.hs-info .view { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 28px; color: var(--cyan); }
.hs-info .view svg { transition: transform .4s var(--ease); }
.hs-card:hover .view svg { transform: translateX(6px); }
.hs-end { flex: 0 0 min(42vw, 480px); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px; }
.hs-end h3 { font-size: clamp(28px, 3vw, 44px); }
.hs-end p { color: #c3c6f0; }
@media (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hs-sticky { position: relative; height: auto; padding: 96px 0; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 20px; scrollbar-width: none; }
  .hs-card { flex-basis: 86vw; grid-template-columns: 1fr; scroll-snap-align: center; }
  .hs-frame { height: 62vw; }
  .hs-num { font-size: 56px; }
  .hs-end { flex-basis: 76vw; }
  .hs-meta { display: none; }
}

/* Back to top with progress ring */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(1, 0, 82, .85); color: var(--cyan); display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(1, 0, 82, .55); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--volt); color: #fff; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 2; }
.to-top .ring .p { stroke: var(--cyan); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top .arr { width: 18px; height: 18px; position: relative; }

/* Testimonials + CTA sit above dot fields */
.quotes-sec .wrap, .cta-band .wrap { position: relative; z-index: 1; }

/* =========================================================
   Brand-icon morph: a dotted panel shrinks into the PenXtool
   app-icon as you scroll
   ========================================================= */
.morph { position: relative; height: 320vh; background: var(--ink); color: #fff; }
.morph-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(900px 600px at 50% 45%, rgba(2, 27, 249, .45), transparent 70%), var(--ink); }
.morph-card {
  --cw: 90vw; --ch: 78vh; --cr: 36px; --tile: 1;
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: var(--cw); height: var(--ch); border-radius: var(--cr);
  transform: translate(-50%, calc(-50% + var(--cy, 0px)));
  background-color: var(--cyan);
  background-image: radial-gradient(rgba(1, 0, 82, .28) 1.4px, transparent 1.6px);
  background-size: 28px 28px; background-position: center;
  box-shadow: 0 40px 120px -30px rgba(74, 222, 222, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  display: grid; place-items: center; overflow: hidden; will-change: width, height, border-radius, transform;
}
.morph-label { position: absolute; top: 9%; left: 50%; transform: translateX(-50%); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--ink); white-space: nowrap; opacity: var(--lo, 1); }
.morph-tile { width: 108px; height: 108px; border-radius: 28px; background: var(--ink); display: grid; place-items: center; transform: scale(var(--tile)); box-shadow: 0 18px 40px -14px rgba(1, 0, 82, .7), inset 0 1px 0 rgba(255, 255, 255, .15); }
.morph-tile svg { width: 74%; height: auto; }
.morph-words { position: absolute; left: 0; top: calc(50% - 150px); z-index: 1; display: flex; gap: 48px; white-space: nowrap; font-family: var(--f-display); font-stretch: normal; font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1; color: #fff; opacity: var(--wo, 0); transform: translate3d(var(--wx, 0px), 0, 0); will-change: transform; pointer-events: none; }
.morph-words .it { color: transparent; -webkit-text-stroke: 1.2px rgba(74, 222, 222, .9); }
.morph-copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 90px); z-index: 3; opacity: var(--co, 0); transform: translateY(calc((1 - var(--co, 0)) * 30px)); }
.morph-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; margin-bottom: 18px; }
.morph-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.morph-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.morph-row h2 { font-size: clamp(32px, 4.6vw, 66px); }
.morph-row h2 .soft { color: var(--cyan); }
.morph-row p { max-width: 40ch; color: #c3c6f0; }
.morph-stage > .morph-card, .morph-stage > .morph-words, .morph-stage > .morph-copy { position: absolute; }
@media (prefers-reduced-motion: reduce) {
  .morph { height: auto; }
  .morph-stage { position: relative; height: 100svh; }
  .morph-card { --cw: 240px; --ch: 240px; --cr: 60px; --cy: -60px; }
  .morph-label { display: none; }
  .morph-copy { --co: 1; }
}

/* =========================================================
   v6. refinements
   ========================================================= */
/* Morph: big text first, white mark revealed on the cyan icon */
.morph-tile { display: none; }
.morph-bigtext { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 6%; font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: clamp(40px, 7.4vw, 128px); line-height: .98; letter-spacing: -0.03em; color: var(--ink); opacity: var(--bo, 1); transform: scale(var(--bs, 1)); }
.morph-mark { position: relative; z-index: 1; width: var(--msz, 150px); opacity: var(--mo, 0); transform: scale(var(--ms, .55)); filter: drop-shadow(0 10px 24px rgba(1, 0, 82, .25)); }
.morph-mark svg { width: 100%; height: auto; display: block; }
.morph-card { box-shadow: 0 40px 120px -30px rgba(74, 222, 222, .35); }
@media (prefers-reduced-motion: reduce) { .morph-bigtext { display: none; } .morph-mark { --mo: 1; --ms: 1; --msz: 150px; } }

/* Services columns: image in flow, never overlaps the title */
.col { gap: 18px; }
.col-media { position: relative; left: auto; right: auto; top: auto; bottom: auto; flex: 1 1 auto; min-height: 0; }
.col:not(.active) .col-media { flex-grow: 1; }
@media (max-width: 960px) { .col-media { flex: none; height: 240px; } }

/* Team: glass badge over the photo */
.member-photo { aspect-ratio: 4/5; }
.member-photo::after { display: none; }
.member .badge { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 20px 40px -24px rgba(1, 0, 82, .5); }
.member .badge strong { font-family: var(--f-display); font-stretch: normal; font-size: 18px; display: block; line-height: 1.2; }
.member .badge span { font-size: 14px; color: var(--muted); }
.member .badge svg { width: 34px; height: 34px; flex-shrink: 0; }

/* CTA mark: faint outline */
.cta-band .big-x { width: 34%; right: -4%; top: auto; bottom: -18%; opacity: 1; color: transparent; }
.cta-band .big-x polygon { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: .35; }

/* 3D decor objects */
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; filter: drop-shadow(0 30px 40px rgba(1, 0, 82, .18)); will-change: transform; }
.section > .wrap, .statement > .wrap { position: relative; z-index: 1; }
.d-statement-x { right: 4%; top: 10%; width: clamp(180px, 22vw, 340px); }
.d-statement-s { right: 26%; bottom: 8%; width: clamp(60px, 6vw, 96px); }
.d-bento-ring { left: -40px; top: 60px; width: clamp(110px, 11vw, 170px); opacity: .95; }
.d-bento-cube { right: 3%; top: 90px; width: clamp(70px, 6.5vw, 110px); }
.d-commit-pill { left: 38%; bottom: 60px; width: clamp(110px, 10vw, 160px); }
.d-quote-s { right: 8%; bottom: 14%; width: clamp(70px, 7vw, 120px); opacity: .9; }
.quotes-sec { overflow: hidden; }
.bento-sec, .section--paper { overflow: hidden; }
@media (max-width: 760px) { .d-statement-x { width: 46vw; right: -10vw; top: 2%; opacity: .5; } .d-statement-s, .d-bento-cube, .d-commit-pill { display: none; } .d-bento-ring { width: 90px; left: -30px; top: 20px; } }

/* Contact form: lighter, concise, floating labels */
.form-card { position: relative; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -60px rgba(1, 0, 82, .35); overflow: visible; }
.form-card h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; position: relative; z-index: 1; }
.form-card > p { margin-bottom: 28px; position: relative; z-index: 1; }
.d-form-x { right: -50px; top: -70px; width: clamp(120px, 12vw, 180px); z-index: 2; }
.form--lite { gap: 8px 24px; }
.form--lite .field { position: relative; gap: 0; padding-top: 16px; }
.form--lite .field input, .form--lite .field textarea { border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; background: transparent; padding: 10px 0; min-height: 46px; }
.form--lite .field textarea { min-height: 84px; resize: vertical; }
.form--lite .field input:focus, .form--lite .field textarea:focus { border-bottom-color: var(--volt); }
.form--lite .field label { position: absolute; left: 0; top: 28px; font-weight: 500; font-size: 16px; color: var(--muted) !important; pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.form--lite .field input:focus + label, .form--lite .field input:not(:placeholder-shown) + label,
.form--lite .field textarea:focus + label, .form--lite .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 13px; color: var(--volt) !important; }
.form--lite .err { min-height: 18px; margin-top: 4px; }
.chipset { border: 0; padding: 18px 0 6px !important; margin: 0; }
.chipset legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; padding: 0; }
.form--lite .chip span { padding: 8px 14px; font-size: 14px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.form-foot .btn { margin: 0; }
.form-foot .form-status { margin: 0; }
@media (max-width: 960px) { .d-form-x { right: -10px; top: -60px; width: 110px; } }
.form--lite .chipset label.chip { position: relative; left: auto; top: auto; font-size: 14px; color: var(--ink) !important; pointer-events: auto; transition: none; }
.form--lite .chipset { padding-top: 22px !important; }
.morph-card { background-image: none; }

/* Page hero: flare light moved to the bottom */
.page-hero {
  background:
    radial-gradient(60% 70% at 50% 135%, rgba(2, 27, 249, .85), rgba(2, 27, 249, .25) 45%, transparent 70%),
    radial-gradient(30% 40% at 82% 118%, rgba(74, 222, 222, .35), transparent 70%),
    var(--ink);
}
.page-hero::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(74, 222, 222, .8), transparent); box-shadow: 0 0 24px 2px rgba(74, 222, 222, .45); pointer-events: none; }
.page-hero h1 { color: #fff; -webkit-text-fill-color: #fff; background: none; }

/* Footer lights (no dots) */
.site-footer { position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(74, 222, 222, .9), rgba(0, 127, 255, .9), transparent); box-shadow: 0 0 30px 3px rgba(0, 127, 255, .5); z-index: 1; }
.site-footer .glow { animation: footDrift 18s ease-in-out infinite alternate; }
.site-footer .g1 { width: 620px; height: 620px; left: -180px; top: -260px; background: rgba(2, 27, 249, .6); }
.site-footer .g2 { width: 640px; height: 460px; right: -160px; bottom: -120px; background: rgba(74, 222, 222, .28); animation-duration: 22s; animation-direction: alternate-reverse; }
.site-footer .g3 { width: 520px; height: 300px; left: 35%; top: 30%; background: rgba(0, 127, 255, .3); animation-duration: 26s; }
.site-footer .beam { position: absolute; z-index: 0; pointer-events: none; width: 140%; height: 220px; left: -20%; top: 38%; background: linear-gradient(90deg, transparent 10%, rgba(74, 222, 222, .14) 40%, rgba(2, 27, 249, .22) 60%, transparent 90%); filter: blur(40px); transform: rotate(-8deg); animation: beam 14s ease-in-out infinite alternate; }
@keyframes footDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes beam { from { transform: rotate(-8deg) translateX(-6%); opacity: .7; } to { transform: rotate(-4deg) translateX(6%); opacity: 1; } }
.site-footer .wrap, .site-footer .foot-bottom { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .site-footer .glow, .site-footer .beam { animation: none; } }
.page-hero {
  background:
    radial-gradient(70% 65% at 50% 118%, rgba(2, 27, 249, 1), rgba(2, 27, 249, .35) 45%, transparent 72%),
    radial-gradient(34% 45% at 80% 112%, rgba(74, 222, 222, .45), transparent 70%),
    var(--ink);
}
/* Contact: 3D X moved to the bottom-left of the form, away from the header mark */
.d-form-x { top: auto; right: auto; left: -70px; bottom: -80px; width: clamp(120px, 11vw, 170px); }
@media (max-width: 960px) { .d-form-x { left: auto; right: -10px; bottom: -60px; width: 110px; } }
/* Contact: 3D X now sits under the FAQ heading */
.d-faq-x { position: relative; display: block; width: clamp(150px, 15vw, 230px); margin-top: 48px; filter: drop-shadow(0 30px 40px rgba(1, 0, 82, .2)); animation: floatX 7s ease-in-out infinite; }
@keyframes floatX { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-4deg); } }
@media (max-width: 860px) { .d-faq-x { display: none; } }
@media (prefers-reduced-motion: reduce) { .d-faq-x { animation: none; } }

/* Hero fits the screen exactly: the 3D stage fills the viewport,
   the white panel starts right at the fold */
.hero3d-stage { height: 100vh; height: 100svh; min-height: 520px; max-height: none; }
.hero-panel { margin-top: 0; }
.hero3d-chrome { bottom: 32px; }
@media (max-width: 760px) { .hero3d-stage { height: 100svh; min-height: 480px; } }

/* Home tools teaser (from tools.css) */
.tool-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 26px; background: var(--soft); border: 1px solid transparent; text-decoration: none; min-height: 270px; transition: border-color .3s, background .3s, transform .5s var(--ease); overflow: hidden; }
.tool-card:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(1,0,82,.35); }
.tool-card.featured { background: var(--ink); color: #fff; }
.tool-card.featured:hover { background: #07067a; border-color: transparent; }
.tool-card .ticon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--volt); border: 1px solid var(--line); }
.tool-card.featured .ticon { background: var(--cyan); color: var(--ink); border-color: transparent; }
.tool-card .ticon svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 22px; }
.tool-card p { color: var(--muted); font-size: 16px; }
.tool-card.featured p { color: #c3c6f0; }
.tool-card .tmeta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.tool-card.featured .tmeta { color: #c3c6f0; }
.tool-card .tgo { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .5s var(--ease), background .3s; }
.tool-card:hover .tgo { transform: rotate(-45deg); background: var(--cyan); border-color: var(--cyan); }
.tool-card .tgo svg { width: 18px; height: 18px; }

/* Home teaser */
.tools-teaser { background: var(--soft); }
.tt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1060px) { .tt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tt-grid { grid-template-columns: 1fr; } }

.tools-teaser .tool-card:not(.featured) { background: #fff; border-color: var(--line); }
.tools-teaser .tool-card:not(.featured):hover { border-color: var(--volt); }

/* =========================================================
   Inner page heroes with feeling: live 3D glass X, drifting
   outlined title marquee, word-by-word headline reveal
   ========================================================= */
.page-hero { isolation: isolate; min-height: min(88svh, 820px); display: flex; align-items: center; }
.page-hero > .wrap { z-index: 2; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.page-hero.webgl-ready .hero-canvas { opacity: 1; }
.page-hero.webgl-ready .mini-x { opacity: 0; }
.page-hero .mini-x { transition: opacity .6s; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(1, 0, 82, .85) 0%, rgba(1, 0, 82, .55) 38%, transparent 70%); }
@media (max-width: 900px) { .page-hero::before { background: linear-gradient(180deg, rgba(1, 0, 82, .85) 0%, rgba(1, 0, 82, .4) 55%, transparent 100%); } }

.hero-marquee { position: absolute; left: 0; right: 0; bottom: clamp(14px, 3vw, 34px); z-index: 1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hm-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: hm 48s linear infinite; }
.hm-track > span:not(.hm-x) { font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: clamp(56px, 8vw, 128px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); letter-spacing: -0.02em; }
.hm-x { width: clamp(40px, 4.5vw, 72px); flex-shrink: 0; display: block; }
.hm-x svg { width: 100%; height: auto; display: block; }
.hm-x polygon { fill: none; stroke: rgba(74, 222, 222, .35); stroke-width: 2.4; }
@keyframes hm { to { transform: translateX(-50%); } }

.page-hero h1 .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.page-hero h1 .hw > span { display: inline-block; }
.js .page-hero h1 { animation: none; }
.js .page-hero h1 .hw > span { animation: rise 1s var(--ease) both; }
.page-hero .crumbs { position: relative; }
.js .page-hero .crumbs { animation: fade .8s var(--ease) both; }
.tool-hero { min-height: min(80svh, 760px); }
@media (prefers-reduced-motion: reduce) { .hm-track { animation: none; } }
.page-hero.webgl-ready #scene { opacity: 1; }

/* Footer: calmer, subtle lighting */
.site-footer .g1 { background: rgba(2, 27, 249, .22); width: 560px; height: 560px; top: -300px; left: -220px; }
.site-footer .g2 { background: rgba(74, 222, 222, .07); }
.site-footer .g3 { background: rgba(0, 127, 255, .08); }
.site-footer .glow { filter: blur(110px); animation-duration: 30s; }
.site-footer .beam { display: none; }
.site-footer::before { background: linear-gradient(90deg, transparent, rgba(74, 222, 222, .35), transparent); box-shadow: none; }
.site-footer .foot-word { -webkit-text-stroke: 1px rgba(255, 255, 255, .08); }
/* Stat rows: numbers never spill into the next column */
.stat-row > div, .stats-inline > div { min-width: 0; }
.stat-row .stat-num { font-size: clamp(32px, 3.8vw, 58px); white-space: nowrap; }

/* =========================================================
   Footer v2. calm navy, big contact line, live studio clock
   ========================================================= */
.site-footer.f2 { background: var(--ink); color: #fff; padding-top: clamp(72px, 8vw, 112px); position: relative; overflow: hidden; }
.site-footer.f2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .1); box-shadow: none; }
.site-footer.f2::after { content: ""; position: absolute; left: 50%; top: -420px; width: 1100px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(2, 27, 249, .22), transparent); pointer-events: none; }
.f2 .wrap { position: relative; z-index: 1; }
.f2-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px 64px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f2-brand img { height: 28px; width: auto; }
.f2-brand p { color: #a9acd9; max-width: 34ch; margin-top: 18px; }
.f2-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.f2-label { font-size: 15px; color: #a9acd9; }
.f2-mail { font-family: var(--f-display); font-stretch: normal; font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.015em; text-decoration: none; display: inline-flex; align-items: center; gap: 18px; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0% 2px no-repeat; padding-bottom: 6px; transition: background-size .6s var(--ease), color .3s; }
.f2-mail:hover { background-size: 100% 2px; color: var(--cyan); }
.f2-arrow { width: clamp(40px, 3.6vw, 56px); height: clamp(40px, 3.6vw, 56px); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; flex-shrink: 0; transition: transform .6s var(--ease), background .3s, border-color .3s, color .3s; }
.f2-arrow svg { width: 45%; height: 45%; }
.f2-mail:hover .f2-arrow { transform: rotate(-45deg); background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.f2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: clamp(48px, 6vw, 72px) 0; }
.f2-grid h4 { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #7d80b8; }
.f2-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.f2-grid a { text-decoration: none; color: #dfe1ff; transition: color .2s; }
.f2-grid a:hover { color: var(--cyan); }
.f2-contact p { color: #a9acd9; margin-bottom: 12px; }
.f2-clock { display: flex; align-items: center; gap: 10px; }
.f2-clock b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.f2-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); animation: f2ping 2.4s infinite; }
@keyframes f2ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.f2 .socials { margin-top: 18px; }
.f2 .socials a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #dfe1ff; }
.f2 .socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.f2-word { position: relative; z-index: 0; overflow: hidden; line-height: .78; pointer-events: none; user-select: none; }
.f2-word span { display: block; text-align: center; white-space: nowrap; font-family: var(--f-display); font-stretch: normal; font-weight: 800; font-size: clamp(64px, 18vw, 300px); letter-spacing: -0.04em; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(16%); }
.f2-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; font-size: 14px; color: #7d80b8; background: var(--ink); }
.f2-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.f2-bottom nav { display: flex; gap: 22px; }
.f2-bottom a { text-decoration: none; color: #a9acd9; }
.f2-bottom a:hover { color: var(--cyan); }
.f2 .glow, .f2 .beam, .f2 .foot-word { display: none; }
@media (max-width: 960px) { .f2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .f2-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .f2-contact { grid-column: 1 / -1; } }
/* Header pill stays readable over dark sections */
.site-header.is-scrolled .bar { background: rgba(255, 255, 255, .92); }

/* =========================================================
   Custom scrollbar (brand)
   ========================================================= */
html { scrollbar-width: thin; scrollbar-color: var(--volt) #e9ecf8; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e9ecf8; }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 99px; border: 2px solid #e9ecf8; }
::-webkit-scrollbar-thumb:hover { background: var(--volt); }
::-webkit-scrollbar-corner { background: #e9ecf8; }
.hs-track::-webkit-scrollbar, .svc-toc::-webkit-scrollbar { display: none; }

/* =========================================================
   Hero scroll cue: centred mouse, animated wheel
   ========================================================= */
.hero3d-chrome { left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; pointer-events: none; }
.hero3d-chrome .wrap, .scroll-cue { display: none; }
.scroll-down { pointer-events: auto; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: #fff; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sd-mouse { width: 28px; height: 44px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .55); display: flex; justify-content: center; padding-top: 8px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s, background .3s; }
.sd-wheel { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan); animation: sdWheel 1.8s var(--ease) infinite; }
@keyframes sdWheel { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.sd-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.scroll-down:hover .sd-mouse { border-color: var(--cyan); background: rgba(74, 222, 222, .12); }
.scroll-down:hover .sd-label { color: #fff; }
.scroll-down:focus-visible { outline: 2px solid var(--cyan); outline-offset: 8px; border-radius: 12px; }
.scrolled-past .scroll-down { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 760px) { .sd-label { display: none; } .hero3d-chrome { bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .sd-wheel { animation: none; } }

/* =========================================================
   Footer light effects: cursor spotlight, glint on the top line,
   slow light sweep across the big wordmark
   ========================================================= */
.site-footer.f2 { --fx: 50%; --fy: 30%; }
.f2-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--fx) var(--fy), rgba(74, 222, 222, .10), rgba(2, 27, 249, .08) 40%, transparent 70%); }
.site-footer.f2:hover .f2-spot { opacity: 1; }
/* top line with a travelling glint */
.site-footer.f2::before { height: 1px; background: rgba(255, 255, 255, .1); }
.f2-glint { position: absolute; top: 0; left: 0; width: 100%; height: 1px; z-index: 2; overflow: hidden; pointer-events: none; }
.f2-glint::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, rgba(74, 222, 222, .9), transparent); box-shadow: 0 0 12px 1px rgba(74, 222, 222, .5); animation: glint 7s ease-in-out infinite; }
@keyframes glint { 0% { left: -30%; } 55%, 100% { left: 100%; } }
/* wordmark: soft light sweep */
.f2-word span { background: linear-gradient(100deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.07) 40%, rgba(160,240,240,.32) 50%, rgba(255,255,255,.07) 60%, rgba(255,255,255,.07) 100%) 0 0 / 250% 100%, linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%); mask-image: linear-gradient(180deg, #000 20%, transparent 95%); }
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .f2-glint::after, .f2-word span { animation: none; } }
.f2-word span { background: linear-gradient(100deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.07) 38%, rgba(150,235,240,.38) 50%, rgba(255,255,255,.07) 62%, rgba(255,255,255,.07) 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Footer: circle lights (replaces spotlight / glint / sweep)
   ========================================================= */
.f2-spot, .f2-glint { display: none !important; }
.site-footer.f2::after { display: none; }
.f2-word span { animation: none; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; }

/* soft glowing orbs */
.f2-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(60px); will-change: transform; }
.f2-orb.o1 { width: 340px; height: 340px; left: -90px; top: 60px; background: radial-gradient(circle, rgba(2, 27, 249, .55), rgba(2, 27, 249, 0) 70%); animation: orb1 22s ease-in-out infinite alternate; }
.f2-orb.o2 { width: 260px; height: 260px; right: 6%; top: 18%; background: radial-gradient(circle, rgba(74, 222, 222, .28), rgba(74, 222, 222, 0) 70%); animation: orb2 26s ease-in-out infinite alternate; }
.f2-orb.o3 { width: 200px; height: 200px; left: 42%; top: 46%; background: radial-gradient(circle, rgba(0, 127, 255, .3), rgba(0, 127, 255, 0) 70%); animation: orb3 30s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-90px, 80px) scale(.9); } }
@keyframes orb3 { to { transform: translate(-140px, -40px) scale(1.2); } }

/* rising eclipse ring behind the wordmark */
.f2-halo { position: absolute; z-index: 0; left: 50%; bottom: -62vw; width: 90vw; max-width: 1400px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(1, 0, 82, 1) 62%, rgba(1, 0, 82, 0) 70.5%);
  box-shadow: 0 0 0 1px rgba(74, 222, 222, .35), 0 -10px 60px 4px rgba(74, 222, 222, .18), 0 -40px 160px 20px rgba(2, 27, 249, .35), inset 0 30px 80px -20px rgba(74, 222, 222, .2);
  animation: halo 8s ease-in-out infinite alternate; }
@media (min-width: 1556px) { .f2-halo { bottom: -980px; } }
@keyframes halo { from { box-shadow: 0 0 0 1px rgba(74, 222, 222, .28), 0 -10px 50px 2px rgba(74, 222, 222, .14), 0 -40px 140px 16px rgba(2, 27, 249, .28), inset 0 30px 80px -20px rgba(74, 222, 222, .16); }
  to { box-shadow: 0 0 0 1px rgba(74, 222, 222, .45), 0 -10px 70px 6px rgba(74, 222, 222, .24), 0 -40px 180px 26px rgba(2, 27, 249, .42), inset 0 30px 80px -20px rgba(74, 222, 222, .26); } }
.f2-word, .f2-bottom { position: relative; z-index: 1; }
.f2-bottom { background: transparent; }
@media (max-width: 760px) { .f2-halo { width: 160vw; bottom: -118vw; } .f2-orb.o3 { display: none; } }
@media (prefers-reduced-motion: reduce) { .f2-orb, .f2-halo { animation: none; } }

/* =========================================================
   Animated loader: the X assembles, then breathes
   ========================================================= */
.page-cover { background: var(--ink); }
.pc-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.page-cover svg { width: 96px; height: 96px; overflow: visible; }
.page-cover .s { transform-box: fill-box; transform-origin: center; fill-opacity: 0; stroke-width: 1.1; stroke-dasharray: 260; stroke-dashoffset: 260; stroke-linejoin: round; }
.page-cover .s1 { stroke: #4adede; }
.page-cover .s2 { stroke: #007fff; }
.page-cover .s3 { stroke: #4adede; }
.page-cover.play .s1 { animation: pcDraw .7s var(--ease) forwards, pcFill .45s .55s ease forwards; }
.page-cover.play .s2 { animation: pcIn2 .6s .35s var(--ease) both, pcDraw .5s .35s ease forwards, pcFill .4s .75s ease forwards; }
.page-cover.play .s3 { animation: pcIn3 .6s .45s var(--ease) both, pcDraw .5s .45s ease forwards, pcFill .4s .85s ease forwards; }
.page-cover.play svg { animation: pcBreath 1.4s 1.1s ease-in-out infinite alternate; }
@keyframes pcDraw { to { stroke-dashoffset: 0; } }
@keyframes pcFill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes pcIn2 { from { transform: translate(-45%, -45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pcIn3 { from { transform: translate(45%, 45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pcBreath { from { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 0 rgba(74, 222, 222, 0)); } to { transform: scale(1.06) rotate(-4deg); filter: drop-shadow(0 0 18px rgba(74, 222, 222, .45)); } }
.pc-bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; position: relative; }
.pc-bar i { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: var(--cyan); border-radius: 2px; }
.page-cover.play .pc-bar i { animation: pcBar 1.1s ease-in-out infinite; }
@keyframes pcBar { to { left: 100%; } }
.page-cover.out .pc-inner { opacity: 0; transform: translateY(-20px) scale(.96); transition: opacity .35s, transform .5s var(--ease); }
.page-cover.in .pc-inner { opacity: 1; transform: none; transition: opacity .25s; }

/* =========================================================
   3D objects: always in motion (float, spin, wobble) + cursor drift
   Uses the individual translate/rotate properties so it layers on
   top of the scroll parallax transform.
   ========================================================= */
.deco { transition: transform .5s var(--ease); }
.d-statement-x, .d-faq-x { animation: decoX 7s ease-in-out infinite alternate; }
.d-statement-s, .d-quote-s { animation: decoBob 4.5s ease-in-out infinite alternate; }
.d-bento-ring { animation: decoSpin 16s linear infinite; }
.d-bento-cube { animation: decoCube 6s ease-in-out infinite alternate; }
.d-commit-pill { animation: decoPill 8s ease-in-out infinite alternate; }
.d-faq-x { animation-name: decoX; }
@keyframes decoX { 0% { translate: 0 0; rotate: -6deg; } 50% { translate: 8px -20px; rotate: 3deg; } 100% { translate: -6px -6px; rotate: 8deg; } }
@keyframes decoBob { 0% { translate: 0 0; scale: 1; } 100% { translate: 10px -26px; scale: 1.06; } }
@keyframes decoSpin { 0% { rotate: 0deg; translate: 0 0; } 50% { translate: 0 -14px; } 100% { rotate: 360deg; translate: 0 0; } }
@keyframes decoCube { 0% { rotate: -12deg; translate: 0 0; } 100% { rotate: 14deg; translate: -10px -22px; } }
@keyframes decoPill { 0% { rotate: -18deg; translate: 0 0; } 100% { rotate: 22deg; translate: 16px -16px; } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none !important; } }

/* Footer: no ring. just soft round lights */
.f2-halo { display: none !important; }
.f2-orb { filter: blur(50px); }
.f2-orb.o1 { width: 320px; height: 320px; left: -80px; top: 40px; background: radial-gradient(circle, rgba(2, 27, 249, .5), rgba(2, 27, 249, 0) 70%); }
.f2-orb.o2 { width: 240px; height: 240px; right: 8%; top: 30%; background: radial-gradient(circle, rgba(74, 222, 222, .22), rgba(74, 222, 222, 0) 70%); }
.f2-orb.o3 { width: 280px; height: 280px; left: 46%; top: auto; bottom: 40px; background: radial-gradient(circle, rgba(0, 127, 255, .28), rgba(0, 127, 255, 0) 70%); }

/* Footer: full outlined logo (replaces the faded text) */
.f2-word { display: none !important; }
.f2-logo { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: clamp(24px, 4vw, 56px) auto 0; padding: 0 var(--gutter); pointer-events: none; user-select: none; line-height: 0; }
.f2-outline { width: 100%; height: auto; display: block; overflow: visible; }
.f2-outline path, .f2-outline polygon, .f2-outline rect { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .42); stroke-width: 1.4; transition: stroke .5s, fill .5s; }
.site-footer.f2:hover .f2-outline path, .site-footer.f2:hover .f2-outline polygon { stroke: rgba(74, 222, 222, .7); }
.f2-bottom { margin-top: clamp(28px, 4vw, 48px); }

/* Footer: a single soft light rising from the bottom, like the page headers but calmer */
.f2-orb, .f2-halo, .f2-spot, .f2-glint { display: none !important; }
.site-footer.f2 {
  background:
    radial-gradient(60% 55% at 50% 112%, rgba(2, 27, 249, .42), rgba(2, 27, 249, .12) 45%, transparent 72%),
    var(--ink);
}
.site-footer.f2::after { display: none; }
.f2-bottom { background: transparent; }

/* Footer outlined logo: quieter, fades out toward the bottom, no hover colour */
.f2-outline path, .f2-outline polygon, .f2-outline rect { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; transition: none; }
.site-footer.f2:hover .f2-outline path, .site-footer.f2:hover .f2-outline polygon, .site-footer.f2:hover .f2-outline rect { stroke: rgba(255, 255, 255, .2); }
.f2-logo { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%); }

/* 404: outline button readable on navy */
.nf .btn--ghost { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.nf .btn--ghost::after { background: #fff; }
.nf .btn--ghost:hover { color: var(--ink); }

/* =========================================================
   Mobile fixes
   ========================================================= */
/* Services columns: stack properly on phones (flex-basis 0 collapsed them) */
@media (max-width: 960px) {
  .cols { height: auto; }
  .col { flex: none !important; min-height: 0; overflow: visible; background: transparent !important; }
  .col-media { display: block; position: relative; height: 220px; margin: 18px 0 16px; clip-path: none !important; flex: none; }
  .col-media img { transform: none !important; }
  .col-body h3 { font-size: 24px !important; }
  .col-body p, .col-more { max-height: none !important; opacity: 1 !important; transform: none !important; }
  .col .col-ico { background: var(--volt); color: #fff; border-color: var(--volt); }
}
/* Pinned project showcase now also runs on phones (scroll down = cards move sideways) */
@media (max-width: 900px) {
  .hscroll { height: auto; }
  .hs-sticky { position: sticky; top: 0; height: 100svh; padding: 86px 0 24px; justify-content: flex-start; }
  .hs-head { margin-bottom: 18px; }
  .hs-head h2 { font-size: 30px; }
  .hs-meta { display: flex !important; }
  .hs-bar { width: 80px; }
  .hs-track { overflow: visible !important; scroll-snap-type: none !important; padding-bottom: 0; transform: none; }
  .hs-card { flex: 0 0 84vw; grid-template-columns: 1fr; gap: 14px; padding: 12px; border-radius: 26px; }
  .hs-frame { height: 34svh; border-radius: 18px; }
  .hs-info { padding: 4px 6px 6px; }
  .hs-num { font-size: 44px; }
  .hs-info h3 { font-size: 22px; margin-top: 10px; }
  .hs-info .cat { margin-top: 10px; font-size: 13px; }
  .hs-info .view { margin-top: 14px; }
  .hs-end { flex: 0 0 80vw; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-sticky { position: relative; height: auto; }
  .hs-track { overflow-x: auto !important; transform: none !important; }
}

/* team social icons + captcha */
.member-socials { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.member-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.member-socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.member-socials svg { width: 16px; height: 16px; }
.captcha-wrap:empty { display: none; }
.captcha-wrap { grid-column: 1 / -1; }

/* team social icons live inside the glass name badge (where the X mark used to be) */
.member .badge .member-socials { position:relative; z-index:20; pointer-events:auto; margin: 0; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-content: center; max-width: 56%; flex-shrink: 0; }
.member .badge .member-socials a { width: 32px; height: 32px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.member .badge .member-socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.member .badge .member-socials svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .member .badge { padding: 12px 14px; } .member .badge .member-socials a { width: 30px; height: 30px; } }

/* many social profiles wrap neatly instead of running off the edge */
.socials { flex-wrap: wrap; }
.f2 .socials { max-width: 100%; }

/* team cards: the name badge sits over the photo as a sibling, so the social buttons are never inside a clipped / transformed layer */
.member { position: relative; }
.member .badge { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 5; }
.member .badge .member-socials { position: relative; z-index: 30; pointer-events: auto; }
.member-socials a { width: 40px; height: 40px; touch-action: manipulation; -webkit-tap-highlight-color: rgba(2, 27, 249, .15); cursor: pointer; }
.member-socials svg { width: 18px; height: 18px; pointer-events: none; }

/* Tools header: X icon + tools, brand type */
.tools-logo { display:inline-flex; align-items:center; gap:8px; color:#fff; text-decoration:none; }
.brand:has(.tools-logo), .brand .tools-logo, .tools-word { text-decoration:none !important; }
.tools-logo .tools-x { width:28px; height:28px; display:block; }
.tools-word { font-family:"Owners XWide","Owners XWide",system-ui,sans-serif; font-stretch: normal; font-weight:700; font-size:22px; letter-spacing:-.03em; line-height:1; text-decoration:none; color:inherit; }
.site-header:not(.is-scrolled) .tools-x polygon { fill:#fff; }
.site-header.is-scrolled .tools-logo, .menu-open .tools-logo, body.light-header .tools-logo { color:#010052; }
.site-header.is-scrolled .tools-x polygon, .menu-open .tools-x polygon, body.light-header .tools-x polygon { fill:#010052; }
body.light-header .site-header .bar { background:#fff; border-color:rgba(1,0,82,.08); }
body.light-header .site-header .nav a { color:#010052; }
body.light-header .tools-site { padding-top: 96px; }
.px-ann { position:relative; z-index:120; padding:10px 0; font-size:14px; font-weight:600; overflow:hidden; }
.px-ann.is-move .px-ann-track { display:flex; gap:48px; width:max-content; animation:pxmarquee 18s linear infinite; }
.px-ann-btn { margin-left:10px; text-decoration:underline; font-weight:700; }
@keyframes pxmarquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.px-pop { position:fixed; inset:0; z-index:200; display:grid; place-items:center; background:rgba(1,0,82,.55); backdrop-filter:blur(8px); }
.px-pop[hidden] { display:none; }
.px-pop-card { width:min(520px, calc(100% - 32px)); background:#fff; color:#010052; border-radius:20px; overflow:hidden; box-shadow:0 30px 80px rgba(1,0,82,.35); position:relative; }
.px-pop-art { height:180px; background:radial-gradient(circle at 30% 20%, #4adede, #021bf9 45%, #010052); display:grid; place-items:center; filter:blur(0); }
.px-pop-art::after { content:""; position:absolute; inset:0; backdrop-filter:blur(2px); }
.px-pop-xmark { font-family:"Owners XWide",system-ui,sans-serif; font-stretch: normal; font-weight:800; font-size:92px; color:#fff; letter-spacing:-.04em; text-shadow:0 10px 30px rgba(1,0,82,.4); }
.px-pop-img { width:100%; height:180px; object-fit:cover; display:block; }
.px-pop-body { padding:22px 24px 20px; }
.px-pop-body h3 { margin:0 0 8px; font-size:22px; }
.px-pop-body p { margin:0 0 16px; color:#3a3d6b; }
.px-pop-actions { display:flex; gap:8px; }
.px-pop-x { position:absolute; top:10px; right:10px; width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,.85); cursor:pointer; }
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.post-card { display:flex; flex-direction:column; background:transparent; border:0; text-decoration:none; color:inherit; }
.post-card .cover { aspect-ratio:16/10; background:transparent; overflow:hidden; border-radius:12px; }
.post-card .cover img { width:100%; height:100%; object-fit:cover; display:block; }
.post-card > div { padding:16px 18px 18px; }
.post-card h3 { font-size:18px; line-height:1.3; }
.blog-pager { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:28px; }
@media (max-width:900px) { .posts-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:640px) { .posts-grid { grid-template-columns:1fr; } }
.blog-pages { display:flex; align-items:center; gap:6px; }
.blog-pages a, .blog-pages span { min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; text-decoration:none; font-weight:700; color:var(--ink); }
.blog-pages a.on { background:var(--ink); color:#fff; }
.blog-pages a:hover { background:var(--soft); }
.post-card.lead { grid-column:1 / -1; }
.post-card.lead .cover { aspect-ratio:21/9; }
.post-card.lead h3 { font-size:clamp(26px,3vw,40px); }
.work-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; padding:6px; background:#fff; border:1px solid rgba(1,0,82,.08); border-radius:999px; width:max-content; max-width:100%; }
.work-filter .chipbtn { border:0; background:transparent; border-radius:999px; padding:8px 16px; font-weight:600; }
.work-filter .chipbtn.on { background:#010052; color:#fff; }
.work-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px 24px; }
.work { text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:14px; }
.work.lead { grid-column:1 / -1; }
.work-shot { border-radius:20px; overflow:hidden; aspect-ratio:16/10; background:#eef0f8; }
.work.lead .work-shot { aspect-ratio:21/9; }
.work-shot img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.work:hover .work-shot img { transform:scale(1.04); }
.work-meta { display:flex; align-items:center; gap:14px; }
.work-num { font-weight:700; color:var(--volt); font-size:13px; }
.work-meta h3 { margin:0; font-size:22px; }
.work-meta span { color:var(--muted); font-size:14px; }
.work-go { margin-left:auto; font-weight:700; }
@media (max-width:760px) { .work-grid { grid-template-columns:1fr; } .work.lead .work-shot { aspect-ratio:16/10; } }
.px-cookie { position:fixed; left:16px; bottom:16px; z-index:180; display:inline-flex; align-items:center; gap:10px; padding:8px 8px 8px 14px; background:rgba(255,255,255,.92); color:#010052; border:1px solid rgba(1,0,82,.08); border-radius:999px; box-shadow:0 8px 24px rgba(1,0,82,.08); font-size:13px; backdrop-filter:blur(8px); }
.px-cookie[hidden] { display:none; }
.px-cookie a { color:inherit; }
.px-cookie button { border:0; background:transparent; color:#010052; font:600 13px inherit; padding:6px 10px; border-radius:999px; cursor:pointer; }
.px-cookie #px-cookie-yes { background:#010052; color:#fff; }
@media (max-width:640px) { .px-cookie { left:12px; right:12px; border-radius:16px; } }

body.light-header .tools-site { padding-top: 96px; }
.px-chat-btn { position:fixed; right:16px; bottom:16px; z-index:170; border:0; background:#010052; color:#fff; border-radius:999px; padding:10px 16px; font-weight:700; cursor:pointer; }
.px-chat { position:fixed; right:16px; bottom:64px; z-index:170; width:min(340px, calc(100vw - 32px)); background:#fff; border-radius:16px; box-shadow:0 16px 40px rgba(1,0,82,.18); display:flex; flex-direction:column; max-height:420px; }
.px-chat[hidden] { display:none; }
.px-chat-h, .px-chat form { display:flex; justify-content:space-between; gap:8px; padding:10px 12px; }
.px-chat-b { flex:1; overflow:auto; padding:8px 12px; }
.px-chat-b p { margin:0 0 8px; font-size:14px; }
.px-chat input { flex:1; border:1px solid #e6e8f2; border-radius:10px; padding:8px; }
.px-chat button { border:0; background:#010052; color:#fff; border-radius:10px; padding:8px 12px; }


/* PenXtool type-system consistency: preserve brand display and body faces across the site. */
:root{--px-font-body:var(--f-body,"Owners XWide",system-ui,sans-serif);--px-font-display:var(--f-display,"Owners XWide",sans-serif);}
html,body,button,input,select,textarea,option,label,small,summary,table,th,td{font-family:var(--px-font-body)}
h1,h2,h3,h4,h5,h6{font-family:var(--px-font-display);font-stretch:normal}

/* Brand typography: Owners XWide is the single family across all site interfaces. */
html,body,body button,body input,body select,body textarea,body option,body label,body small,body summary,body table,body th,body td,
body p,body a,body span,body strong,body b,body em,body i,body li,body dt,body dd,body h1,body h2,body h3,body h4,body h5,body h6,
body div:not([class*="icon-font"]):not([class^="fa-"]):not([class*=" fa-"]) {font-family:"Owners XWide",sans-serif!important;}


/* Single brand typeface: Owners XWide throughout PenXtool. */
html,body,body *:not(svg):not(path):not([class*="icon-font"]):not([class^="fa-"]):not([class*=" fa-"]){font-family:"Owners XWide",sans-serif!important;}


/* v28: consistent, touch-friendly form controls across PenXtool. */
select:not(.dp-sel select):not(.dp-time select) {
  box-sizing:border-box;
  min-height:48px;
  padding:11px 42px 11px 14px;
  font-family:"Owners XWide",sans-serif!important;
  font-size:15px!important;
  line-height:1.4;
  border:1px solid #cfd7ef;
  border-radius:12px;
  color:#101746;
  background-color:#fff;
}
select:not(.dp-sel select):not(.dp-time select):focus {
  outline:0;
  border-color:#4169ff;
  box-shadow:0 0 0 3px rgba(65,105,255,.13);
}
input[type="checkbox"],input[type="radio"] {
  appearance:auto!important;
  -webkit-appearance:auto!important;
  box-sizing:border-box!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  max-width:20px!important;
  max-height:20px!important;
  padding:0!important;
  margin:0 9px 0 0!important;
  vertical-align:middle;
  accent-color:#1748ff;
  cursor:pointer;
  flex:0 0 20px;
}
label:has(> input[type="checkbox"]),label:has(> input[type="radio"]),
.check,.check label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  line-height:1.45;
  cursor:pointer;
}
label:has(> input[type="checkbox"]) input[type="checkbox"],
label:has(> input[type="radio"]) input[type="radio"],
.check input[type="checkbox"],.check input[type="radio"] {
  margin-right:2px!important;
}
input[type="checkbox"]:focus-visible,input[type="radio"]:focus-visible {
  outline:3px solid rgba(65,105,255,.32);
  outline-offset:3px;
}
@media(max-width:640px) {
  select:not(.dp-sel select):not(.dp-time select) { min-height:48px;font-size:16px!important; }
  input[type="checkbox"],input[type="radio"] { width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;flex-basis:22px; }
}

/* v29: Owners XWide font family throughout this interface. */
html,body,body *:not(svg):not(path):not([class*="icon-font"]):not([class^="fa-"]):not([class*=" fa-"]){font-family:"Owners XWide",sans-serif!important;}

/* v32: restore the original clean mobile menu — white canvas, bold wide labels, divider lines only. */
.mobile-menu {
  background: #fff !important;
  background-image: none !important;
  color: #010052 !important;
  padding: calc(88px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)) !important;
}
.mobile-menu::before { content: none !important; display: none !important; }
.mobile-menu nav { display: flex !important; flex-direction: column !important; gap: 0 !important; }
.mobile-menu nav a {
  display: block !important;
  min-height: 0 !important;
  padding: 16px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e5f2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #010052 !important;
  font-family: "Owners XWide", sans-serif !important;
  font-size: clamp(18px, 2.2vw, 21px) !important;
  font-weight: 700 !important;
  font-stretch: normal !important;
  letter-spacing: -0.015em !important;
  text-decoration: none !important;
  transform: none !important;
}
.mobile-menu nav a::after { content: none !important; display: none !important; }
.mobile-menu nav a:hover,
.mobile-menu nav a[aria-current="page"] {
  background: transparent !important;
  border-color: #cbd2e6 !important;
  color: #021bf9 !important;
  transform: none !important;
}
.mobile-menu .mm-foot {
  border-top: 1px solid #e3e5f2 !important;
  border-radius: 0 !important;
  padding: 18px 4px 0 !important;
  margin-top: 22px !important;
  background: transparent !important;
}
.menu-btn { box-shadow: none !important; }
@media (max-width: 640px) {
  .mobile-menu nav a { font-size: 20px !important; min-height: 0 !important; padding: 17px 4px !important; }
}

