/* Mark of Light — Brand Design System
   Colors per Brand Identity Guide v1.0 */

:root {
    --deep-navy: #243B5A;
    --lighthouse-gold: #D4A63A;
    --soft-light-blue: #A8C9E6;
    --warm-ivory: #F8F5EF;
    --soft-white: #FFFFFF;
    --slate-gray: #5E6775;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1140px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--warm-ivory);
    color: var(--deep-navy);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageFadeIn 0.8s ease forwards;
}

@keyframes pageFadeIn {
    to { opacity: 1; }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p { margin: 0 0 1.2em; color: var(--slate-gray); }

a { color: var(--deep-navy); text-decoration: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lighthouse-gold);
    margin-bottom: 0.8em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--lighthouse-gold);
    color: var(--soft-white);
}
.btn-primary:hover { background: #bd9330; transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    border-color: var(--deep-navy);
    color: var(--deep-navy);
}
.btn-secondary:hover { background: var(--deep-navy); color: var(--soft-white); }

.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FEF8F4;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(36, 59, 90, 0.08);
    transition: var(--transition-smooth);
}

.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img { height: 35px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-navy);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--lighthouse-gold);
}

.nav-cta { display: none; }
@media (min-width: 900px) {
    .nav-cta { display: inline-flex; }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--deep-navy);
    cursor: pointer;
}

@media (max-width: 899px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-wrap.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 57px;
        left: 0;
        right: 0;
        background: var(--warm-ivory);
        padding: 20px 24px 28px;
        border-bottom: 1px solid rgba(36,59,90,0.08);
        gap: 16px;
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36,59,90,0.35) 0%, rgba(36,59,90,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
    color: var(--soft-white);
}

.hero-content h1, .hero-content .eyebrow { color: var(--soft-white); }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 1.6em;
}

.hero-actions .btn-secondary { border-color: var(--soft-white); color: var(--soft-white); }
.hero-actions .btn-secondary:hover { background: var(--soft-white); color: var(--deep-navy); }

/* Simple page hero (no photo) for interior pages */
.page-hero {
    padding: 100px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--soft-light-blue) 0%, var(--warm-ivory) 100%);
}
.page-hero .container { max-width: 760px; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--soft-white); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* ---------- Cards / Explore grid ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
}

.card {
    background: var(--soft-white);
    border-radius: 16px;
    padding: 34px 26px;
    box-shadow: 0 8px 24px rgba(36, 59, 90, 0.06);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(36, 59, 90, 0.1); }

.card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    color: var(--lighthouse-gold);
}

.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Coming soon banner ---------- */
.coming-soon {
    display: inline-block;
    background: var(--soft-light-blue);
    color: var(--deep-navy);
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.4em;
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--soft-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(36, 59, 90, 0.07);
    max-width: 560px;
    margin: 0 auto;
}

.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(36, 59, 90, 0.15);
    font-family: var(--font-body);
    font-size: 0.98rem;
    background: var(--warm-ivory);
    color: var(--deep-navy);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--lighthouse-gold);
}

/* ---------- Choice groups (radio / checkbox rows) ---------- */
.choice-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--deep-navy);
    font-weight: 500;
    cursor: pointer;
}
.choice-item input[type="radio"],
.choice-item input[type="checkbox"] {
    accent-color: var(--lighthouse-gold);
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Honeypot field — invisible to real visitors, often auto-filled by bots */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-top: 14px;
    font-size: 0.92rem;
    font-weight: 500;
}
.form-message.success { color: #2f7a4d; }
.form-message.error { color: #b3423e; }

/* Inline newsletter form (embedded in sections) */
.newsletter-inline {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.newsletter-inline input {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(36, 59, 90, 0.15);
    font-family: var(--font-body);
    font-size: 0.98rem;
}
.newsletter-inline input:focus { outline: none; border-color: var(--lighthouse-gold); }

/* ---------- Embers / CTA band ---------- */
.cta-band {
    background: var(--deep-navy);
    color: var(--soft-white);
    text-align: center;
}
.cta-band h2, .cta-band .eyebrow { color: var(--soft-white); }
.cta-band p { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--soft-white);
    border-top: 1px solid rgba(36, 59, 90, 0.08);
    padding: 56px 0 28px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-gray);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    font-size: 0.92rem;
    color: var(--deep-navy);
    margin-bottom: 10px;
}
.footer-col a:hover { color: var(--lighthouse-gold); }

.social-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--warm-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
}
.social-row a:hover { background: var(--lighthouse-gold); color: var(--soft-white); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
    border-top: 1px solid rgba(36,59,90,0.08);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--slate-gray);
}

/* ---------- Two-column content (About, etc.) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
@media (min-width: 860px) {
    .split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--deep-navy);
    border-left: 3px solid var(--lighthouse-gold);
    padding-left: 22px;
    margin: 1.6em 0;
}

.pull-quote-lg {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    line-height: 1.35;
    max-width: 640px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1em 0 1.6em;
}
.tag-list span {
    background: var(--soft-light-blue);
    color: var(--deep-navy);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}
