/* TENURE: sandstone, weathered brass and a short, grounded cast shadow. */
:root {
  --wm-stone-1: #e9e0cd;
  --wm-stone-2: #b9aa8b;
  --wm-stone-3: #f3ebdc;
  --wm-brass-1: #aa8b51;
  --wm-brass-2: #d6bb7d;
  --wm-brass-3: #8e7546;
  --wm-brass-4: #d9c18d;
  --wm-shadow-ink: 220 18% 3%;
  --wm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.38'/%3E%3C/svg%3E");
  --wm-patina: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.055 .16' numOctaves='3' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.45'/%3E%3C/svg%3E");
}
.light {
  --wm-stone-1: #958467;
  --wm-stone-2: #655b49;
  --wm-stone-3: #b5a68b;
  --wm-brass-1: #80612f;
  --wm-brass-2: #b59554;
  --wm-brass-3: #6f572e;
  --wm-brass-4: #c0a16a;
  --wm-shadow-ink: 220 20% 10%;
}
@media (prefers-color-scheme: light) {
  html:not(.dark):not(.light) {
    --wm-stone-1: #958467;
    --wm-stone-2: #655b49;
    --wm-stone-3: #b5a68b;
    --wm-brass-1: #80612f;
    --wm-brass-2: #b59554;
    --wm-brass-3: #6f572e;
    --wm-brass-4: #c0a16a;
    --wm-shadow-ink: 220 20% 10%;
  }
}
.wordmark {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  isolation: isolate;
  font-family: var(
    --font-display,
    "IBM Plex Sans",
    ui-sans-serif,
    system-ui,
    sans-serif
  );
  font-weight: 800;
  line-height: 1;
  user-select: none;
}
.wm-row {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}
.wm-tenu,
.wm-re {
  position: relative;
  display: inline-block;
  font: inherit;
  background-repeat: repeat, no-repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.wm-tenu {
  background-image:
    var(--wm-grain),
    repeating-linear-gradient(
      172deg,
      transparent 0 3px,
      hsl(35 28% 25% / 0.09) 3.5px 4px,
      transparent 4.5px 9px
    ),
    linear-gradient(
      125deg,
      var(--wm-stone-1),
      var(--wm-stone-2) 35%,
      var(--wm-stone-3) 62%,
      var(--wm-stone-1)
    );
  background-size:
    96px 96px,
    100% 100%,
    100% 100%;
  background-blend-mode: multiply, multiply, normal;
}
.wm-re {
  background-image:
    var(--wm-patina), var(--wm-grain),
    linear-gradient(
      115deg,
      var(--wm-brass-1),
      var(--wm-brass-2) 27%,
      var(--wm-brass-3) 47%,
      var(--wm-brass-4) 65%,
      var(--wm-brass-1)
    );
  background-size:
    64px 64px,
    96px 96px,
    100% 100%;
  background-blend-mode: multiply, soft-light, normal;
}
/* Two soft layers follow the glyphs without the old repeated-letter trails. */
.wm-tenu::before,
.wm-re::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow:
    0 0.035em 0.015em hsl(var(--wm-shadow-ink) / 0.35),
    0.035em 0.14em 0.18em hsl(var(--wm-shadow-ink) / 0.22);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
}
.wordmark-sm {
  font-size: 22px;
}
.wordmark-md {
  font-size: 26px;
  margin-bottom: 6px;
}
.wordmark-lg {
  font-size: 48px;
  align-items: center;
  margin-bottom: 8px;
}
.wordmark-lg .wm-row {
  letter-spacing: 0.16em;
  margin-right: -0.16em;
}
.wm-tagline {
  display: block;
  margin-top: 22px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.3em;
  text-transform: none;
  letter-spacing: 0.01em;
  color: hsl(var(--c-foreground-muted));
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.sidebar-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.sidebar-brand .brand-mark {
  height: auto;
  min-height: 52px;
  align-items: flex-start;
  padding-top: 6px;
}
.sidebar-brand .brand-meta {
  margin-top: 0;
}

/* Time passes in the light; the physical wordmark remains still. */
.tenure-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  background: #11161c;
  color: #e9e0cd;
  text-align: center;
  --wm-stone-1: #e9e0cd;
  --wm-stone-2: #b9aa8b;
  --wm-stone-3: #f3ebdc;
  --wm-brass-1: #aa8b51;
  --wm-brass-2: #d6bb7d;
  --wm-brass-3: #8e7546;
  --wm-brass-4: #d9c18d;
}
.tenure-loading-embedded {
  position: relative;
  inset: auto;
  z-index: auto;
  min-height: min(60dvh, 480px);
  border-radius: 12px;
}
.tenure-loading-monument {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  border-radius: 4px;
  overflow: hidden;
}
/* This stationary wordmark remains readable if both media assets fail. */
.tenure-loading .wordmark {
  font-size: clamp(40px, 9vw, 104px);
  margin: 0;
}
.tenure-loading-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.tenure-loading-statement {
  color: #e9e0cd;
  position: relative;
  margin: 0;
  max-width: 34ch;
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.035em;
  text-wrap: balance;
  animation: tenure-caption-arrival 1.4s ease-out both;
}
.tenure-loading-status {
  position: relative;
  margin: 32px 0 0;
  color: #a5acb5;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.tenure-loading-status::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: 0 auto 16px;
  background: currentColor;
  opacity: 0.55;
  animation: tenure-loading-breath 3.6s ease-in-out infinite;
}
@keyframes tenure-caption-arrival {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tenure-loading-breath {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.65;
  }
}
@media (forced-colors: active) {
  .tenure-loading {
    background: Canvas;
    color: CanvasText;
  }
  .wm-tenu,
  .wm-re {
    background: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
  }
  .tenure-loading-film,
  .wm-tenu::before,
  .wm-re::before {
    display: none;
  }
}
@media print {
  .tenure-loading,
  .tenure-loading-film,
  .wm-tenu::before,
  .wm-re::before {
    display: none;
  }
  .wm-tenu,
  .wm-re {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: black;
    text-shadow: none;
  }
}
