/**
 * Homepage — atelier / technical workshop visual system
 * Distinct from generic service templates. No purple / cream AI looks.
 */

/* ---- Buttons for home ---- */
.btn--heat {
  background: #f97316;
  color: #fff;
  border-radius: 0.375rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--heat:hover,
.btn--heat:focus-visible {
  background: #ea680c;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.375rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--line {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border-strong);
  border-radius: 0.375rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn--line:hover,
.btn--line:focus-visible {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ---- Full-bleed hero ---- */
.hero--bleed {
  position: relative;
  min-height: min(88vh, 46rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border-bottom: 0;
  background: #0b1220;
  overflow: hidden;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.78) 42%, rgba(11, 18, 32, 0.28) 72%, rgba(11, 18, 32, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.75) 0%, transparent 45%);
}

.hero__stage {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 12vw, 8rem) 2.5rem;
  max-width: var(--container-width);
}

.hero__copy--on-dark {
  max-width: 34rem;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hero__h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 700;
}

.hero__h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 1rem;
  background: #f97316;
}

.hero__lead {
  margin: 0;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.hero__actions {
  margin-top: 1.75rem;
}

.hero__rail {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(11, 18, 32, 0.88);
}

.hero__rail li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  padding: 1rem 1.15rem;
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
}

.hero__rail li:nth-child(2n) {
  border-right: 0;
}

.hero__rail-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #f97316;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .hero__rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero__rail li {
    border-bottom: 0;
    padding: 1.15rem 1.35rem;
  }

  .hero__rail li:nth-child(2n) {
    border-right: 1px solid rgba(148, 163, 184, 0.15);
  }

  .hero__rail li:last-child {
    border-right: 0;
  }
}

@media (max-width: 639px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ---- Section shells ---- */
.home-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.home-section--ink {
  background: #0b1220;
  color: #cbd5e1;
}

.home-section--ink h2,
.home-section--ink h3 {
  color: #fff;
}

.home-section--ink p,
.home-section--ink .section-intro {
  color: #94a3b8;
}

.home-section--ink .home-head__eye {
  color: #fdba74;
}

.home-section--ink .btn--line {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.4);
}

.home-section--ink .btn--line:hover,
.home-section--ink .btn--line:focus-visible {
  color: #fff;
  border-color: #fdba74;
}

.home-section--steel {
  background: #111c2e;
  color: #cbd5e1;
}

.home-section--steel h2,
.home-section--steel h3 {
  color: #fff;
}

.home-section--steel p,
.home-section--steel .home-head__eye {
  color: #94a3b8;
}

.home-section--steel .home-head__eye {
  color: #fdba74;
}

.home-section--mist {
  background: #f1f5f9;
}

.home-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.35rem;
  margin-bottom: 2rem;
  align-items: start;
  max-width: 44rem;
}

.home-head--stack {
  display: block;
  max-width: none;
}

.home-head--stack .home-head__idx {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.home-head__idx {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f97316;
  padding-top: 0.35rem;
}

.home-head__eye {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.home-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  letter-spacing: -0.03em;
}

.home-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.home-head--light .home-head__eye {
  color: #fdba74;
}

.home-head--light h2 {
  color: #fff;
}

.home-head--light p {
  color: #94a3b8;
}

.home-section--ink .home-head p,
.home-section--steel .home-head p {
  color: #94a3b8;
}

.home-foot {
  margin-top: 1.75rem;
}

/* ---- Trust rail ---- */
.trust-rail {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.75rem;
}

.trust-rail__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.trust-rail__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
}

.trust-rail__index {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f97316;
  padding-top: 0.2rem;
}

.trust-rail__title {
  font-size: 0.95rem;
  color: var(--color-primary);
}

.trust-rail__item p {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .trust-rail__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ---- Problem index ---- */
.problem-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.problem-index__row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0.15rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-decoration: none;
  color: #e2e8f0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.problem-index__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #94a3b8;
  width: 1.5rem;
}

.problem-index__icon {
  display: inline-flex;
  color: #94a3b8;
}

.problem-index__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.problem-index__go {
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.problem-index__row:hover,
.problem-index__row:focus-visible {
  color: #fff;
  padding-left: 0.35rem;
}

.problem-index__row:hover .problem-index__go,
.problem-index__row:focus-visible .problem-index__go {
  color: #f97316;
  transform: translateX(4px);
}

.problem-index__row:hover .problem-index__icon,
.problem-index__row:focus-visible .problem-index__icon {
  color: #f97316;
}

/* ---- Home services: JS-fixed pin + scroll-driven cards ---- */
.home-services {
  --hs-count: 6;
  position: relative;
  padding: 0;
  background: #f7f9fc;
  color: var(--color-text);
}

.home-services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(23, 105, 224, 0.04), transparent 58%),
    linear-gradient(180deg, #fafbfd 0%, #f3f6fa 100%);
}

.home-services__track {
  position: relative;
  z-index: 1;
  height: calc(var(--hs-count) * 100vh);
  height: calc(var(--hs-count) * 100dvh);
  height: calc(var(--hs-count) * 100svh);
}

/* Default absolute at track top; JS toggles is-fixed / is-end */
.home-services__pin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: calc(100vh - var(--header-offset, 5.5rem));
  min-height: calc(100dvh - var(--header-offset, 5.5rem));
  min-height: calc(100svh - var(--header-offset, 5.5rem));
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-block: 1.25rem;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(23, 105, 224, 0.04), transparent 58%),
    linear-gradient(180deg, #fafbfd 0%, #f3f6fa 100%);
}

.home-services__pin.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 50;
}

.home-services__pin.is-end {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
}

.home-services__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.home-services__aside {
  position: relative;
}

.home-services__intro {
  max-width: 28rem;
}

.home-services__intro .home-head__eye {
  color: #64748b;
}

.home-services__intro .home-head__idx {
  color: #f97316;
}

.home-services__intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1.15;
}

.home-services__lead {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

.home-services__seo {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.home-services__seo p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
}

.home-services__seo a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.home-services__seo a:hover,
.home-services__seo a:focus-visible {
  text-decoration: underline;
}

.home-services__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.home-services__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.home-services__dot.is-active {
  width: 1.65rem;
  background: #f97316;
}

.home-services__progress {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.home-services__progress [data-hs-current] {
  color: #f97316;
}

.home-services__all {
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}

.home-services__all:hover,
.home-services__all:focus-visible {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.home-services__stage {
  position: relative;
  display: grid;
  min-width: 0;
}

.home-services__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(1.25rem);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s;
  z-index: 0;
}

.home-services__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.home-services__card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.1rem;
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.1);
}

.home-services__panel.is-active .home-services__card {
  border-color: rgba(23, 105, 224, 0.35);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.14);
}

.home-services__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e2e8f0;
}

.home-services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-services__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 18, 32, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.home-services__body {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 1.2rem 1.35rem;
  color: #0b1220;
}

.home-services__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-services__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f97316;
}

.home-services__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: linear-gradient(165deg, #eff6ff, #e0ecff);
  color: var(--color-secondary);
}

.home-services__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
  color: #0b1220;
  line-height: 1.2;
}

.home-services__body p {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

.home-services__more {
  font-size: 0.875rem !important;
  color: #475569 !important;
}

.home-services__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.home-services__cta span {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.home-services__card:hover .home-services__cta span,
.home-services__card:focus-visible .home-services__cta span {
  transform: translateX(4px);
}

@media (min-width: 900px) {
  .home-services__shell {
    grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.45fr);
    gap: 2.25rem 2.5rem;
  }

  .home-services__card {
    grid-template-columns: 1.05fr 1fr;
    min-height: 18.5rem;
  }

  .home-services__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .home-services__body {
    padding: 1.6rem 1.5rem 1.7rem;
    align-content: center;
  }
}

@media (max-width: 899px) {
  .home-services__pin {
    align-items: flex-start;
  }

  .home-services__seo {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-services__panel,
  .home-services__dot,
  .home-services__cta span {
    transition: none;
  }

  .home-services__panel {
    transform: none;
  }
}

/* legacy bento kept harmless if unused */
.bento {
  display: none;
}

/* ---- Home districts ---- */
.home-districts {
  position: relative;
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
  background: #fff;
  overflow: hidden;
}

.home-districts__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(23, 105, 224, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(249, 115, 22, 0.05), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
}

.home-districts__inner {
  position: relative;
  z-index: 1;
}

.home-districts__head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.home-districts__title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.home-districts__title-row .home-head__eye {
  margin: 0 0 0.35rem;
}

.home-districts__title-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1.15;
}

.home-districts__badge {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.home-districts__badge span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f97316;
  text-transform: none;
}

.home-districts__lead {
  margin: 0 0 0.9rem;
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

.home-districts__seo {
  display: grid;
  gap: 0.65rem;
}

.home-districts__seo p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
}

.home-districts__seo a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.home-districts__seo a:hover,
.home-districts__seo a:focus-visible {
  text-decoration: underline;
}

.home-districts__toolbar {
  display: none;
}

.home-districts__tab {
  display: none;
}

.home-districts__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.home-districts__grid > li[hidden] {
  display: none !important;
}

.home-district {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1rem 1rem 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.95rem;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-district__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.7rem;
  background: linear-gradient(165deg, #eff6ff 0%, #e0ecff 100%);
  color: var(--color-secondary);
  flex-shrink: 0;
}

.home-district__body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.home-district__num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f97316;
}

.home-district__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}

.home-district__text {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.home-district__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.home-district:hover,
.home-district:focus-visible {
  border-color: rgba(23, 105, 224, 0.35);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.08);
  transform: translateY(-2px);
}

.home-district:hover .home-district__name,
.home-district:focus-visible .home-district__name {
  color: var(--color-secondary);
}

.home-district:hover .home-district__go,
.home-district:focus-visible .home-district__go {
  background: var(--color-secondary);
  color: #fff;
  transform: translateX(2px);
}

.home-districts__empty {
  display: none;
}

.home-districts__foot {
  margin: 1.5rem 0 0;
}

@media (min-width: 640px) {
  .home-districts__title-row {
    grid-template-columns: auto 1fr auto;
  }

  .home-districts__badge {
    grid-column: auto;
    justify-self: end;
    align-self: center;
  }

  .home-districts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .home-districts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .home-district {
    min-height: 6rem;
    padding: 1.1rem 1.1rem 1.1rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-district,
  .home-district__go,
  .home-districts__tab {
    transition: none;
  }

  .home-district:hover {
    transform: none;
  }
}

/* ---- Feature split ---- */
.feature-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.feature-split__media {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #0b1220;
}

.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

.feature-split__copy .home-head__idx {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.feature-split__copy h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.feature-split__copy p {
  margin: 0 0 1.35rem;
  max-width: 32rem;
  color: #94a3b8;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

/* ---- Issue cards ---- */
.issue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.issue-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 1.2rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.issue-card__icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.issue-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.issue-card h3 a {
  color: var(--color-primary);
  text-decoration: none;
}

.issue-card h3 a:hover,
.issue-card h3 a:focus-visible {
  color: var(--color-secondary);
}

.issue-card p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.issue-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  margin-top: 0.25rem;
}

@media (min-width: 700px) {
  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .issue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pulse-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: #0b1220;
  color: #fff;
}

.pulse-cta h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: var(--font-display);
}

.pulse-cta p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .pulse-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- Why atelier ---- */
.why-atelier {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.why-atelier__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e2e8f0;
}

.why-atelier__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-atelier__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.why-atelier__list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.why-atelier__list li > span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f97316;
  padding-top: 0.25rem;
}

.why-atelier__list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.why-atelier__list p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

@media (min-width: 960px) {
  .why-atelier {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

/* ---- Process spine ---- */
.spine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.spine__step {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}

.spine__step:last-child {
  padding-bottom: 0;
}

.spine__mark {
  position: absolute;
  left: -0.7rem;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #0b1220;
  border: 1px solid #f97316;
  color: #f97316;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.spine__step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.spine__step p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 28rem;
}

@media (min-width: 900px) {
  .spine {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    gap: 0;
  }

  .spine__step {
    padding: 1.75rem 1.25rem 0;
    border-right: 1px solid rgba(148, 163, 184, 0.15);
  }

  .spine__step:last-child {
    border-right: 0;
  }

  .spine__mark {
    left: 1.25rem;
    top: -0.7rem;
  }
}

.finale {
  max-width: 40rem;
  padding-block: 1rem 0.5rem;
}

.finale h2 {
  margin: 0.75rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.finale p {
  margin: 0;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
}

.finale__actions {
  margin-top: 1.75rem;
}

/* ---- Home brands logo gallery ---- */
.home-brands__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 8.25rem;
  padding: 1.1rem 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.9rem;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-brand__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.25rem;
}

.home-brand__logo img {
  max-width: 7.5rem;
  max-height: 2.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.home-brand__initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: linear-gradient(165deg, #f8fafc, #e8eef6);
  border: 1px solid #e2e8f0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-secondary);
}

.home-brand__meta {
  display: grid;
  gap: 0.15rem;
}

.home-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.home-brand__sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.home-brands__note {
  margin: 1.15rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
  max-width: 40rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-brand:hover {
    transform: translateY(-3px);
    border-color: rgba(23, 105, 224, 0.35);
    box-shadow: 0 12px 28px rgba(11, 18, 32, 0.08);
  }

  .home-brand:hover .home-brand__logo img {
    filter: none;
    opacity: 1;
    transform: scale(1.04);
  }

  .home-brand:hover .home-brand__name {
    color: var(--color-secondary);
  }
}

@media (min-width: 640px) {
  .home-brands__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .home-brand {
    min-height: 8.75rem;
  }
}

@media (min-width: 1024px) {
  .home-brands__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .home-brand {
    min-height: 9.25rem;
    padding: 1.25rem 0.85rem 1.1rem;
  }

  .home-brand__logo img {
    max-width: 8.25rem;
    max-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand,
  .home-brand__logo img {
    transition: none;
  }

  .home-brand:hover {
    transform: none;
  }
}

/* ---- Home SEO topics ---- */
.home-seo {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(23, 105, 224, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(249, 115, 22, 0.05), transparent 50%),
    #fff;
}

.home-seo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.home-seo__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.95rem;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-seo__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.home-seo__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  background: linear-gradient(165deg, #eff6ff, #e0ecff);
  color: var(--color-secondary);
}

.home-seo__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f97316;
}

.home-seo__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.3;
}

.home-seo__card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.home-seo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
}

.home-seo__link span {
  transition: transform 0.2s ease;
}

.home-seo__link:hover,
.home-seo__link:focus-visible {
  color: var(--color-secondary-hover);
}

.home-seo__link:hover span {
  transform: translateX(3px);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-seo__card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 105, 224, 0.28);
    box-shadow: 0 10px 26px rgba(11, 18, 32, 0.07);
  }
}

.home-seo__about {
  margin-top: 0.5rem;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(165deg, #0b1220 0%, #152238 100%);
  border-radius: 1rem;
  color: #cbd5e1;
}

.home-seo__about-eye {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdba74;
}

.home-seo__about h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.home-seo__about p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #94a3b8;
}

.home-seo__about-lead {
  color: #e2e8f0 !important;
}

.home-seo__about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.home-seo__about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-seo__about-links a:hover,
.home-seo__about-links a:focus-visible {
  border-color: rgba(249, 115, 22, 0.65);
  background: rgba(249, 115, 22, 0.12);
}

@media (min-width: 768px) {
  .home-seo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-seo__about {
    padding: 1.75rem 1.75rem;
  }
}

@media (min-width: 1100px) {
  .home-seo__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-seo__card,
  .home-seo__link span {
    transition: none;
  }

  .home-seo__card:hover {
    transform: none;
  }
}

/* ---- Blog preview (editorial) ---- */
.home-blog {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(15, 23, 42, 0.04), transparent 50%),
    #f8fafc;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.home-blog__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.home-blog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.home-blog__head-copy {
  max-width: 38rem;
}

.home-blog__head-copy .home-head__idx {
  display: block;
  margin-bottom: 0.55rem;
}

.home-blog__head-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.home-blog__lead {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 34rem;
}

.home-blog__all {
  gap: 0.45rem;
  flex-shrink: 0;
}

.home-blog__all svg {
  transition: transform 0.25s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}

.home-blog__all:hover svg,
.home-blog__all:focus-visible svg {
  transform: translateX(3px);
}

.home-blog__feature {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -16px rgba(15, 23, 42, 0.18);
}

.home-blog__feature-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.home-blog__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}

.home-blog__feature-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}

.home-blog__feature:hover .home-blog__feature-media img,
.home-blog__feature:focus-within .home-blog__feature-media img {
  transform: scale(1.04);
}

.home-blog__feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  justify-content: center;
}

.home-blog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.home-blog__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.25rem;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-blog__cat {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
}

.home-blog__meta time {
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.home-blog__feature-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.028em;
  line-height: 1.25;
  color: #0f172a;
}

.home-blog__feature-title a {
  color: inherit;
  text-decoration: none;
}

.home-blog__feature-title a:hover,
.home-blog__feature-title a:focus-visible {
  color: #2563eb;
}

.home-blog__feature-excerpt {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 36rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #2563eb;
  text-decoration: none;
  width: fit-content;
}

.home-blog__more svg {
  transition: transform 0.25s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}

.home-blog__more:hover,
.home-blog__more:focus-visible {
  color: #1d4ed8;
}

.home-blog__more:hover svg,
.home-blog__more:focus-visible svg {
  transform: translateX(3px);
}

.home-blog__more--sm {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
}

.home-blog__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.home-blog__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.35s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1)),
    box-shadow 0.35s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1)),
    border-color 0.25s ease;
}

.home-blog__card:hover,
.home-blog__card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 4px 6px -2px rgba(15, 23, 42, 0.05),
    0 18px 36px -18px rgba(15, 23, 42, 0.28);
}

.home-blog__card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.home-blog__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}

.home-blog__card:hover .home-blog__card-media img,
.home-blog__card:focus-within .home-blog__card-media img {
  transform: scale(1.05);
}

.home-blog__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
}

.home-blog__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.022em;
  line-height: 1.35;
  color: #0f172a;
}

.home-blog__card-title a {
  color: inherit;
  text-decoration: none;
}

.home-blog__card-title a:hover,
.home-blog__card-title a:focus-visible {
  color: #2563eb;
}

.home-blog__card-excerpt {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .home-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .home-blog__feature {
    grid-template-columns: 1.15fr 1fr;
    min-height: 22rem;
  }

  .home-blog__feature-media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (min-width: 1024px) {
  .home-blog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-blog__feature-media img,
  .home-blog__card-media img,
  .home-blog__card,
  .home-blog__more svg,
  .home-blog__all svg {
    transition: none;
  }

  .home-blog__feature:hover .home-blog__feature-media img,
  .home-blog__card:hover .home-blog__card-media img,
  .home-blog__card:hover,
  .home-blog__card:focus-within {
    transform: none;
  }
}
