@font-face {
    font-family: Manrope;
    src: url("/assets/manrope.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("/assets/playfair.woff2") format("woff2");
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("/assets/playfair-italic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

:root {
    --paper: #fcf8f1;
    --ink: #2c201b;
    --purple: #a0452f;
    --purple-dark: #743520;
    --lilac: #f3e4d8;
    --terracotta: #a0452f;
    --muted: #655249;
    --line: #e3d1c0;
    --white: #fffcf7;
    --serif: "Playfair Display", Georgia, serif;
    --sans: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 1rem/1.72 var(--sans);
    text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.035em;
}
h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2.05rem, 3.9vw, 3.35rem); }
h3 { font-size: clamp(1.5rem, 2.45vw, 2rem); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: .075em; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 5px; }
.shell { width: min(100% - 4.5rem, 78rem); margin-inline: auto; }
.eyebrow {
    color: var(--purple-dark);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 3.15rem;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    padding: .68rem 1.12rem;
    text-align: center;
    text-decoration: none;
    font: 800 .88rem/1.3 var(--sans);
    cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s;
}
.button--primary { color: var(--white); background: var(--terracotta); }
.button--primary:hover { background: var(--purple-dark); }
.button--light { color: var(--purple-dark); background: var(--white); }
.button--light:hover { background: var(--lilac); }
.button--secondary { color: var(--purple-dark); border-color: var(--terracotta); background: transparent; }
.button--secondary:hover { background: var(--lilac); }
.direct-contact--mobile { display: none; }
@media (max-width: 650px), (max-width: 900px) and (pointer: coarse) {
    .direct-contact--desktop { display: none; }
    .direct-contact--mobile { display: inline-flex; }
}
.text-link { color: var(--purple-dark); text-decoration-thickness: 1px; font-weight: 800; }
.text-link:hover { color: var(--terracotta); }
.site-icon { display: inline-block; flex: 0 0 auto; width: 1.15em; height: 1.15em; vertical-align: -.12em; }

.skip-link {
    position: absolute;
    z-index: 3;
    top: 1rem;
    left: 1rem;
    transform: translateY(-180%);
    padding: .45rem 1rem;
    color: var(--white);
    background: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem 1.1rem; padding-top: .7rem; }
.wordmark { display: inline-block; width: clamp(10.6rem, 21vw, 15rem); text-decoration: none; }
.wordmark img { width: 100%; }
.wordmark-text { display: none; }
.site-nav { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: .65rem; border-top: 1px solid var(--line); }
.site-nav a { position: relative; padding: .62rem .12rem; color: var(--muted); font-size: .89rem; font-weight: 750; text-decoration: none; }
.site-nav .site-nav-client { display: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--purple-dark); }
.site-nav a[aria-current="page"]::after {
    position: absolute;
    right: .1rem;
    bottom: .29rem;
    left: .1rem;
    height: 2px;
    background: var(--terracotta);
    content: "";
}
.header-cta { display: flex; align-items: center; gap: .6rem; }

.partner-signature {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: .53rem;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 750;
    text-decoration: none;
}
.partner-signature img { width: 6.55rem; height: auto; }
.partner-signature strong { color: var(--purple-dark); }
.partner-signature:hover { text-decoration: underline; }
.legal-credit { padding-block: 1.5rem; color: var(--muted); font-size: .84rem; }
.legal-credit p + p { margin-top: .42rem; }
.consumer-warning { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.5; }

.site-footer { padding: 2rem 0 .85rem; color: #fff6ed; background: #30221c; }
.site-footer :focus-visible { outline-color: #f4cdb5; }
.site-footer .wordmark { width: 12.35rem; max-width: 100%; }
.footer-main { display: grid; grid-template-columns: 1.3fr .75fr 1fr; gap: 2rem; }
.footer-main p { margin-top: .9rem; color: #e5d4c8; font-size: .9rem; }
.footer-main nav, .footer-contact { display: flex; flex-direction: column; gap: .28rem; align-items: flex-start; }
.footer-main nav a, .footer-contact a { text-decoration: none; font-size: .9rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .6rem; }
.footer-social a { color: #f1c7b0; text-decoration: underline; }
.footer-main a:hover, .footer-legal a:hover { color: #f4cdb5; text-decoration: underline; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .85rem 1rem;
    padding-block: .9rem .5rem;
    margin-top: 1.35rem;
    border-top: 1px solid #6c5143;
    color: #e5d4c8;
    font-size: .76rem;
}
.footer-legal > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }

.prose { max-width: 52rem; padding-block: clamp(1.85rem, 4vw, 3.45rem); }
.prose h1 { margin-top: .65rem; }
.prose section { margin-top: 2.1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prose section h2 { margin-bottom: .85rem; font-size: clamp(1.65rem, 3.4vw, 2.35rem); }
.prose p + p { margin-top: .75rem; }
.prose dt { margin-top: .85rem; font-weight: 800; }
.prose dd { margin-left: 0; }
.prose a { overflow-wrap: anywhere; }
.prose .button { margin-top: 1.5rem; }

@media (max-width: 780px) {
    .header-inner { column-gap: .65rem; row-gap: .4rem; padding-top: .55rem; }
    .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .15rem; }
    .site-nav a { display: flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .35rem .1rem; text-align: center; line-height: 1.2; font-size: .8rem; }
    .site-nav .site-nav-client { display: flex; }
    .header-cta .header-portal { display: none; }
    .header-cta .button { min-height: 2.55rem; padding: .52rem .63rem; font-size: .78rem; }
}
@media (max-width: 660px) {
    .site-header .wordmark {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        gap: .45rem;
    }
    .site-header .wordmark picture {
        display: block;
        flex: 0 0 2.55rem;
        width: 2.55rem;
        overflow: hidden;
    }
    .site-header .wordmark img {
        width: 10.2rem;
        height: auto;
        max-width: none;
    }
    .wordmark-text {
        display: grid;
        gap: .12rem;
        color: var(--ink);
        font: 600 .87rem/1.12 var(--serif);
        letter-spacing: .026em;
        text-transform: uppercase;
    }
    .wordmark-text small {
        color: var(--muted);
        font: 800 .54rem/1.3 var(--sans);
        letter-spacing: .22em;
    }
}
@media (max-width: 600px) {
    .shell { width: calc(100% - 2.1rem); }
    .footer-main { grid-template-columns: 1.3fr .7fr; gap: 1.35rem 1rem; }
    .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
    .header-cta .site-icon { display: none; }
    .site-nav a { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
