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

:root {
    --emerald-950: #042f23;
    --emerald-900: #0f4c3a;
    --emerald-800: #145c46;
    --emerald-700: #1a6b52;
    --emerald-600: #217a5e;
    --emerald-500: #2d8f6e;
    --cream-50: #fef9f0;
    --cream-100: #fdf5e6;
    --cream-200: #f9edcf;
    --cream-300: #f2e0b8;
    --ink-900: #0a1f16;
    --ink-800: #132f23;
    --ink-700: #1e3d2f;
    --ink-600: #2a4a3c;
    --ink-500: #3d5c4d;
    --ink-400: #5a7264;
    --ink-300: #8a9e90;
    --ink-200: #b8c5bc;
    --ink-100: #dce6df;
    --ink-50: #eef3ef;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* Section label */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

/* Section headline */
.section-headline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 14px 28px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-900);
    color: var(--cream-50);
}

.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 76, 58, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-700);
    border: 1px solid var(--ink-200);
}

.btn-ghost:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

.btn-white {
    background: var(--white);
    color: var(--emerald-900);
}

.btn-white:hover {
    background: var(--cream-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 249, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 76, 58, 0.08);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink-900);
}

.nav-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--emerald-900);
    color: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-brand-text {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--ink-800);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a:not(.nav-cta) {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink-600);
    transition: color 0.25s ease;
    position: relative;
}

.nav-menu a:not(.nav-cta):hover {
    color: var(--emerald-700);
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-600);
    transition: width 0.3s var(--ease-out);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--emerald-700);
    border: 1px solid var(--emerald-200);
    border-radius: 100px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--emerald-900);
    color: var(--cream-50);
    border-color: var(--emerald-900);
}

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

.nav-toggle-line {
    width: 20px;
    height: 1.5px;
    background: var(--ink-800);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 104px 24px 64px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
    flex: 1;
}

.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 28px;
    padding-left: 2px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--ink-900);
    letter-spacing: -0.015em;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

.accent-underline {
    position: relative;
    display: inline;
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--emerald-400);
    opacity: 0.5;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-500);
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-right {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 780;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--emerald-200);
    border-radius: 12px;
    z-index: -1;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--ink-100);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.hero-stat {
    background: var(--cream-100);
    padding: 20px 24px;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--emerald-800);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--ink-500);
    line-height: 1.5;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-300);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--ink-200);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--emerald-600);
    animation: scrollLine 2s var(--ease-smooth) infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Decorative line */
.hero::before {
    content: '';
    position: absolute;
    top: 104px;
    left: 24px;
    width: 1px;
    height: calc(100vh - 168px);
    background: linear-gradient(to bottom, var(--emerald-200), transparent);
    opacity: 0.5;
}

/* ========== INTRO ========== */
.intro {
    padding: 120px 0;
    background: var(--cream-50);
}

.intro-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 64px;
    align-items: start;
}

.intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 20px;
}

.intro-divider {
    width: 48px;
    height: 1px;
    background: var(--emerald-300);
    margin: 32px 0;
}

.intro-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intro-value {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    align-items: start;
}

.intro-value-num {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--emerald-400);
    padding-top: 4px;
}

.intro-value strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-800);
    margin-bottom: 4px;
}

.intro-value span:last-child {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.6;
}

/* ========== SERVICES ========== */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink-100);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.service-card:hover {
    background: var(--cream-50);
}

.service-card:hover .service-icon {
    background: var(--emerald-900);
    color: var(--cream-50);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cream-100);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-out);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink-800);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-500);
}

/* ========== APPROACH ========== */
.approach {
    padding: 120px 0;
    background: var(--cream-50);
}

.approach-layout {
    display: grid;
    grid-template-columns: 700px 1fr;
    gap: 80px;
    align-items: center;
}

.approach-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 7 / 9;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.approach-content {
    max-width: 480px;
}

.approach-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 16px;
    margin-top: 24px;
}

.approach-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--ink-600);
    line-height: 1.5;
}

.approach-item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-500);
    flex-shrink: 0;
}

/* ========== VISIT ========== */
.visit {
    padding: 120px 0;
    background: var(--white);
}

.visit-split {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

.visit-steps {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
}

.visit-step-num {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--emerald-400);
    padding-top: 4px;
}

.visit-step strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-800);
    margin-bottom: 4px;
}

.visit-step p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.6;
}

.visit-card {
    background: var(--cream-50);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--ink-100);
}

.visit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ink-800);
    margin-bottom: 28px;
}

.visit-card-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.visit-card-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-400);
}

.visit-card-value {
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.6;
}

.visit-card-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

.visit-card-link:hover {
    color: var(--emerald-900);
}

.visit-card-divider {
    height: 1px;
    background: var(--ink-100);
    margin: 0 0 20px;
}

.visit-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 8px;
    transition: color 0.2s ease;
}

.visit-map-link:hover {
    color: var(--emerald-700);
}

/* ========== CTA ========== */
.cta {
    padding: 120px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(254, 249, 240, 0.06);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(254, 249, 240, 0.04);
}

.cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content .section-label {
    color: var(--emerald-400);
}

.cta-content .section-headline {
    color: var(--cream-50);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(254, 249, 240, 0.65);
    margin-bottom: 36px;
    max-width: 400px;
}

.cta-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

/* ========== CONTACT ========== */
.contact {
    padding: 120px 0;
    background: var(--cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-500);
    margin-top: 20px;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: var(--ink-600);
    line-height: 1.6;
}

.contact-detail svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail a {
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: var(--emerald-900);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-800);
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: 8px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(45, 143, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-300);
}

.form-success {
    display: none;
    font-size: 14px;
    color: var(--emerald-700);
    background: rgba(15, 76, 58, 0.06);
    border: 1px solid rgba(15, 76, 58, 0.15);
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
}

.form-success.visible {
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--ink-900);
    color: var(--cream-50);
    padding: 64px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(254, 249, 240, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .nav-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--emerald-700);
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--cream-50);
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 13px;
    color: rgba(254, 249, 240, 0.5);
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    font-size: 13px;
    color: rgba(254, 249, 240, 0.5);
    line-height: 1.6;
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--cream-50);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 12px;
    color: rgba(254, 249, 240, 0.3);
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== MOBILE NAV ========== */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(254, 249, 240, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--ink-100);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
    }

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

    .nav-menu a:not(.nav-cta) {
        font-size: 15px;
    }
}

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

    .hero::before {
        display: none;
    }

    .hero-right {
        max-width: 480px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .approach-image {
        aspect-ratio: 4 / 3;
        max-height: 400px;
    }

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

    .visit-right {
        order: -1;
    }

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

    .cta-image {
        max-height: 360px;
        aspect-ratio: auto;
    }

    .cta-image img {
        object-fit: cover;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 96px 20px 48px;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

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

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

    .visit-card {
        padding: 28px;
    }

    .intro,
    .services,
    .approach,
    .visit,
    .cta,
    .contact {
        padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-line::after {
        animation: none;
        left: 0;
    }
}
