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

:root {
    --bg: #FAFAF8;
    --bg-dark: #F0EDE8;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --accent: #2C2C2C;
    --border: #D4D0C8;
    --serif: 'Playfair Display', 'Georgia', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1200px;
    --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.nav.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--gutter) 6rem;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-portrait {
    display: flex;
    justify-content: flex-end;
}

.hero-portrait img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: grayscale(100%);
    object-fit: cover;
}

.hero-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text);
    transition: background .3s, color .3s;
}

.hero-cta:hover {
    background: var(--text);
    color: var(--bg);
}

/* === SECTIONS === */
.section {
    padding: 6rem var(--gutter);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background: var(--bg-dark);
}

.section-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

.label-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 500;
}

.label-line {
    width: 30px;
    height: 1px;
    background: var(--border);
}

.section-headline {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.section-body { color: var(--text-muted); }

.two-col {
    columns: 2;
    column-gap: 3rem;
}

.two-col p {
    margin-bottom: 1.25rem;
    break-inside: avoid;
}

/* === PULLQUOTE === */
.pullquote {
    margin-top: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* === INTEREST GRID === */
.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.interest-item {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.interest-number {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.interest-item h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.interest-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === TIMELINE === */
.timeline { margin-bottom: 3rem; }

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.timeline-year {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    padding-top: 0.15rem;
}

.timeline-content h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.frankl-note {
    padding: 2rem 2.5rem;
    background: var(--bg-dark);
    border-left: 3px solid var(--border);
}

.frankl-note p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* === SERVICE CARDS === */
.service-card {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.service-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.service-header h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
}

.service-body p,
.service-card > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === CONTACT === */
.contact-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-item {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
}

a.contact-value:hover { text-decoration: underline; }

/* === FORM === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

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

.form-group input,
.form-group textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color .2s;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--text);
}

.form-group textarea { resize: vertical; }

.form-submit {
    align-self: flex-start;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text);
    background: var(--text);
    color: var(--bg);
    cursor: pointer;
    transition: background .3s, color .3s;
}

.form-submit:hover {
    background: transparent;
    color: var(--text);
}

/* === FOOTER === */
.footer {
    padding: 2rem var(--gutter);
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-name { font-weight: 500; color: var(--text); }
.footer-divider { color: var(--border); }
.footer-right { font-size: 0.8rem; color: var(--text-muted); }

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

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

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-label {
        flex-direction: row;
        align-items: center;
    }

    .label-line { flex: 1; }

    .two-col { columns: 1; }
    .interest-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem var(--gutter);
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero { min-height: 85vh; padding-top: 6rem; }
    .hero-split { grid-template-columns: 1fr; gap: 2rem; }
    .hero-portrait { justify-content: center; }
    .hero-portrait img { max-width: 280px; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }

    .section { padding: 4rem var(--gutter); }

    .form-row { grid-template-columns: 1fr; }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .service-header { flex-direction: column; gap: 0.25rem; }

    .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
    .footer-left { flex-direction: column; gap: 0.25rem; }
}
