/* ==========================================================================
   pmt.report — Styles
   Inflated 3D + Ma Negative Space + Terracotta Warm + Vintage Editorial
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --deep-umber: #3d1a0a;
    --terracotta: #7a3520;
    --warm-orange: #c4622d;
    --peach: #e8a87c;
    --cream: #f5e6d3;
    --near-black: #2c1810;
    --warm-gray: #8b6355;
    --vintage-amber: #d4956a;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Serif 4', 'Times New Roman', serif;
    --font-accent: 'Courier Prime', 'Courier New', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--cream);
    color: var(--near-black);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ---------- Grain Overlay ---------- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ---------- Typography ---------- */
.hero-headline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 8rem);
    line-height: 1.05;
    color: var(--deep-umber);
    letter-spacing: -0.02em;
}

.hero-headline .dot {
    color: var(--terracotta);
}

.section-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 1.15;
    color: var(--deep-umber);
    margin-bottom: 0.4em;
}

.label-accent {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--warm-gray);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-body {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--warm-gray);
    max-width: 540px;
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--deep-umber);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* ---------- Rule Lines (Vintage) ---------- */
.hero-rule {
    width: 120px;
    height: 3px;
    background-color: var(--terracotta);
    margin: 1.5rem auto 0;
}

.rule-line {
    width: 80px;
    height: 2px;
    background-color: var(--terracotta);
    margin-bottom: 2rem;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-top: 2rem;
}

/* ---------- Printer Marks ---------- */
.printer-mark {
    position: absolute;
    font-size: 1rem;
    color: var(--peach);
    opacity: 0.5;
    font-family: var(--font-accent);
}

.printer-mark-tl { top: -40px; left: -40px; }
.printer-mark-tr { top: -40px; right: -40px; }
.printer-mark-bl { bottom: -40px; left: -40px; }
.printer-mark-br { bottom: -40px; right: -40px; }

/* ---------- Inflated 3D Elements ---------- */
.inflated-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.inflated-orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -80px;
    background: radial-gradient(circle at 35% 35%, var(--peach), var(--warm-orange), var(--terracotta));
    box-shadow:
        inset -8px -8px 20px rgba(61, 26, 10, 0.3),
        inset 8px 8px 20px rgba(245, 230, 211, 0.4),
        0 20px 60px rgba(122, 53, 32, 0.2);
    opacity: 0.6;
}

.inflated-orb-2 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 5%;
    background: radial-gradient(circle at 35% 35%, var(--vintage-amber), var(--warm-orange), var(--terracotta));
    box-shadow:
        inset -6px -6px 16px rgba(61, 26, 10, 0.3),
        inset 6px 6px 16px rgba(245, 230, 211, 0.4),
        0 16px 48px rgba(122, 53, 32, 0.15);
    opacity: 0.5;
}

.inflated-orb-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 15%;
    background: radial-gradient(circle at 35% 35%, #f5e6d3, var(--peach), var(--vintage-amber));
    box-shadow:
        inset -4px -4px 12px rgba(61, 26, 10, 0.2),
        inset 4px 4px 12px rgba(245, 230, 211, 0.5),
        0 12px 36px rgba(122, 53, 32, 0.1);
    opacity: 0.4;
}

/* ---------- Section Defaults ---------- */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 10vw;
    position: relative;
    overflow: hidden;
}

/* ---------- About Section ---------- */
.section-about {
    gap: 8vw;
}

.about-visual {
    flex-shrink: 0;
}

.inflated-card {
    background: radial-gradient(circle at 35% 35%, var(--cream), var(--peach));
    border-radius: 32px;
    padding: 3rem 4rem;
    text-align: center;
    box-shadow:
        inset -6px -6px 18px rgba(61, 26, 10, 0.15),
        inset 6px 6px 18px rgba(255, 255, 255, 0.5),
        0 24px 64px rgba(122, 53, 32, 0.15),
        0 8px 24px rgba(122, 53, 32, 0.1);
}

.inflated-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(4rem, 8vw, 7rem);
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(245, 230, 211, 0.6);
}

/* ---------- Features Section ---------- */
.section-features {
    flex-direction: column;
    align-items: flex-start;
}

.features-header {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 6rem;
    width: 100%;
}

.feature-item {
    padding: 2rem 0;
    border-top: 1px solid var(--peach);
}

.inflated-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--peach), var(--terracotta));
    box-shadow:
        inset -3px -3px 6px rgba(61, 26, 10, 0.25),
        inset 3px 3px 6px rgba(245, 230, 211, 0.4),
        0 4px 12px rgba(122, 53, 32, 0.2);
    margin-bottom: 1rem;
}

/* ---------- Process Section ---------- */
.section-process {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.section-process .rule-line {
    margin-left: auto;
}

.process-steps {
    width: 100%;
    max-width: 700px;
    margin-top: 4rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--peach);
    text-align: left;
}

.step-number-wrap {
    flex-shrink: 0;
}

.inflated-number-small {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--terracotta);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--cream), var(--peach));
    box-shadow:
        inset -4px -4px 12px rgba(61, 26, 10, 0.15),
        inset 4px 4px 12px rgba(255, 255, 255, 0.5),
        0 8px 24px rgba(122, 53, 32, 0.12);
}

/* ---------- Testimonial Section ---------- */
.section-testimonial {
    justify-content: center;
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    position: relative;
}

.halftone-accent {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--terracotta) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.3;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    line-height: 1.5;
    color: var(--deep-umber);
    margin-bottom: 2rem;
}

.testimonial-attribution {
    margin-top: 1rem;
}

/* ---------- CTA Section ---------- */
.section-cta {
    position: relative;
    overflow: hidden;
}

.inflated-orb-cta-1 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    right: 10%;
    background: radial-gradient(circle at 35% 35%, var(--vintage-amber), var(--warm-orange), var(--terracotta));
    box-shadow:
        inset -8px -8px 20px rgba(61, 26, 10, 0.3),
        inset 8px 8px 20px rgba(245, 230, 211, 0.4),
        0 20px 60px rgba(122, 53, 32, 0.2);
    opacity: 0.4;
}

.inflated-orb-cta-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 25%;
    background: radial-gradient(circle at 35% 35%, var(--cream), var(--peach));
    box-shadow:
        inset -4px -4px 10px rgba(61, 26, 10, 0.15),
        inset 4px 4px 10px rgba(255, 255, 255, 0.5),
        0 12px 36px rgba(122, 53, 32, 0.1);
    opacity: 0.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.2rem 2.5rem;
    background: var(--terracotta);
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        inset -3px -3px 8px rgba(61, 26, 10, 0.3),
        inset 3px 3px 8px rgba(232, 168, 124, 0.3),
        0 8px 24px rgba(122, 53, 32, 0.25);
}

.cta-button:hover {
    background: var(--warm-orange);
    transform: translateY(-2px);
    box-shadow:
        inset -3px -3px 8px rgba(61, 26, 10, 0.3),
        inset 3px 3px 8px rgba(232, 168, 124, 0.3),
        0 12px 36px rgba(122, 53, 32, 0.35);
}

.cta-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 4rem 10vw;
    border-top: 1px solid var(--peach);
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--deep-umber);
}

.footer-logo .dot {
    color: var(--terracotta);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--terracotta);
}

.footer-ornament {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--peach);
}

/* ---------- Slide Reveal Animations ---------- */
.slide-panel {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-from-left {
    transform: translateX(-100px);
}

.slide-from-right {
    transform: translateX(100px);
}

.slide-panel.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .section {
        padding: 6rem 6vw;
    }

    .section-about {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-process {
        align-items: flex-start;
        text-align: left;
    }

    .section-process .rule-line {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 6vw;
        min-height: auto;
    }

    .hero {
        min-height: 100vh;
    }

    .process-step {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .inflated-orb-1 {
        width: 200px;
        height: 200px;
    }

    .inflated-orb-2 {
        width: 120px;
        height: 120px;
    }
}
