.showcase {
  --paper: #f8f7f3;
  --ink: #263b39;
  --muted: #48534f;
  --accent: #426345;
  --lavender: #e9eee6;
  --line: #d5d9d0;
  --serif: Georgia, "Times New Roman", serif;
  --header-height: 5.75rem;
  --gutter: clamp(1.25rem, 5.3vw, 5rem);
  --section-gap: clamp(2rem, 6vw, 7rem);
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.showcase .container {
  width: min(calc(100% - 2 * var(--gutter)), 82rem);
}

.showcase :is([id], .development-stage) {
  scroll-margin-top: calc(var(--header-height) + env(safe-area-inset-top) + 1rem);
}

.showcase .skip-link {
  position: fixed;
}

.svg-symbols {
  position: absolute;
  pointer-events: none;
}

.showcase .arrow-icon {
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase #report-load .arrow-icon {
  width: 1.25em;
  height: 1.25em;
}

.showcase :is(main, section, .model-area)[tabindex="-1"]:focus {
  outline: none;
}

.showcase-header {
  position: sticky;
  z-index: 10;
  top: 0;
  padding-top: env(safe-area-inset-top);
  background: rgb(248 247 243 / 92%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 1px 0 rgb(38 59 57 / 10%);
}

.showcase-header-inner,
.showcase-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.showcase-header-inner {
  min-height: var(--header-height);
}

.wordmark {
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -.045em;
}

.wordmark span,
.showcase-cover h1 span {
  color: var(--accent);
}

.nav-group {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  align-items: center;
  gap: .15rem;
}

.nav-label {
  grid-column: 1 / -1;
  padding-inline: .65rem;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 650;
}

.showcase-nav a,
.nav-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .65rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 580;
}

.showcase-nav a:hover,
.showcase-nav a[aria-current],
.nav-disclosure[open] summary {
  background: var(--lavender);
}

.nav-disclosure {
  display: none;
  position: relative;
}

.nav-disclosure summary {
  justify-content: space-between;
  gap: .7rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  padding-inline: .9rem;
  cursor: pointer;
  list-style: none;
}

.nav-disclosure summary::-webkit-details-marker,
.development-chapter-index summary::-webkit-details-marker { display: none; }

.nav-disclosure summary::after {
  content: "";
  width: .45rem;
  height: .45rem;
  margin-top: -.25rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  rotate: 45deg;
}

.nav-disclosure[open] summary::after {
  margin-top: .2rem;
  rotate: 225deg;
}

.showcase-nav .nav-panel {
  position: absolute;
  inset: calc(100% + .5rem) 0 auto auto;
  width: min(17rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100dvh - var(--header-height) - 1rem);
  overflow: auto;
  padding: .4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .8rem;
  box-shadow: 0 10px 24px rgb(38 59 57 / 10%);
}

.nav-panel .nav-group {
  grid-template-columns: minmax(0, 1fr);
  padding: .4rem 0;
}

.showcase-cover {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(4.5rem, 9vw, 9rem) clamp(4rem, 7vw, 7rem);
}

.showcase-label,
.showcase .eyebrow {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.cover-copy {
  position: relative;
  z-index: 1;
}

.showcase-cover h1 {
  margin: .9rem 0 1.55rem;
  font: 400 clamp(3.3rem, 5.6vw, 7rem)/.97 var(--serif);
  letter-spacing: -.075em;
}

.cover-copy p:not(.showcase-label),
.section-intro > p:not(.showcase-label, .report-context) {
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}

.cover-copy .cover-lead {
  margin-bottom: .4rem;
  color: var(--ink);
  font-weight: 650;
}

.cover-photo {
  align-self: center;
  overflow: hidden;
  aspect-ratio: 1.9;
  mix-blend-mode: multiply;
}

.cover-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

.showcase-button {
  display: inline-flex;
  gap: 1.4rem;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.6rem;
  padding: .55rem 1rem;
  border: 1px solid var(--accent);
  border-radius: .5rem;
  color: var(--paper);
  background: var(--accent);
  font-weight: 600;
  font-size: .88rem;
}

.showcase-button:hover {
  background: var(--ink);
}

.showcase .platform,
.showcase .single-page-development {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--section-gap);
  padding-block: clamp(3.5rem, 6.5vw, 7rem);
  border-top: 1px solid var(--line);
}

.showcase .single-page-development {
  display: block;
  padding-bottom: 0;
}

.section-intro h2,
.showcase .section-title,
.showcase .development-section-title {
  margin: .66rem 0 1.4rem;
  color: var(--ink);
  font: 400 clamp(2.5rem, 4.5vw, 4.5rem)/1.02 var(--serif);
  letter-spacing: -.052em;
  text-wrap: balance;
}

.journey {
  display: grid;
  align-content: start;
}

.journey-step {
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.journey-step:first-child {
  padding-top: 0;
}

.journey-step h3 {
  margin: .3rem 0 .4rem;
  font: 400 clamp(1.45rem, 2.5vw, 2.15rem)/1.1 var(--serif);
  letter-spacing: -.03em;
}

.journey-step p:last-child,
.kit-gallery figcaption {
  color: var(--muted);
}

.kit-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.kit-gallery img,
.showcase .development-hero-image img {
  border-radius: .5rem;
}

.kit-gallery img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.kit-gallery figcaption {
  display: grid;
  gap: .25rem;
  margin-top: .8rem;
  font-size: .85rem;
}

.kit-gallery strong {
  color: var(--ink);
  font-weight: 620;
}

.participant-section {
  align-items: center;
}

.participant-section .text-link {
  margin-top: .9rem;
  color: var(--accent);
}

.participant-section .report-column {
  justify-self: center;
  max-width: 25rem;
}

.participant-section .report-start button:hover {
  background: var(--lavender);
}

.participant-section .report-start button::after {
  position: absolute;
  inset: 0;
  content: "";
}

.participant-section .report-context,
.participant-section .report-status,
.participant-section .report-reload {
  font-size: .815rem;
}

.showcase .model-design-section {
  row-gap: 2rem;
  align-items: center;
}

.model-intro-photo {
  grid-column: 1 / -1;
  padding: clamp(.75rem, 2.2vw, 2rem);
  background: #eeece5;
  border-radius: .65rem;
}

.model-intro-photo img {
  height: auto;
  border-radius: .5rem;
}

.model-intro-photo figcaption {
  margin-top: .55rem;
  font-size: .815rem;
}

.model-design-section .text-link {
  margin-top: .65rem;
}

.showcase .development-hero {
  padding-block: 0 clamp(2.5rem, 5vw, 5rem);
}

.showcase .development-stage-content .eyebrow {
  margin-bottom: .4rem;
}

.showcase .history-chapter-title {
  margin: .6rem 0 1.4rem;
  font: 400 clamp(1.9rem, 3vw, 3rem)/1.1 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.showcase .development-stage-number {
  color: var(--accent);
  font: 400 clamp(1.65rem, 3vw, 3rem)/1 var(--serif);
}

.showcase .feedback-policy h5 {
  margin: .5rem 0 .75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.showcase .history-video-portrait video {
  width: min(100%, 26.25rem);
  max-height: none;
}

.history-video-toggle {
  min-height: 2.75rem;
  margin-top: .45rem;
  padding-inline: .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: transparent;
  color: var(--accent);
  font-size: .8125rem;
}

.history-video-toggle:hover {
  background: var(--lavender);
}

.showcase .development-chapter-index {
  border-block: 1px solid var(--line);
}

.showcase .development-chapter-index > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3.5rem;
  padding-inline: 1rem;
  font-weight: 620;
}

.showcase .development-chapter-index > summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
}

.showcase .development-chapter-index[open] > summary::after {
  content: "−";
}

.showcase .development-chapter-index > summary:hover {
  background: var(--lavender);
}

.showcase .history-index {
  padding-inline: 1rem;
}

.showcase-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom));
}

.showcase-copyright {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .8125rem;
}

.showcase-footer .text-link {
  gap: .65rem;
  white-space: nowrap;
}

.showcase-main {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

@media (max-width: 800px) {
  .showcase { --header-height: 4rem; }
  .showcase-header { background: var(--paper); }
  .showcase-nav > .nav-group { display: none; }
  .nav-disclosure { display: block; }
  .showcase-cover,
  .showcase .platform {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase-cover { gap: 1.25rem; padding-block: 3.25rem 2.5rem; }
  .showcase-cover h1 { font-size: clamp(2.75rem, 11.5vw, 6rem); }
  .cover-photo { max-width: 37rem; }
}

@media (max-width: 540px) {
  .kit-gallery { grid-template-columns: minmax(0, 1fr); }
  .participant-section .report-column { justify-self: start; }
  .showcase .report-start { gap: .5rem; }
  .showcase .wordmark { font-size: 1.04rem; }
}
