:root {
    --bg: #fbfaf6;
    --bg-alt: #f2efe7;
    --bg-dark: #0e1f3a;
    --ink: #1a1f2b;
    --ink-soft: #4a5260;
    --ink-muted: #7c8290;
    --line: #d8d2c4;
    --line-soft: #e8e3d6;
    --accent: #8a6d3a;
    --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container: 1120px;
    --transition: 200ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.5rem, 3.2vw + 1.4rem, 4.25rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 1.8vw + 1.2rem, 2.875rem);
    font-weight: 600;
}

h3 {
    font-size: 1.625rem;
    font-weight: 600;
}

p {
    color: var(--ink-soft);
}

/* ---------- Buttons & Links ---------- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--bg-dark);
    color: #fff;
}

.btn-primary:hover {
    background: #16294a;
}

.link-arrow {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    transition: border-color var(--transition), color var(--transition);
}

.link-arrow:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--serif);
    color: var(--ink);
    transition: color var(--transition);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.logo-suffix {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--ink-muted);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    background: var(--bg);
    padding-top: 120px;
    border-bottom: 1px solid var(--line-soft);
}

.hero-container {
    max-width: 880px;
    text-align: center;
    padding-bottom: 100px;
}

.hero-overline {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero h1 {
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--ink-soft);
    max-width: 680px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-credentials {
    background: var(--bg-alt);
    border-top: 1px solid var(--line-soft);
    padding: 22px 0;
}

.hero-credentials-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    text-align: center;
}

.hero-credentials .divider {
    width: 1px;
    height: 14px;
    background: var(--line);
}

/* ---------- Sections ---------- */
section {
    padding: 120px 0;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 72px;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ---------- Services ---------- */
.services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}

.service-card {
    background: var(--bg);
    padding: 56px 48px;
    transition: background var(--transition);
}

.service-card:hover {
    background: #fdfcf8;
}

.service-number {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.service-card h3 {
    margin-bottom: 18px;
}

.service-summary {
    color: var(--ink-soft);
    font-size: 1rem;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-soft);
}

.service-list {
    display: grid;
    gap: 12px;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
    font-size: 0.9625rem;
    line-height: 1.6;
}

.service-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 500;
}

/* ---------- About ---------- */
.about {
    background: var(--bg-alt);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.about-container {
    max-width: 820px;
}

.about-header {
    margin-bottom: 48px;
}

.about-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.about-lede {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 28px;
}

.about-content p {
    color: var(--ink-soft);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* ---------- Contact ---------- */
.contact {
    background: var(--bg);
}

.contact-header {
    margin-bottom: 64px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto 64px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.contact-item {
    padding: 40px 32px;
    text-align: center;
    border-right: 1px solid var(--line-soft);
}

.contact-item:last-child {
    border-right: none;
}

.contact-label {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.contact-value {
    font-family: var(--serif);
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.5;
    transition: color var(--transition);
}

a.contact-value:hover {
    color: var(--accent);
}

.contact-cta {
    text-align: center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: #c4cad3;
    padding: 56px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.footer-tag {
    font-size: 0.875rem;
    color: #c4cad3;
    letter-spacing: 0.02em;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #8c95a3;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-item {
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
    }

    .contact-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-container {
        padding-bottom: 64px;
    }

    .nav-container {
        height: 68px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line-soft);
        padding: 12px 24px 24px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 0.85rem;
    }

    .hero-credentials-inner {
        flex-direction: column;
        gap: 10px;
    }

    .hero-credentials .divider {
        display: none;
    }

    .service-card {
        padding: 44px 32px;
    }

    .section-header {
        margin-bottom: 56px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-lede {
        font-size: 1.25rem;
    }
}
