@font-face {
    font-family: "InterVar";
    src: local("Inter");
    font-display: swap
}

@font-face {
    font-family: "SourceSerifVar";
    src: local("Source Serif 4");
    font-display: swap
}

:root {
    --bg: #ffffff;
    --fg: #111315;
    --muted: #6b7280;
    --primary: #3b82f6;
    --primary-contrast: #ffffff;
    --alt: #eff6ff;
    --container: 1120px;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    font-family: "Inter", InterVar, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6
}

img {
    max-width: 100%;
    height: auto;
    border: 0
}

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

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 10
}

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

.brand {
    font-weight: 700;
    color: var(--fg);
    text-decoration: none
}

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

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fg);
    margin: 0;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease
}

.hamburger:hover span { opacity: 0.8 }

.hamburger.is-active { gap: 0 }
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.hamburger.is-active span:nth-child(2) { opacity: 0 }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

.nav a {
    color: var(--fg);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease
}

.nav a:hover {
    background: #f1f5f9
}

.nav a.active {
    background: #dbeafe;
    color: var(--fg)
}

.nav a.btn {
    margin-left: 8px
}

.hero {
    padding: 64px 0;
    background: var(--alt)
}

.hero-inner {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 32px;
    align-items: center
}

.hero-text h1 {
    font-family: "Source Serif 4", SourceSerifVar, Georgia, Times, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 16px
}

.hero-quote {
    margin: 18px 0 0 0;
    color: var(--muted)
}

.hero-quote blockquote {
    margin: 0 0 4px 0;
    font-style: italic
}

.hero-quote figcaption {
    font-size: 14px
}

.hero-stats {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    grid-column: 1/-1
}

.stat {
    padding: 8px 16px
}

.stat + .stat {
    border-left: 1px solid #e5e7eb
}

.stat-num {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px
}

.section {
    padding: 72px 0
}

.section.alt {
    background: var(--alt)
}

.section h2 {
    font-family: "Source Serif 4", SourceSerifVar, Georgia, Times, "Times New Roman", serif;
    font-weight: 700;
    margin: 0 0 16px;
    display: inline-block;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 70%, #dbeafe 0);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 2px 4px
}

.section h3 {
    font-family: "Source Serif 4", SourceSerifVar, Georgia, Times, "Times New Roman", serif;
    margin: 16px 0 8px
}

.muted {
    color: var(--muted)
}

.links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px
}
.carousel {
    position: relative;
    margin-top: 16px;
}

.carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    flex: 0 0 70%;
    scroll-snap-align: center;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(17,19,21,0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    backdrop-filter: blur(6px)
}

.carousel-btn:hover { filter: brightness(1.1); }

.carousel-btn.prev { left: 6px; }
.carousel-btn.next { right: 6px; }

.about-grid {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 20px;
    align-items: start
}

.about-photo-large {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .2s ease
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.about-text {
    font-size: 18px;
    line-height: 1.8
}

.about-photo-small {
    width: 70%;
    align-self: flex-end;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .2s ease
}

.about-photo-large:hover, .about-photo-small:hover { transform: scale(1.01) }

.hero-media img { border-radius: 16px; box-shadow: 0 4px 18px rgba(0,0,0,0.06) }

.gallery {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px
}

.grid-2 {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 20px
}

/* Details: pricing emphasis */
.price-grid { gap: 24px; }
.price-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease
}
.price-card strong { font-size: 18px; }

.price-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); border-color: #dbeafe }

/* In-text links: inherit color, underline */
.section p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Larger readable paragraph */
.lead-l { font-size: 24px; line-height: 1.8; font-weight: bold;}
.lead { font-size: 18px; line-height: 1.8; font-weight: normal;}

/* Principles section */
.principles-grid { gap: 24px; align-items: stretch; }
.principle-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease
}
.principle-card h3 { margin: 0 0 8px; }
.principle-card p { margin: 0; }

.principle-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); border-color: #dbeafe }

/* Scope links: same color + underline */
.scope-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06)
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-contrast)
}

.btn-primary:hover { filter: brightness(0.98); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(59,130,246,0.25) }

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

.btn-outline:hover { background: #dbeafe; border-color: #bfdbfe; color: #1e40af }

.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 24px 0
}

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

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns:1fr
    }

    .hero-stats {
        grid-template-columns:1fr;
        gap: 8px
    }

    .stat + .stat {
        border-left: none;
        border-top: 1px solid #e5e7eb
    }

    .stat-num {
        font-size: 32px
    }

    .grid-2 {
        grid-template-columns:1fr
    }

    .gallery {
        grid-template-columns:1fr
    }

    .about-grid { grid-template-columns:1fr }
    .about-photo-small { width: 100%; align-self: stretch }

    .hamburger { display: inline-flex; align-items: center; justify-content: center }
    .nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 20px;
        display: none;
        flex-direction: column;
        gap: 8px;
        z-index: 20
    }
    .nav.open { display: flex }
    .nav a { padding: 10px 12px; border-radius: 8px }
}
