:root {
    --bg: #f3ede4;
    --bg-strong: #e1d5c3;
    --panel: rgba(255, 252, 247, 0.88);
    --panel-strong: #fffaf2;
    --text: #1f2430;
    --muted: #5e625c;
    --line: rgba(31, 36, 48, 0.12);
    --ink: #223049;
    --clay: #9a5f42;
    --sand: #d4b483;
    --accent: #ff2b1f;
    --accent-deep: #d92118;
    --accent-soft: #ffb0aa;
    --shadow: 0 28px 64px rgba(36, 29, 20, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 43, 31, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(34, 48, 73, 0.1), transparent 22%),
        linear-gradient(180deg, #f8f4ee 0%, #f3ede4 38%, #ece2d5 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.75rem 1rem;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.site-shell {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    padding-bottom: 2rem;
}

.site-header {
    position: sticky;
    top: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(36, 29, 20, 0.08);
}

.brand-block {
    display: block;
    width: min(15rem, 42vw);
    flex: 0 1 auto;
}

.brand-block img {
    width: 100%;
    height: auto;
}

.eyebrow,
.section-tag,
.card-label,
.service-index {
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow,
.section-tag,
.card-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--accent);
}

.eyebrow,
.section-tag {
    color: var(--accent-deep);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.2rem;
    height: 2px;
    margin: 0.22rem auto;
    background: #ffffff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero-section,
.content-section,
.site-footer {
    position: relative;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
    padding: 2rem 0 3rem;
}

.hero-copy h1,
.section-headline h2,
.two-column-section h2,
.partner-copy h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.95;
}

.hero-copy h1 {
    /* max-width: 12ch; */
    font-size: clamp(2.8rem, 6.6vw, 4rem);
}

.hero-text,
.copy-stack p,
.service-card p,
.process-rail p,
.partner-copy p,
.contact-card p,
.contact-card dd,
.form-note,
.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 58ch;
    margin-top: 1.25rem;
    font-size: 1.05rem;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--ink);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(34, 48, 73, 0.22);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.4);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li,
.intro-band,
.contact-card,
.service-card,
.partner-logo-card,
.partner-panel,
.blueprint-card,
.process-rail article {
    box-shadow: var(--shadow);
}

.hero-facts li {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 36rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(95, 44, 120, 0.12), rgba(34, 48, 73, 0.03)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 242, 0.5));
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 48, 73, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 48, 73, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, #000 40%, transparent 85%);
}

.blueprint-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: rgba(255, 250, 242, 0.84);
    backdrop-filter: blur(16px);
}

.blueprint-card strong,
.service-card h3,
.process-rail h3,
.contact-card h3,
.footer-title {
    font-size: 1.2rem;
    line-height: 1.2;
}

.blueprint-card p,
.service-card p,
.process-rail p {
    font-size: 0.96rem;
}

.blueprint-card-large {
    top: 3rem;
    right: 2rem;
    max-width: 20rem;
}

.blueprint-card-small {
    left: 2rem;
    bottom: 2.5rem;
    width: 14rem;
}

.intro-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin: 0 0 2rem;
    padding: 1.1rem 1.25rem;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
}

.intro-band a,
.intro-band span {
    font-weight: 700;
    text-decoration: none;
}

.content-section {
    padding: 4.5rem 0;
}

.two-column-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.copy-stack {
    display: grid;
    gap: 1rem;
}

.section-headline {
    max-width: 58rem;
    margin-bottom: 2rem;
}

.section-headline h2,
.two-column-section h2,
.partner-copy h2 {
    font-size: clamp(2.3rem, 5vw, 2.5rem);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    min-height: 18rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    color: #ffffff;
}

.service-card h3 {
    margin: 3rem 0 0.75rem;
    font-size: 1.45rem;
}

.service-card p,
.service-index {
    color: inherit;
}

.service-index {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.74;
}

.service-card-ink {
    background: linear-gradient(180deg, #223049 0%, #182132 100%);
}

.service-card-clay {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.service-card-sand {
    background: linear-gradient(180deg, #d4b483 0%, #c59d68 100%);
    color: #2a231a;
}

.process-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.process-rail article,
.contact-card,
.partner-logo-card,
.partner-panel {
    padding: 1.5rem;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
}

.process-rail span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: var(--ink);
    color: #ffffff;
    font-weight: 800;
}

.process-rail h3,
.contact-card h3 {
    margin: 0 0 0.75rem;
}

.partner-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(197, 165, 207, 0.35), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 247, 240, 0.9));
}

.partner-copy {
    display: grid;
    gap: 1rem;
}

.partner-logo-card {
    background: rgba(255, 255, 255, 0.85);
    min-height: 18rem;
    display: grid;
    place-items: center;
}

.partner-logo-card img {
    max-width: 24rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1rem;
}

.contact-details dl {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.contact-details dt {
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.contact-details dd {
    margin: 0;
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.contact-direct {
    display: grid;
    gap: 1rem;
}

.contact-actions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-points {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.6rem 0 0;
    border-top: 1px solid var(--line);
}

.footer-title {
    margin: 0 0 0.35rem;
}

@media (max-width: 960px) {
    .hero-section,
    .two-column-section,
    .partner-panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .process-rail {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-visual {
        min-height: 28rem;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 780px) {
    .site-header {
        align-items: start;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 0.5rem;
    }

    .site-nav.is-open {
        display: flex;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: calc(100% - 2rem);
        max-width: var(--max-width);
    }

    .site-header {
        top: 0.5rem;
        margin-top: 0.5rem;
        border-radius: 20px;
    }

    .content-section {
        width: 100%;
        padding: 2.75rem 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 11vw, 3.25rem);
    }

    .hero-text,
    .copy-stack p,
    .service-card p,
    .process-rail p,
    .partner-copy p,
    .contact-card p,
    .contact-card dd,
    .contact-points,
    .site-footer p {
        overflow-wrap: anywhere;
    }

    .hero-visual {
        min-height: 24rem;
    }

    .blueprint-card-large {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .blueprint-card-small {
        left: 1rem;
        bottom: 1rem;
        width: calc(100% - 2rem);
    }

    .intro-band {
        width: 100%;
        border-radius: 24px;
        justify-content: flex-start;
    }

    .hero-actions,
    .contact-actions-list {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .partner-logo-card,
    .partner-panel,
    .contact-card,
    .service-card,
    .process-rail article {
        width: 100%;
    }

    .partner-logo-card {
        min-height: 12rem;
    }

    .site-footer {
        gap: 1rem;
        overflow-wrap: anywhere;
    }
}