:root {
    color-scheme: light;
    --ink: #20191b;
    --muted: #65585b;
    --rose: #e991ad;
    --rose-deep: #b54466;
    --blush: #fde9ef;
    --ivory: #fffaf7;
    --paper: #fffdfb;
    --sage: #6f8b78;
    --sage-soft: #e7efe7;
    --peach: #f5b79d;
    --line: rgba(32, 25, 27, 0.16);
    --shadow: 0 22px 60px rgba(93, 45, 61, 0.13);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 4vw, 56px);
    background: rgba(255, 253, 251, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.45rem;
    letter-spacing: 0;
}

.brand img {
    width: 52px;
    height: 52px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 30px);
    font-size: 0.95rem;
    color: var(--muted);
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--rose-deep);
}

.hero {
    position: relative;
    min-height: 88svh;
    padding: 136px clamp(20px, 5vw, 72px) 118px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 253, 251, 0.96) 0%, rgba(255, 253, 251, 0.76) 48%, rgba(255, 253, 251, 0.34) 100%),
        url("../assets/heartfriend-watercolor-bg.png") center / cover no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.62fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-logo-display {
    justify-self: end;
    width: min(390px, 100%);
}

.hero-logo-display img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 42px rgba(93, 45, 61, 0.12));
}

.eyebrow,
.section-kicker {
    margin: 0 0 16px;
    color: var(--rose-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(4rem, 10vw, 8.2rem);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5.8vw, 5rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.hero-copy {
    max-width: 590px;
    margin-bottom: 34px;
    color: #42363a;
    font-size: clamp(1.28rem, 2.4vw, 1.85rem);
    line-height: 1.36;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.1;
}

.button-primary {
    background: var(--rose-deep);
    color: #fff;
    box-shadow: 0 12px 30px rgba(181, 68, 102, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #9f3858;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(32, 25, 27, 0.18);
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--rose);
    color: var(--rose-deep);
}

.hero-service-strip {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 5vw, 72px);
    right: clamp(20px, 5vw, 72px);
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(32, 25, 27, 0.14);
    border-radius: 8px;
    background: rgba(32, 25, 27, 0.14);
    box-shadow: var(--shadow);
}

.hero-service-strip span {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 12px;
    background: rgba(255, 253, 251, 0.84);
    color: #3e3437;
    font-weight: 800;
    text-align: center;
}

.section-band {
    padding: clamp(72px, 10vw, 122px) clamp(20px, 5vw, 72px);
}

.section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.intro {
    background: var(--ivory);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro-grid,
.approach-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: start;
}

.intro p:last-child,
.approach p,
.contact p {
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 36px;
}

.services {
    background: #fff;
}

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

.service-card {
    min-height: 282px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(38, 28, 31, 0.06);
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blush);
    color: var(--rose-deep);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.approach {
    background: var(--sage-soft);
}

.steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    position: relative;
    min-height: 88px;
    padding: 20px 22px 20px 82px;
    border: 1px solid rgba(62, 84, 68, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.steps li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    font-weight: 900;
}

.steps strong,
.steps span {
    display: block;
}

.steps span {
    margin-top: 4px;
    color: var(--muted);
}

.contact {
    position: relative;
    background:
        linear-gradient(90deg, rgba(255, 250, 247, 0.94), rgba(255, 250, 247, 0.82)),
        url("../assets/heartfriend-watercolor-bg.png") center / cover no-repeat;
}

.contact-list {
    display: grid;
    gap: 12px;
    font-style: normal;
}

.contact-list a,
.contact-list p {
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(38, 28, 31, 0.06);
}

.contact-list a:hover,
.contact-list a:focus-visible {
    border-color: var(--rose);
    color: var(--rose-deep);
}

.contact-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scope-note {
    width: min(1160px, calc(100% - 40px));
    margin: 42px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.98rem;
}

.site-footer {
    padding: 28px clamp(20px, 5vw, 72px);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
    margin: 0;
    text-align: center;
}

@media (max-width: 900px) {
    .site-header {
        position: absolute;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 92svh;
        padding-top: 128px;
        padding-bottom: 158px;
        background:
            linear-gradient(90deg, rgba(255, 253, 251, 0.94) 0%, rgba(255, 253, 251, 0.7) 58%, rgba(255, 253, 251, 0.42) 100%),
            url("../assets/heartfriend-watercolor-bg.png") 72% center / cover no-repeat;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-logo-display {
        order: -1;
        justify-self: start;
        width: min(170px, 46vw);
        margin-bottom: -12px;
    }

    h1 {
        font-size: clamp(3.4rem, 15vw, 5.8rem);
    }

    .hero-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-service-strip span:last-child {
        grid-column: 1 / -1;
    }

    .intro-grid,
    .approach-grid,
    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .site-header {
        padding: 14px 18px;
    }

    .brand span {
        font-size: 1.24rem;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .hero {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 168px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .hero-service-strip {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .hero-service-strip span {
        min-height: 48px;
        font-size: 0.88rem;
    }

    .section-band {
        padding-left: 18px;
        padding-right: 18px;
    }

    .steps li {
        padding-left: 74px;
    }
}
