.page-home {
  --home-rule: color-mix(in srgb, var(--ink) 16%, transparent);
  --home-rule-strong: color-mix(in srgb, var(--ink) 34%, transparent);
  --home-panel: var(--surface);
  --home-panel-soft: var(--surface-soft);
  --home-focus: var(--accent);
  --home-muted-readable: color-mix(in srgb, var(--muted) 78%, var(--ink));
  --home-route-surface: #08775f;
  --home-route-accent: #08775f;
  --home-route-ink: #f6fbf8;
  --home-route-muted: #dfeee9;
  --home-route-rule: rgba(246, 251, 248, .24);
  --home-tab-active-bg: #10130f;
  --home-tab-active-ink: #f6fbf8;
  --home-tab-active-border: #10130f;
}

html[data-view-mode="kinetic"] .page-home {
  --home-route-surface: #135847;
  --home-route-accent: #c9f54a;
  --home-route-muted: #d7e7df;
  --home-tab-active-bg: #c9f54a;
  --home-tab-active-ink: #10130f;
  --home-tab-active-border: #c9f54a;
}

html[data-view-mode="current"] .page-home .home-hero {
  --hero-accent: #08775f;
  --hero-bg: var(--surface-soft);
  color: var(--ink);
  border-color: var(--home-rule-strong);
  background: var(--surface-soft);
}

html[data-view-mode="current"] .page-home .home-hero::before {
  background:
    linear-gradient(90deg, rgba(248, 250, 247, .99) 0%, rgba(248, 250, 247, .98) 30%, rgba(248, 250, 247, .88) 44%, rgba(248, 250, 247, .18) 64%, transparent 100%),
    linear-gradient(0deg, rgba(248, 250, 247, .74) 0%, transparent 27%);
}

html[data-view-mode="current"] .page-home .home-hero h1 {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home .home-hero p {
  color: var(--text);
}

html[data-view-mode="current"] .page-home .home-hero .button.primary {
  color: #ffffff;
  border-color: #08775f;
  background: #08775f;
  box-shadow: 0 14px 34px rgba(8, 119, 95, .16);
}

html[data-view-mode="current"] .page-home .home-hero .button.primary:is(:hover, :focus-visible),
html[data-view-mode="current"] .page-home .home-hero .button.secondary:is(:hover, :focus-visible) {
  color: #ffffff;
  border-color: #065f4c;
  background: #065f4c;
}

html[data-view-mode="current"] .page-home .home-hero .button.secondary {
  color: var(--ink);
  border-color: var(--home-rule-strong);
  background: rgba(255, 255, 255, .86);
}

html[data-view-mode="current"] .page-home .home-hero-stages {
  border-top-color: var(--home-rule-strong);
  background: rgba(255, 255, 255, .94);
}

html[data-view-mode="current"] .page-home .home-hero-stages li {
  border-color: var(--home-rule);
}

html[data-view-mode="current"] .page-home .home-hero-stages a {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home .home-hero-stages a span {
  color: var(--muted);
}

html[data-view-mode="current"] .page-home .home-hero-stages a:is(:hover, :focus-visible) {
  background: transparent;
}

html[data-view-mode="current"] .page-home :is(
  .home-hero-node,
  .home-hero-stages a,
  .home-hero .button
):focus-visible {
  outline: 3px solid #08775f;
  outline-offset: 3px;
}

html[data-view-mode="current"] .page-home :is(
  .site-header a,
  .site-header button,
  .site-footer a,
  .site-footer button,
  .footer-accordion-trigger
):focus-visible {
  outline: 3px solid #08775f !important;
  outline-offset: 3px;
}

html[data-view-mode="current"] .page-home .home-decision-detail :is(a, button):focus-visible {
  outline-color: var(--home-route-ink);
}

html[data-view-mode="current"] .page-home .mobile-nav-request {
  color: #ffffff;
}

html[data-view-mode="current"] .page-home .site-footer {
  color: var(--text);
  border-top: 1px solid var(--home-rule-strong);
  background: var(--surface);
}

html[data-view-mode="current"] .page-home .footer-license {
  border-color: var(--home-rule-strong);
}

html[data-view-mode="current"] .page-home .footer-license-copy > span {
  color: #08775f;
}

html[data-view-mode="current"] .page-home .footer-license-copy strong,
html[data-view-mode="current"] .page-home .footer-license-actions a {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home .footer-license-copy p {
  color: var(--text);
}

html[data-view-mode="current"] .page-home .footer-license-actions a:is(:hover, :focus-visible) {
  color: #065f4c;
}

html[data-view-mode="current"] .page-home .footer-logo {
  content: url("../brand/competence-logo-original.svg");
}

html[data-view-mode="current"] .page-home :is(
  .footer-company p,
  .footer-address,
  .footer-address a,
  .footer-column a,
  .footer-policy a,
  .footer-policy [data-analytics-settings],
  .footer-bottom a,
  .footer-bottom span:last-child
) {
  color: var(--text);
}

html[data-view-mode="current"] .page-home :is(
  .footer-column h2,
  .footer-bottom span:first-child,
  .footer-accordion-toggle
) {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home :is(.footer-policy, .site-footer.footer-accordion-ready .footer-column) {
  border-color: var(--home-rule);
}

html[data-view-mode="current"] .page-home .footer-monobrand-sites {
  border-color: var(--home-rule-strong);
}

html[data-view-mode="current"] .page-home .footer-monobrand-summary-copy > span:first-child,
html[data-view-mode="current"] .page-home .footer-monobrand-list a > span:last-child {
  color: #08775f;
}

html[data-view-mode="current"] .page-home .footer-monobrand-title,
html[data-view-mode="current"] .page-home .footer-monobrand-list a {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home .footer-monobrand-count,
html[data-view-mode="current"] .page-home .footer-monobrand-panel > p {
  color: var(--text);
}

html[data-view-mode="current"] .page-home .footer-monobrand-list a:is(:hover, :focus-visible) {
  color: #065f4c;
  text-decoration-color: #08775f;
}

html[data-view-mode="current"] .page-home :is(.footer-badges span, .footer-socials a) {
  border-color: var(--home-rule-strong);
  background: var(--home-panel-soft);
}

html[data-view-mode="current"] .page-home .footer-socials .footer-social-link {
  border-color: var(--home-rule-strong);
  background: var(--home-panel-soft);
  box-shadow: none;
}

html[data-view-mode="current"] .page-home .footer-socials .footer-social-link::before {
  border-color: var(--home-rule);
}

html[data-view-mode="current"] .page-home .footer-socials .footer-social-link:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--social-accent) 10%, var(--surface));
}

html[data-view-mode="current"] .page-home :is(
  .footer-address a,
  .footer-column a,
  .footer-policy a,
  .footer-policy [data-analytics-settings],
  .footer-bottom a
):is(:hover, :focus-visible) {
  color: var(--ink);
}

html[data-view-mode="current"] .page-home .footer-accordion-chevron {
  border-color: var(--muted);
}

html[data-view-mode="current"] .page-home .footer-column.is-open .footer-accordion-chevron {
  border-color: var(--ink);
}

.page-home .home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-home .home-hero .button.secondary {
  min-height: 54px;
  padding-inline: 24px;
  color: #f7f8f3;
  border-color: rgba(247, 248, 243, .36);
  border-radius: 999px;
  background: rgba(8, 10, 11, .62);
}

.page-home .home-hero .button.secondary:is(:hover, :focus-visible) {
  color: #0d1108;
  border-color: var(--hero-accent);
  background: var(--hero-accent);
}

.page-home .home-hero-node.is-system-active {
  color: #e8ff99;
  border-color: transparent;
  background: transparent;
}

.page-home .home-hero-node.is-system-active .home-hero-node-dot {
  border-color: #c9f54a;
  background: #c9f54a;
  box-shadow: 0 0 0 6px rgba(201, 245, 74, .17), 0 0 22px rgba(201, 245, 74, .52);
}

.page-home .home-hero-stages a.is-route-preview,
.page-home .home-hero-stages a.is-route-active {
  color: var(--hero-copy-ink);
  background: transparent;
}

.page-home .home-hero-stages a.is-route-preview::after,
.page-home .home-hero-stages a.is-route-active::after {
  background: transparent;
}

.page-home .home-hero-stages a[aria-current="step"] span {
  color: #fff;
  background: #08775f;
}

html[data-view-mode="kinetic"] .page-home .home-hero-stages a[aria-current="step"] span {
  color: #0d1108;
  background: var(--hero-accent);
}

@media (min-width: 1181px) {
  .page-home .home-hero-node,
  .page-home .home-hero-node--datacenter,
  .page-home .home-hero-node--dispatch,
  .page-home .home-hero-node--power,
  .page-home .home-hero-node--software {
    padding-inline: 0;
    color: #f7f8f3;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-home :is(
    .home-hero-node,
    .home-hero-node--datacenter,
    .home-hero-node--dispatch,
    .home-hero-node--power,
    .home-hero-node--software
  ):is(.is-system-active, :hover, :focus-visible) {
    color: #e8ff99;
    border-color: transparent;
    background: transparent;
  }
}

.home-decision,
.home-projects {
  width: min(calc(100% - 24px), 1600px);
  margin-inline: auto;
  color: var(--ink);
}

.home-decision {
  padding: 20px clamp(18px, 4vw, 64px) clamp(36px, 5vw, 72px);
  border: 0;
  background: var(--home-panel-soft);
  scroll-margin-top: 112px;
}

.home-section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-project-next h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.home-project-next p {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.home-decision-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: thin;
}

.home-decision-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 24px;
  color: var(--text);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 680;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.home-decision-tabs button::after {
  display: none;
}

.home-decision-tabs button[aria-selected="true"] {
  color: var(--home-tab-active-ink);
  background: var(--home-tab-active-bg);
}

.home-decision-tabs button:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--home-route-accent) 9%, var(--home-panel-soft));
}

.home-decision-tabs button[aria-selected="true"]:is(:hover, :focus-visible) {
  background: var(--home-tab-active-bg);
}

.home-decision-tabs button:active {
  transform: translateY(1px);
}

.home-decision-tabs button:focus-visible,
.home-decision-choice:focus-visible,
.home-decision-detail a:focus-visible,
.home-decision-detail button:focus-visible,
.home-projects a:focus-visible,
.home-final-actions a:focus-visible,
.home-final-actions button:focus-visible {
  outline: 2px solid var(--home-focus);
  outline-offset: 3px;
}

.home-decision-panel {
  margin-top: 20px;
}

.home-decision-panel[hidden],
.home-decision-detail[hidden] {
  display: none !important;
}

.home-decision-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(16px, 2vw, 28px);
  min-height: 560px;
}

.home-decision-master {
  padding: 14px;
  border: 0;
  border-radius: 28px;
  background: var(--home-panel);
}

.home-decision-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 16px 20px;
  gap: 18px;
  color: var(--text);
  border: 0;
  border-radius: 16px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-decision-choice-arrow {
  color: currentColor;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform .2s ease;
}

.home-decision-choice > strong {
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 650;
  line-height: 1.28;
}

.home-decision-choice:hover {
  background: var(--home-panel-soft);
}

.home-decision-choice:is(:hover, .is-active) .home-decision-choice-arrow {
  transform: translate(2px, -2px);
}

.home-decision-choice.is-active {
  color: var(--home-route-accent);
  background: color-mix(in srgb, var(--home-route-accent) 6%, var(--home-panel));
  box-shadow: inset 4px 0 0 var(--home-route-accent);
}

.home-decision-choice.is-active > strong {
  color: var(--home-route-accent);
}

.home-decision-details {
  min-width: 0;
  padding: clamp(32px, 4vw, 64px);
  border-radius: 30px;
  background: var(--home-route-surface);
  color: var(--home-route-ink);
  box-shadow: 0 24px 54px rgba(6, 63, 51, .14);
}

.home-decision-detail {
  max-width: 940px;
  scroll-margin-top: 88px;
}

.home-decision-detail:focus-visible {
  outline: 2px solid var(--home-route-ink);
  outline-offset: 8px;
}

.home-decision-detail > span {
  display: block;
  margin-bottom: 32px;
  color: var(--home-route-muted);
  font-size: 12px;
  font-weight: 700;
}

.home-decision-detail h3 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--home-route-ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 660;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.home-decision-detail > p {
  max-width: 780px;
  margin: 0 0 36px;
  color: var(--home-route-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.home-decision-detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(28px, 4vw, 54px);
  margin: 0 0 36px;
  border: 0;
}

.home-decision-detail dl > div {
  padding: 0;
  border: 0;
}

.home-decision-detail dl > div:nth-child(even) {
  padding-left: 0;
  border-left: 0;
}

.home-decision-detail dt {
  margin-bottom: 6px;
  color: var(--home-route-muted);
  font-size: 12px;
  font-weight: 700;
}

.home-decision-detail dd {
  margin: 0;
  color: var(--home-route-ink);
  font-size: 15px;
  line-height: 1.45;
}

.home-decision-actions,
.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.home-decision-actions .button,
.home-final-actions .button {
  min-height: 48px;
}

.home-decision-actions .button.primary {
  color: #f7f8f3;
  border-color: #10130f;
  background: #10130f;
  box-shadow: none;
}

.home-decision-actions .button.primary:is(:hover, :focus-visible) {
  color: #10130f;
  border-color: var(--home-route-ink);
  background: var(--home-route-ink);
}

.home-projects {
  margin-block: 24px;
  padding: clamp(32px, 5vw, 64px);
  border: 0;
  background: var(--home-panel);
}

.home-projects-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.home-projects-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.home-projects-head p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}

.home-projects-head > a {
  min-height: 44px;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.home-projects-head > a:is(:hover, :focus-visible) {
  color: var(--accent);
}

.home-projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(24px, 3vw, 44px);
  border: 0;
}

.home-project-feature > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.home-project-feature figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--home-panel-soft);
}

.home-project-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-project-feature > a:is(:hover, :focus-visible) img {
  transform: scale(1.015);
}

.home-project-feature > a > div {
  padding: 28px 28px 32px 0;
}

.home-project-feature span,
.home-project-row > a > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 680;
}

.home-project-feature h3,
.home-project-row h3 {
  color: var(--ink);
  text-wrap: balance;
}

.home-project-feature h3 {
  max-width: 780px;
  margin: 10px 0 14px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.home-project-feature p,
.home-project-row p {
  color: var(--text);
  text-wrap: pretty;
}

.home-project-feature p {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.5;
}

.home-project-feature strong,
.home-project-row strong {
  color: var(--ink);
  font-size: 14px;
}

.home-project-list {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 0;
}

.home-project-row:not(:last-child) {
  border-bottom: 0;
}

.home-project-row > a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 20px;
  background: var(--home-panel-soft);
  color: inherit;
  text-decoration: none;
  transition: background .2s ease;
}

.home-project-row > a:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--home-route-accent) 8%, var(--home-panel-soft));
}

.home-project-row h3 {
  margin: 10px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
  line-height: 1.12;
}

.home-project-row p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.48;
}

.home-project-row strong {
  margin-top: auto;
}

.home-project-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding-top: clamp(38px, 5vw, 64px);
  color: var(--ink);
}

.home-project-next h2 {
  color: var(--ink);
}

.home-project-next p {
  margin-top: 16px;
  color: var(--text);
}

.home-project-next .button.secondary {
  color: var(--ink);
  border-color: transparent;
  background: var(--home-panel-soft);
}

.home-project-next .button.secondary:is(:hover, :focus-visible) {
  color: var(--ink);
  border-color: transparent;
  background: var(--home-panel-soft);
}

@media (max-width: 1040px) {
  .home-decision-layout {
    grid-template-columns: minmax(260px, 38%) minmax(0, 62%);
  }

  .home-decision-detail dl {
    grid-template-columns: 1fr;
  }

  .home-decision-detail dl > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .home-projects-head,
  .home-projects-layout,
  .home-project-next {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-project-list {
    border-top: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  html[data-view-mode="current"] .page-home .home-hero-copy {
    background: var(--surface-soft);
  }

  html[data-view-mode="current"] .page-home .home-hero .page-hero-media::after {
    background: linear-gradient(180deg, rgba(248, 250, 247, .22), transparent 30%, rgba(8, 10, 11, .12));
  }

  .page-home .home-hero h1 span {
    white-space: normal;
    overflow-wrap: normal;
  }

  .page-home .home-hero .hero-actions {
    display: grid;
  }

  .page-home .home-hero .button.secondary {
    width: 100%;
  }

  .home-decision,
  .home-projects {
    width: calc(100% - 24px);
  }

  .home-decision {
    padding-inline: 14px;
  }

  .home-decision-tabs button {
    min-width: 0;
    min-height: 52px;
    padding-inline: 14px;
    white-space: normal;
  }

  .home-decision-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .home-decision-tabs button:first-child {
    grid-column: 1 / -1;
  }

  .home-decision-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
  }

  .home-decision-master {
    padding: 8px;
    border-radius: 20px;
  }

  .home-decision-choice {
    min-height: 74px;
    padding-inline: 16px;
  }

  .home-decision-details {
    padding: 26px 18px 30px;
    border-radius: 22px;
  }

  .home-decision-detail > span {
    margin-bottom: 20px;
  }

  .home-decision-detail h3 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .home-decision-actions {
    display: grid;
  }

  .home-decision-actions .button {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .home-projects {
    padding-inline: 22px;
  }

  .home-projects-head {
    gap: 12px;
  }

  .home-projects-head > a {
    justify-self: start;
  }

  .home-project-feature > a > div {
    padding-right: 0;
  }

  .home-project-row > a {
    padding-inline: 0;
  }

  .home-final-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero-node,
  .page-home .home-hero-stages a,
  .home-decision-tabs button,
  .home-decision-choice {
    scroll-behavior: auto;
    transition: none !important;
  }

  .home-project-feature img {
    transition: none !important;
  }
}
