.home-sectors {
  color: var(--prime-ink);
  background: var(--prime-paper);
}

.home-sector-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 36px;
  margin-bottom: 48px;
}
.home-sector-heading h2 { max-width: 590px; }
.home-sector-link,
.sector-guide-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: inherit;
  font-weight: 530;
  text-decoration: none;
  text-underline-offset: .23em;
}
.home-sector-link { flex: none; min-height: 44px; }
.home-sector-link:is(:hover, :focus-visible),
.sector-guide-links a:is(:hover, :focus-visible) { text-decoration: underline; }

.home-sector-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}
.home-sector-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(325px, 34vw, 440px);
  padding: clamp(23px, 2vw, 30px);
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background: var(--prime-night);
  text-decoration: none;
}
.home-sector-card--wide { grid-column: span 7; }
.home-sector-card--compact { grid-column: span 5; }
.home-sector-card--full {
  grid-column: 1 / -1;
  min-height: clamp(325px, 32vw, 400px);
}
.home-sector-card img,
.home-sector-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.home-sector-card img {
  object-fit: cover;
  transition: transform .35s ease;
}
.home-sector-card--full img { object-position: center 46%; }
.home-sector-card::after {
  content: "";
  background: linear-gradient(0deg, rgb(23 28 31 / .93), rgb(23 28 31 / .75) 59%, rgb(23 28 31 / .10));
}
.home-sector-card:focus-visible { outline-offset: 2px; }
.home-sector-card:is(:hover, :focus-visible) img { transform: scale(1.035); }
.home-sector-copy { max-width: min(100%, 500px); }
.home-sector-copy .home-sector-meta {
  margin-bottom: 8px;
  color: var(--sif-paper);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.home-sector-copy h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.home-sector-copy h3 + p {
  max-width: 37ch;
  margin-top: 10px;
  color: var(--sif-paper);
  font-size: .94rem;
  line-height: 1.55;
}
.home-sector-arrow {
  position: absolute;
  inset: 22px 22px auto auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--prime-ink);
  background: var(--sif-paper);
}
.home-sector-arrow .catalog-arrow {
  transform: rotate(-36deg);
  transition: transform .22s ease;
}
.home-sector-card:is(:hover, :focus-visible) .home-sector-arrow .catalog-arrow { transform: rotate(0); }

.home-sector-credits {
  margin-top: 16px;
  color: var(--sif-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.home-sector-credits summary { width: fit-content; padding-block: 6px; cursor: pointer; }
.home-sector-credits ul { padding-inline-start: 1.2em; }
.home-sector-credits p { margin-top: 8px; }
.home-sector-credits a { color: var(--sif-link); }

.home-ecosystem {
  color: var(--sif-ink);
  background: var(--sif-surface);
}
.home-ecosystem-intro h2 { max-width: 575px; }
.home-ecosystem-intro p {
  max-width: 735px;
  margin-top: 25px;
  color: var(--sif-muted);
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
  line-height: 1.57;
}
.home-ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(172px, 16.67vw, 240px) minmax(0, 1fr);
  gap: 18px;
  margin-top: 49px;
}
.home-ecosystem-hub {
  grid-area: 1 / 2 / span 3;
  align-self: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  aspect-ratio: 1;
  min-width: 0;
  padding: 22px;
  border: 2px solid var(--prime-lime);
  border-radius: 50%;
  background: var(--sif-paper);
  text-align: center;
}
.home-ecosystem-hub img {
  width: min(100%, 176px);
  height: auto;
}
.home-ecosystem-hub p {
  color: var(--prime-lime);
  font-size: .93rem;
  line-height: 1.4;
}
.home-ecosystem-node {
  grid-column: 3;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 125px;
  padding: 20px clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--sif-line);
  border-radius: 13px;
  background: var(--sif-paper);
}
.home-ecosystem-node--left {
  grid-column: 1;
  flex-direction: row-reverse;
  text-align: right;
}
.home-ecosystem-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--prime-lime);
  background: var(--sif-surface);
  border: 1px solid var(--sif-line);
}
.home-ecosystem-icon svg { width: 22px; height: 22px; }
.home-ecosystem-node h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 680;
  letter-spacing: -.022em;
  line-height: 1.2;
}
.home-ecosystem-node p {
  margin-top: 8px;
  color: var(--sif-muted);
  font-size: .93rem;
  line-height: 1.5;
}
.home-ecosystem-note {
  width: fit-content;
  max-width: min(100%, 690px);
  margin: 37px auto 0;
  padding: 16px 24px;
  border: 1px solid var(--sif-line);
  border-radius: 100px;
  color: var(--sif-muted);
  background: var(--sif-paper);
  text-align: center;
  font-size: .94rem;
  line-height: 1.5;
}
.home-ecosystem-note strong { color: var(--prime-lime); }
.home-ecosystem-cta {
  display: flex;
  margin: 29px auto 0;
}

.sector-guide-index {
  background: var(--prime-stone);
  border-bottom: 1px solid var(--line);
}
.sector-guide-index ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 18px;
  padding: 14px 0;
  list-style: none;
}
.sector-guide-index a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
  text-underline-offset: .24em;
  font-weight: 590;
}
.sector-guide-index a:is(:hover, :focus-visible) { text-decoration: underline; }
.sector-guide > section:nth-child(even) { background: var(--prime-stone); }
.sector-guide-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
}
.sector-guide > section:nth-child(even) .sector-guide-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.sector-guide > section:nth-child(even) .sector-guide-row img { grid-area: 1 / 1; }
.sector-guide-row img {
  width: 100%;
  aspect-ratio: 1.4;
  border-radius: 22px;
  object-fit: cover;
}
.sector-guide-row p {
  max-width: 59ch;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.sector-guide-row p strong { color: var(--prime-ink); font-weight: 750; }
.sector-guide-links {
  display: grid;
  gap: 9px;
  margin-top: 23px;
  padding: 0;
  list-style: none;
}
.sector-guide-links a::after {
  content: "→";
  color: var(--prime-deep);
}

@media (max-width: 950px) {
  .home-ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-ecosystem-hub {
    grid-area: 1 / 1 / auto / -1;
    justify-self: center;
    width: 184px;
    margin: 14px 0 25px;
  }
  .home-ecosystem-node { grid-column: auto; }
  .home-ecosystem-node--left { flex-direction: row; text-align: left; }
}

@media (max-width: 720px) {
  .home-sector-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .home-sector-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-sector-card { grid-column: 1; min-height: 360px; padding: 22px; border-radius: 19px; }
  .home-sector-card--full { min-height: 400px; }
  .home-sector-arrow { inset: 17px 17px auto auto; width: 42px; height: 42px; }
  .home-ecosystem-intro p { margin-top: 17px; }
  .home-ecosystem-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 30px; }
  .home-ecosystem-hub { grid-area: auto; width: 170px; margin: 15px 0 25px; }
  .home-ecosystem-node { min-height: 0; padding: 17px 16px; }
  .home-ecosystem-note { margin-top: 25px; border-radius: 19px; }
  .home-ecosystem-cta { margin-top: 23px; }
  .sector-guide-index ul { justify-content: flex-start; }
  .sector-guide-row,
  .sector-guide > section:nth-child(even) .sector-guide-row { grid-template-columns: minmax(0, 1fr); }
  .sector-guide > section:nth-child(even) .sector-guide-row img { grid-area: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-sector-card img,
  .home-sector-arrow .catalog-arrow { transition: none; }
}
