/* Forseti's original rule and circle become the pointer and rim of a verification dial. */
.motion-forseti .ground-forseti {
  background-position: center calc(50% + var(--grid-travel, 0px));
}
.motion-forseti .ground-forseti::before,
.motion-forseti .ground-forseti::after { opacity: .35; }
.research-run {
  --opening: 1; --escape: 0vw; --descent: 0vh; --exhibit: 0; --case-rise: 36px;
  --relocate-x: 28%; --relocate-y: -27%; --aperture: .77; --dial-light: .62;
  --turn: 10deg; --needle: 23deg; --gate-angle: -12deg; --readout: 0;
  --verified: 1; --refused: 0; --stamp-size: 1.33; --cent-roll: 0%; --meter: 0%;
}
.research-run.running { height: 246svh; }
.research-pin {
  position: relative;
  isolation: isolate;
  height: max(100svh, 490px);
  overflow: hidden;
}
.running .research-pin { position: sticky; top: 0; }
.research-pin .research-opening {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  padding-block: 3rem max(19svh, 96px);
  opacity: var(--opening);
}
.research-pin h1 { max-width: none; }
.research-pin h1 span, .research-pin h1 em { display: block; }
.research-pin h1 span:first-child { transform: translateX(var(--escape)); }
.research-pin h1 span:nth-child(2) { transform: translateY(var(--descent)); }
.research-pin h1 em { transform: translateX(calc(-1 * var(--escape))); }
.research-pin .research-opening > p {
  transform: translateY(var(--descent));
  text-shadow: 0 1px 6px #151a18;
}
.proof-dial {
  position: absolute;
  z-index: 1;
  top: 46%;
  left: 73%;
  width: min(48vw, 81svh, 870px);
  aspect-ratio: 1;
  color: #ff7150;
  opacity: var(--dial-light);
  transform: translate(-50%,-50%) translate(var(--relocate-x),var(--relocate-y)) scale(var(--aperture));
}
.proof-dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dial-rim { stroke: currentColor; stroke-width: .8; opacity: .72; }
.dial-ticks, .dial-sweep, .dial-wand, .dial-gate { transform-origin: 220px 220px; stroke: currentColor; }
.dial-ticks { transform: rotate(var(--turn)); }
.dial-ticks .major { stroke-width: 2.5; }
.dial-ticks .minor { stroke-width: 1; }
.dial-sweep { transform: rotate(var(--turn)); }
.dial-wand { transform: rotate(var(--needle)); stroke-width: 1.1; }
.dial-gate { transform: rotate(var(--gate-angle)); stroke-width: 1.2; opacity: var(--readout); }
.dial-face {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 51%;
  height: 51%;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  background: radial-gradient(closest-side, #151a18 58%, #151a18ee 78%, #151a1800);
  color: #f2f0e8;
  opacity: var(--readout);
  text-transform: uppercase;
}
.dial-face span, .case-caption, .research-cue, .hash-lines {
  font: 500 clamp(10px, .82vw, 13px)/1.45 var(--fr-mono);
  letter-spacing: .06em;
}
.dial-face span { margin-bottom: .7em; }
.dial-face b {
  grid-area: 2/1;
  font: 800 clamp(26px, 3.65vw, 68px)/1 var(--research-sans);
  letter-spacing: -.065em;
}
.dial-valid { opacity: var(--verified); }
.dial-fail { color: #ff7859; opacity: var(--refused); transform: scale(var(--stamp-size)); }
.research-case {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: var(--research-gutter);
  width: min(51%, 910px);
  transform: translateY(calc(-50% + var(--case-rise)));
  opacity: var(--exhibit);
  font-variant-numeric: tabular-nums;
}
.case-caption { color: #ff947c; text-transform: uppercase; }
.case-amount {
  display: flex;
  align-items: baseline;
  margin: 1.35rem 0 2rem;
  font: 650 clamp(50px, 8.45vw, 165px)/1 var(--research-sans);
  letter-spacing: -.079em;
  white-space: nowrap;
}
.cent-window {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  color: #ff7859;
}
.cent-roll { display: block; transform: translateY(var(--cent-roll)); }
.cent-roll b { display: block; height: 1em; font-weight: inherit; }
.hash-lines { max-width: 34em; }
.hash-lines p {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 8px 0;
  border-top: 1px solid #919b8c81;
}
.hash-lines p span { text-transform: uppercase; color: #c3c7bb; }
.hash-lines code { grid-area: 1/2; font: inherit; letter-spacing: .025em; }
.digest-original { opacity: var(--verified); }
.digest-altered { color: #ff947c; opacity: var(--refused); }
.research-cue {
  display: none;
  align-items: center;
  gap: 14px;
  position: absolute;
  bottom: max(12svh, 62px);
  left: var(--research-gutter);
  font-size: 11px;
  text-transform: uppercase;
  opacity: var(--opening);
}
.running .research-cue { display: flex; }
.research-cue i { position: relative; width: 8px; height: 19px; border-left: 1px solid #ff876c; }
.research-cue i::after {
  content: ""; position: absolute; left: -3px; bottom: 1px; width: 5px; height: 5px;
  transform: rotate(45deg); border: solid #ff876c; border-width: 0 1px 1px 0;
}
.research-meter { position: absolute; height: 2px; background: #bec6b818; inset: auto 0 0; }
.research-meter i { display: block; width: var(--meter); height: 100%; background: #ff7655; }
.research-receipt {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(32px, 5vw, 78px) var(--research-gutter);
  border-block: 1px solid #929b8d6e;
  background: #17201cd9;
}
.research-receipt p + p { max-width: 55ch; margin-top: 12px; font-size: clamp(17px,1.5vw,23px); }
.research-receipt a {
  display: inline-flex; align-items: center; gap: 18px; min-height: 44px;
  border-bottom: 1px solid #ff876c; white-space: nowrap; font-weight: 650;
}
.research-receipt a span { color: #ff876c; }
.research-receipt a:hover { color: #ff9d86; }

/* The painted atelier stays in the room with both the field notes and the brief. */
.motion-concepts { --opening-ink: #fff2d7; --atelier-ink: #173e3e; background: #10383d; }
.ground-concepts {
  background-color: #10383d;
  background-image: linear-gradient(90deg, #0d252838, #102c3470 68%, #10262a82), url("../scenes/concepts-desk.webp");
  background-position: 45% center;
}
.motion-concepts .world-nav {
  align-items: center;
  text-shadow: 0 1px 8px #082426;
}
.atelier-nav { margin-left: auto; }
.world-menu nav .atelier-brief-jump { display: none; }
.atelier-nav a { display: flex; align-items: center; min-height: 44px; font: 500 12px var(--fr-mono); }
.atelier-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.motion-ready .sequence-concepts { height: 245svh; background: transparent; }
.sequence-concepts { background: #153c43; --nib: 1; --drawing: 0; --atelier-zoom: 1; --wing-angle: -18deg; }
.sequence-concepts .principal, .sequence-concepts .world-film {
  object-position: 42% 48%;
}
.sequence-concepts .principal { transform: scale(var(--atelier-zoom)); transform-origin: 36% 46%; }
.sequence-concepts .world-shade {
  background: linear-gradient(270deg, #0c2338a3 0%, #0d253964 36%, transparent 62%),
    linear-gradient(0deg, #071c24c2, transparent 40%), linear-gradient(180deg, #061f30a1, transparent 21%);
}
.sequence-concepts .scene-title, .sequence-concepts .scene-end {
  left: auto; right: var(--world-pad); bottom: 18%; width: 44%;
  text-shadow: 0 2px 18px #0b202b8c;
}
.sequence-concepts .scene-title h1 {
  font: italic 400 clamp(78px, 10.6vw, 190px)/.86 var(--fr-serif);
  letter-spacing: -.065em;
}
.sequence-concepts .scene-label { color: #ffe1b3; }
.sequence-concepts .scene-desc { max-width: 29ch; margin-top: 20px; }
.sequence-concepts .scene-end { bottom: 15%; }
.sequence-concepts .scene-end > p:last-child {
  font: italic 400 clamp(48px, 5.6vw, 100px)/.91 var(--fr-serif);
  max-width: 12ch;
}
.sequence-concepts .scene-cue { left: auto; right: var(--world-pad); width: 44%; }
.sequence-concepts .scene-cue i { transform: rotate(90deg); color: #ffd4a9; }
.wing-drawing {
  position: absolute; right: 8%; top: 13%; width: min(32vw,520px);
  color: #fff1cd; filter: drop-shadow(0 1px 2px #173536);
  opacity: var(--drawing); transform: rotate(var(--wing-angle)); transform-origin: 11% 82%;
}
.wing-plan { stroke: currentColor; stroke-width: 1.55; }
.wing-plan path { stroke-dasharray: 1; stroke-dashoffset: var(--nib); }
.atelier-work {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: end; gap: clamp(24px,7vw,150px);
  min-height: 96svh;
  padding: clamp(80px,14svh,180px) var(--world-pad) clamp(58px,10svh,120px);
  color: #fff0d6;
  background: linear-gradient(0deg, #102b2da8, transparent 78%);
}
.atelier-work header { text-shadow: 0 2px 18px #0c2326; }
.atelier-work .scene-label { color: #ffe1b3; }
.atelier-work h2, .motion-concepts .brief-layout h2 {
  font: 400 clamp(68px, 8vw, 145px)/.88 var(--fr-serif);
  letter-spacing: -.055em;
}
.atelier-work h2 em { font-weight: 400; }
.atelier-notes, .motion-concepts .brief-form {
  margin: 0; list-style: none;
  padding: clamp(23px, 3vw, 54px);
  border-block: 3px double #7d6847;
  background: repeating-linear-gradient(0deg, transparent 0 24px, #765c3914 24px 25px),
    linear-gradient(110deg, #ede3ccef, #f6eedcf5 62%, #ded4bbef);
  color: var(--atelier-ink);
  box-shadow: 4px 6px 0 -2px #c8bda2, 9px 14px 28px #07171b45;
}
.atelier-notes li { padding-block: 17px; border-top: 1px solid #657e7199; }
.atelier-notes li:first-child { padding-top: 0; border: 0; }
.atelier-notes li:last-child { padding-bottom: 0; }
.atelier-notes .micro { color: #694a25; }
.atelier-notes h3 { font: 400 clamp(29px, 2.5vw, 44px)/1.05 var(--fr-serif); margin: 5px 0 7px; }
.atelier-notes p { max-width: 54ch; font-size: 15px; line-height: 1.48; }
.motion-concepts .brief-layout {
  width: 100%; align-items: end; min-height: 86svh;
  padding: clamp(52px,10svh,120px) var(--world-pad);
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(24px,7vw,150px);
  background: linear-gradient(0deg, #112c30c9, #112d3029 78%);
  color: #fff0d6;
}
.motion-concepts .brief-layout > div { text-shadow: 0 1px 10px #09232a; }
.motion-concepts .brief-layout h2 { font-size: clamp(62px, 6vw, 108px); max-width: 9ch; }
.motion-concepts .brief-layout > div > p:last-child { color: #fff1d8; }
.motion-concepts .brief-layout .role { color: #ffe1b3; }
.motion-concepts .brief-form { --fr-ink: #153b38; --fr-surface: #fffcf0b3; --fr-muted: #435951; --fr-accent: #244f49; --fr-accent-hover: #183e39; --fr-on-accent: #fff7e2; }
.motion-concepts .brief-form textarea { min-height: 75px; }
.motion-concepts .world-footer { background: #102c31c9; color: #fff0d6; }

@media (max-width: 760px) {
  .research-pin { height: max(100svh, 530px); }
  .research-pin .research-opening {
    align-content: end; gap: 16px;
    padding-top: 12px; padding-bottom: max(21svh,115px);
  }
  .research-pin .research-opening h1 { font-size: clamp(56px, 15.7vw, 104px); }
  .research-pin .research-opening > p {
    max-width: 42ch; font-size: 15px; line-height: 1.42; padding-top: 10px;
  }
  .research-cue { bottom: max(13svh,82px); font-size: 10px; }
  .proof-dial { left: 64%; top: 36%; width: min(77vw,46svh,450px); }
  .dial-face b { font-size: clamp(24px, 7vw, 40px); }
  .dial-face span { font-size: 8px; }
  .research-case { left: var(--research-gutter); width: calc(100% - 2 * var(--research-gutter)); top: 73%; }
  .case-amount { font-size: clamp(48px, 12vw, 89px); margin: .65rem 0 .95rem; }
  .hash-lines { max-width: 33em; }
  .research-receipt { flex-direction: column; align-items: start; gap: 12px; }
  .motion-concepts .world-nav { padding-block: 10px; gap: 14px; }
  .motion-concepts .world-sign { font-size: 15px; gap: 5px; white-space: nowrap; }
  .motion-concepts .world-sign .monogram { width: 19px; }
  .motion-concepts .world-nav :is(summary,.atelier-nav a) { font-size: 10px; white-space: nowrap; }
  .sequence-concepts .stage::before {
    content: ""; position: absolute; inset: 0; z-index: -3;
    background: linear-gradient(155deg, #102b43, #19454a 57%, #0c3036);
    opacity: var(--foreground-art, 1);
  }
  .sequence-concepts .principal, .sequence-concepts .world-film {
    top: clamp(32px, 6svh, 56px); height: min(72svh, 122vw);
    object-position: 8% 48%;
    mask-image: linear-gradient(transparent, #000 11% 86%, transparent);
  }
  .sequence-concepts .world-shade {
    background: linear-gradient(0deg, #0b262c 2%, #102c36d9 21%, #0c273139 45%, transparent 64%),
      linear-gradient(180deg, #082532b8, transparent 17%);
  }
  .sequence-concepts .scene-title, .sequence-concepts .scene-end {
    left: var(--world-pad); right: var(--world-pad); width: auto; bottom: 12%;
  }
  .sequence-concepts .scene-title h1 { font-size: clamp(75px, 20vw, 132px); }
  .sequence-concepts .scene-label { margin-bottom: 11px; }
  .sequence-concepts .scene-desc { margin-top: 11px; max-width: 33ch; }
  .sequence-concepts .scene-cue { left: var(--world-pad); right: auto; width: auto; bottom: 4%; }
  .sequence-concepts .scene-end > p:last-child { font-size: clamp(48px, 12vw, 75px); }
  .wing-drawing { right: 2%; top: 13%; width: 44%; }
  .ground-concepts { background-position: 24% center; }
  .atelier-work, .motion-concepts .brief-layout { grid-template-columns: 1fr; align-content: end; gap: 22px; }
  .atelier-work { padding-block: 27svh 8svh; }
  .atelier-work h2 { font-size: clamp(58px, 13vw, 92px); }
  .atelier-work h2 br { display: none; }
  .atelier-work h2 em::before { content: " "; }
  .motion-concepts .brief-layout { padding-block: 18svh 8svh; }
}
@media (max-width: 400px) {
  .motion-concepts .atelier-nav { display: none; }
  .world-menu nav .atelier-brief-jump { display: flex; }
}
@media (max-height: 610px) and (min-width: 761px) {
  .research-pin { height: 100svh; min-height: 360px; }
  .research-pin .research-opening { padding-bottom: max(18svh,60px); }
  .research-pin .research-opening h1 { font-size: clamp(62px,15svh,96px); }
  .research-cue { bottom: max(10svh,42px); }
}
@media (max-height: 640px) and (max-width: 760px) {
  .research-pin .research-opening { gap: 9px; padding-bottom: 112px; }
  .research-pin .research-opening h1 { font-size: clamp(47px,12vw,78px); }
  .research-pin .research-opening > p { font-size: 14px; }
  .research-cue { bottom: 75px; }
  .proof-dial { top: 33%; }
}
@media (max-width: 365px) {
  .motion-concepts .world-nav { column-gap: 8px; }
  .atelier-nav a, .motion-concepts .world-menu summary { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .research-run.running, .motion-ready .sequence-concepts { height: auto; }
  .research-run .research-pin, .sequence-concepts .stage { position: relative; }
  .research-cue, .research-meter, .wing-drawing { display: none; }
}
