:root {
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --accent-color: #000000;
    --wine: #4a1f2a;
    --border-color: #eeeeee;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 2rem;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    font-weight: 400;
}

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

/* Hero */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
}

.hero h1 {
    color: var(--wine);
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.hero .description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    font-weight: 300;
}

.hero-portrait {
    display: block;
    width: min(36vw, 300px);
    height: auto;
    margin: 0 auto 1.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 6rem 0;
}

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

.section-title {
    font-family: var(--font-main);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* About */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Engagements Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.card h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Assignments List */
.assignments-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.assignments-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Experience */
.experience-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Contact Form */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-main);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.2s ease;
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    min-height: 1.5em;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-status.success {
    color: var(--text-color);
    font-weight: 500;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    margin: 0 1rem;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    font-weight: 400;
}

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

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
}


/* Quiet supporting notes for location and the related advisory practice */
.location-note,
.footer-signpost {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    text-align: center;
}

.location-note {
    margin-top: 0.5rem;
}

.footer-signpost {
    margin: 0 0 2rem;
}

.footer-signpost a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
