:root {
    /* Palette drawn from the original WP theme */
    --bg: #2b2b2f;
    --bg-2: #34343a;
    --bg-accent: #3d3a4d;
    --contrast: #1a1a1e;
    --text: #d8d6d3;
    --text-dim: #a9a6a2;
    --text-bright: #f1efeb;
    --accent: #c9b98a;
    --hero-c1: #c8c4d3;
    --hero-c2: #ac94b2;
    --hero-c3: #71689c;
    --hero-c4: #444178;
    --max: 1280px;
    --content: 960px;
    --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--text-bright); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); transition: color 0.2s, border-color 0.2s; }
a:hover { color: var(--accent); border-color: var(--accent); }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    color: var(--text-bright);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* ====== HEADER / NAV ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    background: rgba(43,43,47,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-header--dark {
    background: #3a3330;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    min-height: 110px;
}

.brand { border: none; display: inline-flex; align-items: center; }
.brand-icon { width: 200px; height: auto; opacity: 0.98; }
.logo { width: 44px; height: auto; opacity: 0.95; }

@media (max-width: 640px) {
    .brand-icon { width: 140px; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.main-nav {
    display: flex;
    gap: 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.main-nav a {
    border: none;
    color: var(--text-dim);
    font-weight: 400;
    padding: 0.4rem 0;
}
.main-nav a:hover { color: var(--text-bright); }
.main-nav .nav-cta {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.45rem 1rem;
    border-radius: 999px;
}
.main-nav .nav-cta:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text-bright); transition: transform 0.2s; }

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(26,26,30,0.98);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* ====== HERO ====== */
.hero {
    position: relative;
    width: 100%;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem;
    background: #9d927a;
    background:
        radial-gradient(ellipse at 50% 40%, #a89c82 0%, #8f8470 85%);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    mix-blend-mode: overlay;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(157,146,122,0.15) 0%, rgba(143,132,112,0.25) 100%);
    pointer-events: none;
}

.hero-type {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.88;
    gap: 0.2rem;
}
.hero-type span { font-family: 'Inter', sans-serif; display: block; }
.hero-type .t1 { font-size: clamp(3rem, 11vw, 8.5rem); color: #e6e0ee; font-weight: 300; }
.hero-type .t2 { font-size: clamp(0.9rem, 2.2vw, 1.7rem); color: #b9a8c7; letter-spacing: 0.08em; margin-top: 0.2rem; margin-bottom: 1.4rem; }
.hero-type .t3 { font-size: clamp(1.4rem, 4.5vw, 3.4rem); color: #8375a8; letter-spacing: 0.02em; }
.hero-type .t4 { font-size: clamp(3rem, 11vw, 8.5rem); color: #504a7e; font-weight: 300; margin-top: 0.1rem; }

.hero-cta {
    position: absolute;
    right: clamp(1.5rem, 4vw, 3rem);
    bottom: clamp(1.5rem, 4vw, 2.5rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 999px;
    color: #f4f1ea;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.hero-cta span { transition: transform 0.2s; }
.hero-cta:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.92);
    color: #1a1a1e;
}
.hero-cta:hover span { transform: translateX(4px); }

@media (max-width: 540px) {
    .hero-cta { right: 1rem; bottom: 1rem; padding: 0.7rem 1.2rem; font-size: 0.72rem; }
}

/* ====== SECTIONS ====== */
section { padding: clamp(3rem, 7vw, 6rem) 2rem; }
.intro, .page-section { max-width: var(--max); margin: 0 auto; }

/* Asterisk style — mimics original WP is-style-asterisk */
.asterisk-heading, .asterisk-subheading { position: relative; text-align: center; }
.asterisk-heading::before, .asterisk-subheading::before {
    content: "✦";
    display: block;
    color: var(--accent);
    font-size: 0.6em;
    margin-bottom: 0.8em;
    opacity: 0.85;
}
.asterisk-subheading { text-align: left; font-size: 1.25rem; color: var(--text-bright); margin-bottom: 0.65rem; font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.02em; }
.asterisk-subheading::before { margin-bottom: 0.5em; font-size: 0.8em; }

.asterisk-heading {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.intro .lede {
    max-width: 680px;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.8;
    color: var(--text);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}
.service p { font-size: 0.92rem; line-height: 1.7; color: var(--text-dim); }

@media (max-width: 820px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}
@media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ====== CTA CARD ====== */
.cta-card-wrap { padding: 0 2rem 5rem; }
.cta-card {
    max-width: var(--max);
    margin: 0 auto;
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: clamp(2.5rem, 5vw, 4rem) 2rem;
    text-align: center;
}
.cta-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.cta-card p { color: var(--text-dim); margin-bottom: 1.75rem; }

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 1px solid var(--text-bright);
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-bright);
    background: transparent;
    transition: all 0.2s;
}
.btn:hover { background: var(--text-bright); color: var(--bg); border-color: var(--text-bright); }
.btn-outline {
    background: transparent;
}
.btn-solid {
    background: var(--text-bright);
    color: var(--bg);
}
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ====== PAGE HEADER ====== */
.page-hero {
    padding: clamp(5rem, 10vw, 8rem) 2rem clamp(3rem, 6vw, 5rem);
    text-align: center;
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--text-dim); line-height: 1.7; }

/* ====== ABOUT PAGE ====== */
.about-hero {
    background: var(--bg-accent);
    padding: clamp(3rem, 7vw, 6rem) 2rem;
}
.about-hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-hero h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
.about-hero p { line-height: 1.75; color: var(--text); }
.about-hero img { border-radius: 999px; aspect-ratio: 0.75; object-fit: cover; width: 100%; max-width: 360px; margin-left: auto; }

.about-bio {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 2rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}
.about-bio img { border-radius: var(--radius); width: 100%; filter: grayscale(0.2) contrast(1.05); }
.about-bio h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.about-bio p { margin-bottom: 1rem; line-height: 1.75; }

@media (max-width: 820px) {
    .about-hero-inner, .about-bio { grid-template-columns: 1fr; }
    .about-hero img { max-width: 280px; margin: 0 auto; }
}

/* ====== FAQ ====== */
.faq-section {
    background: var(--contrast);
    color: var(--text-bright);
    padding: clamp(3rem, 7vw, 6rem) 2rem;
}
.faq-section .inner { max-width: var(--max); margin: 0 auto; }
.faq-section h2 {
    font-size: clamp(3.5rem, 10vw, 9rem);
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--text-bright);
}
.faq {
    border-top: 1px solid rgba(255,255,255,0.15);
}
.faq details {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1.25rem 0;
}
.faq summary {
    cursor: pointer;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-bright);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "→"; transition: transform 0.25s; color: var(--accent); }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details p { margin-top: 1rem; color: var(--text-dim); line-height: 1.75; }

/* ====== PORTFOLIO / EMBEDS ====== */
.portfolio-block {
    padding: clamp(3rem, 6vw, 5rem) 2rem;
}
.portfolio-block .inner {
    max-width: var(--max);
    margin: 0 auto;
}
.portfolio-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.portfolio-block.accent { background: var(--bg-accent); }

.video-embed {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    margin-bottom: 1.5rem;
}
.video-embed iframe, .video-embed video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

/* Image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: var(--max);
    margin: 2rem auto 0;
}
.image-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    filter: brightness(0.95);
    transition: filter 0.25s, transform 0.3s;
}
.image-gallery img:hover { filter: brightness(1.05); transform: scale(1.015); }
@media (max-width: 820px) { .image-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .image-gallery { grid-template-columns: 1fr; } }

/* ====== VIRTUAL TOURS ====== */
.tour-block {
    background: var(--bg-accent);
    padding: clamp(3rem, 6vw, 5rem) 2rem;
}
.tour-block + .tour-block { background: var(--bg-2); }
.tour-block:nth-child(even) { background: var(--bg-2); }
.tour-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.tour-inner.flipped { direction: rtl; }
.tour-inner.flipped > * { direction: ltr; }
.tour-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.tour-inner h2 a { color: inherit; border: none; }
.tour-inner h2 a:hover { color: var(--accent); }
.tour-inner p { margin-bottom: 1.25rem; color: var(--text); }
@media (max-width: 820px) {
    .tour-inner, .tour-inner.flipped { grid-template-columns: 1fr; direction: ltr; }
}

/* ====== CONTACT ====== */
.contact-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form label { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
.contact-form input, .contact-form textarea {
    background: var(--bg-2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-bright);
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-meta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: var(--text-dim);
}
.contact-meta a { color: var(--text-bright); }

/* ====== PROSE (for privacy/legal pages) ====== */
.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 2rem;
    color: var(--text);
}
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; color: var(--text-bright); }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--text-bright); font-family: 'Inter', sans-serif; font-weight: 500; }
.prose p, .prose li { line-height: 1.8; margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(201,185,138,0.4); }

/* ====== FOOTER ====== */
.site-footer {
    margin-top: auto;
    background: var(--contrast);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand { display: flex; align-items: center; gap: 1rem; color: var(--text-dim); font-size: 0.85rem; }
.footer-logo { width: 32px; opacity: 0.85; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-nav a { border: none; color: var(--text-dim); }
.footer-nav a:hover { color: var(--text-bright); }
.copyright { text-align: center; font-size: 0.75rem; color: var(--text-dim); opacity: 0.7; padding-top: 1.5rem; }
