body.projects-page-active {
  background: #080e17;
}

.brand-wordmark {
  color: #172b4d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

body.projects-page-active .topbar {
  background: rgba(8, 14, 23, .96);
  border-bottom: 1px solid rgba(174, 193, 214, .12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
}

body.projects-page-active .brand {
  color: #f3f8ff;
}

body.projects-page-active .brand-wordmark {
  color: #e7f2ff;
}

body.projects-page-active .brand-logo {
  padding: 3px;
  border-radius: 7px;
  background: #fff;
  mix-blend-mode: normal;
}

body.projects-page-active .top-links a {
  color: #d0d8e2;
}

body.projects-page-active .top-links a:hover,
body.projects-page-active .top-links a:focus-visible {
  background: rgba(171, 194, 218, .08);
  color: #fff;
}

body.projects-page-active .top-links a[aria-current="page"] {
  background: rgba(143, 175, 207, .13);
  color: #c2d8ec;
}

body.projects-page-active .top-links .nav-cta,
body.projects-page-active .top-links .nav-cta[aria-current="page"] {
  background: linear-gradient(110deg, #3475b5, #3b88b2);
  color: #fff;
}

body.projects-page-active .top-links .nav-cta:hover,
body.projects-page-active .top-links .nav-cta:focus-visible {
  background: linear-gradient(110deg, #4385c1, #4b9dbb);
}

body.projects-page-active .top-links.open {
  border-color: rgba(174, 193, 214, .16);
  background: #111a26;
}

.projects-view,
.project-detail-view {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: #f3f7ff;
  background:
    radial-gradient(ellipse 76% 62% at 50% 38%, rgba(190, 207, 225, .075), transparent 70%),
    radial-gradient(ellipse 42% 52% at 0% 62%, rgba(67, 102, 143, .12), transparent 72%),
    radial-gradient(ellipse 43% 48% at 100% 62%, rgba(78, 132, 145, .09), transparent 70%),
    linear-gradient(150deg, #0b111b 0%, #111a27 48%, #080f18 100%);
}

.projects-view::before,
.project-detail-view::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(190, 205, 221, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 205, 221, .025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 82%);
  pointer-events: none;
}

.projects-shell,
.project-detail-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.projects-shell {
  padding: clamp(52px, 7vw, 88px) 0 34px;
}

.projects-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.projects-eyebrow,
.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #bfd0df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}

.projects-eyebrow i,
.project-kicker i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9dbbd5;
  box-shadow: 0 0 8px rgba(157, 187, 213, .4);
}

.projects-heading h1 {
  margin: 14px 0 8px;
  color: #f7fbff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.projects-heading p {
  margin: 0;
  color: #c5ced9;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(180, 196, 214, .16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(31, 42, 56, .96), rgba(16, 25, 37, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .045);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(145, 177, 207, .38);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32), 0 0 32px rgba(79, 123, 164, .09);
}

.project-art {
  position: relative;
  height: clamp(250px, 27vw, 330px);
  overflow: hidden;
  isolation: isolate;
  background: #0a1c33;
}

.project-art::after {
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, rgba(7, 18, 33, .42));
  content: "";
  pointer-events: none;
}

.project-art-ikrove {
  background:
    radial-gradient(ellipse at 50% 62%, rgba(133, 170, 205, .14), transparent 46%),
    linear-gradient(145deg, #223246, #111a27 72%);
}

.project-art-ikrove::after {
  display: none;
}

.project-art-ikrove .project-art-index {
  display: none;
}

.project-art-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(87, 190, 237, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 190, 237, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 76%);
}

.ikrove-journey {
  position: absolute;
  inset: 12px 0;
  z-index: 0;
  display: block;
  transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}

.project-card:hover .ikrove-journey {
  transform: scale(1.025);
}

.ikrove-scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35));
  opacity: 0;
  animation: projectSceneJourney 24s linear infinite backwards;
}

.ikrove-scene:nth-child(2) { animation-delay: 4s; }
.ikrove-scene:nth-child(3) { animation-delay: 8s; }
.ikrove-scene:nth-child(4) { animation-delay: 12s; }
.ikrove-scene:nth-child(5) { animation-delay: 16s; }
.ikrove-scene:nth-child(6) { animation-delay: 20s; }

.project-art-index,
.project-art-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(167, 219, 255, .18);
  border-radius: 999px;
  background: rgba(5, 17, 33, .68);
  color: #d7edff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  backdrop-filter: blur(12px);
}

.project-art-index {
  top: 18px;
  left: 18px;
  padding: 8px 12px;
}

.project-art-index i {
  color: #49c9f3;
  font-style: normal;
}

.project-art-chip {
  right: 18px;
  bottom: 17px;
  padding: 8px 11px;
  color: #b7d5f1;
  font-size: 8px;
}

.project-art-chip i,
.project-development-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ce1c0;
  box-shadow: 0 0 12px rgba(76, 225, 192, .65);
}

.project-art-tull {
  background:
    radial-gradient(ellipse at 46% 52%, rgba(110, 155, 204, .17), transparent 36%),
    radial-gradient(ellipse at 85% 13%, rgba(116, 179, 187, .1), transparent 36%),
    linear-gradient(140deg, #1d3044, #111b29 76%);
}

.tull-art-glow {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(85, 204, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(54, 158, 255, .045), 0 0 0 52px rgba(54, 158, 255, .035), inset 0 0 55px rgba(54, 158, 255, .08);
}

.tull-art-person {
  position: absolute;
  bottom: 17px;
  left: 7%;
  z-index: 1;
  width: 32%;
  height: 82%;
  overflow: hidden;
  border: 1px solid rgba(165, 221, 255, .28);
  border-radius: 100px 100px 22px 22px;
  background: linear-gradient(160deg, rgba(63, 154, 246, .42), rgba(11, 37, 70, .6));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .22);
}

.tull-art-person img {
  position: absolute;
  inset: 4% 5% 0;
  width: 90%;
  height: 96%;
  border-radius: 90px 90px 18px 18px;
  object-fit: cover;
  object-position: center top;
}

.tull-art-orb {
  position: absolute;
  top: 14px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(160, 234, 255, .7);
  border-radius: 50%;
  background: linear-gradient(145deg, #86ecff, #2b79f4 70%);
  box-shadow: 0 0 24px rgba(50, 180, 255, .65);
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.tull-art-wave {
  position: absolute;
  top: 17%;
  left: 39%;
  z-index: 2;
  display: flex;
  height: 46px;
  align-items: center;
  gap: 5px;
  opacity: .8;
}

.tull-art-wave i {
  width: 3px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(#9af4ff, #218cff);
  box-shadow: 0 0 10px rgba(61, 199, 255, .5);
}

.tull-art-wave i:nth-child(3n + 1) { height: 26px; }
.tull-art-wave i:nth-child(4n + 2) { height: 38px; }
.tull-art-wave i:nth-child(5n) { height: 20px; }

.tull-art-phone {
  position: absolute;
  top: 13%;
  right: 18%;
  z-index: 2;
  display: flex;
  width: clamp(120px, 16vw, 176px);
  height: 74%;
  flex-direction: column;
  align-items: stretch;
  padding: 23px 13px 12px;
  border: 5px solid #d6e7f8;
  border-radius: 26px;
  background: linear-gradient(165deg, #f8fcff, #dcecff);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .42), 0 0 30px rgba(46, 155, 255, .2);
  color: #143258;
  transform: rotate(5deg);
  transition: transform .5s ease;
}

.project-card:hover .tull-art-phone {
  transform: rotate(2deg) translateY(-4px);
}

.tull-phone-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 32px;
  height: 5px;
  border-radius: 6px;
  background: #18395f;
  transform: translateX(-50%);
}

.tull-phone-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #153a69;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.tull-phone-label i {
  color: #169ee8;
  font-size: 7px;
  font-style: normal;
}

.tull-phone-journey-label {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin: 9px 0 6px;
  color: #31577f;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .07em;
}

.tull-phone-journey-label i {
  color: #258de1;
  font-size: 5px;
  font-style: normal;
  white-space: nowrap;
}

.tull-phone-journey {
  position: relative;
  display: block;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid #b9d1e8;
  border-radius: 8px;
  background: #eff6fc;
}

.tull-phone-scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: projectSceneJourney 24s linear infinite backwards;
}

.tull-phone-scene:nth-child(2) { animation-delay: 4s; }
.tull-phone-scene:nth-child(3) { animation-delay: 8s; }
.tull-phone-scene:nth-child(4) { animation-delay: 12s; }
.tull-phone-scene:nth-child(5) { animation-delay: 16s; }
.tull-phone-scene:nth-child(6) { animation-delay: 20s; }

@keyframes projectSceneJourney {
  0% { opacity: 0; transform: scale(1.035); }
  2% { opacity: 1; transform: scale(1); }
  13% { opacity: 1; transform: scale(1); }
  17% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 0; transform: scale(1.035); }
}

.tull-art-connect {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(125, 210, 255, .28);
  border-radius: 999px;
  background: rgba(7, 24, 45, .76);
  color: #c9eeff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
}

.tull-art-connect::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4de2c2;
  content: "";
}

.connect-one { top: 24%; right: 4%; }
.connect-two { right: 4%; bottom: 30%; }

.project-card-copy {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px clamp(22px, 2.8vw, 34px) 28px;
}

.project-kicker {
  color: #bfd0df;
  font-size: 9px;
  letter-spacing: .12em;
}

.project-card-copy h2 {
  margin: 10px 0 0;
  color: #f6faff;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.project-tagline {
  margin: 7px 0 8px;
  color: #edf6ff;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 600;
  line-height: 1.45;
}

.project-description {
  max-width: 490px;
  margin: 0 0 23px;
  color: #d0d8e2;
  font-size: 14px;
  line-height: 1.75;
}

.project-card-actions {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 11px;
  margin-top: auto;
}

.project-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.project-button-primary {
  flex: 1 1 auto;
  background: linear-gradient(110deg, #3475b5, #3b88b2);
  box-shadow: 0 8px 24px rgba(48, 105, 155, .2);
  color: #fff;
}

.project-button-primary span {
  font-size: 17px;
  font-weight: 400;
}

.project-button-primary:hover,
.project-button-primary:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(110deg, #4385c1, #4b9dbb);
  box-shadow: 0 11px 28px rgba(48, 105, 155, .28);
  outline: none;
}

.project-button-secondary {
  min-width: 142px;
  flex-direction: column;
  gap: 2px;
  border-color: rgba(160, 197, 230, .35);
  background: rgba(9, 25, 45, .46);
  color: #e2effd;
}

.project-button-secondary small {
  color: #8ca3bc;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
}

.project-button-secondary:disabled {
  cursor: not-allowed;
  opacity: .76;
}

.projects-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 25px 0 0;
  color: #c0cad6;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.projects-footnote span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid rgba(117, 174, 226, .42);
  border-radius: 50%;
  color: #94cfff;
  font-size: 10px;
  font-weight: 700;
}

.project-detail-shell {
  padding: 36px 0 70px;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: #c4cfdb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: #fff;
  outline: none;
}

.project-back-link span {
  color: #9dbbd5;
  font-size: 17px;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  min-height: 350px;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid rgba(180, 196, 214, .16);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(31, 42, 56, .96), rgba(16, 25, 37, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.project-detail-copy h1 {
  margin: 15px 0 3px;
  color: #f8fbff;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.project-detail-tagline {
  margin: 10px 0;
  color: #d5e0eb;
  font-size: 20px;
  font-weight: 600;
}

.project-detail-copy > p:not(.project-detail-tagline) {
  max-width: 460px;
  margin: 0 0 24px;
  color: #d0d8e2;
  font-size: 15px;
  line-height: 1.8;
}

.project-detail-copy .project-button-primary {
  display: inline-flex;
}

.project-detail-art {
  min-width: 0;
  height: clamp(260px, 36vw, 380px);
  overflow: hidden;
  border: 1px solid rgba(180, 196, 214, .18);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at center, rgba(135, 167, 197, .12), transparent 66%),
    #111b28;
}

.project-detail-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-detail-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 20px;
}

.project-detail-capabilities article {
  padding: 20px;
  border: 1px solid rgba(180, 196, 214, .14);
  border-radius: 15px;
  background: rgba(22, 32, 45, .9);
}

.project-detail-capabilities article > span {
  color: #a8bfd4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.project-detail-capabilities h2 {
  margin: 12px 0 6px;
  color: #f3f6fa;
  font-size: 15px;
}

.project-detail-capabilities p {
  margin: 0;
  color: #c4ced9;
  font-size: 12px;
  line-height: 1.7;
}

.project-development-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 2px 0;
  color: #92a9c2;
  font-size: 11px;
}

.project-development-note span {
  display: inline-block;
  flex: 0 0 6px;
}

@media (max-width: 900px) {
  .project-card-grid {
    gap: 16px;
  }

  .project-art {
    height: 270px;
  }

  .project-card-copy {
    min-height: 320px;
    padding: 22px;
  }

  .project-card-actions {
    flex-wrap: wrap;
  }

  .project-button-primary {
    min-width: 100%;
  }

  .project-button-secondary {
    min-width: 100%;
  }

  .project-detail-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.projects-page-active .top-links.open {
    top: 64px;
  }

  .brand-wordmark {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .projects-shell,
  .project-detail-shell {
    width: min(100% - 32px, 500px);
  }

  .projects-shell {
    padding-top: 42px;
  }

  .projects-heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .projects-heading h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .projects-heading p {
    max-width: 420px;
    font-size: 14px;
  }

  .project-card-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .project-card {
    border-radius: 19px;
  }

  .project-art {
    height: clamp(235px, 72vw, 310px);
  }

  .project-card-copy {
    min-height: 0;
    padding: 22px 20px 21px;
  }

  .project-card-copy h2 {
    font-size: 34px;
  }

  .project-description {
    margin-bottom: 19px;
  }

  .project-card-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .project-button {
    min-height: 48px;
    padding: 0 10px;
    font-size: 9px;
  }

  .project-button-primary {
    min-width: 0;
  }

  .project-button-secondary {
    min-width: 122px;
  }

  .tull-art-person {
    left: 4%;
    width: 36%;
  }

  .tull-art-phone {
    right: 15%;
    width: 143px;
  }

  .connect-one,
  .connect-two {
    display: none;
  }

  .projects-footnote {
    align-items: flex-start;
    margin-top: 21px;
    text-align: left;
  }

  .project-detail-shell {
    padding-top: 24px;
  }

  .project-detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px 18px;
  }

  .project-detail-art {
    height: 250px;
    grid-row: 1;
  }

  .project-detail-copy h1 {
    font-size: 48px;
  }

  .project-detail-capabilities {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .project-detail-capabilities article {
    padding: 15px 13px;
  }

  .project-detail-capabilities h2 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .tull-art-phone,
  .project-button {
    transition: none;
  }
}
