:root {
    --blue: #0a65db;
    --red: #ff491e;
    --yellow: #ffd00d;
    --pink: #fbc3d4;
    --bg: #fcf9f2;
    --text: #000609;
    --muted: #4a4a4a;
    --footer: #0a65db;
    --max-width: 1320px;
    --section-gap: clamp(5rem, 10vw, 9rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.site-header {
    padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
}

.brand-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header-link,
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-family: "Instrument Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-link .arrow,
.cta-link .arrow {
    color: var(--blue);
    transition: transform 0.2s ease;
}

.header-link:hover,
.cta-link:hover {
    color: var(--blue);
}

.header-link:hover .arrow,
.cta-link:hover .arrow {
    transform: translateX(4px);
}

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) var(--section-gap);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.eyebrow {
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-family: "Instrument Sans", "Noto Sans SC", sans-serif;
    font-size: clamp(3.25rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.75rem;
}

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

.lead {
    max-width: 34rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.8;
    color: var(--muted);
}

.hero-visual img {
    width: 100%;
    height: auto;
}

.services {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem) var(--section-gap);
}

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-bottom: var(--section-gap);
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row--reverse .service-visual {
    order: 2;
}

.service-row--reverse .service-copy {
    order: 1;
}

.service-visual img {
    width: 100%;
    height: auto;
}

.service-copy h2 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.subtitle {
    font-family: "Instrument Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.intro {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.tags {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-family: "Instrument Sans", "Noto Sans SC", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-outline:hover {
    transform: translateY(-2px);
    background: var(--text);
    color: #fff;
}

.btn-solid {
    background: var(--text);
    color: #fff;
    border: 2px solid var(--text);
    min-width: 11rem;
}

.btn-solid:hover {
    transform: translateY(-2px);
    background: var(--blue);
    border-color: var(--blue);
}

.about,
.contact,
.cta {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

.about {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
    border-top: 1px solid rgba(0, 6, 9, 0.08);
}

.about-inner {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.about h2,
.contact h2,
.cta h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
}

.about-text p {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.cta {
    max-width: var(--max-width);
    margin: 0 auto var(--section-gap);
    text-align: center;
}

.cta .btn-solid {
    margin-bottom: 1.5rem;
}

.cta-link {
    justify-content: center;
}

.contact {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: var(--section-gap);
    text-align: center;
}

.contact-label {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.contact-email {
    display: inline-block;
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

.contact-email:hover {
    opacity: 0.75;
}

.site-footer {
    background: var(--footer);
    color: #fff;
    padding: 3rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
}

.footer-logo {
    width: 3.5rem;
    height: 3.5rem;
    filter: brightness(0) invert(1);
}

.footer-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-nav a {
    font-family: "Instrument Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.75;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    font-size: 0.8rem;
    opacity: 0.85;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero,
    .service-row,
    .service-row--reverse {
        grid-template-columns: 1fr;
    }

    .service-row--reverse .service-visual,
    .service-row--reverse .service-copy {
        order: initial;
    }

    .hero-visual {
        max-width: 28rem;
        margin: 0 auto;
    }

    .service-copy {
        text-align: center;
    }

    .service-copy .btn {
        margin: 0 auto;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .brand-name {
        font-size: 0.95rem;
    }

    .header-link {
        font-size: 0.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .header-link,
    .cta-link,
    .contact-email,
    .footer-nav a {
        transition: none;
    }
}
