:root {
    --sage: #8fa89a;
    --deep: #49665a;
    --cream: #f4f0e8;
    --paper: #fcfbf8;
    --brown: #8b7462;
    --ink: #24332d;
    --muted: #6c766f;
    --line: #dfe4de;
    --white: #fff;
    --shadow: 0 22px 50px rgba(73, 102, 90, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6
}

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

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252, 251, 248, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 228, 222, .8)
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    letter-spacing: .01em
}

.logo small {
    display: block;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.logo-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--sage);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Playfair Display', serif;
    color: var(--deep);
    font-size: 21px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px
}

.main-nav>a:not(.btn) {
    color: #56635d
}

.main-nav>a:not(.btn):hover {
    color: var(--deep)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: .25s ease;
    border: 1px solid transparent
}

.btn-primary {
    background: var(--deep);
    color: white;
    box-shadow: 0 9px 24px rgba(73, 102, 90, .19)
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #3f5a4f
}

.btn-ghost {
    border-color: #cfd8d1;
    color: var(--deep);
    background: transparent
}

.btn-ghost:hover {
    border-color: var(--sage);
    background: #f6f8f5
}

.btn-light {
    background: #fff;
    color: var(--deep)
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    color: var(--deep)
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 82px;
    background: linear-gradient(180deg, #fbfcfa 0%, #f7f7f2 100%)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 65px;
    align-items: center;
    position: relative;
    z-index: 2
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 700;
    color: var(--brown)
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.08;
    margin: 0
}

.hero h1 {
    font-size: clamp(54px, 7vw, 83px);
    margin: 18px 0 22px;
    letter-spacing: -.035em
}

.hero h1 em {
    color: var(--deep);
    font-weight: 500
}

.hero-copy>p {
    max-width: 570px;
    font-size: 18px;
    color: var(--muted);
    margin: 0
}

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

.hero-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #66726c;
    font-size: 12px
}

.hero-visual {
    position: relative
}

.image-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.hero-image {
    background: var(--cream);
    padding: 18px
}

.hero-image img {
    border-radius: 22px;
    width: 100%;
    height: auto
}

.floating-card {
    position: absolute;
    right: -18px;
    bottom: 26px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    padding: 15px 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column
}

.floating-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 19px
}

.floating-card span {
    font-size: 12px;
    color: var(--muted)
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(.2px);
    opacity: .4
}

.hero-shape-one {
    width: 320px;
    height: 320px;
    background: #e4eee8;
    right: -120px;
    top: -90px
}

.hero-shape-two {
    width: 220px;
    height: 220px;
    background: #efe4d9;
    left: -90px;
    bottom: -120px
}

.section {
    padding: 100px 0
}

.section-soft {
    background: var(--cream)
}

.about-grid {
    display: grid;
    grid-template-columns: .94fr 1fr;
    gap: 75px;
    align-items: center
}

.about-visual {
    position: relative;
    padding-right: 38px
}

.about-image {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow)
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 25px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .07);
    border-radius: 18px;
    padding: 17px 20px;
    display: flex;
    flex-direction: column
}

.about-badge strong {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: var(--deep)
}

.about-badge span {
    font-size: 12px;
    color: var(--muted)
}

.about-copy h2,
.section-heading h2,
.cta-box h2 {
    font-size: clamp(40px, 5vw, 58px);
    margin: 14px 0 22px;
    letter-spacing: -.025em
}

.about-copy p {
    color: var(--muted);
    max-width: 590px
}

.stats {
    display: flex;
    gap: 42px;
    margin-top: 30px;
    padding-top: 23px;
    border-top: 1px solid #d8ddd7
}

.stats div {
    display: flex;
    flex-direction: column
}

.stats strong {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    color: var(--deep)
}

.stats span {
    font-size: 12px;
    color: var(--muted)
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 46px
}

.section-heading>p {
    max-width: 400px;
    color: var(--muted);
    margin: 0
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.profile-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: .25s ease
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(73, 102, 90, .1)
}

.profile-card>img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover
}

.profile-info {
    padding: 22px
}

.tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brown);
    font-weight: 700
}

.profile-info h3 {
    font-size: 28px;
    margin: 7px 0
}

.profile-info p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px
}

.text-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--deep)
}

.text-link span {
    display: inline-block;
    margin-left: 6px;
    transition: .2s
}

.text-link:hover span {
    transform: translateX(3px)
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.tech-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden
}

.tech-card img {
    width: 100%;
    aspect-ratio: 1.45/1;
    object-fit: cover
}

.tech-card div {
    padding: 20px 21px 23px
}

.tech-card h3 {
    font-size: 25px
}

.tech-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 0
}

.cta-section {
    padding: 40px 0 70px
}

.cta-box {
    background: var(--deep);
    color: white;
    border-radius: 28px;
    padding: 52px 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    position: relative
}

.cta-box:after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    right: -70px;
    top: -100px
}

.cta-box h2 {
    margin-bottom: 10px
}

.cta-box p {
    margin: 0;
    color: #dce6df;
    max-width: 560px
}

.footer {
    background: #26382f;
    color: #ecf2ed;
    padding: 55px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 50px
}

.footer p,
.footer span,
.footer a {
    color: #bbc8c1;
    font-size: 13px
}

.footer h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin: 0 0 12px;
    color: #eff5f0
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-logo {
    color: white;
    margin-bottom: 8px
}

.footer-logo .logo-mark {
    color: white;
    border-color: #91ac9f
}

.footer-logo small {
    color: #bbc8c1
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .11);
    margin-top: 42px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.profile-hero {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #fbfcfa, #f3efe7)
}

.profile-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center
}

.profile-detail>img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow);
    background: #e5eee8
}

.profile-detail h1 {
    font-size: clamp(54px, 7vw, 76px);
    margin: 13px 0
}

.lead {
    font: 500 22px/1.4 'Playfair Display', serif;
    color: var(--deep);
    max-width: 590px
}

.profile-detail p:not(.lead) {
    color: var(--muted);
    max-width: 620px
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0
}

.specialties span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecf2ed;
    border: 1px solid #d7e2d9;
    color: var(--deep);
    font-size: 12px
}

.profile-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px
}

@media (max-width:950px) {
    .main-nav {
        gap: 18px
    }

    .hero-grid {
        gap: 35px
    }

    .about-grid,
    .profile-detail {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .profile-detail>img {
        max-width: 460px
    }

    .team-grid,
    .techniques-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

@media (max-width:760px) {
    .container {
        width: min(100% - 28px, 1160px)
    }

    .nav-wrap {
        min-height: 70px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 70px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
        flex-direction: column;
        align-items: stretch
    }

    .site-header.open .main-nav {
        display: flex
    }

    .main-nav .btn {
        text-align: center
    }

    .hero {
        padding: 60px 0
    }

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

    .hero h1 {
        font-size: 54px
    }

    .hero-visual {
        max-width: 560px;
        margin: auto
    }

    .floating-card {
        right: 7px
    }

    .section {
        padding: 72px 0
    }

    .section-heading {
        display: block;
        margin-bottom: 30px
    }

    .section-heading>p {
        margin-top: 16px
    }

    .team-grid,
    .techniques-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .stats {
        gap: 24px
    }

    .cta-section {
        padding: 20px 0 55px
    }

    .cta-box {
        padding: 36px 28px;
        display: block
    }

    .cta-box .btn {
        margin-top: 24px
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin-top: 8px
    }

    .about-visual {
        padding-right: 20px
    }
}