:root {
    --notes-ink: #151515;
    --notes-muted: #666;
    --notes-line: rgba(0, 0, 0, 0.12);
    --notes-bg: #fbfaf6;
}

body {
    color: var(--notes-ink);
    overflow-x: hidden;
}

.private-notes-page,
.private-notes-page * {
    box-sizing: border-box;
}

.navbar {
    width: 100%;
}

.private-notes-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px clamp(18px, 4vw, 56px) 72px;
    overflow-x: hidden;
}

.private-notes-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(32px, 7vw, 88px);
    align-items: center;
    padding-bottom: 54px;
    border-bottom: 1px solid var(--notes-line);
}

.private-notes-kicker {
    margin-bottom: 18px;
    color: var(--notes-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.private-notes-title-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    min-width: 0;
}

.private-notes-icon {
    flex: 0 0 auto;
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 0 0 8px rgba(232, 255, 87, 0.5),
        0 18px 42px rgba(0, 0, 0, 0.18);
}

.private-notes-title {
    max-width: 620px;
    min-width: 0;
    font-size: clamp(2.45rem, 5.4vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.private-notes-subtitle {
    max-width: 660px;
    margin-bottom: 28px;
    color: #303030;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.private-notes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.private-notes-actions .store-badge-div {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.private-notes-actions .store-badge-div:hover {
    opacity: 0.72;
    transform: translateY(-1px);
}

.private-notes-actions .store-badge-div > img {
    height: 42px;
    max-width: 140px;
    object-fit: contain;
}

.private-notes-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.private-notes-fact {
    padding: 7px 10px;
    border: 1px solid var(--notes-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    line-height: 1;
}

.private-notes-fact span {
    color: var(--notes-muted);
}

.private-notes-fact strong {
    font-weight: 500;
}

.private-notes-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.private-notes-primary-shot {
    display: block;
    width: min(100%, 360px);
    max-width: 100%;
    height: auto;
    border-radius: 30px;
}

.private-notes-hero-credit {
    margin-top: 10px;
    color: var(--notes-muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.private-notes-hero-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.private-notes-hero-credit a:hover {
    color: var(--notes-ink);
}

.private-notes-section {
    padding: 48px 0 0;
}

.private-notes-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
    gap: clamp(20px, 5vw, 64px);
    align-items: start;
    margin-bottom: 22px;
}

.private-notes-section-heading h2 {
    font-size: clamp(1.9rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
    overflow-wrap: break-word;
}

.private-notes-section-heading p {
    color: var(--notes-muted);
    line-height: 1.7;
}

.private-notes-eyebrow {
    margin-bottom: 10px;
    color: var(--notes-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.private-notes-role-grid,
.private-notes-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.private-notes-role-card,
.private-notes-metrics article,
.private-notes-learning {
    border: 1px solid var(--notes-line);
    background: rgba(255, 255, 255, 0.42);
}

.private-notes-role-card {
    min-height: 154px;
    padding: 22px;
}

.private-notes-role-card span,
.private-notes-learning strong {
    display: block;
    margin-bottom: 22px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.private-notes-role-card p,
.private-notes-learning p {
    color: var(--notes-muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.private-notes-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--notes-line);
    border-left: 1px solid var(--notes-line);
}

.private-notes-feature-card {
    min-height: 190px;
    padding: 22px;
    border-right: 1px solid var(--notes-line);
    border-bottom: 1px solid var(--notes-line);
    background: rgba(255, 255, 255, 0.24);
}

.private-notes-feature-card span {
    display: block;
    margin-bottom: 34px;
    color: var(--notes-muted);
    font-size: 0.78rem;
}

.private-notes-feature-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.private-notes-feature-card p {
    color: var(--notes-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.private-notes-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    counter-reset: none;
}

.private-notes-flow li {
    min-height: 224px;
    padding: 22px;
    border-top: 2px solid var(--notes-ink);
    background: rgba(232, 255, 87, 0.35);
}

.private-notes-flow span,
.private-notes-flow strong,
.private-notes-flow p {
    display: block;
}

.private-notes-flow span {
    margin-bottom: 34px;
    color: var(--notes-muted);
    font-size: 0.78rem;
}

.private-notes-flow strong {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.3;
}

.private-notes-flow p {
    color: #454545;
    font-size: 0.89rem;
    line-height: 1.6;
}

.private-notes-learning {
    display: grid;
    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
    gap: 22px;
    margin-top: 12px;
    padding: 22px;
}

.private-notes-learning strong {
    margin: 0;
}

.private-notes-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.private-notes-metrics article {
    min-height: 146px;
    padding: 22px;
}

.private-notes-metrics strong,
.private-notes-metrics span {
    display: block;
}

.private-notes-metrics strong {
    margin-bottom: 28px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.8;
}

.private-notes-metrics span,
.private-notes-metrics-note {
    color: var(--notes-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.private-notes-metrics-note {
    max-width: 740px;
    margin-top: 14px;
}

.private-notes-gallery-shell .project-gallery-div {
    width: 100%;
    max-width: 100%;
    gap: 18px;
    padding: 0 0 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}

.private-notes-gallery-shell .project-gallery-div > img {
    display: block;
    flex: 0 0 auto;
    height: min(70vh, 680px);
    max-width: calc(100vw - 36px);
    margin: 0;
    padding: 0;
    border: 1px solid var(--notes-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: none;
    scroll-snap-align: start;
}

.private-notes-gallery-shell .project-gallery-div > img:hover {
    background: #fff;
    transform: none;
}

@media (max-width: 900px) {
    .private-notes-hero,
    .private-notes-section-heading {
        grid-template-columns: 1fr;
    }

    .private-notes-showcase {
        display: none;
    }

    .private-notes-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .private-notes-flow,
    .private-notes-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 730px) {
    .private-notes-page {
        padding: 22px 16px 48px;
    }

    .private-notes-hero {
        gap: 24px;
        padding-bottom: 38px;
    }

    .private-notes-kicker {
        margin-bottom: 14px;
        font-size: 0.68rem;
        text-align: center;
    }

    .private-notes-title-row {
        align-items: center;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
        text-align: center;
    }

    .private-notes-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        box-shadow:
            0 0 0 6px rgba(232, 255, 87, 0.5),
            0 14px 30px rgba(0, 0, 0, 0.16);
    }

    .private-notes-title {
        width: 100%;
        font-size: clamp(2rem, 11vw, 3rem);
        letter-spacing: -0.045em;
        line-height: 1.02;
        text-align: center;
    }

    .private-notes-subtitle {
        margin-bottom: 22px;
        font-size: 1rem;
        line-height: 1.58;
    }

    .private-notes-actions .store-badge-div > img {
        height: 34px;
        max-width: 118px;
    }

    .private-notes-fact {
        padding: 7px 9px;
        font-size: 0.72rem;
    }

    .private-notes-section {
        padding-top: 38px;
    }

    .private-notes-section-heading {
        gap: 12px;
        margin-bottom: 18px;
    }

    .private-notes-section-heading h2 {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
    }

    .private-notes-section-heading p {
        font-size: 0.95rem;
        line-height: 1.58;
    }

    .private-notes-feature-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .private-notes-role-grid,
    .private-notes-flow,
    .private-notes-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .private-notes-role-card,
    .private-notes-flow li,
    .private-notes-metrics article {
        min-height: auto;
        padding: 18px;
    }

    .private-notes-role-card span,
    .private-notes-flow span,
    .private-notes-metrics strong {
        margin-bottom: 14px;
    }

    .private-notes-learning {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .private-notes-feature-card {
        min-height: auto;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--notes-line);
        background: transparent;
    }

    .private-notes-feature-card span {
        margin-bottom: 12px;
    }

    .private-notes-gallery-shell .project-gallery-div {
        gap: 12px;
        padding-bottom: 14px;
    }

    .private-notes-gallery-shell .project-gallery-div > img {
        width: min(82vw, 320px);
        min-width: min(82vw, 320px);
        height: auto;
        max-height: 500px;
        object-fit: contain;
        border-radius: 22px;
    }
}

@media (max-width: 430px) {
    .private-notes-gallery-shell .project-gallery-div > img {
        width: min(84vw, 300px);
        min-width: min(84vw, 300px);
    }
}
