/* Industries index hero — 01 Hero industry switchboard */

@keyframes cw-industries-index-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cw-industries-index-hero-marq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cw-industries-index-hero {
  background:
    radial-gradient(800px 520px at 78% 40%, var(--cw-industries-index-hero-glow, rgba(212, 245, 60, 0.2)), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 40px) 40px;
  transition: background 0.6s ease;
  box-sizing: border-box;
}

.cw-industries-index-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-industries-index-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-industries-index-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-industries-index-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6.4vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cw-industries-index-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
  letter-spacing: -0.02em;
}

.cw-industries-index-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.8);
}

.cw-industries-index-hero__sub {
  margin: 0;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.62);
}

.cw-industries-index-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 560px;
}

.cw-industries-index-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(243, 239, 231, 0.18);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
}

.cw-industries-index-hero__chip:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-industries-index-hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cw-industries-index-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  perspective: 900px;
}

.cw-industries-index-hero__detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cw-industries-index-hero__detail.is-updating > * {
  animation: cw-industries-index-hero-in 0.35s ease both;
}

.cw-industries-index-hero__meta {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cw-industries-index-hero__industry-name {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.cw-industries-index-hero__blurb {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.72);
}

.cw-industries-index-hero__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-industries-index-hero__cap {
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
}

.cw-industries-index-hero__explore {
  align-self: flex-start;
  margin-top: 4px;
  color: #141210;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  transition: background 0.4s, color 0.2s;
  text-decoration: none;
}

.cw-industries-index-hero__explore:hover,
.cw-industries-index-hero__explore:focus-visible {
  background: #fff !important;
  color: #141210;
  outline: none;
}

.cw-industries-index-hero__ticks {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.cw-industries-index-hero__tick {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(243, 239, 231, 0.12);
  transition: background 0.3s;
}

.cw-industries-index-hero__phone-wrap {
  position: relative;
  width: clamp(190px, 17vw, 240px);
  transform: rotateY(var(--cw-industries-index-hero-ry, 0deg)) rotateX(var(--cw-industries-index-hero-rx, 0deg));
  transition: transform 0.25s ease-out;
}

.cw-industries-index-hero__phone {
  background: #2a2622;
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--cw-industries-index-hero-shadow, 0 40px 80px -30px rgba(0, 0, 0, 0.8));
}

.cw-industries-index-hero__notify {
  position: absolute;
  left: -54px;
  top: 18%;
  z-index: 2;
  background: #f3efe7;
  color: #141210;
  border-radius: 14px;
  padding: 9px 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  max-width: 210px;
  transform: translateZ(40px);
}

.cw-industries-index-hero__notify-ab {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 11px;
}

.cw-industries-index-hero__notify-text {
  font-size: 11.5px;
  line-height: 1.3;
}

.cw-industries-index-hero__notify-text b {
  display: block;
}

.cw-industries-index-hero__screen {
  color: #141210;
  border-radius: 31px;
  aspect-ratio: 9 / 18.5;
  padding: 16px 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  transition: background 0.5s;
}

.cw-industries-index-hero__status {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 700;
}

.cw-industries-index-hero__app-kicker {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.6;
}

.cw-industries-index-hero__app-title {
  margin-top: 2px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.05;
}

.cw-industries-index-hero__app-hero {
  border-radius: 16px;
  padding: 12px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.4s;
}

.cw-industries-index-hero__app-hero-k {
  font-size: 9.5px;
  font-weight: 700;
  opacity: 0.7;
}

.cw-industries-index-hero__app-hero-v {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.cw-industries-index-hero__app-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cw-industries-index-hero__app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 11px;
}

.cw-industries-index-hero__app-row span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-industries-index-hero__app-row span:last-child {
  font-weight: 700;
  flex: none;
}

.cw-industries-index-hero__app-cta {
  margin-top: auto;
  background: #141210;
  color: #f3efe7;
  border-radius: 999px;
  padding: 10px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
}

.cw-industries-index-hero__marquee {
  max-width: 1280px;
  margin: 44px auto 0;
  overflow: hidden;
  border-top: 1px solid rgba(243, 239, 231, 0.1);
  border-bottom: 1px solid rgba(243, 239, 231, 0.1);
  padding: 14px 0;
}

.cw-industries-index-hero__marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: cw-industries-index-hero-marq 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cw-industries-index-hero__marquee-track {
    animation: none;
  }
}

.cw-industries-index-hero__marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  color: rgba(243, 239, 231, 0.4);
  white-space: nowrap;
}

.cw-industries-index-hero__marquee-star {
  color: #e0431c;
}

@media (max-width: 900px) {
  .cw-industries-index-hero__visual {
    grid-template-columns: 1fr;
  }

  .cw-industries-index-hero__phone-wrap {
    margin: 0 auto;
  }

  .cw-industries-index-hero__notify {
    left: 0;
    top: -8px;
    max-width: 100%;
  }
}
