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

:root {
    --beige: #F2EEE7;
    --beige-dark: #EAE3D1;
    --green: #606859;
    --dark: #35342F;
    --light: #F2EEE7;
    --gold: #C4A46D;
    --terracotta: #B6865A;
    --type-logo: clamp(44px, 6vw, 72px);
    --type-logo-subtitle: clamp(27px, 3.5vw, 40px);
    --type-page-title: clamp(56px, 8vw, 100px);
    --type-section-title: clamp(32px, 4vw, 48px);
    --type-lead: clamp(22px, 3vw, 34px);
    --type-intro: clamp(19px, 1.85vw, 22px);
    --type-subheading: clamp(20px, 2vw, 26px);
    --type-body: 17px;
    --type-body-small: 16px;
    --type-meta: 15px;
    --type-label: 14px;
    --type-button: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--dark);
    background: var(--beige);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 0;
    font-size: 16px;
    line-height: 1.7;
}

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

/* === Sticky Disappearing Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--beige) 30%, rgba(242, 238, 231, 0) 100%);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

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

/* === Hero Section === */
.hero-section {
    position: relative;
    background: var(--beige);
    padding-bottom: 0;
    padding-top: 270px;
}

/* === Logo === */
.logo-area {
    text-align: center;
    padding: 56px 24px 0;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-logo);
    font-weight: 300;
    line-height: 1.0;
    color: var(--dark);
    letter-spacing: 0.01em;
    display: block;
}

.logo-subtitle {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-logo-subtitle);
    font-weight: 300;
    font-style: italic;
    color: var(--dark);
    opacity: 0.82;
    letter-spacing: 0.04em;
    margin-top: 6px;
    text-align: center;
}

/* === Navigation === */
.nav {
    display: flex;
    justify-content: center;
    padding: 40px 24px 48px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: var(--type-meta);
    font-weight: 400;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-link.active {
    border-bottom: 1px solid var(--dark);
}

.nav-link:hover {
    opacity: 0.6;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--dark);
    transition: all 0.3s;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* === Hero Content === */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 100px) 80px;
    align-items: center;
}

.hero-photo {
    padding-top: 28px;
}

/* Arch-shaped photo frame */
.arch-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 210px 210px 0 0;
    overflow: hidden;
    background: var(--beige-dark);
}

.arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo .arch-frame img {
    filter: saturate(0.85) sepia(0.08) brightness(1.02);
}

.hero-still-photo {
    transform: scale(1.02);
    transform-origin: center;
}

/* Parallax photo — scaled up to prevent edge visibility during scroll */
.parallax-photo {
    will-change: transform;
    transition: transform 0.1s linear;
    transform: scale(1.15);
}

/* Hero text */
.hero-greeting {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 300;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text {
    max-width: 520px;
}

.hero-intro {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(18px, 1.7vw, 20px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 40px;
}

.hero-intro p {
    margin-bottom: 18px;
}

.hero-intro p:last-child {
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    padding: 0 24px 64px;
}

.hero-trust {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 100px) 56px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hero-trust-item {
    font-family: 'Raleway', sans-serif;
    font-size: var(--type-label);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(53, 52, 47, 0.58);
    padding-top: 18px;
    border-top: 1px solid rgba(53, 52, 47, 0.12);
}

/* === Ghost/Outline Button === */
.btn-outline {
    display: inline-block;
    padding: 18px 52px;
    border: 1px solid var(--dark);
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-size: var(--type-button);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--dark);
    text-transform: uppercase;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--light);
}

.btn-outline-light {
    border-color: var(--light);
    color: var(--light);
}

.btn-outline-light:hover {
    background: var(--light);
    color: var(--green);
}

/* === Curved Transition (seamless, concave green) === */
.curve-transition {
    position: relative;
    margin-top: -2px;
    line-height: 0;
    background: transparent;
}

.curve-transition svg {
    width: 100%;
    height: 160px;
    display: block;
}

/* === Green Section === */
.green-section {
    background: var(--green);
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
}

/* Decorative geometric shape */
.decorative-shape {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.shape-semicircle {
    width: 70px;
    height: 35px;
    background: var(--light);
    border-radius: 0 0 70px 70px;
    transform: rotate(-15deg);
}

.shape-rectangle {
    width: 64px;
    height: 20px;
    background: var(--terracotta);
    margin-top: 4px;
}

/* Quote text */
.green-content {
    max-width: 860px;
    margin: 0 auto;
}

.quote-text {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(18px, 1.7vw, 20px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--light);
    margin-bottom: 30px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.quote-brand {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--light);
    margin-bottom: 20px;
}

.quote-text:last-of-type {
    margin-bottom: 48px;
}

.quote-indent {
    text-indent: 2em;
}

/* === Beige Section === */
.beige-section {
    background: var(--beige);
    padding: 100px 24px 0;
    position: relative;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-detail {
    margin-bottom: 100px;
}

.about-detail p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-section-title);
    font-weight: 300;
    color: var(--dark);
    text-align: center;
    margin-bottom: 72px;
}

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

/* Offerings */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.offering {
    padding: 36px;
    border: 1px solid rgba(53, 52, 47, 0.12);
    border-radius: 8px;
    text-align: center;
}

.offering-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--type-subheading);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.3;
}

.offering-price {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--green);
    margin-bottom: 12px;
}

.offering-detail {
    font-size: var(--type-meta);
    font-weight: 300;
    color: rgba(53, 52, 47, 0.55);
    margin-bottom: 12px;
}

.offering-desc {
    font-size: var(--type-meta);
    font-weight: 300;
    color: rgba(53, 52, 47, 0.55);
    line-height: 1.6;
    border-top: 1px solid rgba(53, 52, 47, 0.08);
    padding-top: 12px;
}

/* Curve to beige */
.curve-to-beige {
    margin-top: 60px;
    margin-bottom: -1px;
}

/* Curve from beige to dark */
.curve-to-dark {
    position: relative;
    margin-top: -1px;
    line-height: 0;
}

.curve-to-dark svg {
    width: 100%;
    height: 80px;
    display: block;
}

.curve-to-footer {
    position: relative;
    line-height: 0;
    margin-bottom: -1px;
}

.curve-to-footer svg {
    width: 100%;
    height: 128px;
    display: block;
}

/* Education */
.edu-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.edu-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(242, 238, 231, 0.15);
}

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

.edu-year {
    font-family: 'Raleway', sans-serif;
    font-size: var(--type-body-small);
    font-weight: 400;
    color: var(--terracotta);
    padding-top: 2px;
}

.edu-info {
    color: var(--light);
}

.edu-info strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.edu-info span {
    font-size: var(--type-meta);
    font-weight: 300;
    opacity: 0.6;
}

/* === Footer === */
.footer {
    background: var(--dark);
    padding: 0 clamp(24px, 5vw, 100px) 72px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    transform: translateY(22px);
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--light);
    line-height: 1.0;
    display: block;
    text-align: left;
}

.footer-logo-text .logo-subtitle {
    font-size: 24px;
    color: var(--light);
    opacity: 0.72;
    margin-top: 6px;
    letter-spacing: 0.04em;
}

/* Footer social icons */
.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(242, 238, 231, 0.2);
    color: var(--light);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--light);
    color: var(--dark);
    border-color: var(--light);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
}

.footer-nav-col {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.footer-nav-col a {
    font-size: var(--type-body);
    font-weight: 300;
    color: var(--light);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-nav-col a:hover {
    opacity: 1;
}

/* === Fade-in animation === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Mobile === */
@media (max-width: 768px) {
    :root {
        --type-intro: 17px;
        --type-body: 16px;
        --type-body-small: 14px;
        --type-meta: 14px;
        --type-label: 12px;
        --type-button: 12px;
    }

    .logo {
        font-size: 36px;
    }

    .logo-subtitle {
        font-size: 20px;
    }

    .footer-logo-text .logo-subtitle {
        font-size: 20px;
    }

    .hero-section {
        padding-top: 192px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--beige);
        flex-direction: column;
        align-items: center;
        padding: 24px;
        gap: 20px;
        z-index: 10;
    }

    .nav-links.open {
        display: flex;
    }

    .nav {
        position: relative;
    }

    .burger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }

    .arch-frame {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-photo {
        padding-top: 12px;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .quote-text {
        font-size: var(--type-body);
        line-height: 1.75;
    }

    .hero-actions {
        padding-bottom: 36px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 36px;
    }

    .hero-trust-item {
        text-align: center;
        padding-top: 14px;
    }

    .footer {
        padding: 20px 24px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        transform: none;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-nav {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .footer-nav-col {
        flex-direction: column;
        gap: 12px;
    }

    .curve-transition svg {
        height: 80px;
    }

    .curve-to-footer svg {
        height: 60px;
    }

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

    .edu-item {
        grid-template-columns: 55px 1fr;
        gap: 12px;
    }
}
