.home-page {
  background-color: var(--hero-mood-bg);
  background-image: none;
  color: var(--text-on-dark);
  position: relative;
}

html {
  overflow-x: clip;
}

body.is-home {
  overflow-x: clip;
}

body.is-home .main-content,
body.is-home .home-page {
  overflow-x: clip;
}

@media (max-width: 991px) {
  body.is-home .main-content,
  body.is-home main.home-page,
  body.is-home main.home-page > section,
  body.is-home .footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.is-home main.home-page > section > .container,
  body.is-home .footer .container {
    width: 100%;
    max-width: 100%;
  }
}

.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--surface-pattern-line), var(--surface-pattern-dot);
  background-size:
          44px 44px,
          24px 24px;
  opacity: var(--home-pattern-opacity);
  pointer-events: none;
  z-index: 0;
}

.home-page::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--surface-pattern-corner), var(--surface-pattern-corner);
  background-size:
          176px 176px,
          176px 176px;
  background-position:
          top right,
          bottom left;
  background-repeat: no-repeat;
  opacity: var(--home-corner-opacity);
  pointer-events: none;
  z-index: 0;
}

.home-page > * {
  position: relative;
  z-index: 1;
}

.home-page section {
  position: relative;
  overflow: hidden;
}

.home-page .section-subtitle {
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 0.42rem;
  font-size: var(--home-fs-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-page .section-title {
  color: var(--text-on-dark);
  margin-bottom: 0.62rem;
  font-size: var(--home-fs-title);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.home-page .section-description {
  color: var(--text-on-dark-muted);
  margin: 0 auto;
  max-width: 60ch;
  font-size: var(--home-fs-body);
  line-height: 1.58;
}

.home-page .section-header {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.home-page .section-header.text-start {
  margin-left: 0;
  margin-right: 0;
}

.home-page .hero-section {
  --hero-header-offset: 0px;
  --hero-available-height: calc(100vh - var(--navbar-fixed-height, 76px));
  background: var(--hero-mood-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  min-height: auto;
  padding-top: var(--hero-header-offset);
  padding-bottom: 0;
}

body.has-telegram-link-reminder .home-page .hero-section {
  --hero-header-offset: 0px;
}

.home-page .hero-section > .container {
  width: 100%;
  min-height: var(--hero-available-height);
  display: flex;
  align-items: center;
}

.home-page .hero-layout {
  --bs-gutter-x: clamp(1.25rem, 2.2vw, 2.35rem);
  width: 100%;
  margin: 0;
  align-items: center;
  row-gap: clamp(1.6rem, 4vw, 3rem);
  padding-top: clamp(0.2rem, 0.7vw, 0.55rem);
  padding-bottom: clamp(0.2rem, 0.7vw, 0.55rem);
}

.home-page .hero-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-page .hero-visual-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.home-page .hero-copy-shell {
  width: min(100%, 500px);
  padding-left: 0;
}

.home-page .hero-copy-shell::before {
  display: none;
}

.home-page .hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--surface-pattern-line), var(--surface-pattern-dot);
  background-size:
          48px 48px,
          22px 22px;
  opacity: var(--home-hero-pattern-opacity);
  pointer-events: none;
}

.home-page .orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(var(--primary-rgb), 0.16);
  filter: blur(95px);
  top: -230px;
  right: -180px;
  animation-delay: 0s;
}

.home-page .orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(var(--primary-rgb), 0.11);
  filter: blur(100px);
  bottom: -210px;
  left: -150px;
  animation-delay: 5s;
}

.home-page .orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(var(--primary-rgb), 0.13);
  filter: blur(90px);
  top: 46%;
  left: 56%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

.home-page .hero-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  align-self: flex-start;
  margin-bottom: clamp(0.9rem, 1.6vw, 1.3rem);
  padding: 0.42rem 0.95rem;
  gap: 0.45rem;
  background: rgba(var(--primary-rgb), 0.16);
  border: 1px solid rgba(var(--primary-rgb), 0.34);
  border-radius: 999px;
  color: rgba(255, 229, 231, 0.95);
  font-size: var(--home-fs-overline);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home-page .badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.22);
}

.home-page .hero-title {
  color: #f0f4fb;
  margin: 0 0 clamp(1rem, 1.9vw, 1.35rem);
  max-width: 12.8ch;
  font-size: clamp(1.8rem, 1.34rem + 1.1vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-page .gradient-text {
  color: #ff9096;
  display: block;
  margin-top: 0.26em;
  font-size: inherit;
  line-height: inherit;
}

.home-page .hero-subtitle {
  color: rgba(230, 237, 247, 0.85);
  margin: 0;
  max-width: 46ch;
  font-size: var(--home-fs-hero-subtitle);
  line-height: 1.56;
}

.home-page .hero-subtitle-wrap {
  max-width: 46ch;
}

.home-page .hero-subtitle-toggle {
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.36rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font-size: var(--home-fs-toggle);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  transition:
    color var(--motion-fast) var(--motion-ease-standard),
    opacity var(--motion-fast) var(--motion-ease-standard);
}

.home-page .hero-subtitle-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--motion-base) var(--motion-ease-standard);
}

.home-page .hero-subtitle-toggle.is-expanded::after {
  transform: rotate(-135deg) translateY(-1px);
}

.home-page .hero-subtitle-toggle:hover {
  color: #ff9096;
}

.home-page .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
}

.home-page .hero-cta .btn {
  min-height: 44px;
  padding: 0.72rem 1.5rem;
  font-size: var(--home-fs-cta);
  letter-spacing: 0.05em;
}

.home-page .hero-primary-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.home-page .hero-primary-btn:hover {
  background: #f0656c;
  border-color: #f0656c;
}

.home-page .hero-secondary-btn {
  border-width: 1.5px;
  color: rgba(236, 241, 249, 0.96);
  border-color: rgba(233, 239, 248, 0.65);
  background: rgba(230, 237, 247, 0.1);
}

.home-page .hero-secondary-btn:hover {
  background: rgba(var(--primary-rgb), 0.2) !important;
  border-color: rgba(var(--primary-rgb), 0.62);
  color: #fefeff;
}

.home-page .hero-stats {
  margin-top: clamp(1.4rem, 2.7vw, 2.1rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .hero-stats .stat-item {
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(var(--dark-base-2-rgb), 0.78);
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  backdrop-filter: blur(8px);
  box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.05),
          0 12px 26px rgba(var(--dark-base-1-rgb), 0.28);
}

.home-page .hero-stats .stat-number {
  margin-bottom: 0.16rem;
  font-size: clamp(1.5rem, 1.12rem + 0.95vw, 2rem);
  line-height: 1.06;
  font-weight: 800;
  color: #edf2fb;
}

.home-page .hero-stats .stat-label {
  margin: 0;
  font-size: var(--home-fs-hero-stat-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.28;
  color: rgba(226, 234, 245, 0.72);
}

.home-page .hero-visual {
  display: flex;
  align-items: flex-end;
  height: clamp(440px, 60vw, 660px);
  width: min(100%, 720px);
  margin: 0 0 0 auto;
  position: relative;
  border-radius: 30px;
  padding: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.32);
  background:
          radial-gradient(170% 120% at 12% 6%, rgba(var(--primary-rgb), 0.16), transparent 55%),
          linear-gradient(
                  140deg,
                  rgba(var(--dark-base-2-rgb), 0.92) 0%,
                  rgba(var(--dark-base-1-rgb), 0.74) 100%
          );
  box-shadow:
          0 34px 62px rgba(var(--dark-base-1-rgb), 0.42),
          inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.home-page .hero-visual--canvas {
  display: block;
  width: min(100%, 640px);
  margin-left: auto;
  padding: 0.9rem;
  border: 1px solid rgba(var(--primary-rgb), 0.34);
  background:
          radial-gradient(170% 120% at 12% 6%, rgba(var(--primary-rgb), 0.24), transparent 55%),
          linear-gradient(
                  140deg,
                  rgba(var(--dark-base-2-rgb), 0.86) 0%,
                  rgba(var(--dark-base-1-rgb), 0.62) 100%
          );
}

.home-page .hero-visual--canvas::before {
  background:
          linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
          radial-gradient(100% 120% at 100% 0%, rgba(var(--primary-rgb), 0.16), transparent 70%);
  mix-blend-mode: screen;
}

.home-page .hero-visual--canvas::after {
  inset: 0.52rem;
  border-radius: 24px;
}

.home-page .hero-visual--mobile {
  display: none;
}

.home-page .hero-editorial-card {
  margin: 0;
}

.home-page .hero-editorial-chips,
.home-page .hero-editorial-panel {
  display: none;
}

.home-page .hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
          linear-gradient(180deg, rgba(7, 12, 25, 0.02), rgba(7, 12, 25, 0.18));
  pointer-events: none;
  z-index: 1;
}

.home-page .hero-visual::after {
  content: '';
  position: absolute;
  inset: 0.7rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

.home-page .hero-editorial-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 36%;
  transform: scale(1.01);
}

.home-page .hero-canvas-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0f1b;
}

.home-page .hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.home-page .hero-canvas-overlay {
  position: absolute;
  inset: 0;
  background:
          radial-gradient(100% 120% at 100% 0%, rgba(var(--primary-rgb), 0.2), transparent 58%),
          linear-gradient(
                  180deg,
                  rgba(7, 12, 25, 0.04) 0%,
                  rgba(7, 12, 25, 0.58) 72%,
                  rgba(7, 12, 25, 0.84) 100%
          );
  pointer-events: none;
}

.home-page .hero-canvas-ui {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.38rem;
}

.home-page .hero-canvas-tag {
  margin: 0;
  width: max-content;
  max-width: 100%;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(14, 23, 42, 0.46);
  backdrop-filter: blur(10px);
  color: rgba(241, 245, 251, 0.9);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-page .hero-canvas-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: max-content;
}

.home-page .hero-canvas-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 234, 245, 0.38);
  transition:
          width var(--motion-fast) var(--motion-ease-standard),
          background-color var(--motion-fast) var(--motion-ease-standard),
          transform var(--motion-fast) var(--motion-ease-standard);
}

.home-page .hero-canvas-dot.is-active {
  width: 24px;
  background: rgba(var(--primary-rgb), 0.96);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.34);
}

.home-page .hero-canvas-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.28);
}

.home-page .hero-canvas-slides {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.home-page .hero-editorial-chips {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-page .hero-editorial-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 18, 33, 0.58);
  backdrop-filter: blur(12px);
  color: rgba(241, 246, 252, 0.92);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-page .hero-editorial-panel {
  position: relative;
  z-index: 3;
  max-width: min(88%, 380px);
  margin: 0 1rem 1rem;
  padding: 1rem 1rem 0.96rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.26);
  background:
          linear-gradient(
                  170deg,
                  rgba(var(--dark-base-2-rgb), 0.84) 0%,
                  rgba(var(--dark-base-1-rgb), 0.74) 100%
          );
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 30px rgba(var(--dark-base-1-rgb), 0.34);
}

.home-page .hero-editorial-kicker {
  margin: 0 0 0.45rem;
  color: rgba(244, 248, 255, 0.8);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .hero-editorial-title {
  margin: 0;
  color: #f1f5fd;
  font-size: clamp(1.08rem, 0.96rem + 0.34vw, 1.22rem);
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-page .hero-editorial-copy {
  margin: 0.5rem 0 0;
  color: rgba(226, 234, 245, 0.84);
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-page .services-section,
.home-page .coming-events-section,
.home-page .opportunities-section {
  background: var(--surface-0);
}

.home-page .process-section,
.home-page .impact-section,
.home-page .testimonials-section {
  background: var(--surface-1);
}

.home-page .service-card,
.home-page .impact-card,
.home-page .opportunity-card,
.home-page .testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--border-on-dark);
  box-shadow: none;
}

.home-page .service-card:hover,
.home-page .impact-card:hover,
.home-page .opportunity-card:hover,
.home-page .testimonial-card:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.home-page .coming-event-card {
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--border-on-dark);
  background:
          radial-gradient(220px 130px at 100% 0%, rgba(var(--primary-rgb), 0.16), transparent 70%),
          var(--surface-1);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.86rem;
  padding: 1rem;
  transition:
          border-color var(--motion-fast) var(--motion-ease-standard),
          box-shadow var(--motion-fast) var(--motion-ease-standard),
          transform var(--motion-fast) var(--motion-ease-standard);
}

.home-page .coming-event-media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 170px;
  max-height: 170px;
}

.home-page .coming-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .coming-event-main {
  display: flex;
  gap: 0.95rem;
}

.home-page .coming-event-card:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.home-page .coming-event-date {
  width: 64px;
  min-width: 64px;
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-rgb), 0.32);
  background: rgba(var(--primary-rgb), 0.14);
  color: #ffe7e9;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.05rem;
  padding: 0.55rem 0.35rem;
}

.home-page .coming-event-day {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.home-page .coming-event-month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.home-page .coming-event-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-page .coming-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.62rem;
}

.home-page .coming-event-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.38);
  background: rgba(var(--primary-rgb), 0.16);
  color: #ffe8ea;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
}

.home-page .coming-event-tag.is-muted {
  border-color: rgba(230, 237, 247, 0.24);
  background: rgba(230, 237, 247, 0.08);
  color: rgba(230, 237, 247, 0.82);
}

.home-page .coming-event-title {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 1.05rem;
  line-height: 1.32;
  font-weight: 800;
}

.home-page .coming-event-description {
  margin: 0.5rem 0 0;
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
  line-height: 1.52;
}

.home-page .coming-event-meta {
  margin-top: 0.82rem;
  display: grid;
  gap: 0.35rem;
}

.home-page .coming-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-on-dark-muted);
  font-size: 0.76rem;
}

.home-page .coming-event-meta i {
  color: var(--primary-color);
}

.home-page .coming-event-link {
  margin-top: auto;
  padding-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.home-page .coming-event-link:hover {
  color: var(--text-on-dark);
}

.home-page .home-empty-state {
  border-radius: 18px;
  border: 1px solid var(--border-on-dark);
  background: var(--surface-1);
  padding: 1.45rem 1.2rem;
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.28rem;
}

.home-page .home-empty-state.h-100 {
  height: 100%;
}

.home-page .home-empty-state i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.home-page .home-empty-state h3 {
  margin: 0.18rem 0 0;
  font-size: 1.1rem;
  color: var(--text-on-dark);
}

.home-page .home-empty-state p {
  margin: 0;
  color: var(--text-on-dark-muted);
  max-width: 52ch;
}

.home-page .services-section [data-service-card-selectable] {
  cursor: pointer;
}

.home-page .services-section [data-service-card-selectable]:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb), 0.66);
  outline-offset: 3px;
}

.home-page .services-section .service-card.is-selected {
  border-color: rgba(var(--primary-rgb), 0.82);
  box-shadow:
          0 22px 38px rgba(0, 0, 0, 0.34),
          inset 0 0 0 1px rgba(var(--primary-rgb), 0.5);
  transform: translateY(-4px);
}

.home-page .services-section .service-card.is-selected::after {
  content: 'Selected';
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(var(--primary-rgb), 0.18);
  color: #ffe9ea;
  border: 1px solid rgba(var(--primary-rgb), 0.5);
  pointer-events: none;
}

.home-page .services-section .service-card.is-selected .service-icon {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.36);
  border: 1px solid rgba(var(--primary-rgb), 0.8);
}

.home-page .services-section .service-card.is-selected .service-title {
  color: #ffd8d9;
}

.home-page .services-section .service-card.is-selected .service-description,
.home-page .services-section .service-card.is-selected .service-features li {
  color: #ffe8e8;
}

.home-page .services-section .service-card.is-selected .service-link {
  color: #ffffff;
}

.home-page .service-card.featured {
  background: rgba(var(--primary-rgb), 0.16);
  border-color: rgba(var(--primary-rgb), 0.5);
}

.home-page :is(
  .service-title,
  .opportunity-title,
  .coming-event-title,
  .portfolio-card-title,
  .step-title,
  .impact-card h4,
  .author-name
) {
  font-size: clamp(1rem, 0.93rem + 0.24vw, 1.14rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.home-page :is(
  .service-description,
  .opportunity-description,
  .coming-event-description,
  .portfolio-card-text,
  .step-description,
  .impact-card p,
  .author-position,
  .testimonial-text,
  .opportunity-meta,
  .home-empty-state p
) {
  font-size: var(--home-fs-body);
  line-height: 1.56;
}

.home-page :is(
  .service-description,
  .opportunity-description,
  .coming-event-description,
  .step-description
) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page :is(
  .section-description,
  .service-description,
  .opportunity-description,
  .coming-event-description,
  .step-description
).is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
}

.home-page .home-read-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.34rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font-size: var(--home-fs-toggle);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  transition:
    color var(--motion-fast) var(--motion-ease-standard),
    opacity var(--motion-fast) var(--motion-ease-standard);
}

.home-page .home-read-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--motion-base) var(--motion-ease-standard);
}

.home-page .home-read-toggle.is-expanded::after {
  transform: rotate(-135deg) translateY(-1px);
}

.home-page .home-read-toggle:hover {
  color: #ff9096;
}

.home-page :is(.coming-event-meta span, .coming-event-link) {
  font-size: var(--home-fs-body-sm);
}

.home-page .service-title,
.home-page .opportunity-title,
.home-page .step-title,
.home-page .impact-card h4,
.home-page .author-name {
  color: var(--text-on-dark);
}

.home-page .service-description,
.home-page .opportunity-description,
.home-page .step-description,
.home-page .impact-card p,
.home-page .author-position,
.home-page .testimonial-text,
.home-page .opportunity-meta {
  color: var(--text-on-dark-muted);
}

.home-page .service-features li {
  color: var(--text-on-dark-muted);
}

.home-page .service-link {
  color: var(--primary-color);
}

.home-page .service-link:hover {
  color: var(--text-on-dark);
}

.home-page .step-number {
  background-color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 6px 14px rgba(var(--primary-rgb), 0.22);
}

.home-page .process-step::before {
  background-color: rgba(var(--primary-rgb), 0.45);
  height: calc(100% + 3rem);
}

.home-page .stats-section {
  background: var(--dark-base-2);
  position: relative;
  overflow: hidden;
}

.home-page .stat-box {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.home-page .impact-stat-item .impact-label {
  color: var(--text-on-dark-muted);
}

.home-page .testimonial-text {
  font-style: normal;
}

.home-page .author-avatar {
  background-color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-page .home-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-page .home-section-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.home-page .stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--surface-pattern-line), var(--surface-pattern-dot);
  background-size:
          42px 42px,
          20px 20px;
  opacity: var(--home-panel-pattern-opacity);
  pointer-events: none;
}

.home-page .stats-section > * {
  position: relative;
  z-index: 1;
}

.home-page .btn-outline-primary {
  border-color: rgba(var(--primary-rgb), 0.55);
  color: var(--primary-color);
}

.home-page .btn-outline-primary:hover {
  border-color: transparent;
  background: var(--primary-color);
  color: var(--text-on-dark);
}

:root[data-theme='light'] .home-page {
  background-color: var(--hero-mood-bg);
  background-image: none;
  color: var(--text-primary);
}

:root[data-theme='light'] .home-page .hero-section {
  background: var(--hero-mood-surface);
  border-bottom-color: var(--hero-mood-border);
}

:root[data-theme='light'] .home-page .hero-background::before {
  background-image: var(--surface-pattern-line), var(--surface-pattern-dot);
  background-size:
          48px 48px,
          22px 22px;
}

:root[data-theme='light'] .home-page .orb-1,
:root[data-theme='light'] .home-page .orb-2,
:root[data-theme='light'] .home-page .orb-3 {
  background: rgba(var(--primary-rgb), 0.1);
}

:root[data-theme='light'] .home-page .hero-badge {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.24);
  color: #842828;
}

:root[data-theme='light'] .home-page .hero-title {
  color: var(--hero-mood-text);
}

:root[data-theme='light'] .home-page .gradient-text {
  color: #cc3d44;
  text-shadow: none;
}

:root[data-theme='light'] .home-page .hero-subtitle {
  color: var(--hero-mood-muted);
}

:root[data-theme='light'] .home-page .hero-secondary-btn {
  color: #40322e;
  border-color: rgba(82, 64, 58, 0.24);
  background: rgba(255, 251, 246, 0.74);
}

:root[data-theme='light'] .home-page .hero-secondary-btn:hover {
  color: #40322e;
  background: rgba(var(--primary-rgb), 0.14) !important;
  border-color: rgba(var(--primary-rgb), 0.42);
}

:root[data-theme='light'] .home-page .hero-stats .stat-item {
  background: rgba(255, 251, 246, 0.88);
  border-color: rgba(82, 64, 58, 0.14);
  box-shadow: 0 10px 22px rgba(82, 64, 58, 0.09);
}

:root[data-theme='light'] .home-page .hero-stats .stat-number {
  color: var(--hero-mood-text);
}

:root[data-theme='light'] .home-page .hero-stats .stat-label {
  color: #786760;
}

:root[data-theme='light'] .home-page .step-number {
  background-color: #d94a4f;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 5px 12px rgba(var(--primary-rgb), 0.18);
}

:root[data-theme='light'] .home-page .hero-visual {
  background:
          radial-gradient(170% 120% at 10% 8%, rgba(var(--primary-rgb), 0.2), transparent 58%),
          linear-gradient(140deg, rgba(255, 252, 248, 0.95) 0%, rgba(246, 238, 231, 0.85) 100%);
  border-color: rgba(82, 64, 58, 0.2);
  box-shadow:
          0 28px 46px rgba(82, 64, 58, 0.16),
          inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

:root[data-theme='light'] .home-page .hero-visual::before {
  background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
          linear-gradient(180deg, rgba(255, 251, 246, 0.02), rgba(82, 64, 58, 0.16));
}

:root[data-theme='light'] .home-page .hero-visual::after {
  border-color: rgba(82, 64, 58, 0.18);
}

:root[data-theme='light'] .home-page .hero-copy-shell::before {
  background: linear-gradient(
          180deg,
          rgba(var(--primary-rgb), 0.62) 0%,
          rgba(82, 64, 58, 0.16) 100%
  );
}

:root[data-theme='light'] .home-page .hero-visual--canvas::before {
  background:
          linear-gradient(120deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
          radial-gradient(90% 110% at 100% 0%, rgba(var(--primary-rgb), 0.12), transparent 72%);
}

:root[data-theme='light'] .home-page .hero-canvas-stage {
  background: #efe6de;
}

:root[data-theme='light'] .home-page .hero-canvas-overlay {
  background:
          radial-gradient(95% 120% at 100% 0%, rgba(var(--primary-rgb), 0.16), transparent 60%),
          linear-gradient(180deg, rgba(255, 251, 246, 0.06) 0%, rgba(82, 64, 58, 0.42) 100%);
}

:root[data-theme='light'] .home-page .hero-canvas-tag {
  color: #4b3e38;
  background: rgba(255, 251, 246, 0.8);
  border-color: rgba(82, 64, 58, 0.24);
}

:root[data-theme='light'] .home-page .hero-canvas-dot {
  background: rgba(82, 64, 58, 0.28);
}

:root[data-theme='light'] .home-page .hero-editorial-chip {
  color: #433530;
  background: rgba(255, 251, 246, 0.78);
  border-color: rgba(82, 64, 58, 0.16);
}

:root[data-theme='light'] .home-page .hero-editorial-panel {
  background:
          linear-gradient(170deg, rgba(255, 252, 248, 0.92) 0%, rgba(246, 238, 231, 0.84) 100%);
  border-color: rgba(82, 64, 58, 0.24);
  box-shadow: 0 16px 28px rgba(82, 64, 58, 0.14);
}

:root[data-theme='light'] .home-page .hero-editorial-kicker {
  color: #7d695f;
}

:root[data-theme='light'] .home-page .hero-editorial-title {
  color: #302320;
}

:root[data-theme='light'] .home-page .hero-editorial-copy {
  color: #6a5a54;
}

:root[data-theme='light'] .home-page .services-section .service-card.is-selected {
  border-color: rgba(var(--primary-rgb), 0.66);
  box-shadow: 0 18px 30px rgba(31, 43, 61, 0.17);
}

:root[data-theme='light'] .home-page .services-section .service-card.is-selected::after {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.42);
  color: #a52c33;
}

:root[data-theme='light'] .home-page .services-section .service-card.is-selected .service-title {
  color: #b72e35;
}

:root[data-theme='light']
.home-page
.services-section
.service-card.is-selected
.service-description,
:root[data-theme='light']
.home-page
.services-section
.service-card.is-selected
.service-features
li {
  color: #4b3e38;
}

:root[data-theme='light'] .home-page .services-section .service-card.is-selected .service-link {
  color: #b72e35;
}

:root[data-theme='light'] .home-page .coming-event-card {
  border-color: rgba(82, 64, 58, 0.14);
  background:
          radial-gradient(220px 130px at 100% 0%, rgba(var(--primary-rgb), 0.14), transparent 72%),
          rgba(255, 251, 246, 0.92);
  box-shadow: 0 10px 22px rgba(82, 64, 58, 0.09);
}

:root[data-theme='light'] .home-page .coming-event-media {
  border-color: rgba(82, 64, 58, 0.16);
}

:root[data-theme='light'] .home-page .coming-event-card:hover {
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow: 0 16px 28px rgba(82, 64, 58, 0.14);
}

:root[data-theme='light'] .home-page .coming-event-date {
  border-color: rgba(var(--primary-rgb), 0.3);
  background: rgba(var(--primary-rgb), 0.14);
  color: #8d2f36;
}

:root[data-theme='light'] .home-page .coming-event-tag {
  border-color: rgba(var(--primary-rgb), 0.32);
  background: rgba(var(--primary-rgb), 0.12);
  color: #8d2f36;
}

:root[data-theme='light'] .home-page .coming-event-tag.is-muted {
  border-color: rgba(82, 64, 58, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: #6d5e57;
}

:root[data-theme='light'] .home-page .coming-event-status.is-upcoming {
  color: #0f5132;
  border-color: #86efac;
  background: #dcfce7;
}

:root[data-theme='light'] .home-page .coming-event-title,
:root[data-theme='light'] .home-page .home-empty-state h3 {
  color: #3f2f2a;
}

:root[data-theme='light'] .home-page .coming-event-description,
:root[data-theme='light'] .home-page .coming-event-meta span,
:root[data-theme='light'] .home-page .home-empty-state p {
  color: #6d5e57;
}

:root[data-theme='light'] .home-page .coming-event-link:hover {
  color: #3f2f2a;
}

:root[data-theme='light'] .home-page .home-empty-state {
  border-color: rgba(82, 64, 58, 0.14);
  background: rgba(255, 251, 246, 0.92);
}

:root[data-theme='light'] .home-page .stats-section {
  background: #f1ece6;
}

@media (min-width: 992px) {
  .home-page .hero-layout {
    row-gap: clamp(1rem, 2vw, 1.6rem);
    padding-top: clamp(0.15rem, 0.45vw, 0.45rem);
    padding-bottom: clamp(0.15rem, 0.45vw, 0.45rem);
  }

  .home-page .hero-copy-shell {
    width: min(100%, 520px);
  }

  .home-page .hero-title {
    max-width: 15ch;
    font-size: clamp(2rem, 1.52rem + 1.36vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .home-page .gradient-text {
    margin-top: 0.18em;
    font-size: inherit;
    line-height: inherit;
  }

  .home-page .hero-subtitle {
    max-width: 52ch;
    font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.1rem);
    line-height: 1.62;
  }

  .home-page .hero-visual {
    height: clamp(390px, 44vw, 560px);
    width: min(100%, 620px);
  }

  .home-page .hero-visual--canvas {
    width: min(100%, 620px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-page .hero-section {
    padding-top: var(--hero-header-offset);
  }

  .home-page .hero-section > .container {
    min-height: auto;
    align-items: flex-start;
  }

  .home-page .hero-layout {
    row-gap: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-page .hero-copy-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  .home-page .hero-copy-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(270px, 0.94fr);
    grid-template-areas:
      'badge badge'
      'intro visual'
      'cta visual'
      'stats stats';
    column-gap: clamp(1rem, 2.7vw, 1.55rem);
    row-gap: 0.72rem;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    isolation: auto;
  }

  .home-page .hero-copy-shell::before,
  .home-page .hero-copy-shell::after,
  .home-page .hero-visual-col,
  .home-page .hero-visual--canvas {
    display: none;
  }

  .home-page .hero-badge {
    grid-area: badge;
    margin-bottom: 0.12rem;
  }

  .home-page .hero-copy-intro {
    grid-area: intro;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.68rem;
    min-width: 0;
  }

  .home-page .hero-title {
    max-width: 12.4ch;
    margin-bottom: 0;
    font-size: clamp(1.66rem, 1.28rem + 0.92vw, 2.18rem);
    line-height: 1.03;
  }

  .home-page .gradient-text {
    margin-top: 0.18em;
    font-size: inherit;
    line-height: inherit;
  }

  .home-page .hero-subtitle {
    max-width: 36ch;
    font-size: 0.93rem;
    line-height: 1.56;
    display: block;
  }

  .home-page .hero-visual--mobile {
    display: block;
    grid-area: visual;
    width: 100%;
    height: auto;
    min-height: clamp(248px, 32vw, 318px);
    margin: 0;
    padding: 0.44rem;
    aspect-ratio: 5 / 4;
    border-radius: 22px;
    align-self: center;
  }

  .home-page .hero-cta {
    grid-area: cta;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.64rem;
    margin-top: 0;
  }

  .home-page .hero-cta .btn {
    min-height: 46px;
    padding: 0.72rem 1.2rem;
    font-size: 0.74rem;
    letter-spacing: 0.055em;
  }

  .home-page .hero-stats {
    grid-area: stats;
    margin-top: 0.14rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.56rem;
  }

  .home-page .hero-stats .stat-item {
    padding: 0.72rem 0.74rem;
    border-radius: 13px;
  }

  .home-page .hero-stats .stat-number {
    font-size: 1.02rem;
  }

  .home-page .hero-stats .stat-label {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  .home-page .hero-visual {
    width: 100%;
    border-radius: 22px;
  }

  .home-page .hero-visual--mobile::before,
  .home-page .hero-visual--mobile::after {
    display: block;
  }

  .home-page .hero-visual--mobile::after {
    inset: 0.44rem;
    border-radius: 16px;
  }

  .home-page .hero-editorial-image {
    object-position: 18% 49%;
    transform: scale(1.02);
  }
}

@media (max-width: 767px) {
  .home-page {
    --m-space-1: 4px;
    --m-space-2: 8px;
    --m-space-3: 12px;
    --m-space-4: 16px;
  }

  .home-page .hero-section {
    padding-top: var(--hero-header-offset);
    padding-bottom: var(--m-space-2);
  }

  .home-page .hero-section > .container {
    min-height: auto;
    align-items: flex-start;
  }

  body.is-home .home-page > .services-section {
    margin-top: var(--m-space-2) !important;
  }

  .home-page :is(
    .services-section,
    .process-section,
    .stats-section,
    .impact-section,
    .coming-events-section,
    .opportunities-section,
    .portfolio-section
  ) {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .home-page .section-header {
    margin-bottom: var(--m-space-2) !important;
  }

  .home-page .section-description {
    max-width: 40ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-page .hero-layout {
    row-gap: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-page .hero-copy-col {
    align-items: stretch;
    gap: 0;
  }

  .home-page .hero-copy-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(104px, 0.92fr);
    grid-template-areas:
      'badge badge'
      'title visual'
      'subtitle visual'
      'cta cta'
      'stats stats';
    column-gap: 7px;
    row-gap: 7px;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    isolation: auto;
  }

  .home-page .hero-copy-shell::before,
  .home-page .hero-copy-shell::after,
  .home-page .hero-visual-col,
  .home-page .hero-visual--canvas {
    display: none;
  }

  .home-page .orb-2,
  .home-page .orb-3 {
    display: none;
  }

  .home-page .orb-1 {
    width: 280px;
    height: 280px;
    top: -140px;
    right: -120px;
    filter: blur(72px);
    opacity: 0.45;
  }

  .home-page .hero-badge {
    grid-area: badge;
    justify-self: start;
    width: max-content;
    margin-bottom: 6px;
    padding: 0.31rem 0.7rem;
    border-radius: 999px;
    font-size: 0.6rem;
    letter-spacing: 0.07em;
  }

  .home-page .badge-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.22);
  }

  .home-page .hero-copy-intro {
    display: contents;
  }

  .home-page .hero-title {
    grid-area: title;
    align-self: center;
    max-width: none;
    margin-bottom: 0;
    font-size: clamp(1.16rem, 4.8vw, 1.44rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .home-page .gradient-text {
    margin-top: 0.18em;
    font-size: inherit;
    line-height: inherit;
  }

  .home-page .hero-subtitle {
    grid-area: subtitle;
    max-width: 31ch;
    margin-top: 6px;
    margin-right: 0.12rem;
    font-size: 0.78rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-page .hero-visual--mobile {
    display: block;
    grid-area: visual;
    justify-self: end;
    width: 100%;
    max-width: 156px;
    height: auto;
    min-height: clamp(160px, 41vw, 196px);
    max-height: 198px;
    margin: 0;
    padding: 0.3rem;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    align-self: center;
  }

  .home-page .hero-cta {
    grid-area: cta;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: var(--m-space-2);
    margin-top: 10px;
  }

  .home-page .hero-cta .btn {
    min-height: 42px;
    width: 100%;
    padding: 0.64rem 0.94rem;
    border-radius: 12px;
    justify-content: center;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .home-page .hero-secondary-btn {
    background: transparent;
    border-color: rgba(233, 239, 248, 0.22);
    color: rgba(233, 239, 248, 0.8);
  }

  .home-page .hero-stats {
    grid-area: stats;
    margin-top: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .hero-stats .stat-item {
    min-height: 100%;
    padding: 6px 5px;
    border-radius: 10px;
  }

  .home-page .hero-stats .stat-number {
    font-size: 0.84rem;
  }

  .home-page .hero-stats .stat-label {
    font-size: 0.56rem;
    letter-spacing: 0.03em;
    color: rgba(226, 234, 245, 0.62);
    line-height: 1.24;
  }

  .home-page :is(
    .service-description,
    .opportunity-description,
    .coming-event-description,
    .step-description
  ) {
    -webkit-line-clamp: 2;
  }

  .home-page .hero-visual {
    width: 100%;
    border-radius: 18px;
  }

  .home-page .hero-visual--mobile::before,
  .home-page .hero-visual--mobile::after {
    display: block;
  }

  .home-page .hero-visual--mobile::after {
    inset: 0.3rem;
    border-radius: 12px;
  }

  .home-page .hero-editorial-image {
    object-position: 18% 46%;
    transform: scale(1.02);
  }

  .home-page .coming-event-card {
    gap: 0.78rem;
  }

  .home-page .coming-event-media {
    min-height: 150px;
    max-height: 150px;
  }

  .home-page .coming-event-main {
    gap: 0.78rem;
  }

  .home-page .coming-event-date {
    width: 58px;
    min-width: 58px;
    padding: 0.45rem 0.32rem;
  }

  .home-page .coming-event-day {
    font-size: 1.2rem;
  }

  .home-page .coming-event-title {
    font-size: 1rem;
  }

  .home-page .process-step::before {
    left: 39px;
    top: 102px;
    height: calc(100% + 2.4rem);
  }

  .home-page .proof-strip {
    display: none;
  }
}

@media (max-width: 390px) {
  .home-page .hero-title {
    max-width: none;
    font-size: clamp(1.2rem, 5.5vw, 1.46rem);
  }

  .home-page .hero-subtitle {
    max-width: 29ch;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .home-page .hero-visual--mobile {
    max-width: 146px;
    min-height: clamp(150px, 42vw, 182px);
    max-height: 184px;
  }
}

@media (max-width: 395px) and (min-width: 385px) and (orientation: portrait) {
  .home-page .hero-visual--mobile {
    max-width: 154px;
    min-height: 176px;
  }

  .home-page .hero-editorial-image {
    object-position: 19% 48%;
  }
}

/* =====================================================
   ENTRANCE ANIMATIONS — staggered hero reveal
   ===================================================== */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page .hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-page .hero-anim--1 { animation-delay: 0.08s; }
.home-page .hero-anim--2 { animation-delay: 0.2s; }
.home-page .hero-anim--3 { animation-delay: 0.34s; }
.home-page .hero-anim--4 { animation-delay: 0.44s; }
.home-page .hero-anim--5 { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-anim {
    opacity: 1;
    animation: none;
  }
}

/* =====================================================
   SCROLL CUE — subtle bounce arrow below hero stats
   ===================================================== */

.home-page .hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: clamp(1rem, 2.2vw, 1.5rem);
  opacity: 0;
  animation: heroFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.home-page .hero-scroll-line {
  display: block;
  width: 1.5px;
  height: 28px;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.7), rgba(var(--primary-rgb), 0.15));
  margin-left: 3.5px;
  border-radius: 2px;
}

.home-page .hero-scroll-cue i {
  font-size: 0.68rem;
  color: rgba(var(--primary-rgb), 0.6);
  animation: scrollBounce 1.8s ease-in-out 1.4s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 767px) {
  .home-page .hero-scroll-cue {
    display: none;
  }
}

/* =====================================================
   BUTTON TEXT — CSS uppercase so HTML stays accessible
   ===================================================== */

.home-page .hero-primary-btn,
.home-page .hero-secondary-btn {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =====================================================
   LIGHT MODE — fix secondary button low contrast
   ===================================================== */

:root[data-theme='light'] .home-page .hero-secondary-btn {
  border-width: 1.5px;
  color: #40322e;
  border-color: rgba(82, 64, 58, 0.55);
  background: rgba(255, 251, 246, 0.74);
}

/* =====================================================
   SERVICE CARD — add subtle entrance for section cards
   ===================================================== */

.home-page .service-card,
.home-page .coming-event-card,
.home-page .opportunity-card,
.home-page .testimonial-card {
  transition:
          border-color 0.2s ease,
          box-shadow 0.2s ease,
          transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================
   COMING EVENT CARD — fix image aspect ratio consistency
   ===================================================== */

.home-page .coming-event-media {
  aspect-ratio: 16 / 9;
  min-height: auto;
  max-height: none;
}

/* =====================================================
   STAT LABEL — prevent long labels from wrapping badly
   on all screens
   ===================================================== */

.home-page .hero-stats .stat-label {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* =====================================================
   PROOF STRIP — trust bar between hero and services
   ===================================================== */

.home-page .proof-strip {
  background: rgba(var(--dark-base-2-rgb), 0.95);
  border-top: 1px solid rgba(var(--primary-rgb), 0.18);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.18);
  padding: 0.9rem 0;
}

.home-page .proof-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.home-page .proof-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.4rem 1.6rem;
  position: relative;
}

.home-page .proof-strip-item + .proof-strip-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(var(--primary-rgb), 0.28);
}

.home-page .proof-strip-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.home-page .proof-strip-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(226, 234, 245, 0.6);
  font-weight: 600;
  white-space: nowrap;
}

:root[data-theme='light'] .home-page .proof-strip {
  background: rgba(255, 248, 242, 0.98);
  border-color: rgba(var(--primary-rgb), 0.14);
}

:root[data-theme='light'] .home-page .proof-strip-label {
  color: rgba(82, 64, 58, 0.62);
}

@media (min-width: 992px) {
  .home-page .proof-strip {
    padding: 1.05rem 0;
  }

  .home-page .proof-strip-item {
    gap: 0.24rem;
    padding: 0.5rem 1.95rem;
  }

  .home-page .proof-strip-value {
    font-size: 1.15rem;
    line-height: 1.08;
  }

  .home-page .proof-strip-label {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 575px) {
  .home-page .proof-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 0 4px;
  }
  .home-page .proof-strip-inner::-webkit-scrollbar { display: none; }
  .home-page .proof-strip-item { flex-shrink: 0; }
}

/* =====================================================
   PORTFOLIO CARDS — proper component (replaces misused testimonial-card)
   ===================================================== */

.home-page .portfolio-section {
  background: var(--surface-1);
}

.home-page .portfolio-card {
  background: var(--surface-0);
  border: 1px solid var(--border-on-dark);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
          border-color 0.2s ease,
          box-shadow 0.22s ease,
          transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .portfolio-card:hover {
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.home-page .portfolio-card-initials {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(var(--primary-rgb), 0.36);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-page .portfolio-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.3;
}

.home-page .portfolio-card-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

:root[data-theme='light'] .home-page .portfolio-card {
  background: rgba(255, 251, 246, 0.94);
  border-color: rgba(82, 64, 58, 0.13);
  box-shadow: 0 8px 18px rgba(82, 64, 58, 0.08);
}

:root[data-theme='light'] .home-page .portfolio-card:hover {
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow: 0 16px 30px rgba(82, 64, 58, 0.14);
}

:root[data-theme='light'] .home-page .portfolio-card-initials {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.28);
}

:root[data-theme='light'] .home-page .portfolio-card-title {
  color: #302320;
}

:root[data-theme='light'] .home-page .portfolio-card-text {
  color: #6d5e57;
}

/* =====================================================
   PROCESS SECTION — mobile connector fix
   ===================================================== */

@media (max-width: 767px) {
  .home-page .process-step {
    gap: 1rem;
  }

  .home-page .process-step::before {
    left: 38px;
    top: 82px;
    width: 2px;
    height: calc(100% + 2.4rem);
  }

  .home-page .step-number {
    width: 72px;
    height: 72px;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
}

/* =====================================================
   SERVICE CARD — apply now button full-width on mobile
   ===================================================== */

@media (max-width: 767px) {
  .home-page .service-card {
    padding: 1.35rem;
  }

  .home-page .opportunity-card {
    padding: 1.25rem;
  }
}

/* =====================================================
   BUTTON — force uppercase via CSS on all home CTAs
   so HTML text stays in sentence case for a11y
   ===================================================== */

.home-page .btn {
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Undo for Apply Now — smaller pill btn looks better normal case */
.home-page .btn.btn-sm {
  text-transform: none;
  letter-spacing: 0;
}

/* =====================================================
   COMING EVENTS — sticky date badge accessibility
   ===================================================== */

.home-page .coming-event-date {
  align-self: flex-start;
}

/* =====================================================
   HOMEPAGE SCALE SYSTEM — unify text, numbers, spacing
   ===================================================== */

.home-page {
  --home-fs-overline: clamp(0.7rem, 0.66rem + 0.12vw, 0.78rem);
  --home-fs-title: clamp(1.62rem, 1.25rem + 1.04vw, 2.28rem);
  --home-fs-body: clamp(0.9rem, 0.87rem + 0.1vw, 0.98rem);
  --home-fs-body-sm: clamp(0.79rem, 0.76rem + 0.08vw, 0.85rem);
  --home-fs-hero-subtitle: clamp(0.92rem, 0.89rem + 0.12vw, 1rem);
  --home-fs-toggle: clamp(0.7rem, 0.68rem + 0.06vw, 0.74rem);
  --home-fs-cta: clamp(0.76rem, 0.73rem + 0.08vw, 0.82rem);
  --home-fs-hero-stat-label: clamp(0.66rem, 0.63rem + 0.08vw, 0.74rem);
  --home-fs-chip: clamp(0.66rem, 0.63rem + 0.08vw, 0.72rem);
  --home-fs-micro: clamp(0.68rem, 0.65rem + 0.08vw, 0.74rem);
  --home-fs-number-lg: clamp(1.75rem, 1.2rem + 1.5vw, 2.65rem);
  --home-fs-number-md: clamp(1.28rem, 1.04rem + 0.62vw, 1.68rem);
  --home-section-space: clamp(2.75rem, 5.2vw, 4.4rem);
  --home-card-padding: clamp(1.08rem, 0.92rem + 0.46vw, 1.36rem);
  --home-card-gap: clamp(0.72rem, 0.62rem + 0.24vw, 0.9rem);
}

.home-page :is(
  .services-section,
  .process-section,
  .stats-section,
  .impact-section,
  .coming-events-section,
  .opportunities-section,
  .portfolio-section
) {
  padding-top: var(--home-section-space) !important;
  padding-bottom: var(--home-section-space) !important;
}

.home-page .section-header {
  margin-bottom: clamp(1.25rem, 2.2vw, 2rem) !important;
}

.home-page .section-header .section-title {
  font-size: var(--home-fs-title);
  line-height: 1.18;
  margin-bottom: 0.58rem;
}

.home-page .section-header .section-description {
  font-size: var(--home-fs-body);
  line-height: 1.56;
  max-width: 62ch;
}

.home-page :is(
  .service-title,
  .opportunity-title,
  .coming-event-title,
  .portfolio-card-title,
  .step-title,
  .impact-card h4
) {
  font-size: clamp(1.02rem, 0.95rem + 0.28vw, 1.2rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.home-page :is(
  .service-description,
  .opportunity-description,
  .coming-event-description,
  .portfolio-card-text,
  .step-description,
  .impact-card p,
  .opportunity-meta,
  .home-empty-state p
) {
  font-size: var(--home-fs-body);
  line-height: 1.56;
}

.home-page :is(
  .coming-event-meta span,
  .coming-event-link,
  .opportunity-type,
  .service-link,
  .stat-box .stat-label,
  .impact-label
) {
  font-size: var(--home-fs-body-sm);
}

.home-page :is(
  .service-card,
  .opportunity-card,
  .impact-card,
  .portfolio-card,
  .coming-event-card,
  .home-empty-state,
  .process-step,
  .stat-box
) {
  border-radius: 16px;
}

.home-page :is(
  .service-card,
  .opportunity-card,
  .impact-card,
  .portfolio-card,
  .coming-event-card,
  .home-empty-state
) {
  padding: var(--home-card-padding);
}

.home-page .service-card {
  display: flex;
  flex-direction: column;
  gap: var(--home-card-gap);
}

.home-page .service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 1.55rem;
  margin-bottom: 0.2rem;
}

.home-page .service-title,
.home-page .service-description,
.home-page .opportunity-title,
.home-page .opportunity-description {
  margin: 0;
}

.home-page .service-features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
}

.home-page .service-features li {
  padding: 0 0 0 1.15rem;
  line-height: 1.45;
  font-size: var(--home-fs-body-sm);
}

.home-page .service-link {
  margin-top: auto;
  letter-spacing: 0.03em;
}

.home-page .opportunity-card {
  gap: var(--home-card-gap);
}

.home-page .opportunity-type {
  margin: 0;
  width: max-content;
  min-height: 0;
  padding: 0.24rem 0.66rem;
  border-radius: 999px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.home-page .opportunity-meta {
  margin: 0;
  display: grid;
  gap: 0.32rem;
}

.home-page .opportunity-meta.mb-3 {
  margin: 0 !important;
}

.home-page .opportunity-card .btn {
  margin-top: auto;
}

.home-page .opportunities-section .opportunity-card .btn {
  font-size: 0.82rem !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  min-height: 40px !important;
  padding: 0.52rem 0.9rem !important;
}

.home-page .process-timeline {
  max-width: 980px;
}

.home-page .process-section .section-header {
  margin-bottom: clamp(0.92rem, 1.6vw, 1.28rem) !important;
}

.home-page .process-section .section-subtitle {
  margin-bottom: 0.28rem;
}

.home-page .process-section .section-title {
  margin-bottom: 0.36rem;
}

.home-page .process-section .section-description {
  margin-top: 0;
}

.home-page .process-step {
  gap: 0.82rem;
  margin-bottom: 1.88rem;
  padding: 0.84rem 0.9rem;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: rgba(var(--dark-base-2-rgb), 0.24);
}

.home-page .process-step:last-child {
  margin-bottom: 0 !important;
}

.home-page .step-number {
  width: 62px;
  height: 62px;
  font-size: 1.18rem;
}

.home-page .step-content {
  padding-top: 0.12rem;
}

.home-page .step-title {
  margin: 0 0 0.34rem;
}

.home-page .step-description {
  margin: 0;
}

.home-page .stat-box {
  min-height: 138px;
  padding: var(--home-card-padding);
  display: grid;
  place-content: center;
  gap: 0.28rem;
}

.home-page .stat-box .stat-number {
  margin: 0;
  font-size: var(--home-fs-number-lg);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-page .stat-box .stat-label {
  margin: 0;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-page .hero-stats .stat-number {
  font-size: var(--home-fs-number-md);
}

.home-page .hero-stats .stat-label {
  font-size: var(--home-fs-hero-stat-label);
}

.home-page .impact-stats {
  gap: 0.78rem;
}

.home-page .impact-stat-item {
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: rgba(var(--dark-base-2-rgb), 0.35);
  padding: 0.8rem 0.84rem;
}

.home-page .impact-number {
  margin: 0 0 0.2rem;
  font-size: clamp(1.36rem, 1.04rem + 0.94vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

.home-page .impact-label {
  margin: 0;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.home-page .impact-grid {
  gap: 0.84rem;
}

.home-page .impact-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.home-page .impact-card i {
  margin-bottom: 0.22rem;
  font-size: 1.55rem;
}

.home-page .coming-event-card {
  gap: var(--home-card-gap);
}

.home-page .coming-event-main {
  gap: 0.78rem;
}

.home-page .coming-event-title {
  margin: 0;
}

.home-page .coming-event-description {
  margin-top: 0.42rem;
}

.home-page .coming-event-meta {
  margin-top: 0.64rem;
  gap: 0.28rem;
}

.home-page .coming-event-link {
  padding-top: 0.64rem;
}

.home-page :is(
  .coming-event-tag,
  .services-section .service-card.is-selected::after,
  .services-section .service-card .featured-badge
) {
  font-size: var(--home-fs-chip);
}

.home-page :is(.hero-canvas-tag, .hero-editorial-chip, .hero-editorial-kicker, .proof-strip-label) {
  font-size: var(--home-fs-micro);
}

.home-page .coming-event-meta span,
.home-page .coming-event-link {
  font-size: var(--home-fs-body-sm);
}

.home-page .portfolio-card {
  gap: var(--home-card-gap);
}

.home-page .portfolio-card-initials {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.home-page .portfolio-card-title,
.home-page .portfolio-card-text {
  margin: 0;
}

.home-page .home-empty-state h3 {
  margin-top: 0.12rem;
}

.home-page .home-section-footer {
  margin-top: clamp(1.3rem, 2.2vw, 1.9rem);
}

:root[data-theme='light'] .home-page .process-step {
  border-color: rgba(82, 64, 58, 0.18);
  background: rgba(255, 251, 246, 0.84);
}

:root[data-theme='light'] .home-page .impact-stat-item {
  border-color: rgba(82, 64, 58, 0.18);
  background: rgba(255, 251, 246, 0.82);
}

:root[data-theme='light'] .home-page .stat-box .stat-number,
:root[data-theme='light'] .home-page .stat-box .stat-label {
  color: #3f2f2a;
}

@media (max-width: 767px) {
  .home-page {
    --home-fs-overline: 0.68rem;
    --home-fs-title: clamp(1.3rem, 5.8vw, 1.66rem);
    --home-fs-body: 0.88rem;
    --home-fs-body-sm: 0.78rem;
    --home-fs-hero-subtitle: 0.86rem;
    --home-fs-toggle: 0.68rem;
    --home-fs-cta: 0.73rem;
    --home-fs-hero-stat-label: 0.64rem;
    --home-fs-chip: 0.6rem;
    --home-fs-micro: 0.66rem;
    --home-fs-number-lg: clamp(1.5rem, 7.2vw, 1.9rem);
    --home-fs-number-md: clamp(0.96rem, 4.4vw, 1.14rem);
    --home-section-space: 1.65rem;
    --home-card-padding: 0.94rem;
    --home-card-gap: 0.64rem;
  }

  .home-page .hero-section {
    padding-top: var(--hero-header-offset);
    padding-bottom: 10px;
  }

  .home-page .hero-copy-shell {
    column-gap: 10px;
    row-gap: 9px;
  }

  .home-page .hero-title {
    font-size: var(--home-fs-title);
    line-height: 1.08;
  }

  .home-page .hero-subtitle-wrap {
    grid-area: subtitle;
    max-width: 34ch;
    margin-top: 6px;
    margin-right: 0.12rem;
  }

  .home-page .hero-subtitle {
    max-width: none;
    margin-top: 0;
    margin-right: 0;
    font-size: var(--home-fs-hero-subtitle);
    line-height: 1.48;
    -webkit-line-clamp: 3;
  }

  .home-page .hero-subtitle-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .home-page .hero-subtitle.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
  }

  .home-page .hero-cta {
    margin-top: 12px;
    gap: 9px;
  }

  .home-page .hero-cta .btn {
    min-height: 44px;
    padding: 0.68rem 0.98rem;
    font-size: var(--home-fs-cta);
    letter-spacing: 0.05em;
  }

  .home-page .hero-stats {
    margin-top: 10px;
    gap: 8px;
  }

  .home-page .hero-stats .stat-item {
    padding: 8px 7px;
  }

  .home-page .hero-stats .stat-number {
    font-size: clamp(0.98rem, 4.5vw, 1.18rem);
  }

  .home-page .hero-stats .stat-label {
    font-size: var(--home-fs-hero-stat-label);
    line-height: 1.26;
    letter-spacing: 0.04em;
  }

  .home-page .section-header {
    text-align: left !important;
  }

  .home-page .section-header .section-title {
    font-size: var(--home-fs-title);
  }

  .home-page .section-header .section-description {
    max-width: none;
  }

  .home-page .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.3rem;
  }

  .home-page .process-step {
    gap: 0.62rem;
    padding: 0.68rem 0.66rem;
  }

  .home-page .step-number {
    width: 46px;
    height: 46px;
    font-size: 0.96rem;
  }

  .home-page .stat-box {
    min-height: 112px;
  }

  .home-page .impact-stats {
    grid-auto-columns: minmax(54%, 1fr);
  }

  .home-page .impact-stat-item {
    padding: 0.66rem 0.62rem;
  }

  .home-page .coming-event-main {
    gap: 0.66rem;
  }

  .home-page .coming-event-date {
    width: 56px;
    min-width: 56px;
  }

  .home-page .coming-event-day {
    font-size: 1.1rem;
  }

  .home-page .coming-event-meta span {
    font-size: var(--home-fs-body-sm);
  }

  .home-page .home-section-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   WHAT WE DO — service card hover/select polish
   ===================================================== */

.home-page .services-section .service-card {
  position: relative;
  overflow: hidden;
}

.home-page .services-section .service-card:hover {
  border-color: rgba(var(--primary-rgb), 0.38);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.home-page .services-section .service-card.is-selected {
  border-color: var(--border-on-dark);
  box-shadow: none;
  transform: none;
}

.home-page .services-section .service-card.is-selected::after {
  content: '' !important;
  display: none !important;
}

.home-page .services-section .service-card.is-selected .service-icon {
  box-shadow: none;
  border-color: transparent;
}

.home-page .services-section .service-card.is-selected .service-title {
  color: var(--text-on-dark);
}

.home-page .services-section .service-card.is-selected .service-description,
.home-page .services-section .service-card.is-selected .service-features li {
  color: var(--text-on-dark-muted);
}

.home-page .services-section .service-card.is-selected .service-link {
  color: var(--primary-color);
}

:root[data-theme='light'] .home-page .services-section .service-card.is-selected {
  border-color: rgba(82, 64, 58, 0.14);
  box-shadow: none;
}

.home-page .service-card.featured {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.26);
}

:root[data-theme='light'] .home-page .service-card.featured {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.home-page .services-section .service-card.is-selected::after,
.home-page .services-section .service-card .featured-badge {
  display: inline-flex;
  align-items: center;
  max-width: calc(50% - 0.75rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.home-page .services-section .service-card.is-selected::after {
  top: 0.58rem;
  left: 0.58rem;
  padding: 0.18rem 0.48rem;
  font-size: var(--home-fs-chip);
  letter-spacing: 0.05em;
}

.home-page .services-section .service-card .featured-badge {
  top: 0.58rem;
  right: 0.58rem;
  margin: 0;
  padding: 0.18rem 0.5rem;
  font-size: var(--home-fs-chip);
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .home-page .services-section .service-card:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  }

  .home-page .services-section .service-card.is-selected {
    transform: none;
    box-shadow: none;
  }

  .home-page .services-section .service-card.is-selected::after,
  .home-page .services-section .service-card .featured-badge {
    top: 0.5rem;
    max-width: calc(50% - 0.62rem);
    font-size: var(--home-fs-chip);
    letter-spacing: 0.04em;
    padding: 0.16rem 0.42rem;
  }

  .home-page .services-section .service-card.is-selected::after {
    left: 0.5rem;
  }

  .home-page .services-section .service-card .featured-badge {
    right: 0.5rem;
  }
}

/* =============================================
   HERO PREMIUM BOLD (Brand Showcase)
============================================= */

.home-page .hero-section--premium .hero-title {
  max-width: 16ch;
  font-size: clamp(1.86rem, 1.52rem + 1.02vw, 2.62rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.home-page .hero-section--premium .gradient-text {
  color: #ff6b72;
  margin-top: 0.24em;
}

.home-page .hero-section--premium .hero-subtitle-wrap,
.home-page .hero-section--premium .hero-subtitle {
  max-width: 40ch;
}

.home-page .hero-section--premium .hero-subtitle {
  font-size: clamp(0.95rem, 0.9rem + 0.12vw, 1.04rem);
  line-height: 1.52;
  color: rgba(234, 240, 248, 0.88);
}

.home-page .hero-section--premium .hero-cta {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.home-page .hero-section--premium .hero-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  padding-inline: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-page .hero-section--premium .hero-primary-btn {
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.3);
}

.home-page .hero-section--premium .hero-secondary-btn {
  border-color: rgba(236, 241, 249, 0.75);
  background: rgba(230, 237, 247, 0.14);
}

.home-page .hero-section--premium .hero-stats {
  width: min(100%, 520px);
  margin-top: clamp(1.45rem, 2.6vw, 2.1rem);
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
}

.home-page .hero-section--premium .hero-stats .stat-item {
  padding: 0.72rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .hero-section--premium .hero-stats .stat-item + .stat-item {
  border-left: 1px solid rgba(226, 234, 245, 0.2);
}

.home-page .hero-section--premium .hero-stats .stat-number {
  font-size: clamp(1.38rem, 1.12rem + 0.75vw, 1.92rem);
}

.home-page .hero-section--premium .hero-stats .stat-label {
  font-size: clamp(0.67rem, 0.64rem + 0.07vw, 0.74rem);
  letter-spacing: 0.05em;
}

.home-page .hero-section--premium .hero-canvas-overlay {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(var(--primary-rgb), 0.18), transparent 64%),
    linear-gradient(180deg, rgba(7, 12, 25, 0.06) 0%, rgba(7, 12, 25, 0.44) 100%);
}

.home-page .hero-section--premium .hero-canvas-ui {
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.66rem;
}

.home-page .hero-section--premium .hero-canvas-tag {
  margin-right: auto;
  font-size: 0.54rem;
  padding: 0.26rem 0.58rem;
  background: rgba(14, 23, 42, 0.34);
}

.home-page .hero-section--premium .hero-canvas-dots {
  flex-shrink: 0;
  gap: 0.26rem;
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-title {
  color: #1f2b3d;
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-subtitle {
  color: rgba(31, 43, 61, 0.82);
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats {
  border: 0;
  background: transparent;
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats .stat-item + .stat-item {
  border-left-color: rgba(31, 43, 61, 0.14);
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-canvas-tag {
  color: #3f332f;
  border-color: rgba(82, 64, 58, 0.18);
  background: rgba(255, 251, 246, 0.68);
}

@media (max-width: 991px) {
  .home-page .hero-section--premium .hero-cta {
    width: min(100%, 430px);
  }
}

@media (max-width: 767px) {
  .home-page .hero-section--premium .hero-title {
    max-width: 13.6ch;
    font-size: clamp(1.34rem, 6.2vw, 1.72rem);
  }

  .home-page .hero-section--premium .hero-subtitle-wrap,
  .home-page .hero-section--premium .hero-subtitle {
    max-width: 34ch;
  }

  .home-page .hero-section--premium .hero-cta {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.56rem;
  }

  .home-page .hero-section--premium .hero-cta .btn {
    min-height: 46px;
  }

  .home-page .hero-section--premium .hero-stats {
    width: 100%;
    gap: 0;
  }

  .home-page .hero-section--premium .hero-stats .stat-item {
    padding: 0.54rem 0.35rem;
  }

  .home-page .hero-section--premium .hero-stats .stat-number {
    font-size: clamp(1.02rem, 4.7vw, 1.22rem);
  }

  .home-page .hero-section--premium .hero-stats .stat-label {
    font-size: 0.61rem;
    letter-spacing: 0.035em;
  }

  .home-page .hero-section--premium .hero-canvas-ui {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.78rem;
  }
}

/* =============================================
   HOME COMING EVENTS: COMMUNITY CARD STYLE
============================================= */

.home-page .coming-events-section .coming-event-card {
  border-radius: 18px;
  border: 1px solid var(--border-on-dark);
  background:
    radial-gradient(220px 130px at 100% 0%, rgba(var(--primary-rgb), 0.13), transparent 70%),
    var(--surface-1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem 0.98rem;
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  transition:
    transform var(--motion-base) var(--motion-ease-emphasis),
    border-color var(--motion-base) var(--motion-ease-standard),
    box-shadow var(--motion-base) var(--motion-ease-standard);
}

.home-page .coming-events-section .coming-event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.26);
}

.home-page .coming-events-section .coming-event-media {
  display: block;
  width: calc(100% + 1.96rem);
  margin: -1rem -0.98rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-on-dark);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  min-height: 170px;
  max-height: 170px;
}

.home-page .coming-events-section .coming-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .coming-events-section .coming-event-card--single .coming-event-media {
  min-height: 236px;
  max-height: 236px;
}

.home-page .coming-events-section .coming-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  padding-bottom: 0.56rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page .coming-events-section .coming-event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 26px;
  border-radius: 999px;
  padding: 0.26rem 0.56rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.home-page .coming-events-section .coming-event-status i {
  font-size: 0.74rem;
}

.home-page .coming-events-section .coming-event-status.is-upcoming {
  color: #b9f8cf;
  border: 1px solid rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.18);
}

.home-page .coming-events-section .coming-event-status.is-today {
  color: #ffd7c3;
  border: 1px solid rgba(var(--primary-rgb), 0.52);
  background: rgba(var(--primary-rgb), 0.2);
}

.home-page .coming-events-section .coming-event-status.is-past {
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(148, 163, 184, 0.16);
}

.home-page .coming-events-section .coming-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.home-page .coming-events-section .coming-event-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.48rem;
  backdrop-filter: blur(4px);
}

.home-page .coming-events-section .coming-event-title {
  margin: 0;
  font-size: clamp(1.04rem, 0.98rem + 0.24vw, 1.18rem);
  line-height: 1.3;
}

.home-page .coming-events-section .coming-event-description {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .coming-events-section .coming-event-meta {
  display: grid;
  gap: 0.45rem;
}

.home-page .coming-events-section .coming-event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.44rem;
  color: var(--text-on-dark-muted);
  font-size: 0.79rem;
  line-height: 1.3;
}

.home-page .coming-events-section .coming-event-meta-item i {
  color: var(--primary-color);
  width: 0.95rem;
  flex-shrink: 0;
  text-align: center;
}

.home-page .coming-events-section .coming-event-footer {
  margin-top: 0.12rem;
}

.home-page .coming-events-section .coming-event-link {
  margin-top: 0;
  padding: 0.56rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.46);
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--text-on-dark);
  min-height: 38px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  letter-spacing: 0.01em;
}

.home-page .coming-events-section .coming-event-link:hover {
  border-color: rgba(var(--primary-rgb), 0.66);
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--text-on-dark);
}

.home-page .coming-events-section .coming-events-footer {
  margin-top: clamp(0.9rem, 1.7vw, 1.3rem);
}

.home-page .coming-events-section .coming-events-footer .btn {
  min-width: min(100%, 220px);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-card {
  border-color: rgba(82, 64, 58, 0.14);
  background:
    radial-gradient(220px 130px at 100% 0%, rgba(var(--primary-rgb), 0.11), transparent 72%),
    rgba(255, 251, 246, 0.94);
  box-shadow: 0 12px 24px rgba(82, 64, 58, 0.12);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-media {
  border-color: rgba(82, 64, 58, 0.16);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-card:hover {
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow: 0 16px 28px rgba(82, 64, 58, 0.14);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-top {
  border-bottom-color: rgba(82, 64, 58, 0.14);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-status.is-upcoming {
  color: #0f5132;
  border-color: #86efac;
  background: #dcfce7;
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-status.is-today {
  color: #b42318;
  border-color: rgba(var(--primary-rgb), 0.36);
  background: rgba(var(--primary-rgb), 0.12);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-status.is-past {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(148, 163, 184, 0.16);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-badge {
  border-color: rgba(82, 64, 58, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: #67564e;
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-link {
  color: #6d2419;
  border-color: rgba(var(--primary-rgb), 0.34);
  background: rgba(var(--primary-rgb), 0.1);
}

:root[data-theme='light'] .home-page .coming-events-section .coming-event-link:hover {
  color: #4a3a34;
}

@media (max-width: 767px) {
  .home-page .coming-events-section .coming-event-card {
    border-radius: 16px;
    padding: 0.82rem 0.76rem;
    gap: 0.66rem;
  }

  .home-page .coming-events-section .coming-event-media {
    width: calc(100% + 1.52rem);
    margin: -0.82rem -0.76rem 0;
    border-radius: 16px 16px 0 0;
    min-height: 152px;
    max-height: 152px;
  }

  .home-page .coming-events-section .coming-event-card--single .coming-event-media {
    min-height: 168px;
    max-height: 168px;
  }

  .home-page .coming-events-section .coming-event-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.44rem;
  }

  .home-page .coming-events-section .coming-event-badges {
    justify-content: flex-start;
  }

  .home-page .coming-events-section .coming-event-link {
    width: 100%;
  }
}

/* Final mobile override: keep premium hero headline compact on small screens */
@media (max-width: 767px) {
  .home-page .hero-section--premium .hero-title {
    max-width: 100%;
    font-size: clamp(1.18rem, 5.2vw, 1.48rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: pretty;
  }

  .home-page .hero-section--premium .hero-title .gradient-text {
    display: inline;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .home-page .hero-section--premium .hero-title {
    max-width: 100%;
    font-size: clamp(0.98rem, 5.1vw, 1.18rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
  }

  .home-page .hero-section--premium .hero-title .gradient-text {
    display: inline;
    margin-top: 0;
  }
}

/* Phone: keep "See more" toggle smaller and lighter */
@media (max-width: 767px) {
  .home-page .hero-subtitle-toggle {
    font-size: var(--home-fs-toggle);
    letter-spacing: 0.035em;
    color: var(--primary-dark);
    font-weight: 800;
    min-height: 30px;
    padding: 0.24rem 0.36rem 0.24rem 0;
    line-height: 1;
  }

  .home-page .hero-subtitle-toggle::after {
    width: 5px;
    height: 5px;
    border-right-width: 1.25px;
    border-bottom-width: 1.25px;
  }

  .home-page .hero-subtitle-toggle:hover {
    color: #a53a3c;
  }
}

@media (max-width: 480px) {
  .home-page .hero-subtitle-toggle {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    min-height: 28px;
    padding: 0.2rem 0.28rem 0.2rem 0;
  }
}

/* Small phones: stack hero text and visual for cleaner composition */
@media (max-width: 520px) {
  .home-page .hero-section {
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }

  .home-page .hero-copy-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'badge'
      'title'
      'subtitle'
      'visual'
      'cta'
      'stats';
    row-gap: 10px;
  }

  .home-page .hero-title {
    max-width: 100%;
  }

  .home-page .hero-subtitle-wrap {
    max-width: 100%;
    margin-top: 0;
    margin-right: 0;
  }

  .home-page .hero-subtitle {
    max-width: 100%;
    margin-top: 0;
    margin-right: 0;
  }

  .home-page .hero-visual--mobile {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-height: clamp(172px, 47vw, 224px);
    max-height: 228px;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    padding: 0.28rem;
  }

  .home-page .hero-editorial-image {
    object-position: 50% 46%;
    transform: scale(1);
  }

  .home-page .hero-cta {
    margin-top: 6px;
  }

  .home-page .hero-stats {
    margin-top: 6px;
  }
}

/* Final override: premium hero stat cards */
.home-page .hero-section--premium .hero-stats {
  width: min(100%, 560px);
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.46rem;
  padding: 0.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  border-radius: 16px;
  background:
    radial-gradient(130% 140% at 100% 0%, rgba(var(--primary-rgb), 0.18), transparent 64%),
    linear-gradient(158deg, rgba(var(--dark-base-2-rgb), 0.48), rgba(var(--dark-base-1-rgb), 0.32));
  box-shadow:
    0 16px 34px rgba(4, 10, 22, 0.3),
    inset 0 1px 0 rgba(248, 252, 255, 0.08);
  backdrop-filter: blur(8px);
}

.home-page .hero-section--premium .hero-stats .stat-item {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.22rem;
  min-height: 100%;
  padding: 0.62rem 0.78rem 0.58rem;
  border: 1px solid rgba(228, 236, 247, 0.2);
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(247, 251, 255, 0.1), rgba(247, 251, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(248, 252, 255, 0.1),
    0 8px 14px rgba(6, 12, 27, 0.2);
  transition:
    transform var(--motion-fast) var(--motion-ease-standard),
    border-color var(--motion-fast) var(--motion-ease-standard),
    box-shadow var(--motion-fast) var(--motion-ease-standard),
    background-color var(--motion-fast) var(--motion-ease-standard);
}

.home-page .hero-section--premium .hero-stats .stat-number {
  margin: 0;
  font-size: clamp(1.24rem, 1rem + 0.7vw, 1.74rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f6faff;
}

.home-page .hero-section--premium .hero-stats .stat-label {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.32;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227, 236, 248, 0.76);
}

@media (hover: hover) and (pointer: fine) {
  .home-page .hero-section--premium .hero-stats .stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb), 0.44);
    background: linear-gradient(162deg, rgba(247, 251, 255, 0.14), rgba(247, 251, 255, 0.05));
    box-shadow:
      inset 0 1px 0 rgba(248, 252, 255, 0.16),
      0 10px 18px rgba(6, 12, 27, 0.28);
  }

  .home-page .hero-section--premium .hero-stats .stat-item:hover .stat-number {
    color: #ffffff;
  }
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats {
  border-color: rgba(86, 68, 62, 0.18);
  background:
    radial-gradient(130% 140% at 100% 0%, rgba(196, 138, 84, 0.14), transparent 64%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.95), rgba(250, 244, 239, 0.9));
  box-shadow:
    0 14px 28px rgba(82, 64, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats .stat-item {
  border-color: rgba(86, 68, 62, 0.18);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.82), rgba(248, 239, 233, 0.45));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 14px rgba(82, 64, 58, 0.12);
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats .stat-number {
  color: #2a3144;
}

:root[data-theme='light'] .home-page .hero-section--premium .hero-stats .stat-label {
  color: rgba(63, 47, 42, 0.72);
}

@media (max-width: 767px) {
  .home-page .hero-section--premium .hero-stats {
    width: 100%;
    gap: 0.34rem;
    padding: 0.34rem;
    border-radius: 12px;
  }

  .home-page .hero-section--premium .hero-stats .stat-item {
    padding: 0.42rem 0.38rem 0.38rem;
    border-radius: 8px;
    gap: 0.08rem;
  }

  .home-page .hero-section--premium .hero-stats .stat-number {
    font-size: clamp(0.96rem, 4.1vw, 1.12rem);
  }

  .home-page .hero-section--premium .hero-stats .stat-label {
    font-size: 0.54rem;
    letter-spacing: 0.035em;
  }
}

/* Process connector: desktop-only real element, no line on phone */
.home-page .process-timeline {
  position: relative;
  padding-bottom: 2.6rem;
}

.home-page .process-timeline::before {
  display: none !important;
}

.home-page .process-step::before {
  display: none !important;
}

.home-page .home-process-line {
  position: absolute;
  left: var(--home-process-line-left, 38px);
  top: var(--home-process-line-top, 64px);
  bottom: var(--home-process-line-bottom, 72px);
  width: 3px;
  background: rgba(var(--primary-rgb), 0.62);
  pointer-events: none;
  z-index: 0;
  display: var(--home-process-line-display, block);
}

.home-page .process-step {
  position: relative;
  z-index: 1;
}

.home-page .step-number {
  position: relative;
  z-index: 7;
}

.home-page {
  --home-process-line-display: block;
  --home-process-line-left: calc(0.9rem + 31px);
  --home-process-line-top: calc(0.84rem + 62px);
  --home-process-line-bottom: 72px;
}

@media (max-width: 767px) {
  .home-page {
    --home-process-line-display: none;
    --home-process-line-left: calc(0.8rem + 25px);
    --home-process-line-top: calc(0.8rem + 50px);
    --home-process-line-bottom: 0;
  }

  .home-page .process-timeline {
    padding-bottom: 0 !important;
  }
}

.home-page .portfolio-card-list {
  display: grid;
  gap: 0.45rem;
}

.home-page .portfolio-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  color: var(--text-on-dark-muted);
  line-height: 1.45;
}

.home-page .portfolio-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.86);
  margin-top: 0.42rem;
  flex-shrink: 0;
}

.home-page .studio-partners-section,
.home-page .clients-partners-section,
.home-page .home-closing-section {
  border-top: 1px solid var(--border-on-dark);
  background: var(--surface-1);
}

.home-page .clients-partners-section .card,
.home-page .home-closing-section .card {
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.24) !important;
  background:
    radial-gradient(220px 130px at 100% 0%, rgba(var(--primary-rgb), 0.14), transparent 72%),
    var(--surface-2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.home-page .studio-partners-grid {
  align-items: stretch;
}

.home-page .studio-partner-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.26);
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(var(--primary-rgb), 0.2), transparent 72%),
    linear-gradient(165deg, rgba(var(--primary-rgb), 0.12), rgba(255, 255, 255, 0) 58%),
    var(--surface-2);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  padding: 1.1rem;
  display: grid;
  gap: 0.85rem;
  min-height: 100%;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-page .studio-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.44);
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.3);
}

.home-page .studio-partner-chip {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.42);
  background: rgba(var(--primary-rgb), 0.16);
  color: rgba(var(--primary-rgb), 0.98);
  padding: 0.26rem 0.66rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .studio-partner-logo-wrap {
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(10, 8, 7, 0.4);
  padding: 0.75rem;
}

.home-page .studio-partner-logo {
  display: block;
  width: 100%;
  height: clamp(170px, 18vw, 220px);
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.home-page .studio-partner-body {
  display: grid;
  gap: 0.35rem;
}

.home-page .studio-partner-name {
  color: var(--text-on-dark);
  font-weight: 800;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  letter-spacing: 0.01em;
}

.home-page .studio-partner-copy {
  color: var(--text-on-dark-muted);
  font-size: clamp(0.82rem, 0.78rem + 0.15vw, 0.9rem);
  line-height: 1.5;
}

.home-page .clients-partners-section p {
  color: var(--text-on-dark-muted);
}

.home-page .clients-logo-marquee {
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-page .clients-logo-marquee::before,
.home-page .clients-logo-marquee::after {
  content: none;
}

.home-page .clients-logo-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  will-change: transform;
  animation: clients-logo-marquee-scroll 30s linear infinite;
}

.home-page .clients-logo-marquee:hover .clients-logo-track,
.home-page .clients-logo-marquee:focus-within .clients-logo-track {
  animation-play-state: paused;
}

.home-page .clients-logo-item {
  width: clamp(158px, 16vw, 214px);
  height: clamp(80px, 9vw, 96px);
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.home-page .clients-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

@keyframes clients-logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-page .home-closing-section .card-body {
  max-width: 880px;
  margin: 0 auto;
}

.home-page .home-closing-section .section-title {
  margin-bottom: 0.82rem;
}

.home-page .home-closing-section p {
  color: var(--text-on-dark-muted);
}

@media (max-width: 767px) {
  .home-page .clients-partners-section .card,
  .home-page .home-closing-section .card {
    border-radius: 14px;
  }

  .home-page .clients-logo-marquee {
    padding: 0;
  }

  .home-page .clients-logo-item {
    width: 144px;
    height: 78px;
  }

  .home-page .studio-partner-card {
    border-radius: 16px;
    padding: 0.92rem;
    gap: 0.72rem;
  }

  .home-page .studio-partner-logo-wrap {
    border-radius: 14px;
    padding: 0.62rem;
  }

  .home-page .studio-partner-logo {
    border-radius: 10px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .clients-logo-track {
    animation: none;
    transform: translateX(0);
  }
}

/* =====================================================
   Hero Redesign (Text Behind Object)
   ===================================================== */

.home-page .hero-section--object {
  background: #efeae2 !important;
  border-bottom: 1px solid rgba(164, 52, 59, 0.24) !important;
  padding-top: clamp(0.4rem, 1.2vw, 0.9rem) !important;
  padding-bottom: clamp(1rem, 2vw, 1.5rem) !important;
  min-height: auto !important;
}

.home-page .hero-section--object > .container {
  display: block !important;
  min-height: auto !important;
}

.home-page .hero-object-shell {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(164, 52, 59, 0.22);
  background:
    radial-gradient(140% 68% at 50% 86%, rgba(33, 18, 15, 0.22), rgba(33, 18, 15, 0)),
    #f3efe8;
  box-shadow: 0 24px 50px rgba(24, 16, 15, 0.23);
  padding: clamp(0.9rem, 1.6vw, 1.3rem) clamp(0.9rem, 1.8vw, 1.5rem) clamp(1.1rem, 2vw, 1.6rem);
}

.home-page .hero-object-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 84, 92, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 84, 92, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.26;
  pointer-events: none;
}

.home-page .hero-object-top,
.home-page .hero-object-stage,
.home-page .hero-object-actions {
  position: relative;
  z-index: 2;
}

.home-page .hero-object-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: clamp(0.5rem, 1.4vw, 0.9rem);
}

.home-page .hero-object-brand {
  line-height: 1;
  text-transform: uppercase;
}

.home-page .hero-object-brand-kh {
  margin: 0 0 0.1rem;
  font-size: clamp(0.76rem, 0.65rem + 0.28vw, 0.95rem);
  font-weight: 700;
  color: #1f1a17;
}

.home-page .hero-object-brand-en {
  margin: 0;
  font-size: clamp(2rem, 1.1rem + 2.2vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  color: #e2545c;
}

.home-page .hero-object-brand-sub {
  margin: 0.1rem 0 0;
  font-size: clamp(1.05rem, 0.72rem + 0.65vw, 1.46rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #282220;
}

.home-page .hero-object-contact {
  text-align: right;
}

.home-page .hero-object-contact p {
  margin: 0;
  font-size: clamp(0.72rem, 0.62rem + 0.28vw, 0.95rem);
  line-height: 1.3;
  font-weight: 800;
  color: #e2545c;
  letter-spacing: 0.01em;
}

.home-page .hero-object-stage {
  position: relative;
  min-height: clamp(360px, 56vw, 650px);
}

.home-page .hero-object-backtext {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-52%);
  display: grid;
  gap: clamp(0.22rem, 0.6vw, 0.46rem);
  justify-items: center;
  pointer-events: none;
  z-index: 1;
}

.home-page .hero-object-backtext span {
  font-size: clamp(2.3rem, 7.4vw, 6.8rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #e2545c;
  text-align: center;
  white-space: nowrap;
}

.home-page .hero-object-monument {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(35vw, 470px);
  min-width: 210px;
  max-height: clamp(290px, 52vw, 610px);
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 26px 30px rgba(30, 16, 14, 0.34));
  pointer-events: none;
}

.home-page .hero-object-arrows {
  position: absolute;
  right: clamp(10px, 1.8vw, 20px);
  bottom: clamp(14px, 2vw, 20px);
  display: inline-flex;
  gap: 0.24rem;
  z-index: 3;
}

.home-page .hero-object-arrows span {
  width: clamp(14px, 1.35vw, 18px);
  height: clamp(14px, 1.35vw, 18px);
  border-top: 4px solid #e2545c;
  border-right: 4px solid #e2545c;
  transform: rotate(45deg);
}

.home-page .hero-object-actions {
  margin-top: clamp(0.3rem, 1.1vw, 0.8rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.home-page .hero-object-btn {
  border-radius: 999px;
  font-size: clamp(0.76rem, 0.68rem + 0.26vw, 0.92rem);
  font-weight: 700;
  padding: 0.56rem 1rem;
}

.home-page .hero-object-btn-primary {
  box-shadow: 0 10px 20px rgba(164, 52, 59, 0.34);
}

.home-page .hero-object-btn-secondary {
  border-color: rgba(164, 52, 59, 0.56);
  color: #a0343b;
  background: rgba(255, 255, 255, 0.64);
}

.home-page .hero-object-btn-secondary:hover {
  color: #fff;
  border-color: #a0343b;
  background: #a0343b;
}

@media (max-width: 991px) {
  .home-page .hero-object-shell {
    padding: 0.8rem 0.78rem 1rem;
  }

  .home-page .hero-object-top {
    flex-direction: column;
    gap: 0.45rem;
  }

  .home-page .hero-object-contact {
    text-align: left;
  }

  .home-page .hero-object-stage {
    min-height: clamp(300px, 82vw, 510px);
  }

  .home-page .hero-object-backtext span {
    font-size: clamp(1.9rem, 11vw, 4.3rem);
    white-space: normal;
    text-wrap: balance;
  }

  .home-page .hero-object-monument {
    width: min(72vw, 360px);
    max-height: min(78vw, 500px);
  }

  .home-page .hero-object-arrows {
    display: none;
  }

  .home-page .hero-object-actions {
    margin-top: 0.6rem;
  }

  .home-page .hero-object-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   Hero Redesign V2 (Traditional + Modern)
   ===================================================== */

.home-page .hero-section--heritage {
  background:
    radial-gradient(130% 68% at 50% 100%, rgba(90, 44, 31, 0.18), rgba(90, 44, 31, 0)),
    #eee7de !important;
  border-bottom: 1px solid rgba(161, 59, 64, 0.22) !important;
  min-height: auto !important;
  padding-top: clamp(0.35rem, 1.1vw, 0.8rem) !important;
  padding-bottom: clamp(0.95rem, 2vw, 1.5rem) !important;
}

.home-page .hero-section--heritage > .container {
  min-height: auto !important;
  display: block !important;
}

.home-page .heritage-hero {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(160, 58, 64, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(132deg, rgba(231, 220, 206, 0.78), rgba(246, 241, 233, 0.95));
  box-shadow: 0 28px 56px rgba(32, 18, 14, 0.2);
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(1rem, 2.2vw, 1.6rem) clamp(1.15rem, 2.2vw, 1.7rem);
}

.home-page .heritage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(160, 58, 64, 0.12) 0 2px, transparent 2px) 0 0 / 86px 86px,
    radial-gradient(circle at 65% 50%, rgba(160, 58, 64, 0.08) 0 1.5px, transparent 1.5px) 0 0 / 52px 52px;
  opacity: 0.3;
  pointer-events: none;
}

.home-page .heritage-topbar,
.home-page .heritage-stage,
.home-page .heritage-cta {
  position: relative;
  z-index: 2;
}

.home-page .heritage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: clamp(0.45rem, 1vw, 0.8rem);
}

.home-page .heritage-brand {
  text-transform: uppercase;
  line-height: 1;
}

.home-page .heritage-brand-kh {
  font-size: clamp(0.8rem, 0.68rem + 0.25vw, 0.98rem);
  font-weight: 700;
  color: #241f1b;
}

.home-page .heritage-brand-en {
  font-size: clamp(2rem, 1.25rem + 1.9vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #de555d;
}

.home-page .heritage-brand-sub {
  margin-top: 0.08rem;
  font-size: clamp(1.03rem, 0.77rem + 0.58vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #2a2420;
}

.home-page .heritage-contact {
  text-align: right;
}

.home-page .heritage-contact p {
  font-size: clamp(0.72rem, 0.61rem + 0.28vw, 0.95rem);
  line-height: 1.3;
  font-weight: 800;
  color: #de555d;
  letter-spacing: 0.01em;
}

.home-page .heritage-stage {
  position: relative;
  min-height: clamp(365px, 56vw, 660px);
  display: grid;
  align-items: end;
}

.home-page .heritage-backtext {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-52%);
  display: grid;
  gap: clamp(0.12rem, 0.42vw, 0.36rem);
  justify-items: center;
  pointer-events: none;
  z-index: 1;
}

.home-page .heritage-line {
  display: block;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-size: clamp(2.35rem, 7.6vw, 7rem);
  font-weight: 900;
  color: #e4575f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-page .heritage-monument-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(2px, 0.35vw, 4px);
  transform: translateX(-50%);
  z-index: 2;
}

.home-page .heritage-monument {
  width: min(35vw, 490px);
  min-width: 220px;
  max-height: clamp(310px, 53vw, 628px);
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(30, 16, 14, 0.33));
  animation: heritage-float 7s ease-in-out infinite;
  pointer-events: none;
}

.home-page .heritage-monument-shadow {
  width: clamp(180px, 22vw, 340px);
  height: clamp(18px, 2vw, 28px);
  margin: -6px auto 0;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(37, 18, 15, 0.35), rgba(37, 18, 15, 0));
  filter: blur(1px);
}

.home-page .heritage-accent-badge {
  position: absolute;
  left: clamp(8px, 1.2vw, 14px);
  bottom: clamp(44px, 6vw, 64px);
  z-index: 3;
}

.home-page .heritage-accent-badge span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(160, 58, 64, 0.44);
  background: rgba(255, 255, 255, 0.75);
  color: #8f333a;
  padding: 0.28rem 0.75rem;
  font-size: clamp(0.64rem, 0.6rem + 0.14vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .heritage-arrows {
  position: absolute;
  right: clamp(10px, 1.9vw, 24px);
  bottom: clamp(10px, 1.8vw, 20px);
  display: inline-flex;
  gap: 0.22rem;
  z-index: 3;
}

.home-page .heritage-arrows span {
  width: clamp(14px, 1.35vw, 20px);
  height: clamp(14px, 1.35vw, 20px);
  border-top: 4px solid #de555d;
  border-right: 4px solid #de555d;
  transform: rotate(45deg);
}

.home-page .heritage-cta {
  margin-top: clamp(0.26rem, 0.9vw, 0.7rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-page .heritage-btn {
  border-radius: 999px;
  font-size: clamp(0.76rem, 0.7rem + 0.24vw, 0.93rem);
  font-weight: 700;
  padding: 0.56rem 1.04rem;
}

.home-page .heritage-btn-primary {
  box-shadow: 0 10px 20px rgba(160, 58, 64, 0.3);
}

.home-page .heritage-btn-secondary {
  border-color: rgba(160, 58, 64, 0.56);
  color: #9d3a41;
  background: rgba(255, 255, 255, 0.64);
}

.home-page .heritage-btn-secondary:hover {
  color: #fff;
  border-color: #9d3a41;
  background: #9d3a41;
}

@keyframes heritage-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@media (max-width: 991px) {
  .home-page .heritage-hero {
    padding: 0.85rem 0.8rem 1rem;
  }

  .home-page .heritage-topbar {
    flex-direction: column;
    gap: 0.4rem;
  }

  .home-page .heritage-contact {
    text-align: left;
  }

  .home-page .heritage-stage {
    min-height: clamp(300px, 84vw, 520px);
  }

  .home-page .heritage-line {
    font-size: clamp(1.95rem, 11vw, 4.45rem);
    white-space: normal;
    text-wrap: balance;
  }

  .home-page .heritage-monument {
    width: min(73vw, 370px);
    max-height: min(82vw, 515px);
    animation: none;
  }

  .home-page .heritage-accent-badge {
    left: 8px;
    bottom: 38px;
  }

  .home-page .heritage-arrows {
    display: none;
  }

  .home-page .heritage-cta {
    margin-top: 0.56rem;
  }

  .home-page .heritage-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .heritage-monument {
    animation: none;
  }
}
