:root {
    --navy: #1a2e44;
    --navy-dark: #122236;
    --cream: #f7f3ec;
    --cream-soft: #fbf8f3;
    --gold: #b8924a;
    --gold-soft: #d4b478;
    --charcoal: #2b2b2b;
    --muted: #6a6a6a;
    --rule: #e3dccf;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.005em;
    margin: 0 0 0.5em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover {
    border-bottom-color: var(--gold);
}

/* ---------- Layout ---------- */

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 28px;
}

.container--wide {
    max-width: 1100px;
}

section {
    padding: 80px 0;
}

.section-title {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gold);
    margin-bottom: 1.2em;
}

.eyebrow {
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.2em;
}

/* ---------- Nav ---------- */

.site-nav {
    background: var(--cream-soft);
    border-bottom: 1px solid var(--rule);
    padding: 22px 0;
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.wordmark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: var(--navy);
    border: none;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.wordmark:hover { border: none; color: var(--gold); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
    background: var(--cream-soft);
    padding: 110px 0 100px;
    border-bottom: 1px solid var(--rule);
}

.hero .container { text-align: center; }

.hero h1 {
    margin-bottom: 0.3em;
}

.hero .tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.4em;
}

.hero .lede {
    max-width: 640px;
    margin: 0 auto 2em;
    font-size: 1.12rem;
    color: var(--muted);
}

/* ---------- Page header (subpages) ---------- */

.page-header {
    background: var(--cream-soft);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--rule);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.3em;
}

.page-header .subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0;
}

/* ---------- Buttons ---------- */

.button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--navy);
    color: var(--cream);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid var(--navy);
    transition: background 0.18s ease, color 0.18s ease;
}

.button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.button--ghost {
    background: transparent;
    color: var(--navy);
}

.button--ghost:hover {
    background: var(--navy);
    color: var(--cream);
}

/* ---------- Service grid (home) ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px 32px;
    margin-top: 2em;
}

.service-item {
    border-top: 2px solid var(--gold);
    padding-top: 18px;
}

.service-item h3 {
    margin-bottom: 0.4em;
    color: var(--navy);
}

.service-item p {
    color: var(--muted);
    font-size: 0.98rem;
    margin: 0;
}

.service-item a {
    border: none;
    color: inherit;
    display: block;
}

.service-item a:hover h3 { color: var(--gold); }

/* ---------- Service detail (services page) ---------- */

.service-detail {
    padding: 60px 0;
    border-bottom: 1px solid var(--rule);
}

.service-detail:last-child { border-bottom: none; }

.service-detail h2 {
    margin-bottom: 0.4em;
}

.service-detail .who {
    font-style: italic;
    color: var(--muted);
    margin-bottom: 1.2em;
}

.service-detail ul {
    padding-left: 1.2em;
    margin: 1em 0;
}

.service-detail li {
    margin-bottom: 0.5em;
}

/* ---------- About teaser (home) ---------- */

.about-teaser {
    background: var(--cream-soft);
    text-align: center;
}

.about-teaser p {
    max-width: 620px;
    margin: 0 auto 1.5em;
    font-size: 1.08rem;
    color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
    background: var(--navy);
    color: var(--cream);
    text-align: center;
    padding: 80px 0;
}

.cta-band h2 {
    color: var(--cream);
    margin-bottom: 0.4em;
}

.cta-band p {
    color: rgba(247, 243, 236, 0.78);
    max-width: 540px;
    margin: 0 auto 2em;
}

.cta-band .button {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.cta-band .button:hover {
    background: var(--cream);
    color: var(--navy);
    border-color: var(--cream);
}

/* ---------- Contact ---------- */

.contact-block {
    text-align: center;
    padding: 30px 0;
}

.contact-block .label {
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.4em;
}

.contact-block .value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: var(--navy);
}

.contact-block .value a {
    color: var(--navy);
    border-bottom-color: var(--rule);
}

.contact-block .value a:hover { border-bottom-color: var(--gold); color: var(--gold); }

/* ---------- Footer ---------- */

footer {
    background: var(--navy-dark);
    color: rgba(247, 243, 236, 0.75);
    padding: 40px 0;
    font-size: 0.92rem;
    text-align: center;
}

footer a {
    color: var(--gold-soft);
    border: none;
}

footer a:hover { color: white; }

footer .footer-line { margin: 0.3em 0; }

/* ---------- About intro ---------- */

.about-intro {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 1.5em;
}

.about-portrait {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 18px rgba(26, 46, 68, 0.12);
}

.about-intro-text {
    flex: 1;
    min-width: 0;
}

.about-intro-text .section-title {
    margin-top: 0;
}

@media (max-width: 640px) {
    .about-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    .about-portrait {
        flex-basis: auto;
        width: 180px;
        height: 180px;
    }
}

/* ---------- Recommendations ---------- */

.recommendations {
    background: var(--cream-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.rec-carousel {
    position: relative;
    margin-top: 2em;
}

.rec-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    scrollbar-width: thin;
}

.rec-track::-webkit-scrollbar { height: 6px; }
.rec-track::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }

.rec-card {
    flex: 0 0 min(420px, 85%);
    scroll-snap-align: start;
    background: var(--cream);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--gold);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.rec-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.rec-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.5;
    color: var(--charcoal);
    margin: 0 0 1.4em;
    quotes: "\201C" "\201D";
}

/* Carousel cards: truncate text */
.rec-carousel .rec-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-read-more {
    font-size: 0.82rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: -0.6em;
    margin-bottom: 1.2em;
}

/* Modal */
.rec-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 30, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.rec-modal-backdrop.is-open {
    display: flex;
}

.rec-modal {
    background: var(--cream);
    border-top: 4px solid var(--gold);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px 40px 32px;
    position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.rec-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

.rec-modal-close:hover { color: var(--navy); }

.rec-modal .rec-text {
    font-size: 1.15rem;
    margin-bottom: 1.6em;
}

.rec-modal .rec-meta {
    border-top: 1px solid var(--rule);
    padding-top: 14px;
}

.rec-text::before {
    content: open-quote;
    color: var(--gold);
    font-size: 1.4em;
    margin-right: 2px;
}

.rec-text::after {
    content: close-quote;
    color: var(--gold);
    font-size: 1.4em;
    margin-left: 2px;
}

.rec-meta {
    border-top: 1px solid var(--rule);
    padding-top: 14px;
}

.rec-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
}

.rec-role {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

.rec-date {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 6px;
    font-style: italic;
}

.rec-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--cream);
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rec-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.rec-nav--prev { left: -8px; }
.rec-nav--next { right: -8px; }

@media (max-width: 720px) {
    .rec-nav { display: none; }
}

/* Full list (recommendations.html) */

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.rec-card--full {
    flex: none;
    scroll-snap-align: none;
    cursor: pointer;
}

.rec-card--full:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.rec-grid .rec-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    section { padding: 60px 0; }
    .hero { padding: 70px 0 60px; }
    .page-header { padding: 60px 0 40px; }
    .site-nav .container {
        flex-direction: column;
        gap: 12px;
    }
    .nav-links { gap: 22px; flex-wrap: wrap; justify-content: center; }
}
