/* ==========================================================================
   Enoma Digital Technologies — main stylesheet
   Mobile-first. No framework, no build step.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #060b16;
  --navy-900: #0b1324;
  --navy-850: #0f1a30;
  --navy-800: #13203a;
  --navy-700: #1c2b4a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b7bff;
  --blue-300: #8fb4ff;
  --blue-100: #e6eeff;
  --blue-50:  #f2f6ff;
  --cyan-400: #22c3e6;
  --cyan-300: #67e0f3;
  --slate-50:  #f7f9fc;
  --slate-100: #eff3f8;
  --slate-200: #e3e9f1;
  --slate-300: #cdd6e2;
  --slate-400: #98a4b5;
  --slate-500: #647185;
  --slate-600: #4a5568;
  --slate-700: #334155;
  --ink: #0d1628;
  --white: #fff;
  --success: #0f7b52;
  --success-bg: #e8f7f0;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --warning: #8a5a00;
  --warning-bg: #fff6e0;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(13, 22, 40, .06), 0 1px 3px rgba(13, 22, 40, .05);
  --shadow: 0 4px 12px rgba(13, 22, 40, .06), 0 12px 32px rgba(13, 22, 40, .07);
  --shadow-lg: 0 10px 30px rgba(13, 22, 40, .10), 0 30px 70px rgba(13, 22, 40, .12);

  --gutter: 16px;
  --container: 1200px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Semantic color roles (light theme values). The dark theme redefines these below. */
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #eff3f8;
  --line: #e3e9f1;
  --line-strong: #cdd6e2;
  --text: #0d1628;
  --text-body: #334155;
  --text-muted: #4a5568;
  --text-soft: #647185;
  --text-faint: #98a4b5;
  --accent-soft: #f2f6ff;
  --accent-soft-2: #e6eeff;
  --accent-text: #1d4ed8;
  --accent-text-hover: #2563eb;
  --callout-text: #13203a;
  --header-glass: rgba(255, 255, 255, .86);
  --header-glass-solid: rgba(255, 255, 255, .94);

  /* Accent palette as RGB triplets so glows and tints follow the chosen palette */
  --accent-rgb: 37, 99, 235;
  --accent-bright-rgb: 59, 123, 255;
  --accent-light-rgb: 143, 180, 255;
  --accent2-rgb: 34, 195, 230;
  --accent2-light-rgb: 103, 224, 243;
  --accent-mid: #1b8fd6;
  --accent2-pale: #b8f3ff;
  --deep: #070d19;
  --deep-tint: #0e2a3a;
  --panel-1: #0f1c36;
  --panel-2: #13244a;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: inherit;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
main { display: block; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--cyan-300); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 20px; height: 20px; }
.icon-xs { width: 16px; height: 16px; }
.icon-flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: var(--white);
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--btn-border); border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: .975rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .btn-icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn-icon { transform: translateX(2px); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px rgba(var(--accent-rgb), .28); }
.btn-primary:hover { --btn-bg: var(--blue-700); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px rgba(var(--accent-rgb), .34); }
.btn-secondary { --btn-bg: var(--navy-900); }
.btn-secondary:hover { --btn-bg: var(--navy-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface-2); --btn-border: var(--text-faint); }
.btn-outline-light { --btn-bg: rgba(255,255,255,.04); --btn-fg: var(--white); --btn-border: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-border: rgba(255,255,255,.5); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn-stack { display: grid; gap: 10px; }
@media (max-width: 479px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--muted { background: var(--surface-2); border-block: 1px solid var(--surface-3); }
.section--dark { background: var(--navy-900); color: #d5deeb; overflow: hidden; isolation: isolate; }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: #aebbd0; }
.section__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(var(--accent-rgb), .22), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(var(--accent2-rgb), .10), transparent 70%);
}
.section__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 80%);
}
.section-foot { margin-top: 32px; text-align: center; color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  color: var(--accent-text);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.eyebrow--light, .section--dark .eyebrow { color: var(--cyan-300); }

.section-header { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header--center .eyebrow { justify-content: center; }
.section-header--left { margin-bottom: 24px; }
.section-title { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); }
.section-lead { margin-top: 16px; color: var(--text-muted); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.7; }
.mini-heading { margin: 28px 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); font-family: var(--font-body); }
.mini-heading--center { text-align: center; margin-top: 48px; }
.prose-p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Header / navigation ---------- */
/* The frosted background lives on a pseudo-element: backdrop-filter on the header
   itself would become the containing block for the fixed mobile menu. */
.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-glass);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 22, 40, .06); }
.site-header.is-scrolled::before { background: var(--header-glass-solid); }
body.nav-open .site-header::before { background: var(--surface); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: .16em; }
.brand__sub { margin-top: 5px; font-size: .56rem; font-weight: 600; letter-spacing: .22em; color: var(--text-soft); }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__sub { color: #8fa0bb; }

.primary-nav { display: none; margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.primary-nav__list > li { position: relative; display: flex; align-items: center; }
.primary-nav__link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 10px;
  border-radius: 8px; color: var(--text-body); font-size: .9rem; font-weight: 550; text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.primary-nav__link:hover { color: var(--text); background: var(--surface-3); }
.primary-nav__link[aria-current="page"] { color: var(--accent-text); }
.has-menu .primary-nav__link { padding-right: 4px; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; margin-right: 4px;
  border: 0; border-radius: 6px; background: transparent; color: var(--text-muted);
}
.menu-toggle:hover { color: var(--text); background: var(--surface-3); }
.menu-toggle .icon { transition: transform .2s var(--ease); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: calc(100% + 10px); left: -120px; width: 620px;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.has-menu.is-open .mega-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; }
.mega-menu__item {
  display: flex; gap: 12px; padding: 12px; border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: background-color .15s;
}
.mega-menu__item:hover { background: var(--surface-2); color: var(--text); }
.mega-menu__item strong { display: block; font-size: .92rem; font-weight: 650; }
.mega-menu__desc { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.45; color: var(--text-soft); }
.mega-menu__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.mega-menu__all { display: inline-flex; align-items: center; gap: 6px; margin: 8px 12px 4px; font-size: .88rem; font-weight: 600; text-decoration: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-quote, .header-book { display: none; }
@media (min-width: 560px) { .header-book { display: inline-flex; } }
@media (min-width: 768px) { .header-quote { display: inline-flex; } }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars span:first-child { top: 1px; }
.nav-toggle__bars span:last-child { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  animation: mobile-in .22s var(--ease);
}
.mobile-nav[hidden] { display: none; }
@keyframes mobile-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav__list { list-style: none; }
.mobile-nav__list > li { border-bottom: 1px solid var(--surface-3); }
.mobile-nav__list a, .mobile-nav__group summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 4px;
  color: var(--text); font-family: var(--font-display); font-size: 1.12rem; font-weight: 650; text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--accent-text); }
.mobile-nav__group summary { cursor: pointer; list-style: none; }
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__group summary .icon { transition: transform .2s var(--ease); }
.mobile-nav__group ul { list-style: none; padding: 0 0 12px; }
.mobile-nav__group ul a {
  justify-content: flex-start; min-height: 48px; padding: 10px 12px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 550; color: var(--text-body);
  border-radius: 10px;
}
.mobile-nav__group ul a .icon { color: var(--blue-600); }
.mobile-nav__group ul a:hover { background: var(--surface-2); }
.mobile-nav__actions { display: grid; gap: 10px; margin-top: 24px; }
.mobile-nav__tagline { margin-top: 24px; text-align: center; color: var(--text-soft); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

@media (min-width: 1280px) and (max-width: 1399px) { .header-quote { display: none; } }
.site-header .container { max-width: calc(1360px + var(--gutter) * 2); }
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .site-header__actions { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #cdd7e6;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 80% 20%, rgba(var(--accent-rgb), .35), transparent 70%),
    radial-gradient(35% 45% at 95% 90%, rgba(var(--accent2-rgb), .16), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 70% at 70% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 70% at 70% 40%, #000 10%, transparent 75%);
}
.hero__glow { position: absolute; left: 50%; bottom: -1px; width: 100%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--accent2-light-rgb), .5), transparent); }
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
}
.hero__text { max-width: 580px; margin-top: 22px; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.7; color: #b7c4d8; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; list-style: none; font-size: .9rem; color: #9fb0c8; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--cyan-300); }
.hero__visual { position: relative; max-width: 620px; justify-self: center; width: 100%; }
.hero__ring {
  position: absolute; z-index: -1; right: -12%; top: -14%; width: 70%; aspect-ratio: 1;
  border: 1px solid rgba(var(--accent-light-rgb), .16); border-radius: 50%;
}
.hero__ring::after { content: ""; position: absolute; inset: 14%; border: 1px dashed rgba(var(--accent-light-rgb), .12); border-radius: 50%; }

.media-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.media-frame--hero { aspect-ratio: 5 / 4; border: 1px solid rgba(255,255,255,.08); }
.media-frame--hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(6, 11, 22, .28));
}
.media-frame--tall { aspect-ratio: 16 / 11; }
@media (min-width: 1024px) { .media-frame--tall { aspect-ratio: 4 / 5; } }
/* Graceful fallback when a remote photo cannot load */
.media-frame.img-failed img { visibility: hidden; }
.media-frame.img-failed { background: radial-gradient(60% 60% at 70% 30%, rgba(var(--accent-rgb), .45), transparent 70%), linear-gradient(135deg, var(--navy-800), var(--navy-900)); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: rgba(13, 22, 40, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); box-shadow: 0 16px 40px rgba(0,0,0,.35);
  font-size: .85rem; line-height: 1.3;
}
.float-card strong { display: block; font-weight: 650; }
.float-card small { display: block; color: #a8b7cc; font-size: .75rem; margin-top: 2px; }
.float-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(var(--accent-bright-rgb), .22); color: var(--blue-300); }
.float-card__icon--ok { background: rgba(var(--accent2-rgb), .18); color: var(--cyan-300); }
.float-card--top { top: 8%; left: -4%; }
.float-card--bottom { bottom: 9%; right: -3%; }
.float-card__bar { width: 110px; height: 6px; margin-top: 8px !important; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.float-card__bar span { display: block; width: 86%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); }
@media (max-width: 639px) {
  .float-card--top { left: 10px; top: 10px; }
  .float-card--bottom { right: 10px; bottom: 10px; }
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.02fr .98fr; gap: 64px; }
  .hero__visual { justify-self: end; }
}

/* ---------- Trust bar ---------- */
.trust { position: relative; background: var(--page-bg); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; gap: 20px; padding-block: 28px; align-items: center; }
.trust__heading { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); font-family: var(--font-body); text-align: center; }
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; }
.trust__list a {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  height: 100%; color: var(--text); font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.trust__list a:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--text); }
.trust__list .icon { color: var(--blue-600); width: 22px; height: 22px; }
@media (min-width: 900px) {
  .trust__inner { grid-template-columns: auto 1fr; gap: 40px; }
  .trust__heading { text-align: left; }
  .trust__list { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service-grid--compact { gap: 16px; }
@media (min-width: 1080px) { .service-grid--compact { grid-template-columns: repeat(5, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  opacity: 0; transition: opacity .25s var(--ease);
}
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-text);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .12);
}
.service-card__title { font-size: 1.28rem; }
.service-card__text { margin-top: 10px; color: var(--text-muted); font-size: .96rem; }
.service-card__list {
  display: grid; gap: 7px; margin: 18px 0 24px; padding-top: 18px; list-style: none;
  border-top: 1px solid var(--surface-3); font-size: .9rem; color: var(--text-body);
}
.service-card__list li { position: relative; padding-left: 20px; }
.service-card__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-500); opacity: .75; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  color: var(--accent-text); font-weight: 650; font-size: .95rem; text-decoration: none;
}
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__link .icon { transition: transform .2s var(--ease); }
.service-card:hover .service-card__link .icon { transform: translateX(3px); }
.service-card:focus-within { border-color: var(--blue-500); }
.service-card--compact { padding: 22px; }
.service-card--compact .service-card__icon { width: 40px; height: 40px; margin-bottom: 14px; }
.service-card--compact .service-card__title { font-size: 1.05rem; }
.service-card--compact .service-card__text { font-size: .87rem; margin-bottom: 16px; }

/* ---------- Why / feature cards ---------- */
.why__inner { display: grid; gap: 40px; }
.why__intro .section-header { margin-bottom: 28px; }
.why__intro .btn-row, .why__intro > .btn { margin-top: 0; }
.why__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .why__inner { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .why__grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.feature-card:hover { border-color: rgba(var(--accent-light-rgb), .3); transform: translateY(-2px); }
.feature-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: rgba(var(--accent-bright-rgb), .16); color: var(--blue-300);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-light-rgb), .2);
}
.feature-card__title { color: var(--white); font-size: 1.12rem; }
.feature-card__text { margin-top: 8px; font-size: .95rem; color: #a9b6ca; }
.feature-card--light { border-color: var(--line); background: var(--surface); }
.feature-card--light:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.feature-card--light .feature-card__icon { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .12); }
.feature-card--light .feature-card__title { color: var(--text); }
.feature-card--light .feature-card__text { color: var(--text-muted); }
.audience-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split__media { order: 2; }
  .split--center { align-items: center; }
}
.split__media { position: relative; }
.media-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 999px; background: rgba(11, 19, 36, .78); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .86rem; font-weight: 600; border: 1px solid rgba(255,255,255,.14);
}
.media-badge .icon { color: var(--cyan-300); }

.pill-grid { display: grid; gap: 10px; margin-top: 8px; list-style: none; }
@media (min-width: 520px) { .pill-grid { grid-template-columns: 1fr 1fr; } }
.pill {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-weight: 550; font-size: .95rem;
}
.pill .icon { color: var(--blue-600); }
.pill:last-child:nth-child(odd) { grid-column: 1 / -1; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
  font-size: .88rem; font-weight: 600;
}
.topic-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; list-style: none; }
@media (min-width: 480px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
.topic-grid li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--surface-3); font-weight: 550; }
.topic-grid .icon { color: var(--blue-600); }
.topic-grid--dark { gap: 14px; margin: 0; }
@media (min-width: 900px) { .topic-grid--dark { grid-template-columns: repeat(4, 1fr); } }
.topic-grid--dark li {
  padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
  background: rgba(255,255,255,.035); color: var(--white);
}
.topic-grid--dark .icon { color: var(--cyan-300); }

/* ---------- AI assistant + service finder ---------- */
.assist__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .assist__grid { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; } }
.assist__label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.assist__label .icon { color: var(--blue-600); }

.assistant {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--surface); box-shadow: var(--shadow);
  overflow: hidden;
}
.assistant__header {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: var(--white);
}
.assistant__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); }
.assistant__avatar .icon { width: 20px; height: 20px; }
.assistant__name { margin: 0; font-weight: 650; font-size: .98rem; }
.assistant__meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #a9b6ca; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }
.assistant__reset { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: transparent; color: var(--white); }
.assistant__reset:hover { background: rgba(255,255,255,.08); }
.assistant__log {
  display: flex; flex-direction: column; gap: 12px;
  height: 340px; padding: 20px 18px; overflow-y: auto; scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 120px);
}
@media (min-width: 1024px) { .assistant__log { height: 380px; } }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: .94rem; line-height: 1.55; animation: msg-in .25s var(--ease); }
.msg p { margin: 0 0 .5em; }
.msg p:last-child { margin: 0; }
.msg ul { margin: .4em 0; padding-left: 1.1em; }
.msg li { margin: .2em 0; }
.msg--assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msg--user { align-self: flex-end; background: var(--blue-600); color: var(--white); border-bottom-right-radius: 6px; }
.msg__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
  font-size: .82rem; font-weight: 600; text-decoration: none;
}
.msg__links a:hover { background: var(--accent-soft-2); }
.msg--typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: typing 1.2s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.assistant__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.assistant__chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px; text-align: left;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--text-body); font-size: .84rem; font-weight: 550; line-height: 1.3; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--blue-300); color: var(--accent-text); background: var(--accent-soft); }
.assistant__form { display: flex; align-items: flex-end; gap: 10px; margin: 0 14px; padding: 8px 8px 8px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.assistant__form:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.assistant__form textarea { flex: 1; min-height: 40px; max-height: 140px; padding: 8px 0; border: 0; resize: none; outline: none; background: transparent; line-height: 1.5; font-size: 1rem; }
.assistant__form textarea:focus-visible { outline: none; }
.assistant__send { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 10px; background: var(--blue-600); color: var(--white); transition: background-color .2s; }
.assistant__send:hover { background: var(--blue-700); }
.assistant__send:disabled { background: var(--line-strong); cursor: not-allowed; }
.assistant__disclaimer { margin: 10px 18px 16px; font-size: .76rem; color: var(--text-soft); line-height: 1.5; }
.assistant__noscript { margin: 0 18px 16px; font-size: .9rem; }

.finder {
  position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--surface); box-shadow: var(--shadow);
}
.finder__progress { height: 4px; margin: -4px 0 20px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.finder__progress span { display: block; width: 33%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); transition: width .35s var(--ease); }
.finder__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.finder__question { display: block; margin-bottom: 16px; padding: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; letter-spacing: -.01em; }
.finder__question:focus { outline: none; }
.finder__options { display: grid; gap: 8px; }
.finder__option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  text-align: left; font-weight: 550; font-size: .95rem;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.finder__option:hover { border-color: var(--blue-300); background: var(--accent-soft); }
.finder__option-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--surface-3); color: var(--accent-text); }
.finder__option-icon .icon { width: 18px; height: 18px; }
.finder__option-arrow { margin-left: auto; color: var(--text-faint); transition: transform .2s var(--ease), color .2s; }
.finder__option:hover .finder__option-arrow { color: var(--blue-600); transform: translateX(2px); }
.finder__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 8px 4px; border: 0; background: none; color: var(--text-muted); font-weight: 600; font-size: .9rem; }
.finder__back:hover { color: var(--text); }
.finder__result { display: grid; gap: 12px; }
.finder__rec { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.finder__rec--primary { border-color: rgba(var(--accent-rgb), .35); background: var(--accent-soft); }
.finder__rec-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--surface); color: var(--accent-text); box-shadow: var(--shadow-sm); }
.finder__rec-label { margin: 0 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.finder__rec h4 { font-size: 1.05rem; }
.finder__rec p { margin: 4px 0 8px; font-size: .9rem; color: var(--text-muted); }
.finder__rec a { font-weight: 650; font-size: .9rem; }
.finder__note { margin: 4px 0 0; font-size: .93rem; color: var(--text-body); }
.finder .btn-row { margin-top: 20px; }
.finder__noscript { margin-top: 12px; font-size: .9rem; }

/* ---------- Process ---------- */
.process__steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 700px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process__steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.process-step {
  position: relative; padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.process-step__num { position: absolute; top: 22px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: rgba(var(--accent-light-rgb), .16); }
.process-step__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-600), var(--accent-mid)); color: var(--white); box-shadow: 0 8px 22px rgba(var(--accent-rgb), .35); }
.process-step__title { color: var(--white); font-size: 1.1rem; }
.process-step__text { margin-top: 8px; font-size: .93rem; color: #a9b6ca; }
@media (min-width: 1080px) {
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 50px; right: -21px; width: 22px; height: 1px;
    background: linear-gradient(90deg, rgba(var(--accent-light-rgb), .5), transparent);
  }
}

/* ---------- Founder ---------- */
.founder-card { margin: 0; max-width: 440px; margin-inline: auto; }
.founder-card__photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--surface-3), var(--line)); box-shadow: var(--shadow);
}
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card__photo--empty { display: grid; place-content: center; justify-items: center; gap: 14px; border: 1px dashed var(--line-strong); box-shadow: none; }
.founder-card__placeholder-icon { width: 64px; height: 64px; color: var(--text-faint); stroke-width: 1.25; }
.founder-card__placeholder-label { font-size: .88rem; font-weight: 600; color: var(--text-soft); }
.founder-card__caption { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; text-align: center; }
.founder-card__caption strong { font-family: var(--font-display); font-size: 1.1rem; }
.founder-card__caption span { font-size: .9rem; color: var(--text-soft); }
.placeholder-text { color: var(--text-muted); font-style: italic; background: var(--surface-3); border-radius: 4px; padding: 0 .3em; }

.check-list { display: grid; gap: 10px; margin: 20px 0 8px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 550; }
.icon-check { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); stroke-width: 2.5; }
@media (min-width: 520px) { .check-list--2col { grid-template-columns: 1fr 1fr; } }
.check-list--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.split__content > .btn { margin-top: 20px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; } }
.testimonial-card {
  display: flex; flex-direction: column; margin: 0; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.testimonial-card blockquote { flex: 1; margin: 16px 0 24px; font-size: 1.02rem; line-height: 1.65; }
.testimonial-card__mark { width: 30px; height: 30px; color: var(--blue-500); }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.testimonial-card figcaption strong { display: block; }
.testimonial-card__role { display: block; color: var(--text-soft); font-size: .84rem; }
.testimonial-card__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.testimonial-card--placeholder { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.testimonial-card--placeholder blockquote { color: var(--text-soft); font-style: italic; }
.testimonial-card--placeholder .testimonial-card__mark { color: var(--line-strong); }
.testimonial-card--placeholder .testimonial-card__avatar { background: var(--surface-3); color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; line-height: 1.4; }
.faq-item__toggle { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface-3); color: var(--text-muted); transition: transform .25s var(--ease), background-color .2s; }
.faq-item[open] .faq-item__toggle { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent-text); }
.faq-item__a { padding: 0 20px 20px; color: var(--text-muted); }
.faq-group { margin-bottom: 48px; }
.faq-group__title { margin-bottom: 16px; font-size: 1.35rem; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 7vw, 80px) clamp(22px, 6vw, 72px);
  border-radius: var(--radius-xl); text-align: center;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #b7c4d8; box-shadow: var(--shadow-lg);
}
.cta-band__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(var(--accent-rgb), .35), transparent 70%),
    radial-gradient(30% 50% at 100% 100%, rgba(var(--accent2-rgb), .15), transparent 70%);
}
.cta-band__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%);
}
.cta-band .eyebrow { justify-content: center; }
.cta-band__title { max-width: 760px; margin: 0 auto; color: var(--white); font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); letter-spacing: -.03em; }
.cta-band__text { max-width: 560px; margin: 18px auto 0; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a3bb; font-size: .94rem; }
.site-footer__top { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer__name { margin: 20px 0 2px; color: var(--white); font-weight: 650; }
.site-footer__tagline { color: var(--cyan-300); font-weight: 600; letter-spacing: .04em; }
.site-footer__area, .site-footer__contact { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.site-footer__area .icon, .site-footer__contact .icon { margin-top: 3px; color: #6f82a0; }
.site-footer__heading { margin-bottom: 16px; color: var(--white); font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__col ul { display: grid; gap: 4px; list-style: none; }
.site-footer a { color: #b3c0d3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__col ul a { display: inline-block; padding: 5px 0; }
.site-footer__cta p { margin-bottom: 18px; }
.site-footer__cta .btn { width: 100%; }
.site-footer .btn, .site-footer .btn:hover { color: var(--btn-fg); text-decoration: none; }
.site-footer__bottom {
  display: flex; flex-direction: column; gap: 16px; padding-block: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem;
}
@media (min-width: 800px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-footer__bottom p { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.social a, .social__placeholder { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: .8rem; }
.social__placeholder { color: #8394ad; border-style: dashed; cursor: default; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--navy-900); color: #b7c4d8;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 10%, rgba(var(--accent-rgb), .3), transparent 70%), radial-gradient(30% 50% at 0% 100%, rgba(var(--accent2-rgb), .1), transparent 70%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
}
.page-hero__inner { display: grid; gap: 40px; align-items: center; }
.page-hero__content { max-width: 720px; }
.page-hero__title { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.page-hero__text { margin-top: 18px; font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem); line-height: 1.7; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero__h1 { margin: 0; }
.page-hero__h1 .eyebrow { display: flex; font-family: var(--font-body); letter-spacing: .14em; line-height: 1.4; }
.page-hero__h1 .page-hero__title { display: block; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__content { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero .media-frame--hero { aspect-ratio: 16 / 9; }
@media (min-width: 1024px) { .page-hero .media-frame--hero { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) {
  .page-hero--image .page-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.breadcrumbs { margin-bottom: 22px; font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #8fa0bb; }
.breadcrumbs li + li::before { content: "/"; color: #4d5f7c; }
.breadcrumbs a { color: #b3c0d3; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Detail cards (service pages) ---------- */
.detail-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .detail-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.detail-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.detail-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.detail-card__icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.detail-card__title { font-size: 1.08rem; }
.detail-card__text { margin-top: 8px; font-size: .94rem; color: var(--text-muted); }
.callout { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 32px auto 0; padding: 16px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--callout-text); font-size: .94rem; }
.callout .icon { color: var(--accent-text); margin-top: 2px; }

.mini-process { display: grid; gap: 14px; list-style: none; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.mini-process li { display: flex; gap: 14px; font-size: .94rem; color: var(--text-muted); }
.mini-process strong { display: block; color: var(--text); font-size: 1rem; }
.mini-process__num { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--navy-900); color: var(--white); font-weight: 700; font-size: .88rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.form-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); }
.form-card__title { margin-bottom: 20px; font-size: 1.4rem; }
.section--overlap { padding-top: 48px; }
@media (min-width: 1024px) { .form-layout--page { grid-template-columns: .8fr 1.2fr; } }
.side-heading { margin-bottom: 20px; font-size: 1.35rem; }
.contact-points { display: grid; gap: 14px; list-style: none; margin-top: 8px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.contact-points .icon { color: var(--blue-600); margin-top: 3px; }
.contact-points--lg li { align-items: center; }
.contact-points__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--accent-soft); }
.contact-points--lg .icon { margin-top: 0; }
.form-layout__intro .setup-notice { margin-top: 20px; }
.booking-card { margin-top: 28px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); }
.booking-card .btn { margin-top: 12px; }
.side-links { display: grid; gap: 4px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.side-links__label { margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.side-links a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; text-decoration: none; }

.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form__required-note { margin-bottom: 18px; font-size: .85rem; color: var(--text-soft); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text-body); }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field__error { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--danger); font-size: .85rem; font-weight: 550; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap__icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-soft); }
.form__footer { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
@media (min-width: 640px) { .form__footer { flex-direction: row; align-items: center; } }
.form__footer .btn { flex: none; }
.form__privacy { margin: 0; font-size: .82rem; color: var(--text-soft); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-status { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; font-weight: 550; }
.form-status:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.form-status--success { background: var(--success-bg); color: var(--success); }
.form-status--error { background: var(--danger-bg); color: var(--danger); }
.form-status--notice { background: var(--warning-bg); color: var(--warning); }
.setup-notice {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 10px 14px;
  border: 1px dashed #e0b44c; border-radius: 10px; background: var(--warning-bg); color: var(--warning); font-size: .82rem; line-height: 1.5;
}
.setup-notice .icon { margin-top: 1px; }

/* ---------- Resources ---------- */
.toc { display: grid; gap: 10px; margin-bottom: 48px; }
@media (min-width: 700px) { .toc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .toc { grid-template-columns: repeat(4, 1fr); } }
.toc__item { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .2s, background-color .2s; }
.toc__item:hover { border-color: var(--blue-300); background: var(--accent-soft); color: var(--text); }
.toc__item .icon { color: var(--blue-600); }
.guide-list { display: grid; gap: 24px; }
@media (min-width: 1024px) { .guide-list { grid-template-columns: 1fr 1fr; } }
.guide { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.guide__head { display: flex; gap: 16px; margin-bottom: 20px; }
.guide__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--navy-900); color: var(--cyan-300); }
.guide__tag { margin: 0 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.guide__title { font-size: 1.25rem; }
.guide__summary { margin-top: 6px; color: var(--text-muted); }
.guide__steps { display: grid; gap: 10px; padding-left: 0; list-style: none; counter-reset: g; }
.guide__steps li { position: relative; padding-left: 40px; color: var(--text-body); counter-increment: g; }
.guide__steps li::before { content: counter(g); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: .8rem; }

/* ---------- Legal prose ---------- */
.prose { font-size: 1.02rem; color: var(--text-body); }
.prose h2 { margin: 40px 0 12px; font-size: 1.35rem; color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .5em 0; }
.prose__updated { color: var(--text-soft); font-size: .9rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .assistant, .finder { display: none !important; }
  .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
  .hero__title, .page-hero__title, .section-title { color: #000 !important; }
}

/* Grid children must be allowed to shrink below their content width. */
.assist__grid > *, .split > *, .hero__inner > *, .page-hero__inner > *, .form-layout > *, .why__inner > * { min-width: 0; }
.founder-card__caption .placeholder-text { color: var(--text-muted); font-size: inherit; }

/* ==========================================================================
   Visual polish
   ========================================================================== */
.text-gradient {
  background: linear-gradient(100deg, var(--blue-300) 0%, var(--cyan-300) 55%, var(--accent2-pale) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan-300);
}
.float-card--mid { top: 46%; right: -6%; }
@media (max-width: 639px) { .float-card--mid { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: float-y 7s ease-in-out infinite; }
  .float-card--mid { animation-delay: -2.3s; }
  .float-card--bottom { animation-delay: -4.6s; }
  .hero__ring { animation: spin-slow 60s linear infinite; }
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Designed fallback when a photo cannot load: brand pattern instead of an empty box */
.media-frame.img-failed::before,
.media-frame:not(:has(img))::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12 11h16v4H16.5v3H26v4h-9.5v3H28v4H12z' fill='%238fb4ff' fill-opacity='.22'/%3E%3Ccircle cx='30.5' cy='20' r='2' fill='%2367e0f3' fill-opacity='.5'/%3E%3C/svg%3E") center / 22% no-repeat,
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(70% 70% at 70% 20%, rgba(var(--accent-bright-rgb), .55), transparent 70%),
    linear-gradient(145deg, var(--navy-800), var(--navy-900) 60%, var(--deep-tint));
}

/* Cards: softer depth, gradient icon tiles on hover */
.service-card__icon, .detail-card__icon, .feature-card--light .feature-card__icon { transition: background .25s var(--ease), color .25s var(--ease); }
.service-card:hover .service-card__icon { background: linear-gradient(135deg, var(--blue-600), var(--accent-mid)); color: var(--white); box-shadow: 0 8px 20px rgba(var(--accent-rgb), .28); }
.detail-card:hover .detail-card__icon { background: var(--blue-600); color: var(--white); }
.section-header--center .section-title { position: relative; }
.eyebrow { font-feature-settings: "ss01"; }
.section-split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-split-head .section-header { margin-bottom: 0; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.blog-filter .chip { gap: 6px; }
.blog-filter .chip[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip--rss { margin-left: auto; }
.blog-empty { display: grid; justify-items: center; gap: 10px; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; }

.post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-featured { margin-bottom: 28px; }

.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-card:focus-within { border-color: var(--blue-500); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.post-card__media img, .post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: .8rem; color: var(--text-soft); }
.post-card__cat { color: var(--accent-text); font-weight: 700; letter-spacing: .04em; }
.post-card__title { font-size: 1.18rem; line-height: 1.3; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.post-card__title a:focus-visible { outline: none; }
.post-card__title a:focus-visible::after { outline: 3px solid var(--blue-500); outline-offset: -3px; border-radius: var(--radius-lg); }
.post-card__excerpt { margin: 0; color: var(--text-muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--accent-text); font-weight: 650; font-size: .9rem; }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }
.post-card__more .icon { transition: transform .2s var(--ease); }
@media (min-width: 900px) {
  .post-card--large { display: grid; grid-template-columns: 1.25fr 1fr; }
  .post-card--large .post-card__media { aspect-ratio: auto; min-height: 340px; }
  .post-card--large .post-card__body { padding: 40px; justify-content: center; }
  .post-card--large .post-card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.02em; }
  .post-card--large .post-card__more { margin-top: 12px; }
}

/* Designed cover art (used when a post has no image, and behind images while they load) */
.cover-art {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  color: var(--white); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 85% 10%, rgba(var(--accent2-light-rgb), .35), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--navy-900) 75%);
}
.cover-art--1 { background: radial-gradient(80% 90% at 15% 10%, rgba(var(--accent-light-rgb), .45), transparent 60%), linear-gradient(135deg, #0f766e, var(--navy-900) 75%); }
.cover-art--2 { background: radial-gradient(80% 90% at 80% 90%, rgba(var(--accent2-light-rgb), .35), transparent 60%), linear-gradient(135deg, #4338ca, var(--navy-900) 75%); }
.cover-art--3 { background: radial-gradient(80% 90% at 20% 90%, rgba(var(--accent-light-rgb), .4), transparent 60%), linear-gradient(135deg, #0369a1, var(--navy-900) 75%); }
.cover-art__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 80%);
}
.cover-art__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.cover-art__icon .icon { width: 30px; height: 30px; }
.cover-art__label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.post-card--large .cover-art__icon { width: 84px; height: 84px; border-radius: 22px; }
.post-card--large .cover-art__icon .icon { width: 38px; height: 38px; }
.img-failed > img, .post-card__media img.img-hidden { visibility: hidden; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.pagination a[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

/* Single post */
.post-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #b7c4d8; padding-block: clamp(40px, 6vw, 72px) clamp(96px, 12vw, 150px); }
.post-hero__cat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--cyan-300); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.post-hero__cat:hover { color: var(--white); }
.post-hero__title { margin-top: 18px; color: var(--white); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.post-hero__lead { margin-top: 16px; font-size: 1.12rem; line-height: 1.7; }
.post-hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .9rem; }
.post-hero__meta strong { display: block; color: var(--white); }
.post-hero__meta span span { color: #93a3bb; }
.post-hero__logo { width: 40px; height: 40px; }
.post-draft { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 16px; padding: 8px 12px; border-radius: 8px; background: var(--warning-bg); color: var(--warning); font-weight: 600; font-size: .88rem; }
.post-layout { max-width: calc(900px + var(--gutter) * 2); margin-top: clamp(-120px, -9vw, -70px); position: relative; }
.post-cover { position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.post-body { max-width: 720px; margin: clamp(32px, 5vw, 56px) auto var(--section-y); font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.prose h3 { margin: 28px 0 10px; font-size: 1.2rem; color: var(--text); }
.prose ol { padding-left: 1.3em; }
.prose ol li::marker { color: var(--accent-text); font-weight: 700; }
.prose ul li::marker { color: var(--blue-500); }
.prose a { font-weight: 550; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--blue-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); color: var(--callout-text); font-size: 1.12rem; font-weight: 550; }
.prose-figure { margin: 28px 0; }
.prose-figure img { width: 100%; border-radius: var(--radius-lg); }
.prose-figure figcaption { margin-top: 8px; font-size: .88rem; color: var(--text-soft); text-align: center; }
.post-sources { margin-top: 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.post-sources h2 { margin: 0 0 8px !important; font-size: 1rem !important; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0 !important; padding: 0 !important; list-style: none; }
.post-tags li { margin: 0 !important; padding: 5px 12px; border-radius: 999px; background: var(--surface-3); color: var(--text-body); font-size: .82rem; font-weight: 600; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; }
.post-share span { font-weight: 700; color: var(--text-muted); }
.post-cta { display: grid; gap: 18px; margin-top: 36px; padding: 28px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #b7c4d8; }
.post-cta h2 { margin: 0 0 6px !important; color: var(--white); font-size: 1.35rem !important; }
.post-cta p { margin: 0; font-size: 1rem; }
@media (min-width: 700px) { .post-cta { grid-template-columns: 1fr auto; align-items: center; } }

/* Focus point for uploaded photos (set in Admin → Media library): keeps that part in view when cropped to fit */
img.focus-top-left { object-position: 15% 15%; }
img.focus-top { object-position: 50% 15%; }
img.focus-top-right { object-position: 85% 15%; }
img.focus-left { object-position: 15% 50%; }
img.focus-right { object-position: 85% 50%; }
img.focus-bottom-left { object-position: 15% 85%; }
img.focus-bottom { object-position: 50% 85%; }
img.focus-bottom-right { object-position: 85% 85%; }

/* ==========================================================================
   Dark premium theme (Admin → Settings → Website color theme)
   Deep navy surfaces, soft light text and restrained blue accents.
   ========================================================================== */
html[data-site-theme="dark"] {
  color-scheme: dark;
  --page-bg: #0b1322;
  --surface: #111c30;
  --surface-2: #0e1828;
  --surface-3: #1a2842;
  --line: #1f2d47;
  --line-strong: #2d3e60;
  --text: #e9eef7;
  --text-body: #cbd5e4;
  --text-muted: #a9b6ca;
  --text-soft: #8e9db4;
  --text-faint: #6b7b94;
  --accent-soft: rgba(var(--accent-bright-rgb), .14);
  --accent-soft-2: rgba(var(--accent-bright-rgb), .24);
  --accent-text: var(--blue-300);
  --accent-text-hover: #bcd2ff;
  --callout-text: #dbe6ff;
  --header-glass: rgba(11, 19, 34, .72);
  --header-glass-solid: rgba(11, 19, 34, .92);
  --success: #5fd6a4;
  --success-bg: rgba(15, 123, 82, .18);
  --danger: #ff9b91;
  --danger-bg: rgba(180, 35, 24, .2);
  --warning: #f5c768;
  --warning-bg: rgba(245, 199, 104, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 6px 18px rgba(0, 0, 0, .28), 0 16px 40px rgba(0, 0, 0, .22);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .35), 0 36px 80px rgba(0, 0, 0, .3);
}
[data-site-theme="dark"] body {
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(var(--accent-rgb), .08), transparent 70%) fixed,
    var(--page-bg);
}
[data-site-theme="dark"] .section--muted { border-color: var(--line); }
[data-site-theme="dark"] .section--dark,
[data-site-theme="dark"] .hero,
[data-site-theme="dark"] .page-hero,
[data-site-theme="dark"] .post-hero { background-color: var(--deep); border-bottom: 1px solid var(--line); }
[data-site-theme="dark"] .site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
[data-site-theme="dark"] .nav-toggle { border-color: var(--line-strong); }
[data-site-theme="dark"] .btn-secondary { --btn-bg: rgba(255, 255, 255, .06); --btn-border: var(--line-strong); }
[data-site-theme="dark"] .btn-secondary:hover { --btn-bg: rgba(255, 255, 255, .12); }
[data-site-theme="dark"] .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(var(--accent-rgb), .35); }
[data-site-theme="dark"] .blog-filter .chip[aria-current],
[data-site-theme="dark"] .pagination a[aria-current],
[data-site-theme="dark"] .mini-process__num { background: var(--blue-600); border-color: var(--blue-600); }
[data-site-theme="dark"] .service-card,
[data-site-theme="dark"] .detail-card,
[data-site-theme="dark"] .post-card,
[data-site-theme="dark"] .feature-card--light,
[data-site-theme="dark"] .testimonial-card,
[data-site-theme="dark"] .guide,
[data-site-theme="dark"] .faq-item,
[data-site-theme="dark"] .form-card,
[data-site-theme="dark"] .finder,
[data-site-theme="dark"] .assistant,
[data-site-theme="dark"] .mini-process {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--surface);
}
[data-site-theme="dark"] .service-card:hover,
[data-site-theme="dark"] .post-card:hover,
[data-site-theme="dark"] .detail-card:hover { border-color: rgba(var(--accent-light-rgb), .35); }
[data-site-theme="dark"] .testimonial-card--placeholder { background: transparent; }
[data-site-theme="dark"] .cta-band__panel { border: 1px solid rgba(var(--accent-light-rgb), .18); background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); }
[data-site-theme="dark"] .post-cta { border: 1px solid rgba(var(--accent-light-rgb), .18); background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); }
[data-site-theme="dark"] .msg--user { color: #fff; }
[data-site-theme="dark"] .mega-menu { border-color: var(--line-strong); }
[data-site-theme="dark"] .setup-notice { border-color: rgba(245, 199, 104, .45); }
[data-site-theme="dark"] .founder-card__photo--empty { border-color: var(--line-strong); }
[data-site-theme="dark"] .field input::placeholder, [data-site-theme="dark"] .field textarea::placeholder { color: var(--text-faint); }

/* Resource guide cards and pages */
.guide-cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .guide-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .guide-cards { grid-template-columns: repeat(3, 1fr); } }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.guide-card .guide__icon { margin-bottom: 6px; }
.guide-card__title { font-size: 1.15rem; line-height: 1.3; }
.guide-card__title a { color: var(--text); text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-card__title a:focus-visible { outline: none; }
.guide-card:focus-within { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.guide-card .guide__summary { color: var(--text-muted); margin: 0; }
.guide-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--accent-text); font-weight: 650; font-size: .9rem; }
.post-hero--guide { padding-bottom: clamp(48px, 7vw, 80px); }
.guide-page { padding-block: clamp(40px, 6vw, 72px) var(--section-y); }
.guide-page__intro { margin-bottom: 32px; }
.guide-steps { display: grid; gap: 14px; margin: 0 0 40px; padding: 0; list-style: none; }
.guide-step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.guide-step p { margin: 0; font-size: 1.05rem; color: var(--text-body); padding-top: 4px; }
.guide-step__num { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: linear-gradient(135deg, var(--blue-600), var(--accent-mid)); color: #fff; font-weight: 800; font-family: var(--font-display); box-shadow: 0 8px 20px rgba(var(--accent-rgb), .3); }

/* ==========================================================================
   Color palettes (Admin → Appearance). Midnight Blue is the default above.
   Each palette sets accent colors (both themes) and dark surfaces (dark theme).
   ========================================================================== */
.brand__mark .lg-a { stop-color: var(--logo-1, #2f6bff); }
.brand__mark .lg-b { stop-color: var(--logo-2, #0fb5d6); }
.brand__mark .lg-dot { fill: var(--logo-dot, #5ee0f5); }

/* Obsidian: graphite black with electric blue */
html[data-palette="obsidian"] { --cyan-400: #22d3ee; --cyan-300: #67e8f9; --accent2-rgb: 34, 211, 238; --accent2-light-rgb: 103, 232, 249; }
html[data-site-theme="dark"][data-palette="obsidian"] {
  --navy-950: #050506; --navy-900: #0b0c10; --navy-850: #0f1015; --navy-800: #15171d; --navy-700: #1e2129;
  --deep: #08090c; --deep-tint: #0f171d; --panel-1: #121419; --panel-2: #1a1e2a;
  --page-bg: #0b0c10; --surface: #13151b; --surface-2: #0f1015; --surface-3: #1c1f27;
  --line: #23262f; --line-strong: #343846;
  --header-glass: rgba(11, 12, 16, .74); --header-glass-solid: rgba(11, 12, 16, .93);
}

/* Deep Ocean: dark teal with aqua accents */
html[data-palette="ocean"] {
  --blue-700: #115e59; --blue-600: #0f766e; --blue-500: #14b8a6; --blue-300: #5eead4; --blue-100: #ccfbf1; --blue-50: #f0fdfa;
  --cyan-400: #38bdf8; --cyan-300: #7dd3fc;
  --accent-rgb: 15, 118, 110; --accent-bright-rgb: 20, 184, 166; --accent-light-rgb: 94, 234, 212;
  --accent2-rgb: 56, 189, 248; --accent2-light-rgb: 125, 211, 252; --accent-mid: #0891b2; --accent2-pale: #cffafe;
  --accent-text: #0f766e; --accent-text-hover: #115e59; --accent-soft: #f0fdfa; --accent-soft-2: #ccfbf1;
  --logo-1: #14b8a6; --logo-2: #38bdf8; --logo-dot: #7dd3fc;
}
html[data-site-theme="dark"][data-palette="ocean"] {
  --navy-950: #041014; --navy-900: #06171c; --navy-850: #081d23; --navy-800: #0b252c; --navy-700: #12343d;
  --deep: #030d10; --deep-tint: #06262b; --panel-1: #082a2f; --panel-2: #0c3a40;
  --page-bg: #06171c; --surface: #0b2228; --surface-2: #081c21; --surface-3: #11303a;
  --line: #163842; --line-strong: #22505c;
  --accent-text: #5eead4; --accent-text-hover: #99f6e4; --callout-text: #ccfbf1;
  --accent-soft: rgba(20, 184, 166, .14); --accent-soft-2: rgba(20, 184, 166, .24);
  --header-glass: rgba(6, 23, 28, .74); --header-glass-solid: rgba(6, 23, 28, .93);
}

/* Royal Violet: deep indigo with violet accents */
html[data-palette="royal"] {
  --blue-700: #4c32c4; --blue-600: #5b3fd6; --blue-500: #7c5cff; --blue-300: #c4b5fd; --blue-100: #ede9fe; --blue-50: #f5f3ff;
  --cyan-400: #e879f9; --cyan-300: #f0abfc;
  --accent-rgb: 91, 63, 214; --accent-bright-rgb: 124, 92, 255; --accent-light-rgb: 196, 181, 253;
  --accent2-rgb: 232, 121, 249; --accent2-light-rgb: 240, 171, 252; --accent-mid: #a855f7; --accent2-pale: #fae8ff;
  --accent-text: #5b3fd6; --accent-text-hover: #4c32c4; --accent-soft: #f5f3ff; --accent-soft-2: #ede9fe;
  --logo-1: #7c5cff; --logo-2: #e879f9; --logo-dot: #f0abfc;
}
html[data-site-theme="dark"][data-palette="royal"] {
  --navy-950: #07051a; --navy-900: #0e0b24; --navy-850: #120f2d; --navy-800: #191538; --navy-700: #251f4d;
  --deep: #08061a; --deep-tint: #1d0f33; --panel-1: #16123a; --panel-2: #221a55;
  --page-bg: #0e0b24; --surface: #16132f; --surface-2: #120f29; --surface-3: #211c42;
  --line: #2a2450; --line-strong: #3a3369;
  --accent-text: #c4b5fd; --accent-text-hover: #ddd6fe; --callout-text: #ede9fe;
  --accent-soft: rgba(124, 92, 255, .16); --accent-soft-2: rgba(124, 92, 255, .26);
  --header-glass: rgba(14, 11, 36, .74); --header-glass-solid: rgba(14, 11, 36, .93);
}

/* ==========================================================================
   Premium layer: light, depth and motion
   Everything here is built from the palette tokens, so it follows the color
   palette and custom accent chosen in Admin → Appearance, in both themes.
   ========================================================================== */
@property --spot { syntax: "<number>"; inherits: true; initial-value: 0; }

::selection { background: rgba(var(--accent-bright-rgb), .35); color: inherit; }
html { scrollbar-color: var(--line-strong) var(--page-bg); }

/* Aurora: slow drifting light behind the hero and page headers */
.aurora { position: absolute; inset: -20% -10%; overflow: hidden; pointer-events: none; opacity: .9; contain: strict; }
.aurora i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 46%; aspect-ratio: 1; left: 48%; top: 4%; background: radial-gradient(circle closest-side, rgba(var(--accent-bright-rgb), .5), rgba(var(--accent-bright-rgb), .18) 45%, transparent); animation: aurora-a 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 38%; aspect-ratio: 1; left: 70%; top: 46%; background: radial-gradient(circle closest-side, rgba(var(--accent2-rgb), .34), rgba(var(--accent2-rgb), .12) 45%, transparent); animation: aurora-b 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 34%; aspect-ratio: 1; left: 8%; top: 58%; background: radial-gradient(circle closest-side, rgba(var(--accent-rgb), .28), rgba(var(--accent-rgb), .1) 45%, transparent); animation: aurora-c 30s ease-in-out infinite alternate; }
@keyframes aurora-a { to { transform: translate(-14%, 10%) scale(1.12); } }
@keyframes aurora-b { to { transform: translate(-22%, -16%) scale(.9); } }
@keyframes aurora-c { to { transform: translate(18%, -12%) scale(1.15); } }

.page-hero__bg::before {
  content: ""; position: absolute; width: 520px; max-width: 70%; aspect-ratio: 1; right: 4%; top: -30%;
  border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle closest-side, rgba(var(--accent-bright-rgb), .4), rgba(var(--accent2-rgb), .12) 55%, transparent);
  animation: aurora-a 24s ease-in-out infinite alternate;
}

/* Hero */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 136px); }
.hero__eyebrow, .page-hero .eyebrow {
  gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(var(--accent2-light-rgb), .25);
  background: linear-gradient(90deg, rgba(var(--accent2-rgb), .12), rgba(var(--accent-rgb), .08));
  box-shadow: 0 0 24px rgba(var(--accent2-rgb), .12), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hero__eyebrow::before, .page-hero .eyebrow::before {
  width: 8px; height: 8px; border-radius: 50%; opacity: 1;
  background: var(--cyan-300); box-shadow: 0 0 0 0 rgba(var(--accent2-light-rgb), .6);
  animation: pulse-dot 2.4s ease-out infinite;
}
.page-hero--center .eyebrow { display: inline-flex; }
.page-hero__h1 .eyebrow { display: inline-flex; width: max-content; max-width: 100%; margin-bottom: 18px; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(var(--accent2-light-rgb), .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(var(--accent2-light-rgb), 0); } }
.hero__title { font-size: clamp(2.7rem, 1.6rem + 4.8vw, 5rem); letter-spacing: -.04em; text-shadow: 0 2px 40px rgba(var(--accent-rgb), .25); }
.hero__title .text-gradient, .text-gradient {
  background: linear-gradient(100deg, var(--blue-300) 0%, var(--cyan-300) 35%, var(--accent2-pale) 50%, var(--cyan-300) 65%, var(--blue-300) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer-text 9s linear infinite;
  text-shadow: none;
}
@keyframes shimmer-text { from { background-position: 0% 0; } to { background-position: -220% 0; } }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(var(--accent-bright-rgb), .45), rgba(var(--accent2-rgb), .14) 60%, transparent);
  opacity: .85;
}
.media-frame--hero {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--navy-800), var(--navy-700)) padding-box,
    linear-gradient(140deg, rgba(var(--accent-light-rgb), .55), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .04) 60%, rgba(var(--accent2-light-rgb), .5)) border-box;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02);
}
.float-card {
  border-color: rgba(var(--accent-light-rgb), .22);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)), rgba(10, 16, 30, .86);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: float-y 7s ease-in-out infinite;
}
.float-card--mid { animation-delay: -2.3s; }
.float-card--bottom { animation-delay: -4.6s; }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.float-card__bar span { background-size: 200% 100%; background-image: linear-gradient(90deg, var(--blue-500), var(--cyan-400), var(--blue-500)); animation: shimmer-text 4s linear infinite; }

/* Buttons: richer primary with a light sweep */
.btn-primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%), linear-gradient(110deg, var(--blue-600), var(--blue-700));
  border-color: rgba(var(--accent-light-rgb), .35);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 12px 32px rgba(var(--accent-bright-rgb), .45), 0 0 0 4px rgba(var(--accent-bright-rgb), .12); }
.btn-outline-light:hover, [data-site-theme="dark"] .btn-ghost:hover { box-shadow: 0 0 0 4px rgba(var(--accent-light-rgb), .08); }

/* Section headings and eyebrows */
[data-site-theme="dark"] .section-title,
[data-site-theme="dark"] .cta-band__title {
  background: linear-gradient(180deg, #fff 20%, rgba(var(--accent-light-rgb), .92) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-header--center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }

/* Glow divider between stacked sections */
.section + .section::before, .ticker + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(880px, 90%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--accent-light-rgb), .35), transparent);
}
.section--muted + .section::before, .section + .section--muted::before { display: none; }

/* Cards: gradient edge, lift and a spotlight that follows the pointer */
.service-card, .feature-card, .guide-card, .post-card, .detail-card {
  --mx: 50%; --my: 0%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), --spot .35s var(--ease);
}
[data-site-theme="dark"] .service-card,
[data-site-theme="dark"] .guide-card,
[data-site-theme="dark"] .detail-card,
[data-site-theme="dark"] .post-card {
  border-color: transparent;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--accent-bright-rgb), calc(var(--spot) * .16)), transparent 60%) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(160deg, rgba(var(--accent-light-rgb), calc(.16 + var(--spot) * .4)), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .04) 70%, rgba(var(--accent2-light-rgb), calc(.08 + var(--spot) * .35))) border-box;
}
.service-card:hover, .feature-card:hover, .guide-card:hover, .post-card:hover, .detail-card:hover { --spot: 1; }
[data-site-theme="dark"] .service-card:hover,
[data-site-theme="dark"] .guide-card:hover,
[data-site-theme="dark"] .post-card:hover,
[data-site-theme="dark"] .detail-card:hover {
  border-color: transparent; transform: translateY(-6px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 50px -12px rgba(var(--accent-bright-rgb), .45);
}
.feature-card { background-image: radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--accent-bright-rgb), calc(var(--spot) * .14)), transparent 60%); }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-light-rgb), .3); }
.service-card::before { height: 2px; inset: 0 24px auto; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan-300), transparent); }

.service-card__icon, .feature-card__icon, .guide__icon {
  position: relative;
  background: linear-gradient(140deg, rgba(var(--accent-bright-rgb), .28), rgba(var(--accent2-rgb), .14));
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-light-rgb), .28), 0 8px 24px -8px rgba(var(--accent-bright-rgb), .55);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.section--dark .feature-card:not(.feature-card--light) .feature-card__icon { color: var(--cyan-300); }
.service-card:hover .service-card__icon, .feature-card:hover .feature-card__icon, .guide-card:hover .guide__icon {
  background: linear-gradient(140deg, var(--blue-600), var(--accent-mid));
  color: #fff; transform: translateY(-2px) rotate(-4deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 30px -6px rgba(var(--accent-bright-rgb), .7);
}
.service-card__list li::before { border-radius: 50%; background: var(--blue-500); width: 6px; height: 6px; opacity: .9; }
[data-site-theme="dark"] .service-card__list li::before { background: var(--cyan-300); box-shadow: 0 0 8px rgba(var(--accent2-light-rgb), .7); }

/* Trust bar: glass tiles */
[data-site-theme="dark"] .trust { background: linear-gradient(180deg, var(--deep), var(--page-bg)); }
.trust__list a { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); }
.trust__list a:hover { border-color: rgba(var(--accent-light-rgb), .45); box-shadow: 0 10px 30px -10px rgba(var(--accent-bright-rgb), .5); }
.trust__list .icon { color: var(--accent-text); }

/* Capabilities ticker */
.ticker {
  position: relative; display: flex; overflow: hidden; padding-block: 18px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .08), rgba(var(--accent2-rgb), .06));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; flex: none; gap: 14px; padding-right: 14px; margin: 0; list-style: none; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track li {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text-body); font-size: .9rem; font-weight: 550;
}
.ticker__track .icon { color: var(--accent-text); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* CTA band: animated glowing edge */
.cta-band__panel { isolation: isolate; }
[data-site-theme="dark"] .cta-band__panel {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--panel-1), var(--panel-2)) padding-box,
    conic-gradient(from var(--cta-angle, 0deg), rgba(var(--accent-light-rgb), .1), rgba(var(--accent2-light-rgb), .8), rgba(var(--accent-light-rgb), .1) 30%, rgba(var(--accent-light-rgb), .1) 70%, rgba(var(--accent-bright-rgb), .7), rgba(var(--accent-light-rgb), .1)) border-box;
  box-shadow: 0 40px 100px -30px rgba(var(--accent-bright-rgb), .45);
  animation: cta-spin 10s linear infinite;
}
@property --cta-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cta-spin { to { --cta-angle: 360deg; } }
.cta-band__glow::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: 60%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(var(--accent-bright-rgb), .4), rgba(var(--accent-bright-rgb), .12) 50%, transparent);
}

/* FAQ: highlight the open question */
.faq-item { transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item[open] { border-color: rgba(var(--accent-light-rgb), .4); box-shadow: 0 0 0 4px rgba(var(--accent-bright-rgb), .08), 0 18px 40px -20px rgba(var(--accent-bright-rgb), .5); }

/* Media frames: soft gradient edge and a gentle zoom on hover */
.media-frame { box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .55), 0 0 0 1px rgba(var(--accent-light-rgb), .14); }

/* Header: brighter active link and a glowing underline */
.primary-nav__link[aria-current="page"] { color: var(--text); }
.primary-nav__link { position: relative; }
.primary-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-300));
  box-shadow: 0 0 10px rgba(var(--accent2-light-rgb), .7);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.primary-nav__link:hover::after, .primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-light-rgb), .35), rgba(var(--accent2-light-rgb), .35), transparent);
}

/* Footer: glow line and a large faded wordmark */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 92%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--accent-light-rgb), .5), rgba(var(--accent2-light-rgb), .5), transparent);
}
.site-footer::after {
  content: "ENOMA"; position: absolute; z-index: -1; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font: 800 clamp(6rem, 22vw, 20rem)/1 var(--font-display); letter-spacing: -.04em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(var(--accent-light-rgb), .09), transparent 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none;
}
.social a:hover { border-color: rgba(var(--accent-light-rgb), .5); text-decoration: none; }

/* ---------- Shorter, calmer homepage ---------- */
.page-home { --section-y: clamp(56px, 7vw, 88px); }
@media (min-width: 640px) { .service-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .service-grid--home { grid-template-columns: repeat(3, 1fr); } }
.page-home .assistant__log { height: 230px; }
@media (min-width: 1024px) { .page-home .assistant__log { height: 250px; } }

/* Phones: two cards per row and less text, so the homepage stays short */
@media (max-width: 639px) {
  .service-grid--home { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-grid--home .service-card { padding: 18px 16px; }
  .service-grid--home .service-card__text { display: none; }
  .service-grid--home .service-card__title { font-size: 1.02rem; }
  .service-grid--home .service-card__link { font-size: .85rem; margin-top: 12px; }
  .page-home .why__grid, .page-home .process__steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-home .why__grid .feature-card, .page-home .process-step { padding: 18px 16px; }
  .page-home .why__grid .feature-card__text, .page-home .process-step__text { font-size: .84rem; }
  .page-home .assist__panel:first-child { display: none; } /* the service finder is easier to tap on a phone */
}

/* Founder card without a photo: a monogram instead of an empty box */
.founder-card__monogram {
  font: 800 clamp(4.5rem, 3rem + 6vw, 7.5rem)/1 var(--font-display, Manrope, sans-serif); letter-spacing: -.04em;
  background: linear-gradient(135deg, #fff 10%, var(--cyan-300) 55%, var(--blue-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(var(--accent-bright-rgb), .45));
}
.founder-card__monogram-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 6px 12px; border-radius: 99px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-300);
  background: rgba(var(--accent2-rgb), .12); border: 1px solid rgba(var(--accent2-light-rgb), .3);
}
.founder-card__photo--empty:has(.founder-card__monogram) {
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(var(--accent-bright-rgb), .35), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #0f1d38, #081022);
  border-style: solid; border-color: rgba(var(--accent-light-rgb), .25);
}

/* ---------- Order form on product pages ---------- */
.order-card {
  margin: 40px 0; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--accent-light-rgb), .28);
  background: radial-gradient(80% 60% at 100% 0%, rgba(var(--accent-bright-rgb), .16), transparent 70%), var(--surface);
  box-shadow: 0 30px 70px -30px rgba(var(--accent-bright-rgb), .55), 0 0 0 1px rgba(var(--accent2-light-rgb), .06);
  scroll-margin-top: 100px;
}
.order-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.order-card__head h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin: 0 0 6px; }
.order-card__head p { margin: 0; color: var(--text-muted); }
.order-card__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--cyan-300); background: rgba(var(--accent2-rgb), .14); box-shadow: 0 0 24px -6px rgba(var(--accent2-light-rgb), .7); }
.order-card .form { scroll-margin-top: 110px; }

/* ---------- Client feedback: star ratings and the review form ---------- */
.testimonial-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stars { display: inline-flex; gap: 2px; font-size: 1.05rem; line-height: 1; }
.star { color: var(--line-strong); }
.star--on { color: #fbbf24; text-shadow: 0 0 12px rgba(251, 191, 36, .35); }
.testimonial-cta { margin-top: 28px; text-align: center; color: var(--text-soft); }
.testimonial-cta a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.rating-input { border: 0; padding: 0; margin: 0 0 20px; }
.rating-input legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.rating-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input__stars label { cursor: pointer; font-size: 2rem; line-height: 1; color: var(--line-strong); transition: color .15s, transform .15s; }
.rating-input__stars label:hover, .rating-input__stars label:hover ~ label,
.rating-input__stars input:checked ~ label { color: #fbbf24; }
.rating-input__stars label:hover { transform: scale(1.12); }
.rating-input__stars input:focus-visible + label { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent-mid); }

/* Ambient animations pause while their section is off screen (set by main.js) */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* Calm everything down for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .page-hero__bg::before, .float-card, .float-card__bar span, .text-gradient, .hero__title .text-gradient,
  .hero__eyebrow::before, .page-hero .eyebrow::before, [data-site-theme="dark"] .cta-band__panel { animation: none; }
  .ticker { mask-image: none; -webkit-mask-image: none; padding-inline: var(--gutter); }
  .ticker__track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 10px; padding-right: 0; animation: none; }
  .ticker__track[aria-hidden="true"] { display: none; }
  .btn-primary::after { display: none; }
}

/* Direct contact (Contact, Quote and Consultation pages) */
.direct-contact { display: grid; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.direct-contact__link { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.direct-contact__link:hover { color: var(--accent-text); }
.direct-contact__kind { display: block; color: var(--text-soft); font-size: .78rem; font-weight: 500; }

/* Photo credits page */
.credits__list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.credits__item { display: flex; gap: 16px; align-items: center; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.credits__item img { width: 96px; height: 64px; flex: none; object-fit: cover; border-radius: 8px; }
.credits__item span { min-width: 0; overflow-wrap: anywhere; font-size: .95rem; }
.site-footer .site-footer__credits { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Courses & Tools (shop)
   ========================================================================== */
.product-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { --spot: 1; transform: translateY(-6px); border-color: rgba(var(--accent-light-rgb), .4); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), 0 0 50px -14px rgba(var(--accent-bright-rgb), .45); }
.product-card:focus-within { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.product-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--panel-1), var(--panel-2)); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__art { display: grid; place-items: center; height: 100%; color: var(--cyan-300);
  background: radial-gradient(60% 70% at 70% 20%, rgba(var(--accent-bright-rgb), .45), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(var(--accent2-rgb), .25), transparent 70%); }
.product-card__art .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.product-card__type { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(7, 13, 25, .78); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card__draft { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 6px 10px; border-radius: 8px; background: var(--warning-bg); color: var(--warning); font-size: .8rem; font-weight: 650; }
.product-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.product-card__title { font-size: 1.2rem; line-height: 1.3; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; }
.product-card__title a:focus-visible { outline: none; }
.product-card__summary { margin: 0; color: var(--text-muted); font-size: .95rem; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card__price { font: 800 1.35rem/1 var(--font-display); color: var(--text); }
.product-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 650; font-size: .9rem; }
[data-site-theme="dark"] .product-card { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--surface); }

.shop-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--text-muted); font-size: .92rem; }
.shop-empty { display: grid; justify-items: center; gap: 16px; max-width: 560px; margin: 0 auto; padding: clamp(32px, 6vw, 56px) 24px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-xl); color: var(--text-muted); }
.shop-empty p { margin: 0; font-size: 1.05rem; }
.shop-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; color: var(--accent-text);
  background: linear-gradient(140deg, rgba(var(--accent-bright-rgb), .25), rgba(var(--accent2-rgb), .12)); }

.product-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.product-hero__inner { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .product-hero__inner { grid-template-columns: 1fr 400px; gap: 56px; } }
.product-hero__text { min-width: 0; }
.buy-box { overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgba(var(--accent-light-rgb), .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(10, 16, 30, .82); color: #cdd7e6;
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(var(--accent-bright-rgb), .45); }
.buy-box__media { aspect-ratio: 16 / 10; overflow: hidden; }
.buy-box__media img { width: 100%; height: 100%; object-fit: cover; }
.buy-box__body { display: grid; gap: 12px; padding: 24px; }
.buy-box__price { margin: 0; color: #fff; font: 800 2.4rem/1 var(--font-display); letter-spacing: -.02em; }
.buy-box__note, .buy-box__secure, .buy-box__format { margin: 0; font-size: .9rem; color: #a9b6ca; display: flex; align-items: center; gap: 8px; }
.buy-box__button { width: 100%; }
.product-page { padding-block: clamp(40px, 6vw, 72px) var(--section-y); }
.product-includes { margin-bottom: 32px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.product-includes h2 { font-size: 1.3rem; }
.product-includes .check-list .icon { color: var(--accent-text); flex: none; margin-top: 2px; }
.product-page__description { margin-bottom: 40px; }

/* ==========================================================================
   About: founder story and CV
   ========================================================================== */
.founder-story .section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: 16px; }
.founder-story__text { margin-bottom: 40px; font-size: 1.08rem; }
.founder-story__text:last-child { margin-bottom: 0; }
.founder-quote { margin: 0 0 44px; padding: 28px 32px; border-radius: var(--radius-xl); position: relative; overflow: hidden;
  border: 1px solid rgba(var(--accent-light-rgb), .25);
  background: radial-gradient(60% 120% at 0% 0%, rgba(var(--accent-bright-rgb), .18), transparent 70%), var(--surface); }
.founder-quote blockquote { margin: 0; }
.founder-quote blockquote p { margin: 0; font: 600 clamp(1.25rem, 1rem + 1vw, 1.6rem)/1.45 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.founder-quote blockquote p::before { content: "“"; color: var(--accent-text); }
.founder-quote blockquote p::after { content: "”"; color: var(--accent-text); }
.founder-quote figcaption { margin-top: 12px; color: var(--text-muted); font-weight: 600; }
.founder-quote figcaption::before { content: "— "; }

.cv { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .cv { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; } }
.cv__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.15rem; }
.cv__heading .icon { color: var(--accent-text); }
.timeline { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-500), rgba(var(--accent2-light-rgb), .4), transparent); }
.timeline__item { position: relative; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.timeline__item::before { content: ""; position: absolute; left: -26px; top: 26px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--page-bg); border: 3px solid var(--cyan-300); box-shadow: 0 0 12px rgba(var(--accent2-light-rgb), .6); }
.timeline__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.timeline__role { font-size: 1.1rem; }
.timeline__period { color: var(--accent-text); font-size: .85rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.timeline__org { margin: 4px 0 0; color: var(--text-muted); font-weight: 600; }
.timeline__summary { margin: 10px 0 0; color: var(--text-body); }
.timeline__highlights { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 18px; color: var(--text-body); }
.cv__side { display: grid; gap: 20px; }
.cv__block { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cv__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cv__list li { display: grid; gap: 2px; }
.cv__list span { color: var(--text-muted); font-size: .92rem; }
.cv__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cv__chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--accent-soft); color: var(--text-body); font-size: .88rem; font-weight: 550; }
[data-site-theme="dark"] .timeline__item, [data-site-theme="dark"] .cv__block { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), var(--surface); }

/* ---------- Premium shop: perks strip, tabs, glowing cards, coming soon ---------- */
.shop-perks { position: relative; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--accent-bright-rgb), .06), transparent); }
.shop-perks__inner { display: grid; gap: 14px; padding-block: 22px; }
@media (min-width: 700px) { .shop-perks__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .shop-perks__inner { grid-template-columns: repeat(4, 1fr); } }
.shop-perk { display: flex; align-items: center; gap: 12px; }
.shop-perk strong { display: block; font-size: .95rem; color: var(--text); }
.shop-perk small { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.4; }
.shop-perk__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--cyan-300);
  background: rgba(var(--accent2-rgb), .12); border: 1px solid rgba(var(--accent2-light-rgb), .25); box-shadow: 0 0 22px -6px rgba(var(--accent2-light-rgb), .6); }

.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.shop-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted); font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .2s var(--ease); }
.shop-tabs a span { padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-size: .78rem; }
.shop-tabs a:hover { border-color: rgba(var(--accent2-light-rgb), .45); color: var(--text); }
.shop-tabs a[aria-current="page"] { color: #fff; border-color: transparent; background: linear-gradient(110deg, var(--blue-600), var(--blue-700)); box-shadow: 0 8px 24px -8px rgba(var(--accent-bright-rgb), .7); }

/* Product cards: gradient edge, type-coloured art, featured ribbon */
.product-card { position: relative; isolation: isolate; }
.product-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .55; transition: opacity .3s var(--ease);
  background: linear-gradient(150deg, rgba(var(--accent-light-rgb), .6), transparent 35%, transparent 65%, rgba(var(--accent2-light-rgb), .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.product-card:hover::before, .product-card--featured::before { opacity: 1; }
.product-card__art {
  position: relative;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(var(--accent-bright-rgb), .45), transparent 70%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(140deg, #0e1c38, #08101f);
}
.product-card--software .product-card__art { background-color: #08101f; background-image: radial-gradient(60% 70% at 50% 45%, rgba(103, 232, 249, .42), transparent 70%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(140deg, #082733, #06131c); background-size: auto, 26px 26px, 26px 26px, auto; }
.product-card--template .product-card__art, .product-card--guide .product-card__art { background-image: radial-gradient(60% 70% at 50% 45%, rgba(129, 140, 248, .45), transparent 70%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(140deg, #1a1740, #0b0a1f); background-size: auto, 26px 26px, 26px 26px, auto; }
.product-card__art-ring {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 40px -6px rgba(var(--accent2-light-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .5s var(--ease);
}
.product-card__art-ring .icon { width: 44px; height: 44px; }
.product-card:hover .product-card__art-ring { transform: translateY(-4px) rotate(-4deg) scale(1.05); }
.product-card__type { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.product-card__featured {
  position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: #1c1300;
  background: linear-gradient(110deg, #fde68a, #fbbf24); box-shadow: 0 6px 18px -4px rgba(251, 191, 36, .6);
}
.product-card__format { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .84rem; color: var(--text-muted); }
.product-card__format .icon { color: #4ade80; }
.product-card__price { background: linear-gradient(100deg, #fff, var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-card__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--accent-bright-rgb), .16); transition: transform .3s var(--ease), background .3s var(--ease); }
.product-card:hover .product-card__arrow { transform: translateX(3px); background: var(--blue-600); color: #fff; }

/* Coming soon (no products yet) */
.shop-soon { text-align: center; display: grid; justify-items: center; gap: 18px; padding: clamp(28px, 5vw, 48px) 0; }
.shop-soon__text { max-width: 620px; margin: 0; color: var(--text-muted); font-size: 1.05rem; }
.shop-soon__grid { display: grid; gap: 16px; width: 100%; margin: 10px 0 8px; }
@media (min-width: 800px) { .shop-soon__grid { grid-template-columns: repeat(3, 1fr); } }
.shop-soon__tile { padding: 28px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: left;
  background: radial-gradient(80% 60% at 0% 0%, rgba(var(--accent-bright-rgb), .14), transparent 70%), var(--surface); }
.shop-soon__tile h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.shop-soon__tile p { margin: 0; color: var(--text-muted); font-size: .94rem; }
.shop-soon__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--cyan-300);
  background: rgba(var(--accent2-rgb), .12); border: 1px solid rgba(var(--accent2-light-rgb), .25); box-shadow: 0 0 26px -6px rgba(var(--accent2-light-rgb), .6); }

/* Product page */
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.product-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .86rem; color: #cfe0f5;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.product-chips .icon { color: var(--cyan-300); }
.buy-box { position: relative; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 60px -16px rgba(var(--accent-bright-rgb), .55); }
.buy-box::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--hero-angle), transparent 0 55%, rgba(var(--accent2-light-rgb), .9) 70%, rgba(var(--accent-light-rgb), .8) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.buy-box__price { background: linear-gradient(100deg, #fff 30%, var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(103, 232, 249, .3)); }
.buy-box__list { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; }
.buy-box__list li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: #d6e2f5; }
.buy-box__list .icon { color: #4ade80; margin-top: 3px; flex: none; }
.buy-box__trust { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.buy-box__trust span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: .76rem; color: #bcd0ea; background: rgba(255, 255, 255, .05); }
.buy-box__trust .icon { color: var(--cyan-300); }
.includes-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .includes-grid { grid-template-columns: repeat(2, 1fr); } }
.includes-grid li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); font-weight: 550; }
.includes-grid__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #4ade80;
  background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .25); box-shadow: 0 0 18px -6px rgba(74, 222, 128, .6); }
.buy-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
@media (min-width: 700px) { .buy-steps { grid-template-columns: repeat(3, 1fr); } }
.buy-steps li { position: relative; display: grid; gap: 2px; padding: 18px 18px 18px 64px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.buy-steps strong { font-size: .98rem; }
.buy-steps small { color: var(--text-muted); font-size: .84rem; }
.buy-steps__num { position: absolute; left: 16px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 800 .95rem/1 var(--font-display); color: #fff; background: linear-gradient(140deg, var(--blue-500), var(--blue-700)); box-shadow: 0 0 20px -4px rgba(var(--accent-bright-rgb), .8); }
.buy-steps + .order-card { margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .buy-box::before { animation: hero-border-spin 6s linear infinite; }
}

/* ==========================================================================
   Calm, human finish
   Fewer effects, more substance: no glowing rays, sparkles, shimmer or spinning
   borders. Plain accents, quiet shadows and left-aligned headings.
   ========================================================================== */
.aurora, .hero__grid, .hero__glow, .hero__ring, .float-card, .site-footer::after { display: none !important; }
.hero__bg::before, .page-hero__bg::before { opacity: .45; animation: none !important; }

/* Hero */
.hero--calm { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 104px); }
.hero__kicker { margin: 0 0 18px; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: #9fb3cf; }
.hero__title { text-shadow: none; letter-spacing: -.03em; }
.hero__accent { color: var(--cyan-300); }
.hero__creds { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: #c3d0e2; }
.hero__creds li { display: inline-flex; align-items: center; gap: 8px; }
.hero__creds .icon { color: #4ade80; }
.hero__visual--calm { margin: 0; }
.hero__visual--calm::before, .hero__visual--calm::after { display: none; }
.hero__visual--calm .media-frame--hero { aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, .1); background: #0d1729; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.hero__visual--calm .media-frame--hero::before { background: none; }
.hero__caption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; font-size: .92rem; color: #9fb3cf; }
.hero__caption strong { color: #fff; font-weight: 650; }

/* Text and headings: no gradient or glow */
.text-gradient, .hero__title .text-gradient { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: var(--cyan-300) !important; animation: none !important; filter: none !important; }
[data-site-theme="dark"] .section-title, [data-site-theme="dark"] .cta-band__title { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); }
.eyebrow { letter-spacing: .08em; }
.eyebrow::before, .eyebrow::after, .section-header--center .eyebrow::after { display: none !important; }
.hero__eyebrow, .page-hero .eyebrow { padding: 0; border: 0; background: none; box-shadow: none; }

/* Buttons: solid, no light sweep or glow */
.btn-primary { background: var(--blue-600); box-shadow: none; animation: none !important; }
.btn-primary::after { display: none; }
.btn-primary:hover { background: var(--blue-700); box-shadow: none; }

/* Cards: quiet borders, small lift, no spotlight or glow */
.service-card, .feature-card, .guide-card, .post-card, .detail-card, .product-card, .process-step, .testimonial-card { background-image: none !important; }
.service-card:hover, .feature-card:hover, .process-step:hover, .product-card:hover, .testimonial-card:hover, .detail-card:hover, .post-card:hover, .guide-card:hover {
  border-color: var(--line-strong); box-shadow: 0 14px 32px -20px rgba(0, 0, 0, .7); transform: translateY(-2px);
}
.service-card::before, .product-card::before { display: none; }
.service-card__icon, .feature-card__icon, .process-step__icon, .guide__icon, .shop-perk__icon, .shop-soon__icon, .order-card__icon, .includes-grid__icon { box-shadow: none !important; }
[data-site-theme="dark"] .service-card__list li::before { box-shadow: none; }

/* Section dividers and bands */
.section + .section::before, .ticker + .section::before { background: var(--line); box-shadow: none; width: min(1200px, 92%); }
[data-site-theme="dark"] .cta-band__panel { animation: none !important; box-shadow: none; }
.cta-band__glow { display: none; }
.faq-item[open] { box-shadow: none; }
.media-frame { box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); }
.site-header::after { opacity: .4; }

/* Shop: keep it tidy */
.buy-box { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.buy-box::before { display: none; }
.buy-box__price, .product-card__price { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; filter: none; }
.product-card__art-ring { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.order-card, .shop-tabs a[aria-current="page"] { box-shadow: none; }
.founder-card__monogram { filter: none; }
.star--on { text-shadow: none; }
.hero--calm .hero__title { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 3.9rem); line-height: 1.06; }
@media (min-width: 1024px) { .hero--calm .hero__inner { grid-template-columns: 1.1fr .9fr; align-items: center; } }

/* ---------- Real photos on the homepage ---------- */
.service-card--photo { padding-top: 0; overflow: hidden; }
.service-card__photo { aspect-ratio: 16 / 10; margin: 0 -22px 0; border-radius: 0; box-shadow: none; }
.service-card--photo:not(.service-card--compact) .service-card__photo { margin: 0 -28px; }
.service-card__photo img { transition: transform .6s var(--ease); }
.service-card--photo:hover .service-card__photo img { transform: scale(1.04); }
.service-card--photo .service-card__icon { position: relative; z-index: 1; margin-top: -22px; border: 3px solid var(--surface); background-color: var(--surface-2); }
.why__inner--photo { align-items: center; }
@media (min-width: 1024px) { .why__inner--photo { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.why__media .media-frame--tall { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .why__media .media-frame--tall { aspect-ratio: 16 / 10; } }
.why__grid--list { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 639px) { .why__grid--list { grid-template-columns: 1fr; } }
.why__more { margin: 26px 0 0; }
@media (max-width: 639px) {
  .service-grid--home .service-card--photo { padding: 0 14px 16px; }
  .service-grid--home .service-card__photo { margin: 0 -14px; }
  .service-grid--home .service-card--photo .service-card__icon { width: 34px; height: 34px; margin-top: -17px; }
}

/* ==========================================================================
   Freelancer status: top bar and hero badge
   ========================================================================== */
.status-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: status-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes status-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status-dot::after { animation: none; } }

.freelance-bar { position: relative; z-index: 101; background: linear-gradient(90deg, #071a14, #0a1a33 55%, #071a14); border-bottom: 1px solid rgba(74, 222, 128, .18); color: #d9e6f5; font-size: .86rem; }
.freelance-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; text-align: center; }
.freelance-bar__text { margin: 0; }
.freelance-bar__text strong { color: #bbf7d0; font-weight: 650; }
.freelance-bar__more { color: #a9bad0; }
.freelance-bar__link { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 12px; border-radius: 999px; font-weight: 650; color: #fff; text-decoration: none; background: rgba(34, 197, 94, .16); border: 1px solid rgba(74, 222, 128, .4); transition: background .2s var(--ease); }
.freelance-bar__link:hover, .freelance-bar__link:focus-visible { background: rgba(34, 197, 94, .3); color: #fff; }
@media (max-width: 760px) { .freelance-bar__more { display: none; } .freelance-bar__inner { justify-content: space-between; gap: 8px; text-align: left; } }
@media (max-width: 420px) { .freelance-bar { font-size: .76rem; } .freelance-bar__link { padding: 3px 10px; } }

.hero__status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: .88rem; font-weight: 650; color: #bbf7d0; text-decoration: none;
  background: rgba(34, 197, 94, .1); border: 1px solid rgba(74, 222, 128, .35); transition: background .2s var(--ease), border-color .2s var(--ease); }
.hero__status:hover, .hero__status:focus-visible { color: #dcfce7; background: rgba(34, 197, 94, .18); border-color: rgba(74, 222, 128, .6); }
.hero__status + .hero__kicker { margin-top: 0; }

/* ==========================================================================
   Homepage slider
   ========================================================================== */
.showcase { position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 20%, rgba(var(--accent-rgb, 37, 99, 235), .14), transparent 70%), radial-gradient(40% 50% at 5% 90%, rgba(34, 195, 230, .08), transparent 70%); }
.showcase .container { position: relative; }
.showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.showcase__head .section-header { margin-bottom: 0; }
.showcase__arrows { display: none; gap: 10px; flex: none; }
.showcase__arrow { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.showcase__arrow:hover, .showcase__arrow:focus-visible { color: #fff; background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-1px); }
.showcase__arrow .icon { width: 20px; height: 20px; }
@media (min-width: 760px) { .showcase__arrows { display: flex; } }

.showcase__viewport { overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--surface-2); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .65); }
.showcase__track { display: grid; touch-action: pan-y; }
.showcase__slide { position: relative; grid-area: 1 / 1; display: grid; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s; }
.showcase__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.showcase__media { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }
.showcase__media::after { box-shadow: none; background: linear-gradient(180deg, transparent 55%, rgba(6, 11, 22, .35)); }
.showcase__media img { transform: scale(1.1); transition: transform 7s ease-out; }
.showcase__slide.is-active .showcase__media img { transform: scale(1); }
.showcase__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(26px, 4vw, 56px); }
.showcase__body > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.showcase__slide.is-active .showcase__body > * { opacity: 1; transform: none; }
.showcase__slide.is-active .showcase__body > :nth-child(2) { transition-delay: .12s; }
.showcase__slide.is-active .showcase__body > :nth-child(3) { transition-delay: .22s; }
.showcase__slide.is-active .showcase__body > :nth-child(4) { transition-delay: .32s; }
.showcase__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-300); background: rgba(34, 195, 230, .1); border: 1px solid rgba(34, 195, 230, .28); }
.showcase__title { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.025em; color: var(--text); }
.showcase__text { margin: 0 0 8px; max-width: 46ch; font-size: 1.04rem; line-height: 1.65; color: var(--text-muted, var(--slate-500)); }
.showcase__count { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: #fff;
  background: rgba(6, 11, 22, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (min-width: 900px) {
  .showcase__slide { grid-template-columns: 1.2fr 1fr; min-height: 470px; }
  .showcase__media { aspect-ratio: auto; height: 100%; }
  .showcase__media img { position: absolute; inset: 0; }
  .showcase__media::after { background: linear-gradient(90deg, transparent 60%, rgba(6, 11, 22, .25)); }
}

.showcase__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.showcase__dots { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase__dot { position: relative; width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .35s var(--ease); }
.showcase__dot::before, .showcase__dot span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.showcase__dot::before { background: var(--line-strong); }
.showcase__dot span { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); }
.showcase__dot.is-active { width: 72px; }
.showcase__dot.is-active span { transform: scaleX(1); }
.showcase__slider.is-ready:not(.is-paused) .showcase__dot.is-active span { animation: showcase-progress 6.5s linear both; }
.showcase__slider.is-offscreen .showcase__dot.is-active span { animation-play-state: paused; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.showcase__dot:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.showcase__pause { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); }
.showcase__pause:hover, .showcase__pause:focus-visible { border-color: var(--blue-500); color: var(--blue-500); }
.showcase__pause .icon:last-child, .showcase__slider.is-paused .showcase__pause .icon:first-child { display: none; }
.showcase__slider.is-paused .showcase__pause .icon:last-child { display: block; }

/* Without JavaScript: a swipeable row */
.showcase__slider:not(.is-ready) .showcase__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.showcase__slider:not(.is-ready) .showcase__track { display: flex; }
.showcase__slider:not(.is-ready) .showcase__slide { flex: 0 0 100%; opacity: 1; visibility: visible; scroll-snap-align: start; }
.showcase__slider:not(.is-ready) .showcase__body > * { opacity: 1; transform: none; }
.showcase__slider:not(.is-ready) .showcase__controls, .showcase:not(:has(.is-ready)) .showcase__arrows { display: none; }

@media (prefers-reduced-motion: reduce) {
  .showcase__media img, .showcase__body > * { transition: none; }
  .showcase__media img { transform: none; }
}

/* ==========================================================================
   "I'm a freelancer" section (homepage, under the hero)
   ========================================================================== */
.freelancer { position: relative; }
.freelancer__inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .freelancer__inner { grid-template-columns: 360px 1fr; } }
.freelancer__card { position: relative; display: grid; justify-items: center; gap: 6px; padding: 34px 28px 28px; text-align: center; border-radius: 26px;
  background: linear-gradient(180deg, rgba(34, 197, 94, .08), transparent 45%), var(--surface-2); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7); }
.freelancer__card::before { content: "Freelancer"; position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #bbf7d0; background: rgba(34, 197, 94, .14); border: 1px solid rgba(74, 222, 128, .35); }
.freelancer__avatar { display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 10px; overflow: hidden; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-600), #0e7490); box-shadow: 0 0 0 4px var(--surface-2), 0 0 0 6px rgba(74, 222, 128, .55); }
.freelancer__avatar span { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
.freelancer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.freelancer__name { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.freelancer__role { margin: 0; font-size: .95rem; color: var(--text-soft, var(--text-muted)); }
.freelancer__status { display: inline-flex; align-items: center; gap: 9px; margin: 10px 0 4px; padding: 6px 13px; border-radius: 999px; font-size: .85rem; font-weight: 650;
  color: #bbf7d0; background: rgba(34, 197, 94, .1); border: 1px solid rgba(74, 222, 128, .35); }
.freelancer__facts { display: grid; gap: 8px; width: 100%; margin: 14px 0 0; padding: 16px 0 0; list-style: none; text-align: left; font-size: .92rem; color: var(--text-soft, var(--text-muted)); border-top: 1px solid var(--line); }
.freelancer__facts li { display: flex; align-items: center; gap: 9px; }
.freelancer__facts .icon { flex: none; color: #4ade80; }
.freelancer__ways-title { margin: 26px 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft, var(--text-muted)); }
.freelancer__ways { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
@media (min-width: 700px) { .freelancer__ways { grid-template-columns: repeat(3, 1fr); } }
.freelancer__way { display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.freelancer__way:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-2px); }
.freelancer__way-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px; color: var(--cyan-300); background: rgba(34, 195, 230, .1); border: 1px solid rgba(34, 195, 230, .25); }
.freelancer__way-icon .icon { width: 20px; height: 20px; }
.freelancer__way strong { font-size: 1.02rem; color: var(--text); }
.freelancer__way > span:last-child { font-size: .92rem; line-height: 1.55; color: var(--text-soft, var(--text-muted)); }
@media (max-width: 959px) { .freelancer__card { order: 2; } }

/* ==========================================================================
   Homepage: tighter rhythm (less empty space between sections)
   ========================================================================== */
.page-home { --section-y: clamp(44px, 5.5vw, 76px); }
.page-home .hero--calm { padding-block: clamp(36px, 5vw, 72px) clamp(44px, 5.5vw, 76px); }
.page-home .hero__creds { margin-top: 26px; padding-top: 18px; }
.page-home .section-header { margin-bottom: clamp(24px, 3vw, 36px); }
.page-home .section-header--left { margin-bottom: 22px; }
.page-home .section-lead { margin-top: 12px; }
.page-home .freelancer + .section { padding-top: 0; }
.page-home .freelancer__ways-title { margin-top: 18px; }
.page-home .freelancer__ways { margin-bottom: 22px; }
.page-home .showcase__head { margin-bottom: 22px; }
.page-home .showcase__controls { margin-top: 16px; }
.page-home .showcase + .cta-band { padding-top: 0; }
@media (min-width: 900px) { .page-home .showcase__slide { min-height: 420px; } }

/* Your own photo: keep faces in frame (a focus point set in Media library wins) */
img.founder-photo { object-position: 50% 22%; }
