.showcase-hero {
    background: var(--sage);
    border-block: 1px solid var(--line);
}
.showcase-hero-inner {
    display: grid;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    padding-block: clamp(1.85rem, 5vw, 4.4rem);
}
.showcase-wordmark {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .65rem;
    color: var(--muted);
    font-weight: 800;
}
.showcase-wordmark img { width: 3.1rem; }
.showcase-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); line-height: 1.07; }
.showcase-hero .lead { max-width: 25em; font-size: clamp(1.04rem, 1.75vw, 1.35rem); }
.showcase-hero-copy { animation: appear .35s ease-out both; min-width: 0; }
.showcase-demo {
    display: grid;
    align-items: end;
    justify-content: start;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(.7rem, 2vw, 1.35rem);
}
.showcase-photo { min-width: 0; }
.showcase-enlarge {
    display: block;
    text-decoration: none;
    cursor: zoom-in;
}
.showcase-enlarge picture {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--paper);
    transition: box-shadow .18s ease, border-color .18s ease;
}
.showcase-enlarge:hover picture, .showcase-enlarge:focus-visible picture {
    border-color: var(--button);
    box-shadow: 0 .35rem 1.25rem #1c342331;
}
.showcase-enlarge img { width: 100%; }
.showcase-zoom {
    display: grid;
    place-items: center;
    height: 1.5rem;
    min-width: 1.5rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    font-weight: 800;
    border-radius: 50%;
}
.showcase-caption {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .35rem;
    margin-top: .55rem;
    color: var(--muted);
    font-size: clamp(.8rem, 1.55vw, 1rem);
    line-height: 1.45;
}
.showcase-enlarge:hover .showcase-zoom,
.showcase-enlarge:focus-visible .showcase-zoom { border-color: var(--button); }
.showcase-band { background: var(--sage); }
.showcase-bookpair, .showcase-practice, .showcase-paperflow, .showcase-stats {
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: start;
    margin-top: 1.8rem;
}
.showcase-practice, .showcase-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase-paperflow { align-items: center; }
.showcase-photo--paper-page { max-width: 460px; width: 100%; justify-self: center; }
.showcase-photo--stats { width: 100%; max-width: 640px; }
.showcase-photo--syllables-tablet { grid-column: 1 / -1; width: 100%; max-width: 900px; }
.showcase-stats {
    margin-top: 2.6rem;
    border-top: 1px solid var(--line);
    padding-top: 1.8rem;
}
.showcase-access {
    width: 100%;
    table-layout: fixed;
    margin-top: 1.5rem;
    border-collapse: collapse;
    line-height: 1.45;
}
.showcase-access :is(th, td) {
    padding: .85rem clamp(.45rem, 2.3vw, 1.3rem);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: clamp(.82rem, 2vw, 1rem);
}
.showcase-access thead { background: var(--sage); }
.showcase-access th:first-child { width: 28%; }
.showcase-access td strong { font-size: clamp(1.02rem, 2.8vw, 1.32rem); }
.access-note { margin-top: .85rem; font-size: .95rem; }
.showcase-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.showcase-dialog {
    width: min(94vw, 1100px);
    max-width: none;
    max-height: 94dvh;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--ink);
    background: var(--paper);
}
.showcase-dialog[open] { display: grid; gap: .5rem; grid-template-rows: auto minmax(0, 1fr) auto; }
html:has(.showcase-dialog[open]) { overflow: hidden; }
.showcase-dialog::backdrop { background: #17271de0; }
.showcase-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: .45rem; }
.showcase-dialog-bar h2 { margin: 0; font-size: clamp(1rem, 3vw, 1.25rem); }
.showcase-dialog-controls { display: flex; gap: .35rem; }
.showcase-dialog button {
    min-height: 44px;
    padding: .25rem .65rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: var(--sage);
    color: var(--ink);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}
.showcase-dialog-media {
    display: grid;
    place-items: center;
    min-height: 0;
    touch-action: pan-y pinch-zoom;
}
.showcase-dialog-media img {
    max-width: 100%;
    max-height: min(72dvh, calc(94dvh - 8rem));
    min-height: 0;
    object-fit: contain;
}
.showcase-dialog-media[data-zoomed] {
    display: block;
    max-height: min(72dvh, calc(94dvh - 8rem));
    overflow: auto;
    touch-action: pan-x pan-y pinch-zoom;
}
.showcase-dialog-media[data-zoomed] img {
    width: var(--showcase-zoom-width);
    max-width: none;
    max-height: none;
}
@media (max-width: 719px) {
    .showcase-hero-inner { gap: 1.35rem; padding-block: 1.5rem; }
    .showcase-wordmark img { width: 2.55rem; }
    .showcase-hero .lead { margin-bottom: .75rem; }
    .showcase-demo { align-items: center; }
}
@media (min-width: 720px) {
    .showcase-demo {
        grid-template-columns: minmax(0, 3.4fr) minmax(0, 1fr);
        align-items: end;
    }
    .showcase-bookpair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase-practice { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .showcase-stats { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }
    .showcase-theme { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}
@media (min-width: 1000px) {
    .showcase-hero-inner { grid-template-columns: minmax(17rem, .8fr) minmax(0, 1.75fr); }
    .showcase-paperflow { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
    .showcase-photo--paper-gallery { grid-column: 1; }
    .showcase-photo--paper-select { grid-column: 1; }
    .showcase-photo--paper-page { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-enlarge picture { transition: none; }
    .showcase-hero-copy { animation: none; }
}
