.home-redesign .home-hero {
  padding: clamp(42px, 6vw, 88px) clamp(18px, 3.4vw, 58px) clamp(54px, 7vw, 96px);
}

.home-redesign .home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: center;
  min-height: min(720px, calc(100vh - 160px));
}

.home-redesign .home-hero-message {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.home-redesign .home-hero .eyebrow {
  margin-bottom: 22px;
}

.home-redesign .home-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 5.8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-redesign .home-hero h1 span,
.home-redesign .home-hero h1 strong {
  display: block;
}

.home-redesign .home-hero h1 strong {
  margin-top: 8px;
  color: #2e9fff;
  background: linear-gradient(110deg, #29b8ff 0%, #4d7dff 48%, #8a61ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-redesign .home-hero .hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.home-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.home-direction-button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(56, 191, 255, 0.32);
  border-radius: 18px;
  color: #f5f8ff;
  background: rgba(5, 20, 39, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-direction-button-media {
  border-color: rgba(148, 91, 255, 0.34);
}

.home-direction-button:hover,
.home-direction-button:focus-visible,
.home-direction-button.is-active {
  border-color: rgba(72, 205, 255, 0.78);
  background: linear-gradient(125deg, rgba(16, 111, 172, 0.32), rgba(34, 43, 96, 0.72));
  box-shadow: 0 14px 36px rgba(0, 116, 190, 0.17), inset 0 1px rgba(255, 255, 255, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.home-direction-button-media:hover,
.home-direction-button-media:focus-visible,
.home-direction-button-media.is-active {
  border-color: rgba(160, 101, 255, 0.8);
  background: linear-gradient(125deg, rgba(61, 44, 129, 0.55), rgba(24, 48, 89, 0.76));
}

.home-direction-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(105, 214, 255, 0.42);
  border-radius: 50%;
  background: rgba(4, 13, 29, 0.75);
}

.home-direction-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.home-direction-button > span:nth-child(2) {
  min-width: 0;
}

.home-direction-button strong,
.home-direction-button small {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.home-direction-button strong {
  font-size: 15px;
  line-height: 1.2;
}

.home-direction-button small {
  margin-top: 4px;
  color: rgba(220, 232, 248, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.home-direction-button > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-hero-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  margin-top: 24px;
  color: rgba(211, 226, 246, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.home-hero-proof > span {
  display: inline-grid;
  min-width: 42px;
  min-height: 28px;
  place-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(82, 201, 255, 0.35);
  border-radius: 999px;
  color: #65d7ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-hero-proof p { margin: 0; }

.home-hero-window {
  position: relative;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(73, 195, 255, 0.42);
  border-radius: 34px;
  background: #061427;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38), 0 0 65px rgba(33, 154, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.home-hero-window::before,
.home-hero-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.home-hero-window::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 8, 19, 0.06) 20%, rgba(2, 10, 24, 0.86) 83%, rgba(2, 9, 22, 0.98));
}

.home-hero-window::after {
  width: 290px;
  height: 290px;
  top: -120px;
  right: -105px;
  border: 1px solid rgba(114, 210, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(63, 184, 255, 0.14), inset 0 0 55px rgba(126, 77, 255, 0.11);
}

.home-hero-slides,
.home-hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-slides img {
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.85) contrast(1.04);
  transform: scale(1.07);
  transition: opacity 1000ms ease, transform 6500ms linear;
}

.home-hero-slides img.is-active {
  opacity: 1;
  transform: scale(1.015);
}

.home-window-bar {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: rgba(235, 245, 255, 0.7);
  background: rgba(5, 14, 29, 0.48);
  backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45cfff;
}

.home-window-bar i:nth-child(2) { background: #8467ff; }
.home-window-bar i:nth-child(3) { background: rgba(255, 255, 255, 0.45); }
.home-window-bar span { margin-left: auto; }

.home-window-panel {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 4vw, 42px);
  bottom: 56px;
  left: clamp(20px, 4vw, 42px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(102, 207, 255, 0.34);
  border-radius: 22px;
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(5, 24, 44, 0.82), rgba(12, 15, 38, 0.72));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.home-window-panel[hidden] { display: none; }
.home-window-panel.is-active { animation: home-panel-in 320ms ease both; }

.home-window-panel > span {
  color: #61d7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-window-panel h2 {
  max-width: 12ch;
  margin: 11px 0 18px;
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  hyphens: none;
}

.home-window-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-window-panel li {
  padding: 7px 11px;
  border: 1px solid rgba(118, 211, 255, 0.24);
  border-radius: 999px;
  color: rgba(229, 239, 252, 0.82);
  background: rgba(3, 13, 29, 0.5);
  font-size: 12px;
  line-height: 1.25;
}

.home-slide-dots {
  position: absolute;
  z-index: 5;
  right: 32px;
  bottom: 27px;
  display: flex;
  gap: 8px;
}

.home-slide-dots button {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.home-slide-dots button.is-active {
  width: 42px;
  background: linear-gradient(90deg, #36c9ff, #7d68ff);
}

.home-directions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(70px, 9vw, 126px);
  padding-top: 24px;
  border-top: 1px solid rgba(92, 180, 255, 0.18);
}

.home-directions-heading span {
  color: #4fcfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-directions-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
}

.home-redesign .solution-stage {
  grid-template-columns: minmax(0, 1fr) clamp(108px, 9vw, 150px) minmax(0, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
  align-items: stretch;
  margin-top: 28px;
}

.home-redesign .solution-stage::before { display: none; }

.home-redesign .solution-stage .people-card { grid-column: 1; }
.home-redesign .solution-stage .media-card { grid-column: 3; }

.home-redesign .solution-card {
  height: auto;
  min-height: clamp(610px, 46vw, 680px);
  padding: clamp(25px, 3vw, 38px);
  border-radius: 26px;
}

.home-redesign .solution-card .solution-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.home-redesign .solution-card .service-list {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  align-content: center;
  margin: 22px 0 28px;
}

.home-redesign .solution-card .service-list li {
  min-width: 0;
}

.home-redesign .solution-card .section-link {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: min(100%, 330px);
  margin-top: auto;
}

.solution-ai-note {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 14px 0 0 !important;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 78%, white) !important;
  background: color-mix(in srgb, var(--accent) 9%, rgba(3, 10, 27, .68));
  font-size: 11px !important;
  font-weight: 850;
  line-height: 1.25 !important;
  text-align: center;
}

.home-ai-bridge {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #eef8ff;
  text-align: center;
}

.home-ai-core {
  position: relative;
  display: grid;
  width: clamp(86px, 7vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(112, 213, 255, .58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.2), transparent 27%),
    linear-gradient(145deg, rgba(15, 133, 205, .7), rgba(105, 68, 202, .7));
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 0 34px rgba(68, 166, 255, .3);
}

.home-ai-core::before,
.home-ai-core::after {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(113, 210, 255, .24);
  border-radius: 50%;
  content: "";
  animation: home-ai-ring 3.2s ease-in-out infinite;
}

.home-ai-core::after { inset: -20px; border-color: rgba(164, 111, 255, .18); animation-delay: -1.6s; }
.home-ai-core strong { font-size: clamp(24px, 2.2vw, 34px); line-height: 1; }
.home-ai-core small { max-width: 9ch; font-size: 9px; font-weight: 850; line-height: 1.15; text-transform: uppercase; }
.home-ai-bridge > p { max-width: 15ch; margin: 4px 0 !important; color: rgba(216, 231, 249, .72); font-size: 11px !important; line-height: 1.45 !important; }

.home-ai-beam {
  position: relative;
  display: block;
  width: 2px;
  height: clamp(78px, 8vw, 118px);
  overflow: visible;
  background: linear-gradient(180deg, transparent, rgba(63, 198, 255, .65), rgba(144, 91, 255, .6), transparent);
  box-shadow: 0 0 18px rgba(68, 180, 255, .28);
}

.home-ai-beam i {
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #75dfff;
  box-shadow: 0 0 14px #54cfff;
  transform: translateX(-50%);
  animation: home-ai-flow 2.4s linear infinite;
}

.home-ai-beam i:nth-child(2) { animation-delay: -.8s; background: #9c89ff; }
.home-ai-beam i:nth-child(3) { animation-delay: -1.6s; }
.home-ai-beam-out i { animation-direction: reverse; }

body.light .home-ai-bridge { color: #10233a; }
body.light .home-ai-bridge > p { color: rgba(16,35,58,.68); }
body.light .solution-ai-note { background: rgba(255,255,255,.58); }

@keyframes home-ai-flow {
  from { top: -4px; opacity: 0; }
  18%, 82% { opacity: 1; }
  to { top: calc(100% - 4px); opacity: 0; }
}

@keyframes home-ai-ring {
  0%,100% { transform: scale(.94); opacity: .35; }
  50% { transform: scale(1.08); opacity: .9; }
}

body.light.home-redesign .home-direction-button {
  color: #0b2037;
  background: rgba(255, 255, 255, 0.76);
}

body.light.home-redesign .home-direction-button small { color: rgba(18, 41, 66, 0.7); }

@keyframes home-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .home-redesign .home-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 32px;
  }

  .home-redesign .home-hero h1 { font-size: clamp(50px, 6.6vw, 76px); }
  .home-hero-actions { grid-template-columns: 1fr; }
  .home-hero-window { min-height: 570px; }
}

@media (max-width: 860px) {
  .home-redesign .home-hero {
    padding: 38px 16px 64px;
  }

  .home-redesign .home-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-redesign .home-hero-message { max-width: 720px; }
  .home-hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-window { min-height: min(620px, 78vh); }
  .home-redesign .solution-stage { grid-template-columns: 1fr; gap: 20px; }
  .home-redesign .solution-stage .people-card,
  .home-redesign .solution-stage .media-card,
  .home-redesign .solution-stage .home-ai-bridge { grid-column: 1; }
  .home-redesign .solution-card { min-height: 0; }
  .home-ai-bridge { min-height: 230px; }
  .home-ai-beam { height: 46px; }
  .home-ai-bridge > p { max-width: 30ch; }
}

@media (max-width: 560px) {
  .home-redesign .home-hero { padding-top: 28px; }

  .home-redesign .home-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.94;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  .home-redesign .home-hero .hero-copy {
    margin-top: 22px;
    font-size: 16px;
  }

  .home-hero-actions { grid-template-columns: 1fr; margin-top: 26px; }
  .home-direction-button { min-height: 76px; }
  .home-hero-proof { grid-template-columns: auto minmax(0, 1fr); }
  .home-hero-window { min-height: 470px; border-radius: 24px; }
  .home-window-bar { top: 14px; right: 14px; left: 14px; }
  .home-window-panel { right: 14px; bottom: 48px; left: 14px; padding: 20px 18px; }
  .home-window-panel h2 { max-width: 15ch; font-size: 29px; }
  .home-window-panel li { font-size: 11px; }
  .home-slide-dots { right: 22px; bottom: 20px; }
  .home-directions-heading { align-items: start; flex-direction: column; margin-top: 64px; }
  .home-redesign .solution-card .service-list { grid-template-columns: 1fr; }
  .home-redesign .solution-card .service-list { flex: 0 0 auto; align-content: start; }
  .home-redesign .solution-card .section-link { margin-top: 8px; }
  .home-ai-bridge { min-height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slides img,
  .home-direction-button,
  .home-slide-dots button { transition: none; }
  .home-window-panel.is-active { animation: none; }
  .home-ai-core::before,
  .home-ai-core::after,
  .home-ai-beam i { animation: none; }
}
