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

:root {
    --black: #000000;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── HERO ────────────────────────────────── */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    inset: 0;
}

.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.video-wrapper video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.08) 35%,
        rgba(0, 0, 0, 0.55) 85%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    width: 280px;
    margin-bottom: 2.5rem;
    mix-blend-mode: screen;
    opacity: 0.95;
}

.hero-title {
    font-family: 'Black Han Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 8vw, 5rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 auto 1rem;
    max-width: 14ch;
    line-height: 1.0;
    text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}

.hero-subtitle {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.7);
    letter-spacing: 0.01em;
}

.hero-tagline {
    font-size: clamp(0.68rem, 1.2vw, 0.82rem);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tagline-static {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.4em;
}

.tagline-cycle {
    position: relative;
    height: 1.2em;
    overflow: hidden;
    min-width: 300px;
    text-align: center;
}

.tagline-cycle span {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.45em;
}

.tagline-cycle span.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-cue {
    position: absolute;
    bottom: 2.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
    animation: floatDown 2.4s ease-in-out infinite;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.scroll-cue span {
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.65), transparent);
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confetti-canvas.active {
    opacity: 1;
}

.success-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-modal__content {
    max-width: 420px;
    width: calc(100% - 3rem);
    background: rgba(11, 11, 11, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    border-radius: 18px;
}

.success-modal__content h3 {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.08em;
}

.success-modal__content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.success-modal__close {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    padding: 0.95rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.success-modal__close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

@keyframes floatDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── NAV (minimal top bar) ────────────────── */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 3rem;
    mix-blend-mode: normal;
}

nav .nav-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

nav .nav-link {
    position: relative;
    overflow: hidden;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

nav .nav-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}

nav .nav-link::before,
nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.35);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.35s;
    opacity: 0;
}
nav .nav-link::before { top: 0; transform-origin: left center; }
nav .nav-link::after { bottom: 0; transform-origin: right center; }

nav .nav-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
nav .nav-link:hover::before,
nav .nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* ── CONTACT ─────────────────────────────── */

.contact {
    padding: 9rem 2rem 7rem;
    max-width: 860px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.62rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.contact-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.0;
    margin-bottom: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-heading em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
}

.form-field {
    margin-bottom: 3rem;
}

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

.form-field label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.75rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.23);
    color: rgba(255, 255, 255, 0.95);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    padding: 0.85rem 0;
    outline: none;
    transition: border-color 0.35s ease, background 0.35s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
}

.form-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #000 inset;
    -webkit-text-fill-color: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.65);
}

.form-field textarea {
    resize: none;
    height: 110px;
    line-height: 1.8;
}

.submit-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    gap: 2rem;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    padding: 1.1rem 3.2rem;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.35s ease, background 0.35s ease;
    white-space: nowrap;
}

.submit-btn::before,
.submit-btn::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    transform: scaleX(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.submit-btn::before {
    top: 0;
    transform-origin: left center;
}

.submit-btn::after {
    bottom: 0;
    transform-origin: right center;
}

.submit-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.submit-btn:hover:not(:disabled)::before,
.submit-btn:hover:not(:disabled)::after {
    transform: scaleX(1);
    opacity: 1;
}

.submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.form-status {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.4s ease;
    flex: 1;
}

.form-status.visible { opacity: 1; }
.form-status.success { color: rgba(255, 255, 255, 0.6); }
.form-status.error   { color: #ff5e5e; }

/* ── FOOTER ──────────────────────────────── */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

/* ── RESPONSIVE ──────────────────────────── */

/* Tablet — 768px and below */
@media (max-width: 768px) {
    nav {
        padding: 1.4rem 2rem;
    }

    .hero-logo-svg {
        width: clamp(180px, 55vw, 320px);
    }

    .hero-tagline {
        font-size: clamp(0.6rem, 2.2vw, 0.75rem);
        gap: 0.6rem;
    }

    .tagline-cycle {
        min-width: 220px;
    }

    .contact {
        padding: 8rem 2.5rem 6rem;
    }

    .contact-heading {
        margin-bottom: 3.5rem;
    }

    .form-grid {
        column-gap: 2.5rem;
    }
}

/* Mobile — 480px and below */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        justify-content: center;
    }

    .video-wrapper {
        min-height: 100vh;
    }

    nav {
        padding: 1.25rem 1.5rem;
    }

    nav .nav-brand {
        font-size: 0.95rem;
        letter-spacing: 0.25em;
    }

    nav .nav-link {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }

    .hero-content {
        padding: 1.5rem;
        justify-content: center;
    }

    .hero-logo-svg {
        width: clamp(160px, 72vw, 280px);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: clamp(0.82rem, 3.5vw, 1rem);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-tagline {
        font-size: clamp(0.55rem, 2.8vw, 0.7rem);
        gap: 0.55rem;
        letter-spacing: 0.3em;
    }

    .tagline-static {
        letter-spacing: 0.25em;
    }

    .tagline-cycle {
        min-width: 180px;
        letter-spacing: 0.3em;
    }

    .tagline-cycle span {
        letter-spacing: 0.3em;
    }

    .scroll-cue {
        bottom: 2rem;
    }

    .scroll-line {
        height: 28px;
    }

    .contact {
        padding: 6rem 1.5rem 4rem;
    }

    .section-label {
        font-size: 0.58rem;
    }

    .contact-heading {
        font-size: clamp(2rem, 9vw, 2.8rem);
        margin-bottom: 2.75rem;
        line-height: 1.2;
    }

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

    .form-field {
        margin-bottom: 2.25rem;
    }

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

    .form-field label {
        font-size: 0.55rem;
        letter-spacing: 0.35em;
    }

    .form-field input,
    .form-field textarea {
        font-size: 1rem; /* prevents iOS zoom on focus */
        padding: 0.75rem 0;
    }

    .form-field textarea {
        height: 130px;
    }

    .submit-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        text-align: center;
    }

    .form-status {
        text-align: center;
    }

    footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

/* Very small phones — 360px and below */
@media (max-width: 360px) {
    .hero-logo-svg {
        width: clamp(140px, 78vw, 240px);
    }

    .hero-tagline {
        font-size: 0.52rem;
        letter-spacing: 0.2em;
    }

    .tagline-cycle {
        min-width: 150px;
    }

    .contact {
        padding: 5.5rem 1.25rem 3.5rem;
    }
}