@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&display=swap');

:root {
    --ink: #343b3f;
    --muted: #6b6f74;
    --paper: #f5f2ee;
    --sage: #cddbd7;
    --dust: #e7dfd5;
    --stone: #d9d4cf;
    --deep: #22282b;
}

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

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--ink);
    
    line-height: 1.6;
    overflow-y: scroll;
}

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

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

main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
    letter-spacing: -0.01em;
    line-height: 1.02;
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 300;
}

h3 {
    font-size: 1.6rem;
}

.site-header {
    height: 96px;
    display: flex;
    align-items: center;
    padding: 0 clamp(24px, 8vw, 120px);
    background: var(--paper);
}

.site-header a {
    display: inline-block;
}

.site-header .site-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.05;
    font-weight: 300;
    color: var(--ink);
}

section {
    padding: 80px clamp(24px, 8vw, 120px);
    position: relative;
    min-height: 100vh;
}

body.about-page section {
    min-height: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    height: 36px;
    padding: 6px 18px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    margin: 18px auto 0;
    transition: all 0.3s ease;
}

.button:hover {
    background: var(--ink);
    color: #fff;
}

.button.dark {
    border-color: var(--deep);
    color: var(--deep);
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100vh;
    padding: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--paper);
    gap: 40px;
    align-items: flex-start;
}

.hero-name {
    position: relative;
    padding-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 70px 0 20%;
}

.hero-name h1 {
    margin-top: 8px;
    font-weight: 300;
}

.hero-card {
    background: var(--sage);
    padding: 28px 20% 40px 20%;
    display: grid;
    gap: 18px;
    width: 100%;
    margin-top: auto;
    height: 40%;
    align-self: stretch;
    border-radius: 0;
}

.hero-card p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.375rem, 2.75vw, 2rem);
    color: var(--ink);
    padding-top: 12px;
}

.hero-card .socials {
    padding-bottom: 12px;
    margin-top: -20%;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.socials img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.section-header {
    max-width: 800px;
    display: grid;
    gap: 14px;
    margin-bottom: 40px;
}

.about {
    background: var(--paper);
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
}

.about .section-header h2 {
    font-size: clamp(1rem, 3vw, 3.2rem);
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: stretch;
    height: 100%;
}

.about-grid > * {
    align-self: flex-start;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
}

.about-image img {
    height: 50vh;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 999px 999px 0 0;
}

.about-text {
    display: grid;
    gap: 16px;
    color: var(--muted);
    align-content: flex-start;
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    background: #f3ece3;
}

.story-card {
    padding: 80px clamp(24px, 8vw, 120px);
    background: var(--dust);
    display: grid;
    gap: 18px;
    position: relative;
    padding-inline: 10%;
}

.story-card p {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner {
    background: var(--stone);
    text-align: center;
    min-height: auto;
    height: auto;
}

.banner-inner {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.certs {
    background: var(--paper);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.card {
    background: var(--sage);
    padding: 28px;
    border-radius: 0;
    display: grid;
    gap: 12px;
    height: 50vh;
}

.card-grid .card:nth-child(2) {
    background: #e3e9e6;
}

.contact {
    background: var(--paper);
    min-height: auto;
    height: auto;
}

.contact-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.contact-copy {
    display: grid;
    gap: 16px;
}

footer {
    background: #e5e0db;
    padding: 30px clamp(24px, 8vw, 120px);
    display: none;
}

body.about-page footer {
    display: block;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease forwards;
}

.reveal.delay-1 { animation-delay: 0.2s; }
.reveal.delay-2 { animation-delay: 0.35s; }
.reveal.delay-3 { animation-delay: 0.5s; }

.reveal.delay-2 {
    padding: 10%;
    align-items: flex-start;
    justify-content: flex-start;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    section {
        min-height: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-copy {
        padding: 60px 40px;
    }

    .hero-card {
        height: auto;
        margin-top: 0;
    }

    .hero-card .socials {
        margin-top: 0;
    }

    .about {
        height: auto;
    }

    .about-grid {
        height: auto;
    }

    .about-grid,
    .story,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .story-photo {
        min-height: 320px;
    }

    .story-photo img {
        height: 100%;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 24px;
    }

    .hero-copy {
        padding: 50px 24px;
    }

    .hero-card {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
