/* WKNDHRS Services Layout: oversized title, distant text column.
   Retain RAST's existing dark palette, display face and page gutters. */
.tenets { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.tenets__anchor { position: absolute; top: 0; left: 0; }
.tenets__head { margin-bottom: clamp(80px, 10vw, 144px); }
.tenets__head h2 { font: 600 clamp(56px, 8vw, 112px)/1.02 var(--font-display); letter-spacing: -.035em; }
.tenets__lead { max-width: 44ch; margin-top: 28px; color: var(--ink-dim); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.tenets__list { list-style: none; margin: 0; padding: 0; }
.tenet {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  column-gap: clamp(64px, 9vw, 150px);
  align-items: start;
  padding: 0 0 clamp(88px, 9vw, 140px);
}
.tenet:last-child { padding-bottom: 0; }
.tenet__visual { min-width: 0; }
.tenet__title {
  font: 600 clamp(42px, 5.1vw, 76px)/1.02 var(--font-display);
  letter-spacing: -.04em;
  margin: 0;
}
.tenet__text {
  max-width: 34ch;
  margin: 4px 0 0;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .tenet { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 36px; }
  .tenet__title { font-size: clamp(36px, 5.1vw, 46px); }
}
@media (max-width: 600px) {
  .tenets__head { margin-bottom: 64px; }
  .tenet { grid-template-columns: 1fr; row-gap: 24px; padding-bottom: 72px; }
  .tenet__title { font-size: clamp(34px, 9.2vw, 54px); }
}

/* A blank charcoal face turns over to the original heading. The orange
   recess is exposed only while the solid block rotates through it. */
.tenet__visual.is-flip {
  --brick-depth: clamp(18px, 3vw, 40px);
  --brick-half: calc(var(--brick-depth) / 2);
  background: var(--accent);
  perspective: 1100px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}
.tenet__brick {
  position: relative;
  transform-style: preserve-3d;
  /* Keep either resting face exactly on the original text plane, so the
     perspective never magnifies or clips the first/last letters. */
  translate: 0 0 calc(-1 * var(--brick-half));
}
.is-flip .tenet__title {
  position: relative;
  background: var(--bg);
  backface-visibility: hidden;
  transform: rotateX(180deg) translateZ(var(--brick-half));
}
.tenet__face {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--bg);
  backface-visibility: hidden;
}
.tenet__face--front { transform: translateZ(var(--brick-half)); }
.tenet__face--top, .tenet__face--bottom {
  height: var(--brick-depth);
  background: var(--surface-2);
}
.tenet__face--top { bottom: auto; transform: translateY(-50%) rotateX(90deg); }
.tenet__face--bottom { top: auto; transform: translateY(50%) rotateX(-90deg); }
.tenet__face--left, .tenet__face--right {
  width: var(--brick-depth);
  background: var(--surface);
}
.tenet__face--left { right: auto; transform: translateX(-50%) rotateY(-90deg); }
.tenet__face--right { left: auto; transform: translateX(50%) rotateY(90deg); }
