:root {
    --ink: #10231f;
    --ink-soft: #31443e;
    --orange: #f04a24;
    --orange-deep: #ce3516;
    --cream: #fff8ef;
    --sand: #eee4d7;
    --white: #ffffff;
    --line: rgba(16, 35, 31, 0.18);
    --shadow: 0 24px 70px rgba(16, 35, 31, 0.18);
    --radius: 0.25rem;
    --shell: min(90rem, calc(100% - 3rem));
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    scrollbar-color: var(--orange) var(--cream);
    scrollbar-width: thin;
    -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
    height: 0.8rem;
    width: 0.8rem;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    background-clip: padding-box;
    border: 0.2rem solid var(--cream);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-deep);
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: var(--cream);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ol,
ul {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.93;
    text-wrap: balance;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

address {
    font-style: normal;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

.skip-link {
    background: var(--white);
    color: var(--ink);
    left: 1rem;
    padding: 0.75rem 1rem;
    position: fixed;
    top: -8rem;
    z-index: 999;
}

.skip-link:focus {
    top: 1rem;
}

.scroll-progress {
    background: rgba(16, 35, 31, 0.12);
    height: 0.2rem;
    inset: 0 0 auto;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    z-index: 1002;
}

.scroll-progress span {
    background: var(--orange);
    display: block;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.custom-cursor {
    display: none;
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1003;
}

.custom-cursor__ring,
.custom-cursor__dot {
    border-radius: 50%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate3d(-5rem, -5rem, 0) translate(-50%, -50%);
    transition: height 180ms var(--ease-premium), opacity 180ms ease, width 180ms var(--ease-premium), background-color 180ms ease, border-color 180ms ease;
    will-change: transform;
}

.custom-cursor__ring {
    border: 1px solid rgba(240, 74, 36, 0.8);
    height: 2.25rem;
    width: 2.25rem;
}

.custom-cursor__dot {
    background: var(--orange);
    height: 0.38rem;
    width: 0.38rem;
}

.custom-cursor.is-visible .custom-cursor__ring,
.custom-cursor.is-visible .custom-cursor__dot {
    opacity: 1;
}

.custom-cursor.is-interactive .custom-cursor__ring {
    background: rgba(240, 74, 36, 0.12);
    border-color: var(--orange);
    height: 3.5rem;
    width: 3.5rem;
}

.custom-cursor.is-pressed .custom-cursor__ring {
    height: 2.65rem;
    width: 2.65rem;
}

.custom-cursor.is-hidden .custom-cursor__ring,
.custom-cursor.is-hidden .custom-cursor__dot {
    opacity: 0;
}

.shell {
    margin-inline: auto;
    width: var(--shell);
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.section-pad {
    padding-block: clamp(5rem, 10vw, 9rem);
}

.section--dark {
    background: var(--ink);
    color: var(--cream);
}

.section--orange {
    background: var(--orange);
    color: var(--ink);
}

.eyebrow {
    align-items: center;
    display: flex;
    font-weight: 800;
    gap: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.eyebrow span {
    background: currentColor;
    display: inline-block;
    height: 2px;
    width: 2.25rem;
}

.eyebrow--dark {
    color: var(--orange-deep);
}

.button {
    --button-lift: 0px;
    --magnetic-x: 0px;
    --magnetic-y: 0px;
    align-items: center;
    background: var(--orange);
    border: 2px solid var(--orange);
    color: var(--ink);
    display: inline-flex;
    font-weight: 900;
    gap: 1.2rem;
    justify-content: space-between;
    min-height: 3.5rem;
    min-width: 13rem;
    padding: 0.85rem 1.2rem;
    text-decoration: none;
    transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - var(--button-lift)), 0);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 260ms var(--ease-premium);
    will-change: transform;
}

.button:hover {
    --button-lift: 2px;
    background: var(--white);
    border-color: var(--white);
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.7;
    --button-lift: 0px;
    --magnetic-x: 0px;
    --magnetic-y: 0px;
}

.button--compact {
    min-height: 3rem;
    min-width: auto;
    padding: 0.6rem 1rem;
}

.button--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.button--dark:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.button--light {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
}

.button--light:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.button--outline-dark {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.button--outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.text-link {
    align-items: center;
    border-bottom: 2px solid currentColor;
    display: inline-flex;
    font-weight: 900;
    gap: 1.75rem;
    padding-bottom: 0.25rem;
    text-decoration: none;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translate(0.2rem, -0.2rem);
}

.text-link--light {
    color: var(--cream);
}

.button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.utility-bar {
    background: var(--orange);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.utility-bar strong {
    font-weight: 750;
}

.utility-bar__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 2.75rem;
}

.utility-bar p {
    margin: 0;
}

.utility-bar a {
    min-height: 2.75rem;
    align-items: center;
    display: flex;
}

.status-dot {
    background: var(--ink);
    border-radius: 50%;
    display: inline-block;
    height: 0.5rem;
    margin-right: 0.4rem;
    width: 0.5rem;
}

.site-header {
    background: rgba(255, 248, 239, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    transition: box-shadow 180ms ease;
    z-index: 100;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(16, 35, 31, 0.08);
}

.site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 5.25rem;
}

.brand {
    display: block;
    width: min(12.375rem, 36vw);
}

.brand img {
    height: auto;
    width: 100%;
}

.primary-nav {
    align-items: center;
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav > a:not(.button) {
    font-size: 0.9rem;
    font-weight: 650;
    min-height: 2.75rem;
    align-items: center;
    display: flex;
    text-decoration: none;
}

.primary-nav .button {
    font-size: 0.875rem;
    font-weight: 750;
}

.primary-nav > a:not(.button):hover {
    color: var(--orange-deep);
}

.primary-nav > a[aria-current="page"]:not(.button) {
    color: var(--orange-deep);
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.35em;
}

.nav-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.5rem;
}

.nav-toggle__label {
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-toggle__lines {
    display: grid;
    gap: 0.4rem;
}

.nav-toggle__lines i {
    background: currentColor;
    display: block;
    height: 2px;
    transition: transform 180ms ease;
    width: 1.5rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:first-child {
    transform: translateY(0.2rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:last-child {
    transform: translateY(-0.2rem) rotate(-45deg);
}

.site-footer {
    background: #091512;
    color: var(--cream);
    padding-top: clamp(4rem, 8vw, 7rem);
}

.site-footer__main {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr;
    padding-bottom: 4rem;
}

.site-footer__brand > a {
    display: inline-block;
    margin-bottom: 1.5rem;
    width: min(15rem, 100%);
}

.site-footer__brand p {
    color: #b9c4bf;
    max-width: 25rem;
}

.site-footer__column {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer h2 {
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.site-footer__column > a:not(.button),
.social-links a {
    align-items: center;
    color: var(--cream);
    display: inline-flex;
    min-height: 2.75rem;
    text-decoration-color: rgba(255, 248, 239, 0.35);
}

.site-footer__column > a:not(.button):hover,
.social-links a:hover {
    color: var(--orange);
}

.site-footer__column address,
.site-footer__column p {
    color: #b9c4bf;
    margin-bottom: 0.5rem;
}

.site-footer__contact > a:first-of-type {
    font-weight: 900;
}

.site-footer__contact > a {
    overflow-wrap: anywhere;
}

.site-footer__contact .button {
    margin-top: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.site-footer__bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 248, 239, 0.16);
    color: #97a49f;
    display: flex;
    justify-content: space-between;
    min-height: 5rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom div {
    display: flex;
    gap: 1.5rem;
}

body.is-ready [data-reveal] {
    filter: blur(0.3rem);
    opacity: 0;
    transform: translateY(2.25rem) scale(0.992);
    transition: filter 750ms var(--ease-premium), opacity 750ms var(--ease-premium), transform 750ms var(--ease-premium);
    transition-delay: var(--reveal-delay, 0ms);
}

body.is-ready [data-reveal].is-visible {
    filter: none;
    opacity: 1;
    transform: none;
}

body.is-pointer-ready .pointer-depth {
    --pointer-shift-x: 0px;
    --pointer-shift-y: 0px;
    --scroll-shift: 0px;
}

body.is-pointer-ready .pointer-depth img,
body.is-ready .scroll-depth img {
    transform: translate3d(var(--pointer-shift-x, 0px), calc(var(--pointer-shift-y, 0px) + var(--scroll-shift, 0px)), 0) scale(1.018);
    transition: transform 650ms var(--ease-premium);
    will-change: transform;
}

body.is-pointer-ready .pointer-depth:hover img {
    transform: translate3d(var(--pointer-shift-x, 0px), calc(var(--pointer-shift-y, 0px) + var(--scroll-shift, 0px)), 0) scale(1.045);
}

body.is-ready .hero__stamp.scroll-depth {
    transform: translate3d(0, var(--scroll-shift, 0px), 0) rotate(-12deg);
    transition: transform 450ms var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor summary,
    body.has-custom-cursor label,
    body.has-custom-cursor select {
        cursor: none;
    }

    body.has-custom-cursor input,
    body.has-custom-cursor textarea,
    body.has-custom-cursor [contenteditable="true"] {
        cursor: text;
    }

    body.has-custom-cursor .custom-cursor {
        display: block;
    }
}

@media (max-width: 62rem) {
    :root {
        --shell: min(100% - 2rem, 56rem);
    }

    .utility-bar__inner p {
        display: none;
    }

    .utility-bar__inner {
        justify-content: center;
    }

    .site-header__inner {
        min-height: 4.75rem;
    }

    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        align-items: stretch;
        background: var(--cream);
        border-top: 1px solid var(--line);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 1rem;
        position: absolute;
        right: 0;
        top: 100%;
    }

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

    .primary-nav > a:not(.button) {
        border-bottom: 1px solid var(--line);
        min-height: 3.5rem;
        padding-inline: 0.5rem;
    }

    .primary-nav .button {
        margin-top: 1rem;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 42rem) {
    :root {
        --shell: calc(100% - 1.5rem);
    }

    html {
        scroll-padding-top: 5rem;
    }

    .brand {
        width: 10.5rem;
    }

    .button,
    .button--compact {
        min-height: 3.25rem;
        width: 100%;
    }

    .text-link {
        min-height: 2.75rem;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        padding-block: 1.5rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    body.is-ready [data-reveal] {
        filter: none;
        opacity: 1;
        transform: none;
    }

    .custom-cursor {
        display: none !important;
    }

    .button {
        --button-lift: 0px;
        --magnetic-x: 0px;
        --magnetic-y: 0px;
    }

    body.is-pointer-ready .pointer-depth img,
    body.is-pointer-ready .pointer-depth:hover img,
    body.is-ready .scroll-depth img {
        transform: none;
    }

    body.is-ready .hero__stamp.scroll-depth {
        transform: rotate(-12deg);
    }
}
