:root[data-guide-study] .guide-sheet::before,
:root[data-guide-study] .guide-sheet::after {
  display: none;
}

:root[data-guide-study] #info-title::before {
  display: none;
}

:root[data-guide-study] .exhibit-nav button[aria-current="true"] {
  background: transparent;
}

:root[data-guide-study] .panel-scroll {
  scrollbar-color: var(--guide-scroll) transparent;
}

:root[data-guide-study] .speaker {
  background: var(--guide-line);
}

:root[data-guide-study] .info-copy .story-close {
  border-left-color: var(--guide-line);
}

:root[data-guide-study] .exhibit-nav button:hover {
  color: #243a34;
  background: #f6f7f35e;
}

/* A. An exhibit label that shares the stage background. */
[data-guide-study="gallery"] .business-info {
  --guide-ink: #243a34;
  --guide-accent: #325c4d;
  --guide-line: #536b6055;
  --guide-scroll: #728478;
}

[data-guide-study="gallery"] .guide-sheet {
  border-left: 1px solid var(--guide-line);
}

[data-guide-study="gallery"] .dialog-toolbar {
  padding-left: 0;
}

[data-guide-study="gallery"] .portrait img {
  aspect-ratio: 1.77;
  max-height: 27vh;
  object-position: center 22%;
}

[data-guide-study="gallery"] .portrait {
  margin-bottom: 18px;
}

[data-guide-study="gallery"] .info-section h1,
[data-guide-study="gallery"] .info-section > h2 {
  font-family: "Yu Gothic UI", Meiryo, sans-serif;
  font-weight: 500;
  letter-spacing: .04em;
}

[data-guide-study="gallery"] .interview-jump {
  width: fit-content;
  gap: 26px;
}

/* B. A printed feature, with a full-width cover and set type. */
[data-guide-study="editorial"] .business-info {
  --guide-ink: #382f25;
  --guide-accent: #754832;
  --guide-line: #8f756252;
  --guide-scroll: #a18a70;
}

[data-guide-study="editorial"] .guide-sheet {
  background: #faf6ed;
  border: 1px solid #d2c8b9;
  box-shadow: 0 12px 27px #3e322617;
}

[data-guide-study="editorial"] .dialog-toolbar {
  padding-left: 0;
  border-color: transparent;
}

[data-guide-study="editorial"] #info-story {
  padding-top: 0;
}

[data-guide-study="editorial"] .portrait {
  margin: 0 0 20px;
}

[data-guide-study="editorial"] .portrait img {
  aspect-ratio: 1.95;
  max-height: 28vh;
  object-position: 50% 16%;
}

[data-guide-study="editorial"] .portrait figcaption {
  justify-content: flex-end;
  margin-top: 8px;
}

[data-guide-study="editorial"] .portrait figcaption::after {
  display: none;
}

[data-guide-study="editorial"] #info-story .kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 11px;
  padding-top: 10px;
  border-top: 1px solid var(--guide-line);
}

[data-guide-study="editorial"] #info-story h1 {
  text-align: center;
  font-weight: 600;
  line-height: 1.43;
  letter-spacing: .06em;
}

[data-guide-study="editorial"] .interview-jump {
  border-top: 1px solid var(--guide-line);
  border-bottom: 1px solid var(--guide-line);
}

/* C. Smoked glass, a media caption on the image and a restrained mint accent. */
[data-guide-study="smoke"] .business-info {
  --guide-ink: #f5f6f1;
  --guide-accent: #b7e5d7;
  --guide-line: #a5bbb853;
  --guide-scroll: #8aa8a1;
}

[data-guide-study="smoke"] .guide-sheet {
  background: linear-gradient(155deg, #25363bea, #18272bea 65%, #1f3135ef);
  backdrop-filter: blur(12px);
  border: 1px solid #647d7a;
  border-radius: 12px;
  box-shadow: 0 13px 28px #243a3436;
}

[data-guide-study="smoke"] .dialog-toolbar {
  padding-left: 0;
  border: 0;
}

[data-guide-study="smoke"] #info-story { padding-top: 0; }

[data-guide-study="smoke"] .portrait {
  position: relative;
  margin-bottom: 20px;
}

[data-guide-study="smoke"] .portrait img {
  aspect-ratio: 1.62;
  max-height: 29vh;
  object-position: 50% 20%;
  border-radius: 4px;
}

[data-guide-study="smoke"] .portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, #111f22ef);
  color: var(--guide-accent);
  border-radius: 0 0 4px 4px;
}

[data-guide-study="smoke"] .portrait figcaption::after { display: none; }

[data-guide-study="smoke"] .info-section h1,
[data-guide-study="smoke"] .info-section > h2 {
  font-family: "Yu Gothic UI", Meiryo, sans-serif;
  font-weight: 650;
  line-height: 1.34;
}

[data-guide-study="smoke"] .interview-jump {
  border: 1px solid var(--guide-line);
  border-radius: 4px;
  padding-inline: 13px;
}

[data-guide-study="smoke"] .info-links a.primary,
[data-guide-study="smoke"] .photo-grid button {
  color: #243a34;
  background: #ecf5ef;
}

[data-guide-study="smoke"] .info-links a:hover {
  color: #243a34;
  background: #d8eee6;
}

[data-guide-study="smoke"] .guide-sheet :focus-visible {
  outline-color: #b7e5d7;
}

[data-guide-study="smoke"] .exhibit-nav button[aria-current="true"],
[data-guide-study="smoke"] .exhibit-nav button[aria-current="true"] span {
  color: #244f43;
  border-color: #397b68;
}

[data-guide-study="profile"] .business-info {
  --guide-ink: #213b3c;
  --guide-accent: #315e58;
  --guide-line: #5c7b7359;
  --guide-scroll: #64827b;
}

[data-guide-study="profile"] .guide-sheet {
  background: #f0f3ed;
  border: 1px solid #a7b9b0;
  border-radius: 2px;
}

[data-guide-study="profile"] #info-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(86px, 8vw, 124px);
  grid-template-rows: auto 1fr auto;
  column-gap: 13px;
  padding-top: 23px;
}

[data-guide-study="profile"] #info-story .kicker {
  grid-area: 1 / 1;
  margin-bottom: 10px;
}

[data-guide-study="profile"] #info-story h1 {
  grid-area: 2 / 1;
  margin: 0;
  font-family: "Yu Gothic UI", Meiryo, sans-serif;
  font-size: clamp(21px, 1.85vw, 34px);
  line-height: 1.45;
  letter-spacing: .02em;
}

[data-guide-study="profile"] .portrait {
  grid-area: 1 / 2 / span 2;
  align-self: start;
  margin: 0;
}

[data-guide-study="profile"] .portrait img {
  aspect-ratio: 4 / 5;
  max-height: none;
  object-position: 52% 22%;
  border: 1px solid #b1c1b7;
  padding: 3px;
  background: #f9faf6;
}

[data-guide-study="profile"] .portrait figcaption {
  flex-wrap: wrap;
  gap: 3px 5px;
  margin-top: 5px;
}

[data-guide-study="profile"] .portrait figcaption::after {
  display: none;
}

[data-guide-study="profile"] .portrait figcaption strong {
  font-size: 12px;
}

[data-guide-study="profile"] .info-copy {
  min-width: 0;
}

[data-guide-study="profile"] #info-story .info-copy {
  grid-area: 3 / 1 / 4 / -1;
  margin-top: 19px;
}

[data-guide-study="profile"] .interview-jump {
  width: fit-content;
  gap: 23px;
}

[data-guide-study="cover"] .business-info {
  --guide-ink: #283e46;
  --guide-accent: #315c72;
  --guide-line: #65838d52;
  --guide-scroll: #64808d;
}

[data-guide-study="cover"] .guide-sheet {
  overflow: hidden;
  border: 1px solid #78919c;
  border-radius: 7px;
  background: #f0f4f3;
  box-shadow: 0 12px 26px #283e461e;
}

[data-guide-study="cover"] .dialog-toolbar {
  margin: 0;
  padding-inline: var(--inset);
  border: 0;
  background: #263d4a;
  color: #eff5f4;
}

[data-guide-study="cover"] #info-close:hover {
  background: #edf6ff21;
}

[data-guide-study="cover"] #info-close:focus-visible {
  outline-color: #b8e6eb;
}

[data-guide-study="cover"] .panel-scroll {
  margin: 0;
  padding: 0;
}

[data-guide-study="cover"] .info-section {
  padding-inline: var(--inset);
}

[data-guide-study="cover"] #info-story {
  display: grid;
  grid-template: minmax(112px, 1fr) auto auto 37px auto / minmax(0, 1fr);
  padding: 0 0 30px;
}

[data-guide-study="cover"] .portrait {
  grid-area: 1 / 1 / 5 / 2;
  position: relative;
  margin: 0;
  min-height: clamp(243px, 35vh, 330px);
  background: #263d4a;
}

[data-guide-study="cover"] .portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-position: 50% 10%;
}

[data-guide-study="cover"] .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #14273700 28%, #142737ac 56%, #1c3343 94%);
}

[data-guide-study="cover"] .portrait figcaption {
  position: absolute;
  z-index: 1;
  inset: auto var(--inset) 10px;
  margin: 0;
  color: #d2e3e9;
}

[data-guide-study="cover"] .portrait figcaption strong {
  color: #fff;
}

[data-guide-study="cover"] .portrait figcaption::after {
  display: none;
}

[data-guide-study="cover"] #info-story .kicker,
[data-guide-study="cover"] #info-story h1 {
  position: relative;
  margin-inline: var(--inset);
  color: #fff;
}

[data-guide-study="cover"] #info-story .kicker {
  grid-area: 2 / 1;
  margin-bottom: 5px;
}

[data-guide-study="cover"] #info-story h1 {
  grid-area: 3 / 1;
  margin-bottom: 3px;
  font-size: clamp(24px, 2.18vw, 36px);
  line-height: 1.37;
}

[data-guide-study="cover"] #info-story .info-copy {
  grid-area: 5 / 1;
  padding: 19px var(--inset) 0;
}

[data-guide-study="ceramic"] .business-info {
  --guide-ink: #383c34;
  --guide-accent: #375363;
  --guide-line: #d5cdbf;
  --guide-scroll: #847968;
  --guide-hover: #e8e5db;
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}

[data-guide-study="ceramic"] .guide-sheet {
  border-top: 2px solid #536e75;
  border-radius: 4px 4px 7px 7px;
  background: #f5f2e9;
  box-shadow: 0 2px 5px #45463b14, 0 10px 24px #45463b1f;
}

[data-guide-study="ceramic"] #info-title {
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--guide-accent);
}

[data-guide-study="ceramic"] #info-close {
  margin-right: -5px;
  border-radius: 50%;
  color: var(--guide-accent);
  font-size: 22px;
}

[data-guide-study="ceramic"] #info-story {
  padding-top: 16px;
}

[data-guide-study="ceramic"] .portrait {
  margin-bottom: clamp(17px, 2.9vh, 26px);
}

[data-guide-study="ceramic"] .portrait img {
  border-radius: 3px;
}

[data-guide-study="ceramic"] .portrait figcaption {
  align-items: baseline;
  margin-top: 10px;
}

[data-guide-study="ceramic"] .portrait figcaption::after {
  display: none;
}

[data-guide-study="ceramic"] .info-section h1,
[data-guide-study="ceramic"] .info-section > h2 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .01em;
  color: #263e4b;
}

[data-guide-study="ceramic"] .info-section h1 {
  font-size: clamp(24px, 2.25vw, 35px);
  line-height: 1.34;
}

[data-guide-study="ceramic"] .interview-jump {
  width: fit-content;
  gap: 16px;
  margin-top: 9px;
  border-bottom-color: var(--guide-line);
}

[data-guide-study="ceramic"] .interview-jump:hover,
[data-guide-study="ceramic"] .interview-jump:focus-visible {
  border-bottom-color: var(--guide-accent);
}

[data-guide-study="ceramic"] .exhibit-nav button {
  min-height: 44px;
  color: var(--guide-accent);
}

[data-guide-study="ceramic"] .exhibit-nav button span {
  display: none;
}

:root[data-guide-study="ceramic"] .exhibit-nav button:hover {
  background: var(--guide-hover);
}

:root[data-guide-study="ceramic"] .exhibit-nav button[aria-current="true"] {
  background: #e0e5e0;
  color: #263e4b;
}

[data-guide-study="blue-glass"] .business-info {
  --guide-ink: #223c4a;
  --guide-accent: #325a73;
  --guide-line: #59758d61;
  --guide-scroll: #5b788e;
  --sheet-surface: linear-gradient(155deg, #f6fbffb8 4%, #c6d7e78c 48%, #a9bfd88c 100%);
  --sheet-edge: #66839a;
  --sheet-depth: inset 0 0 0 1px #f0f7fdb0, 0 10px 24px #3b59732b;
}

[data-guide-study="blue-glass"] .guide-sheet {
  border: 1px solid var(--sheet-edge);
  border-radius: 11px;
  background: var(--sheet-surface);
  box-shadow: var(--sheet-depth);
  backdrop-filter: blur(12px);
}

[data-guide-study="ceramic"] .dialog-toolbar,
[data-guide-study="blue-glass"] .dialog-toolbar {
  padding-left: 0;
}

[data-guide-study="ceramic"] #info-close:hover {
  background: var(--guide-hover);
}

[data-guide-study="blue-glass"] #info-close:hover {
  background: var(--guide-line);
}

@media (max-width: 760px) {
  [data-guide-study="gallery"] .guide-sheet {
    border-left: 0;
    border-top: 1px solid var(--guide-line);
  }

  :root[data-guide-study] .portrait img {
    max-height: min(170px, 24vh);
  }

  :root[data-guide-study="profile"] .portrait img,
  :root[data-guide-study="cover"] .portrait img {
    max-height: none;
  }
}
