:root {
    /* Palette — sage green, beige, earthy plant tones */
    --sage: #9CAF88;
    --sage-dark: #6B7F5E;
    --sage-light: #C9D5BD;
    --beige: #F5F0E6;
    --cream: #FAF7F0;
    --terracotta: #C87E5A;
    --clay: #A9927D;
    --soil: #4A3F35;
    --leaf: #7A8B69;

    /* Roles */
    --bg-color: var(--beige);
    --bg-alt: var(--cream);
    --text-primary: var(--soil);
    --text-secondary: #6E6154;
    --accent-color: var(--sage-dark);
    --accent-hover: var(--leaf);
    --white: #ffffff;
    --max-width: 1200px;
    --section-padding: clamp(70px, 10vw, 120px) 20px;
    --border-radius: 18px;
    --radius-lg: 28px;
    --transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    --shadow-soft: 0 4px 24px rgba(74, 63, 53, 0.06);
    --shadow-lift: 0 22px 48px rgba(74, 63, 53, 0.14);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.15;
    color: var(--sage-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

.section-eyebrow,
.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 16px;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* ---------- Navigation ---------- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 14px 26px;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1120px);
    z-index: 1000;
    border-radius: 50px;
    background-color: rgba(250, 247, 240, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(156, 175, 136, 0.28);
    box-shadow: 0 6px 26px rgba(74, 63, 53, 0.08);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.logo {
    color: var(--sage-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 34px;
    margin-left: auto;
    margin-right: 8px;
}

.nav-links a {
    position: relative;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--soil);
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 63, 53, 0.18);
}

.cta-primary {
    background-color: var(--terracotta);
    border: none;
    cursor: pointer;
}
.cta-primary:hover { background-color: var(--sage-dark); }

.cta-ghost {
    background-color: transparent;
    color: var(--sage-dark);
    border: 1.5px solid var(--sage);
}
.cta-ghost:hover {
    background-color: var(--sage-dark);
    color: var(--white);
    border-color: var(--sage-dark);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--sage-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 80px;
    overflow: hidden;
    background:
        radial-gradient(60% 55% at 78% 18%, rgba(156, 175, 136, 0.30), transparent 60%),
        radial-gradient(55% 50% at 15% 82%, rgba(200, 126, 90, 0.16), transparent 62%),
        radial-gradient(50% 60% at 50% 40%, rgba(201, 213, 189, 0.35), transparent 70%),
        var(--beige);
}

.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: float 16s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; top: -80px; right: -60px; background: var(--sage); opacity: 0.35; }
.blob-2 { width: 360px; height: 360px; bottom: -100px; left: -70px; background: var(--sage-light); animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; top: 40%; left: 55%; background: rgba(200, 126, 90, 0.5); animation-delay: -9s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.06); }
    66% { transform: translate(-24px, 18px) scale(0.96); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.hero h1 {
    font-size: clamp(2.6rem, 8vw, 5.2rem);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--terracotta);
}

.hero p {
    font-size: clamp(1.05rem, 2.4vw, 1.28rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* stagger reveal */
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.18s; }
.hero .reveal:nth-child(3) { transition-delay: 0.32s; }
.hero .reveal:nth-child(4) { transition-delay: 0.46s; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sage-dark);
    opacity: 0.75;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--sage-dark);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--sage-dark);
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(-4px); }
    40% { opacity: 1; }
    80%, 100% { opacity: 0; transform: translateY(10px); }
}
.scroll-text {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* ---------- Services ---------- */
.services {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--cream), var(--beige));
}
.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.services-header {
    text-align: center;
    margin-bottom: 60px;
}
.services-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
}
.services-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 940px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 40px 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(156, 175, 136, 0.22);
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--sage), transparent 45%, var(--terracotta));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 22px;
    color: var(--sage-dark);
    background: linear-gradient(135deg, var(--sage-light), var(--cream));
    box-shadow: inset 0 0 0 1px rgba(156, 175, 136, 0.35);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    color: var(--terracotta);
    transform: rotate(-6deg) scale(1.05);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin-bottom: 14px;
}
.service-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}
.service-card a {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.92rem;
}
.service-card a:hover { color: var(--sage-dark); letter-spacing: 0.02em; }

/* ---------- About ---------- */
.about {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}
.about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 260px;
}
.about-photo-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 380px);
    border-radius: 50% 50% 46% 46% / 42% 42% 54% 54%;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-ring {
    position: absolute;
    z-index: 1;
    width: min(100%, 380px);
    aspect-ratio: 1 / 1.15;
    top: 26px;
    left: 50%;
    transform: translateX(calc(-50% + 26px));
    border-radius: 50% 50% 46% 46% / 42% 42% 54% 54%;
    border: 2px dashed var(--sage);
    opacity: 0.6;
}
.about-leaf {
    position: absolute;
    z-index: 3;
    bottom: -10px;
    left: calc(50% - 190px);
    width: 62px;
    height: 62px;
    color: var(--terracotta);
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}
.about-leaf svg { width: 32px; height: 32px; }

.about-content { flex: 1.2; }
.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 24px;
}
.about-content p {
    margin-bottom: 20px;
    font-size: 1.08rem;
    color: var(--text-secondary);
}
.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 24px;
}
.cred-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--sage-dark);
    background: var(--sage-light);
    border: 1px solid rgba(107, 127, 94, 0.25);
}
.about-link a {
    color: var(--terracotta);
    font-weight: 600;
}
.about-link a:hover { color: var(--sage-dark); }

/* ---------- Contact ---------- */
.contact {
    padding: var(--section-padding);
    text-align: center;
    background:
        radial-gradient(50% 70% at 50% 0%, rgba(250, 247, 240, 0.7), transparent),
        var(--sage-light);
}
.contact-container {
    max-width: 720px;
    margin: 0 auto;
}
.contact h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
}
.contact-intro {
    font-size: 1.15rem;
    color: var(--soil);
    margin-bottom: 44px;
}
#contact-form {
    display: grid;
    gap: 20px;
    text-align: left;
}
.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Floating-label fields */
.field { position: relative; }
.field input,
.field textarea {
    width: 100%;
    padding: 20px 16px 8px;
    border: 1.5px solid rgba(169, 146, 125, 0.5);
    border-radius: 14px;
    background-color: var(--cream);
    color: var(--soil);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sage-dark);
    box-shadow: 0 0 0 4px rgba(156, 175, 136, 0.28);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sage-dark);
    font-weight: 600;
}
#contact-form .cta-primary {
    justify-self: center;
    margin-top: 8px;
}

/* ---------- Footer ---------- */
footer {
    padding: 64px 20px;
    text-align: center;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(169, 146, 125, 0.4);
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--sage-dark);
    margin-bottom: 22px;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}
.social-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.social-links a:hover { color: var(--terracotta); }
.copyright {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        margin: 0;
        border-radius: 22px;
        background-color: rgba(250, 247, 240, 0.97);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(156, 175, 136, 0.28);
        box-shadow: var(--shadow-lift);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .nav-links.open {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    .nav-links a {
        display: block;
        padding: 12px 10px;
        text-align: center;
    }
    .about {
        flex-direction: column;
        text-align: center;
        gap: 56px;
    }
    .about-image { min-width: 0; }
    .about-leaf { left: calc(50% - 150px); }
    .credentials { justify-content: center; }
}

@media (max-width: 560px) {
    nav { padding: 12px 18px; }
    .logo { font-size: 1.1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .name-row { grid-template-columns: 1fr; }
    .about-leaf { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .blob, .scroll-dot { animation: none; }
    * { transition-duration: 0.001s !important; }
}
