/* Insightle — public site */
:root {
  --bg: #f3f6f8;
  --bg-elev: #ffffff;
  --ink: #0b1f33;
  --ink-soft: #3d5166;
  --muted: #5f7388;
  --line: rgba(11, 31, 51, 0.12);
  --accent: #0f766e;
  --accent-2: #0a4f6e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --hero-a: #062033;
  --hero-b: #0a4a5c;
  --hero-c: #0f766e;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.08);
  --radius: 14px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 72px;
  --focus: 0 0 0 3px rgba(15, 118, 110, 0.45);
  --max: 1120px;
}

[data-theme="dark"] {
  --bg: #071018;
  --bg-elev: #0e1a26;
  --ink: #e8eef4;
  --ink-soft: #c2d0dc;
  --muted: #91a4b5;
  --line: rgba(232, 238, 244, 0.12);
  --accent: #2dd4bf;
  --accent-2: #5ec8e8;
  --accent-soft: rgba(45, 212, 191, 0.14);
  --hero-a: #02080e;
  --hero-b: #063445;
  --hero-c: #0f766e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --focus: 0 0 0 3px rgba(45, 212, 191, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 118, 110, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(10, 79, 110, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.preview-banner {
  background: #b54708; color: #fff; text-align: center; font-weight: 700;
  font-size: .88rem; padding: .55rem 1rem; position: sticky; top: 0; z-index: 60;
}
.preview-banner {
  background: #b54708; color: #fff; text-align: center; font-weight: 700;
  font-size: .88rem; padding: .55rem 1rem; position: sticky; top: 0; z-index: 60;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-logo { height: 40px; width: auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background:
    linear-gradient(135deg, var(--hero-c), var(--accent-2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px 7px 8px 14px;
  border-right: 2px solid #fff; border-bottom: 2px solid rgba(255,255,255,.7);
  transform: skewX(-18deg);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em;
}

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.primary-nav a {
  display: block; padding: .55rem .8rem; text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: .95rem; border-radius: 999px;
}
.primary-nav a:hover, .primary-nav a.is-active {
  color: var(--ink); background: var(--accent-soft);
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle, .admin-menu-btn {
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--ink);
  border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle { width: 42px; height: 42px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}

.admin-menu { position: relative; }
.admin-menu-btn {
  gap: .4rem; padding: .45rem .85rem; font: inherit; font-weight: 600;
}
.admin-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.admin-name { font-size: .9rem; }
.admin-dropdown {
  position: absolute; right: 0; top: calc(100% + .4rem);
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px;
  min-width: 180px; box-shadow: var(--shadow); padding: .4rem; z-index: 60;
}
.admin-dropdown[hidden] { display: none; }
.admin-dropdown a {
  display: block; padding: .65rem .8rem; text-decoration: none; color: var(--ink);
  border-radius: 8px; font-weight: 600;
}
.admin-dropdown a:hover { background: var(--accent-soft); }

/* Hero — full-width banner */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #f4fafc;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(2, 8, 14, 0.72) 0%, rgba(6, 32, 51, 0.45) 48%, rgba(15, 118, 110, 0.28) 100%),
    linear-gradient(160deg, var(--hero-a), var(--hero-b) 45%, var(--hero-c));
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 75% 45%, #000 18%, transparent 72%);
  animation: gridDrift 28s linear infinite;
}
.hero-glow {
  position: absolute; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  right: -6%; bottom: -22%;
  background: radial-gradient(circle, rgba(45, 212, 191, .38), transparent 65%);
  animation: glowPulse 8s ease-in-out infinite;
}
.hero-banner {
  width: min(100% - 2.5rem, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.75rem, 7vh, 4.75rem) 0;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  animation: riseIn .8s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: .95;
  margin: 0 0 .7rem; color: #fff;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.7vw, 1.95rem);
  font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .95rem;
  color: rgba(255,255,255,.94);
}
.hero-lead {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  max-width: 36rem; color: rgba(244,250,252,.88); margin: 0 0 1.45rem;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.15rem; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes gridDrift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-56px, -56px, 0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.25rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit;
}
.btn-primary { background: #fff; color: #062033; }
.btn-primary:hover { background: #e8f7f5; color: #062033; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.home-page { --section-space: clamp(3.25rem, 7vw, 5rem); }
.section { padding: var(--section-space, clamp(3.25rem, 7vw, 5rem)) 0; }
.home-page > .section { margin: 0; }
.home-page > .section + .section {
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}
.home-domains {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), var(--bg));
}
.home-domains .section-intro { max-width: 760px; }
.home-cards .section-intro,
.home-blog .section-intro { margin-bottom: 2.25rem; }
.home-content .section-lead { margin-top: .35rem; }
.section h2, .page-hero h1, .blog-single h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 .75rem;
}
.section-lead, .page-excerpt {
  color: var(--muted); font-size: 1.1rem; max-width: 46rem; margin: 0;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem;
}
.section-head a { font-weight: 700; text-decoration: none; }

.skill-rows { display: grid; gap: .85rem; margin-top: 2rem; }
.skill-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: riseIn .7s ease both; animation-delay: calc(var(--i, 0) * 80ms);
}
.skill-row:hover {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow); color: inherit;
}
.skill-index {
  font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.1rem;
}
.skill-title { display: block; font-weight: 700; font-size: 1.15rem; margin-bottom: .2rem; }
.skill-text { color: var(--muted); }
.skill-arrow { font-size: 1.4rem; color: var(--accent); transition: transform .25s ease; }
.skill-row:hover .skill-arrow { transform: translateX(4px); }

.post-list { display: grid; gap: 0; }
.post-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem;
  padding: 1.25rem 0; border-top: 1px solid var(--line);
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row time { color: var(--muted); font-size: .92rem; padding-top: .35rem; }
.post-row h2, .post-row h3 { margin: 0 0 .35rem; font-size: 1.2rem; font-family: var(--font-display); }
.post-row h2 a, .post-row h3 a { color: var(--ink); text-decoration: none; }
.post-row h2 a:hover, .post-row h3 a:hover { color: var(--accent); }
.post-row p { margin: 0; color: var(--muted); }

.page-hero {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 2.75rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.meta-line { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; color: var(--muted); margin: 0 0 .75rem; font-size: .95rem; }

.page-content-section {
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(3.5rem, 6vw, 4.75rem);
}
.content-body { padding-bottom: 4rem; }
.rich-content {
  font-size: 1.06rem; color: var(--ink-soft); line-height: 1.7;
}
.rich-content > *:first-child { margin-top: 0; }
.rich-content p { margin: 0 0 1.15rem; }
.rich-content h2, .rich-content h3, .rich-content h4 {
  color: var(--ink); font-family: var(--font-display); letter-spacing: -0.02em;
  margin: 1.85rem 0 .75rem; line-height: 1.25;
}
.rich-content h2 { font-size: 1.55rem; }
.rich-content h3 { font-size: 1.28rem; }
.rich-content ul, .rich-content ol {
  margin: 0 0 1.25rem; padding-left: 1.35rem; display: grid; gap: .45rem;
}
.rich-content li { padding-left: .15rem; }
.rich-content li > ul, .rich-content li > ol { margin: .45rem 0 0; }
.rich-content blockquote {
  margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-elev)); border-radius: 0 12px 12px 0;
}
.rich-content pre, .rich-content code {
  font-family: ui-monospace, Consolas, monospace; font-size: .92em;
}
.rich-content pre {
  margin: 0 0 1.25rem; padding: 1rem 1.1rem; overflow: auto;
  background: #0b1f33; color: #e8f7f5; border-radius: 12px;
}
.rich-content img {
  display: block; max-width: 100%; height: auto; margin: 1.25rem 0;
  border-radius: 12px; border: 1px solid var(--line);
}
.rich-content a { color: var(--accent); font-weight: 600; }
.rich-content a[rel~="nofollow"] { opacity: .95; }
.rich-content .ql-align-center { text-align: center; }
.rich-content .ql-align-right { text-align: right; }
.rich-content .ql-align-justify { text-align: justify; }
.featured-figure { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.featured-figure img { display: block; width: 100%; height: auto; }
.narrow-block { max-width: 760px; margin-bottom: 2rem; }
.link-more { font-weight: 700; color: var(--accent); }

/* Themed content surfaces */
.themed-hero { position: relative; overflow: hidden; isolation: isolate; }
.themed-hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 280px at 12% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg));
}
.themed-hero-inner { position: relative; }
.themed-content-panel {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.35rem, 3vw, 2rem); box-shadow: 0 12px 36px rgba(11, 31, 51, 0.05);
}
.content-theme-aurora .themed-hero-media {
  background:
    radial-gradient(720px 320px at 80% 10%, rgba(45, 212, 191, .28), transparent 60%),
    linear-gradient(135deg, #062033, #0a4a5c 55%, #0f766e);
}
.content-theme-aurora .page-hero,
.content-theme-aurora.themed-hero { color: #f4fafc; }
.content-theme-aurora .page-hero h1,
.content-theme-aurora .page-excerpt,
.content-theme-aurora .eyebrow,
.content-theme-aurora .meta-line { color: inherit; }
.content-theme-aurora .page-excerpt,
.content-theme-aurora .meta-line { color: rgba(244,250,252,.88); }
.content-theme-aurora .eyebrow { color: #9ef0e4; }

.content-theme-slate .themed-hero-media {
  background:
    radial-gradient(640px 280px at 20% 0%, rgba(96, 165, 250, .28), transparent 65%),
    linear-gradient(145deg, #1e293b, #334155 60%, #0f766e);
}
.content-theme-slate .page-hero,
.content-theme-slate.themed-hero { color: #f8fafc; }
.content-theme-slate .page-excerpt,
.content-theme-slate .meta-line { color: rgba(248,250,252,.86); }
.content-theme-slate .eyebrow { color: #93c5fd; }

.content-theme-ocean .themed-hero-media {
  background:
    radial-gradient(680px 300px at 70% 20%, rgba(34, 211, 238, .3), transparent 60%),
    linear-gradient(150deg, #042f2e, #0e7490 50%, #155e75);
}
.content-theme-ocean .page-hero,
.content-theme-ocean.themed-hero { color: #ecfeff; }
.content-theme-ocean .page-excerpt,
.content-theme-ocean .meta-line { color: rgba(236,254,255,.88); }
.content-theme-ocean .eyebrow { color: #a5f3fc; }

.content-theme-forest .themed-hero-media {
  background:
    radial-gradient(620px 260px at 15% 10%, rgba(74, 222, 128, .25), transparent 60%),
    linear-gradient(140deg, #052e16, #14532d 55%, #0f766e);
}
.content-theme-forest .page-hero,
.content-theme-forest.themed-hero { color: #f0fdf4; }
.content-theme-forest .page-excerpt,
.content-theme-forest .meta-line { color: rgba(240,253,244,.88); }
.content-theme-forest .eyebrow { color: #86efac; }

.content-theme-classic .themed-hero-media {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg));
}

.about-container { max-width: 980px; }
.page-about .about-panel { margin: 0 auto; }
.about-highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem;
}
.about-highlight {
  padding: 1.15rem 1.2rem; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg), color-mix(in srgb, var(--accent) 8%, var(--bg)));
}
.about-highlight span {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .35rem;
}
.about-highlight strong {
  display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .35rem;
}
.about-highlight p { margin: 0; color: var(--muted); font-size: .95rem; }
.about-cta {
  margin-top: 2rem; padding: 1.35rem 1.4rem; border-radius: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(125deg, color-mix(in srgb, var(--accent) 12%, var(--bg-elev)), var(--bg-elev));
  border: 1px solid var(--line);
}
.about-cta h2 { margin: 0 0 .35rem; font-size: 1.25rem; font-family: var(--font-display); }
.about-cta p { margin: 0; color: var(--muted); max-width: 36rem; }

.blog-card-grid-page { grid-template-columns: repeat(3, 1fr); }
.blog-card-pro { padding: 0; display: flex; flex-direction: column; }
.blog-card-media {
  display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1f33;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card-pro:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-media-fallback {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(145deg, #062033, #0f766e),
    radial-gradient(circle at 70% 30%, rgba(45,212,191,.45), transparent 55%);
}
.blog-card-body { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: .45rem; }
.blog-card-body h2 { margin: 0; font-size: 1.2rem; font-family: var(--font-display); }
.blog-card-body h2 a { color: var(--ink); text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--accent); }
.blog-card-body p { margin: 0; color: var(--muted); }
.blog-card-body .card-link { margin-top: .35rem; }

.service-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem;
}
.service-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: riseIn .7s ease both; animation-delay: calc(var(--i, 0) * 70ms);
}
.service-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: inherit;
}
.service-card-image { width: 100%; height: 160px; object-fit: cover; display: block; }
.service-card-icon {
  height: 140px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent-2, #0a4a5c));
  position: relative;
}
.service-card-icon::after {
  content: ""; position: absolute; inset: 42px 38% 42px 28%;
  border-right: 3px solid rgba(255,255,255,.95);
  border-bottom: 3px solid rgba(255,255,255,.7);
  transform: skewX(-18deg);
}
.service-card-body { padding: 1.3rem 1.35rem 1.45rem; display: grid; gap: .55rem; flex: 1; }
.service-card-body h2 { margin: 0; font-size: 1.25rem; font-family: var(--font-display); }
.service-card-body p { margin: 0; color: var(--muted); }
.service-card-body .link-more { margin-top: auto; }

.service-hero .service-hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.service-hero-copy { max-width: 40rem; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.service-hero .btn-primary { background: #fff; color: #062033; }
.service-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.service-hero-card {
  padding: 1.5rem; border-radius: 18px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px); color: #fff;
}
.service-hero-card span {
  display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8;
}
.service-hero-card strong { display: block; font-family: var(--font-display); font-size: 1.4rem; margin: .35rem 0; }
.service-hero-card p { margin: 0; opacity: .88; }
.service-layout {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  gap: 1.5rem; align-items: start;
}
.service-main {
  padding: clamp(1.5rem, 3.2vw, 2.15rem);
}
.service-main .rich-content { max-width: 48rem; }
.service-aside {
  position: sticky; top: calc(var(--header-h) + 1rem);
  display: grid; gap: 1rem;
}
.service-aside-block {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.04);
}
.service-aside h2 {
  margin: 0 0 1rem; font-size: .95rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.service-aside-note { margin: 0 0 1rem; color: var(--muted); font-size: .94rem; }
.service-aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.service-aside-list a {
  display: grid; gap: .25rem; text-decoration: none; color: inherit;
  padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.service-aside-list a:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: inherit;
}
.service-aside-list strong { font-size: .95rem; color: var(--ink); }
.service-aside-list span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: start;
}
.contact-meta { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.contact-meta strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-meta a, .contact-meta span { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-meta a:hover { color: var(--accent); }
.contact-form {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.35rem, 3vw, 1.85rem); box-shadow: 0 12px 36px rgba(11, 31, 51, 0.05);
}
.contact-form-title {
  margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.25rem;
}
.contact-form-lead { margin: 0 0 1.25rem; color: var(--muted); }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .8rem .95rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
.form-field input:focus, .form-field textarea:focus { outline: none; box-shadow: var(--focus); border-color: var(--accent); }
.form-status { min-height: 1.4em; margin: .75rem 0 0; font-weight: 600; }
.form-status.is-error { color: #b42318; }
.form-status.is-success { color: var(--accent); }
.contact-form .btn-primary { background: var(--accent); color: #fff; border: none; width: 100%; }
.contact-form .btn-primary:hover { filter: brightness(1.05); color: #fff; }

.blog-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.75rem; align-items: start;
}
.blog-list-layout .blog-card-grid-page { grid-template-columns: repeat(2, 1fr); }
.sidebar-left .blog-layout { grid-template-columns: 300px minmax(0, 1fr); }
.sidebar-left .blog-sidebar { order: -1; }
.sidebar-none .blog-layout { grid-template-columns: 1fr; }
.blog-sidebar {
  position: sticky; top: calc(var(--header-h) + 1rem);
  display: grid; gap: 1rem;
}
.blog-sidebar-block {
  padding: 1.2rem 1.25rem; border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elev); border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.04);
}
.blog-sidebar h2 {
  font-size: .95rem; margin: 0 0 1rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.blog-sidebar-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.blog-sidebar-posts a {
  display: grid; grid-template-columns: 56px 1fr; gap: .75rem; align-items: center;
  text-decoration: none; color: inherit; padding: .35rem; border-radius: 12px;
}
.blog-sidebar-posts a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); color: inherit; }
.blog-sidebar-posts img,
.blog-sidebar-thumb {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: block;
  background: linear-gradient(145deg, #062033, #0f766e);
}
.blog-sidebar-posts strong {
  display: block; font-size: .92rem; line-height: 1.35; margin-bottom: .2rem; color: var(--ink);
}
.blog-sidebar-posts time { display: block; font-size: .8rem; color: var(--muted); }
.blog-sidebar-note { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.blog-back { margin: 2rem 0 0; }
.blog-back a { font-weight: 700; text-decoration: none; color: var(--accent); }

.flash { padding: .85rem 0; font-weight: 600; }
.flash-success { background: rgba(15, 118, 110, .12); color: var(--accent); }
.flash-error { background: rgba(180, 35, 24, .12); color: #b42318; }
.flash-info { background: rgba(10, 79, 110, .12); color: var(--accent-2); }

.site-footer {
  margin-top: auto; border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 88%, var(--accent) 4%);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.5rem; padding-bottom: 2.5rem;
}
.footer-contact-list {
  list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .85rem;
}
.footer-contact-label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .2rem;
}
.footer-contact-value {
  display: block; color: var(--ink-soft); font-weight: 600; text-decoration: none; line-height: 1.4;
}
a.footer-contact-value:hover { color: var(--accent); }
.footer-contact-cta {
  display: inline-block; font-weight: 700; color: var(--accent); text-decoration: none;
}
.footer-contact-cta:hover { text-decoration: underline; }
.footer-heading {
  font-family: var(--font-display); font-size: 1rem; margin: 0 0 1rem; letter-spacing: -0.02em;
}
.footer-col p { color: var(--muted); margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.footer-col a:hover { color: var(--accent); }
.follow-label { font-weight: 700; color: var(--ink); margin-bottom: .65rem !important; }
.social-list { display: flex !important; flex-wrap: wrap; gap: .55rem !important; list-style: none; padding: 0; margin: 0; }
.social-list a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.social-list a:hover {
  transform: translateY(-2px); border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent);
}
.social-icon {
  width: 18px; height: 18px; display: block;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.social-linkedin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 8.5A2.25 2.25 0 1 1 6.5 4a2.25 2.25 0 0 1 0 4.5ZM4.75 20V9.75h3.5V20h-3.5Zm6-10.25H14v1.45h.05c.35-.65 1.2-1.35 2.5-1.35 2.65 0 3.15 1.75 3.15 4.05V20h-3.5v-5.2c0-1.25-.02-2.85-1.75-2.85-1.75 0-2.02 1.35-2.02 2.75V20h-3.5V9.75Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 8.5A2.25 2.25 0 1 1 6.5 4a2.25 2.25 0 0 1 0 4.5ZM4.75 20V9.75h3.5V20h-3.5Zm6-10.25H14v1.45h.05c.35-.65 1.2-1.35 2.5-1.35 2.65 0 3.15 1.75 3.15 4.05V20h-3.5v-5.2c0-1.25-.02-2.85-1.75-2.85-1.75 0-2.02 1.35-2.02 2.75V20h-3.5V9.75Z'/%3E%3C/svg%3E");
}
.social-twitter, .social-x {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 3H21l-6.55 7.49L22 21h-5.8l-4.54-5.94L6.4 21H4.3l7-8.01L2 3h5.95l4.1 5.45L18.9 3Zm-2.03 16.2h1.61L7.22 4.7H5.5l11.37 14.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 3H21l-6.55 7.49L22 21h-5.8l-4.54-5.94L6.4 21H4.3l7-8.01L2 3h5.95l4.1 5.45L18.9 3Zm-2.03 16.2h1.61L7.22 4.7H5.5l11.37 14.5Z'/%3E%3C/svg%3E");
}
.social-github {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48v-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.15-1.1-1.46-1.1-1.46-.9-.62.07-.61.07-.61 1 .07 1.53 1.03 1.53 1.03.89 1.52 2.34 1.08 2.91.83.09-.65.35-1.08.63-1.33-2.22-.25-4.56-1.11-4.56-4.94 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.64 0 0 .84-.27 2.75 1.02A9.56 9.56 0 0 1 12 6.8c.85 0 1.71.11 2.51.33 1.9-1.29 2.74-1.02 2.74-1.02.55 1.37.2 2.39.1 2.64.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.68.92.68 1.86v2.76c0 .26.18.58.69.48A10 10 0 0 0 12 2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-3.16 19.49c.5.09.68-.22.68-.48v-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.15-1.1-1.46-1.1-1.46-.9-.62.07-.61.07-.61 1 .07 1.53 1.03 1.53 1.03.89 1.52 2.34 1.08 2.91.83.09-.65.35-1.08.63-1.33-2.22-.25-4.56-1.11-4.56-4.94 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.64 0 0 .84-.27 2.75 1.02A9.56 9.56 0 0 1 12 6.8c.85 0 1.71.11 2.51.33 1.9-1.29 2.74-1.02 2.74-1.02.55 1.37.2 2.39.1 2.64.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.69-4.57 4.94.36.31.68.92.68 1.86v2.76c0 .26.18.58.69.48A10 10 0 0 0 12 2Z'/%3E%3C/svg%3E");
}
.social-facebook {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 9h3V6h-3c-2.2 0-4 1.8-4 4v2H7v3h3v7h3v-7h3l1-3h-4v-2c0-.6.4-1 1-1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 9h3V6h-3c-2.2 0-4 1.8-4 4v2H7v3h3v7h3v-7h3l1-3h-4v-2c0-.6.4-1 1-1Z'/%3E%3C/svg%3E");
}
.social-instagram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 3h9A4.5 4.5 0 0 1 21 7.5v9A4.5 4.5 0 0 1 16.5 21h-9A4.5 4.5 0 0 1 3 16.5v-9A4.5 4.5 0 0 1 7.5 3Zm0 1.8A2.7 2.7 0 0 0 4.8 7.5v9a2.7 2.7 0 0 0 2.7 2.7h9a2.7 2.7 0 0 0 2.7-2.7v-9a2.7 2.7 0 0 0-2.7-2.7h-9ZM12 8.2A3.8 3.8 0 1 1 8.2 12 3.8 3.8 0 0 1 12 8.2Zm0 1.8A2 2 0 1 0 14 12a2 2 0 0 0-2-2Zm4.55-3.05a1.05 1.05 0 1 1-1.05 1.05 1.05 1.05 0 0 1 1.05-1.05Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 3h9A4.5 4.5 0 0 1 21 7.5v9A4.5 4.5 0 0 1 16.5 21h-9A4.5 4.5 0 0 1 3 16.5v-9A4.5 4.5 0 0 1 7.5 3Zm0 1.8A2.7 2.7 0 0 0 4.8 7.5v9a2.7 2.7 0 0 0 2.7 2.7h9a2.7 2.7 0 0 0 2.7-2.7v-9a2.7 2.7 0 0 0-2.7-2.7h-9ZM12 8.2A3.8 3.8 0 1 1 8.2 12 3.8 3.8 0 0 1 12 8.2Zm0 1.8A2 2 0 1 0 14 12a2 2 0 0 0-2-2Zm4.55-3.05a1.05 1.05 0 1 1-1.05 1.05 1.05 1.05 0 0 1 1.05-1.05Z'/%3E%3C/svg%3E");
}
.social-youtube {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.7 2.7 0 0 0-1.9-1.9C18.1 5 12 5 12 5s-6.1 0-7.7.3A2.7 2.7 0 0 0 2.4 7.2 28.3 28.3 0 0 0 2 12a28.3 28.3 0 0 0 .4 4.8 2.7 2.7 0 0 0 1.9 1.9C5.9 19 12 19 12 19s6.1 0 7.7-.3a2.7 2.7 0 0 0 1.9-1.9A28.3 28.3 0 0 0 22 12a28.3 28.3 0 0 0-.4-4.8ZM10.2 15.1V8.9L15.5 12l-5.3 3.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.7 2.7 0 0 0-1.9-1.9C18.1 5 12 5 12 5s-6.1 0-7.7.3A2.7 2.7 0 0 0 2.4 7.2 28.3 28.3 0 0 0 2 12a28.3 28.3 0 0 0 .4 4.8 2.7 2.7 0 0 0 1.9 1.9C5.9 19 12 19 12 19s6.1 0 7.7-.3a2.7 2.7 0 0 0 1.9-1.9A28.3 28.3 0 0 0 22 12a28.3 28.3 0 0 0-.4-4.8ZM10.2 15.1V8.9L15.5 12l-5.3 3.1Z'/%3E%3C/svg%3E");
}
.social-link {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a3.5 3.5 0 0 1 0-5l2.1-2.1a3.5 3.5 0 1 1 5 5l-1 1a1 1 0 1 1-1.4-1.4l1-1a1.5 1.5 0 0 0-2.1-2.1l-2.1 2.1a1.5 1.5 0 0 0 0 2.1 1 1 0 0 1-1.5 1.4Zm2.8-2.8a3.5 3.5 0 0 1 0 5l-2.1 2.1a3.5 3.5 0 1 1-5-5l1-1a1 1 0 1 1 1.4 1.4l-1 1a1.5 1.5 0 1 0 2.1 2.1l2.1-2.1a1.5 1.5 0 0 0 0-2.1 1 1 0 0 1 1.5-1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a3.5 3.5 0 0 1 0-5l2.1-2.1a3.5 3.5 0 1 1 5 5l-1 1a1 1 0 1 1-1.4-1.4l1-1a1.5 1.5 0 0 0-2.1-2.1l-2.1 2.1a1.5 1.5 0 0 0 0 2.1 1 1 0 0 1-1.5 1.4Zm2.8-2.8a3.5 3.5 0 0 1 0 5l-2.1 2.1a3.5 3.5 0 1 1-5-5l1-1a1 1 0 1 1 1.4 1.4l-1 1a1.5 1.5 0 1 0 2.1 2.1l2.1-2.1a1.5 1.5 0 0 0 0-2.1 1 1 0 0 1 1.5-1.4Z'/%3E%3C/svg%3E");
}
.footer-bottom {
  border-top: 1px solid var(--line); padding: 1rem 0; color: var(--muted); font-size: .92rem;
}

/* ========== Home CMS sections ========== */
.hero-bg-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28;
}
.hero-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shineSweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shineSweep {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}
.hero-pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0; padding: 0;
}
.hero-pills li {
  padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  color: #dff7f3; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
}

/* Hero right-side chart slideshow */
.hero-visuals {
  min-width: 0;
  display: grid;
  gap: .9rem;
  animation: riseIn .85s ease .12s both;
}
.hero-chart-slideshow {
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-chart-track { position: relative; min-height: 280px; }
.hero-chart-card {
  margin: 0;
  padding: 1.15rem 1.15rem 1rem;
  min-height: 280px;
  display: none;
  flex-direction: column;
}
.hero-chart-card[hidden] { display: none !important; }
.hero-chart-card.is-active,
.hero-chart-card:not([hidden]) {
  display: flex;
  animation: chartFade .45s ease;
}
.hero-chart-card.is-active { display: flex; }
@keyframes chartFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.hero-chart-card header {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .75rem; margin-bottom: .65rem;
}
.hero-chart-card header span {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(223, 247, 243, .78);
}
.hero-chart-card header strong {
  font-family: var(--font-display); font-size: 1.1rem; color: #9ef0e4;
}
.hero-bar-chart, .hero-line-chart, .hero-bubble-chart {
  width: 100%; height: auto; display: block; flex: 1;
}
.hero-chart-grid line {
  stroke: rgba(255,255,255,.12); stroke-width: 1;
}
.hero-bars .bar {
  fill: rgba(158, 240, 228, .55);
  transform-origin: bottom;
  animation: barRise 1.1s ease both;
}
.hero-bars .bar:nth-child(2) { animation-delay: .08s; }
.hero-bars .bar:nth-child(3) { animation-delay: .16s; }
.hero-bars .bar:nth-child(4) { animation-delay: .24s; }
.hero-bars .bar:nth-child(5) { animation-delay: .32s; }
.hero-bars .bar-accent { fill: #2dd4bf; }
@keyframes barRise {
  from { transform: scaleY(0.15); opacity: .35; }
  to { transform: scaleY(1); opacity: 1; }
}
.hero-line-path {
  fill: none; stroke: #9ef0e4; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: drawLine 1.4s ease .15s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.hero-line-dot { fill: #fff; }
.hero-line-dot-end { fill: #2dd4bf; stroke: #fff; stroke-width: 2; }
.hero-bubble-chart .bubble {
  fill: rgba(45, 212, 191, .28);
  stroke: rgba(158, 240, 228, .85);
  stroke-width: 2;
  animation: bubblePop .8s ease both;
}
.hero-bubble-chart .b1 { animation-delay: .05s; }
.hero-bubble-chart .b2 { animation-delay: .12s; fill: rgba(45, 212, 191, .38); }
.hero-bubble-chart .b3 { animation-delay: .18s; }
.hero-bubble-chart .b4 { animation-delay: .24s; fill: rgba(45, 212, 191, .5); }
.hero-bubble-chart .b5 { animation-delay: .3s; }
.hero-bubble-chart .bubble-label {
  fill: #062033; font-size: 11px; font-weight: 700; font-family: var(--font-display);
}
@keyframes bubblePop {
  from { transform: scale(0.4); opacity: 0; transform-box: fill-box; transform-origin: center; }
  to { transform: scale(1); opacity: 1; transform-box: fill-box; transform-origin: center; }
}
.hero-chart-caption {
  margin: .65rem 0 0; color: rgba(244,250,252,.78); font-size: .92rem; line-height: 1.45;
}
.hero-chart-type {
  margin-top: .7rem; align-self: flex-start;
  display: inline-block; padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(158, 240, 228, .16); color: #9ef0e4;
}
.hero-chart-empty { margin: 0; color: rgba(244,250,252,.75); }
.hero-chart-controls {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .55rem .75rem .85rem;
}
.hero .slideshow-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.25rem; cursor: pointer;
}
.hero .slideshow-btn:hover { background: rgba(255,255,255,.16); }
.hero .slideshow-dot { background: rgba(255,255,255,.35); border: 0; width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer; }
.hero .slideshow-dot.is-active { background: #9ef0e4; transform: scale(1.15); }
.hero-metric-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem;
}
.hero-metric {
  padding: .75rem .7rem;
  border-radius: 12px;
  background: rgba(2, 10, 18, .28);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-metric span {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(223,247,243,.7); margin-bottom: .2rem;
}
.hero-metric strong {
  font-family: var(--font-display); font-size: .92rem; color: #fff; font-weight: 600;
}

.eyebrow {
  margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.section-kicker {
  margin: 0 0 .75rem; font-family: var(--font-display); font-size: 1.15rem;
  color: var(--ink-soft); font-weight: 600;
}
.section-intro { max-width: 720px; margin-bottom: 2rem; }
.section-intro-row {
  max-width: none; display: flex; justify-content: space-between; align-items: end;
  gap: 1.5rem; flex-wrap: wrap;
}
.section-intro-row .section-lead { max-width: 46rem; }

.btn-soft {
  background: var(--accent-soft); color: var(--accent); border: 1px solid transparent;
}
.btn-soft:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.btn-ghost-dark {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: .65rem 1rem; font-size: .95rem; }
.home-cta .btn-primary { background: #fff; color: #062033; }
.home-cards .btn-primary,
.home-slideshow .btn-primary,
.feature-card .btn-primary { background: var(--accent); color: #fff; }
.home-cards .btn-primary:hover,
.home-slideshow .btn-primary:hover { filter: brightness(1.06); color: #fff; }

.home-content-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
}
.home-content-media {
  margin: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.home-content-panel { display: grid; gap: 1rem; }
.shine-card {
  position: relative; overflow: hidden; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-elev), color-mix(in srgb, var(--accent) 10%, var(--bg-elev)));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.shine-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-120%); animation: cardShine 5.5s ease-in-out infinite;
}
@keyframes cardShine {
  0%, 60%, 100% { transform: translateX(-120%); }
  75% { transform: translateX(120%); }
}
.shine-card span {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .4rem;
}
.shine-card strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .25rem; }
.shine-card p { margin: 0; color: var(--muted); }

.card-badge {
  display: inline-block; margin-bottom: .65rem; padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
}
.card-sub { margin: 0 0 .5rem; font-weight: 700; color: var(--ink-soft); }
.card-link {
  display: inline-block; margin-top: .75rem; font-weight: 700; color: var(--accent); text-decoration: none;
}
a.feature-card:hover .card-link,
.domain-card .card-link:hover { text-decoration: underline; }

.domain-grid, .card-grid, .blog-card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem;
}
.card-grid { grid-template-columns: repeat(4, 1fr); }
.blog-card-grid { grid-template-columns: repeat(3, 1fr); }
.domain-card {
  padding: 1.65rem 1.5rem;
  background:
    linear-gradient(165deg, var(--bg-elev), color-mix(in srgb, var(--accent) 5%, var(--bg-elev)));
}
.domain-card h3 { font-size: 1.28rem; }

.domain-card, .feature-card, .blog-card, .slide-card {
  position: relative; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem 1.35rem; box-shadow: 0 10px 30px rgba(11, 31, 51, 0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: riseIn .7s ease both; animation-delay: calc(var(--i, 0) * 70ms);
}
.domain-card:hover, .feature-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
a.feature-card { text-decoration: none; color: inherit; display: block; }
.domain-card h3, .feature-card h3, .blog-card h3, .slide-card h3 {
  margin: 0 0 .4rem; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.02em;
}
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.domain-card p, .feature-card p, .blog-card p, .slide-card p { margin: 0; color: var(--muted); }
.blog-card time { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .55rem; }

.domain-icon, .feature-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 85%, #fff), var(--accent-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(15, 118, 110, .25);
  position: relative;
}
.domain-icon::after, .feature-icon::after {
  content: ""; position: absolute; inset: 14px 12px 14px 18px;
  border-right: 2px solid rgba(255,255,255,.95);
  border-bottom: 2px solid rgba(255,255,255,.7);
  transform: skewX(-16deg);
}
.feature-image, .domain-image {
  width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem;
}

.home-slideshow .slideshow {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--bg-elev) 88%, var(--accent) 12%), var(--bg-elev));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.slideshow-track { position: relative; min-height: 280px; }
.slide-card {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: center;
  animation: none; min-height: 280px;
}
.slide-card[hidden] { display: none !important; }
.slide-card.is-active { display: grid; animation: slideIn .45s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
.slide-visual {
  min-height: 220px; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--hero-a), var(--hero-c));
}
.slide-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.slide-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(45, 212, 191, .45), transparent 50%);
}
.slideshow-controls {
  display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem;
}
.slideshow-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg-elev); color: var(--ink); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.slideshow-btn:hover { border-color: var(--accent); color: var(--accent); }
.slideshow-dots { display: flex; gap: .45rem; }
.slideshow-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}
.slideshow-dot.is-active { background: var(--accent); transform: scale(1.15); }

.home-cta .cta-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 8px);
  color: #f4fafc;
  background:
    linear-gradient(125deg, #062033, #0a4a5c 55%, #0f766e);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.home-cta .cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.12), transparent 60%);
  animation: shineSweep 8s ease-in-out infinite;
  pointer-events: none;
}
.home-cta .cta-banner h2 { margin: 0 0 .5rem; color: #fff; position: relative; z-index: 1; }
.home-cta .cta-banner p { margin: 0; color: rgba(244,250,252,.88); max-width: 36rem; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .65rem; position: relative; z-index: 1; }

@media (max-width: 1100px) {
  .card-grid,
  .blog-card-grid-page,
  .service-card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: clamp(2.25rem, 5vh, 3rem) 0;
  }
  .hero { min-height: auto; align-items: stretch; }
  .hero-brand { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-metric-row { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    display: none; padding: 1rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .footer-grid, .contact-grid, .blog-layout, .sidebar-left .blog-layout,
  .home-content-grid, .slide-card, .slide-card.is-active {
    grid-template-columns: 1fr;
  }
  .footer-about { grid-column: auto; }
  .domain-grid, .card-grid, .blog-card-grid,
  .blog-card-grid-page, .blog-list-layout .blog-card-grid-page,
  .service-card-grid, .about-highlights { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .post-row { grid-template-columns: 1fr; gap: .35rem; }
  .section-intro-row { align-items: start; }
  .service-hero .service-hero-grid,
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
