:root {
    --pine: #1a1b2e;
    --pine-deep: #0d0e1f;
    --sage: #7a7a96;
    --moss: #9a9ab8;
    --sand: #ffffff;
    --stone: #f0f0f5;
    --clay: #c41e3a;
    --ink: #111111;
    --muted: #55556a;
    --line: #e0dfe8;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(13, 14, 31, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--sand);
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
}

body::before {
    content: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--pine);
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 20;
    background: var(--pine);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(200, 200, 220, 0.7);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 5.3rem;
    height: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 5.3rem;
}

.brand-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand strong {
    font-size: 1rem;
}

.brand-text span,
.footer-brand span {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(196, 30, 58, 0.08);
    color: var(--clay);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    width: 3.7rem;
    height: 3.1rem;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
    align-items: center;
    justify-content: center;
}

.menu-toggle-icon {
    width: 1.2rem;
    height: 1.2rem;
    position: relative;
    display: inline-block;
}

.menu-toggle-icon span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-icon span:nth-child(1) {
    transform: translateY(-5px);
}

.menu-toggle-icon span:nth-child(2) {
    transform: translateY(0);
}

.menu-toggle-icon span:nth-child(3) {
    transform: translateY(5px);
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    padding: 2.8rem 0 1.5rem;
}

.hero-page {
    padding-top: 2.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.hero-home-full {
    padding: 0;
}

.hero-full-swiper {
    position: relative;
    min-height: clamp(34rem, 78vh, 48rem);
    isolation: isolate;
}

.hero-grid-split {
    align-items: center;
}

.hero-copy h1,
.section-head h2,
.callout h2,
.prose-panel h2,
.prose-panel h3,
.hero-card h2,
.card h3 {
    font-family: 'Merriweather', serif;
    line-height: 1.1;
    letter-spacing: 0;
    margin: 0;
}

.hero-copy h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.5rem);
    max-width: 22ch;
    margin: 0.4rem 0 1rem;
    font-weight: 700;
}

.lede {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 62ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    color: var(--clay);
    font-weight: 800;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin: 1.8rem 0 1.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.15rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--clay), #a01830);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(196, 30, 58, 0.25);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
    color: var(--ink);
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    color: var(--muted);
    display: grid;
    gap: 0.6rem;
}

.hero-points li::before {
    content: '•';
    color: var(--clay);
    margin-right: 0.65rem;
}

.panel {
    background: #fff;
    border: 1px solid rgba(212, 208, 196, 0.62);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 8px 24px rgba(13, 14, 31, 0.07);
}

.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-swiper-track {
    position: relative;
    overflow: hidden;
    min-height: 34rem;
    background: #0f1825;
}

.hero-swiper-track-wide {
    min-height: clamp(34rem, 78vh, 48rem);
}

.hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 350ms ease;
    pointer-events: none;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 11, 18, 0.82) 0%, rgba(7, 11, 18, 0.64) 38%, rgba(7, 11, 18, 0.22) 68%, rgba(7, 11, 18, 0.08) 100%);
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: clamp(34rem, 78vh, 48rem);
    display: flex;
    align-items: flex-end;
    padding-bottom: 5.2rem;
}

.hero-slide-copy {
    max-width: 40rem;
}

.hero-slide-copy h1,
.hero-slide-copy .lede,
.hero-slide-copy .hero-points,
.hero-slide-copy .hero-points li,
.hero-slide-copy .hero-points li::before {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-slide-copy .eyebrow {
    color: #ffe2e8;
}

.hero-slide-copy .button-secondary {
    border-color: rgba(255, 255, 255, 0.44);
    color: #fff;
    background: rgba(12, 18, 29, 0.2);
}

.hero-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 0.85rem;
}

.hero-swiper-controls-overlay {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    z-index: 3;
    width: min(30rem, calc(100% - 2rem));
    margin-top: 0;
}

.hero-swipe-button {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(15, 21, 33, 0.42);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.hero-swiper-dots {
    display: flex;
    gap: 0.45rem;
    flex: 1;
    justify-content: center;
}

.hero-swiper-dots button {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
}

.hero-swiper-dots button.is-active {
    background: #fff;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: auto -8% -18% auto;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.15), transparent 70%);
}

.stats-list,
.bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.stats-list li strong,
.stats-list li span {
    display: block;
}

.stats-list li strong {
    font-size: 1rem;
}

.stats-list li span,
.prose-panel p,
.card p,
.callout p,
.footer-copy,
.footer-note {
    color: var(--muted);
}

.section {
    padding: 1.8rem 0 0;
}

.section-head {
    margin-bottom: 1.1rem;
}

.section-head h2,
.callout h2,
.prose-panel h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    margin: 0.35rem 0 0.8rem;
}

.card-grid,
.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    min-height: 100%;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.card p {
    margin-top: 0;
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--pine);
}

.text-link::after {
    content: '→';
    margin-left: 0.45rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.two-column-balanced {
    gap: 1.25rem;
}

.content-flow {
    padding: 0.3rem 0;
}

.section-cluster {
    padding: 1.45rem 1.55rem;
}

.section-cluster-soft {
    background: #fcfcff;
    border-color: rgba(212, 208, 196, 0.75);
}

.content-flow h2 {
    margin-top: 0;
}

.section-head-tight {
    margin-bottom: 0.6rem;
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.track h3 {
    margin-top: 0.2rem;
}

.track-plain {
    padding: 0.2rem 0;
}

.prose-panel h2,
.prose-panel h3 {
    margin-bottom: 0.8rem;
}

.bullets li {
    position: relative;
    padding-left: 1.15rem;
}

.bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--clay);
}

.section-accent {
    padding: 2rem 0;
}

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.8rem 2rem;
    border-radius: calc(var(--radius-xl) + 4px);
    background: linear-gradient(135deg, rgba(26, 27, 46, 0.97), rgba(13, 14, 31, 0.97));
    color: var(--white);
}

.callout .eyebrow,
.callout p {
    color: rgba(255, 255, 255, 0.78);
}

.callout .button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24);
}

.site-footer {
    margin-top: 4rem;
    padding: 2.2rem 0 1.3rem;
    border-top: 1px solid rgba(200, 200, 220, 0.7);
    background: var(--stone);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 1.5rem;
}

.footer-brand {
    margin-bottom: 0.9rem;
}

.footer-brand .brand-mark {
    width: 4.1rem;
    height: 2.8rem;
    flex-basis: 4.1rem;
}

.footer-heading {
    margin: 0 0 0.75rem;
    font-weight: 800;
    color: var(--pine);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-contact {
    display: inline-flex;
    margin-top: 0.2rem;
}

.contact-form {
    margin-top: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field-full {
    grid-column: 1 / -1;
}

.field-hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.field label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.95);
}

.field textarea {
    resize: vertical;
}

.form-alert {
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    margin: 0 0 1rem;
}

.form-alert-success {
    background: rgba(18, 104, 56, 0.1);
    border: 1px solid rgba(18, 104, 56, 0.25);
}

.form-alert-error {
    background: rgba(176, 35, 35, 0.08);
    border: 1px solid rgba(176, 35, 35, 0.25);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(200, 200, 220, 0.7);
    color: var(--muted);
    font-size: 0.95rem;
}

.portrait,
.product-art {
    min-height: 21rem;
    border-radius: 22px;
    display: grid;
    place-items: end start;
    padding: 1.4rem;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(13, 14, 31, 0.18), rgba(13, 14, 31, 0.55)),
        linear-gradient(135deg, rgba(26, 27, 46, 0.92), rgba(45, 46, 80, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
}

.bio-photo-panel {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--stone);
}

.bio-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.hero-copy-tight .lede {
    margin-bottom: 1rem;
}

.hero-inline-overview {
    margin-top: 1rem;
}

.hero-inline-overview h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    margin: 0 0 0.55rem;
}

.hero-inline-overview p {
    margin: 0;
    color: var(--muted);
}

.product-art {
    place-items: center;
    text-align: center;
    gap: 0.55rem;
}

.product-art strong {
    font-size: 2rem;
    max-width: 8ch;
    line-height: 1;
}

@media (max-width: 980px) {
    .hero-grid,
    .two-column,
    .card-grid,
    .compact-grid,
    .footer-grid,
    .track-grid {
        grid-template-columns: 1fr;
    }

    .callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy h1 {
        max-width: 14ch;
    }

    .hero-full-swiper,
    .hero-swiper-track-wide,
    .hero-swiper-track {
        min-height: 31rem;
    }

    .hero-slide-inner {
        min-height: 31rem;
        align-items: flex-end;
        padding-bottom: 5.1rem;
    }

    .hero-slide-copy {
        max-width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 19;
        background: rgba(10, 12, 22, 0.52);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav-shell {
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        position: relative;
        z-index: 22;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 21;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        gap: 0.3rem;
        width: 100vw;
        min-height: 100dvh;
        padding: 7.4rem 1.1rem 2rem;
        background: rgba(234, 236, 244, 0.98);
        border-top: 1px solid rgba(188, 191, 212, 0.9);
        box-shadow: 0 -10px 40px rgba(10, 12, 22, 0.14) inset;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.6rem);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav .nav-link {
        display: block;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(206, 206, 224, 0.95);
        border-radius: 14px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 0.9rem 1rem;
    }

    .nav-link {
        width: 100%;
    }

    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 20;
    }

    .brand-mark {
        width: 4.35rem;
        height: 2.95rem;
        flex-basis: 4.35rem;
    }

    .hero {
        padding-top: 2.6rem;
    }

    .hero-home-full {
        padding: 0 0 1.6rem;
    }

    .hero-slide-inner {
        align-items: flex-start;
        min-height: 43rem;
        padding-top: 2.2rem;
        padding-bottom: 4.8rem;
    }

    .hero-full-swiper,
    .hero-swiper-track-wide,
    .hero-swiper-track {
        min-height: 43rem;
    }

    .hero-slide-copy h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.55rem);
        max-width: 12ch;
        margin-bottom: 0.7rem;
    }

    .hero-slide-copy .lede {
        font-size: 1.08rem;
    }

    .hero-actions,
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding-top: 1.5rem;
    }

    .section-cluster {
        padding: 1.15rem 1rem;
    }
}
