/* =========================================================
   umarkalimpro.com · design system v2
   Layout: navy "ledger" bands for heroes and calls to action,
   white and paper sections for reading. Default colors are the
   original "Midnight Blue" (navy, blue, cyan). Themes swap tokens.
   ========================================================= */
:root {
  --ink: #070B16;          /* hero and footer background */
  --ink-2: #111A2E;        /* raised surfaces on ink */
  --brand: #0C1222;
  --accent: #3B82F6;       /* bright blue: buttons, highlights */
  --accent-ink: #1D4ED8;   /* blue dark enough for text on white */
  --accent-soft: #E8F0FE;
  --accent-2: #22D3EE;     /* cyan: glows and second highlight */
  --ok: #16A34A;           /* "reconciled" green, same in every theme */
  --ok-soft: #E7F6EC;
  --bg: #FFFFFF;
  --paper: #F4F6FA;
  --text: #0F1531;
  --muted: #5A6380;
  --line: #E1E5EE;
  --on-ink: #F2F5FC;
  --on-ink-muted: #A8B1CD;
  --on-ink-line: rgba(255, 255, 255, .12);
  --danger: #C8382F;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 21, 49, .06), 0 8px 24px -12px rgba(15, 21, 49, .18);
  --shadow-lg: 0 2px 4px rgba(15, 21, 49, .06), 0 24px 48px -20px rgba(15, 21, 49, .32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1180px;
  color-scheme: light;
}
/* Color themes (Admin Panel → Color Theme) */
:root[data-palette="navy-green"]      { --ink: #0C1433; --ink-2: #16205A; --brand: #1C255E; --accent: #2DA657; --accent-ink: #1C7F40; --accent-soft: #E8F6ED; --accent-2: #7DD3A0; }
:root[data-palette="charcoal-orange"] { --ink: #121418; --ink-2: #1E2127; --brand: #1C1F26; --accent: #F26B1D; --accent-ink: #B94D0E; --accent-soft: #FDEEE4; --accent-2: #FBBF24; }
:root[data-palette="slate-purple"]    { --ink: #13102A; --ink-2: #221C47; --brand: #2A2350; --accent: #8B5CF6; --accent-ink: #6A3DDB; --accent-soft: #F0EAFE; --accent-2: #EC4899; }
:root[data-palette="emerald-dark"]    { --ink: #05201A; --ink-2: #0B3329; --brand: #0B3A2E; --accent: #10B981; --accent-ink: #08805A; --accent-soft: #E2F7EF; --accent-2: #EAB308; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; text-wrap: balance; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.sec .accent, .sec-paper .accent { color: var(--accent-ink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .6em; }
.h4 { font-size: 1rem; font-weight: 700; margin: 1.2em 0 .6em; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-inline { width: 16px; height: 16px; display: inline; vertical-align: -3px; }
.star { width: 16px; height: 16px; fill: #F5B014; stroke: #F5B014; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(120deg, var(--accent-ink), var(--accent)); color: #fff; box-shadow: 0 6px 16px -8px var(--accent); }
.btn-primary:hover { color: #fff; background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--accent); }
.btn-ghost-light { color: var(--on-ink); border-color: var(--on-ink-line); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--text); border-color: var(--line); background: var(--bg); }
.btn-outline:hover { color: var(--text); border-color: var(--text); }
.btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Top banner ---------- */
.topbar { background: var(--accent); color: #fff; font-size: .92rem; font-weight: 600; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; position: relative; text-align: center; }
.topbar p { margin: 0; padding-right: 32px; }
.topbar a { color: #fff; text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.topbar-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: grid; opacity: .85; }
.topbar-x:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(12, 20, 51, .96); color: var(--on-ink); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--on-ink-line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 1.02rem; }
.brand-text small { font-size: .74rem; color: var(--on-ink-muted); font-weight: 500; }
nav[aria-label="Main"] { margin-left: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 9px; color: var(--on-ink-muted); font-weight: 600; font-size: .93rem; text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-mobile-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
/* Book a Call: soft pulse ring, light sweep and calendar wiggle every few seconds */
.btn-attn { position: relative; overflow: hidden; isolation: isolate; animation: attnRing 3.2s ease-out 1.5s infinite; }
.btn-attn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%) -160% 0 / 260% 100% no-repeat; animation: shine 3.2s ease-in-out 1.5s infinite; }
.btn-attn .ic { animation: wiggle 3.2s ease-in-out 1.5s infinite; transform-origin: 50% 20%; }
.btn-attn:hover { animation-play-state: paused; }
@keyframes attnRing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 55%, 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(0); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--on-ink-line); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--on-ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Dark bands: hero, page hero (ledger-paper rules, static) ---------- */
.hero, .page-hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(to bottom, transparent 39px, rgba(255, 255, 255, .045) 40px); background-size: 100% 40px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent), radial-gradient(closest-side at 70% 80%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent); opacity: .8; }
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--on-ink-line); font-size: .86rem; font-weight: 600; color: var(--on-ink-muted); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; color: #fff; }
.hero-lead { margin: 22px 0 0; font-size: 1.14rem; color: var(--on-ink-muted); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--on-ink-line); }
.hero-proof li { display: flex; align-items: center; gap: 8px; color: var(--on-ink-muted); font-size: .92rem; }
.hero-proof strong { color: #fff; font-size: 1.2rem; }
.hero-proof .star { width: 14px; height: 14px; margin-left: -4px; }
.hero-proof .star:first-of-type { margin-left: 0; }

.hero-visual { position: relative; padding: 34px 0 150px 0; }
.portrait { margin: 0; width: 80%; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); aspect-ratio: 1 / 1.05; border: 1px solid var(--on-ink-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 16px; background: linear-gradient(transparent, rgba(5, 8, 20, .94)); display: grid; max-width: 100%; }
.portrait figcaption strong { color: #fff; font-size: 1.1rem; }
.portrait figcaption span { color: var(--on-ink-muted); font-size: .84rem; max-width: 46%; }
.portrait figcaption strong { max-width: 46%; }
/* Upwork badge: sits on the photo's top-right corner (background only), floats gently */
.hero-badge { position: absolute; top: 0; right: -16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg); color: var(--text); box-shadow: var(--shadow-lg); max-width: 250px; animation: badgeIn .8s var(--ease) .3s both, floatY 6s ease-in-out 1.1s infinite; }
.hero-badge .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); position: relative; animation: shieldPulse 2.6s ease-out 1.4s infinite; }
.hero-badge div { display: grid; line-height: 1.3; }
.hero-badge strong { font-size: .95rem; }
.hero-badge span { font-size: .78rem; color: var(--muted); }
.hero-badge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: shine 5s ease-in-out 2s infinite; mix-blend-mode: overlay; }
@keyframes badgeIn { from { opacity: 0; transform: translate(18px, -10px) scale(.96); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shieldPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes shine { 0%, 60% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@keyframes okPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }

/* Reconciliation card: the signature element */
.recon { background: var(--bg); color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); font-size: .92rem; }
.hero-visual .recon { position: absolute; right: -16px; bottom: 0; z-index: 2; width: min(320px, 70%); animation: floatY 7s ease-in-out 2.5s infinite; }
.recon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.recon-state { display: inline-flex; align-items: center; gap: 6px; color: #B7791F; text-transform: none; letter-spacing: 0; font-size: .8rem; }
.recon-state.is-done { color: var(--ok); }
.recon-state.is-done::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: okPing 2s ease-out infinite; }
.recon-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.recon-row span:first-child { color: var(--muted); }
.recon-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; background: var(--ok-soft); font-weight: 700; }
.recon-total .mono { font-size: 1.5rem; color: var(--ok); }
.recon-total.is-off .mono { color: var(--danger); }
.recon-static { margin: 26px 0 0; max-width: 460px; }
.recon-mini { max-width: 260px; margin: 26px auto 0; }

/* ---------- Certification strip ---------- */
.proofbar { background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 0; }
.proof-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; color: var(--text); white-space: nowrap; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.proof-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; border: 1px solid var(--line); }

/* ---------- Marquee (sliding strips) ---------- */
.marquee { --gap: 18px; display: flex; gap: var(--gap); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-group { flex: none; display: flex; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: marquee var(--speed, 40s) linear infinite; }
.marquee.is-reverse .marquee-group { animation-direction: reverse; }
.marquee:hover .marquee-group, .marquee:focus-within .marquee-group { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

/* ---------- Sections ---------- */
.sec { padding: 96px 0; }
.sec-paper { background: var(--paper); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.sec-title { font-size: clamp(1.8rem, 3.2vw, 2.55rem); font-weight: 800; }
.sec-sub { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.center-link { text-align: center; margin-top: 40px; }
.note { margin-top: 28px; text-align: center; color: var(--muted); font-size: .95rem; }

/* Page heroes */
.page-hero { padding: 40px 0 72px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; color: #fff; max-width: 880px; }
.page-hero h1.h1-sm { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-lead { margin-top: 18px; font-size: 1.12rem; color: var(--on-ink-muted); max-width: 700px; }
.page-lead a { color: #fff; }
.page-hero-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--on-ink-muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--on-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--on-ink-line); font-size: .88rem; font-weight: 600; color: var(--on-ink); }
.chips .ic { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.sec-paper .svc { box-shadow: var(--shadow); border-color: transparent; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.svc-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.svc-icon .ic { width: 24px; height: 24px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pill-green { background: var(--accent-soft); color: var(--accent-ink); }
.svc h3 { font-size: 1.22rem; font-weight: 700; }
.svc h3 a { color: var(--text); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc > p { margin: 10px 0 0; color: var(--muted); font-size: .97rem; }
.ticks { display: grid; gap: 8px; margin-top: 16px; }
.ticks li { display: flex; gap: 10px; font-size: .94rem; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.ticks-lg li { font-size: 1.02rem; }
.svc-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 22px; }
.svc .ticks { margin-bottom: 22px; }
.svc-price strong { font-size: 1.4rem; color: var(--text); }
.svc-go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); align-self: center; transition: background .25s, color .25s, border-color .25s; }
.svc-go .ic { width: 18px; height: 18px; }
.svc:hover .svc-go { background: var(--accent); color: #fff; border-color: var(--accent); }
.svc-grid-sm { grid-template-columns: repeat(3, 1fr); }
.svc-grid-sm .ticks { display: none; }

.price-card { background: var(--bg); color: var(--text); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.price-card .muted { margin: 16px 0 0; font-size: .9rem; }
.price { font-size: 2.4rem; font-weight: 700; margin: 0; line-height: 1.2; }
.price-card .small { margin-top: 18px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.xlist { display: grid; gap: 12px; }
.xlist li { padding: 14px 16px 14px 44px; border-radius: 12px; background: var(--paper); position: relative; }
.xlist li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 14px; height: 2px; background: var(--danger); border-radius: 2px; }

.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .96rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--paper); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td.mono { white-space: nowrap; font-weight: 700; }


/* ---------- Service cards with illustrations (Admin: Services → "Show pictures") ---------- */
.svc.svc-has-art { padding: 0; overflow: hidden; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.svc-has-art .svc-top { margin: -46px 0 12px; position: relative; z-index: 1; }
.svc-has-art .svc-icon { background: var(--bg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.svc-art { position: relative; aspect-ratio: 16 / 9; background: var(--tint, var(--accent-soft)); border-bottom: 1px solid var(--line); overflow: hidden; }
.svc-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--accent) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent) 1px, transparent 1px); background-size: 22px 22px; }
.svc-art-svg { position: relative; display: block; width: 100%; height: 100%; padding: 6px 10px 20px; }
.svc-art-badge { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--bg); box-shadow: var(--shadow); }
.svc-art--cleanup  { --tint: color-mix(in srgb, var(--accent) 10%, #fff); }
.svc-art--monthly  { --tint: color-mix(in srgb, var(--accent-2) 14%, #fff); }
.svc-art--tax      { --tint: #F2EEFF; }
.svc-art--health   { --tint: #FFF5E6; }
.svc-art--lender   { --tint: #EAF7EF; }
.svc-art--advisory { --tint: #E5F6FC; }
.svc-art--ai       { --tint: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent-2) 18%, #fff)); }
.svc-art--ai { background: var(--tint); }
/* shapes */
.svc-art-svg .sa-card, .svc-art-svg .sa-card2 { fill: #fff; filter: drop-shadow(0 6px 10px rgba(15, 21, 49, .10)); }
.svc-art-svg .sa-a { fill: var(--accent); }
.svc-art-svg .sa-a2 { fill: var(--accent-2); }
.svc-art-svg .sa-soft { fill: color-mix(in srgb, var(--accent) 18%, #fff); }
.svc-art-svg .sa-soft2 { fill: #fff; stroke: color-mix(in srgb, var(--accent) 35%, #fff); stroke-width: 1.5; }
.svc-art-svg .sa-mute { fill: #E6E9F2; }
.svc-art-svg .sa-bad { fill: #F7D6D3; }
.svc-art-svg .sa-red { fill: #E5484D; }
.svc-art-svg .sa-amber { fill: #F5A524; }
.svc-art-svg .sa-ok { fill: var(--ok); }
.svc-art-svg .sa-okbg { fill: var(--ok-soft); }
.svc-art-svg .sa-folder { fill: color-mix(in srgb, var(--accent) 22%, #fff); }
.svc-art-svg .sa-cloud { fill: #fff; stroke: color-mix(in srgb, var(--accent-2) 55%, #fff); stroke-width: 2; }
.svc-art-svg .sa-aibg { fill: var(--ink); }
.svc-art-svg .sa-spark { fill: var(--accent-2); }
.svc-art-svg .sa-tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-art-svg .sa-tick-lg { stroke-width: 3; }
.svc-art-svg .sa-stroke { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-art-svg .sa-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-art-svg .sa-zig { fill: none; stroke: #E6E9F2; stroke-width: 2; }
.svc-art-svg .sa-track { fill: none; stroke: #E6E9F2; stroke-width: 12; stroke-linecap: round; }
.svc-art-svg .sa-gauge { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; animation: saDraw 1.6s var(--ease) .4s forwards; }
.svc-art-svg .sa-flow { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 7; animation: saFlow 1.2s linear infinite; }
.svc-art-svg .sa-flow-rev { animation-direction: reverse; stroke: var(--accent-2); }
.svc-art-svg .sa-dash { stroke-dasharray: 160; stroke-dashoffset: 160; animation: saDraw 2.4s var(--ease) .6s infinite alternate; }
.svc-art-svg .sa-t { font-family: var(--font); font-size: 11px; font-weight: 700; fill: var(--text); }
.svc-art-svg .sa-tw { fill: #fff; }
.svc-art-svg .sa-muted { fill: var(--muted); font-weight: 600; }
.svc-art-svg .sa-strong { font-size: 11.5px; }
.svc-art-svg .sa-strongc { fill: var(--accent-ink); }
.svc-art-svg .sa-okt { fill: var(--ok); }
.svc-art-svg .sa-mono { font-family: var(--mono); font-size: 13px; }
.svc-art-svg .sa-big { font-size: 22px; font-weight: 800; }
/* motion: gentle, and a little extra on hover */
.svc-art-svg .sa-float-a, .svc-art-svg .sa-float-b, .svc-art-svg .sa-pop, .svc-art-svg .sa-ai, .svc-art-svg .sa-bar { transform-box: fill-box; transform-origin: center; }
.svc-art-svg .sa-float-a { animation: saFloat 6s ease-in-out infinite; }
.svc-art-svg .sa-float-b { animation: saFloat 6s ease-in-out -3s infinite; }
.svc-art-svg .sa-ai { animation: saGlow 3s ease-in-out infinite; }
.svc-art-svg .sa-twinkle { animation: saTwinkle 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.svc-art-svg .sa-pulse { animation: saTwinkle 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.svc-art-svg .sa-bar { transform-origin: bottom; }
.svc:hover .sa-bar { animation: saGrow .7s var(--ease) both; }
.svc:hover .sa-bar:nth-of-type(2) { animation-delay: .08s; } .svc:hover .sa-bar:nth-of-type(3) { animation-delay: .16s; } .svc:hover .sa-bar:nth-of-type(4) { animation-delay: .24s; }
.svc:hover .sa-pop { animation: saPop .5s var(--ease); }
.svc:hover .svc-art-svg { transform: scale(1.03); }
.svc-art-svg { transition: transform .5s var(--ease); }
@keyframes saFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes saFlow { to { stroke-dashoffset: -22; } }
@keyframes saDraw { to { stroke-dashoffset: 0; } }
@keyframes saGlow { 0%, 100% { filter: drop-shadow(0 0 0 transparent); } 50% { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent-2) 70%, transparent)); } }
@keyframes saTwinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.75); opacity: .6; } }
@keyframes saGrow { from { transform: scaleY(.2); } }
@keyframes saPop { 40% { transform: scale(1.08); } }
/* a lone last card (e.g. the 7th service) becomes a wide feature card */
@media (min-width: 1081px) {
  .svc-grid:not(.svc-grid-sm) > .svc-has-art:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .svc-grid:not(.svc-grid-sm) > .svc-has-art:last-child:nth-child(3n+1) .svc-art { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .svc-grid:not(.svc-grid-sm) > .svc-has-art:last-child:nth-child(3n+1) .svc-top { margin-top: 0; }
  .svc-grid:not(.svc-grid-sm) > .svc-has-art:last-child:nth-child(3n+1) .svc-body { padding: 30px 34px; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .svc-grid:not(.svc-grid-sm) > .svc-has-art:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}

.side-label { margin: 22px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.side-socials { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: var(--bg); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.sec-paper .case-card { border-color: transparent; box-shadow: var(--shadow); }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card[hidden] { display: none; }
.case-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.case-link:hover { color: inherit; }
.case-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease), filter .4s; }
.case-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--ink) 78%, transparent)); opacity: 0; transition: opacity .35s var(--ease); }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-card:hover .case-img::after { opacity: 1; }
.case-chip { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(6px); transition: opacity .3s; }
.case-view { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; flex-direction: row-reverse; padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--accent-ink), var(--accent)); opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.case-view .ic { width: 15px; height: 15px; }
.case-card:hover .case-view, .case-link:focus-visible .case-view { opacity: 1; transform: none; }
.case-card { position: relative; }
.case-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 2; }
.case-card:hover::before { opacity: 1; }
.case-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.case-tag { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.case-title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.case-sum { color: var(--muted); font-size: .93rem; }
.case-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--accent-ink); }
.case-more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.case-card:hover .case-more .ic { transform: translateX(4px); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter .mono { font-size: .78rem; color: var(--muted); margin-left: 4px; }
.filter:hover { border-color: var(--text); }
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter.is-on .mono { color: var(--on-ink-muted); }

.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 36px 0 0; background: var(--on-ink-line); border-radius: var(--r); overflow: hidden; max-width: 820px; }
.cs-stats div { background: var(--ink-2); padding: 18px 20px; }
.cs-stats dt { font-size: .82rem; color: var(--on-ink-muted); }
.cs-stats dd { margin: 4px 0 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; color: #fff; }
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.cs-cover img { width: 100%; height: auto; display: block; }
.cs-cover { margin: 0 0 36px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.cs-block { padding: 26px 0; border-top: 1px solid var(--line); }
.cs-block h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.cs-n { font-size: .8rem; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; }
.cs-block p { font-size: 1.05rem; }
.cs-result { background: var(--accent-soft); border-radius: var(--r); padding: 26px; border: 0; margin: 10px 0 40px; }
.cs-quote { margin: 16px 0 0; font-size: 1.1rem; font-weight: 600; }
.cs-quote cite { display: block; font-style: normal; font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.zoom { display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); cursor: zoom-in; width: 100%; }
.zoom img { width: 100%; transition: transform .4s var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.cs-side { position: sticky; top: 96px; }
.side-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.side-card + .side-card { margin-top: 16px; }
.facts { display: grid; gap: 14px; margin: 0 0 22px; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.side-card .small { margin-top: 14px; }
.next-case { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.next-case .eyebrow { margin: 0; }
.next-link { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--text); text-decoration: none; }
.next-link .ic { width: 26px; height: 26px; color: var(--accent-ink); transition: transform .25s var(--ease); }
.next-link:hover .ic { transform: translateX(5px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.sec-paper .step { border-color: transparent; box-shadow: var(--shadow); }
.step-n { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 9px; border-radius: 7px; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Reviews & video ---------- */
.reviews-wrap { display: block; }
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.review { margin: 0; padding: 24px; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1rem; }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: .9rem; }
.review figcaption span { color: var(--muted); }
.review .link-btn { justify-self: start; margin-top: 8px; }

/* ---------- Video testimonials ---------- */
.sec-ink { background: var(--ink); color: var(--on-ink); position: relative; isolation: isolate; overflow: hidden; }
.sec-ink::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); z-index: -1; pointer-events: none; }
.sec-ink .sec-title { color: var(--on-ink); }
.sec-ink .accent { color: var(--accent-2, #22D3EE); }
.sec-ink .eyebrow { color: var(--accent-2, #22D3EE); }
.sec-ink .sec-sub { color: var(--on-ink-muted); }
.vt-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.vt { background: #fff; color: #0B1224; border-radius: var(--r-lg); padding: 24px 16px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8); }
.vt-open { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.vt-open:focus-visible, .vt-watch:focus-visible, .vt-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.vt-photo { position: relative; display: block; width: 112px; height: 112px; margin-bottom: 6px; }
.vt-photo img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--accent); transition: transform .25s; }
.vt-open:hover img { transform: scale(1.04); }
.vt-mini { position: absolute; right: -2px; bottom: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; display: grid; place-items: center; }
.vt-mini svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.vt-name { font-size: 1.08rem; font-weight: 800; color: #0B1224; }
.vt-role { font-size: .88rem; color: #4A5574; line-height: 1.35; }
.vt-chip { font-size: .76rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.vt-quote { margin: 4px 0 6px; font-size: .9rem; line-height: 1.5; color: #1F2A44; }
.vt-watch { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; justify-content: center; font: inherit; font-size: .88rem; font-weight: 700; border: 0; border-radius: 10px; background: #0B1224; color: #fff; padding: 10px 16px; min-height: 42px; cursor: pointer; }
.vt-watch svg { width: 12px; height: 12px; fill: currentColor; }
.vt-watch:hover { background: var(--accent); }
.vt-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.vt-modal::backdrop { background: rgba(5, 8, 20, .86); }
.vt-modal[open] { display: grid; place-items: center; }
.vt-box { position: relative; width: min(400px, 92vw); }
.vt-box video { width: 100%; max-height: 82vh; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; object-fit: contain; }
.vt-cap { color: #fff; text-align: center; margin-top: 10px; font-weight: 600; font-size: .95rem; }
.vt-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #0B1224; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
@media (max-width: 1080px) {
  .vt-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); scrollbar-width: thin; }
  .vt { flex: 0 0 min(70vw, 240px); scroll-snap-align: start; }
}
@media (max-width: 640px) { .vt-row { --gutter: 16px; } .vt-close { right: 0; top: -54px; } }

/* ---------- Tools ---------- */
.sec-tools { padding: 56px 0; border-block: 1px solid var(--line); }
.tools-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee-tools { --gap: 12px; margin-top: 12px; }
.tools li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 9px 18px 9px 9px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.tools li:hover { background: var(--bg); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.tool-dot { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; font-size: .74rem; font-weight: 800; letter-spacing: -.01em; color: var(--fg, #fff); background: var(--c, var(--accent)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.tool-logo { height: 30px; width: auto; max-width: 110px; object-fit: contain; display: block; }
.tools li { border-color: color-mix(in srgb, var(--c, var(--accent)) 28%, var(--line)); }
.tools li:hover { border-color: var(--c, var(--accent)); box-shadow: 0 6px 16px -10px var(--c, var(--accent)); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.03rem; font-weight: 700; letter-spacing: -.01em; }
.faq-plus { width: 22px; height: 22px; flex: none; position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--accent-ink); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 20px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to bottom, transparent 39px, rgba(255, 255, 255, .04) 40px); background-size: 100% 40px; }
.cta-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 72px 0; }
.cta-in h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: #fff; max-width: 640px; }
.cta-in p { margin: 12px 0 0; color: var(--on-ink-muted); max-width: 600px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.about-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; border: 1px solid var(--on-ink-line); max-width: 380px; justify-self: end; }
.about-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(8, 12, 30, .9)); display: grid; }
.about-photo figcaption strong { color: #fff; }
.about-photo figcaption span { color: var(--on-ink-muted); font-size: .85rem; }
.story { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.story-side { position: sticky; top: 96px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); }
.story-side .btn { margin-top: 20px; }
.chapters { display: grid; gap: 56px; max-width: 700px; }
.chapter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.chapter p { font-size: 1.06rem; color: #2A3150; }
.chapter .eyebrow .mono { color: var(--muted); margin-right: 6px; }
.pull { margin: 22px 0 0; padding: 22px 24px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; font-size: 1.3rem; font-weight: 700; }
.timeline { position: relative; display: grid; gap: 14px; max-width: 820px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl { position: relative; padding: 20px 22px; background: var(--bg); border-radius: var(--r); box-shadow: var(--shadow); }
.tl::before { content: ""; position: absolute; left: -28px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl:last-child::before { background: var(--accent); }
.tl-when { font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.tl h3 { font-size: 1.12rem; font-weight: 700; margin: 4px 0 6px; }
.tl p { color: var(--muted); font-size: .96rem; }
.meters { display: grid; gap: 22px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; }
.meter-track { height: 8px; border-radius: 8px; background: var(--paper); overflow: hidden; }
.meter-track span { display: block; height: 100%; width: var(--w); border-radius: 8px; background: var(--accent); transform-origin: left; }
.js .meter-track span { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .meter.in .meter-track span { transform: scaleX(1); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow); }
.value h3 { font-size: 1.15rem; font-weight: 700; margin: 16px 0 8px; }
.value p { color: var(--muted); }

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cert { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.cert-img .zoom { background: #fff; aspect-ratio: 1; display: grid; place-items: center; }
.cert-img img { max-height: 140px; width: auto; margin: auto; object-fit: contain; }
.cert-icon { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.cert-icon .ic { width: 56px; height: 56px; }
.cert p:last-child { color: var(--muted); }
.cert .eyebrow { margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.stat { padding: 26px; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow); text-align: center; }
.stat dd { margin: 0; font-size: 2.4rem; font-weight: 700; color: var(--text); }
.stat dt { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Contact & booking ---------- */
.contact-grid, .book-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.form-card { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); }
.form-card .h3 { margin-bottom: 6px; }
.contact-side { display: grid; gap: 12px; }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--paper); color: var(--text); text-decoration: none; }
a.info:hover { color: var(--text); background: var(--accent-soft); }
.info > span:last-child { display: grid; gap: 2px; }
.info .muted { font-size: .92rem; }
.placeholder-chip { display: inline-block; padding: 3px 10px; border-radius: 6px; border: 1.5px dashed #C9A227; background: #FFF8E1; color: #7A5D00; font-size: .84rem; font-weight: 600; }
.form { margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--bg); font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .84rem; min-height: 0; }
.err:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.form-foot p { margin: 0; max-width: 340px; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.scheduler { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.scheduler iframe { width: 100%; height: 720px; border: 0; display: block; }
.side-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.book-side .h3 { margin: 0; }
.book-side .stars { margin-top: 0; }

/* ---------- Legal & misc ---------- */
.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin: .3em 0; }
.thanks-hero { padding: 96px 0; }
.thanks-hero h1 { margin: 20px auto 0; }
.thanks-hero .page-lead { margin-inline: auto; }
.tick-big { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; }
.tick-big .ic { width: 36px; height: 36px; }
.code-404 { font-size: 5rem; font-weight: 700; color: var(--accent); margin: 0; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.brand-light { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 320px; }
.footer-h { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: var(--on-ink-muted); text-decoration: none; }
.footer-list a:hover { color: #fff; }
.site-footer .muted { color: var(--on-ink-muted); opacity: .8; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--on-ink); border: 1px solid var(--on-ink-line); transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--on-ink-line); font-size: .86rem; }
.footer-bottom a { color: var(--on-ink-muted); }

/* ---------- Welcome card (first visit only) ---------- */
.welcome { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100vw - 40px)); display: flex; gap: 14px; padding: 18px 18px 18px 16px; border-radius: 18px; background: var(--bg); box-shadow: 0 24px 60px -20px rgba(12, 20, 51, .55); border: 1px solid var(--line); transform: translateY(24px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.welcome.show { transform: none; opacity: 1; }
.welcome img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.welcome p { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.welcome .welcome-title { font-weight: 800; color: var(--text); font-size: 1rem; margin-bottom: 4px; padding-right: 22px; }
.welcome-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.welcome-x:hover { background: var(--paper); color: var(--text); }
.welcome-x .ic { width: 16px; height: 16px; }

/* ---------- Image zoom (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(8, 12, 30, .86); opacity: 0; transition: opacity .25s; }
.lightbox.show { opacity: 1; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 10px; }
.lightbox img { max-height: calc(100vh - 110px); width: auto; margin: auto; border-radius: 10px; background: #fff; }
.lightbox figcaption { color: #E4E8F5; text-align: center; font-size: .92rem; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .ic { width: 20px; height: 20px; }

/* ---------- Motion: content is visible without JavaScript ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .svc-grid, .case-grid, .svc-grid-sm { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav-cta .btn { display: none; }
  .site-header { backdrop-filter: none; background: var(--ink); }
  nav[aria-label="Main"] { position: fixed; inset: var(--nav-top, 72px) 0 0 0; z-index: 39; background: var(--ink); padding: 20px; display: none; overflow-y: auto; }
  .nav-open nav[aria-label="Main"] { display: block; animation: navIn .25s var(--ease); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
  .nav-open { overflow: hidden; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { font-size: 1.2rem; padding: 14px 12px; }
  .nav-mobile-cta { display: block; margin-top: 12px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; color: #fff; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .page-hero-split, .two-col, .faq-wrap, .story, .cs-layout, .contact-grid, .book-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; padding-left: 24px; }
  .about-photo { justify-self: start; max-width: 300px; }
  .cs-side, .story-side { position: static; }
  .certs { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .svc-grid, .case-grid, .svc-grid-sm, .steps, .reviews, .gallery, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat dd { font-size: 1.8rem; }
  .cs-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .hero-visual { padding: 30px 0 0; }
  .hero-visual .recon { position: relative; right: auto; bottom: auto; width: 88%; margin: -28px 0 0 auto; }
  .hero-badge { max-width: none; white-space: nowrap; padding: 10px 14px; right: 0; }
  .portrait { width: 92%; }
  .portrait figcaption { padding: 48px 16px 40px; }
  .portrait figcaption span, .portrait figcaption strong { max-width: 100%; }
  .form-card { padding: 22px; }
  .cta-in { padding: 56px 0; }
  .topbar p { font-size: .84rem; }
  .welcome { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-group { animation: none !important; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .marquee-group[aria-hidden="true"], .marquee-group [aria-hidden="true"] { display: none; }
  .svc-art-svg *, .svc-art-svg { animation: none !important; }
  .svc-art-svg .sa-gauge, .svc-art-svg .sa-dash { stroke-dashoffset: 0; }
}

/* ---------- Home hero: name-first (from the original site) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-name { --disp: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; --ease: cubic-bezier(.22, .9, .24, 1); min-height: min(100svh, 940px); display: flex; align-items: center; padding: 64px 0 110px; background: radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 60%), var(--ink); }
.hero-name::before, .hero-name::after { display: none; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; }
.hero-orb.o1 { width: 520px; height: 520px; background: var(--accent); top: -160px; left: -160px; opacity: .26; animation: hnDrift1 26s ease-in-out infinite; }
.hero-orb.o2 { width: 620px; height: 620px; background: var(--accent-2); top: 30%; right: -260px; opacity: .2; animation: hnDrift2 32s ease-in-out infinite; }
.hero-orb.o3 { width: 420px; height: 420px; background: color-mix(in srgb, var(--accent) 60%, var(--accent-2)); bottom: -200px; left: 25%; opacity: .16; animation: hnDrift1 38s ease-in-out infinite reverse; }
@keyframes hnDrift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(120px, 90px) scale(1.12); } }
@keyframes hnDrift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-140px, 60px) scale(.92); } }
.hn-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; width: min(var(--wrap), 100% - 40px); }
.hn-visual { position: relative; justify-self: center; width: min(440px, 100%); }
.hn-glow { position: absolute; inset: -40px; border-radius: 50%; z-index: -1; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%), radial-gradient(circle at 75% 75%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 55%); filter: blur(60px); animation: hnBreath 7s ease-in-out infinite; }
@keyframes hnBreath { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.hn-frame { position: relative; border-radius: 32px; padding: 2px; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 90%, transparent), rgba(255, 255, 255, .08) 40%, color-mix(in srgb, var(--accent-2) 90%, transparent)); box-shadow: 0 0 60px -10px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 80px -10px color-mix(in srgb, var(--accent-2) 35%, transparent), 0 30px 80px -30px rgba(0, 0, 0, .7); }
.hn-portrait { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); clip-path: inset(100% 0 0 0 round 30px); animation: hnWipe 1.6s var(--ease) .35s forwards; }
.hn-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.15); animation: hnSettle 2.2s var(--ease) .35s forwards; }
@keyframes hnWipe { to { clip-path: inset(0 0 0 0 round 30px); } }
@keyframes hnSettle { to { transform: scale(1); } }
.hn-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(12, 18, 34, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); color: #fff; opacity: 0; animation: hnBadgeIn 1s var(--ease) forwards, hnBob 6s ease-in-out infinite; }
.hn-badge div { display: grid; line-height: 1.25; }
.hn-badge strong { font-family: var(--disp); font-size: 1rem; font-weight: 700; }
.hn-badge span:not(.hn-ic) { font-size: .78rem; color: var(--on-ink-muted); }
.hn-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hn-ic .ic { width: 20px; height: 20px; }
.hn-badge-a { left: -48px; bottom: 70px; animation-delay: 1.5s, 2.5s; }
.hn-badge-a .hn-ic { background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hn-badge-a .hn-ic .ic { fill: none; }
.hn-badge-b { right: -36px; top: 48px; animation-delay: 1.8s, 3s; }
.hn-badge-b .hn-ic { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: color-mix(in srgb, var(--accent-2) 70%, #fff); }
@keyframes hnBadgeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hnBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hn-copy > * { opacity: 0; transform: translateY(26px); animation: hnRise 1s var(--ease) forwards; }
.hn-copy > *:nth-child(1) { animation-delay: .5s; }
.hn-copy > *:nth-child(2) { animation-delay: .65s; }
.hn-copy > *:nth-child(3) { animation-delay: .8s; }
.hn-copy > *:nth-child(4) { animation-delay: .95s; }
.hn-copy > *:nth-child(5) { animation-delay: 1.1s; }
.hn-copy > *:nth-child(6) { animation-delay: 1.25s; }
@keyframes hnRise { to { opacity: 1; transform: none; } }
.hn-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); font-size: .9rem; font-weight: 600; color: var(--on-ink); }
.hn-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD67F; animation: hnPing 2.4s ease-out infinite; }
@keyframes hnPing { 0% { box-shadow: 0 0 0 0 rgba(59, 214, 127, .55); } 100% { box-shadow: 0 0 0 12px rgba(59, 214, 127, 0); } }
.hn-name { font-family: var(--disp); font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 800; margin-top: 26px; letter-spacing: -.035em; line-height: 1; color: #fff; }
.hn-grad { background: linear-gradient(120deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 80%, #000) 35%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hn-roles { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hn-chip { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; font-weight: 600; color: var(--on-ink); }
.hn-chip.a { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: color-mix(in srgb, var(--accent) 55%, #fff); }
.hn-chip.b { border-color: color-mix(in srgb, var(--accent-2) 45%, transparent); color: color-mix(in srgb, var(--accent-2) 70%, #fff); }
.hn-tagline { margin-top: 30px; font-family: var(--disp); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 500; color: #fff; max-width: 560px; line-height: 1.35; }
.hn-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hn-btn { border-radius: 999px; font-family: var(--disp); }
.hn-proof { margin-top: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; color: var(--on-ink-muted); font-size: .95rem; }
.hn-proof b { color: #fff; font-family: var(--disp); }
.hn-stars { display: flex; gap: 3px; }
.hn-stars .star { width: 18px; height: 18px; fill: #FFB547; stroke: none; }
.hn-proof .sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .16); }
.hn-scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #64738F; text-decoration: none; opacity: 0; animation: hnRise 1s var(--ease) 2s forwards; }
.hn-scroll .mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .16); position: relative; }
.hn-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); animation: hnWheel 2.4s ease-in-out infinite; }
@keyframes hnWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* Animated numbers */
.hn-stats { background: var(--ink); color: var(--on-ink); padding: 8px 0 88px; position: relative; }
.hn-intro { max-width: 820px; margin: 0 auto 36px; text-align: center; font-size: 1.12rem; color: var(--on-ink-muted); }
.hn-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .09); }
.hn-stat { padding: 44px 30px; position: relative; min-width: 0; }
.hn-stat + .hn-stat { border-left: 1px solid rgba(255, 255, 255, .09); }
.hn-stat .num { font-family: "Sora", "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.7rem); line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; color: #fff; white-space: nowrap; }
.hn-stat .suffix { font-size: .55em; margin-left: 4px; }
.hn-stat:nth-child(odd) .suffix { color: var(--accent); }
.hn-stat:nth-child(even) .suffix { color: var(--accent-2); }
.hn-stat .label { margin-top: 12px; color: var(--on-ink-muted); font-weight: 600; font-size: .95rem; }
.hn-stat .bar { margin-top: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.hn-stat .bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 2.2s cubic-bezier(.22, .9, .24, 1); }
.hn-band.in .bar i, .hn-band.is-visible .bar i { width: var(--w); }
@media (max-width: 1080px) {
  .hn-grid { grid-template-columns: 1fr; gap: 64px; }
  .hn-visual { width: min(360px, 78%); }
  .hn-copy { text-align: center; }
  .hn-roles, .hn-actions, .hn-proof { justify-content: center; }
  .hn-tagline { margin-inline: auto; }
  .hn-scroll { display: none; }
  .hn-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-stat:nth-child(3) { border-left: 0; }
  .hn-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .09); }
}
@media (max-width: 640px) {
  .hero-name { padding: 40px 0 64px; min-height: 0; }
  .hn-badge { padding: 9px 12px; gap: 9px; }
  .hn-badge strong { font-size: .86rem; }
  .hn-ic { width: 32px; height: 32px; }
  .hn-badge-a { left: -14px; bottom: 34px; }
  .hn-badge-b { right: -14px; top: 22px; }
  .hn-proof .sep { display: none; }
  .hn-stat { padding: 28px 18px; }
  .hn-stats { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hn-copy > *, .hn-badge, .hn-scroll { opacity: 1; transform: none; animation: none; }
  .hn-portrait { clip-path: none; animation: none; }
  .hn-portrait img { transform: none; animation: none; }
  .hero-orb, .hn-glow { animation: none; }
  .hn-stat .bar i { width: var(--w); transition: none; }
}
/* Certificates with several course modules (e.g. Buildium) */
.cert-wide { grid-column: 1 / -1; }
.cert-mods { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 6px; }
.cert-mods li { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.3; min-width: 0; }
.cert-mods .zoom { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; display: block; }
.cert-mods img { width: 100%; height: auto; aspect-ratio: 1180 / 902; object-fit: cover; display: block; transition: transform .25s; }
.cert-mods .zoom:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .cert-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cert-more { margin-top: 12px; }
.cert-courses { grid-column: 1 / -1; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper, #F4F6FB); scroll-margin-top: 100px; }
.cert-courses-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.proof-item a { color: inherit; text-decoration: none; }
.proof-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { display: block; aspect-ratio: 16 / 9; background: var(--accent-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-ph { display: grid; place-items: center; height: 100%; font-weight: 800; color: var(--accent-ink); font-size: 1.1rem; }
.post-body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.post-body h2 a, .post-body h3 a { color: inherit; text-decoration: none; }
.post-body h2 a:hover, .post-body h3 a:hover { color: var(--accent-ink); }
.post-body p { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.page-hero .post-meta { color: var(--on-ink-muted); margin-bottom: 10px; }
.post-meta span:first-child:not(:only-child) { color: var(--accent-ink); }
.page-hero .post-meta span:first-child { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.link-arrow .ic { width: 16px; height: 16px; }
.blog-empty { max-width: 640px; margin: 0 auto; text-align: center; display: grid; gap: 14px; padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.blog-empty p { color: var(--muted); }
.post-wrap { max-width: 780px; }
.post-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--on-ink-muted); font-size: .92rem; }
.post-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.post-author strong { color: #fff; }
.post-hero-img { width: 100%; border-radius: var(--r-lg); margin-bottom: 30px; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.05rem; font-weight: 700; margin: 1.4em 0 .4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--accent-ink); }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); color: var(--text); font-style: italic; }
.prose code { font-family: "JetBrains Mono", monospace; font-size: .9em; background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-cta { margin-top: 36px; padding: 24px; border-radius: var(--r-lg); background: var(--accent-soft); display: grid; gap: 8px; justify-items: start; }
.post-cta span { color: var(--muted); }
@media (max-width: 1080px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-cover { text-decoration: none; }

/* ---------- Back to top button ---------- */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent), 0 4px 14px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-ink); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.welcome:not(.show) { pointer-events: none; }
@media (max-width: 640px) { body:has(.welcome.show) .to-top { opacity: 0; visibility: hidden; } }
