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

html, body {
    max-width: 100%;
}

:root {
    --cx-ink: #0D0D0D;
    --cx-body: #3A3A3A;
    --cx-white: #FFFFFF;
    --cx-accent: #E07340;
    --cx-accent-hover: #C25E2E;
    --cx-muted-bg: #F4F2EF;
    --cx-border: #E6E2DD;
    --cx-border-dark: #2A2A2A;
    --cx-muted-text: #A8A29C;
    --cx-footer-text: #7A7A7A;
    --cx-heading-font: 'Space Grotesk', system-ui, sans-serif;
    --cx-body-font: 'Inter', system-ui, sans-serif;
    --cx-header-h: 82px;
}

body {
    font-family: var(--cx-body-font);
    color: var(--cx-body);
}

h1 {
    line-height: 1.2em;
}

body:not(.home) {
    padding-top: var(--cx-header-h);
}

a {
    color: var(--cx-accent);
    text-decoration: none;
}
a:hover {
    color: var(--cx-accent-hover);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cx-accent);
    color: var(--cx-white);
    border-radius: 999px;
    padding: 16px 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: background .2s ease;
}
.btn:hover {
    background: var(--cx-accent-hover);
    color: var(--cx-white);
}

/* Visually hidden but accessible -- used for sr-only labels and form
   honeypot fields. Stays in normal document flow (unlike left:-9999px),
   so it can never cause page-level horizontal overflow. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* For use on dark/image surfaces alongside .btn */
.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
    color: var(--cx-white);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--cx-white);
    color: var(--cx-white);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.skeleton-placeholder {
    position: relative;
    overflow: hidden;
}
.skeleton-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.skeleton-placeholder img.loaded {
    opacity: 1;
}
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Site Header */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 60;
    background: var(--cx-white);
    border-bottom: 1px solid var(--cx-border);
    color: var(--cx-ink);
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.site-header--overlay:not(.site-header--solid) {
    background: transparent;
    border-bottom-color: transparent;
    color: var(--cx-white);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 20px;
}
.site-header__logo {
    color: inherit;
    font-family: var(--cx-heading-font);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.site-header__logo a {
    color: inherit;
    text-decoration: none;
}
.site-header__logo img,
.site-header__logo svg {
    display: block;
    max-height: 40px;
    width: auto;
}
/* White logo variant: hidden by default (used only while the header floats
   transparently over the homepage hero, before scroll -- see header.js). */
.site-header__logo img.site-header__logo-img--white {
    display: none;
}
.site-header--overlay:not(.site-header--solid) .site-header__logo-img--default {
    display: none;
}
.site-header--overlay:not(.site-header--solid) .site-header__logo-img--white {
    display: block;
}
.site-header__nav {
    display: flex;
}
.site-header__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.site-header__menu a {
    color: inherit;
    transition: color .2s ease;
}
.site-header__nav .site-header__menu a:hover {
    color: var(--cx-accent);
}
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-header__icons {
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-header__icons a {
    color: inherit;
    display: inline-flex;
}
.site-header__icons svg {
    width: 19px;
    height: 19px;
}
.site-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
}
.site-header__burger svg {
    width: 20px;
    height: 20px;
}
.site-header__mobile {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    background: var(--cx-white);
    border-top: 1px solid transparent;
    padding: 0 24px;
    transition: max-height .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease, transform .3s cubic-bezier(.2,.7,.2,1), padding .35s ease, border-color .35s ease;
}
.site-header__mobile.is-open {
    max-height: 480px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px 24px 28px;
    border-top-color: var(--cx-border);
}
.site-header__mobile .site-header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    color: var(--cx-ink);
}
.site-header__mobile .site-header__menu a {
    display: block;
    width: 100%;
}
.site-header__mobile-cta {
    margin-top: 22px;
}

@media (max-width: 1100px) {
    .site-header__nav,
    .site-header__icons,
    .site-header__cta {
        display: none !important;
    }
    .site-header__burger {
        display: inline-flex !important;
    }
}

/* Site Footer */
.site-footer {
    background: var(--cx-ink);
    color: var(--cx-footer-text);
    padding: clamp(64px, 8vw, 104px) 24px 40px;
}
.site-footer__brand {
    color: var(--cx-white);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.site-footer__brand a {
    color: inherit;
    text-decoration: none;
}
.site-footer__brand-link {
    display: inline-block;
    width: 100%;
}
.site-footer__brand img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}
.site-footer__cols {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 56px 80px;
    align-items: start;
}
.site-footer__rule {
    width: 32px;
    height: 2px;
    background: var(--cx-accent);
}
.site-footer__heading {
    margin: 20px 0 24px;
    color: var(--cx-white);
    font-family: var(--cx-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
}
.site-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px 40px;
    font-size: 14px;
    line-height: 1.7;
}
.site-footer__legal a {
    color: var(--cx-muted-text);
}
.site-footer__legal a:hover {
    color: var(--cx-white);
}
.site-footer__social {
    display: flex;
    gap: 12px;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--cx-border-dark);
    color: var(--cx-white);
}
.site-footer__social a:hover {
    border-color: var(--cx-accent);
    color: var(--cx-accent);
}
.site-footer__social svg {
    width: 17px;
    height: 17px;
}
.site-footer__newsletter-form {
    position: relative;
    overflow: hidden;
}
.site-footer__newsletter-hp {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.site-footer__newsletter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--cx-border-dark);
    padding-bottom: 12px;
}
.site-footer__newsletter-row input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--cx-white);
    font-family: var(--cx-body-font);
    font-size: 15px;
    padding: 6px 0;
}
.site-footer__newsletter-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: var(--cx-accent);
    cursor: pointer;
}
.site-footer__newsletter-row button:hover {
    color: var(--cx-accent-hover);
}
.site-footer__newsletter-row button:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.site-footer__newsletter-recaptcha {
    margin-top: 12px;
}
.site-footer__newsletter-response {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
}
.site-footer__newsletter-response:empty {
    display: none;
}
.site-footer__newsletter-response--success {
    color: #6fcf97;
}
.site-footer__newsletter-response--error {
    color: #eb5757;
}
.site-footer__legal-text {
    margin-top: 72px;
    border-top: 1px solid var(--cx-border-dark);
    padding-top: 32px;
}
.site-footer__legal-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
}
.site-footer__copyright {
    margin-top: 24px !important;
}
