:root {
    --color-ink: #111827;
    --color-muted: #48486E;
    --color-grey: #A4ABB5;
    --color-line: #111827;
    --color-page: #ffffff;
    --color-button-text: #ffffff;
    --color-blue: #5AADDA;
    --color-green: #93E1D1;
    --color-red: #F38181;
    --color-yellow: #FBE38B;
    --color-lavendar: #C6C6E8;
    --color-nav-hover: #43CBAF;
    --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-page);
    color: var(--color-ink);
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
}

.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 24px 24px 0;
}

.menu-toggle {
    display: none;
}

.primary-nav {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(30px, 5vw, 68px);
}

.site-logo {
    position: absolute;
    top: 24px;
    left: 24px;
}

.site-logo-image {
    width: clamp(96px, 10vw, 120px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.nav-link {
    display: grid;
    justify-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-ink);
    transition: color 180ms ease;
}

.nav-icon {
    display: block;
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask: var(--icon-url) center / contain no-repeat;
    -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.nav-link {
    color: var(--color-ink);
    transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-muted);
    opacity: 0.75;
}

.hero-section {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 55px 48px 58px;
}

.eyebrow {
    margin: 44px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: 0.5;
}

.hero-copy {
    width: min(100%, 880px);
    margin: 0 auto;
    text-align: center;
}

.hero-copy h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-align: left;
}

.hero-copy h1 em {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.1em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.hero-description {
    width: min(100%, 700px);
    margin: 18px auto 0;
    color: var(--color-muted);
    font-size: clamp(16px, 1.7vw, 18px);
    font-weight: 500;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 70px);
    margin-top: 40px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 50px;
    border: 1.5px solid var(--color-line);
    border-radius: 999px;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button-primary {
    background: var(--color-ink);
    color: var(--color-button-text);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--color-muted);
    border: var(--color-muted);
}

.button-secondary {
    background: transparent;
    color: var(--color-ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--color-muted);
    color: var(--color-page);
    border: 1.5px solid var(--color-muted);
}

.hero-art {
    width: min(100%, 980px);
    margin: 72px auto 0;
}

.hero-image {
    display: block;
    width: 100%;
    min-height: clamp(360px, 48vw, 640px);
    object-fit: contain;
}

.hero-image:not([src]),
.hero-image[src=""] {
    border-radius: 28px;
}

.section-shell {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0 48px;
}

.attention-section {
    padding: 18px 0 96px;
}

.attention-copy {
    width: min(100%, 740px);
}

.attention-copy h2,
.support-intro h2,
.process-section h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    line-height: 1.03;
}

.attention-copy h2 {
    max-width: 680px;
}

.attention-copy h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.attention-copy p,
.support-intro p {
    color: var(--color-ink);
    font-size: 15px;
    line-height: 1.55;
}

.attention-copy p {
    width: min(100%, 720px);
    margin: 24px 0 0 100px;
}

.attention-copy p+p {
    margin-top: 4px;
}

.support-section {
    padding: 0 0 108px;
}

.support-intro {
    width: min(100%, 740px);
}

.support-intro h2 {
    max-width: 670px;
}

.support-intro p {
    width: min(100%, 690px);
    margin: 28px 0 0 100px;
}

.support-intro p+p {
    margin-top: 4px;
}

.service-list {
    display: grid;
    gap: 36px;
    width: min(100%, 650px);
    margin: 52px auto 0;
}

.service-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 16px;
}

.service-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 3px;
    background-color: currentColor;
    mask: var(--icon-url) center / contain no-repeat;
    -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.service-icon-mint {
    color: var(--color-green);
}

.service-icon-lavender {
    color: var(--color-lavendar);
}

.service-icon-red {
    color: var(--color-red);
}

.service-icon-gold {
    color: var(--color-yellow);
}

.service-icon-blue {
    color: var(--color-blue);
}

.service-icon-navy {
    color: #56638f;
}

.service-item h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.service-item p {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.process-section {
    padding: 0 0 92px;
}

.process-section h2 {
    max-width: 650px;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    width: min(100%, 720px);
    margin: 38px auto 0;
}

.process-card {
    min-height: 158px;
    border-radius: 24px;
    padding: 24px 24px 22px;
}

.process-card-yellow {
    background: #ffe589;
}

.process-card-lavender {
    background: #c7c3ef;
}

.process-card-mint {
    background: #82decd;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.process-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.process-card h3 {
    margin: 2px 0 0;
    color: var(--color-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.process-card p {
    margin: 12px 0 0;
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.process-action {
    display: flex;
    justify-content: center;
    margin-top: 58px;
}

.button-small {
    min-width: 225px;
    min-height: 42px;
    padding: 11px 24px;
    font-size: 12px;
}

.packages-section {
    padding: 0 0 114px;
}

.packages-section .section-shell {
    width: min(100%, 1280px);
}

.packages-header {
    width: min(100%, 760px);
    margin: 0 auto 44px;
    text-align: left;
}

.packages-header h2,
.portfolio-section h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.05;
}

.packages-header p {
    width: min(100%, 690px);
    margin: 10px auto 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    text-align: left;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 44px);
}

.package-card {
    display: flex;
    min-height: 570px;
    min-width: 0;
    flex-direction: column;
    border: 1.5px solid currentColor;
    border-radius: 24px;
    padding: 34px clamp(24px, 3vw, 44px) 40px;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.08);
}

.package-card-red {
    --package-accent: var(--color-red);
    color: var(--color-red);
    border-color: rgba(244, 127, 123, 0.5);
}

.package-card-blue {
    --package-accent: var(--color-blue);
    color: var(--color-blue);
    border-color: rgba(88, 174, 232, 0.5);
}

.package-card-green {
    --package-accent: var(--color-nav-hover);
    color: var(--color-nav-hover);
    border-color: rgba(67, 203, 175, 0.55);
}

.package-badge {
    align-self: flex-start;
    border: 1.5px solid var(--package-accent);
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.package-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.package-icon {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask: var(--icon-url) center / contain no-repeat;
    -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.package-title-row h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.package-copy {
    margin-top: 30px;
    color: var(--color-ink);
}

.package-copy p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.package-copy p+p {
    margin-top: 4px;
}

.package-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
    margin-top: 32px;
}

.package-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--package-accent) 10%, white);
    color: var(--color-ink);
    font-size: 12px;
    line-height: 1.1;
    padding: 6px 10px;
    text-align: center;
}

.package-button {
    min-width: 0;
    width: min(100%, 220px);
    min-height: 42px;
    margin: 28px auto 0;
    padding: 10px 8px;
    font-size: 14px;
}

.packages-note {
    margin-top: 62px;
    color: var(--color-ink);
    text-align: center;
}

.packages-note p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.packages-note em {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
}

.portfolio-section {
    padding: 0 0 110px;
}

.portfolio-section h2 {
    width: min(100%, 760px);
    margin: 0 auto 48px;
}

.portfolio-list {
    display: grid;
    gap: 56px;
    width: min(100%, 700px);
    margin: 0 auto;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 38px;
}

.portfolio-image {
    display: block;
    width: 190px;
    height: 135px;
    object-fit: cover;
}

.portfolio-image:not([src]),
.portfolio-image[src=""] {
    border-radius: 2px;
}

.portfolio-copy h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.portfolio-type,
.portfolio-copy p {
    color: var(--color-ink);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
}

.portfolio-type {
    margin: 2px 0 0;
}

.portfolio-copy p:not(.portfolio-type) {
    margin: 4px 0 0;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}

.portfolio-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 23px;
    border: 1px solid var(--color-yellow);
    border-radius: 999px;
    background: rgba(251, 227, 139, 0.2);
    color: var(--color-ink);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 10px;
}

.contact-section {
    padding: 0 0 112px;
}

.contact-card {
    width: min(100%, 860px);
    margin: 0 auto;
    border: 1.5px solid #8edfd4;
    border-radius: 24px;
    background: #eefcf9;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
    padding: clamp(34px, 5vw, 48px) clamp(30px, 6vw, 64px) 46px;
}

.contact-header {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    width: min(100%, 700px);
}

.contact-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    color: #6ed8cc;
    background-color: currentColor;
    mask: var(--icon-url) center / 90% 90% no-repeat;
    -webkit-mask: var(--icon-url) center / 90% 90% no-repeat;
}

.contact-header h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(32px, 4.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.contact-header p {
    margin: 8px 0 0;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.contact-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 28px 48px;
    margin-top: 26px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.form-fields,
.form-details {
    display: grid;
    gap: 18px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label,
.timeline-field legend {
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.field-group input,
.field-group textarea {
    width: 100%;
    border: 1.5px solid #1f2937;
    border-radius: 12px;
    background: #ffffff;
    color: var(--color-ink);
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    padding: 12px 16px;
}

.field-group input {
    min-height: 44px;
}

.field-group textarea {
    min-height: 200px;
    resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus,
.timeline-field input:focus-visible {
    border-color: #49c6b9;
    outline: 3px solid rgba(110, 216, 204, 0.28);
    outline-offset: 2px;
}

.field-group textarea::placeholder {
    color: #64748b;
}

.timeline-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.timeline-field legend {
    margin-bottom: 2px;
    padding: 0;
}

.timeline-field label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.timeline-field input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--color-ink);
}

.contact-submit {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 230px;
    margin-top: 12px;
}

.contact-note {
    grid-column: 1 / -1;
    margin: 24px 0 0;
    color: var(--color-ink);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1120px) {
    .package-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-card-green {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: relative;
        z-index: 10;
        padding: 18px 12px 0;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        background: var(--color-page);
        color: var(--color-ink);
        cursor: pointer;
        padding: 0;
    }

    .menu-toggle:focus-visible {
        outline: 3px solid rgba(73, 198, 185, 0.24);
        outline-offset: 4px;
    }

    .menu-toggle-lines,
    .menu-toggle-lines span {
        display: block;
    }

    .menu-toggle-lines {
        position: relative;
        width: 24px;
        height: 14px;
    }

    .menu-toggle-lines span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition:
            opacity 180ms ease,
            transform 180ms ease,
            top 180ms ease;
    }

    .menu-toggle-lines span:nth-child(1) {
        top: 0;
    }

    .menu-toggle-lines span:nth-child(2) {
        top: 6px;
    }

    .menu-toggle-lines span:nth-child(3) {
        top: 12px;
    }

    .site-header.is-nav-open .menu-toggle-lines span:nth-child(1) {
        top: 6px;
        transform: rotate(45deg);
    }

    .site-header.is-nav-open .menu-toggle-lines span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-nav-open .menu-toggle-lines span:nth-child(3) {
        top: 6px;
        transform: rotate(-45deg);
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 12px;
        display: none;
        width: min(260px, calc(100vw - 24px));
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        border: 1.5px solid rgba(17, 24, 39, 0.12);
        border-radius: 18px;
        background: var(--color-page);
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
        padding: 12px;
    }

    .site-header.is-nav-open .primary-nav {
        display: flex;
    }

    .site-logo-image {
        width: 88px;
        max-height: 54px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-items: initial;
        justify-content: flex-start;
        gap: 10px;
        min-width: 0;
        border-radius: 12px;
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        background: rgba(17, 24, 39, 0.04);
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .hero-section {
        padding: 34px 22px 42px;
    }

    .eyebrow {
        margin: 0 0 58px;
        text-align: center;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 32px;
    }

    .button {
        width: 100%;
        min-width: 0;
    }

    .hero-art {
        margin-top: 24px;
    }

    .section-shell {
        padding: 0 22px;
    }

    .attention-section {
        padding: 8px 0 68px;
    }

    .attention-copy p,
    .support-intro p {
        margin-left: 0;
        font-size: 14px;
    }

    .support-section {
        padding-bottom: 74px;
    }

    .service-list {
        gap: 28px;
        margin-top: 42px;
    }

    .service-item {
        grid-template-columns: 32px 1fr;
        gap: 18px;
    }

    .service-icon {
        width: 24px;
        height: 24px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .process-section {
        padding-bottom: 64px;
    }

    .process-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        width: min(100%, 360px);
    }

    .process-action {
        margin-top: 34px;
    }

    .packages-section {
        padding-bottom: 78px;
    }

    .packages-header {
        margin-bottom: 26px;
        text-align: center;
    }

    .package-cards {
        display: flex;
        align-items: stretch;
        gap: 18px;
        margin: 0 -22px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 0 22px 12px;
        scroll-padding-inline: 22px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .package-cards::-webkit-scrollbar {
        display: none;
    }

    .package-card {
        flex: 0 0 calc(100vw - 44px);
        min-width: 0;
        min-height: 0;
        padding: 24px 22px 28px;
        align-self: stretch;
        scroll-snap-align: start;
    }

    /* .package-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .package-card {
        min-width: 0;
        min-height: 0;
        padding: 24px 22px 28px;
    } */

    .package-title-row {
        margin-top: 24px;
    }

    .package-card-green {
        grid-column: auto;
    }

    .package-tags {
        grid-template-columns: 1fr;
    }

    .package-button {
        margin-top: 28px;
    }

    .portfolio-section {
        padding-bottom: 72px;
    }

    .portfolio-section h2 {
        margin-bottom: 32px;
    }

    .portfolio-list {
        gap: 38px;
    }

    .portfolio-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-image {
        width: min(100%, 260px);
        height: 175px;
    }

    .contact-section {
        padding-bottom: 72px;
    }

    .contact-card {
        padding: 30px 20px 34px;
    }

    .contact-header {
        grid-template-columns: 30px 1fr;
        align-items: start;
        gap: 12px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .field-group textarea {
        min-height: 170px;
    }

    .contact-submit {
        width: 100%;
        margin-top: 4px;
    }
}