/* ============================================================
   DÔR & CO — MAIN STYLESHEET
   styles.css — linked from index.html
   ============================================================ */

:root {
    --faithful-night: #324158;
    --founders-ember: #B69057;
    --covenant-wine: #764351;
    --heritage-harbor: #52808F;
    --renewal-tide: #58B4AC;
    --saithful-soil: #635B4B;
    --sanctuary-linen: #EFEDE7;
    --ancestral-hearth: #C6C5BD;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--sanctuary-linen);
    color: var(--faithful-night);
    overflow-x: hidden;
}

/* ===========================
   ANNOUNCEMENT BAR
=========================== */
.announce-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    background: var(--heritage-harbor);
    padding: 0.55rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
}

.announce-bar p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.92);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.announce-bar a {
    font-size: 0.72rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 1px;
    white-space: nowrap;
    transition: border-color 0.2s ease;
}

.announce-bar a:hover { border-color: var(--white); }

/* ===========================
   NAVIGATION
=========================== */
nav {
    position: fixed;
    top: 36px; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 5%;
    background: rgba(239, 237, 231, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(50, 65, 88, 0.08);
}

.nav-logo img {
    height: 48px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav-logo-fallback {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--founders-ember);
    display: none;
}

.btn-nav {
    background: var(--faithful-night);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-nav:hover { background: var(--founders-ember); }

/* ===========================
   HERO
=========================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--sanctuary-linen);
    padding: 11rem 5% 6rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--faithful-night);
    margin-bottom: 1.5rem;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--founders-ember);
}

.hero-content .hero-sub {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--saithful-soil);
    margin-bottom: 2.5rem;
    max-width: 460px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
}

.btn-primary {
    background: var(--faithful-night);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.btn-primary:hover { background: #243348; }

.btn-outline {
    background: transparent;
    color: var(--faithful-night);
    border: 1.5px solid var(--faithful-night);
    padding: 0.875rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--faithful-night);
    color: var(--white);
}

.btn-assessment {
    background: var(--founders-ember);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-assessment:hover { background: #9a7840; }

.social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.proof-dots {
    display: flex;
    gap: 3px;
}

.proof-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--founders-ember);
    opacity: 0.85;
}

.social-proof span {
    font-size: 0.78rem;
    color: var(--saithful-soil);
    font-weight: 400;
}

/* Hero Photo */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-photo {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(50, 65, 88, 0.18);
}

.hero-photo-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    background: rgba(50, 65, 88, 0.06);
    border: 2px dashed rgba(50, 65, 88, 0.18);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--ancestral-hearth);
}

.hero-photo-placeholder svg {
    width: 36px;
    height: 36px;
    stroke: var(--ancestral-hearth);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-photo-placeholder p {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--ancestral-hearth);
    font-weight: 400;
}

/* ===========================
   SHARED SECTION STYLES
=========================== */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 400;
    color: var(--faithful-night);
    line-height: 1.2;
}

.section-heading h2 em {
    font-style: italic;
    color: var(--founders-ember);
}

.section-heading p {
    margin-top: 0.875rem;
    font-size: 0.9rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.7;
}

/* ===========================
   SOUND FAMILIAR
=========================== */
#familiar {
    background: var(--white);
    padding: 7rem 5%;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pain-card {
    border: 1px solid rgba(50, 65, 88, 0.1);
    padding: 2rem 1.75rem;
    background: var(--sanctuary-linen);
}

.pain-card p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--saithful-soil);
    font-style: normal;
}

/* ===========================
   THE EXPERIENCE (How It Works)
=========================== */
#experience {
    background: var(--faithful-night);
    padding: 7rem 5%;
}

#experience .section-heading h2 { color: var(--white); }
#experience .section-heading h2 em { color: var(--renewal-tide); }
#experience .section-heading p { color: rgba(255,255,255,0.55); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card { text-align: center; padding: 1rem; }

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(88, 180, 172, 0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--renewal-tide);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    font-weight: 300;
}

/* ===========================
   LEGACY DOCUMENT PREVIEW
=========================== */
#legacy {
    background: var(--sanctuary-linen);
    padding: 7rem 5%;
}

.legacy-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.legacy-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 400;
    color: var(--faithful-night);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.legacy-content h2 em {
    font-style: italic;
    color: var(--founders-ember);
}

.legacy-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--saithful-soil);
    font-weight: 300;
    margin-bottom: 1rem;
}

.legacy-document-card {
    background: var(--faithful-night);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 24px 70px rgba(50, 65, 88, 0.2);
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.doc-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--renewal-tide);
}

.doc-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 0.2rem;
}

.doc-family-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255,255,255,0.4);
}

.doc-items {
    list-style: none;
    margin-bottom: 1.5rem;
}

.doc-items li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.625rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    line-height: 1.4;
}

.doc-items li:last-child { border-bottom: none; }

.doc-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--founders-ember);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.doc-footer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.doc-emblem {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--founders-ember);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-emblem-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--founders-ember);
}

.doc-footer-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(255,255,255,0.35);
}

/* ===========================
   BUILT FOR
=========================== */
#built-for {
    background: var(--white);
    padding: 7rem 5%;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.audience-card { text-align: center; }

.audience-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--founders-ember);
    margin: 0 auto 1.25rem;
}

.audience-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--faithful-night);
    margin-bottom: 0.75rem;
}

.audience-card p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--saithful-soil);
    font-weight: 300;
}

/* ===========================
   FOUNDER QUOTE
=========================== */
#quote {
    background: var(--faithful-night);
    padding: 5.5rem 5%;
}

.quote-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.quote-text .q-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    color: var(--founders-ember);
    line-height: 0;
    vertical-align: -0.25em;
}

.quote-attribution {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: var(--renewal-tide);
    text-transform: uppercase;
    font-weight: 600;
}

/* ===========================
   ASSESSMENT BANNER
=========================== */
#assessment-banner {
    background: var(--sanctuary-linen);
    padding: 5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(50, 65, 88, 0.08);
}

.assessment-inner {
    max-width: 580px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--founders-ember);
    font-weight: 700;
    margin-bottom: 1rem;
}

.assessment-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--faithful-night);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.assessment-inner h2 em {
    font-style: italic;
    color: var(--founders-ember);
}

.assessment-inner p {
    font-size: 0.9rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ===========================
   WAITLIST CTA
=========================== */
#waitlist-cta {
    background: var(--white);
    padding: 7rem 5%;
    text-align: center;
}

#waitlist-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--faithful-night);
    margin-bottom: 1rem;
}

#waitlist-cta h2 em {
    font-style: italic;
    color: var(--founders-ember);
}

#waitlist-cta .cta-sub {
    font-size: 0.9rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.waitlist-note {
    font-size: 0.75rem;
    color: var(--ancestral-hearth);
    margin-top: 1.25rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: var(--faithful-night);
    padding: 2rem 5%;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 36px;
    width: auto;
    /* Logo is gold on black — multiply removes the black on light backgrounds.
       On the dark footer the black blends naturally, so no filter needed. */
    opacity: 0.85;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--founders-ember);
}

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

.footer-links a {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 1.25rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
}

/* ===========================
   MODAL POPUP
=========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(50, 65, 88, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    max-width: 460px;
    width: 100%;
    padding: 3rem 2.5rem;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ancestral-hearth);
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover { color: var(--faithful-night); }

.modal-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--founders-ember);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.modal h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--faithful-night);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.modal-sub {
    font-size: 0.85rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--saithful-soil);
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(50, 65, 88, 0.18);
    background: var(--sanctuary-linen);
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: var(--faithful-night);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus { border-color: var(--heritage-harbor); }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    accent-color: var(--faithful-night);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.78rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.modal-submit {
    background: var(--faithful-night);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
    width: 100%;
}

.modal-submit:hover { background: var(--founders-ember); }

/* Success State */
.modal-success {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}

.success-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid var(--renewal-tide);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-circle svg {
    width: 28px;
    height: 28px;
    stroke: var(--renewal-tide);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--faithful-night);
    margin-bottom: 0.75rem;
}

.modal-success p {
    font-size: 0.88rem;
    color: var(--saithful-soil);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-close-success {
    background: none;
    border: 1.5px solid var(--faithful-night);
    color: var(--faithful-night);
    padding: 0.75rem 2.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-close-success:hover {
    background: var(--faithful-night);
    color: var(--white);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual { order: -1; }
    .pain-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .legacy-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .audience-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
    nav { padding: 0.875rem 5%; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-outline, .btn-assessment {
        width: 100%;
        text-align: center;
    }
    .features-grid { grid-template-columns: 1fr; }
    .modal { padding: 2rem 1.5rem; }
}
