@font-face {
  font-family: 'Nitent Amarante';
  src: url('/nitent/fonts/amarante-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nitent Cormorant Unicase';
  src: url('/nitent/fonts/cormorant-unicase-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* One full-canvas editorial cover. Three independent planes establish depth;
   the source GIF supplies its own animation and the page keeps its own scroll. */
.nitent-root .cx-exhibit,
.cx-exhibit {
  --cx-paper: #fff;
  --cx-blue: #2345de;
  position: relative;
  isolation: isolate;
  display: block;
  height: 100svh;
  min-height: 650px;
  margin: 0;
  padding: 0;
  background: var(--cx-blue);
  color: var(--cx-paper);
  overflow: clip;
  font-synthesis: none;
}
.cx-intro {
  position: absolute;
  z-index: 5;
  inset: clamp(26px,4.2svh,60px) 4.4% auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.cx-exhibit .cx-intro p {
  padding: 0;
  margin: 0;
  font: italic 300 clamp(16px,1.3vw,23px)/1.35 'Nitent Amulya',Arial,sans-serif;
  color: inherit;
}
.cx-eyebrow { max-width: 25ch; }
.cx-medium { text-align: right; display: grid; justify-items: end; gap: 7px; }
.cx-exhibit .cx-edition { font: normal 400 11px/1 'Nitent Amulya',Arial,sans-serif; letter-spacing: .16em; }
.cx-stage { position: absolute; inset: 0; isolation: isolate; }
/* No transform/opacity/z-index on this semantic wrapper: its children must
   participate in the same stacking context as the GIF between them. */
.cx-exhibit .cx-title { position: static; padding: 0; margin: 0; pointer-events: none; }
/* The former single-title scroll translation created a stacking context. A
   transformed wrapper would put BOTH lines behind the GIF again. */
.nitent-root .nitent-characters.cx-exhibit .cx-title {
  translate: none;
  transform: none;
  rotate: none;
  opacity: 1;
}
.cx-exhibit .cx-title-back,
.cx-exhibit .cx-title-front {
  position: absolute;
  display: block;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: .07em .035em;
  color: var(--cx-paper);
  font: normal 400 clamp(100px,15.2vw,286px)/.88 'Nitent Amarante',Georgia,serif;
  letter-spacing: -.035em;
  word-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
  font-synthesis: none;
}
.cx-exhibit .cx-title-back { z-index: 1; left: 14%; top: 28%; }
.cx-exhibit .cx-title-front { z-index: 4; left: 6.1%; top: 48.5%; }
.cx-performance {
  position: absolute;
  z-index: 2;
  inset: 10% 21% 20%;
  min-height: 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.cx-actor {
  position: absolute;
  display: block;
  max-width: none;
  left: 0;
  top: 0;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  pointer-events: none;
}
.cx-actor-outgoing { z-index: 1; }
.cx-selection {
  position: absolute;
  z-index: 5;
  inset: auto 4.4% clamp(25px,4.5svh,64px);
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(340px,.8fr);
  justify-content: space-between;
  align-items: end;
  gap: 12%;
  padding-top: clamp(20px,3svh,42px);
  border-top: 1px solid rgb(255 255 255 / .38);
}
.cx-exhibit .cx-statement {
  padding: 0;
  margin: 0;
  min-width: 0;
  color: inherit;
}
.cx-exhibit .cx-statement span {
  display: block;
  width: max-content;
  margin: 0;
  padding: 0 .025em .025em 0;
  font: normal 700 clamp(36px,4.85vw,82px)/.94 'Nitent Cormorant Unicase',Georgia,serif;
  letter-spacing: -.025em;
  white-space: nowrap;
  color: inherit;
}
.cx-detail { max-width: 450px; width: 100%; justify-self: end; }
.cx-exhibit .cx-description {
  margin: 0 0 20px;
  max-width: 38ch;
  color: inherit;
  font: italic 300 clamp(16px,1.2vw,21px)/1.42 'Nitent Amulya',Arial,sans-serif;
  letter-spacing: -.012em;
}
.cx-choices { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.cx-exhibit .cx-choices button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgb(255 255 255 / .52);
  border-radius: 999px;
  background: var(--cx-blue);
  color: var(--cx-paper);
  font: italic 300 clamp(14px,1.05vw,18px)/1.15 'Nitent Amulya',Arial,sans-serif;
  font-synthesis: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms cubic-bezier(.23,1,.32,1),color 150ms cubic-bezier(.23,1,.32,1),border-color 150ms cubic-bezier(.23,1,.32,1);
}
.cx-choice-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: #ff8c38; }
.cx-choices button:nth-child(2) .cx-choice-dot { background: #b9eaff; }
.cx-choices button:nth-child(3) .cx-choice-dot { background: #ffd028; }
.cx-choices button:nth-child(4) .cx-choice-dot { background: #ff9abb; }
.cx-exhibit .cx-choices button[aria-pressed=true] { color: var(--cx-blue); border-color: #fff; background: #fff; }
.cx-exhibit .cx-choices button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
  .cx-exhibit .cx-choices button:hover { border-color: #fff; }
  .cx-exhibit .cx-choices button:not([aria-pressed=true]):hover { background: #1233c1; }
}
@media (min-width:769px) and (max-width:1100px) {
  .cx-selection { grid-template-columns: minmax(0,1fr) minmax(320px,1fr); gap: 7%; }
  .cx-exhibit .cx-description { font-size: 16px; margin-bottom: 15px; }
  .cx-exhibit .cx-choices button { font-size: 14px; padding-inline: 10px; gap: 6px; }
}
@media (max-width:768px) {
  .nitent-root .cx-exhibit,.cx-exhibit { height: auto; min-height: 100svh; display: grid; grid-template-rows: auto auto auto; }
  .cx-intro { position: relative; inset: auto; margin: 0; padding: 26px 6% 0; gap: 20px; }
  .cx-exhibit .cx-intro p { font-size: 14px; }
  .cx-eyebrow { max-width: 19ch; }
  .cx-medium { max-width: 12ch; }
  .cx-stage { position: relative; inset: auto; height: clamp(340px,54svh,540px); }
  .cx-exhibit .cx-title-back { left: 6%; top: 24%; font-size: 23.5vw; }
  .cx-exhibit .cx-title-front { left: 2%; top: 62%; font-size: 16.7vw; letter-spacing: -.05em; }
  .cx-performance { inset: 3% 9% 2%; }
  .cx-selection { position: relative; inset: auto; display: block; margin: 0 6% 26px; padding-top: 21px; border-color: rgb(255 255 255 / .4); }
  .cx-exhibit .cx-statement { margin: 0 0 17px; }
  .cx-exhibit .cx-statement span { font-size: clamp(29px,7.7vw,48px); line-height: .97; }
  .cx-detail { max-width: none; }
  .cx-exhibit .cx-description { font-size: 16px; margin: 0 0 17px; max-width: 40ch; line-height: 1.38; }
  .cx-choices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  .cx-exhibit .cx-choices button { min-width: 0; font-size: 13px; padding-inline: 7px; gap: 5px; }
  .cx-choice-dot { width: 5px; height: 5px; flex-basis: 5px; }
}
@media (max-width:480px) {
  .cx-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cx-exhibit .cx-choices button { font-size: 15px; }
}
@media (min-width:769px) and (max-height:580px) {
  .nitent-root .cx-exhibit,.cx-exhibit { height: auto; min-height: 0; }
  .cx-intro { position: relative; inset: auto; padding: 25px 4.4% 0; }
  .cx-stage { position: relative; inset: auto; height: 470px; }
  .cx-performance { inset: 3% 24% 0; }
  .cx-exhibit .cx-title-back { top: 22%; font-size: min(15.2vw,165px); }
  .cx-exhibit .cx-title-front { top: 55%; font-size: min(15.2vw,165px); }
  .cx-selection { position: relative; inset: auto; margin: 0 4.4% 25px; padding-top: 22px; }
}
@media (prefers-reduced-motion:reduce) {
  .cx-exhibit .cx-choices button { transition: none; }
}
