:root {
    --bg: #f6f8fc;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #232441;
    --muted: #55607a;
    --blue: #1288df;
    --blue-deep: #0c4f9d;
    --coral: #ff7070;
    --lavender: #efe7ff;
    --sky: #eaf8ff;
    --shadow: 0 18px 40px rgba(32, 41, 69, 0.10);
    --shadow-soft: 0 8px 22px rgba(32, 41, 69, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --max: 1180px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.96), transparent 30%),
        radial-gradient(circle at 50% 0%, rgba(220, 240, 255, 0.9), transparent 34%),
        linear-gradient(180deg, #fbfcff 0%, #f7f7fb 38%, #f7fbff 100%);
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

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

.site-shell {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(35, 36, 65, 0.08);
}

.site-header__inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header h1 {
    margin: 0;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}

.brand img {
    display: block;
    max-height: 95px;
    width: auto;
    height: auto;
}

.brand span:first-child {
    color: #ff6d63;
}

.brand span:last-child {
    color: var(--blue);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #2f3a52;
    opacity: 0.9;
}

.site-nav a.btn {
    color: #fff;
    opacity: 1;
    box-shadow: none;
}

.site-nav a.btn:hover,
.site-nav a.btn:focus-visible {
    color: #fff;
    box-shadow: none;
}

.site-nav__contact-icon {
    display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.6rem 1rem;
    border: 0;
    border-radius: 10px;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(180deg, #1a94ee, #0077cf);
    color: #fff;
    box-shadow: 0 10px 22px rgba(18, 136, 223, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(18, 136, 223, 0.32);
}

.btn--light {
    background: #fff;
    color: var(--blue);
    border: 1px solid rgba(18, 136, 223, 0.22);
    box-shadow: 0 10px 24px rgba(22, 49, 94, 0.08);
}

main {
    padding-bottom: 16px;
}

section {
    scroll-margin-top: 112px;
}

.hero,
.section-bleed,
.feature,
.team,
.contact {
    border-radius: 0;
    overflow: hidden;
}

.hero {
    position: relative;
    margin-top: 0;
    padding: clamp(56px, 10vw, 108px) clamp(24px, 6vw, 96px);
    min-height: 420px;
    text-align: center;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.62) 0.55px, transparent 1.05px) 0 0 / 6px 6px,
        radial-gradient(circle, rgba(168, 160, 168, 0.08) 0.55px, transparent 1.05px) 3px 3px / 6px 6px,
        linear-gradient(180deg, #f6f7fa 0%, #f2f3f7 100%);
    background-blend-mode: soft-light, overlay, normal;
    box-shadow: none;
}

.hero .site-shell {
    position: relative;
    z-index: 1;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    inset: -12%;
    background:
        radial-gradient(circle at 48% 38%, rgba(232, 169, 231, 0.58) 0%, rgba(232, 169, 231, 0.28) 24%, rgba(232, 169, 231, 0) 58%),
        radial-gradient(circle at 58% 48%, rgba(208, 185, 245, 0.42) 0%, rgba(208, 185, 245, 0.20) 28%, rgba(208, 185, 245, 0) 62%),
        radial-gradient(circle at 73% 76%, rgba(168, 200, 246, 0.52) 0%, rgba(168, 200, 246, 0.24) 34%, rgba(168, 200, 246, 0) 66%);
    filter: blur(24px);
    opacity: 0.9;
}

.hero::after {
    inset: -4%;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0) 40%);
    opacity: 0.8;
}

.hero__inner {
    position: relative;
    width: 100%;
}

.hero h2 {
    margin: 0;
    font-size: 5.625rem;
    line-height: 0.95;
    font-weight: 900;
    color: #262958;
    font-family: 'BentonModDisp', Georgia, serif;
    font-style: italic;
}

.hero h2 .accent {
    color: var(--blue);
}

.hero p {
    margin: 24px auto 0;
    max-width: 38rem;
    font-family: 'Benton Modern D', Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.33;
    color: #323962;
    font-weight: 600;
}

.hero .btn {
    margin-top: 28px;
    justify-self: center;
    min-height: auto;
    padding: 8px 12px 8px 16px;
    gap: 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border: 0;
    box-shadow: none;
    color: var(--blue);
    transition: transform 160ms ease;
}

.hero .btn:hover,
.hero .btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: none;
    filter: none;
}

.hero .btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.stack {
    display: grid;
    gap: 18px;
}

.section-heading {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.eyebrow {
    margin: 0;
    font-family: 'Halyard Display', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--blue);
    font-weight: 600;
}

.section-description {
    margin: 10px 0 0;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 600;
    color: #2b2d57;
    font-family: 'Benton Modern D', Georgia, serif;
}

.section-lead {
    margin: 0;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    font-size: 1.125rem;
    line-height: 1.67;
    color: var(--muted);
}

.services,
.process,
.team,
.contact {
    padding: clamp(68px, 8vw, 96px) 0;
}

.services .site-shell,
.feature .feature__inner,
.team .team__inner {
    padding-inline: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: start;
}

.service-card {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 14px;
    grid-column: span 4;
}

.service-card:nth-child(4) {
    grid-column: 3 / span 4;
}

.service-card:nth-child(5) {
    grid-column: 7 / span 4;
}

.service-card__icon {
    width: 86px;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(18, 31, 71, 0.12));
}

.service-card h3,
.process-card h3 {
    margin: 0;
    font-family: 'Halyard Display', Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: var(--Colors-Dusk, #28285A);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.07px;
}

.service-card p,
.process-card p,
.feature-copy p,
.contact p,
.intro-copy p {
    margin: 0;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    color: #3d465d;
    line-height: 1.67;
    font-size: 1.125rem;
    letter-spacing: -0.439px;
}

.feature-copy .section-description {
    font-family: 'Benton Modern D', Georgia, serif;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 600;
    color: #2b2d57;
}

.feature {
    position: relative;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.58) 0.55px, transparent 1.05px) 0 0 / 6px 6px,
        radial-gradient(circle, rgba(168, 160, 168, 0.07) 0.55px, transparent 1.05px) 3px 3px / 6px 6px,
        linear-gradient(180deg, #f7f6f5 0%, #f3f0ee 100%);
    background-blend-mode: soft-light, overlay, normal;
    box-shadow: none;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    inset: -14%;
    background:
        radial-gradient(circle at 22% 70%, rgba(241, 167, 193, 0.46) 0%, rgba(241, 167, 193, 0.24) 22%, rgba(241, 167, 193, 0) 58%),
        radial-gradient(circle at 55% 44%, rgba(235, 189, 228, 0.42) 0%, rgba(235, 189, 228, 0.18) 24%, rgba(235, 189, 228, 0) 58%),
        radial-gradient(circle at 82% 62%, rgba(247, 205, 176, 0.46) 0%, rgba(247, 205, 176, 0.22) 26%, rgba(247, 205, 176, 0) 60%);
    filter: blur(26px);
    opacity: 0.95;
    pointer-events: none;
}

.feature::after {
    content: "";
    position: absolute;
    inset: -4%;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 40%),
        radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 34%);
    opacity: 0.78;
    pointer-events: none;
}

.feature__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    padding-block: clamp(40px, 6vw, 72px);
}

.feature-copy h3,
.intro-copy h3,
.contact h3 {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    color: var(--Colors-Dusk, #28285A);
    font-weight: 500;
    font-family: 'Halyard Display', Arial, Helvetica, sans-serif;
    font-style: normal;
    letter-spacing: 0.07px;
}

.feature-copy .section-heading,
.intro-copy .section-heading {
    text-align: left;
    margin-bottom: 18px;
}

.contact .section-heading {
    text-align: center;
    margin-bottom: 18px;
}

.feature-copy .eyebrow,
.intro-copy .eyebrow,
.contact .eyebrow {
    font-size: 2.5rem;
    color: var(--blue);
}

.section-heading .eyebrow + p {
    margin-top: 10px;
}

.feature-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-art img {
    width: min(100%, 420px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

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

.process-card {
    background: #fff;
    border-top: 5px solid var(--coral);
    border-radius: 0 0 14px 14px;
    padding: 28px;
    min-height: 255px;
    box-shadow: var(--shadow-soft);
}

.process-card p {
    margin-top: 12px;
}

.team {
    position: relative;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.62) 0.55px, transparent 1.05px) 0 0 / 6px 6px,
        radial-gradient(circle, rgba(168, 160, 168, 0.08) 0.55px, transparent 1.05px) 3px 3px / 6px 6px,
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 250, 250, 0.99) 10%, rgba(250, 250, 250, 0.98) 50%, rgba(236, 236, 246, 0.92) 76%, rgba(201, 219, 246, 0.98) 100%),
        linear-gradient(90deg, rgba(242, 235, 239, 0.96) 0%, rgba(246, 224, 233, 0.92) 22%, rgba(242, 232, 244, 0.88) 50%, rgba(224, 234, 248, 0.92) 78%, rgba(215, 239, 247, 0.98) 100%);
    background-blend-mode: soft-light, overlay, normal, normal;
}

.team::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 12% 14%, rgba(242, 235, 239, 0.72) 0%, rgba(242, 235, 239, 0.34) 24%, rgba(242, 235, 239, 0) 58%),
        radial-gradient(circle at 16% 84%, rgba(246, 214, 223, 0.56) 0%, rgba(246, 214, 223, 0.22) 24%, rgba(246, 214, 223, 0) 60%),
        radial-gradient(circle at 84% 18%, rgba(226, 243, 249, 0.52) 0%, rgba(226, 243, 249, 0.24) 24%, rgba(226, 243, 249, 0) 58%),
        radial-gradient(circle at 80% 82%, rgba(165, 198, 242, 0.50) 0%, rgba(165, 198, 242, 0.22) 26%, rgba(165, 198, 242, 0) 60%);
    filter: blur(22px);
    pointer-events: none;
    opacity: 0.98;
}

.team::after {
    content: "";
    position: absolute;
    inset: auto -4% 0;
    height: 42%;
    background: linear-gradient(90deg, rgba(242, 216, 225, 0.34) 0%, rgba(237, 226, 244, 0.20) 34%, rgba(216, 232, 248, 0.28) 68%, rgba(196, 232, 244, 0.34) 100%);
    filter: blur(10px);
    opacity: 0.92;
    pointer-events: none;
}

.team__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}

.intro-copy {
    max-width: 640px;
}

.intro-copy p + p {
    margin-top: 24px;
}

.feature-copy {
    max-width: 640px;
}

.feature-copy p + p {
    margin-top: 24px;
}

.team-avatars {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.avatar {
    width: clamp(150px, 18vw, 210px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 38px rgba(33, 58, 105, 0.16);
    background: transparent;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transform-origin: center;
}

.contact {
    text-align: center;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.58) 0.55px, transparent 1.05px) 0 0 / 6px 6px,
        radial-gradient(circle, rgba(168, 160, 168, 0.07) 0.55px, transparent 1.05px) 3px 3px / 6px 6px,
        linear-gradient(180deg, #eaf8ff 0%, #e9f6ff 100%);
    background-blend-mode: soft-light, overlay, normal;
}

.contact .section-description {
    font-weight: 400;
}

.contact__inner {
    display: grid;
    place-items: center;
    gap: 20px;
    width: min(640px, 100%);
    margin: 0 auto;
}

.contact-illustration {
    width: clamp(120px, 26vw, 180px);
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(67, 97, 145, 0.12));
}

.contact p {
    max-width: 38rem;
}

.contact .btn {
    border: 0;
    box-shadow: none;
    font-weight: 400;
}

.contact .btn:hover,
.contact .btn:focus-visible {
    box-shadow: none;
}

.footer {
    padding: 16px 0 28px;
    text-align: center;
    font-family: 'Halyard Text', Arial, Helvetica, sans-serif;
    color: rgba(35, 36, 65, 0.7);
    font-size: 0.88rem;
}

.intro-copy strong {
    color: #1d2550;
}

@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .service-card {
        grid-column: auto;
        width: 100%;
        max-width: none;
    }

    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: auto;
    }

    .feature__inner,
    .team__inner {
        grid-template-columns: 1fr;
    }

    .team__inner {
        justify-items: start;
    }

    .team-avatars {
        justify-content: flex-start;
    }

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

@media (max-width: 720px) {
    .site-header__inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 0;
        min-height: 56px;
        gap: 10px;
        min-width: 0;
    }

    .brand img {
        max-height: 30px;
        width: clamp(72px, 27vw, 106px);
    }

    .site-nav {
        justify-content: flex-end;
        gap: clamp(4px, 2vw, 12px);
        flex-wrap: nowrap;
        min-width: 0;
    }

    .site-nav a {
        font-size: clamp(7px, 2.3vw, 9px);
        line-height: 1.2;
        color: #202020;
        white-space: nowrap;
    }

    .site-nav .btn {
        width: auto;
        min-height: auto;
        padding: clamp(2px, 1vw, 4px);
        border-radius: 999px;
        box-shadow: none;
        background: var(--blue);
    }

    .site-nav .btn:hover,
    .site-nav .btn:focus-visible {
        transform: none;
        box-shadow: none;
    }

    .site-nav__contact-label {
        display: none;
    }

    .site-nav__contact-icon {
        display: block;
        width: 10px;
        height: 10px;
    }

    .hero {
        padding-inline: 18px;
        min-height: 360px;
    }

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

    .service-card {
        grid-column: auto;
        width: 100%;
    }

    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: auto;
    }

    .hero h2 {
        font-size: 2.8rem;
    }

    .hero p,
    .section-lead,
    .service-card p,
    .process-card p,
    .feature-copy p,
    .contact p,
    .intro-copy p {
        font-size: 1.125rem;
    }

    .feature__inner,
    .process,
    .services,
    .team,
    .contact {
        padding-block: 56px;
    }

    .site-shell,
    .site-header__inner {
        width: min(var(--max), calc(100% - 22px));
    }

    .feature__inner {
        padding-block: 28px;
    }

    .process-card {
        padding: 22px;
        min-height: auto;
    }

    .avatar {
        width: 132px;
    }
}
