/* ========================================
   VARIABLES
   ======================================== */
:root {
    --white: #FFFFFF;
    --bg: #FAFAFA;
    --cream: #F5F1EB;
    --cream-dark: #EDE7DD;

    --gold: #B3A067;
    --gold-light: #C4A85C;
    --gold-faint: rgba(179, 160, 103, 0.08);
    --gold-border: rgba(179, 160, 103, 0.25);

    --text: #1A1A1A;
    --text-body: #555555;
    --text-muted: #999999;

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

    --radius: 4px;
    --transition: 0.25s ease;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(179, 160, 103, 0.2);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 140px 0;
}

.section--cream {
    background: var(--cream);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

/* ========================================
   NAV
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

.nav--scrolled {
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-dark);
    padding: 16px 0;
}

.nav__container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.nav__logo span {
    color: var(--gold);
}

.nav__menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--text);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(245,241,235,0.5) 0%, var(--bg) 70%);
}

.hero__content {
    max-width: 680px;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease both;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.9;
    max-width: 520px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero__scroll span {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero__line {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 28px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__cta:hover {
    border-color: var(--gold-border);
    background: var(--gold-faint);
    color: var(--gold);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: start;
}

.about__photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--cream-dark);
    border-radius: var(--radius);
}

.about__photo-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
}

.about__text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--cream-dark);
    border-top: 3px solid var(--gold-border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--gold-border);
    background: var(--gold-faint);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.service-card__icon {
    color: var(--gold);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1);
    color: var(--gold-light);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   CONTENT FEED
   ======================================== */
.content-feed__empty {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 60px 0;
    text-align: center;
    border: 1px dashed var(--cream-dark);
    border-radius: var(--radius);
}

/* Future content items */
.content-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid var(--cream-dark);
    transition: var(--transition);
}

.content-item:first-child {
    border-top: 1px solid var(--cream-dark);
}

.content-item:hover {
    padding-left: 12px;
}

.content-item:hover .content-item__title {
    color: var(--gold);
}

.content-item__type {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-right: 16px;
}

.content-item__title {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
    flex-grow: 1;
}

.content-item__date {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 24px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact__socials {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 10px 20px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--gold-border);
    color: var(--text);
    background: var(--gold-faint);
}

.form__group {
    margin-bottom: 16px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form__input::placeholder {
    color: var(--text-muted);
}

.form__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(179, 160, 103, 0.1);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--text);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Form success */
.form-success {
    text-align: center;
    padding: 40px 0;
}

.form-success__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 8px;
}

.form-success__text {
    color: var(--text-muted);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-children.active > *:nth-child(3) { transition-delay: 0.3s; }

.form__honeypot {
    display: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--cream-dark);
}

.footer__content {
    text-align: center;
}

.footer__brand {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text);
    display: block;
    margin-bottom: 12px;
}

.footer__disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 8px;
    line-height: 1.6;
}

.footer__copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg);
        border-left: 1px solid var(--cream-dark);
        padding: 100px 32px 32px;
        gap: 8px;
        transition: 0.4s ease;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__link {
        font-size: 1rem;
        padding: 12px 0;
    }

    .nav__link::after {
        display: none;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .nav__toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(3px, -3px);
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .about__photo-img {
        object-position: center top;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.4rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__cta {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .contact__socials {
        flex-direction: column;
    }
}
