/* =====================
   ROOT & RESET
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-dark:    #0A3323;
    --green-moss:    #839958;
    --beige:         #F7F4D5;
    --rosy:          #D3968C;
    --green-night:   #105666;
    --white:         #ffffff;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --radius-card: 14px;
    --max-w: 1100px;
    --nav-h: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--beige);
    color: var(--green-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}


/* =====================
   NAVIGATION
   ===================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: rgba(247, 244, 213, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(10, 51, 35, 0.08);
    transition: box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(10, 51, 35, 0.08);
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green-dark);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--rosy);
    transition: width 0.25s ease;
}

.nav__links a:hover { color: var(--rosy); }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 5rem) 0 6rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--beige);
}

.hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape--circle-lg {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--rosy);
    opacity: 0.15;
    top: 5%;
    left: -120px;
}

.shape--circle-sm {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--green-moss);
    opacity: 0.2;
    bottom: 15%;
    right: 5%;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Arch photo frame */
.hero__photo-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__photo-wrap::before {
    content: '';
    position: absolute;
    inset: -16px -16px -16px -16px;
    border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
    background: var(--rosy);
    opacity: 0.2;
    z-index: 0;
}

.hero__photo {
    width: 100%;
    max-width: 420px;
    height: 540px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 60px rgba(10, 51, 35, 0.18);
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--rosy);
}

.hero__name {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    color: var(--green-dark);
    letter-spacing: -0.01em;
}

.hero__subtitle {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-night);
}

.hero__bio {
    font-size: 1.05rem;
    color: var(--green-dark);
    opacity: 0.72;
    max-width: 380px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    background: var(--green-dark);
    color: var(--beige);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
    background: var(--green-night);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 51, 35, 0.18);
}

.btn--hero { margin-top: 0.5rem; align-self: flex-start; }


/* =====================
   ABOUT
   ===================== */
.about {
    padding: 7rem 0 6rem;
    background: var(--white);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-moss);
    margin-bottom: 0.6rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 3rem;
    line-height: 1.15;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.fact-card {
    background: var(--beige);
    border-radius: var(--radius-card);
    padding: 1.75rem 1.5rem;
    border-left: 3px solid var(--rosy);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(10, 51, 35, 0.09);
}

.fact-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rosy);
    flex-shrink: 0;
}

.fact-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--green-dark);
    opacity: 0.82;
}

/* Favorites */
.favorites {
    border-top: 1px solid rgba(10, 51, 35, 0.1);
    padding-top: 2.5rem;
}

.favorites__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-moss);
    margin-bottom: 1rem;
}

.favorites__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.favorites__list span {
    background: var(--green-dark);
    color: var(--beige);
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}


/* =====================
   CONTACT
   ===================== */
.contact {
    position: relative;
    padding: 7rem 0;
    background: var(--beige);
    overflow: hidden;
}

.contact__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape--blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--green-moss);
    opacity: 0.08;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    top: -80px;
    right: -100px;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact__blurb {
    font-size: 1rem;
    color: var(--green-dark);
    opacity: 0.68;
    margin-top: 0.5rem;
    line-height: 1.75;
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.1rem;
    border: 1.5px solid rgba(10, 51, 35, 0.18);
    border-radius: 8px;
    background: var(--white);
    color: var(--green-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-moss);
    box-shadow: 0 0 0 3px rgba(131, 153, 88, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

#submit-btn {
    align-self: flex-start;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-success,
.form-error {
    padding: 0.875rem 1.1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success {
    background: var(--green-moss);
    color: var(--white);
}

.form-error {
    background: #f8d7da;
    color: #721c24;
}


/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--green-dark);
    color: var(--beige);
    padding: 3rem 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    color: var(--beige);
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.social-link:hover { opacity: 1; }

.footer__copy {
    font-size: 0.78rem;
    opacity: 0.45;
    letter-spacing: 0.05em;
}


/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__photo {
        max-width: 320px;
        height: 400px;
        margin: 0 auto;
    }

    .hero__photo-wrap::before {
        inset: -12px;
    }

    .hero__bio { max-width: 100%; }

    .btn--hero {
        align-self: center;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}


/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 600px) {
    .nav { padding: 0 1.25rem; }

    .nav__links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--beige);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(10, 51, 35, 0.1);
        box-shadow: 0 8px 24px rgba(10, 51, 35, 0.08);
    }

    .nav__links.open { display: flex; }
    .nav__links a::after { display: none; }

    .nav__burger { display: flex; }

    .container { padding: 0 1.25rem; }

    .hero {
        padding: calc(var(--nav-h) + 3rem) 0 4rem;
        min-height: auto;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .hero__name { font-size: 2.8rem; }

    .about, .contact { padding: 5rem 0; }
}
