/* Soundkiller® Ateliers — digitale productgids (bladerbaar) v3 */

:root {
    --pg-warm: #6b5344;
    --pg-warm-dark: #4a3d32;
    --pg-warm-deep: #5c4a3a;
    --pg-gold: #c9924a;
    --pg-gold-light: #e8c88a;
    --pg-cream: #f6f1ea;
    --pg-sand: #ebe3d8;
    --pg-white: #ffffff;
    --pg-text: #1f1a17;
    --pg-muted: #5c534c;
    --pg-serif: "Cormorant Garamond", Georgia, serif;
    --pg-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: var(--pg-sans);
    color: var(--pg-text);
    background: var(--pg-warm-dark);
}

.pg-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}

.pg-topbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem clamp(1rem, 3vw, 2rem);
    background: rgba(74, 61, 50, 0.97);
    border-bottom: 1px solid rgba(201, 146, 74, 0.28);
    z-index: 20;
}

.pg-topbar__brand {
    font-family: var(--pg-serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--pg-cream);
    text-decoration: none;
}

.pg-topbar__brand:hover {
    color: var(--pg-gold-light);
}

.pg-topbar__hint {
    font-size: 0.78rem;
    color: rgba(246, 241, 234, 0.65);
    text-align: center;
}

.pg-topbar__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pg-btn {
    appearance: none;
    border: 1px solid rgba(201, 146, 74, 0.55);
    background: transparent;
    color: var(--pg-cream);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.pg-btn:hover {
    background: rgba(201, 146, 74, 0.18);
    border-color: var(--pg-gold);
}

.pg-btn--primary {
    background: var(--pg-gold);
    border-color: var(--pg-gold);
    color: var(--pg-white);
}

.pg-btn--primary:hover {
    background: #b8843f;
}

.pg-stage {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 146, 74, 0.1), transparent),
        linear-gradient(180deg, var(--pg-warm-dark) 0%, var(--pg-warm) 100%);
}

.pg-stage--zoomed {
    overflow: auto;
    align-items: flex-start;
}

.pg-zoom-wrap {
    transform-origin: center center;
    transition: transform 0.2s ease;
}

#productgids-book {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.pg-page {
    background: var(--pg-cream);
    overflow: hidden;
    position: relative;
}

.pg-page__inner {
    height: 100%;
    padding: clamp(1rem, 2.8vw, 1.65rem);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.pg-page--cover {
    background: linear-gradient(145deg, var(--pg-warm) 0%, var(--pg-warm-dark) 55%, var(--pg-warm-deep) 100%);
    color: var(--pg-cream);
}

.pg-page--cover-dgs {
    background: url("/images/productgids/cover-canva-ref.png") center center / cover no-repeat;
}

.pg-page__inner--cover-only {
    position: relative;
    padding: 0;
}

.pg-cover__ateliers {
    position: absolute;
    top: 31.5%;
    left: 50%;
    transform: translateX(42%);
    font-family: var(--pg-serif);
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--pg-warm-dark);
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

.pg-page--cover .pg-page__inner {
    justify-content: flex-end;
    align-items: flex-start;
}

.pg-cover__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pg-gold-light);
    margin: 0 0 0.75rem;
}

.pg-cover__title {
    font-family: var(--pg-serif);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 0.75rem;
    max-width: 14ch;
}

.pg-cover__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(246, 241, 234, 0.88);
    margin: 0 0 1.5rem;
    max-width: 32ch;
}

.pg-cover__badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(232, 200, 138, 0.5);
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(74, 61, 50, 0.45);
    backdrop-filter: blur(4px);
}

.pg-page--dark {
    background: var(--pg-warm);
    color: var(--pg-cream);
}

.pg-page--sand {
    background: var(--pg-sand);
}

.pg-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pg-gold);
    margin: 0 0 0.5rem;
}

.pg-page--dark .pg-kicker {
    color: var(--pg-gold-light);
}

.pg-heading {
    font-family: var(--pg-serif);
    font-size: clamp(1.25rem, 3.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.pg-lede {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--pg-muted);
    margin: 0 0 0.75rem;
}

.pg-page--dark .pg-lede {
    color: rgba(246, 241, 234, 0.82);
}

.pg-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.pg-list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.45;
}

.pg-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--pg-gold);
}

.pg-list--compact li {
    font-size: 0.78rem;
}

.pg-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.pg-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 0.7rem;
    border: 1px solid rgba(107, 83, 68, 0.1);
    min-width: 0;
}

.pg-page--dark .pg-card {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.pg-card__title {
    font-family: var(--pg-serif);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

.pg-card__text {
    font-size: 0.76rem;
    line-height: 1.45;
    margin: 0;
    color: var(--pg-muted);
}

.pg-page--dark .pg-card__text {
    color: rgba(246, 241, 234, 0.78);
}

.pg-photo {
    border-radius: 12px;
    overflow: hidden;
    margin: 0.5rem 0 0;
    flex: 0 1 auto;
    max-height: 34%;
    min-height: 0;
}

.pg-photo--compact {
    max-height: 30%;
}

.pg-photo img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.pg-page--images .pg-page__inner {
    justify-content: flex-start;
}

.pg-grid-2--large {
    flex: 1 1 auto;
    min-height: 0;
    align-content: stretch;
}

.pg-figure--large {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.pg-figure--large img {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    border-radius: 10px;
}

.pg-grid-2--large .pg-figure--large img {
    max-height: clamp(9rem, 38vh, 14rem);
}

.pg-figures {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.5rem;
}

.pg-figure {
    min-width: 0;
}

.pg-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    max-height: 5.5rem;
}

.pg-figure--large img {
    max-height: clamp(9rem, 38vh, 14rem);
    object-fit: contain;
}

.pg-figure figcaption {
    font-size: 0.68rem;
    line-height: 1.35;
    color: var(--pg-muted);
    margin-top: 0.25rem;
}

.pg-page--dark .pg-figure figcaption {
    color: rgba(246, 241, 234, 0.75);
}

.pg-layer-table {
    display: grid;
    gap: 0.4rem;
    margin: 0.35rem 0 0.5rem;
}

.pg-layer-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0.35rem 0.5rem;
    background: rgba(201, 146, 74, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(201, 146, 74, 0.18);
}

.pg-page--dark .pg-layer-row {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.pg-layer-row strong {
    font-weight: 600;
    white-space: nowrap;
}

.pg-stat {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.4rem 0 0.65rem;
}

.pg-stat__num {
    font-family: var(--pg-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--pg-gold-light);
    line-height: 1;
}

.pg-stat__label {
    font-size: 0.76rem;
    color: rgba(246, 241, 234, 0.75);
}

.pg-steps {
    counter-reset: step;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-steps li {
    counter-increment: step;
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    padding-left: 2rem;
    position: relative;
    min-width: 0;
}

.pg-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--pg-gold);
    color: var(--pg-white);
    font-size: 0.72rem;
    font-weight: 700;
}

.pg-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pg-audience span {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 7.5rem;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0.5rem 0.6rem;
    background: rgba(201, 146, 74, 0.12);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(201, 146, 74, 0.22);
}

.pg-note {
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--pg-muted);
    margin: 0.35rem 0 0;
    font-style: italic;
}

.pg-cta-box {
    margin-top: auto;
    padding: 1rem;
    background: rgba(201, 146, 74, 0.16);
    border-radius: 14px;
    border: 1px solid rgba(201, 146, 74, 0.3);
    text-align: center;
}

.pg-cta-box p {
    margin: 0 0 0.65rem;
    font-size: 0.84rem;
    line-height: 1.5;
}

.pg-cta-link {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    background: var(--pg-gold);
    color: var(--pg-white);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.pg-cta-link:hover {
    background: #b8843f;
}

.pg-heading--cover {
    color: var(--pg-cream);
    max-width: 16ch;
}

.pg-lede--cover {
    color: var(--pg-cream) !important;
    opacity: 0.95;
}

.pg-page-num {
    position: absolute;
    bottom: 0.65rem;
    right: 0.85rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(92, 83, 76, 0.55);
}

.pg-page--dark .pg-page-num,
.pg-page--cover .pg-page-num {
    color: rgba(246, 241, 234, 0.35);
}

.pg-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem 0.85rem;
    background: rgba(74, 61, 50, 0.97);
    border-top: 1px solid rgba(201, 146, 74, 0.22);
    flex-wrap: wrap;
}

.pg-controls__btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 1px solid rgba(201, 146, 74, 0.45);
    background: transparent;
    color: var(--pg-cream);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-controls__btn--text {
    width: auto;
    min-width: 2.35rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.pg-controls__btn:hover:not(:disabled) {
    background: rgba(201, 146, 74, 0.2);
}

.pg-controls__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.pg-controls__progress {
    font-size: 0.82rem;
    color: rgba(246, 241, 234, 0.7);
    min-width: 6.5rem;
    text-align: center;
}

@media (min-width: 420px) {
    .pg-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .pg-topbar__hint {
        display: none;
    }

    .pg-topbar__actions .pg-btn:not(.pg-btn--primary) {
        display: none;
    }
}

@media (min-width: 900px) {
    .pg-topbar__hint::after {
        content: " · +/- om in/uit te zoomen";
    }
}
