/* =========================================================
   3rd-i — Campuses & Companies connected feature network
   Namespaced to avoid collisions with the rest of the site.
   ========================================================= */

.thirdi-enterprise-network,
.thirdi-enterprise-network * {
  box-sizing: border-box;
}

.thirdi-enterprise-network {
  --ent-ink: #11182d;
  --ent-muted: #59637c;
  --ent-surface: rgba(255, 255, 255, 0.88);
  --ent-surface-strong: #ffffff;
  --ent-border: rgba(93, 104, 151, 0.13);
  --ent-shadow: 0 22px 54px rgba(46, 57, 105, 0.1),
    0 4px 14px rgba(46, 57, 105, 0.045);
  --ent-pink: #ff2c91;
  --ent-purple: #a86cff;
  --ent-blue: #4a87ff;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(76px, 8vw, 122px) 24px clamp(80px, 9vw, 132px);
  color: var(--ent-ink);
  background:
    radial-gradient(circle at 7% 42%, rgba(255, 44, 145, 0.1), transparent 25%),
    radial-gradient(circle at 92% 44%, rgba(74, 135, 255, 0.1), transparent 27%),
    linear-gradient(180deg, #fcfcff 0%, #f7f9ff 52%, #fcfcff 100%);
}

.thirdi-enterprise-network::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(97, 112, 171, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 112, 171, 0.075) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 87%, transparent 100%);
}

.thirdi-enterprise-network__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.thirdi-enterprise-network__ambient::before,
.thirdi-enterprise-network__ambient::after {
  content: "";
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(173, 112, 255, 0.13);
  border-radius: 50%;
}

.thirdi-enterprise-network__ambient::before {
  left: -25vw;
  top: 29%;
  box-shadow: 0 0 90px rgba(255, 44, 145, 0.055) inset;
}

.thirdi-enterprise-network__ambient::after {
  right: -28vw;
  top: 24%;
  border-color: rgba(74, 135, 255, 0.14);
  box-shadow: 0 0 90px rgba(74, 135, 255, 0.055) inset;
}

.thirdi-enterprise-network__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.thirdi-enterprise-network__header {
  width: min(100%, 820px);
  margin: 0 auto clamp(52px, 6vw, 78px);
  text-align: center;
}

.thirdi-enterprise-network__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(168, 108, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 7px 22px rgba(81, 62, 131, 0.055);
  color: #7457c8;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.thirdi-enterprise-network__notch {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ent-pink), var(--ent-purple), var(--ent-blue));
  box-shadow: 0 0 12px rgba(168, 108, 255, 0.2);
}

.thirdi-enterprise-network__header h2 {
  max-width: 820px;
  margin: 22px auto 0;
  color: var(--ent-ink);
  font: inherit;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 0.99;
  text-wrap: balance;
}

.thirdi-enterprise-network__header p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--ent-muted);
  font: inherit;
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 450;
  line-height: 1.6;
  text-wrap: balance;
}

.thirdi-enterprise-network__canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 112px 48px;
  min-height: 620px;
}

.thirdi-enterprise-network__card {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 30px 32px;
  overflow: hidden;
  border: 1px solid var(--ent-border);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82)),
    var(--ent-surface);
  box-shadow: var(--ent-shadow);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.thirdi-enterprise-network__card::after {
  content: "";
  position: absolute;
  inset: auto 13% 0;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--ent-purple), transparent);
  transition: opacity 220ms ease;
}

.thirdi-enterprise-network__card:hover {
  transform: translateY(-5px);
  border-color: rgba(153, 103, 255, 0.24);
  box-shadow: 0 30px 68px rgba(51, 61, 109, 0.135), 0 6px 18px rgba(51, 61, 109, 0.055);
}

.thirdi-enterprise-network__card:hover::after {
  opacity: 0.8;
}

.thirdi-enterprise-network__number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(168, 108, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: #8a5ee2;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.thirdi-enterprise-network__icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(168, 108, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.96), transparent 36%),
    linear-gradient(145deg, rgba(255, 44, 145, 0.17), rgba(168, 108, 255, 0.17) 50%, rgba(74, 135, 255, 0.19));
  box-shadow: 0 12px 26px rgba(114, 86, 176, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #755cf2;
}

.thirdi-enterprise-network__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thirdi-enterprise-network__card:nth-of-type(1) .thirdi-enterprise-network__icon,
.thirdi-enterprise-network__card:nth-of-type(4) .thirdi-enterprise-network__icon {
  color: #ef3ca0;
}

.thirdi-enterprise-network__card:nth-of-type(3) .thirdi-enterprise-network__icon,
.thirdi-enterprise-network__card:nth-of-type(6) .thirdi-enterprise-network__icon {
  color: #477ff4;
}

.thirdi-enterprise-network__card h3 {
  max-width: 290px;
  margin: 0;
  color: var(--ent-ink);
  font: inherit;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 730;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.thirdi-enterprise-network__card p {
  max-width: 310px;
  margin: 15px auto 0;
  color: var(--ent-muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 450;
  line-height: 1.56;
  text-wrap: pretty;
}

.thirdi-enterprise-network__connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.thirdi-enterprise-network__connector {
  fill: none;
  stroke-width: 4.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.58;
  filter: drop-shadow(0 0 7px rgba(139, 103, 244, 0.16));
}

.thirdi-enterprise-network__spine {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.34;
  filter: drop-shadow(0 0 7px rgba(139, 103, 244, 0.12));
}

.thirdi-enterprise-network__nodes circle {
  fill: #fff;
  stroke-width: 3;
  opacity: 0.86;
}

.thirdi-enterprise-network__hub {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(150, 109, 244, 0.19);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  /* Hub + ring must fit inside the 112px grid row-gap so it does not overlap the
     middle cards (Adam QA 2026-08-06). 94px + 2×6px ring = 106px < 112px gap. */
  box-shadow:
    0 18px 45px rgba(82, 67, 142, 0.14),
    0 0 0 6px rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.thirdi-enterprise-network__hub-inner {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f5f3ff);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(88, 74, 145, 0.1);
}

.thirdi-enterprise-network__hub svg {
  width: 40px;
  height: 40px;
  overflow: visible;
}

.thirdi-enterprise-network__hub svg path:last-child {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* One-time entrance animation. Nothing loops. */
.thirdi-enterprise-network.is-motion-ready:not(.is-visible) .thirdi-enterprise-network__card,
.thirdi-enterprise-network.is-motion-ready:not(.is-visible) .thirdi-enterprise-network__hub {
  opacity: 0;
  transform: translateY(18px);
}

.thirdi-enterprise-network.is-motion-ready:not(.is-visible) .thirdi-enterprise-network__hub {
  transform: translate(-50%, calc(-50% + 18px));
}

.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card,
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__hub {
  opacity: 1;
  transition: opacity 600ms ease, transform 650ms cubic-bezier(.2,.75,.25,1), box-shadow 220ms ease, border-color 220ms ease;
}

.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--1 { transition-delay: 80ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--2 { transition-delay: 150ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--3 { transition-delay: 220ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--4 { transition-delay: 290ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--5 { transition-delay: 360ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__card--6 { transition-delay: 430ms; }
.thirdi-enterprise-network.is-visible .thirdi-enterprise-network__hub { transition-delay: 500ms; }

/* Tablet: the cards become a straightforward 2 × 3 grid. */
@media (max-width: 980px) {
  .thirdi-enterprise-network {
    padding-inline: 20px;
  }

  .thirdi-enterprise-network__canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    min-height: 0;
  }

  .thirdi-enterprise-network__connectors,
  .thirdi-enterprise-network__hub {
    display: none;
  }

  .thirdi-enterprise-network__card {
    min-height: 260px;
  }
}

/* Mobile: a clean vertical sequence. */
@media (max-width: 640px) {
  .thirdi-enterprise-network {
    padding: 68px 16px 78px;
  }

  .thirdi-enterprise-network::before {
    background-size: 32px 32px;
  }

  .thirdi-enterprise-network__header {
    margin-bottom: 38px;
  }

  .thirdi-enterprise-network__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.11em;
  }

  .thirdi-enterprise-network__header h2 {
    margin-top: 18px;
    font-size: clamp(38px, 12vw, 52px);
  }

  .thirdi-enterprise-network__header p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .thirdi-enterprise-network__canvas {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .thirdi-enterprise-network__card {
    min-height: 0;
    align-items: flex-start;
    padding: 26px 24px 28px;
    border-radius: 24px;
    text-align: left;
  }

  .thirdi-enterprise-network__number {
    top: 24px;
    right: 22px;
    left: auto;
    width: 38px;
    height: 38px;
  }

  .thirdi-enterprise-network__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border-radius: 19px;
  }

  .thirdi-enterprise-network__icon svg {
    width: 35px;
    height: 35px;
  }

  .thirdi-enterprise-network__card h3,
  .thirdi-enterprise-network__card p {
    max-width: none;
    margin-inline: 0;
  }

  .thirdi-enterprise-network__card h3 {
    font-size: 24px;
  }

  .thirdi-enterprise-network__card p {
    margin-top: 12px;
    font-size: 15px;
  }
}

/* Theme compatibility. Map these selectors if the site uses another dark-mode hook. */
html[data-theme="dark"] .thirdi-enterprise-network,
html.dark .thirdi-enterprise-network,
body.dark .thirdi-enterprise-network {
  --ent-ink: #f6f7ff;
  --ent-muted: #b5bdd4;
  --ent-surface: rgba(20, 25, 47, 0.88);
  --ent-surface-strong: #151a31;
  --ent-border: rgba(170, 181, 233, 0.13);
  --ent-shadow: 0 24px 62px rgba(2, 6, 20, 0.34);

  background:
    radial-gradient(circle at 7% 42%, rgba(255, 44, 145, 0.12), transparent 28%),
    radial-gradient(circle at 92% 44%, rgba(74, 135, 255, 0.13), transparent 30%),
    linear-gradient(180deg, #0d1122 0%, #11162a 52%, #0d1122 100%);
}

html[data-theme="dark"] .thirdi-enterprise-network__card,
html.dark .thirdi-enterprise-network__card,
body.dark .thirdi-enterprise-network__card {
  background: linear-gradient(150deg, rgba(28, 34, 62, 0.96), rgba(17, 22, 43, 0.9));
}

html[data-theme="dark"] .thirdi-enterprise-network__eyebrow,
html.dark .thirdi-enterprise-network__eyebrow,
body.dark .thirdi-enterprise-network__eyebrow,
html[data-theme="dark"] .thirdi-enterprise-network__number,
html.dark .thirdi-enterprise-network__number,
body.dark .thirdi-enterprise-network__number,
html[data-theme="dark"] .thirdi-enterprise-network__hub,
html.dark .thirdi-enterprise-network__hub,
body.dark .thirdi-enterprise-network__hub {
  background: rgba(20, 25, 47, 0.82);
}

html[data-theme="dark"] .thirdi-enterprise-network__hub-inner,
html.dark .thirdi-enterprise-network__hub-inner,
body.dark .thirdi-enterprise-network__hub-inner {
  background: linear-gradient(145deg, #202744, #13182d);
}

@media (prefers-reduced-motion: reduce) {
  .thirdi-enterprise-network *,
  .thirdi-enterprise-network *::before,
  .thirdi-enterprise-network *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .thirdi-enterprise-network[data-enterprise-network] .thirdi-enterprise-network__card,
  .thirdi-enterprise-network[data-enterprise-network] .thirdi-enterprise-network__hub {
    opacity: 1;
  }

  .thirdi-enterprise-network[data-enterprise-network] .thirdi-enterprise-network__card {
    transform: none;
  }

  .thirdi-enterprise-network[data-enterprise-network] .thirdi-enterprise-network__hub {
    transform: translate(-50%, -50%);
  }

  .thirdi-enterprise-network__connector {
    opacity: 0.58;
  }

  .thirdi-enterprise-network__spine {
    opacity: 0.34;
  }

  .thirdi-enterprise-network__nodes circle {
    opacity: 0.86;
  }
}

/* Large monitors (app.css 1720px pass). */
@media (min-width: 1720px) {
  .thirdi-enterprise-network__inner { width: min(100%, 1400px); }
}
