@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

:root {
  --klg-ink: #0d0b12;
  --klg-graphite: #17131f;
  --klg-panel: #21172e;
  --klg-text: #1d1a25;
  --klg-muted: #6d667a;
  --klg-line: #e3dcea;
  --klg-line-soft: #f0eaf6;
  --klg-bg: #f8f5f0;
  --klg-white: #ffffff;
  --klg-purple: #7a3fd1;
  --klg-purple-soft: #9b6ee7;
  --klg-violet-soft: #a77af3;
  --klg-lilac: #d9c0ff;
  --klg-lilac-soft: #f3ecff;
  --klg-brass: #b9965f;
  --klg-radius: 8px;
  --klg-shadow: 0 24px 70px rgba(30, 19, 43, 0.16);
  --klg-soft-shadow: 0 16px 44px rgba(30, 19, 43, 0.08);
}

body {
  background: var(--klg-bg);
  color: var(--klg-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

:where(html, body) {
  cursor: auto;
}

:where(a[href], button:not(:disabled), [role="button"], summary, select, input[type="button"], input[type="submit"]) {
  cursor: pointer;
}

:where(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea) {
  cursor: text;
}

:where(:disabled, [aria-disabled="true"]) {
  cursor: not-allowed !important;
}

body #masthead,
body #masthead .site-main-header-wrap,
body #masthead .site-header-row-container-inner {
  background: rgba(13, 11, 18, 0.96) !important;
}

body #masthead {
  border-bottom: 1px solid rgba(217, 192, 255, 0.12);
  backdrop-filter: blur(14px);
}

body .site-main-header-inner-wrap {
  min-height: 72px;
}

body .site-branding .site-title,
body .site-branding .site-title.vs-md-false,
body .site-branding .site-title a {
  color: var(--klg-white) !important;
  letter-spacing: 0;
}

body .site-branding .site-title,
body .site-branding .site-title a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0;
}

body .site-branding .site-title::before {
  content: "";
  display: inline-flex;
  width: 216px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: url("/wp-content/plugins/klg-site-core/assets/brand/images/klg-logo-lockup.svg") center / contain no-repeat;
  box-shadow: none;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a {
  position: relative;
  color: rgba(255, 255, 255, 0.68) !important;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 180ms ease, transform 180ms ease;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a::after {
  content: "";
  position: absolute;
  right: 1em;
  bottom: 15px;
  left: 1em;
  height: 2px;
  background: linear-gradient(90deg, var(--klg-purple-soft), var(--klg-lilac));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: var(--klg-white) !important;
  transform: translateY(-1px);
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
body .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a::after {
  transform: scaleX(1);
}

body .main-navigation .primary-menu-container > ul > li.menu-item:last-child > a {
  min-height: 38px;
  margin-left: 10px;
  border: 1px solid rgba(217, 192, 255, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--klg-purple), var(--klg-purple-soft));
  color: var(--klg-white) !important;
  padding: 0 18px !important;
  box-shadow: 0 14px 34px rgba(111, 60, 195, 0.28);
}

body .main-navigation .primary-menu-container > ul > li.menu-item:last-child > a::after {
  display: none;
}

body .main-navigation .primary-menu-container > ul > li.menu-item:last-child > a:hover {
  background: linear-gradient(135deg, var(--klg-purple-soft), var(--klg-lilac));
  color: var(--klg-ink) !important;
  transform: translateY(-2px);
}

body .mobile-toggle-open-container .menu-toggle-open,
body .mobile-toggle-open-container .menu-toggle-open:focus {
  color: var(--klg-white) !important;
}

body.home .content-area,
body.page .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

body.home .entry.single-entry,
body.home .content-bg,
body.home .site,
body.home .entry-content-wrap,
body.home .entry-content.single-content,
body.page .entry.single-entry,
body.page .content-bg,
body.page .site,
body.page .entry-content-wrap,
body.page .entry-content.single-content {
  background: transparent;
  box-shadow: none;
}

body.home .entry.single-entry,
body.home .entry-content.single-content,
body.page .entry.single-entry,
body.page .entry-content.single-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home .entry-content-wrap,
body.page .entry-content-wrap {
  padding: 0;
}

body.home .entry-header,
body.page .entry-header {
  display: none;
}

body.home .content-container,
body.page .content-container {
  max-width: none;
  padding: 0;
}

.klg-site,
.klg-page {
  overflow: hidden;
  background: var(--klg-bg);
}

.klg-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1216px;
  margin-inline: auto;
  padding-inline: 24px;
}

.klg-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1216px;
  margin-inline: auto;
}

.klg-kicker {
  margin: 0 0 14px;
  color: var(--klg-purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.klg-hero-clean {
  position: relative;
  background:
    linear-gradient(90deg, rgba(13, 11, 18, 0.98) 0%, rgba(22, 16, 31, 0.97) 48%, rgba(27, 17, 39, 0.92) 100%),
    radial-gradient(circle at 78% 20%, rgba(155, 110, 231, 0.28), transparent 34%);
  color: var(--klg-white);
}

.klg-hero-clean::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 192, 255, 0.42), transparent);
}

.klg-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.84fr);
  gap: 58px;
  align-items: center;
  min-height: 650px;
  padding: 82px 0 78px;
}

.klg-hero-copy h1,
.klg-page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--klg-ink);
  font-size: 3.82rem;
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

.klg-hero-copy h1 {
  color: var(--klg-white);
}

.klg-hero-copy .klg-kicker {
  color: var(--klg-lilac);
}

.klg-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--klg-muted);
  font-size: 1.13rem;
  line-height: 1.62;
}

.klg-hero-copy .klg-lead {
  color: rgba(255, 255, 255, 0.72);
}

.klg-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.klg-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.klg-button::after,
.klg-text-link::after {
  content: "->";
  margin-left: 9px;
  transition: transform 180ms ease;
}

.klg-button:hover,
.klg-text-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.klg-button:hover::after,
.klg-text-link:hover::after {
  transform: translateX(4px);
}

.klg-button-primary {
  border: 1px solid rgba(217, 192, 255, 0.28);
  background: linear-gradient(135deg, var(--klg-purple), var(--klg-purple-soft));
  color: var(--klg-white);
  box-shadow: 0 16px 36px rgba(111, 60, 195, 0.3);
}

.klg-button-primary:hover {
  background: linear-gradient(135deg, var(--klg-purple-soft), var(--klg-lilac));
  color: var(--klg-ink);
}

.klg-button-secondary {
  border: 1px solid var(--klg-line);
  color: var(--klg-ink);
}

.klg-button-secondary:hover {
  border-color: var(--klg-purple);
  color: var(--klg-purple);
}

.klg-hero-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(217, 192, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--klg-shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.klg-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 74px);
  pointer-events: none;
}

.klg-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

.klg-hero-visual:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.klg-hero-glass {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 166px;
  border: 1px solid rgba(217, 192, 255, 0.28);
  border-radius: var(--klg-radius);
  background: rgba(13, 11, 18, 0.66);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.klg-hero-glass span {
  color: var(--klg-lilac);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.klg-hero-glass strong {
  color: var(--klg-white);
  font-size: 1.05rem;
}

.klg-hero-glass-top {
  top: 20px;
  left: 20px;
}

.klg-hero-glass-bottom {
  right: 20px;
  bottom: 20px;
}

.klg-ai-orbit {
  position: absolute;
  z-index: 2;
  right: 20px;
  top: 50%;
  display: flex;
  gap: 6px;
  align-items: end;
  height: 42px;
  transform: translateY(-50%);
}

.klg-ai-orbit i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--klg-lilac), var(--klg-purple));
  box-shadow: 0 0 18px rgba(217, 192, 255, 0.5);
}

.klg-ai-orbit i:nth-child(1) {
  height: 18px;
}

.klg-ai-orbit i:nth-child(2) {
  height: 34px;
}

.klg-ai-orbit i:nth-child(3) {
  height: 26px;
}

.klg-audience-strip {
  border-bottom: 1px solid var(--klg-line);
  background: var(--klg-white);
}

.klg-audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.klg-audience-row span {
  display: flex;
  flex: 1 1 170px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--klg-line-soft);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--klg-muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klg-audience-row span:hover {
  border-color: rgba(111, 60, 195, 0.28);
  background: var(--klg-lilac-soft);
  color: var(--klg-purple);
  transform: translateY(-2px);
}

.klg-section-light,
.klg-solutions-section,
.klg-editorial-section {
  background: var(--klg-bg);
}

.klg-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: 72px;
  align-items: start;
  padding: 78px 0;
}

.klg-section-copy h2,
.klg-section-head h2,
.klg-final-row h2,
.klg-page-grid h2,
.klg-page-list h2 {
  max-width: 760px;
  margin: 0;
  color: var(--klg-ink);
  font-size: 2.78rem;
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: 0;
}

.klg-section-copy p,
.klg-page-grid p,
.klg-page-list li {
  max-width: 680px;
  color: var(--klg-muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

.klg-clean-list,
.klg-editorial-workflow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.klg-clean-list div,
.klg-editorial-workflow li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  border: 1px solid var(--klg-line);
  border-radius: var(--klg-radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.klg-clean-list div:hover,
.klg-editorial-workflow li:hover {
  border-color: rgba(111, 60, 195, 0.28);
  background: var(--klg-white);
  box-shadow: var(--klg-soft-shadow);
  transform: translateX(6px);
}

.klg-clean-list span,
.klg-editorial-workflow li::before,
.klg-solution-card span,
.klg-timeline span,
.klg-page-cards span {
  color: var(--klg-purple);
  font-size: 0.82rem;
  font-weight: 900;
}

.klg-clean-list strong {
  color: var(--klg-ink);
  font-size: 1.04rem;
}

.klg-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 84px 0 34px;
}

.klg-section-head .klg-kicker,
.klg-section-head h2 {
  grid-column: 1;
}

.klg-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--klg-purple);
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.klg-text-link:hover {
  color: var(--klg-ink);
}

.klg-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 94px;
}

.klg-solution-card,
.klg-page-cards div {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  border: 1px solid var(--klg-line);
  border-radius: var(--klg-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 255, 0.94)),
    linear-gradient(135deg, rgba(111, 60, 195, 0.12), transparent 42%);
  padding: 24px;
  color: var(--klg-ink);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.klg-solution-card::before,
.klg-page-cards div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--klg-purple), var(--klg-lilac), var(--klg-brass));
  opacity: 0;
  transition: opacity 180ms ease;
}

.klg-solution-card:hover,
.klg-page-cards div:hover {
  border-color: rgba(111, 60, 195, 0.3);
  box-shadow: var(--klg-soft-shadow);
  color: var(--klg-ink);
  transform: translateY(-5px);
}

.klg-solution-card:hover::before,
.klg-page-cards div:hover::before {
  opacity: 1;
}

.klg-solution-card h3,
.klg-page-cards h2 {
  margin: 44px 0 12px;
  color: var(--klg-ink);
  font-size: 1.46rem;
  line-height: 1.17;
  letter-spacing: 0;
}

.klg-solution-card p,
.klg-page-cards p {
  margin: 0;
  color: var(--klg-muted);
  line-height: 1.58;
}

.klg-solution-card a,
.klg-page-cards a {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--klg-purple);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.klg-solution-card a::after,
.klg-page-cards a::after {
  content: "->";
  margin-left: 9px;
  transition: transform 180ms ease;
}

.klg-solution-card a:hover::after,
.klg-page-cards a:hover::after {
  transform: translateX(4px);
}

.klg-operating-section {
  border-top: 1px solid var(--klg-line);
  border-bottom: 1px solid rgba(217, 192, 255, 0.13);
  background: var(--klg-white);
}

.klg-operating-section .klg-section-head {
  padding-top: 84px;
}

.klg-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 10px 0 96px;
}

.klg-timeline::before {
  content: "";
  position: absolute;
  top: 37px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--klg-line), var(--klg-lilac), var(--klg-line));
}

.klg-timeline div {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--klg-line);
  border-radius: var(--klg-radius);
  background: var(--klg-white);
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.klg-timeline div:hover {
  border-color: rgba(111, 60, 195, 0.3);
  box-shadow: var(--klg-soft-shadow);
  transform: translateY(-5px);
}

.klg-timeline span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--klg-lilac-soft);
}

.klg-timeline h3 {
  margin: 34px 0 10px;
  color: var(--klg-ink);
  font-size: 1.22rem;
}

.klg-timeline p {
  margin: 0;
  color: var(--klg-muted);
  line-height: 1.52;
}

.klg-proof-section,
.klg-final-clean {
  background:
    linear-gradient(90deg, rgba(13, 11, 18, 0.98), rgba(31, 20, 43, 0.98)),
    var(--klg-ink);
}

.klg-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
}

.klg-proof-row div {
  min-height: 160px;
  display: grid;
  align-content: center;
  border-left: 1px solid rgba(217, 192, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 28px;
  transition: background 180ms ease, transform 180ms ease;
}

.klg-proof-row div:hover {
  background: rgba(217, 192, 255, 0.1);
  transform: translateY(-3px);
}

.klg-proof-row strong {
  color: var(--klg-white);
  font-size: 1.42rem;
  line-height: 1.18;
}

.klg-proof-row span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.klg-editorial-section {
  background: var(--klg-bg);
}

.klg-editorial-stack {
  display: grid;
  gap: 16px;
}

.klg-editorial-stack img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(111, 60, 195, 0.18);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--klg-soft-shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.klg-editorial-stack img:hover {
  box-shadow: var(--klg-shadow);
  transform: translateY(-4px);
}

.klg-editorial-workflow {
  counter-reset: klg-workflow;
}

.klg-editorial-workflow li {
  counter-increment: klg-workflow;
  color: var(--klg-ink);
  font-weight: 800;
  line-height: 1.4;
}

.klg-editorial-workflow li::before {
  content: counter(klg-workflow, decimal-leading-zero);
}

.klg-final-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: 76px 0;
}

.klg-final-row h2 {
  color: var(--klg-white);
}

.klg-final-row .klg-kicker {
  color: var(--klg-lilac);
}

.klg-final-row .klg-button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--klg-white);
}

.klg-page {
  padding: 92px 24px 110px;
}

.klg-page-hero {
  max-width: 860px;
}

.klg-page-grid,
.klg-page-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.klg-page-grid div,
.klg-page-list {
  border: 1px solid var(--klg-line);
  border-radius: var(--klg-radius);
  background: var(--klg-white);
  padding: 28px;
}

.klg-page-grid h2,
.klg-page-list h2 {
  font-size: 1.72rem;
}

.klg-page-list {
  margin-top: 54px;
}

.klg-page-list ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.site-footer .site-info-inner {
  font-size: 0;
}

.site-footer .site-info-inner::after {
  content: "2026 KLG Consultoria";
  color: var(--klg-text);
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .klg-hero-grid,
  .klg-two-col,
  .klg-final-row {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .klg-hero-grid {
    min-height: auto;
    padding: 72px 0;
  }

  .klg-hero-copy h1,
  .klg-page-hero h1 {
    font-size: 3.16rem;
  }

  .klg-section-copy h2,
  .klg-section-head h2,
  .klg-final-row h2 {
    font-size: 2.36rem;
  }

  .klg-section-head {
    grid-template-columns: 1fr;
  }

  .klg-solution-grid,
  .klg-proof-row {
    grid-template-columns: 1fr;
  }

  .klg-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .klg-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  body .site-main-header-inner-wrap {
    min-height: 60px;
  }

  .klg-container,
  .klg-page {
    width: 100% !important;
    max-width: none;
    padding-inline: 16px;
  }

  .klg-hero-grid,
  .klg-two-col,
  .klg-section-head,
  .klg-editorial-section .klg-two-col {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .klg-hero-copy h1,
  .klg-page-hero h1 {
    font-size: 2.42rem;
  }

  .klg-lead {
    font-size: 1.02rem;
  }

  .klg-contact-cta {
    flex-direction: column;
  }

  .klg-button {
    width: 100%;
  }

  .klg-hero-visual {
    min-height: 320px;
    border-radius: 14px;
  }

  .klg-hero-visual img {
    min-height: 320px;
  }

  .klg-hero-glass {
    min-width: 136px;
    padding: 11px 12px;
  }

  .klg-hero-glass-top {
    top: 12px;
    left: 12px;
  }

  .klg-hero-glass-bottom {
    right: 12px;
    bottom: 12px;
  }

  .klg-ai-orbit {
    display: none;
  }

  .klg-proof-metrics,
  .klg-timeline,
  .klg-page-grid,
  .klg-page-cards {
    grid-template-columns: 1fr;
  }

  .klg-section-copy h2,
  .klg-section-head h2,
  .klg-final-row h2 {
    font-size: 2rem;
  }

  .klg-clean-list div,
  .klg-editorial-workflow li {
    grid-template-columns: 42px 1fr;
  }

  .klg-solution-grid {
    padding-bottom: 60px;
  }

  .klg-timeline {
    padding-bottom: 60px;
  }

  .klg-page {
    padding-top: 62px;
    padding-bottom: 76px;
  }
}

.klg-d-hero {
  position: relative;
  background:
    radial-gradient(circle at 76% 8%, rgba(217, 192, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #0d0b12 0%, #21172e 50%, #7a3fd1 130%);
  color: var(--klg-white);
  padding: 24px 0 78px;
}

.klg-d-hero-media {
  overflow: hidden;
  min-height: 282px;
  border-radius: 72px 16px 72px 16px;
  border: 1px solid rgba(217, 192, 255, 0.18);
  box-shadow: 0 28px 80px rgba(13, 11, 18, 0.38);
}

.klg-d-hero-media img {
  display: block;
  width: 100%;
  height: 312px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.klg-d-hero-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.05);
}

.klg-d-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
  gap: 74px;
  align-items: end;
  padding-top: 82px;
}

.klg-d-hero-content h1 {
  max-width: 720px;
  margin: 0;
  color: var(--klg-white);
  font-size: 4.9rem;
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: 0;
}

.klg-d-hero-content p:not(.klg-kicker) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.6;
}

.klg-d-hero .klg-kicker {
  color: var(--klg-lilac);
}

.klg-d-hero .klg-button-primary {
  background: var(--klg-white);
  color: var(--klg-ink);
  box-shadow: none;
}

.klg-d-hero .klg-button-primary:hover {
  background: var(--klg-lilac);
  color: var(--klg-ink);
}

.klg-d-trust {
  background: var(--klg-white);
  border-bottom: 1px solid var(--klg-line-soft);
}

.klg-d-trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 118px;
}

.klg-d-trust-row span {
  color: rgba(13, 11, 18, 0.28);
  font-size: 1.18rem;
  font-weight: 900;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.klg-d-trust-row span:hover {
  color: var(--klg-purple);
  transform: translateY(-2px);
}

.klg-d-intro {
  background: var(--klg-white);
  padding: 122px 0 88px;
  text-align: center;
}

.klg-d-intro h2 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--klg-ink);
  font-size: 3.45rem;
  font-weight: 420;
  line-height: 1.15;
  letter-spacing: 0;
}

.klg-d-intro h2 span {
  display: inline-flex;
  width: 104px;
  height: 58px;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 6px;
  transform: translateY(10px);
}

.klg-d-intro h2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.klg-d-intro p {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--klg-muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.klg-d-services {
  background: linear-gradient(180deg, var(--klg-white), #fbfaf7);
  padding: 40px 0 132px;
}

.klg-d-service-card {
  overflow: hidden;
  border: 1px solid var(--klg-line);
  border-radius: 14px;
  background: var(--klg-white);
  box-shadow: 0 28px 72px rgba(13, 11, 18, 0.11);
}

.klg-d-service-head {
  padding: 34px 32px 28px;
}

.klg-d-service-head > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--klg-ink);
  font-size: 1.8rem;
  line-height: 1;
}

.klg-d-service-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--klg-ink);
  font-size: 2.05rem;
  font-weight: 460;
  line-height: 1.2;
  letter-spacing: 0;
}

.klg-d-service-head p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--klg-muted);
  font-size: 1rem;
  line-height: 1.58;
}

.klg-d-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--klg-line-soft);
  border-bottom: 2px solid var(--klg-purple);
}

.klg-d-pillar-grid div {
  min-height: 168px;
  border-right: 1px solid var(--klg-line-soft);
  padding: 28px 32px;
}

.klg-d-pillar-grid div:last-child {
  border-right: 0;
}

.klg-d-pillar-grid strong {
  display: block;
  color: var(--klg-purple);
  font-size: 0.98rem;
  text-transform: uppercase;
}

.klg-d-pillar-grid p {
  max-width: 300px;
  margin: 22px 0 0;
  color: var(--klg-muted);
  line-height: 1.58;
}

.klg-d-service-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.klg-d-service-table br {
  display: none;
}

.klg-d-service-table a {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid var(--klg-line-soft);
  border-bottom: 1px solid var(--klg-line-soft);
  padding: 0 32px;
  color: var(--klg-ink);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.klg-d-service-table a:nth-child(2n) {
  border-right: 0;
}

.klg-d-service-table a:hover {
  background: var(--klg-lilac-soft);
  color: var(--klg-purple);
}

.klg-d-service-table span {
  font-size: 1.3rem;
  font-weight: 400;
}

.klg-d-numbers {
  background: var(--klg-ink);
  color: var(--klg-white);
}

.klg-d-number-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.klg-d-number-row div {
  min-height: 150px;
  display: grid;
  align-content: center;
  border-left: 1px solid rgba(217, 192, 255, 0.12);
  padding: 28px;
}

.klg-d-number-row div:last-child {
  border-right: 1px solid rgba(217, 192, 255, 0.12);
}

.klg-d-number-row strong {
  color: var(--klg-white);
  font-size: 2.5rem;
  line-height: 1;
}

.klg-d-number-row span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.klg-d-editorial {
  background: var(--klg-bg);
  padding: 106px 0;
}

.klg-d-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: 72px;
  align-items: center;
}

.klg-d-editorial h2 {
  max-width: 650px;
  margin: 0;
  color: var(--klg-ink);
  font-size: 3rem;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: 0;
}

.klg-d-editorial p:not(.klg-kicker) {
  max-width: 620px;
  color: var(--klg-muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.klg-d-final {
  background:
    radial-gradient(circle at 82% 0, rgba(155, 110, 231, 0.24), transparent 32%),
    linear-gradient(90deg, var(--klg-ink), var(--klg-panel));
  color: var(--klg-white);
}

.klg-d-final-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: 76px 24px;
}

.klg-d-final h2 {
  max-width: 720px;
  margin: 0;
  color: var(--klg-white);
  font-size: 3rem;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: 0;
}

.klg-d-final .klg-kicker {
  color: var(--klg-lilac);
}

@media (max-width: 1040px) {
  .klg-d-hero-content,
  .klg-d-editorial-grid,
  .klg-d-final-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .klg-d-hero-content h1 {
    font-size: 3.8rem;
  }

  .klg-d-trust-row,
  .klg-d-number-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .klg-d-pillar-grid,
  .klg-d-service-table {
    grid-template-columns: 1fr;
  }

  .klg-d-pillar-grid div,
  .klg-d-service-table a {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .klg-d-hero {
    padding-top: 16px;
    padding-bottom: 58px;
  }

  .klg-d-hero-media {
    min-height: 210px;
    border-radius: 42px 12px 42px 12px;
  }

  .klg-d-hero-media img {
    height: 230px;
  }

  .klg-d-hero-content {
    padding-top: 44px;
  }

  .klg-d-hero-content h1 {
    font-size: 2.7rem;
  }

  .klg-d-trust-row {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .klg-d-trust-row span {
    font-size: 0.98rem;
  }

  .klg-d-intro {
    padding: 78px 0 58px;
  }

  .klg-d-intro h2 {
    font-size: 2.24rem;
  }

  .klg-d-intro h2 span {
    width: 76px;
    height: 42px;
    transform: translateY(7px);
  }

  .klg-d-services {
    padding-bottom: 76px;
  }

  .klg-d-service-head,
  .klg-d-pillar-grid div,
  .klg-d-service-table a {
    padding-right: 22px;
    padding-left: 22px;
  }

  .klg-d-number-row {
    grid-template-columns: 1fr;
  }

  .klg-d-number-row div,
  .klg-d-number-row div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(217, 192, 255, 0.12);
  }

  .klg-d-editorial {
    padding: 72px 0;
  }

  .klg-d-editorial h2,
  .klg-d-final h2 {
    font-size: 2.1rem;
  }

  .klg-d-final-row {
    padding: 58px 16px;
  }
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 1.25em;
  line-height: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0d0b12;
  color: #e7e0eb;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.home #colophon,
body.home .site-footer {
  display: none !important;
}

body.home #page,
body.home .site,
body.home .content-bg {
  background: #0d0b12;
}

body #masthead,
body #masthead .site-main-header-wrap,
body #masthead .site-header-row-container-inner {
  background: rgba(13, 11, 18, 0.92) !important;
}

body #masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #3a2f43;
  backdrop-filter: blur(14px);
}

body .site-main-header-inner-wrap {
  min-height: 80px;
}

body .site-branding .site-title,
body .site-branding .site-title a {
  gap: 0;
  color: #e7e0eb !important;
  font-family: Manrope, Inter, sans-serif;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
}

body .site-branding .site-title::before {
  content: "";
  width: 216px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: url("/wp-content/plugins/klg-site-core/assets/brand/images/klg-logo-lockup.svg") center / contain no-repeat;
  box-shadow: none;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a {
  color: #cdc3d6 !important;
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a::after {
  right: 1em;
  bottom: 16px;
  left: 1em;
  height: 2px;
  background: #7a3fd1;
}

body .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: #e7e0eb !important;
}

body .main-navigation .primary-menu-container > ul > li.menu-item:last-child > a {
  min-height: 40px;
  border: 1px solid rgba(122, 63, 209, 0.7);
  border-radius: 8px;
  background: #7a3fd1;
  color: #e7e0eb !important;
  padding: 0 22px !important;
  box-shadow: none;
}

body .main-navigation .primary-menu-container > ul > li.menu-item:last-child > a:hover {
  background: #9b6ee7;
  color: #0d0b12 !important;
  opacity: 0.92;
}

.klg-stitch-home {
  --stitch-obsidian: #0d0b12;
  --stitch-background: #141219;
  --stitch-graphite: #17131f;
  --stitch-surface-low: #1d1a22;
  --stitch-surface: #211e26;
  --stitch-deep-plum: #21172e;
  --stitch-aubergine: #3a2f43;
  --stitch-purple: #7a3fd1;
  --stitch-violet: #9b6ee7;
  --stitch-soft-violet: #a77af3;
  --stitch-lilac: #d9c0ff;
  --stitch-on-surface: #e7e0eb;
  --stitch-on-variant: #cdc3d6;
  --stitch-slate: #6d667a;
  --stitch-outline: #968d9f;
  --stitch-brass: #b9965f;
  overflow: hidden;
  background: var(--stitch-obsidian);
  color: var(--stitch-on-surface);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

.klg-stitch-home *,
.klg-stitch-home *::before,
.klg-stitch-home *::after {
  box-sizing: border-box;
}

.klg-stitch-home h1,
.klg-stitch-home h2,
.klg-stitch-home h3,
.klg-stitch-home p,
.klg-stitch-home ul {
  margin: 0 !important;
  letter-spacing: 0;
}

.klg-stitch-home a {
  color: inherit;
  text-decoration: none;
}

.klg-stitch-hero {
  position: relative;
  display: flex;
  min-height: calc(90vh - 80px);
  align-items: center;
  padding: 84px 0 96px;
  background: var(--stitch-obsidian);
  overflow: hidden;
}

.klg-stitch-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(122, 63, 209, 0.15) 0, rgba(122, 63, 209, 0.08) 26%, transparent 68%);
  pointer-events: none;
}

.klg-stitch-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.klg-stitch-hero-copy {
  grid-column: span 6;
  display: grid;
  gap: 32px;
}

.klg-stitch-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 999px;
  background: var(--stitch-graphite);
  padding: 7px 12px;
  color: var(--stitch-soft-violet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.klg-stitch-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stitch-purple);
  animation: klg-stitch-pulse 1.8s ease-in-out infinite;
}

.klg-stitch-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--stitch-on-surface) 0%, var(--stitch-lilac) 100%);
  background-clip: text;
  color: transparent;
  font-size: 4.75rem;
  font-weight: 300;
  line-height: 1.1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.klg-stitch-hero-copy p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--stitch-on-variant);
  font-size: 1.125rem;
  line-height: 1.6;
}

.klg-stitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}

.klg-stitch-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 15px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.klg-stitch-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.klg-stitch-button-primary {
  border: 1px solid rgba(122, 63, 209, 0.72);
  background: var(--stitch-purple);
  color: var(--stitch-on-surface);
}

.klg-stitch-button-primary:hover {
  background: var(--stitch-violet);
  color: var(--stitch-obsidian);
  box-shadow: 0 0 30px rgba(122, 63, 209, 0.28);
}

.klg-stitch-button-secondary {
  border: 1px solid var(--stitch-brass);
  color: var(--stitch-brass);
}

.klg-stitch-button-secondary:hover {
  background: rgba(185, 150, 95, 0.1);
  color: var(--stitch-lilac);
}

.klg-stitch-hero-panel {
  position: relative;
  grid-column: span 6;
}

.klg-stitch-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 8px;
  background: rgba(23, 19, 31, 0.62);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.38);
}

.klg-stitch-hero-media img,
.klg-stitch-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 500ms ease, transform 500ms ease;
}

.klg-stitch-hero-media:hover img,
.klg-stitch-post-card:hover .klg-stitch-post-image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.klg-stitch-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(13, 11, 18, 0.42));
  pointer-events: none;
}

.klg-stitch-orb {
  display: none;
}

.klg-stitch-focus {
  border-top: 1px solid var(--stitch-aubergine);
  border-bottom: 1px solid var(--stitch-aubergine);
  background: var(--stitch-obsidian);
  padding: 32px 0;
}

.klg-stitch-focus-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(231, 224, 235, 0.62);
}

.klg-stitch-focus-row span {
  color: var(--stitch-on-variant);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.klg-stitch-focus-row strong {
  color: rgba(231, 224, 235, 0.7);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 180ms ease, transform 180ms ease;
}

.klg-stitch-focus-row strong:hover {
  color: var(--stitch-lilac);
  transform: translateY(-2px);
}

.klg-stitch-focus-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stitch-aubergine);
}

.klg-stitch-applied,
.klg-stitch-blog {
  background: var(--stitch-obsidian);
  padding: 160px 0;
}

.klg-stitch-applied-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  gap: 64px;
  align-items: center;
}

.klg-stitch-applied h2,
.klg-stitch-section-head h2,
.klg-stitch-final h2 {
  color: var(--stitch-on-surface);
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
}

.klg-stitch-applied h2 {
  max-width: 660px;
  margin-bottom: 32px;
}

.klg-stitch-stack {
  display: grid;
  gap: 8px;
}

.klg-stitch-glass-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 8px;
  background: rgba(23, 19, 31, 0.62);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.klg-stitch-glass-card:hover,
.klg-stitch-pillar-card:hover {
  border-color: rgba(122, 63, 209, 0.55);
  background: var(--stitch-graphite);
  transform: translateY(-4px);
}

.klg-stitch-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--stitch-deep-plum);
  color: var(--stitch-purple);
}

.klg-stitch-glass-card h3 {
  margin-bottom: 8px;
  color: var(--stitch-on-surface);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.klg-stitch-glass-card p,
.klg-stitch-pillar-card p,
.klg-stitch-section-head p,
.klg-stitch-blog-head p,
.klg-stitch-post-card p,
.klg-stitch-final p,
.klg-stitch-footer p {
  color: var(--stitch-on-variant);
  font-size: 1rem;
  line-height: 1.6;
}

.klg-stitch-system-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 8px;
  background: var(--stitch-graphite);
  padding: 8px;
}

.klg-stitch-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(#3a2f43 1px, transparent 1px), linear-gradient(90deg, #3a2f43 1px, transparent 1px);
  background-size: 40px 40px;
}

.klg-stitch-system-inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.klg-stitch-system-top,
.klg-stitch-metrics {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.klg-stitch-system-top span {
  display: block;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: var(--stitch-purple);
}

.klg-stitch-system-top em {
  color: var(--stitch-slate);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-style: normal;
}

.klg-stitch-core {
  display: grid;
  flex: 1;
  place-items: center;
}

.klg-stitch-core > div {
  display: grid;
  width: 192px;
  height: 192px;
  place-items: center;
  border: 2px dashed var(--stitch-aubergine);
  border-radius: 50%;
  animation: klg-stitch-spin 20s linear infinite;
}

.klg-stitch-core > div > div {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 2px solid rgba(122, 63, 209, 0.32);
  border-radius: 50%;
  animation: klg-stitch-spin 10s linear infinite reverse;
}

.klg-stitch-core strong {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--stitch-purple);
  box-shadow: 0 0 40px rgba(122, 63, 209, 0.5);
}

.klg-stitch-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.klg-stitch-metrics div {
  display: grid;
  min-height: 48px;
  align-content: center;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 4px;
  background: rgba(23, 19, 31, 0.62);
  padding: 8px 14px;
}

.klg-stitch-metrics span {
  color: var(--stitch-slate);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.klg-stitch-metrics strong {
  color: var(--stitch-soft-violet);
  font-size: 0.92rem;
}

.klg-stitch-pillars {
  background: rgba(33, 23, 46, 0.22);
  padding: 160px 0;
}

.klg-stitch-section-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}

.klg-stitch-section-head h2 {
  margin-bottom: 24px;
}

.klg-stitch-section-head p {
  font-size: 1.125rem;
}

.klg-stitch-card-grid,
.klg-stitch-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.klg-stitch-pillar-card {
  display: flex;
  min-height: 428px;
  flex-direction: column;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 8px;
  background: rgba(23, 19, 31, 0.62);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.klg-stitch-card-featured {
  border-color: rgba(122, 63, 209, 0.42);
}

.klg-stitch-pillar-card > span {
  margin-bottom: 48px;
  color: var(--stitch-purple);
  font-size: 2.5rem;
}

.klg-stitch-pillar-card h3 {
  margin-bottom: 16px;
  color: var(--stitch-on-surface);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

.klg-stitch-pillar-card ul {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.klg-stitch-pillar-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stitch-slate);
  font-size: 0.9rem;
}

.klg-stitch-pillar-card li::before {
  content: "check_circle";
  color: var(--stitch-outline);
  font-family: "Material Symbols Outlined";
  font-size: 1rem;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.klg-stitch-blog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.klg-stitch-blog-head h2 {
  margin-bottom: 8px;
  color: var(--stitch-on-surface);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
}

.klg-stitch-blog-head a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--stitch-purple);
  padding-bottom: 4px;
  color: var(--stitch-purple);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.klg-stitch-blog-head a:hover {
  color: var(--stitch-lilac);
  transform: translateY(-2px);
}

.klg-stitch-blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.klg-stitch-post-card {
  cursor: default;
}

.klg-stitch-post-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 8px;
  background: var(--stitch-graphite);
  margin-bottom: 24px;
}

.klg-stitch-post-image img {
  opacity: 0.62;
}

.klg-stitch-post-image span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--stitch-aubergine);
  border-radius: 4px;
  background: rgba(13, 11, 18, 0.82);
  color: var(--stitch-lilac);
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.klg-stitch-post-card h3 {
  margin-bottom: 12px;
  color: var(--stitch-on-surface);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  transition: color 180ms ease;
}

.klg-stitch-post-card:hover h3 {
  color: var(--stitch-purple);
}

.klg-stitch-post-card small {
  display: block;
  margin-top: 16px;
  color: var(--stitch-slate);
  font-size: 0.82rem;
}

.klg-stitch-final {
  border-top: 1px solid var(--stitch-aubergine);
  background: var(--stitch-graphite);
  padding: 160px 0;
}

.klg-stitch-final-box {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.klg-stitch-final h2 {
  margin-bottom: 32px;
}

.klg-stitch-final p {
  max-width: 620px;
  margin-bottom: 40px;
  font-size: 1.125rem;
}

.klg-stitch-final small {
  display: block;
  margin-top: 20px;
  color: var(--stitch-slate);
  font-size: 0.9rem;
  font-style: italic;
}

.klg-stitch-footer {
  border-top: 1px solid var(--stitch-aubergine);
  background: var(--stitch-obsidian);
  padding: 80px 0;
}

.klg-stitch-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 8px;
}

.klg-stitch-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.klg-stitch-footer-brand img {
  width: 228px;
  height: auto;
  object-fit: contain;
}

.klg-stitch-footer-brand strong {
  color: var(--stitch-on-surface);
  font-size: 1.2rem;
}

.klg-stitch-footer p {
  max-width: 420px;
  margin-bottom: 0;
}

.klg-stitch-footer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.klg-stitch-footer h4 {
  margin: 0 0 8px;
  color: var(--stitch-purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.klg-stitch-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--stitch-on-variant);
  transition: color 180ms ease, transform 180ms ease;
}

.klg-stitch-footer a:hover {
  color: var(--stitch-on-surface);
  transform: translateX(4px);
}

.klg-stitch-footer small {
  display: block;
  margin-top: 24px;
  border-top: 1px solid var(--stitch-aubergine);
  padding-top: 24px;
  color: var(--stitch-on-variant);
  font-size: 0.78rem;
  line-height: 1.5;
}

@keyframes klg-stitch-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes klg-stitch-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .klg-stitch-hero {
    min-height: auto;
    padding: 88px 0;
  }

  .klg-stitch-hero-grid {
    grid-template-columns: 1fr;
  }

  .klg-stitch-hero-copy,
  .klg-stitch-hero-panel {
    grid-column: auto;
  }

  .klg-stitch-hero-copy h1,
  .klg-stitch-applied h2,
  .klg-stitch-section-head h2,
  .klg-stitch-final h2 {
    font-size: 3.75rem;
  }

  .klg-stitch-applied-grid {
    grid-template-columns: 1fr;
  }

  .klg-stitch-card-grid {
    grid-template-columns: 1fr;
  }

  .klg-stitch-pillar-card {
    min-height: auto;
  }

  .klg-stitch-footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  body .site-branding .site-title,
  body .site-branding .site-title a {
    font-size: 0;
  }

  body .site-branding .site-title::before {
    width: 168px;
    height: 45px;
  }

  .klg-container {
    padding-inline: 20px;
  }

  .klg-stitch-hero {
    padding: 64px 0 72px;
  }

  .klg-stitch-hero-grid,
  .klg-stitch-applied-grid {
    gap: 40px;
  }

  .klg-stitch-hero-copy {
    gap: 24px;
  }

  .klg-stitch-hero-copy h1 {
    font-size: 3rem;
  }

  .klg-stitch-hero-copy p,
  .klg-stitch-section-head p,
  .klg-stitch-final p {
    font-size: 1rem;
  }

  .klg-stitch-actions,
  .klg-stitch-button {
    width: 100%;
  }

  .klg-stitch-focus-row {
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .klg-stitch-focus-row span {
    width: 100%;
  }

  .klg-stitch-focus-row i {
    display: none;
  }

  .klg-stitch-applied,
  .klg-stitch-pillars,
  .klg-stitch-blog,
  .klg-stitch-final {
    padding: 80px 0;
  }

  .klg-stitch-applied h2,
  .klg-stitch-section-head h2,
  .klg-stitch-final h2 {
    font-size: 3rem;
  }

  .klg-stitch-glass-card {
    grid-template-columns: 1fr;
  }

  .klg-stitch-system-inner {
    padding: 22px;
  }

  .klg-stitch-core > div {
    width: 156px;
    height: 156px;
  }

  .klg-stitch-core > div > div {
    width: 104px;
    height: 104px;
  }

  .klg-stitch-core strong {
    width: 54px;
    height: 54px;
  }

  .klg-stitch-metrics {
    grid-template-columns: 1fr;
  }

  .klg-stitch-blog-head {
    display: grid;
    align-items: start;
  }

  .klg-stitch-blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .klg-stitch-post-card h3,
  .klg-stitch-pillar-card h3 {
    font-size: 1.55rem;
  }

  .klg-stitch-footer {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .klg-stitch-home *,
  .klg-stitch-home *::before,
  .klg-stitch-home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
