@font-face {
  font-family: DM Sans;
  src: url(./fonts/dm-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(./fonts/dm-sans-latin-600-normal.woff2) format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url(./fonts/dm-serif-text-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}
:root {
  --resource-header-height: 44px;
  --contact-footer-height: calc(24px + env(safe-area-inset-bottom, 0px));
  --court-header-height: 76px;
  --paper: #f7f5ee;
  --ink: #282b27;
  --red: #70283a;
  --muted: #62665f;
  --hair: #dcd9cf;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}
button {
  color: inherit;
}
a {
  color: inherit;
}
.startup {
  padding: 8vw;
}
.cc-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: middle;
  display: inline-block;
}
.cc-header {
  height: var(--court-header-height);
  background: #fcfbf7;
  border-bottom: 1px solid var(--hair);
  position: relative;
  z-index: 8;
}
.cc-bar {
  height: 100%;
  max-width: 1660px;
  margin: auto;
  padding: 0 clamp(20px, 3.8vw, 66px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font: 28px/1 var(--serif);
  color: #312b2b;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand-mark {
  color: #f7eacc;
  background: #70283a;
  border-radius: 6px;
  width: 37px;
  height: 39px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.brand-mark .cc-icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}
.cc-header nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2.7vw, 44px);
}
.cc-header nav a,
.cc-header nav button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #596159;
  padding: 0 2px;
  position: relative;
}
.cc-header nav .cc-icon {
  width: 17px;
  height: 17px;
}
.cc-header nav a[aria-current],
.cc-header nav :hover {
  color: var(--red);
}
.cc-header nav a[aria-current]::after {
  position: absolute;
  content: "";
  bottom: 0;
  height: 3px;
  background: var(--red);
  left: 0;
  right: 0;
}
.audio-top {
  padding: 9px 15px;
  border: 1px solid #d6d3c9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
}
.audio-top .cc-icon {
  width: 16px;
  height: 16px;
}
.audio-top:hover {
  background: #efede5;
}
.landing,
.library {
  max-width: 1660px;
  margin: auto;
  padding: clamp(18px, 2.1vw, 34px) clamp(20px, 3.8vw, 66px) 62px;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 448px;
  height: clamp(448px, 34vw, 565px);
  background: #33291f;
  border-radius: 9px;
  color: #fff9ee;
  display: flex;
  align-items: center;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-photo {
  object-position: center 53%;
}
.hero-courtroom {
  object-position: 60% 46%;
}
.hero-exterior {
  object-position: 50% 53%;
}
.hero-bench {
  object-position: 50% 52%;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(20, 21, 18, 0.91) 0%,
      rgba(20, 20, 17, 0.79) 23%,
      rgba(27, 22, 17, 0.36) 51%,
      rgba(34, 25, 16, 0.025) 77%
    ),
    linear-gradient(0deg, rgba(16, 15, 12, 0.62), transparent 21%);
}
.hero-copy {
  width: 59%;
  padding: 14px 0 28px clamp(26px, 3.55vw, 64px);
}
.hero-eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}
.hero-eyebrow {
  color: #edd1a2;
}
.hero-eyebrow > span,
.kicker > span {
  width: 21px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.hero h1,
.lib-heading h1,
.docket h2,
.station-card h1 {
  font-family: var(--serif);
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(59px, 5.25vw, 89px);
  line-height: 0.96;
  letter-spacing: -0.047em;
  margin: 16px 0 18px;
  text-wrap: nowrap;
}
.hero-copy p {
  font-size: clamp(14px, 1.08vw, 18px);
  line-height: 1.56;
  max-width: 406px;
  margin: 0;
  color: #f2eee5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 17px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}
.cta .cc-icon {
  width: 17px;
  height: 17px;
}
.cta.gold {
  border: 1px solid #f1d8a9;
  background: #ecd5ae;
  color: #342918;
}
.gold:hover {
  background: #fae7c6;
}
.cta.gold .cc-icon:last-child {
  margin-left: 4px;
}
.cta.glass {
  background: #211b1670;
  border: 1px solid #e9dfc575;
  color: #fff9ed;
}
.cta.glass:hover {
  background: #332a22cc;
}
.hero-location,
.hero-credit {
  position: absolute;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f3eadc;
  font-size: 11px;
}
.hero-location {
  left: clamp(26px, 3.55vw, 64px);
  letter-spacing: 0.3px;
}
.hero-location .cc-icon {
  width: 14px;
  height: 14px;
}
.hero-credit {
  right: 21px;
  gap: 9px;
}
.hero-credit button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  border: none;
  padding: 4px;
  font-size: 11px;
}
.hero-credit button:hover {
  color: white;
}
.hero-credit .cc-icon {
  width: 14px;
  height: 14px;
}
.photo-num {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 1px;
  border-left: 1px solid #b6b3a391;
  padding-left: 12px;
}
.hero-credit .slide-arrow {
  height: 27px;
  width: 27px;
  justify-content: center;
  border: 1px solid #fff7e969;
  border-radius: 50%;
  padding: 3px;
}
.hero-credit .slide-arrow + .slide-arrow {
  margin-left: -4px;
}
.docket {
  padding-top: clamp(28px, 2.8vw, 46px);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.kicker {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 1.9px;
}
.kicker > span {
  width: 18px;
}
.docket h2,
.lib-heading h1 {
  font-size: clamp(38px, 3.1vw, 54px);
  line-height: 1.08;
  margin: 6px 0 0;
  letter-spacing: -0.046em;
}
.all-cases,
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.all-cases {
  color: var(--red);
  margin-bottom: 5px;
}
.all-cases .cc-icon,
.crumb .cc-icon {
  width: 16px;
  height: 16px;
}
.all-cases:hover,
.crumb:hover {
  text-decoration: underline;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.55vw, 26px);
}
.case-card {
  background: #fcfbf7;
  border: 1px solid #d9d8cc;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.case-card:hover {
  border-color: #9a9484;
  transform: translateY(-3px);
  box-shadow: 0 5px 14px #35251912;
}
.case-art {
  height: clamp(110px, 9.7vw, 155px);
  background: #e5eade;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #2d2d2313;
}
.c-multani .case-art {
  background: #f1e3d5;
}
.c-eldridge .case-art {
  background: #ece7d5;
}
.c-sauve .case-art {
  background: #dfe6e9;
}
.c-bigm .case-art {
  background: #e6e8d7;
}
.c-irwintoy .case-art {
  background: #ece1da;
}
.case-art img {
  position: absolute;
  mix-blend-mode: multiply;
  right: 3%;
  width: 80%;
  height: 126%;
  object-fit: contain;
  top: -7%;
  filter: contrast(1.05);
  z-index: -1;
}
.c-am .case-art img {
  height: 132%;
  top: -9%;
  right: 2%;
}
.c-eldridge .case-art img {
  height: 117%;
  top: -4%;
}
.section-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  left: 13px;
  top: 12px;
  background: #fffff8c2;
  border: 1px solid #5c605933;
  border-radius: 3px;
  padding: 5px 7px;
  line-height: 1;
  font: 700 9px var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #444a41;
}
.section-stamp .cc-icon {
  width: 12px;
  height: 12px;
}
.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: 18px 18px 12px;
}
.case-meta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.15px;
  color: #67695f;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.case-meta b {
  color: #9d9e91;
}
.case-title {
  font: 400 clamp(23px, 1.8vw, 31px) / 1.08 var(--serif);
  letter-spacing: -0.035em;
  margin: 8px 0;
}
.case-blurb {
  font-size: 13px;
  line-height: 1.48;
  color: #555c54;
  margin-bottom: 15px;
}
.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hair);
  width: 100%;
  padding-top: 10px;
  margin-top: auto;
  color: #65655e;
  font-size: 11px;
}
.case-foot .cc-icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}
.cc-footer {
  max-width: 1660px;
  margin: auto;
  border-top: 1px solid var(--hair);
  padding: 20px clamp(20px, 3.8vw, 66px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #69695f;
}
.foot-name {
  font: 19px var(--serif);
  color: #4b423e;
}
.foot-desc {
  font-size: 12px;
  margin-left: 17px;
}
.cc-footer button {
  border: 0;
  background: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
}
.cc-footer button .cc-icon {
  width: 15px;
  height: 15px;
}
.library {
  max-width: 1450px;
  padding-top: 30px;
  min-height: 78vh;
}
.crumb {
  font-size: 12px;
  color: #6c6d63;
}
.lib-heading {
  margin: 31px 0 24px;
}
.lib-heading h1 {
  font-size: clamp(50px, 5vw, 77px);
  margin-bottom: 12px;
}
.lib-heading p {
  font-size: 16px;
  color: #565a52;
}
.lib-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffdf8;
  border: 1px solid #d3d2c7;
  border-radius: 5px;
  padding: 9px 12px;
}
.search .cc-icon {
  width: 17px;
  height: 17px;
  color: #777a6d;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 200px;
  font-size: 14px;
}
.search:focus-within {
  outline: 2px solid #9b6235;
}
.result-count {
  font-size: 13px;
  color: var(--muted);
}
.tour-open .cc-footer {
  display: none;
}
.explorer {
  height: calc(100dvh - var(--resource-header-height) - var(--court-header-height) - var(--contact-footer-height));
  min-height: 495px;
  background: #3e3932;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tour-photo,
#world-canvas,
.pin-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tour-photo {
  object-fit: cover;
  z-index: -1;
}
.explorer:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -70px 100px -55px #20170d60;
  z-index: 0;
}
.pin-layer {
  pointer-events: none;
  z-index: 2;
}
#world-canvas {
  display: block;
  opacity: 0;
  touch-action: none;
  outline: 0;
  cursor: grab;
}
#world-canvas:active {
  cursor: grabbing;
}
.rendered #world-canvas {
  opacity: 1;
}
.rendered .tour-photo {
  visibility: hidden;
}
.photos-only #world-canvas,
.photos-only .move-pad,
.photos-only .pin-layer,
.photos-only .controls-toggle {
  display: none;
}
.tour-top {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 4;
}
.tour-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-pill,
.tour-hearing {
  background: #fffdf4ee;
  border: 1px solid #a99d8b85;
  box-shadow: 0 3px 15px #1f160c22;
  color: #392f27;
  border-radius: 5px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  pointer-events: auto;
}
.tour-pill:hover,
.tour-pill[aria-expanded="true"] {
  background: #eee4d0;
}
.tour-pill .cc-icon,
.tour-hearing .cc-icon {
  width: 17px;
  height: 17px;
}
.tour-status {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  color: #fff9ef;
  background: #342f28df;
  padding: 8px 14px;
  font-size: 13px;
  z-index: 2;
  text-align: center;
  max-width: 85%;
}
.floating,
.station-card {
  background: #fcfaf1f5;
  border: 1px solid #c9c0ab;
  border-radius: 6px;
  box-shadow: 0 6px 30px #22170d2b;
  z-index: 4;
}
.floating {
  position: absolute;
  top: 66px;
  padding: 18px;
  width: 260px;
}
.floating h2 {
  font: 24px var(--serif);
  margin: 0 0 12px;
}
.stops-panel {
  left: 20px;
}
.controls-panel {
  right: 20px;
}
.floating button {
  background: transparent;
  border: 0;
  width: 100%;
  padding: 9px 4px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  font-size: 13px;
}
.floating button[aria-current="location"] {
  color: var(--red);
  font-weight: 700;
  background: #eee6d8;
}
.floating button .cc-icon {
  width: 14px;
  height: 14px;
}
.stops-panel button .cc-icon {
  margin-left: auto;
}
.stops-panel small {
  font: 10px monospace;
  color: #827662;
}
.controls-panel p {
  font-size: 13px;
  line-height: 1.4;
}
.controls-panel b {
  display: block;
}
.station-card {
  position: absolute;
  bottom: 22px;
  left: 20px;
  max-width: min(395px, 43%);
  padding: 17px 20px;
}
.stop-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  font-weight: 700;
}
.floor-label {
  color: #6d6c60;
  border-left: 1px solid #bfb8a7;
  padding-left: 9px;
}
.station-card h1 {
  font-size: 30px;
  margin: 7px 0 5px;
  letter-spacing: -1px;
  line-height: 1.08;
}
.station-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #54584f;
  margin: 7px 0 12px;
}
.station-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d9d4c6;
  padding-top: 8px;
}
.station-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--red);
}
.station-actions .cc-icon {
  width: 15px;
  height: 15px;
}
.tour-right {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
  z-index: 3;
}
.tour-hearing {
  background: #672237;
  color: white;
  border-color: #ab7b76;
}
.move-pad {
  text-align: center;
}
.move-pad div {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.move-pad button {
  width: 37px;
  height: 35px;
  border: 1px solid #b6ac9a91;
  background: #282722be;
  color: white;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
}
.move-pad button:active {
  background: var(--red);
}
.hearing-open .tour-top,
.hearing-open .tour-right,
.hearing-open .station-card,
.hearing-open .pin-layer,
.hearing-open .tour-status {
  visibility: hidden;
}
@media (min-width: 1700px) {
  .hero {
    height: 570px;
  }
  .case-art {
    height: 170px;
  }
}
@media (max-width: 900px) {
  .cc-bar {
    gap: 12px;
  }
  .cc-header nav {
    gap: 20px;
  }
  .cc-header nav .cc-icon {
    display: none;
  }
  .hero-copy {
    width: 74%;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero {
    height: 435px;
    min-height: 435px;
  }
  .hero-copy p {
    max-width: 355px;
  }
  .case-body {
    padding: 15px 13px 10px;
  }
  .case-art img {
    width: 91%;
  }
  .section-stamp {
    font-size: 8px;
    left: 9px;
    top: 9px;
  }
  .case-blurb {
    font-size: 12px;
  }
  .library .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 670px) {
  :root { --court-header-height: 60px; }
  .cc-bar {
    padding: 0 14px;
    gap: 8px;
  }
  .wordmark {
    font-size: 22px;
    gap: 7px;
  }
  .brand-mark {
    width: 29px;
    height: 31px;
    border-radius: 4px;
  }
  .brand-mark .cc-icon {
    width: 22px;
    height: 22px;
  }
  .cc-header nav {
    gap: 10px;
    margin-left: auto;
  }
  .cc-header nav a,
  .cc-header nav button {
    font-size: 11px;
    gap: 0;
    white-space: nowrap;
  }
  .cc-header nav button span {
    font-size: 0;
  }
  .cc-header nav button .cc-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
  }
  .audio-top {
    padding: 6px;
    border: 0;
  }
  .audio-top span {
    display: none;
  }
  .landing,
  .library {
    padding: 14px 14px 32px;
  }
  .hero {
    height: 460px;
    min-height: 0;
    border-radius: 6px;
    align-items: flex-end;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      #161914f8 0%,
      #1c1d17e6 24%,
      #181a16a8 52%,
      #1a170e18 100%
    );
  }
  .hero-photo {
    object-position: 62% 50%;
  }
  .hero-copy {
    width: 100%;
    padding: 0 21px 76px;
  }
  .hero h1 {
    font-size: clamp(46px, 10.5vw, 65px);
    margin: 11px 0 11px;
  }
  .hero-copy p {
    max-width: 360px;
    font-size: 13px;
  }
  .hero-eyebrow {
    font-size: 9px;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }
  .cta {
    font-size: 12px;
    padding: 9px 10px;
    min-height: 37px;
    gap: 5px;
  }
  .cta .cc-icon {
    width: 14px;
    height: 14px;
  }
  .cta.gold .cc-icon:last-child {
    display: none;
  }
  .hero-location {
    left: 21px;
    bottom: 44px;
    font-size: 10px;
  }
  .hero-credit {
    left: 17px;
    right: 16px;
    bottom: 9px;
    gap: 7px;
  }
  .hero-credit > button:first-child {
    margin-right: auto;
  }
  .docket {
    padding-top: 25px;
  }
  .section-head {
    margin-bottom: 15px;
  }
  .docket h2 {
    font-size: 35px;
  }
  .all-cases {
    font-size: 12px;
  }
  .case-grid,
  .library .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-art {
    height: 145px;
  }
  .case-art img {
    width: 70%;
    right: 6%;
  }
  .case-body {
    padding: 17px 17px 11px;
  }
  .case-blurb {
    font-size: 14px;
  }
  .case-title {
    font-size: 26px;
  }
  .case-meta {
    font-size: 10px;
  }
  .cc-footer {
    padding: 15px;
    align-items: start;
  }
  .foot-desc {
    display: none;
  }
  .cc-footer button {
    font-size: 11px;
  }
  .lib-heading h1 {
    font-size: 47px;
  }
  .lib-heading p {
    font-size: 14px;
  }
  .explorer {
    min-height: 510px;
  }
  .tour-top {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  .tour-pill {
    padding: 8px;
    font-size: 12px;
  }
  .tour-bar {
    gap: 4px;
  }
  .station-card {
    max-width: none;
    left: 10px;
    right: 10px;
    bottom: 9px;
    padding: 11px 13px;
  }
  .station-card h1 {
    font-size: 24px;
  }
  .station-card p {
    font-size: 12px;
    line-height: 1.33;
    margin: 5px 0 7px;
  }
  .station-actions {
    padding-top: 3px;
  }
  .tour-right {
    bottom: 180px;
    right: 10px;
    gap: 6px;
  }
  .tour-hearing {
    font-size: 11px;
    padding: 7px;
  }
  .move-pad button {
    width: 34px;
    height: 32px;
  }
  .floating {
    top: 52px;
    max-height: 57%;
    overflow: auto;
  }
  .stops-panel {
    left: 10px;
  }
  .controls-panel {
    right: 10px;
  }
  .tour-status {
    top: 57px;
    width: max-content;
    font-size: 11px;
  }
  .library .search input {
    min-width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0s !important;
  }
}
.mode-label {
  margin-left: auto;
  color: #686557;
  font-size: 8px;
  letter-spacing: 0.65px;
}
.pano-mode #world-canvas {
  opacity: 0;
  z-index: 1;
}
.case-art img {
  height: 108%;
  top: -3%;
}
.c-am .case-art img {
  height: 113%;
  top: -5%;
}
.c-eldridge .case-art img {
  height: 107%;
  top: -2%;
}
.door-action {
  position: absolute;
  z-index: 3;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff8e8f2;
  color: #4c2932;
  border: 1px solid #987d60;
  box-shadow: 0 3px 16px #20100930;
  border-radius: 5px;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 13px;
}
.door-action kbd {
  font: 600 11px var(--sans);
  padding: 2px 5px;
  border: 1px solid #b6a386;
  border-bottom-width: 2px;
  border-radius: 3px;
}
.hearing-open .door-action,
.photos-only .door-action {
  display: none;
}
.section-stamp {
  text-transform: none;
}
@media (max-width: 670px) {
  .door-action {
    top: 45%;
    font-size: 12px;
  }
}

.aim-point{position:absolute;z-index:2;left:50%;top:50%;width:6px;height:6px;border-radius:50%;transform:translate(-50%,-50%);background:#fff9e7d9;border:1px solid #4a423f88;box-shadow:0 0 3px #15111166;pointer-events:none}
.has-target .aim-point{width:10px;height:10px;border:2px solid #ffefd5;background:#663043}
.shortcut-legend{align-self:flex-start;display:flex;align-items:center;gap:13px;border-radius:5px;padding:8px 12px;color:#fffaf1;background:#302e28cd;font-size:11px;box-shadow:0 2px 6px #1f190d22}
.shortcut-legend span{display:flex;align-items:center;gap:5px}
.shortcut-legend kbd{font:600 10px var(--sans);color:#fff9e7;border:1px solid #c2bbab7d;padding:2px 4px;border-radius:3px}
.shortcut-legend .pano-shortcut,.photos-only .shortcut-legend,.photos-only .aim-point,.hearing-open .aim-point{display:none}
.pano-mode .shortcut-legend .pano-shortcut{display:none}
@media(max-width:850px),(hover:none){.shortcut-legend{display:none}}

/* A visible reminder beside the movement pad also works as a touch toggle. */
.pace-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 4px 9px 4px 5px;
  border: 1px solid #cfc6b4;
  border-radius: 6px;
  background: #292c26ef;
  color: #fffbed;
  box-shadow: 0 2px 8px #1b201b44;
  font: 650 12px/1.2 var(--sans);
}
.pace-toggle kbd {
  padding: 4px 6px;
  border: 1px solid #dad1bb;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #f4efdf;
  color: #292b24;
  font: 700 12px/1.1 var(--sans);
}
.pace-toggle[aria-pressed="true"] { background: #315343; border-color: #abc6a8; }
.pace-toggle[aria-pressed="true"] kbd { background: #d9efca; border-color: #adca9a; }
.pace-toggle:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.photos-only .pace-toggle { display: none; }
@media (pointer: coarse) { .pace-toggle { min-height: 44px; } }

/* Shared classroom navigation, matched to the Assembly field trip. */
#court-app { padding-top: var(--resource-header-height); }
.kinch-resource-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--resource-header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 48px 7px 14px;
  background: #fff1c8;
  border-bottom: 2px solid #a48640;
  color: #193d31;
  font: 600 13px/1.3 system-ui, sans-serif;
}
.kinch-resource-banner > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px 18px;
  color: inherit;
  text-decoration: none;
}
.kinch-resource-banner strong { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.kinch-resource-banner:hover { background: #ffe7a0; }
.kinch-resource-banner a:focus-visible, .kinch-resource-close:focus-visible { outline: 3px solid #267554; outline-offset: 2px; }
.kinch-resource-close {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #a4864066;
  border-radius: 6px;
  background: transparent;
  color: #193d31;
  font: 26px/1 system-ui, sans-serif;
}
.kinch-resource-close:hover { background: #e6ce8e; }
.kinch-contact-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--contact-footer-height);
  padding: 0 max(12px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px);
  border-top: 1px solid #d0d7c9;
  background: #f0f1e8;
}
.kinch-contact {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 22px;
  color: #435c54;
  font: 500 11px/1.3 system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.kinch-contact span { text-decoration: underline; text-decoration-color: #a3b2a7; text-underline-offset: 2px; }
.kinch-contact:is(:hover, :focus-visible) span { text-decoration-color: currentColor; }
.kinch-contact:focus-visible { outline: 2px solid #42795c; outline-offset: 1px; border-radius: 2px; }
@media (max-width: 600px) { .kinch-contact-bar { justify-content: center; } }
@media (max-width: 520px) {
  :root { --resource-header-height: 62px; }
  .kinch-resource-banner { font-size: 12px; }
  .kinch-resource-banner > a { flex-direction: column; text-align: center; }
}
:root.kinch-banner-dismissed { --resource-header-height: 0px; }
.kinch-banner-dismissed .kinch-resource-banner { display: none; }
