.brand-principles {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 0%, #b6ed5412, transparent 62%);
}

.brand-principles-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.brand-principles-heading h2 {
  font: 600 clamp(43px, 6.1vw, 92px)/.92 var(--display);
  text-transform: uppercase;
}

.brand-principles-heading h2 span {
  color: var(--lime);
}

.brand-principles-heading p,
.brand-principles-grid dd {
  color: #b3bcad;
}

.brand-principles-heading p {
  max-width: 29ch;
  font-size: clamp(15px, 1.55vw, 19px);
}

.brand-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.brand-principles-grid > div {
  --principle-padding: clamp(17px, 2.35vw, 34px);
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  align-content: start;
  gap: 5px clamp(13px, 1.55vw, 24px);
  padding: var(--principle-padding);
  background: #111411;
  border-block-end: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
}

.brand-principles-letter {
  position: absolute;
  inset-block-start: var(--principle-padding);
  inset-inline-start: var(--principle-padding);
  color: var(--lime);
  font: 600 2.25rem/.95 var(--display);
}

.brand-principles-grid dt,
.brand-principles-grid dd {
  grid-column: 2;
}

.brand-principles-grid dt {
  color: var(--white);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}

.brand-principles-grid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.brand-principles-jump {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .brand-principles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Use the homepage's liquid layers on the nine principle initials. */
.brand-principles-letter > .liquid-layer {
  display: none;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) and (clip-path: polygon(0 0, 100% 0, 100% 100%)) {
  .brand-principles-grid > div:nth-child(3n + 2) {
    --principle-fill-phase: -.7s;
  }

  .brand-principles-grid > div:nth-child(3n) {
    --principle-fill-phase: -1.4s;
  }

  .brand-principles-letter.liquid-text {
    color: #364b23;
    -webkit-text-stroke: .6px #b9e26a;
  }

  .brand-principles-letter > .liquid-layer {
    display: block;
  }

  .brand-principles-letter > .liquid-back {
    opacity: .8;
    animation: principle-waterline 7.2s ease-in-out calc(var(--principle-fill-phase, 0s) - .45s) infinite;
  }

  .brand-principles-letter > .liquid-front {
    animation: principle-waterline 7.2s ease-in-out var(--principle-fill-phase, 0s) infinite,
               intelligence-shimmer 7s ease-in-out var(--principle-fill-phase, 0s) infinite;
  }
}

@keyframes principle-waterline {
  0%, 100% { clip-path: polygon(0 93%, 15% 90%, 30% 88%, 45% 89%, 60% 92%, 75% 96%, 90% 98%, 100% 97%, 100% 100%, 0 100%); }
  16% { clip-path: polygon(0 76%, 15% 71%, 30% 70%, 45% 73%, 60% 78%, 75% 83%, 90% 84%, 100% 82%, 100% 100%, 0 100%); }
  32% { clip-path: polygon(0 40%, 15% 41%, 30% 46%, 45% 51%, 60% 53%, 75% 50%, 90% 45%, 100% 42%, 100% 100%, 0 100%); }
  49% { clip-path: polygon(0 6%, 15% 11%, 30% 13%, 45% 11%, 60% 6%, 75% 2%, 90% 1%, 100% 3%, 100% 100%, 0 100%); }
  61% { clip-path: polygon(0 8%, 15% 4%, 30% 2%, 45% 4%, 60% 8%, 75% 12%, 90% 13%, 100% 11%, 100% 100%, 0 100%); }
  78% { clip-path: polygon(0 39%, 15% 34%, 30% 33%, 45% 36%, 60% 42%, 75% 46%, 90% 47%, 100% 44%, 100% 100%, 0 100%); }
  92% { clip-path: polygon(0 78%, 15% 75%, 30% 76%, 45% 80%, 60% 85%, 75% 88%, 90% 86%, 100% 82%, 100% 100%, 0 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-principles-letter.liquid-text {
    color: var(--lime);
    -webkit-text-stroke: 0;
  }

  .brand-principles-letter > .liquid-layer {
    display: none;
  }
}
