/* PQ100N.IT — No color. No highlights. No compromise. */

/* === DESATURATION === */
/* The most important line in this stylesheet. */
html {
    filter: saturate(0);
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #c8c8c8;
    line-height: 1.7;
    font-size: 17px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 300;
}

h3 {
    font-size: 1.05rem;
    color: #d0d0d0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

p {
    max-width: 65ch;
}

a {
    color: #888;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

a:hover {
    color: #bbb;
}

strong {
    font-weight: 600;
    color: #e0e0e0;
}

em {
    font-style: italic;
    color: #aaa;
}

/* === HERO === */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.55) contrast(1.1);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 1) 0%,
        rgba(10, 10, 10, 0.95) 15%,
        rgba(10, 10, 10, 0.7) 40%,
        rgba(10, 10, 10, 0) 100%
    );
    padding: 12vh 0 8vh;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.domain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.15;
    color: #e8e8e8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #999;
    line-height: 1.7;
    max-width: 55ch;
    font-weight: 300;
}

/* === SECTIONS === */
section {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem;
    border-top: 1px solid #1a1a1a;
}

.section-intro {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 3rem;
    max-width: 60ch;
    line-height: 1.8;
}

/* === PULL QUOTES === */
.pull-quote-section {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pull-quote {
    max-width: 750px;
    text-align: center;
}

.pull-quote p {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-style: italic;
    font-weight: 400;
    color: #d0d0d0;
    line-height: 1.35;
    max-width: 100%;
    letter-spacing: -0.01em;
}

/* === MANIFESTO === */
.manifesto-subtitle {
    font-size: 1rem;
    color: #777;
    margin-bottom: 3rem;
    font-style: italic;
}

.principles {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.principles li {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}

.principle-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #555;
    flex-shrink: 0;
    width: 2rem;
    letter-spacing: 0.05em;
}

.principles li div {
    max-width: 60ch;
}

.principles li div strong {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.principles li div p {
    margin-bottom: 0.5rem;
}

/* === COLOR VOLUME ILLUSTRATION === */
.cube-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
}

.cube-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    filter: brightness(0.9) contrast(1.1);
}

.cube-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    letter-spacing: 0.02em;
    max-width: 55ch;
}

/* === COMPARISON SLIDER === */
.comparison-slider {
    position: relative;
    width: 100%;
    margin: 2rem 0 1.5rem;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.comparison-slider-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.comparison-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.comparison-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6) contrast(1.05);
}

.comparison-layer--hdr {
    clip-path: inset(0 0 0 50%);
}

.comparison-layer--sdr img {
    /* SDR side — identical. That's the joke. */
}

.comparison-layer--hdr img {
    /* HDR side — also identical. That's also the joke. */
}

.comparison-badge {
    position: absolute;
    bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ccc;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.4rem 0.8rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.comparison-badge--sdr {
    left: 1rem;
}

.comparison-badge--hdr {
    right: 1rem;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.comparison-handle-line {
    flex: 1;
    width: 2px;
    background: rgba(200, 200, 200, 0.5);
}

.comparison-handle-grip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.6);
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #aaa;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.comparison-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
}

/* === SCOPE / WAVEFORM === */
.scope-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem 6rem;
}

.scope-monitor {
    width: 100%;
    max-width: 800px;
    background: #0e0e0e;
    border: 1px solid #222;
    border-radius: 2px;
    overflow: hidden;
}

.scope-header {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #1a1a1a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #444;
}

.scope-display {
    padding: 0;
    position: relative;
}

.scope-display canvas {
    width: 100%;
    height: auto;
    display: block;
}

.scope-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-top: 1px solid #1a1a1a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 0.05em;
}

.scope-limit {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scope-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
    max-width: 60ch;
}

/* === CASE STUDIES === */
.case-study {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1a1a1a;
}

.case-study:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.case-study h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.cs-detail {
    font-weight: 300;
    color: #666;
    font-size: 0.9rem;
}

.case-study p {
    margin-bottom: 0.75rem;
}

.cs-stats {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #555;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

/* === CERTIFICATION === */
.certification {
    text-align: center;
}

.certification .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.cert-badge {
    width: 180px;
    height: 180px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
}

.cert-badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.cert-badge-top {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ddd;
    letter-spacing: 0.15em;
}

.cert-badge-middle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.cert-badge-bottom {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.1em;
}

.cert-requirements {
    text-align: left;
    max-width: 650px;
    margin: 3rem auto 0;
}

.cert-requirements h3 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #888;
}

.cert-requirements ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cert-requirements li {
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.cert-requirements li::before {
    content: '>';
    position: absolute;
    left: 0;
    font-family: 'JetBrains Mono', monospace;
    color: #444;
    font-size: 0.9rem;
}

/* === FAQ === */
.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h3 {
    font-size: 1rem;
    color: #c0c0c0;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.faq-item p {
    color: #888;
    font-size: 1rem;
}

/* === ENDORSEMENTS === */
.endorsements blockquote {
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    border-left: 2px solid #222;
}

.endorsements blockquote p {
    font-size: 1.05rem;
    color: #aaa;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 0.75rem;
    max-width: 55ch;
}

.endorsements cite {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #555;
    font-style: normal;
    letter-spacing: 0.02em;
}

/* === SCIENCE === */
.science-item {
    margin-bottom: 3rem;
}

.science-item:last-child {
    margin-bottom: 0;
}

.science-item h3 {
    margin-bottom: 0.75rem;
}

.science-item p {
    color: #999;
}

/* === TOOLS === */
.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tool-item {
    padding: 2rem;
    border: 1px solid #1a1a1a;
    background: #0e0e0e;
}

.tool-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-item p {
    font-size: 0.92rem;
    color: #888;
    line-height: 1.7;
}

/* === FOOTER === */
.colophon {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-domain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: #555;
    margin-bottom: 1rem;
}

.footer-motto {
    font-size: 1.1rem;
    font-style: italic;
    color: #777;
    margin-bottom: 2rem;
}

.footer-fine-print {
    font-size: 0.78rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 100%;
}

.footer-copy {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #444;
    letter-spacing: 0.03em;
}

.footer-copy a {
    color: #555;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .principles li {
        gap: 1rem;
    }

    .principle-num {
        width: 1.5rem;
    }

    .pull-quote p {
        font-size: 1.6rem;
    }

    .pull-quote-section {
        padding: 4rem 1.5rem;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .cert-badge {
        width: 150px;
        height: 150px;
    }

    .cert-badge-top {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 1.25rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .pull-quote p {
        font-size: 1.4rem;
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* === SELECTION === */
::selection {
    background: #333;
    color: #e0e0e0;
}
