/* =========================================================
   DOVIA — DESIGN SYSTEM
   Base styles
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {

    /* Brand colors */
    --color-bone: #F3F0E8;
    --color-ink: #161513;
    --color-stone: #B8B2A7;
    --color-clay: #7C756B;

    /* Accent colors */
    --color-vermilion: #D94A32;
    --color-cobalt: #3155A6;
    --color-mustard: #C9A33A;

    /* Typography */
    --font-display: "Cooper Hewitt", Arial, sans-serif;
    --font-body: "Source Sans 3", Arial, sans-serif;

    /* Layout */
    --container-width: 1440px;
    --container-padding: 72px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    --space-3xl: 180px;

    /* Motion */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}


/* =========================================================
   02. RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bone);
    color: var(--color-ink);

    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    display: block;
    width: 100%;
    height: auto;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   03. GLOBAL CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}


/* =========================================================
   04. SECTION BASICS
========================================================= */

.section-light {
    background: var(--color-bone);
    color: var(--color-ink);
}

.section-dark {
    background: var(--color-ink);
    color: var(--color-bone);
}

section {
    position: relative;
}


/* =========================================================
   05. SECTION LABEL
========================================================= */

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;

    padding-top: var(--space-xl);

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-label span:first-child {
    opacity: 0.45;
}


/* =========================================================
   06. HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    color: var(--color-bone);

    padding: 28px 0;

    transition:
        background var(--transition-medium),
        color var(--transition-medium),
        padding var(--transition-medium);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 36px;

    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-navigation a {
    position: relative;
}

.main-navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width var(--transition-fast);
}

.main-navigation a:hover::after {
    width: 100%;
}


/* =========================================================
   07. HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    position: relative;

    overflow: hidden;

    background: var(--color-ink);
    color: var(--color-bone);
}

.hero-media {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            #26231F,
            #11100F
        );

    z-index: 0;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-logo {
    width: 180px;
    height: auto;
    display: block;
    margin-bottom: 32px;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.08) 70%
        );

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 95px;
    padding-bottom: 70px;
}
.hero-logo {
    width: 120px;
    height: auto;
    display: block;
    margin-bottom: 28px;
}

.eyebrow {
    margin-bottom: 24px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 1000px;

    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 128px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.045em;

    text-wrap: balance;
}

.hero-description {
    max-width: 480px;

    margin-top: 40px;

    font-size: 19px;
    line-height: 1.5;
}

.text-link {
    display: inline-flex;
    align-items: center;

    margin-top: 40px;

    padding-bottom: 8px;

    border-bottom: 1px solid currentColor;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.text-link:hover {
    opacity: 0.65;
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    right: var(--container-padding);
    bottom: 36px;

    z-index: 2;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.65;
}


/* =========================================================
   08. INTRO
========================================================= */

.intro {
    padding-bottom: var(--space-3xl);
}

.intro-heading {
    max-width: 1100px;

    margin-top: var(--space-2xl);
}

.intro-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    margin-top: var(--space-3xl);
}

.intro-spacer {
    grid-column: span 5;
}

.intro-copy {
    grid-column: 7 / span 5;
}

.intro-copy h3 {
    max-width: 620px;

    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.05;
}

.intro-copy p {
    max-width: 620px;

    margin-top: 28px;

    color: var(--color-clay);
}

.method-question {
    margin-top: var(--space-2xl);

    padding-top: var(--space-lg);

    border-top: 1px solid rgba(22, 21, 19, 0.18);
}

.method-question h3 {
    font-size: 36px;
}

.method-question p {
    margin-top: 20px;
}


/* =========================================================
   09. METHOD
========================================================= */

.method {
    padding-bottom: var(--space-3xl);
}

.method-heading {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    margin-top: var(--space-xl);
}

.method-heading h2 {
    grid-column: span 8;

    font-family: var(--font-display);
    font-size: clamp(52px, 6vw, 92px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.method-heading p {
    grid-column: 10 / span 3;
    align-self: end;

    color: var(--color-stone);
}


/* =========================================================
   10. METHOD START
========================================================= */

.method-feature {
    position: relative;

    min-height: 680px;

    margin-top: var(--space-xl);

    overflow: hidden;

    background: #26231F;
}

.method-image {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            #3A3630,
            #1A1917
        );
}

.method-info {
    position: absolute;
    left: 48px;
    bottom: 48px;

    z-index: 2;

    max-width: 520px;
}

.method-number {
    display: block;

    margin-bottom: 16px;

    font-family: var(--font-display);
    font-size: 18px;
}

.method-name {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.method-info h3 {
    margin-top: 4px;

    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.04em;
}

.method-info > p:not(.method-name) {
    margin-top: 18px;

    font-size: 18px;
    color: var(--color-stone);
}

.method-link {
    display: inline-block;

    margin-top: 28px;
    padding-bottom: 8px;

    border-bottom: 1px solid currentColor;

    color: var(--color-bone);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.method-link:hover {
    opacity: 0.65;
    transform: translateX(4px);
}


/* =========================================================
   11. METHOD TRANSITION
========================================================= */

.method-next {
    padding: var(--space-2xl) 0;

    border-bottom: 1px solid rgba(243, 240, 232, 0.15);
}

.method-next p {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
}

.method-next span {
    display: block;

    margin-top: 12px;

    color: var(--color-stone);
}


/* =========================================================
   12. METHOD OPTIONS
========================================================= */

.method-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

    margin-top: 24px;
}

.method-option {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    background: #24221F;
}

.method-option .method-info {
    left: 36px;
    bottom: 36px;
}

.method-option .method-info h3 {
    font-size: clamp(52px, 6vw, 88px);
}


/* =========================================================
   13. ACCENTS
========================================================= */

.accent-vermilion {
    color: var(--color-vermilion);
}

.accent-cobalt {
    color: var(--color-cobalt);
}

.accent-mustard {
    color: var(--color-mustard);
}


/* =========================================================
 /* 14. TEAM
========================================================= */

.team {
    min-height: 900px;
    padding-bottom: var(--space-3xl);
}

.team-heading {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    margin-top: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.team-heading h2 {
    grid-column: span 8;

    font-family: var(--font-display);
    font-size: clamp(56px, 7vw, 104px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.045em;

    margin: 0;
}

.team-heading p {
    grid-column: 10 / span 3;
    align-self: end;

    margin: 0;

    color: var(--color-stone);

    font-size: 17px;
    line-height: 1.5;
}

.team-grid {
    margin-top: var(--space-3xl);

    width: 90%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 36px;
    row-gap: 72px;

    border-top: 1px solid rgba(22, 21, 19, 0.18);
}


/* TEAM MEMBER */

.team-member {
    margin: 0;
}


/* TEAM IMAGE */

.team-image {
    width: 100%;
    aspect-ratio: 5 / 6;

    overflow: hidden;

    background: #26231F;
}

.team-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2,.65,.3,1);
}

.team-member:hover .team-image img {
    transform: scale(1.025);
}


/* TEAM INFO */

.team-info {
    display: grid;
    grid-template-columns: 50px 1fr;

    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid rgba(22, 21, 19, 0.18);
}

.team-number {
    font-size: 14px;
    line-height: 1;
}

.team-info h3 {
    margin: 0;

    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.025em;
}

.team-info p {
    margin: 8px 0 0;

    color: var(--color-stone);

    font-size: 15px;
    line-height: 1.3;
}


/* TEAM — MOBILE */

@media (max-width: 768px) {

    .team-heading {
        display: block;

        margin-top: var(--space-xl);
        margin-bottom: var(--space-2xl);
    }

    .team-heading h2 {
        font-size: clamp(48px, 13vw, 70px);
    }

    .team-heading p {
        max-width: 480px;

        margin-top: 28px;

        font-size: 16px;
    }

    .team-grid {
        grid-template-columns: 1fr;

        row-gap: 64px;
    }

    .team-info h3 {
        font-size: 25px;
    }

}

/* =========================================================
   15. PROMISE
========================================================= */

.promise {
    padding-bottom: var(--space-3xl);
}

.promise-heading {
    margin-top: var(--space-2xl);

    max-width: 1100px;
}

.promise-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.05em;
}

.promise-heading h3 {
    max-width: 900px;

    margin-top: var(--space-2xl);

    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.035em;

    color: var(--color-stone);
}

.promise-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 48px;

    margin-top: var(--space-3xl);

    padding-top: var(--space-lg);

    border-top: 1px solid rgba(243, 240, 232, 0.16);
}

.promise-principles article {
    padding-top: 16px;
}

.promise-principles span {
    font-size: 12px;
    letter-spacing: 0.1em;
}

.promise-principles h3 {
    margin-top: 28px;

    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
}

.promise-principles p {
    max-width: 280px;

    margin-top: 12px;

    color: var(--color-stone);
}
/* =========================================================
   PROMISE / NUESTRA PROMESA — REFINAMIENTO
========================================================= */

.promise {
    position: relative;
    overflow: hidden;
}

/* ---------- HEADING ---------- */

.promise-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 8vw;

    margin-top: 150px;
}

.promise-heading h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(72px, 8vw, 128px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.05em;

    color: var(--color-bone);
}

.promise-heading h3 {
    max-width: 460px;

    margin: 0 0 8px auto;

    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;

    color: var(--color-clay);
}


/* ---------- DIVISOR ---------- */

.promise-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;

    margin-top: 150px;
    padding-top: 28px;

    border-top: 1px solid rgba(238, 235, 226, 0.18);
}


/* ---------- PRINCIPLES ---------- */

.promise-principles article {
    position: relative;

    min-height: 230px;

    padding-right: 3vw;
}

.promise-principles article span {
    display: block;

    margin-bottom: 62px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.promise-principles article h3 {
    position: relative;

    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;

    transition:
        transform 0.5s cubic-bezier(.2,.65,.3,1);
}

.promise-principles article p {
    max-width: 320px;

    margin-top: 32px;

    color: var(--color-clay);

    line-height: 1.5;

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(.2,.65,.3,1);
}


/* ---------- HOVER ---------- */

.promise-principles article::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: currentColor;

    transition:
        width 0.6s cubic-bezier(.2,.65,.3,1);
}

.promise-principles article:hover h3 {
    transform: translateX(8px);
}

.promise-principles article:hover p {
    transform: translateX(8px);
}

.promise-principles article:hover::after {
    width: calc(100% - 3vw);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .promise-heading {
        grid-template-columns: 1fr;
        gap: 70px;

        margin-top: 100px;
    }

    .promise-heading h3 {
        max-width: 600px;
        margin-left: 0;
    }

    .promise-principles {
        grid-template-columns: 1fr;
        gap: 70px;

        margin-top: 110px;
    }

    .promise-principles article {
        min-height: auto;
        padding-right: 0;
    }

    .promise-principles article span {
        margin-bottom: 30px;
    }

    .promise-principles article p {
        max-width: 500px;
    }

}


@media (max-width: 600px) {

    .promise-heading {
        margin-top: 80px;
    }

    .promise-heading h2 {
        font-size: clamp(56px, 15vw, 82px);
    }

    .promise-heading h3 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .promise-principles {
        margin-top: 90px;
        gap: 60px;
    }

    .promise-principles article span {
        margin-bottom: 24px;
    }

    .promise-principles article h3 {
        font-size: 44px;
    }

}

/* =========================================================
   16. FINAL CTA
========================================================= */

.final-cta {
    padding: var(--space-3xl) 0;
}

.final-cta h2 {
    max-width: 1000px;

    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 140px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.05em;
}


/* =========================================================
   17. FOOTER
========================================================= */

.site-footer {
    padding: 56px 0;

    background: var(--color-bone);
    color: var(--color-ink);

    border-top: 1px solid rgba(22, 21, 19, 0.16);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand p:not(.logo) {
    max-width: 280px;

    margin-top: 12px;

    color: var(--color-clay);

    font-size: 15px;
}


/* =========================================================
   /* ==========================================
   18. MODALS
========================================================= */

.modal {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 4vw;
}

.modal.is-open {
    display: flex;
}


/* OVERLAY */

.modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(22, 21, 19, 0.78);

    backdrop-filter: blur(10px);
}


/* CONTENT */

.modal-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1380px;
    max-height: 90vh;

    overflow-y: auto;

    padding: clamp(48px, 6vw, 88px);

    background: var(--color-bone);
    color: var(--color-ink);

    border: 1px solid rgba(22, 21, 19, 0.12);
}


/* CLOSE */

.modal-close {
    position: absolute;

    top: 28px;
    right: 32px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    line-height: 1;

    color: var(--color-ink);

    border: 1px solid rgba(22, 21, 19, 0.18);
    border-radius: 50%;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.modal-close:hover {
    background: var(--color-ink);
    color: var(--color-bone);

    transform: rotate(90deg);
}


/* BODY */

.modal-body {
    max-width: 1180px;
}


/* LABEL */

.modal-body > span {
    display: block;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* TITLE */

.modal-body h2 {
    max-width: 1050px;

    margin-top: 28px;

    font-family: var(--font-display);

    font-size: clamp(58px, 7vw, 108px);
    font-weight: 500;

    line-height: 0.88;
    letter-spacing: -0.05em;
}


/* INTRO */

.modal-body > p:first-of-type {
    max-width: 720px;

    margin-top: 42px;

    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.45;

    color: var(--color-clay);
}


/* SUBHEADINGS */

.modal-body h3 {
    margin-top: 64px;
    margin-bottom: 22px;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* LIST */

.modal-body ul {
    max-width: 850px;

    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid rgba(22, 21, 19, 0.18);
}

.modal-body li {
    position: relative;

    padding: 18px 0 18px 30px;

    border-bottom: 1px solid rgba(22, 21, 19, 0.18);

    font-size: 18px;
    line-height: 1.4;
}

.modal-body li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: var(--color-clay);
}


/* RESULT */

.modal-result {
    max-width: 760px;

    margin-top: 52px !important;

    font-family: var(--font-display);

    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.05 !important;

    color: var(--color-ink) !important;
}


/* INVESTMENT */

.modal-investment {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 24px;
    align-items: baseline;

    width: fit-content;

    margin-top: 56px;
    padding-top: 22px;

    border-top: 1px solid rgba(22, 21, 19, 0.22);
}

.modal-investment span {
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.14em;
}

.modal-investment strong {
    font-family: var(--font-display);

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;

    letter-spacing: -0.04em;
}

.modal-investment small {
    grid-column: 2;

    margin-top: -8px;

    font-size: 13px;

    color: var(--color-clay);
}


/* CLOSING */

.modal-closing {
    max-width: 650px;

    margin-top: 48px !important;

    font-size: 17px !important;
    line-height: 1.5 !important;
}


/* CTA */

.modal-cta {
    display: inline-flex;

    margin-top: 28px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--color-ink);

    font-size: 16px;

    color: var(--color-ink);
    text-decoration: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.modal-cta:hover {
    opacity: 0.55;

    transform: translateX(5px);
}


/* SCROLLBAR */

.modal-content::-webkit-scrollbar {
    width: 5px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(22, 21, 19, 0.25);
}


/* ==========================================
   MODAL — MOBILE
========================================================= */

@media (max-width: 768px) {

    .modal {
        padding: 16px;
    }

    .modal-content {
        max-height: 92vh;

        padding: 48px 24px 40px;
    }

    .modal-close {
        top: 18px;
        right: 18px;

        width: 36px;
        height: 36px;

        font-size: 25px;
    }

    .modal-body h2 {
        margin-top: 24px;

        font-size: clamp(48px, 14vw, 72px);
    }

    .modal-body > p:first-of-type {
        margin-top: 30px;

        font-size: 18px;
    }

    .modal-body h3 {
        margin-top: 48px;
    }

    .modal-body li {
        padding: 15px 0 15px 25px;

        font-size: 16px;
    }

    .modal-result {
        font-size: 28px !important;
    }

    .modal-investment {
        grid-template-columns: 1fr;
        gap: 8px;

        width: 100%;
    }

    .modal-investment small {
        grid-column: 1;

        margin-top: 0;
    }

}
/* ==========================================
   CONTACT MODAL
=========================================== */

.contact-modal {
    max-width: 1100px;
}

.contact-intro {
    max-width: 560px;
    margin-bottom: 56px;
}


/* FORM */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 34px;

    margin-top: 56px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;

    padding: 14px 0;

    border: none;
    border-bottom: 1px solid rgba(22, 21, 19, 0.35);

    background: transparent;

    color: var(--color-ink);

    font-family: var(--font-body);
    font-size: 18px;

    outline: none;

    transition:
        border-color var(--transition-fast);
}

.form-field textarea {
    resize: vertical;
    min-height: 90px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-clay);
    opacity: 0.7;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-ink);
}


/* SUBMIT */

.form-submit {
    grid-column: 1 / -1;

    justify-self: start;

    margin-top: 18px;

    padding: 0 0 10px;

    border: none;
    border-bottom: 1px solid var(--color-ink);

    background: transparent;

    color: var(--color-ink);

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        opacity var(--transition-fast);
}

.form-submit:hover {
    opacity: 0.5;
}
/* FORM SUCCESS */

.form-success {
    max-width: 720px;
    padding: 40px 0 20px;
}

.form-success-label {
    display: block;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-success h3 {
    max-width: 700px;

    margin-top: 32px;

    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.045em;
}

.form-success p {
    max-width: 560px;

    margin-top: 32px;

    color: var(--color-clay);

    font-size: 18px;
    line-height: 1.5;
}

.form-success-close {
    margin-top: 48px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--color-ink);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: opacity var(--transition-fast);
}

.form-success-close:hover {
    opacity: 0.5;
}


/* FORM ERROR */

.form-error {
    margin-top: 20px;

    color: var(--color-clay);

    font-size: 14px;
}
/* =========================================================
   19. SELECTION
========================================================= */

::selection {
    background: var(--color-vermilion);
    color: var(--color-bone);
}
/* =========================================================
   20. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   21. HEADER SCROLL
========================================================= */

.site-header.is-scrolled {
    padding: 18px 0;

    background: rgba(22, 21, 19, 0.82);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   22. METHOD IMAGE HOVER
========================================================= */

.method-feature .method-image,
.method-option .method-image {
    transition: transform 1.2s ease;
}

.method-feature:hover .method-image,
.method-option:hover .method-image {
    transform: scale(1.035);
}


/* =========================================================
   23. MODAL ANIMATION
========================================================= */

.modal {
    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.modal.is-open {
    opacity: 1;
}

.modal-content {
    transform: translateY(24px) scale(0.985);

    opacity: 0;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}

.modal.is-open .modal-content {
    transform: translateY(0) scale(1);

    opacity: 1;
}


/* =========================================================
   24. MODAL OVERLAY
========================================================= */

.modal-overlay {
    opacity: 0;

    transition:
        opacity 0.5s ease;
}

.modal.is-open .modal-overlay {
    opacity: 1;
}


/* =========================================================
   25. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
@media (max-width: 768px) {

    .contact-modal {
        padding: 48px 28px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 30px;

        margin-top: 40px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-submit {
        grid-column: auto;
    }

}


/* =========================================================
   26. MOBILE & TABLET RESPONSIVE OVERRIDES
========================================================= */


/* ---------- FLUID SPACING & CONTAINER ---------- */

@media (max-width: 1024px) {

    :root {
        --container-padding: 48px;
    }

    html,
    body {
        overflow-x: hidden;
    }

}

@media (max-width: 900px) {

    :root {
        --space-xl: 56px;
        --space-2xl: 80px;
        --space-3xl: 110px;
    }

}

@media (max-width: 640px) {

    :root {
        --container-padding: 24px;
    }

}

@media (max-width: 600px) {

    :root {
        --space-lg: 32px;
        --space-xl: 44px;
        --space-2xl: 56px;
        --space-3xl: 72px;
    }

}

@media (max-width: 380px) {

    :root {
        --container-padding: 18px;
    }

}


/* ---------- HEADER / NAVIGATION ---------- */

@media (max-width: 640px) {

    .site-header {
        padding: 18px 0;
    }

    .logo {
        font-size: 19px;
    }

    .main-navigation {
        gap: 16px;
        font-size: 11px;
    }

}

@media (max-width: 380px) {

    .main-navigation {
        gap: 10px;
        font-size: 10px;
    }

}


/* ---------- HERO ---------- */

@media (max-width: 900px) {

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-logo {
        width: 96px;
        margin-bottom: 22px;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 56px;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 72px);
    }

    .hero-description {
        margin-top: 28px;
        font-size: 17px;
    }

    .text-link {
        margin-top: 28px;
    }

    .hero-scroll {
        bottom: 22px;
    }

}

@media (max-width: 600px) and (orientation: portrait) {

    .hero-video {
        object-position: 50% 32%;
    }

}

@media (max-width: 480px) {

    .hero-logo {
        width: 80px;
        margin-bottom: 18px;
    }

    .hero-content {
        padding-top: 88px;
        padding-bottom: 44px;
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .eyebrow {
        font-size: 11px;
        margin-bottom: 18px;
    }

}


/* ---------- INTRO ---------- */

@media (max-width: 900px) {

    .intro-heading {
        margin-top: var(--space-xl);
    }

    .intro-content {
        grid-template-columns: 1fr;
        margin-top: var(--space-2xl);
    }

    .intro-spacer {
        display: none;
    }

    .intro-copy {
        grid-column: 1 / -1;
    }

}

@media (max-width: 600px) {

    .intro-copy h3 {
        font-size: 26px;
    }

    .method-question {
        margin-top: var(--space-xl);
    }

    .method-question h3 {
        font-size: 28px;
    }

}


/* ---------- METHOD ---------- */

@media (max-width: 900px) {

    .method-heading {
        display: block;
        margin-top: var(--space-xl);
    }

    .method-heading h2 {
        font-size: clamp(38px, 9vw, 60px);
    }

    .method-heading p {
        max-width: 480px;
        margin-top: 24px;
    }

    .method-feature {
        min-height: 520px;
        margin-top: var(--space-lg);
    }

    .method-options {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
    }

    .method-option {
        min-height: 460px;
    }

    .method-image img {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .method-info {
        left: 24px;
        right: 24px;
        bottom: 28px;

        max-width: none;
    }

    .method-option .method-info {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .method-info h3 {
        font-size: clamp(44px, 13vw, 72px);
    }

    .method-option .method-info h3 {
        font-size: clamp(40px, 12vw, 60px);
    }

    .method-next {
        padding: var(--space-xl) 0;
    }

    .method-next p {
        font-size: 30px;
    }

}

@media (max-width: 480px) {

    .method-feature {
        min-height: 440px;
    }

    .method-option {
        min-height: 380px;
    }

    .method-info {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

}


/* ---------- FINAL CTA ---------- */

@media (max-width: 900px) {

    .final-cta h2 {
        font-size: clamp(40px, 12vw, 64px);
    }

}

@media (max-width: 480px) {

    .final-cta h2 {
        font-size: clamp(34px, 12vw, 48px);
    }

}


/* ---------- FOOTER ---------- */

@media (max-width: 640px) {

    .footer-container {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand p:not(.logo) {
        max-width: 100%;
    }

}