/* monopole.style — Art Nouveau aesthetic, organic-flow layout, jewel-tone palette */

:root {
    /* Jewel-Tone Palette */
    --c-amethyst: #1A1028;   /* primary background — deep amethyst */
    --c-ruby:     #A0203A;   /* primary jewel accent — ruby red */
    --c-emerald:  #208040;   /* secondary jewel accent — emerald green */
    --c-sapphire: #2040A0;   /* tertiary jewel accent — sapphire blue */
    --c-gold:     #D4A040;   /* Art Nouveau metalwork color */
    --c-cream:    #F0E8D8;   /* cream pearl — body text */
    --c-ivory:    #E0D0B8;   /* warm ivory — panel surfaces */

    /* Type */
    --f-display: 'Fraunces', 'Lora', Georgia, serif;
    --f-body:    'Lora', Georgia, 'Times New Roman', serif;
    --f-decor:   'Cormorant Garamond', 'Lora', Georgia, serif;

    --char-weight: 400;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--c-amethyst);
    color: var(--c-cream);
    font-family: var(--f-body);
    font-weight: 400;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    /* Subtle stained-glass-light wash */
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 18%, rgba(212,160,64,0.10), transparent 50%),
        radial-gradient(ellipse at 80% 82%, rgba(160,32,58,0.10), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(32,64,160,0.06), transparent 60%);
    z-index: 0;
}

/* ==================== HERO ==================== */

.hero-viewport {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 6vh, 96px) clamp(20px, 4vw, 80px);
    background:
        radial-gradient(circle at 50% 60%, rgba(64, 30, 80, 0.6), transparent 70%),
        var(--c-amethyst);
    isolation: isolate;
    overflow: hidden;
}

.art-nouveau-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.art-nouveau-border .border-stroke {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawBorder 3s ease-out forwards;
}

.art-nouveau-border .corner .border-stroke {
    animation-delay: 0.2s;
}

.art-nouveau-border .border-petal {
    fill: var(--c-ruby);
    opacity: 0;
    animation: bloomFade 1.8s ease-out forwards;
    animation-delay: 2.4s;
}

.art-nouveau-border .border-leaf {
    fill: var(--c-emerald);
    opacity: 0;
    animation: bloomFade 1.8s ease-out forwards;
    animation-delay: 2.8s;
}

.art-nouveau-border .border-jewel {
    fill: var(--c-sapphire);
    stroke: var(--c-gold);
    stroke-width: 1;
    opacity: 0;
    animation: bloomFade 1.8s ease-out forwards;
    animation-delay: 3.2s;
}

.art-nouveau-border .side-flourish .border-stroke {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: drawBorder 2.4s ease-out forwards;
    animation-delay: 1.2s;
}

@keyframes drawBorder {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes bloomFade {
    0%   { opacity: 0; transform: scale(0.6); }
    60%  { opacity: 0.95; transform: scale(1.04); }
    100% { opacity: 0.85; transform: scale(1); }
}

/* Floral illustrations */
.floral {
    position: absolute;
    width: clamp(140px, 18vw, 280px);
    height: clamp(140px, 18vw, 280px);
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    animation: floralBloom 2s ease-out forwards;
}

.floral-tl {
    top: 4%;
    left: 3%;
    animation-delay: 1.6s;
}

.floral-br {
    bottom: 6%;
    right: 4%;
    animation-delay: 1.8s;
}

@keyframes floralBloom {
    to {
        opacity: 0.85;
        transform: scale(1) rotate(0deg);
    }
}

.floral .petal-outer {
    fill: var(--c-ruby);
    opacity: 0.85;
    transform-origin: 100px 100px;
    transform: rotate(0deg);
}

.floral .petal-outer + .petal-outer {
    fill: var(--c-sapphire);
    opacity: 0.7;
}

.floral .iris {
    fill: var(--c-sapphire);
    opacity: 0.85;
}

.floral .petal-inner {
    fill: var(--c-gold);
    opacity: 0.95;
}

.floral .petal-center {
    fill: var(--c-amethyst);
    stroke: var(--c-gold);
    stroke-width: 1.5;
}

.floral .leaf {
    fill: var(--c-emerald);
    opacity: 0.85;
}

.floral .vine {
    fill: none;
    stroke: var(--c-emerald);
    stroke-width: 1.5;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1100px;
}

.overline {
    font-family: var(--f-decor);
    font-style: italic;
    font-weight: 300;
    color: var(--c-gold);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: clamp(11px, 1vw, 14px);
    margin: 0 0 1.4rem 0;
    opacity: 0;
    animation: fadeUp 1.4s ease-out forwards;
    animation-delay: 1.4s;
}

.logotype {
    font-family: var(--f-display);
    font-size: clamp(40px, 9vw, 132px);
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--c-cream);
    font-variation-settings: 'wght' 400, 'opsz' 144;
    opacity: 0;
    animation: fadeUp 1.6s ease-out forwards;
    animation-delay: 1.8s;
    text-shadow: 0 0 60px rgba(212, 160, 64, 0.18);
}

.logotype .char {
    display: inline-block;
    font-variation-settings: 'wght' var(--char-weight, 400), 'opsz' 144;
    transition: font-variation-settings 0.6s ease;
}

.logotype .dot {
    color: var(--c-gold);
}

.tagline {
    font-family: var(--f-decor);
    font-style: italic;
    font-weight: 300;
    color: var(--c-ivory);
    font-size: clamp(18px, 2vw, 28px);
    margin: 1.6rem 0 0 0;
    opacity: 0;
    animation: fadeUp 1.6s ease-out forwards;
    animation-delay: 2.4s;
}

.guide-curve {
    display: block;
    width: clamp(220px, 30vw, 420px);
    height: auto;
    margin: 2.4rem auto 0.6rem;
    opacity: 0;
    animation: fadeUp 1.6s ease-out forwards;
    animation-delay: 2.8s;
}

.guide-curve .guide-path {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1.2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawBorder 2.4s ease-out forwards;
    animation-delay: 3s;
}

.guide-curve .guide-bud {
    fill: var(--c-ruby);
    stroke: var(--c-gold);
    stroke-width: 1;
}

.scroll-cue {
    font-family: var(--f-decor);
    font-style: italic;
    color: var(--c-gold);
    letter-spacing: 0.2em;
    font-size: 13px;
    margin: 0;
    opacity: 0;
    animation: fadeUp 1.4s ease-out forwards;
    animation-delay: 3.2s;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== MORPH DIVIDERS ==================== */

.morph-divider {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    z-index: 4;
}

.morph-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.morph-divider .morph-path {
    fill: var(--c-ruby);
    stroke: var(--c-gold);
    stroke-width: 1.5;
    opacity: 0.85;
}

.morph-divider .divider-curve {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1;
    opacity: 0.6;
}

/* ==================== ORGANIC SECTIONS ==================== */

.organic-section {
    position: relative;
    width: 100%;
    padding: clamp(60px, 10vh, 140px) 0;
    z-index: 2;
}

.organic-section .section-inner {
    max-width: 1180px;
    padding: 0 clamp(20px, 4vw, 80px);
}

/* organic path alignment via varying margin-left */
.section-1 .section-inner { margin-left: 5%; }
.section-2 .section-inner { margin-left: 10%; max-width: 1100px; }
.section-3 .section-inner { margin-left: 7%; }
.section-4 .section-inner { margin-left: 12%; max-width: 1240px; }
.section-5 .section-inner { margin-left: auto; margin-right: auto; text-align: center; max-width: 920px; }

.section-label {
    font-family: var(--f-decor);
    font-weight: 300;
    font-style: normal;
    color: var(--c-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.section-label em {
    font-style: italic;
    color: var(--c-ivory);
    text-transform: none;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(32px, 5vw, 72px);
    font-variation-settings: 'wght' 500, 'opsz' 144;
    line-height: 1.1;
    color: var(--c-cream);
    margin: 0 0 2rem 0;
    letter-spacing: -0.01em;
}

.section-intro {
    font-family: var(--f-decor);
    font-style: italic;
    font-weight: 300;
    color: var(--c-ivory);
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.5;
    max-width: 56ch;
    margin: 0 0 3rem 0;
}

/* Section 1 — Philosophy with bloom */
.content-with-bloom {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
}

.bloom-illustration {
    width: 100%;
    height: auto;
    max-width: 320px;
    filter: drop-shadow(0 0 30px rgba(160, 32, 58, 0.2));
    opacity: 0.95;
}

.bloom-illustration .petal-outer {
    fill: var(--c-ruby);
    opacity: 0.92;
}

.bloom-illustration .petal-inner {
    fill: var(--c-gold);
}

.bloom-illustration .petal-center {
    fill: var(--c-amethyst);
    stroke: var(--c-gold);
    stroke-width: 1.5;
}

.bloom-illustration .vine {
    fill: none;
    stroke: var(--c-emerald);
    stroke-width: 1.5;
}

.bloom-illustration .leaf {
    fill: var(--c-emerald);
    opacity: 0.85;
}

.prose .lead {
    font-family: var(--f-display);
    font-size: clamp(20px, 2.4vw, 30px);
    font-variation-settings: 'wght' 380, 'opsz' 96;
    line-height: 1.4;
    color: var(--c-cream);
    margin: 0 0 1.6rem 0;
}

.prose .lead em {
    font-variation-settings: 'wght' 700, 'opsz' 96;
    color: var(--c-gold);
    font-style: italic;
}

.prose p {
    margin: 0 0 1.2rem 0;
    color: var(--c-cream);
}

.prose .ornate {
    font-family: var(--f-display);
    font-variation-settings: 'wght' 600, 'opsz' 144;
    color: var(--c-gold);
}

/* ==================== CURVE DIVIDERS ==================== */

.curve-divider {
    position: relative;
    width: 100%;
    height: 80px;
    display: block;
    z-index: 2;
}

.curve-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.curve-divider .whiplash {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1.4;
    opacity: 0.9;
}

.curve-divider .whiplash-secondary {
    stroke: var(--c-ruby);
    opacity: 0.55;
}

.curve-divider .whiplash-bud {
    fill: var(--c-ruby);
    stroke: var(--c-gold);
    stroke-width: 1;
}

/* ==================== SECTION 2 — PALETTE GARDEN ==================== */

.palette-flora {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.4rem;
}

.palette-petal {
    position: relative;
    text-align: center;
    transition: transform 0.6s ease;
    cursor: default;
}

.palette-petal:nth-child(1) { transform: translateY(0); }
.palette-petal:nth-child(2) { transform: translateY(-18px); }
.palette-petal:nth-child(3) { transform: translateY(12px); }
.palette-petal:nth-child(4) { transform: translateY(-8px); }
.palette-petal:nth-child(5) { transform: translateY(20px); }
.palette-petal:nth-child(6) { transform: translateY(-14px); }
.palette-petal:nth-child(7) { transform: translateY(6px); }

.palette-petal .petal-svg {
    width: clamp(96px, 10vw, 140px);
    height: clamp(96px, 10vw, 140px);
    display: block;
    margin: 0 auto 0.8rem;
    transition: transform 0.8s ease;
}

.palette-petal .petal-shape {
    fill: var(--swatch);
    stroke: var(--c-gold);
    stroke-width: 1.2;
    opacity: 0.95;
    transition: clip-path 1s ease;
}

.palette-petal .petal-dot {
    fill: var(--c-gold);
    opacity: 0.85;
}

.palette-petal:hover {
    transform: translateY(-8px);
}

.palette-petal:hover .petal-svg {
    transform: rotate(8deg) scale(1.04);
}

.palette-petal .petal-name {
    display: block;
    font-family: var(--f-decor);
    font-style: italic;
    color: var(--c-cream);
    font-size: 18px;
    margin-top: 0.4rem;
}

.palette-petal .petal-hex {
    display: block;
    font-family: var(--f-body);
    color: var(--c-gold);
    letter-spacing: 0.16em;
    font-size: 11px;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

/* ==================== SECTION 3 — TYPOGRAPHY ==================== */

.type-specimens {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.specimen {
    position: relative;
    padding: clamp(20px, 3vw, 48px);
    background: linear-gradient(135deg, rgba(224, 208, 184, 0.04), rgba(212, 160, 64, 0.02));
    border-radius: 60px 12px 80px 24px;
    border: 1px solid rgba(212, 160, 64, 0.25);
}

.specimen-tag {
    display: inline-block;
    font-family: var(--f-decor);
    font-style: italic;
    color: var(--c-gold);
    letter-spacing: 0.18em;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.specimen-display {
    font-family: var(--f-display);
    font-size: clamp(40px, 7vw, 96px);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--c-cream);
}

.specimen-display .char-anim {
    display: inline-block;
    font-variation-settings: 'wght' 400, 'opsz' 144;
    transition: font-variation-settings 0.8s ease;
}

.specimen-body {
    font-family: var(--f-body);
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: 1.75;
    color: var(--c-cream);
    margin: 0;
    max-width: 60ch;
}

.specimen-quote {
    font-family: var(--f-decor);
    font-style: italic;
    font-weight: 300;
    color: var(--c-ivory);
    font-size: clamp(20px, 2.6vw, 36px);
    line-height: 1.4;
    margin: 0;
    padding-left: 2rem;
    border-left: 2px solid var(--c-gold);
}

.specimen-meta {
    margin: 1.4rem 0 0 0;
    font-family: var(--f-body);
    color: var(--c-gold);
    letter-spacing: 0.1em;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ==================== SECTION 4 — MOTIFS ==================== */

.motif-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(24px, 4vw, 56px);
}

.motif-card {
    position: relative;
    padding: 2rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(212, 160, 64, 0.08), transparent 70%),
        rgba(26, 16, 40, 0.6);
    border: 1px solid rgba(212, 160, 64, 0.3);
    transition: transform 0.6s ease, border-color 0.6s ease;
}

.motif-card.motif-1 { border-radius: 80px 24px 60px 16px; }
.motif-card.motif-2 { border-radius: 16px 80px 24px 60px; transform: translateY(28px); }
.motif-card.motif-3 { border-radius: 60px 16px 80px 24px; transform: translateY(-12px); }
.motif-card.motif-4 { border-radius: 24px 60px 16px 80px; transform: translateY(20px); }

.motif-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-gold);
}

.motif-illust {
    width: 100%;
    height: auto;
    max-width: 220px;
    margin: 0 auto 1rem;
    display: block;
}

.motif-illust .vine {
    fill: none;
    stroke: var(--c-emerald);
    stroke-width: 1.5;
}

.motif-illust .petal-outer {
    fill: var(--c-ruby);
    opacity: 0.9;
}

.motif-illust .petal-inner {
    fill: var(--c-gold);
}

.motif-illust .petal-center {
    fill: var(--c-amethyst);
    stroke: var(--c-gold);
    stroke-width: 1;
}

.motif-illust .leaf {
    fill: var(--c-emerald);
    opacity: 0.9;
}

.motif-illust .iris {
    fill: var(--c-sapphire);
    opacity: 0.9;
}

.motif-illust .border-stroke {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1.4;
}

.motif-illust .border-jewel {
    fill: var(--c-ruby);
    stroke: var(--c-gold);
    stroke-width: 1;
}

.motif-illust .border-jewel.jewel-small {
    fill: var(--c-sapphire);
}

.motif-title {
    font-family: var(--f-display);
    font-size: clamp(22px, 2.4vw, 32px);
    font-variation-settings: 'wght' 500, 'opsz' 96;
    color: var(--c-cream);
    margin: 0 0 0.6rem 0;
    text-align: center;
}

.motif-card p {
    font-family: var(--f-body);
    color: var(--c-cream);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.motif-card p em {
    font-style: italic;
    color: var(--c-gold);
}

/* ==================== SECTION 5 — CALL ==================== */

.section-call .section-title {
    font-variation-settings: 'wght' 600, 'opsz' 144;
}

.prose-call {
    font-family: var(--f-decor);
    font-style: italic;
    font-weight: 300;
    color: var(--c-ivory);
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto 2.6rem;
}

.bloom-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.4rem 1.1rem 1.6rem;
    background: transparent;
    border: 1.5px solid var(--c-gold);
    border-radius: 80px 24px 80px 24px;
    color: var(--c-cream);
    font-family: var(--f-display);
    font-size: clamp(15px, 1.4vw, 18px);
    font-variation-settings: 'wght' 500, 'opsz' 96;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.6s ease, border-radius 0.8s ease, transform 0.4s ease;
    overflow: hidden;
}

.bloom-button:hover {
    background: rgba(212, 160, 64, 0.12);
    border-radius: 24px 80px 24px 80px;
    transform: translateY(-2px);
}

.bloom-button-flora {
    width: 28px;
    height: 28px;
    transition: transform 0.8s ease;
}

.bloom-button-flora .petal-outer {
    fill: var(--c-ruby);
    opacity: 0.9;
}

.bloom-button-flora .petal-center {
    fill: var(--c-gold);
}

.bloom-button:hover .bloom-button-flora {
    transform: rotate(45deg) scale(1.1);
}

.bloom-button.is-blooming {
    background: rgba(160, 32, 58, 0.2);
    border-color: var(--c-ruby);
}

.signature {
    font-family: var(--f-decor);
    font-style: italic;
    color: var(--c-gold);
    letter-spacing: 0.2em;
    font-size: 13px;
    margin: 3rem 0 0 0;
}

/* ==================== FOOTER ==================== */

.site-footer {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: var(--c-amethyst);
}

.footer-flourish {
    width: min(90%, 700px);
    height: 50px;
    display: block;
    margin: 0 auto 1rem;
}

.footer-flourish .whiplash {
    fill: none;
    stroke: var(--c-gold);
    stroke-width: 1.4;
}

.footer-flourish .whiplash-bud {
    fill: var(--c-ruby);
    stroke: var(--c-gold);
    stroke-width: 1;
}

.footer-flourish .leaf {
    fill: var(--c-emerald);
}

.footer-text {
    font-family: var(--f-decor);
    font-style: italic;
    color: var(--c-ivory);
    margin: 0;
    letter-spacing: 0.1em;
    font-size: 14px;
}

.footer-text em {
    color: var(--c-gold);
    font-style: italic;
}

/* ==================== REVEAL ON SCROLL ==================== */

.reveal-target {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal-target.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 800px) {
    .content-with-bloom {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .bloom-illustration {
        max-width: 220px;
        margin: 0 auto;
    }

    .section-1 .section-inner,
    .section-2 .section-inner,
    .section-3 .section-inner,
    .section-4 .section-inner {
        margin-left: 0;
    }

    .floral { width: 110px; height: 110px; opacity: 0.7; }

    .palette-petal:nth-child(n) { transform: translateY(0); }

    .motif-card.motif-2,
    .motif-card.motif-3,
    .motif-card.motif-4 { transform: translateY(0); }
}

@media (max-width: 500px) {
    .logotype {
        font-size: clamp(36px, 11vw, 56px);
    }

    .specimen {
        border-radius: 32px 8px 40px 12px;
    }
}
