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

:root {
    --emerald-900: #042f2e;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe6da;
    --cream-300: #e0d9ca;
    --ink-900: #0a0a0a;
    --ink-700: #1a1a1a;
    --ink-500: #4a4a4a;
    --ink-400: #6b6b6b;
    --ink-300: #8a8a8a;
    --ink-200: #b0b0b0;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink-700);
    background-color: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: transform 0.4s var(--ease-out-expo);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    letter-spacing: 0.02em;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--emerald-800);
    letter-spacing: 0.12em;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink-500);
    font-style: italic;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.desktop-nav a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-500);
    position: relative;
    transition: color 0.3s ease;
}

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

.desktop-nav a:hover {
    color: var(--emerald-700);
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.75rem;
    border-radius: 0;
    transition: all 0.4s var(--ease-out-expo);
    white-space: nowrap;
}

.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
}

.btn--primary {
    background: var(--emerald-700);
    color: var(--cream-50);
    border: 1px solid var(--emerald-700);
}

.btn--primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--emerald-700);
    border: 1px solid var(--emerald-700);
}

.btn--outline:hover {
    background: var(--emerald-700);
    color: var(--cream-50);
}

.btn--ghost {
    background: transparent;
    color: var(--ink-500);
    border: 1px solid var(--cream-300);
}

.btn--ghost:hover {
    border-color: var(--ink-300);
    color: var(--ink-700);
}

.btn--dark {
    background: var(--ink-900);
    color: var(--cream-50);
    border: 1px solid var(--ink-900);
}

.btn--dark:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--ink-700);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink-700);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--emerald-700);
}

.mobile-phone {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink-900);
    margin-bottom: 2rem;
}

.hero-title .line {
    display: block;
}

.hero-title .line:nth-child(2) {
    font-style: italic;
    color: var(--emerald-700);
    padding-left: 1.5rem;
}

.hero-title .line:nth-child(3) {
    font-size: 0.65em;
    color: var(--ink-400);
    letter-spacing: 0.05em;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-500);
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    overflow: hidden;
    position: relative;
}

.hero-img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out-expo);
}

.hero-img-wrapper:hover img {
    transform: scale(1.03);
}

.hero-accent-line {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald-300), transparent);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-300);
}

/* ── Philosophy ── */
.philosophy {
    padding: 8rem 0 6rem;
    background: var(--cream-100);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 5rem;
}

.philosophy-label {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--emerald-500);
}

.philosophy-label p {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-400);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink-900);
}

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

.section-title--light {
    color: var(--cream-50);
}

.section-title--dark {
    color: var(--ink-900);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.phil-card {
    padding: 2.5rem;
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    transition: all 0.4s var(--ease-out-expo);
}

.phil-card:hover {
    border-color: var(--emerald-300);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(4, 47, 46, 0.06);
}

.phil-card-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--emerald-200);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.phil-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink-900);
    margin-bottom: 0.75rem;
}

.phil-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ink-500);
    font-weight: 300;
}

/* ── Offerings ── */
.offerings {
    padding: 8rem 0;
    background: var(--emerald-900);
}

.offerings-header {
    margin-bottom: 4rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.offering-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.offering-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.offering-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
    filter: brightness(0.9);
}

.offering-card:hover .offering-img img {
    transform: scale(1.06);
    filter: brightness(1);
}

.offering-info {
    padding: 1.5rem 0;
}

.offering-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cream-50);
    margin-bottom: 0.5rem;
}

.offering-info p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--cream-200);
    font-weight: 300;
    opacity: 0.8;
}

.offering-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-400);
    transition: width 0.6s var(--ease-out-expo);
}

.offering-card:hover::after {
    width: 100%;
}

/* ── Gallery ── */
.gallery {
    padding: 8rem 0;
    background: var(--cream-50);
}

.gallery-header {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out-expo);
    filter: saturate(0.85);
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: saturate(1);
}

.gallery-item--tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery-item--wide {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

/* ── Visit ── */
.visit {
    padding: 8rem 0;
    background: var(--cream-100);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit-info {
    padding-right: 2rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.visit-detail svg {
    flex-shrink: 0;
    color: var(--emerald-600);
    margin-top: 0.15em;
}

.visit-detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-300);
    margin-bottom: 0.35rem;
}

.visit-detail p,
.visit-detail a {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-700);
    font-weight: 300;
}

.visit-detail a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
    text-decoration-color: var(--emerald-300);
    text-underline-offset: 4px;
}

.visit-map {
    aspect-ratio: 4/3;
    background: var(--cream-200);
    overflow: hidden;
    border: 1px solid var(--cream-300);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.4) contrast(1.1);
    transition: filter 0.5s ease;
}

.visit-map:hover iframe {
    filter: saturate(0.7) contrast(1);
}

/* ── Footer ── */
.site-footer {
    background: var(--ink-900);
    color: var(--cream-200);
    padding: 4rem 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand .logo-mark {
    color: var(--cream-50);
}

.footer-brand .logo-sub {
    color: var(--ink-300);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ink-400);
    font-weight: 300;
    max-width: 260px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-links a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-400);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    text-align: right;
}

.footer-contact a {
    font-size: 0.9rem;
    color: var(--cream-300);
    font-weight: 300;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--ink-500);
    font-weight: 300;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .philosophy-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-cards .phil-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offerings-grid .offering-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }

    .gallery-item--tall {
        grid-column: 1 / 6;
        grid-row: 1 / 2;
    }

    .gallery-item--wide {
        grid-column: 6 / 13;
        grid-row: 2 / 3;
    }
}

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

    .desktop-nav,
    .header-inner .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-bottom: 4rem;
    }

    .hero-image {
        order: -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .hero-accent-line {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .philosophy {
        padding: 5rem 0 4rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .philosophy-label p {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .philosophy-cards .phil-card:last-child {
        max-width: 100%;
    }

    .offerings {
        padding: 5rem 0;
    }

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

    .offerings-grid .offering-card:last-child {
        max-width: 100%;
    }

    .gallery {
        padding: 5rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item--tall {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
    }

    .visit {
        padding: 5rem 0;
    }

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visit-info {
        padding-right: 0;
    }

    .visit-map {
        aspect-ratio: 16/9;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-title .line:nth-child(2) {
        padding-left: 0.5rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--tall,
    .gallery-item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-img-wrapper img,
    .offering-img img,
    .gallery-item img {
        transition: none;
    }
}
