:root {
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #ffffff; --bg-2: #faf5ff; --surface: #ffffff;
  --ink: #1d1233; --soft: #5b5176; --line: rgba(61, 25, 120, .14);
  --brand: #8b45ec; --accent: #d23cff; --brand-ink: #ffffff; --tint: #f4ebff; --deep: #3a1478;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { height: 44px; width: 44px; display: block; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font: 700 1.55rem var(--display); letter-spacing: -.02em; color: var(--brand); }
.wordmark small { font: 500 .62rem var(--display); letter-spacing: .34em; margin-top: 4px; color: var(--ink); }
footer .wordmark b { color: #d9b8ff; } footer .wordmark small { color: #fff; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; color: var(--soft); transition: background .2s, color .2s; }
.nav ul a:hover { color: var(--ink); background: var(--tint); }
.nav ul a[aria-current="page"] { color: var(--brand); background: var(--tint); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 600 1rem var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 10px 26px -10px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #6a2bd0; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }

/* Hero + page banner */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(760px 440px at 84% 90%, rgba(139, 69, 236, .6), transparent 66%),
    radial-gradient(520px 320px at 8% -8%, rgba(210, 60, 255, .3), transparent 66%),
    linear-gradient(160deg, #0d0716 0%, #050308 55%, #0f081c 100%); }
.hero::before { content: ""; position: absolute; inset: -20% -40%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .06) 47%, rgba(226, 175, 255, .2) 50%, rgba(255, 255, 255, .06) 53%, transparent 58%);
  transform: translateX(-60%); animation: sheen 9s ease-in-out 1.2s infinite; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 30%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(210, 60, 255, .55); }
@keyframes sheen { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }
.hero .btn-light { box-shadow: 0 0 34px -4px rgba(210, 60, 255, .65); }
.hero-art { position: absolute; right: 0; top: 50%; width: var(--art, 340px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; display: grid; place-items: center; }
.hero.banner .hero-art { --art: 190px; }
.hero-art .glow { position: absolute; inset: -28%; background: radial-gradient(circle, rgba(210, 60, 255, .5), transparent 62%); filter: blur(12px); }
.hero-art .disc { position: absolute; inset: 5%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 42%, rgba(0, 0, 0, .55) 100%);
  box-shadow: inset 0 0 44px rgba(139, 69, 236, .4), 0 34px 70px -24px rgba(139, 69, 236, .75); }
.hero-art .orbit { position: absolute; inset: -9%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .24); animation: spin 26s linear infinite; }
.hero-art .orbit::after { content: ""; position: absolute; top: 5%; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 5px rgba(210, 60, 255, .95); }
.hero-art .mark { position: relative; width: 60%; height: auto; filter: drop-shadow(0 0 22px rgba(210, 60, 255, .75)); animation: bob 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .hero-art { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; opacity: 0; } .hero-art .orbit, .hero-art .mark { animation: none; } }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-in { position: relative; z-index: 2; pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.hero.home .hero-in { padding: clamp(80px, 13vw, 160px) 0 clamp(150px, 15vw, 220px); }
.hero.banner .hero-in { padding: clamp(56px, 8vw, 100px) 0; }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); max-width: 10.5em; text-shadow: 0 2px 40px rgba(139, 69, 236, .45); }
.hero.banner h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 13em; }
.hero .lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .8); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hint { position: absolute; right: 20px; bottom: 14px; z-index: 2; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Layout bits */
.block { padding: clamp(64px, 9vw, 120px) 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 60px); }
.head h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; }
.head p { margin-top: 14px; color: var(--soft); font-size: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; margin-top: -48px; position: relative; z-index: 3; box-shadow: 0 24px 60px -30px rgba(61, 25, 120, .45); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--brand); }
.stat span { display: block; margin-top: 8px; color: var(--soft); }
.stats-pad { padding-bottom: clamp(30px, 5vw, 60px); }

/* Services */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--brand); transition: background .25s, color .25s; }
.svc:hover .svc-icon { background: var(--brand); color: var(--brand-ink); }
.svc h3 { font-size: 1.45rem; margin-bottom: 8px; }
.svc p { color: var(--soft); max-width: 28em; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; align-items: center; }
.svc li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.svc-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.mini + .mini { padding-left: 26px; }
.mini:last-child { border-right: 0; }
.mini .svc-icon { margin-bottom: 18px; }
.mini h3 { font-size: 1.2rem; margin-bottom: 6px; }
.mini p { color: var(--soft); font-size: .98rem; }
.more { margin-top: 30px; }

/* Why / values */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.col h3 { font-size: 1.3rem; margin-bottom: 10px; }
.col p { color: var(--soft); }
.col .bar { width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); margin-bottom: 18px; }

/* About */
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.prose p { color: var(--soft); max-width: 36em; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.logo-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin-bottom: 22px; display: grid; place-items: center; }
.logo-card img { width: min(300px, 100%); height: auto; display: block; }
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.f-photo { aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden; display: grid; place-items: center; color: #fff; font: 800 clamp(4rem, 9vw, 6rem) var(--display); letter-spacing: -.04em; background: radial-gradient(circle at 80% 10%, rgba(210, 60, 255, .6), transparent 60%), linear-gradient(135deg, #3a1478, #8b45ec); box-shadow: 0 30px 60px -34px rgba(106, 43, 208, .7); }
.f-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.f-role { color: var(--brand); font-weight: 600; margin-top: 8px; }
.founder h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.f-bio { margin-top: 22px; display: grid; gap: 16px; color: var(--soft); max-width: 36em; }
.f-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.founder-label { font: 600 1rem var(--display); color: var(--brand); margin-bottom: 10px; }
.quote { background: linear-gradient(135deg, #3a1478, #8b45ec); color: #fff; border-radius: 24px; padding: clamp(32px, 4vw, 52px); }
.quote h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.quote p { margin-top: 16px; color: rgba(255, 255, 255, .85); }
.process { display: grid; grid-template-columns: 290px 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.steps { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.step { text-align: left; background: none; border: 0; color: var(--soft); font: 500 1.08rem var(--body); padding: 14px 20px; cursor: pointer; position: relative; display: flex; gap: 14px; align-items: baseline; }
.step i { font: normal 700 .95rem var(--display); width: 1.4em; opacity: .6; }
.step:hover { color: var(--ink); }
.step[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.step[aria-selected="true"]::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--brand), var(--accent)); border-radius: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 4vw, 50px); min-height: 280px; }
.panel h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.panel p { color: var(--soft); font-size: 1.1rem; max-width: 30em; }
.panel ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { display: flex; gap: 12px; align-items: center; }
.panel li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.swap { animation: swap .35s ease both; }
@keyframes swap { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { font: 600 .95rem var(--body); padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--soft); cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); transition: transform .25s, box-shadow .25s; }
.work:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(61, 25, 120, .5); }
.cover { aspect-ratio: 16/10; display: grid; place-items: center; color: #fff; font: 800 clamp(2rem, 4vw, 2.8rem) var(--display); letter-spacing: -.03em; position: relative; overflow: hidden; }
.cover::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -80px; background: rgba(255, 255, 255, .16); }
.work-body { padding: 22px 24px 26px; }
.work-body h3 { font-size: 1.25rem; }
.work-body p { margin-top: 6px; color: var(--soft); font-size: .98rem; }
.tag { display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 999px; background: var(--tint); color: var(--brand); font-weight: 600; font-size: .88rem; }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 14px; }
.client { padding: 15px 26px; border: 1px solid var(--line); border-radius: 999px; font: 700 1.05rem var(--display); color: var(--soft); transition: color .2s, border-color .2s, background .2s; }
.client:hover { color: var(--brand); border-color: var(--brand); background: var(--tint); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.info { display: grid; gap: 14px; }
.info a, .info div { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.info a:hover { border-color: var(--brand); }
.info .svc-icon { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.info small { display: block; color: var(--soft); font-size: .88rem; line-height: 1.3; }
.info b { font-weight: 600; word-break: break-word; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(61, 25, 120, .5); }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.note { font-size: .92rem; color: var(--soft); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(38px, 7vw, 84px); color: #fff; background: radial-gradient(500px 300px at 90% 0%, rgba(210, 60, 255, .55), transparent 65%), linear-gradient(135deg, #3a1478, #8b45ec); }
.cta h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 14em; }
.cta p { margin-top: 16px; max-width: 32em; color: rgba(255, 255, 255, .85); }

/* Footer */
footer { margin-top: clamp(40px, 7vw, 90px); background: #2a0e5c; color: #e9defc; padding: 60px 0 36px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
footer h4 { font-size: 1rem; margin-bottom: 14px; color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: #cdbdf2; } footer a:hover { color: #fff; }
footer .brand { color: #fff; }
footer .tagline { margin-top: 14px; color: #cdbdf2; max-width: 22em; }
.legal { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .92rem; color: #b9a6e6; }

/* Responsive */
@media (max-width: 960px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc { grid-template-columns: 56px 1fr; } .svc ul { grid-column: 2; }
  .svc-mini { grid-template-columns: 1fr 1fr; }
  .mini { padding: 26px 20px 26px 0 !important; border-bottom: 1px solid var(--line); }
  .mini:nth-child(2n) { border-right: 0; padding-left: 24px !important; }
  .cols3, .two, .process, .contact, .founder { grid-template-columns: 1fr; }
  .f-photo { max-width: 320px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); }
  .step { white-space: nowrap; padding: 12px 16px; }
  .step[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 3px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .burger { display: grid; }
  .nav ul { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 20px 18px; display: none; gap: 2px; }
  .nav ul.open { display: flex; }
  .nav-actions .btn { display: none; }
  .hint { display: none; }
}
@media (max-width: 560px) {
  .work-grid, .row2, .foot, .svc-mini { grid-template-columns: 1fr; }
  .mini, .mini:nth-child(2n) { border-right: 0; padding-left: 0 !important; }
  .stat { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .rise, .swap { animation: none; } .btn, .work, .svc-icon { transition: none; } }

/* Skip link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
/* Simple message pages */
.msg { min-height: 52vh; display: grid; place-items: center; text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.msg h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.msg p { margin: 16px auto 0; max-width: 30em; color: var(--soft); font-size: 1.1rem; }
.msg .hero-cta { justify-content: center; }
.msg .big { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--display); background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* About page */
.hero[data-photo] h1 { max-width: 11em; }
.hero-photo { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(430px, 40%); margin: 0; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .28); background: #1a0f2e; box-shadow: 0 40px 80px -30px rgba(139, 69, 236, .85), 0 0 0 8px rgba(255, 255, 255, .05); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-lg { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fact { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color .2s, transform .2s; }
.fact:hover { border-color: var(--brand); transform: translateY(-3px); }
.fact-img { width: 64px; height: 64px; object-fit: contain; }
.fact h3 { font-size: 1.35rem; }
.fact p { color: var(--soft); font-size: .98rem; margin-top: 4px; }
#mvp .filters { margin-bottom: 22px; }
#mvp .panel { min-height: 0; }
#mvp .panel h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.val-img { width: 84px; height: 84px; object-fit: contain; display: block; margin-bottom: 18px; }
.val h3 { font-size: 1.3rem; margin-bottom: 8px; }
.val p { color: var(--soft); }
.wide-photo { margin: clamp(36px, 5vw, 64px) auto 0; max-width: 880px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(106, 43, 208, .6); }
.wide-photo img { width: 100%; height: auto; display: block; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 34px); }
.member h3 { font-size: 1.25rem; margin-top: 18px; }
.m-role { color: var(--brand); font-weight: 600; margin-top: 2px; }
.m-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.m-link { display: inline-block; margin-top: 8px; color: var(--soft); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.m-link:hover { color: var(--brand); border-color: var(--brand); }
@media (max-width: 960px) {
  .hero-photo { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 520px; margin-top: 34px; }
  .vals, .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .facts, .vals, .team { grid-template-columns: 1fr; } .team { max-width: 360px; } }

/* Home page images */
.hero-photo.square { aspect-ratio: 1 / 1; width: min(400px, 38%); }
.stat-img { width: 52px; height: 52px; object-fit: contain; display: block; margin-bottom: 14px; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 26px 50px -30px rgba(106, 43, 208, .55); }
.svc-pic { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--tint); display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; }
.svc-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.svc-card p { color: var(--soft); font-size: .98rem; }
.step-pic { margin-bottom: 26px; border-radius: 16px; overflow: hidden; background: var(--tint); }
.step-pic img { width: 100%; height: auto; display: block; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile { height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.logo-tile:hover { border-color: var(--brand); transform: translateY(-3px); }
.logo-tile img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 1060px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .hero-photo.square { width: 100%; max-width: 380px; } }
@media (max-width: 560px) { .svc-cards { grid-template-columns: 1fr; } .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* Co-founder section: photo on the right */
.founder.reverse { grid-template-columns: 1fr 340px; }
.founder.reverse .f-photo { order: 2; }
@media (max-width: 960px) { .founder.reverse { grid-template-columns: 1fr; } .founder.reverse .f-photo { order: 0; } }

/* Leadership row: three animated cards */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.leader { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .4s; }
.leader.pre { opacity: 0; }
.leader.in { animation: cardIn .85s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 150ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(48px) scale(.96); } to { opacity: 1; transform: none; } }
.leader:hover { transform: translateY(-10px); border-color: var(--brand); box-shadow: 0 36px 60px -30px rgba(106, 43, 208, .6), 0 0 0 4px rgba(139, 69, 236, .12); }
.l-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.l-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.leader:hover .l-photo img { transform: scale(1.07); }
.l-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 24px; color: #fff; background: linear-gradient(180deg, rgba(20, 6, 50, 0) 25%, rgba(58, 20, 120, .95) 100%); transform: translateY(101%); transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.leader:hover .l-over, .leader:focus-within .l-over { transform: none; }
.l-over p { font-size: .98rem; line-height: 1.55; }
.l-link { align-self: flex-start; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .6); }
.l-body { position: relative; padding: 22px 24px 26px; }
.l-body::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.leader:hover .l-body::before { width: calc(100% - 48px); }
.l-body h3 { font-size: 1.35rem; }
.l-role { color: var(--brand); font-weight: 600; margin-top: 2px; }
.l-bio { display: none; color: var(--soft); margin-top: 12px; font-size: .98rem; }
@media (hover: none) and (min-width: 761px) { .l-over { display: none; } .l-bio { display: block; } }
@media (max-width: 760px) {
  /* keep all three cards on one line, just smaller */
  .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .leader { border-radius: 16px; }
  .leader:hover { transform: translateY(-4px); }
  .l-over, .l-bio { display: none; }
  .l-photo { aspect-ratio: 3 / 4; }
  .l-body { padding: 12px 10px 14px; }
  .l-body::before { left: 10px; }
  .leader:hover .l-body::before { width: calc(100% - 20px); }
  .l-body h3 { font-size: .85rem; line-height: 1.2; }
  .l-role { font-size: .7rem; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .leader.in { animation: none; } .leader, .l-photo img, .l-over, .l-body::before { transition: none; } }

/* ===== Home page polish ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, #8b45ec, #d23cff); box-shadow: 0 0 12px rgba(210, 60, 255, .7); pointer-events: none; }
.rv { opacity: 0; }
.rv-in { animation: rvIn .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rvIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: rgba(255, 255, 255, .78); }
.trust b { color: #fff; }
.trust-logos { display: flex; }
.trust-logos img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 6px; border: 2px solid #1a0f2e; margin-left: -10px; }
.trust-logos img:first-child { margin-left: 0; }

.hero-visual { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(400px, 38%); }
.hero-visual::before { content: ""; position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(circle, rgba(210, 60, 255, .5), transparent 62%); filter: blur(16px); z-index: -1; }
.hero-visual .hero-photo.square { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: none; margin: 0; }
.fchip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 16px; color: #fff; font-size: .95rem; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .7); animation: floaty 5.5s ease-in-out infinite; white-space: nowrap; }
.fchip b { font: 800 1.2rem var(--display); }
.fchip .dot { width: 10px; height: 10px; border-radius: 50%; background: #d23cff; box-shadow: 0 0 12px 3px rgba(210, 60, 255, .85); }
.fchip.c1 { left: -44px; bottom: 14%; }
.fchip.c2 { right: -18px; top: 9%; animation-delay: -2.7s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ticker { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 2; overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track, .marquee-track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding: 15px 34px 15px 0; }
.ticker-group span { white-space: nowrap; font: 600 1.02rem var(--display); color: rgba(255, 255, 255, .9); }
.ticker-group i { font-style: normal; color: #d23cff; text-shadow: 0 0 12px rgba(210, 60, 255, .9); }
@keyframes marq { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track, .marquee:hover .marquee-track { animation-play-state: paused; }

.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { animation-duration: 55s; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
.marquee .logo-tile { width: 200px; flex: none; }
.marquee .client { white-space: nowrap; flex: none; }

.svc-card { position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 69, 236, .17), transparent 62%); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; }

.why { counter-reset: why; }
.why .col { counter-increment: why; position: relative; padding: 32px 30px 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .3s, border-color .3s, box-shadow .3s; }
.why .col::after { content: "0" counter(why); position: absolute; right: 22px; top: 12px; font: 800 3.2rem var(--display); color: var(--tint); letter-spacing: -.04em; }
.why .col:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 26px 50px -32px rgba(106, 43, 208, .55); }
.why .col h3, .why .col p { position: relative; }

.cta .sky { z-index: 0; }
.cta > :not(canvas) { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .hero-visual { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 380px; margin-top: 34px; }
  .fchip.c1 { left: 10px; bottom: 12px; } .fchip.c2 { right: 10px; top: 12px; }
  .ticker { bottom: 56px; }
}
@media (max-width: 560px) { .marquee .logo-tile { width: 150px; } .ticker-group span { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) {
  .fchip, .ticker-track, .marquee-track { animation: none; }
  .ticker-track, .marquee-track { flex-wrap: wrap; width: auto; }
  .ticker-group[aria-hidden], .marquee-group[aria-hidden] { display: none; }
  .marquee-group { flex-wrap: wrap; }
}

/* ===== Top bar, cool header, impressive hero ===== */
.topbar { position: relative; z-index: 31; color: rgba(255, 255, 255, .88); font-size: .88rem; background: linear-gradient(90deg, #120a22 0%, #2a0e5c 55%, #4a1a9a 100%); box-shadow: inset 0 -1px 0 rgba(210, 60, 255, .35); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, text-shadow .2s; }
.topbar a:hover { color: #fff; text-shadow: 0 0 14px rgba(226, 150, 255, .9); }
.tb-mail svg { color: #e07bff; }
.tb-right { display: flex; align-items: center; gap: 14px; }
.tb-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .28); }
.tb-soc { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.tb-soc:hover { background: rgba(210, 60, 255, .35); }
@media (max-width: 620px) { .tb-right { display: none; } .topbar-in { justify-content: center; } }

.site-header { transition: background .3s, box-shadow .3s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--brand) 22%, var(--accent) 62%, transparent); opacity: .9; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 16px 36px -22px rgba(61, 25, 120, .6); }
.nav { transition: height .3s; }
.site-header.scrolled .nav { height: 62px; }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav ul a:hover { background: transparent; color: var(--brand); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.brand .mark { transition: transform .4s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.brand:hover .mark { transform: rotate(-10deg) scale(1.08); filter: drop-shadow(0 0 10px rgba(210, 60, 255, .65)); }
.site-header .wordmark b { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .wordmark b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #d9b8ff; }
.nav-actions .btn-primary { position: relative; overflow: hidden; padding-inline: 22px; }
.nav-actions .btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 38%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); animation: btnshine 4.5s ease-in-out infinite; }
.nav-actions .btn-primary span { transition: transform .25s; display: inline-block; }
.nav-actions .btn-primary:hover span { transform: translateX(4px); }
@keyframes btnshine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; margin-bottom: 26px; border-radius: 999px; font-size: .95rem; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-pill .pdot { width: 9px; height: 9px; border-radius: 50%; background: #d23cff; box-shadow: 0 0 12px 3px rgba(210, 60, 255, .85); animation: pulse 2s ease-in-out infinite; }
.hero-pill b { color: #fff; font-weight: 600; display: inline-block; transition: opacity .28s, transform .28s; }
.hero-pill b.out { opacity: 0; transform: translateY(8px); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }
.hero h1.shine { text-shadow: none; filter: drop-shadow(0 6px 34px rgba(139, 69, 236, .55)); background: linear-gradient(100deg, #fff 0%, #fff 38%, #ecc9ff 50%, #fff 62%, #fff 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both, textshine 7s ease-in-out 1s infinite; }
@keyframes textshine { 0% { background-position: 125% 0; } 100% { background-position: -125% 0; } }

.orb { aspect-ratio: 1; display: grid; place-items: center; width: min(440px, 40%); }
.orb .disc { position: absolute; inset: 20%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .05) 42%, rgba(0, 0, 0, .6) 100%); box-shadow: inset 0 0 50px rgba(139, 69, 236, .45), 0 40px 80px -26px rgba(139, 69, 236, .85); }
.orb .ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .26); }
.orb .r1 { inset: 8%; animation: spin 32s linear infinite; }
.orb .r2 { inset: -3%; border: 1px solid rgba(210, 60, 255, .42); animation: spin 48s linear infinite reverse; }
.orb .r3 { inset: -15%; border: 1px solid rgba(255, 255, 255, .1); }
.orb .ring::after { content: ""; position: absolute; top: 4%; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 5px rgba(210, 60, 255, .95); }
.orb .r2::after { background: #d23cff; top: auto; bottom: 4%; width: 9px; height: 9px; }
.orb .r3::after { display: none; }
.orb .mark { position: relative; width: 42%; height: auto; filter: drop-shadow(0 0 24px rgba(210, 60, 255, .8)); animation: bob 6s ease-in-out infinite; }
.fchip.c3 { right: -30px; bottom: 20%; animation-delay: -1.3s; }
@media (max-width: 960px) { .orb { width: 100%; max-width: 330px; } .orb .r3 { display: none; } .fchip.c3 { right: 8px; bottom: 26%; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1.shine { animation: none; background: none; color: #fff; -webkit-background-clip: border-box; }
  .orb .ring, .orb .mark, .hero-pill .pdot, .nav-actions .btn-primary::after { animation: none; }
}

.logo-name { font: 700 1.1rem var(--display); color: var(--soft); text-align: center; line-height: 1.2; }

/* ===== Portfolio page ===== */
.hero.banner.tall .hero-in { padding-bottom: clamp(96px, 11vw, 150px); }
.chip .n { margin-left: 8px; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: rgba(139, 69, 236, .12); }
.chip[aria-pressed="true"] .n { background: rgba(255, 255, 255, .28); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pf { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 11; isolation: isolate; text-align: left; font: inherit; color: #fff;
  background: linear-gradient(135deg, var(--g1, #3a1478), var(--g2, #8b45ec)); box-shadow: 0 22px 44px -28px rgba(61, 25, 120, .7); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.pf::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: rgba(255, 255, 255, .14); z-index: -1; transition: transform .6s; }
.pf::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-18deg); transition: left .9s; }
.pf:hover { transform: translateY(-9px); box-shadow: 0 38px 60px -30px rgba(106, 43, 208, .85), 0 0 0 3px rgba(210, 60, 255, .35); }
.pf:hover::before { transform: scale(1.35); }
.pf:hover::after { left: 130%; }
.pf.in { animation: pfIn .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes pfIn { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: none; } }
.pf-shot { position: absolute; inset: 20px 22px 70px; display: flex; align-items: center; justify-content: center; }
.pf-shot img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 36px -14px rgba(0, 0, 0, .6); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pf:hover .pf-shot img { transform: scale(1.06) translateY(-4px); }
.pf-fb { display: none; font: 800 3.4rem var(--display); letter-spacing: -.04em; opacity: .9; }
.pf.failed .pf-fb { display: block; }
.pf-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: linear-gradient(0deg, rgba(20, 6, 50, .8), rgba(20, 6, 50, 0)); }
.pf-cap b { font: 600 1.05rem var(--display); }
.pf-cap em { font-style: normal; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); white-space: nowrap; }
.pf-zoom { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .38); transform: scale(.6); opacity: 0; transition: transform .35s, opacity .35s; }
.pf:hover .pf-zoom, .pf:focus-visible .pf-zoom { transform: none; opacity: 1; }
@media (hover: none) { .pf-zoom { transform: none; opacity: 1; } }

.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: calc(24px + env(safe-area-inset-top, 0px)) 18px calc(24px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 4, 24, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lb-fig img { display: block; max-width: min(100%, 1100px); max-height: 76vh; width: auto; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -30px rgba(139, 69, 236, .8); animation: lbIn .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lb-fig figcaption { color: #fff; font: 600 1rem var(--display); text-align: center; white-space: pre-wrap; }
.lb button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lb button:hover { background: rgba(210, 60, 255, .5); transform: scale(1.06); }
.lb-x { position: absolute; right: 18px; top: calc(16px + env(safe-area-inset-top, 0px)); }
@media (max-width: 960px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf { aspect-ratio: 4 / 3; }
  .lb { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-nav { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .lb-fig img { max-height: 66vh; }
}
@media (prefers-reduced-motion: reduce) { .pf.in, .lb-fig img { animation: none; } .pf, .pf::before, .pf::after, .pf-shot img { transition: none; } }

/* ===== Portfolio: lighter colours + more motion ===== */
.hero.banner.tall.soft { background: radial-gradient(700px 400px at 85% 8%, rgba(255, 196, 250, .55), transparent 62%), radial-gradient(620px 400px at 0% 100%, rgba(150, 200, 255, .38), transparent 62%), linear-gradient(135deg, #5b21b6 0%, #8b45ec 52%, #c084fc 100%); }
.pf-sec, .pf-sec2 { position: relative; overflow: hidden; }
.pf-sec { background: linear-gradient(180deg, #fff 0%, #faf5ff 100%); }
.pf-sec2 { background: linear-gradient(135deg, #f3ecff 0%, #ffeefa 55%, #eaf4ff 100%); border-block: 1px solid var(--line); }
.pf-sec > .wrap, .pf-sec2 > .wrap { position: relative; z-index: 1; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: blobFloat 16s ease-in-out infinite alternate; }
.blob.b1 { left: -120px; top: 40px; background: radial-gradient(circle, #e9d5ff, transparent 70%); }
.blob.b2 { right: -140px; bottom: 60px; background: radial-gradient(circle, #fbcfe8, transparent 70%); animation-delay: -6s; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -50px) scale(1.18); } }

.pf { color: #2a1458; box-shadow: 0 22px 44px -28px rgba(139, 69, 236, .5); }
.pf::before { background: rgba(255, 255, 255, .5); }
.pf:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-9px); transition: transform .15s ease-out, box-shadow .45s; box-shadow: 0 38px 60px -30px rgba(139, 69, 236, .6), 0 0 0 3px rgba(255, 255, 255, .85); }
.pf-shot { inset: 20px 22px 80px; }
.pf-shot img { box-shadow: 0 18px 32px -14px rgba(61, 25, 120, .45); }
.pf-fb { color: #5b21b6; }
.pf-cap { left: 12px; right: 12px; bottom: 12px; border-radius: 16px; padding: 12px 16px; color: #2a1458; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 26px -16px rgba(61, 25, 120, .55); }
.pf-cap em { color: #6a2bd0; background: linear-gradient(135deg, #ede4ff, #fbe4ff); border-color: rgba(139, 69, 236, .25); }
.pf-zoom { color: #6a2bd0; background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); }

.hero-photo.feature { aspect-ratio: 3 / 2; width: min(450px, 40%); background: linear-gradient(135deg, #efe4ff, #ffe6f7 60%, #e0f0ff); border-color: rgba(255, 255, 255, .7); box-shadow: 0 40px 80px -30px rgba(40, 10, 100, .7), 0 0 0 8px rgba(255, 255, 255, .12); }
.feat-img { position: absolute; inset: 18px 18px 68px; display: flex; align-items: center; justify-content: center; }
.feat-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 18px 32px -14px rgba(61, 25, 120, .5); animation: featFloat 6s ease-in-out infinite; }
.feature.fswap .feat-img img { animation: featIn .7s cubic-bezier(.2, .7, .2, 1), featFloat 6s ease-in-out .7s infinite; }
.feat-fb { font: 700 1.6rem var(--display); color: #5b21b6; text-align: center; }
@keyframes featIn { from { opacity: 0; transform: scale(.9) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes featFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.feat-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .86); color: #2a1458; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feat-label { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #8b45ec, #d23cff); white-space: nowrap; }
.feat-name { font: 600 .98rem var(--display); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feat-tag { font-style: normal; font-size: .78rem; font-weight: 600; color: #6a2bd0; white-space: nowrap; }
.feat-shuffle { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #6a2bd0; background: rgba(255, 255, 255, .88); cursor: pointer; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.feat-shuffle:hover { transform: rotate(180deg) scale(1.08); }
@media (max-width: 960px) { .hero-photo.feature { width: 100%; max-width: 470px; } }

.city-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.city-stage { position: relative; aspect-ratio: 1200 / 430; border-radius: 30px; overflow: hidden; margin-bottom: 44px; background: #e8dcff; box-shadow: 0 34px 70px -42px rgba(106, 43, 208, .7), 0 0 0 1px rgba(255, 255, 255, .8); }
.city-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1s ease, transform 7s linear; }
.city-scene.on { opacity: 1; transform: scale(1); }
.city-label { position: absolute; left: 22px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; padding: 14px 24px; border-radius: 18px; color: #2a1458; background: rgba(255, 255, 255, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 34px -20px rgba(61, 25, 120, .6); }
.cl-country { font-size: .82rem; font-weight: 600; color: #7c3aed; }
.cl-city { font: 700 clamp(1.2rem, 2.8vw, 1.9rem) var(--display); }
.city-stage.tick .city-label { animation: labelIn .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes labelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.city-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .45); }
.city-bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #8b45ec, #d23cff); }
.city-stage.tick .city-bar span { animation: barFill 6s linear forwards; }
@keyframes barFill { to { width: 100%; } }
@media (max-width: 700px) { .city-stage { aspect-ratio: 4 / 3; border-radius: 22px; } .city-label { left: 12px; bottom: 16px; padding: 10px 16px; } }
@media (prefers-reduced-motion: reduce) { .blob, .feat-img img, .feature.fswap .feat-img img, .city-stage.tick .city-label, .city-stage.tick .city-bar span { animation: none; } .city-scene { transition: opacity .3s; transform: none; } .city-bar span { width: 100%; } .feat-shuffle:hover { transform: none; } }

/* portfolio hero fixes */
.hero-photo.feature { top: 46%; }
@media (max-width: 960px) { .hero-photo.feature { top: auto; } }

.logo-tile.dark { background: linear-gradient(135deg, #2a0e5c, #6a2bd0); border-color: transparent; }

/* ===== Floating contact widget + call popup ===== */
.fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-main { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; background: linear-gradient(135deg, #8b45ec, #d23cff); box-shadow: 0 16px 34px -10px rgba(139, 69, 236, .85); transition: transform .25s; }
.fab-main:hover { transform: scale(1.08); }
.fab-main::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: fabPulse 2.6s ease-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.fab-main .ic-x { display: none; } .fab.open .ic-chat { display: none; } .fab.open .ic-x { display: block; } .fab.open .fab-main::before { animation: none; }
.fab-panel { width: min(340px, calc(100vw - 36px)); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transform-origin: bottom right; box-shadow: 0 30px 70px -30px rgba(61, 25, 120, .65); animation: panelIn .35s cubic-bezier(.2, .7, .2, 1); }
.fab-panel[hidden], .fab-tip[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.fab-head { padding: 18px 20px; color: #fff; background: linear-gradient(135deg, #3a1478, #8b45ec 70%, #d23cff); }
.fab-head h3 { font-size: 1.15rem; } .fab-head p { margin-top: 2px; font-size: .88rem; opacity: .88; }
.fab-list { list-style: none; margin: 0; padding: 8px; }
.fab-list li { animation: panelIn .45s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
.fab-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.fab-row:hover { background: var(--tint); transform: translateX(3px); }
.fab-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.fab-ic.wa { background: #25d366; } .fab-ic.ig { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #7b3fe4); } .fab-ic.li { background: #0a66c2; }
.fab-ic.ph { background: linear-gradient(135deg, #8b45ec, #d23cff); } .fab-ic.em { background: #6a2bd0; }
.fab-t b { display: block; font-weight: 600; line-height: 1.25; } .fab-t span { font-size: .85rem; color: var(--soft); word-break: break-all; }
.fab-tip { position: relative; max-width: 240px; padding: 11px 36px 11px 15px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); font-size: .92rem; box-shadow: 0 18px 40px -20px rgba(61, 25, 120, .6); border: 1px solid var(--line); animation: panelIn .5s cubic-bezier(.2, .7, .2, 1); }
.fab-tip button { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--soft); cursor: pointer; font-size: 1.1rem; line-height: 1; }

.cm { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(20, 6, 50, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cm[hidden] { display: none; }
.cm-box { position: relative; width: min(400px, 100%); padding: 34px 26px 24px; text-align: center; background: #fff; border-radius: 28px; box-shadow: 0 40px 90px -30px rgba(61, 25, 120, .8); animation: panelIn .35s cubic-bezier(.2, .7, .2, 1); }
.cm-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); color: var(--brand); cursor: pointer; display: grid; place-items: center; }
.cm-ring { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8b45ec, #d23cff); box-shadow: 0 0 0 8px rgba(139, 69, 236, .14), 0 0 0 18px rgba(139, 69, 236, .07); }
.cm-box h3 { font-size: 1.35rem; } .cm-box p { margin-top: 6px; color: var(--soft); font-size: .95rem; }
.cm-num { display: block; margin: 16px 0 20px; font: 800 1.9rem var(--display); letter-spacing: -.01em; color: var(--brand); text-decoration: none; }
.cm-actions { display: grid; gap: 10px; }
.cm-actions .btn { width: 100%; }
.cm-alt { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #128c4a; font-weight: 600; text-decoration: none; }
.cm-alt:hover { text-decoration: underline; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); transition: transform .25s, background .25s; }
.f-social a:hover { transform: translateY(-3px); background: linear-gradient(135deg, #8b45ec, #d23cff); color: #fff; }
.info .svc-icon.wa { background: #dcf8e6; color: #128c4a; }
@media (prefers-reduced-motion: reduce) { .fab-main::before, .fab-panel, .fab-list li, .fab-tip, .cm-box { animation: none; } }
