/* =========================================================================
   OPS OPTIMIZED ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Design System
   Bold editorial. Brand: teal #00A79D Ãƒâ€šÃ‚Â· purple #65377B Ãƒâ€šÃ‚Â· purpleÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢teal gradient.
   Type: Fraunces (display) + Plus Jakarta Sans (body).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --purple: #65377B;
  --purple-deep: #4c2860;
  --teal: #00A79D;
  --teal-deep: #017c74;
  --magenta: #a3238e;

  --ink: #14101a;
  --ink-2: #40384c;
  --muted: #6f6880;
  --line: #e9e5ef;
  --paper: #ffffff;
  --paper-2: #f7f5fb;
  --paper-3: #f0ecf7;
  --cream: #fbfaff;

  --grad: linear-gradient(120deg, #65377B 0%, #7a2f86 42%, #00A79D 100%);
  --grad-soft: linear-gradient(120deg, rgba(101,55,123,.14), rgba(0,167,157,.14));
  --grad-text: linear-gradient(100deg, #7a2f86 0%, #00A79D 100%);

  --shadow-sm: 0 2px 8px rgba(20,16,26,.05);
  --shadow-md: 0 18px 40px -20px rgba(76,40,96,.28);
  --shadow-lg: 0 40px 80px -32px rgba(76,40,96,.35);
  --shadow-glow: 0 30px 90px -30px rgba(0,167,157,.45);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 84px;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.display { font-size: clamp(3rem, 8.5vw, 7rem); font-weight: 600; line-height: .96; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--ink-2); line-height: 1.5; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }
.serif-italic { font-family: var(--f-display); font-style: italic; font-weight: 400; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1400px; }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-sm { padding-block: clamp(48px, 7vw, 88px); }
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-body); font-weight: 700;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--purple);
  padding: .5em 1em; border-radius: 100px;
  background: var(--grad-soft);
  border: 1px solid rgba(101,55,123,.16);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.eyebrow.on-dark { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.eyebrow.on-dark::before { background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body); font-weight: 700; font-size: .98rem;
  padding: .95rem 1.05rem .95rem 1.6rem; border-radius: 100px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease), color .4s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn .ico {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.btn .ico svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:hover .ico { transform: translate(3px, -2px) scale(1.06); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary .ico { background: rgba(255,255,255,.2); }
.btn-primary:hover { box-shadow: var(--shadow-glow); }
.btn-primary .ico svg { stroke: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .ico { background: rgba(255,255,255,.16); }
.btn-dark .ico svg { stroke: #fff; }

.btn-ghost { background: rgba(20,16,26,.04); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost .ico { background: rgba(20,16,26,.06); }
.btn-ghost .ico svg { stroke: var(--ink); }

.btn-light { background: #fff; color: var(--purple); box-shadow: var(--shadow-md); }
.btn-light .ico { background: rgba(101,55,123,.1); }
.btn-light .ico svg { stroke: var(--purple); }

.btn-line { padding: .55rem 0; border-radius: 0; font-weight: 700; color: var(--purple); position: relative; gap: .4rem; }
.btn-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--grad); transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease); }
.btn-line:hover::after { transform: scaleX(1); }
.btn-line svg { width: 16px; height: 16px; transition: transform .5s var(--ease); stroke: var(--purple); }
.btn-line:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 2rem; max-width: 1400px; }
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(20,16,26,.06), 0 12px 40px -28px rgba(76,40,96,.5);
  height: 72px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg, .brand img { height: 34px; width: auto; transition: filter .4s var(--ease); }
.brand .logo-mark { height: 34px; }
/* Logo SVG ships white-fill: keep white over the hero, darken once header is solid */
.brand-logo { filter: none; }
.site-header.scrolled .brand-logo { filter: brightness(0); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; border-radius: 100px; font-weight: 600; font-size: .95rem;
  color: var(--nav-color, var(--ink)); transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .4s var(--ease); opacity: .7; }
.nav-link:hover, .nav-item.open .nav-link { background: rgba(101,55,123,.08); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }
.site-header.on-hero:not(.scrolled) { --nav-color: rgba(255,255,255,.92); }
.site-header.on-hero:not(.scrolled) .nav-link:hover,
.site-header.on-hero:not(.scrolled) .nav-item.open .nav-link { background: rgba(255,255,255,.16); }

.nav-cta { margin-left: .6rem; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(92vw, 860px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(20,16,26,.06);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.4rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s var(--ease);
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-narrow { width: min(92vw, 400px); left: auto; right: 0; transform: translateX(0) translateY(10px); }
.nav-item.open .mega-narrow { transform: translateX(0) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.mega-grid.cols-1 { grid-template-columns: 1fr; }
.mega-compact { width: min(92vw, 320px); padding: .7rem; }
.mega-link {
  display: flex; gap: .85rem; align-items: flex-start; padding: .85rem; border-radius: var(--r-sm);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.mega-link:hover { background: var(--paper-2); transform: translateX(2px); }
.mega-link .m-ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-soft); color: var(--purple); }
.mega-link .m-ico svg { width: 20px; height: 20px; stroke: var(--purple); }
.mega-link:hover .m-ico { background: var(--grad); }
.mega-link:hover .m-ico svg { stroke: #fff; }
.mega-link h5 { font-family: var(--f-body); font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .1rem; }
.mega-link p { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.mega-foot { margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mega-foot p { color: rgba(255,255,255,.85); font-size: .88rem; }
.mega-foot h5 { font-family: var(--f-display); font-size: 1.15rem; color: #fff; }

/* Hamburger */
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; margin-left: .4rem; background: rgba(20,16,26,.05); }
.site-header.on-hero:not(.scrolled) .burger { background: rgba(255,255,255,.16); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--nav-color, var(--ink)); border-radius: 2px; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s var(--ease);
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer-list { display: flex; flex-direction: column; gap: .2rem; }
.drawer-item { border-bottom: 1px solid var(--line); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.1rem 0; font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); }
.drawer-top svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.drawer-item.open .drawer-top svg { transform: rotate(45deg); }
.drawer-sub { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.drawer-item.open .drawer-sub { max-height: 720px; }
.drawer-sub a { display: block; padding: .6rem 0 .6rem 1rem; color: var(--ink-2); font-weight: 600; }
.drawer-sub a:hover { color: var(--purple); }
.drawer .btn { margin-top: 1.8rem; }

/* ---------- Cards (double-bezel) ---------- */
.card {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.card-pad { padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(101,55,123,.2); }
.bezel { padding: 8px; border-radius: var(--r-xl); background: var(--paper-2); border: 1px solid var(--line); }
.bezel > .bezel-core { border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }

.svc-card { display: flex; flex-direction: column; gap: 1rem; min-height: 100%; }
.svc-card .num { font-family: var(--f-display); font-size: .95rem; color: var(--muted); }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); }
.svc-ico svg { width: 28px; height: 28px; stroke: var(--purple); fill: none; }
.card:hover .svc-ico { background: var(--grad); }
.card:hover .svc-ico svg { stroke: #fff; }
.svc-card h3 { font-size: 1.35rem; }
.svc-card p { font-size: .96rem; color: var(--ink-2); flex: 1; }
.svc-card .go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--purple); font-size: .9rem; }
.svc-card .go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); stroke: var(--purple); }
.card:hover .svc-card .go svg { transform: translateX(4px); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }

/* ---------- Sections on gradient / dark ---------- */
.on-grad { background: var(--grad); color: #fff; }
.on-grad h1, .on-grad h2, .on-grad h3, .on-grad h4 { color: #fff; }
.on-grad p, .on-grad .lead { color: rgba(255,255,255,.85); }
.on-dark { background: var(--ink); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: rgba(255,255,255,.72); }
.on-paper { background: var(--paper-2); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + 60px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.page-hero.on-grad::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 20%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: #fff; } .breadcrumb .sep { opacity: .5; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--grad); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 78% 30%, rgba(0,167,157,.55), transparent 60%), radial-gradient(45% 55% at 12% 85%, rgba(101,55,123,.6), transparent 60%); }
.hero .container { position: relative; z-index: 3; width: 100%; }
.hero-inner { max-width: 900px; }
.hero h1 { color: #fff; }
.hero .kicker { display: block; font-family: var(--f-body); font-weight: 700; font-size: clamp(1rem,2vw,1.35rem); letter-spacing: .02em; color: rgba(255,255,255,.82); margin-bottom: .4rem; }
.hero .display { color: #fff; }
.hero .display .stroke { -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); color: transparent; }
.hero-sub { max-width: 46ch; margin-top: 1.6rem; color: rgba(255,255,255,.85); font-size: clamp(1.05rem,1.6vw,1.25rem); }
.hero .btn-row { margin-top: 2.4rem; }
.hero-stats { display: flex; gap: clamp(1.5rem,4vw,3.5rem); margin-top: 3.2rem; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--f-display); font-size: clamp(2rem,4vw,3rem); color: #fff; line-height: 1; }
.hero-stats .l { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-top: .4rem; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.scroll-cue .bar { width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ---------- Splatter / blobs (SVG-free CSS art) ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 0; pointer-events: none; }
.blob.teal { background: var(--teal); } .blob.purple { background: var(--purple); }
.splatter { position: absolute; z-index: 0; pointer-events: none; opacity: .5; }
.splatter svg { width: 100%; height: 100%; }

/* ---------- Stats band ---------- */
.stat { text-align: center; }
.stat .n { font-family: var(--f-display); font-size: clamp(2.6rem,5vw,4rem); line-height: 1; }
.stat .l { color: var(--muted); font-weight: 600; margin-top: .5rem; font-size: .95rem; }

/* ---------- Values ---------- */
.value-row { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.value-row .v-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.value-row .v-ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.value-row h4 { color: #fff; font-family: var(--f-display); font-size: 1.3rem; }
.value-row p { color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- Image placeholders ---------- */
.imgph { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); display: grid; place-items: center; min-height: 260px; color: #fff; }
.imgph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 30% 20%, rgba(255,255,255,.22), transparent 60%); }
.imgph .ph-in { position: relative; z-index: 2; text-align: center; padding: 1.4rem; }
.imgph .ph-in svg { width: 46px; height: 46px; margin: 0 auto .7rem; stroke: rgba(255,255,255,.9); fill: none; }
.imgph .ph-in .t { font-family: var(--f-display); font-size: 1.1rem; }
.imgph .ph-in .s { font-size: .78rem; opacity: .8; margin-top: .2rem; letter-spacing: .04em; }
.imgph.duo { background: var(--paper-3); color: var(--purple); }
.imgph.duo::before { background: var(--grad-soft); }
.imgph.duo .ph-in svg { stroke: var(--purple); }
.imgph.tall { min-height: 460px; }
.imgph.round { border-radius: 50%; aspect-ratio: 1; min-height: 0; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card .avatar { aspect-ratio: 1; border-radius: var(--r-lg); margin-bottom: 1.1rem; }
.team-card .role { color: var(--teal-deep); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.team-card h3 { font-size: 1.6rem; margin-top: .2rem; }
.team-card ul { margin-top: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.team-card li { position: relative; padding-left: 1.4rem; font-size: .95rem; color: var(--ink-2); }
.team-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Feature list / checks ---------- */
.checks { display: flex; flex-direction: column; gap: .85rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.checks .ck { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--grad-soft); display: grid; place-items: center; margin-top: 1px; }
.checks .ck svg { width: 14px; height: 14px; stroke: var(--purple); }
.checks li span { color: var(--ink-2); }
.checks.on-grad .ck { background: rgba(255,255,255,.16); } .checks.on-grad .ck svg { stroke: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem 5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); position: absolute; left: 1.5rem; top: 1.4rem; font-family: var(--f-display); font-size: 1.9rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .93rem; }

/* ---------- Tables (tiers) ---------- */
.tier-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.tier-table th, .tier-table td { text-align: left; padding: 1.1rem 1.3rem; vertical-align: top; }
.tier-table thead th { background: var(--grad); color: #fff; font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.tier-table tbody tr + tr td { border-top: 1px solid var(--line); }
.tier-table tbody tr:hover { background: var(--paper-2); }
.tier-name { font-family: var(--f-display); font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.tier-dot { width: 12px; height: 12px; border-radius: 50%; }
.tier-dot.bronze { background: #c08457; } .tier-dot.silver { background: #9aa0ab; } .tier-dot.gold { background: linear-gradient(120deg,#e6b34a,#c9922a); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 640px; }

/* ---------- Retainer option cards ---------- */
.option { text-align: center; }
.option .badge { width: 60px; height: 60px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.7rem; color: #fff; }
.option p { color: var(--ink-2); }
.option:first-child .badge { background: var(--teal); } .option:last-child .badge { background: var(--purple); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; text-align: left; font-family: var(--f-display); font-size: clamp(1.1rem,2vw,1.4rem); color: var(--ink); }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--grad-soft); display: grid; place-items: center; transition: background .4s var(--ease); }
.faq-icon svg { width: 16px; height: 16px; stroke: var(--purple); transition: transform .5s var(--ease); }
.faq-item.open .faq-icon { background: var(--grad); } .faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq-a-inner { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 68ch; }

/* ---------- Marquee / logos ---------- */
.logos { display: flex; align-items: center; gap: clamp(2rem,5vw,4.5rem); flex-wrap: wrap; justify-content: center; }
.logo-chip { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; color: var(--muted); opacity: .7; letter-spacing: -.01em; transition: color .4s var(--ease), opacity .4s var(--ease); }
.logo-chip:hover { color: var(--purple); opacity: 1; }

/* ---------- Testimonial ---------- */
.quote-card { position: relative; }
.quote-mark { font-family: var(--f-display); font-size: 8rem; line-height: .6; color: rgba(101,55,123,.14); position: absolute; top: 1rem; left: 1.4rem; }
.quote-card blockquote { font-family: var(--f-display); font-size: clamp(1.3rem,2.6vw,2rem); line-height: 1.3; color: var(--ink); position: relative; z-index: 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad); color: #fff; padding: clamp(2.5rem,6vw,4.5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 20% 20%, rgba(255,255,255,.2), transparent 55%), radial-gradient(50% 80% at 90% 90%, rgba(0,0,0,.15), transparent 55%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 700; font-size: .85rem; color: var(--ink); }
.field .req { color: var(--magenta); }
.input, .textarea, .select {
  width: 100%; padding: .95rem 1.1rem; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,167,157,.14); }
.textarea { min-height: 140px; resize: vertical; }
.field.invalid .input, .field.invalid .textarea { border-color: var(--magenta); }
.field .err { color: var(--magenta); font-size: .8rem; display: none; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { padding: 1rem 1.2rem; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(0,167,157,.12); color: var(--teal-deep); }
.form-status.info { background: var(--grad-soft); color: var(--purple); }
.ghl-form-wrap { min-height: 320px; }
.ghl-form-wrap iframe { display: block; min-height: 320px; }

/* ---------- Contact info ---------- */
.contact-line { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.contact-line .ci { width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--grad-soft); display: grid; place-items: center; }
.contact-line .ci svg { width: 20px; height: 20px; stroke: var(--purple); fill: none; }
.contact-line .l { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-line .v { font-weight: 700; color: var(--ink); font-size: 1.05rem; }

/* ---------- Calculator tabs ---------- */
.calc-tabs { display: inline-flex; flex-wrap: wrap; gap: .4rem; background: var(--paper-2); padding: .4rem; border-radius: 100px; border: 1px solid var(--line); margin-bottom: 1.8rem; }
.calc-tab { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 100px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background .45s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); white-space: nowrap; }
.calc-tab svg { width: 17px; height: 17px; stroke: currentColor; flex: none; }
.calc-tab:hover { color: var(--ink); }
.calc-tab.active { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.calc-panel { display: none; }
.calc-panel.active { display: block; animation: calcIn .5s var(--ease-out); }
@keyframes calcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .calc-tabs { width: 100%; }
  .calc-tab { flex: 1; justify-content: center; padding: .8rem .5rem; font-size: .82rem; }
  .calc-tab svg { display: none; }
}

/* ---------- Calculators ---------- */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.calc-head { background: var(--grad); color: #fff; padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: .9rem; }
.calc-head svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.calc-head h3 { color: #fff; font-size: 1.4rem; }
.calc-body { padding: clamp(1.4rem,2.5vw,2rem); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.1rem; }
.seg { display: flex; gap: .4rem; background: var(--paper-2); padding: .35rem; border-radius: 100px; flex-wrap: wrap; }
.seg button { flex: 1; padding: .6rem .8rem; border-radius: 100px; font-weight: 700; font-size: .85rem; color: var(--muted); transition: all .3s var(--ease); white-space: nowrap; }
.seg button.active { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.calc-result { margin-top: 1.4rem; padding: 1.4rem; border-radius: var(--r-md); background: var(--paper-2); }
.calc-result .big { font-family: var(--f-display); font-size: clamp(2rem,5vw,2.8rem); line-height: 1; }
.calc-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.2rem; }
.calc-metrics .m .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.calc-metrics .m .v { font-family: var(--f-display); font-size: 1.5rem; }
.bracket-bar { display: flex; height: 16px; border-radius: 100px; overflow: hidden; margin: 1.2rem 0 .8rem; background: var(--paper-3); }
.bracket-bar span { height: 100%; transition: width .6s var(--ease); }
.bracket-list { display: flex; flex-direction: column; gap: .5rem; }
.bracket-list .bl { display: flex; align-items: center; gap: .7rem; font-size: .9rem; }
.bracket-list .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.bracket-list .rate { font-weight: 700; width: 3.2rem; }
.bracket-list .amt { margin-left: auto; font-weight: 700; color: var(--ink); }
.calc-hint { font-size: .76rem; color: var(--muted); margin-top: .45rem; }
.calc .select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6880' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; cursor: pointer; }
.calc-take { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.calc-take .th { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); }
.calc-take .thm { color: var(--muted); font-size: .9rem; }
.calc-credits { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; font-size: .86rem; color: var(--muted); }
.calc-credits strong { color: var(--ink); }
.calc-metrics .v.pos { color: var(--teal-deep); }

/* ---------- Blog ---------- */
.blog-hero-copy { max-width: 860px; }
.blog-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); overflow: hidden; align-items: stretch; background: linear-gradient(135deg, #f7f0fb 0%, #fffdfd 58%, #eef8f5 100%); border: 1px solid rgba(101,55,123,.10); box-shadow: 0 22px 54px rgba(20, 17, 35, .08); }
.blog-feature::before { content: ""; position: absolute; inset: -18% auto auto -10%; width: 260px; height: 260px; border-radius: 50%; background: rgba(101,55,123,.10); filter: blur(18px); }
.blog-feature-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem,4vw,3.2rem); }
.blog-feature-kicker { display: inline-flex; width: fit-content; margin-top: .9rem; padding: .48rem .78rem; border-radius: 999px; background: rgba(8,167,159,.09); color: var(--teal-deep); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-feature h2 { margin: .85rem 0 0; font-size: clamp(2rem,4vw,3rem); line-height: 1; max-width: 15ch; }
.blog-feature-text { margin-top: 1rem; max-width: 38ch; font-size: 1.04rem; line-height: 1.7; color: var(--ink-2); }
.blog-feature-points { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.blog-feature-points span { padding: .62rem .9rem; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid rgba(18,16,32,.08); font-size: .82rem; font-weight: 600; color: var(--ink); }
.blog-feature-cta { margin-top: 1.7rem; color: var(--purple); font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; white-space: nowrap; }
.blog-feature-cta svg { width: 20px; transition: transform .3s var(--ease); }
.blog-feature:hover .blog-feature-cta svg { transform: translateX(4px); }
.blog-feature-media { position: relative; overflow: hidden; padding: 0; min-height: 100%; }
.blog-feature-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 42%, rgba(19,16,32,.58) 100%); }
.blog-feature-note { position: absolute; left: 1.35rem; right: 1.35rem; bottom: 1.35rem; z-index: 2; max-width: 300px; padding: 1rem 1.15rem 1.05rem; border-radius: 18px; background: rgba(19,16,32,.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); color: #fff; box-shadow: 0 18px 44px rgba(19,16,32,.30); }
.blog-feature-note-label { display: block; margin-bottom: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.blog-feature-note p { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.94); }
.blog-art { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 1.1rem; color: #fff; }
.blog-art::before { content: ""; position: absolute; inset: -18% 42% 32% -12%; background: radial-gradient(circle, rgba(255,255,255,.24), transparent 62%); z-index: 0; }
.blog-art::after { content: ""; position: absolute; width: 220px; height: 220px; right: -44px; bottom: -62px; border-radius: 50%; background: rgba(255,255,255,.10); z-index: 0; }
.blog-art svg { position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto; }
.blog-art-label { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .45rem .75rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-art--bookkeeping { background: linear-gradient(135deg, #1a1230 0%, #6a3b88 52%, #05a59a 100%); }
.blog-art--cashflow { background: linear-gradient(135deg, #11213d 0%, #2f5d83 52%, #08a79f 100%); }
.blog-art--close { background: linear-gradient(135deg, #211126 0%, #7c2f63 50%, #f29c52 100%); }
.blog-art--mini { height: 100%; min-height: 100%; padding: .75rem; }
.blog-art--mini .blog-art-label { top: .8rem; left: .8rem; font-size: .67rem; padding: .4rem .65rem; }
.blog-photo-wrap { position: relative; height: 100%; min-height: 100%; overflow: hidden; background: var(--paper-3); }
.blog-photo-wrap.featured { min-height: 100%; height: 100%; padding: 0; display: block; background: var(--paper-3); }
.blog-photo-wrap.featured::before, .blog-photo-wrap.featured::after { display: none; }
.blog-photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.blog-photo-wrap.featured .blog-photo { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border: none; border-radius: 0; box-shadow: none; max-height: none; transform: none; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .thumb { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.1rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-deep); }
.post-card h3 { font-size: 1.3rem; margin: .5rem 0 .6rem; transition: color .3s var(--ease); }
.post-card:hover h3 { color: var(--purple); }
.post-meta { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: .9rem; }

/* ---------- Blog index redesign: toolbar, filters, cards, newsletter ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-chip { padding: .55rem 1.1rem; border-radius: 100px; background: var(--paper-2); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.filter-chip:hover { color: var(--ink); border-color: rgba(101,55,123,.28); }
.filter-chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.post-count { font-size: .85rem; font-weight: 600; color: var(--muted); }
.post-count b { color: var(--ink); font-weight: 700; }
.post-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb { position: relative; }
.post-card .thumb .tag-float { position: absolute; left: .8rem; top: .8rem; z-index: 2; padding: .42rem .72rem; border-radius: 100px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--purple); box-shadow: 0 4px 14px rgba(20,16,26,.14); }
.post-card.is-hidden { display: none; }
.blog-empty { display: none; text-align: center; color: var(--muted); padding: 2.5rem 0; }
.blog-empty.show { display: block; }

.newsletter { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--paper-2); border: 1px solid var(--line); padding: clamp(2rem,5vw,3.4rem); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.newsletter::before { content: ""; position: absolute; inset: auto -70px -90px auto; width: 300px; height: 300px; border-radius: 50%; background: var(--grad-soft); filter: blur(42px); }
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { font-size: clamp(1.7rem,3.2vw,2.4rem); }
.newsletter-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.newsletter-form .input { flex: 1; min-width: 220px; background: #fff; }
.newsletter-note { margin-top: .85rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }

.article { max-width: 720px; margin-inline: auto; }
.article h2 { margin: 2.4rem 0 1rem; }
.article h3 { margin: 1.8rem 0 .8rem; }
.article p { margin-bottom: 1.2rem; font-size: 1.08rem; }
.article ul.dots { margin: 0 0 1.2rem 0; display: flex; flex-direction: column; gap: .6rem; }
.article ul.dots li { position: relative; padding-left: 1.5rem; color: var(--ink-2); }
.article ul.dots li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.article blockquote { border-left: 4px solid; border-image: var(--grad) 1; padding: .4rem 0 .4rem 1.4rem; font-family: var(--f-display); font-size: 1.4rem; font-style: italic; color: var(--ink); margin: 1.8rem 0; }
.article h2, .article h3 { scroll-margin-top: 100px; }
.article > p:first-of-type { font-size: 1.22rem; line-height: 1.65; color: var(--ink); }
.article hr.divider { border: none; border-top: 1px solid var(--line); }

/* ---------- Blog post: TOC sidebar, reading progress, share ---------- */
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 300; background: transparent; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

.article-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; max-width: 1060px; margin-inline: auto; }
.article-shell .article { max-width: none; margin: 0; }
.article-aside { position: sticky; top: 108px; align-self: start; }
.aside-inner { display: flex; flex-direction: column; }
.toc[hidden] { display: none; }
.toc-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; color: var(--muted); margin-bottom: .9rem; }
.toc-nav { display: flex; flex-direction: column; }
.toc-nav a { display: block; padding: .42rem 0 .42rem .9rem; border-left: 2px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.4; transition: color .25s var(--ease), border-color .25s var(--ease); }
.toc-nav a.sub { padding-left: 1.7rem; font-size: .84rem; }
.toc-nav a:hover { color: var(--ink); }
.toc-nav a.active { color: var(--purple); border-color: var(--purple); font-weight: 600; }
.article-share { display: flex; align-items: center; gap: .5rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.share-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-right: .15rem; }
.share-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.share-btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.share-btn svg { width: 17px; height: 17px; }
.share-btn.copied::after { content: "Copied!"; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: .3rem .55rem; border-radius: 8px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; }

.article-hero { margin: 0 0 2rem; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-hero img { width: 100%; height: auto; display: block; }
.article-author { display: flex; gap: 1rem; align-items: center; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); margin-top: 2rem; }

@media (max-width: 980px) {
  .article-shell { grid-template-columns: 1fr; gap: 1.8rem; }
  .article-aside { position: static; top: auto; }
  .aside-inner { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); }
  .article-share { margin-top: 1.1rem; padding-top: 1.1rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: #100b18; color: rgba(255,255,255,.6); padding-top: clamp(76px,9vw,132px); position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: clamp(2.5rem,6vw,6.5rem); align-items: start; padding-bottom: clamp(48px,6vw,80px); }
.footer-brand .brand { display: inline-flex; margin-bottom: 1.5rem; }
.site-footer .brand-logo { filter: brightness(0) invert(1); height: 34px; }
.footer-brand p { max-width: 40ch; font-size: .9rem; line-height: 1.68; color: rgba(255,255,255,.5); margin-bottom: 1.6rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2.5vw,2rem); }
.footer-col h5 { font-family: var(--f-body); color: rgba(255,255,255,.92); font-weight: 700; font-size: .69rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.05rem; }
.footer-col a { display: block; width: fit-content; padding: .34rem 0; color: rgba(255,255,255,.56); font-size: .88rem; transition: color .3s var(--ease), transform .3s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-locs { margin-top: .9rem; font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.footer-contact a { overflow-wrap: normal; white-space: nowrap; }
.social { display: flex; gap: .6rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease); }
.social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; stroke: #fff; }
.social.on-paper svg { stroke: var(--purple); }
.footer-bottom { padding: 1.8rem 0 2rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #fff; text-align: left; }
.footer-legal-copy, .footer-legal-links { margin: 0; line-height: 1.8; }
.footer-bottom p { color: #fff; }
.footer-legal-copy { max-width: 52rem; }
.footer-legal-links { margin-left: auto; display: flex; align-items: center; gap: .7rem; justify-content: flex-end; text-align: right; }
.footer-legal-links .sep { color: inherit; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(0,167,157,.16), transparent 68%); bottom: -340px; right: -140px; pointer-events: none; z-index: 1; }

.legal-card { max-width: 960px; margin-inline: auto; }
.legal-meta { color: var(--ink-3); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-doc h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-top: 2.4rem; }
.legal-doc h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal-doc p { color: var(--ink-2); }
.legal-doc a { color: var(--purple); }
.legal-doc ul, .legal-doc ol { margin: .9rem 0 0 1.3rem; padding-left: 1.1rem; color: var(--ink-2); }
.legal-doc ul { list-style: disc outside; }
.legal-doc ol { list-style: decimal outside; }
.legal-doc li { display: list-item; }
.legal-doc li + li { margin-top: .55rem; }
.legal-doc strong { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* ---------- Helpers ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mt-4{margin-top:3rem}
.mb-2{margin-bottom:1.2rem}.mb-3{margin-bottom:2rem}
.rel{position:relative;z-index:2}
.gap-lg{gap:2rem}
.chip-list{display:flex;flex-wrap:wrap;gap:.6rem}
.chip{padding:.5rem 1rem;border-radius:100px;background:var(--paper-2);border:1px solid var(--line);font-weight:600;font-size:.88rem;color:var(--ink-2)}
.divider{height:1px;background:var(--line);border:0;margin:0}

/* ---------- Hero background video + gradient overlay ---------- */
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(101,55,123,.93) 0%, rgba(120,47,134,.82) 45%, rgba(0,167,157,.78) 100%); }
.hero-overlay::after { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 82% 22%, rgba(0,167,157,.4), transparent 60%), radial-gradient(48% 58% at 8% 92%, rgba(101,55,123,.55), transparent 60%), linear-gradient(to bottom, rgba(15,10,22,0) 55%, rgba(15,10,22,.45)); }
.hero .container { position: relative; z-index: 3; }

/* ---------- Founder cutout panel ---------- */
.cutout-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); min-height: 460px; display: flex; align-items: flex-end; justify-content: center; }
.cutout-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 30% 15%, rgba(255,255,255,.28), transparent 60%), radial-gradient(50% 50% at 85% 90%, rgba(0,0,0,.18), transparent 60%); z-index: 1; }
.cutout-panel .splat { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .5; z-index: 1; }
.cutout-panel img { position: relative; z-index: 2; width: auto; max-width: 96%; max-height: 560px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 40px rgba(0,0,0,.22)); }
.cutout-panel .tagline { position: absolute; z-index: 3; top: 1.4rem; left: 1.6rem; color: #fff; font-family: var(--f-display); font-size: 1.5rem; max-width: 8ch; line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.2); }

/* ---------- Fancy photo panel (gradient-tinted cutout) ---------- */
.photo-fx { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(95% 85% at 50% 108%, #2a1740 0%, #141327 55%, #0c1016 100%); box-shadow: var(--shadow-lg); }
.photo-fx .splat { position: absolute; border-radius: 50%; filter: blur(52px); opacity: .5; z-index: 0; }
.photo-fx::before { content: ""; position: absolute; left: 50%; bottom: -12%; width: 82%; height: 82%; transform: translateX(-50%); background: radial-gradient(circle, rgba(0,167,157,.4), transparent 62%); z-index: 0; }
.photo-fx::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 90px rgba(8,6,14,.55); border-radius: inherit; }
.photo-fx img { position: relative; z-index: 2; width: auto; max-width: 100%; max-height: 560px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 30px 52px rgba(0,0,0,.5)); }
.photo-fx .tagline { position: absolute; z-index: 4; top: 1.5rem; left: 1.7rem; color: #fff; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.02; max-width: 9ch; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.photo-fx .tagline span { color: var(--teal); }

/* ---------- Plain cutout image (no panel/background) ---------- */
.photo-plain { display: block; margin-inline: auto; max-width: 100%; height: auto; max-height: 560px; }

/* ---------- Circular team / photo avatars ---------- */
.avatar-circle { width: 100%; max-width: 210px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 1.3rem; background: var(--paper-3); box-shadow: var(--shadow-md); border: 4px solid #fff; }
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-sm { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; }
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Client logo marquee ---------- */
.marquee { position: relative; overflow: hidden; width: 100vw; left: 50%; margin-left: -50vw; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 46s linear infinite; will-change: transform; }
.marquee-track.reverse { animation-duration: 58s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-slide { flex: none; width: 186px; height: 108px; display: grid; place-items: center; padding: 1.3rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease); }
.logo-slide img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .58; transition: filter .5s var(--ease), opacity .5s var(--ease); }
.logo-slide:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,167,157,.35); }
.logo-slide:hover img { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.6rem; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: block; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature-media { padding: 0; min-height: 300px; }
  .blog-feature-note { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
  .blog-art { min-height: 260px; }
  .blog-photo-wrap.featured, .blog-photo-wrap.featured .blog-photo { min-height: 300px; }
  .g-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev { direction: ltr; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-metrics { grid-template-columns: 1fr; gap: .8rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g-2, .g-4 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
  .footer-bottom { justify-content: flex-start; }
  .footer-legal-links { margin-left: 0; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
  .hero-stats { gap: 1.5rem; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
  .logo-slide { width: 150px; height: 92px; padding: 1rem 1.2rem; }
  .cutout-panel { min-height: 380px; }
  .cutout-panel img { max-height: 440px; }
  .hero-media .bezel { padding: 6px; }
}
