/* ── FONTS ───────────────────────────────────────── */
@font-face {
    font-family: 'Meso';
    src: url('/wp-content/themes/one-shot-lp-blank/assets/fonts/Meso-Extralight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Spezia';
    src: url('/wp-content/themes/one-shot-lp-blank/assets/fonts/SpeziaWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --tan: #c1b5aa;
    --black: #000000;
    --green: #bcf7a9;

    --gutter: 40px;
    --max-w: 1487px;

    --font-heading: 'Meso', ui-serif, Georgia, 'Times New Roman', serif;
    --font-body: 'Spezia', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--tan);
    color: var(--black);
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: 1px solid;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: transparent;
}

.btn--green {
    border-color: var(--green);
    background: var(--green);
    color: var(--black);
}

.btn--green:hover,
.btn--green:focus {
    background: transparent;
    color: var(--green);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero__sketch {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: 50% 50%;
    mix-blend-mode: multiply;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── HEADLINE ────────────────────────────────────── */
.headline {
    padding: 80px var(--gutter) 100px;
}

.headline__text {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.2;
    text-align: center;
}

/* ── CREDITS ─────────────────────────────────────── */
.credits {
    padding-block: 40px;
}

.credits__rule {
    border: none;
    border-top: 1px solid var(--black);
}

.credits__row {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-block: 30px;
}

.credits__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: clamp(16px, 1.8vw, 26px);
    line-height: 1.2;
}

/* ── TAGLINES ────────────────────────────────────── */
.taglines {
    padding: 100px var(--gutter) 140px;
    text-align: center;
}

.taglines__line {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.2;
}

/* ── REGISTER (footer) ───────────────────────────── */
.register {
    background: var(--black);
    color: var(--tan);
    padding: 100px var(--gutter);
}

.register__inner {
    max-width: 1013px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.register__heading {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.2;
    text-align: center;
    color: var(--tan);
}

.register__form {
    width: 100%;
    max-width: 734px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register__form .btn {
    align-self: center;
    margin-top: 62px;
}

.register__logo-link {
    display: inline-block;
    transition: opacity 0.2s ease;
    max-width: 60%;
}

.register__logo-link:hover,
.register__logo-link:focus-visible {
    opacity: 0.75;
}

.register__logo {
    width: 230px;
    height: auto;
}

/* ── FORM FIELDS (underline style) ───────────────── */
.field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.field__label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--tan);
    margin-bottom: 8px;
}

.field__req {
    color: var(--tan);
}

.field__input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--tan);
    color: var(--tan);
    font-family: var(--font-body);
    font-size: 16px;
    padding: 4px 0;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.field__input:focus {
    border-bottom-color: var(--green);
}

.field__input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--black) inset;
    -webkit-text-fill-color: var(--tan);
    caret-color: var(--tan);
}

/* ── GRAVITY FORMS (form id 1) ───────────────────────
   Mirrors the .field styling above; matches the Figma design. */
.register .gform_wrapper { width: 100%; max-width: 734px; }

/* Hide GF's "* indicates required fields" legend (not in the design),
   but keep it available to screen readers. */
.register .gform_required_legend {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Field rhythm — match the design's 18px gap */
.register .gform_wrapper .gform_fields { gap: 18px 0 !important; }
.register .gform_wrapper .gfield { margin: 0 !important; }

.register .gfield_label {
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--tan) !important;
    margin-bottom: 8px !important;
}

/* Required asterisk — tan, not the default red */
.register .gfield_required,
.register .gfield_required .gfield_required_asterisk {
    color: var(--tan) !important;
}

.register .gform_wrapper input[type="text"],
.register .gform_wrapper input[type="email"],
.register .gform_wrapper input[type="tel"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--tan) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--tan) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    padding: 8px 0 !important;
}

/* Placeholder-as-label (design pattern). The real <label> stays in the DOM as
   screen-reader text via GF's hidden_label, so accessibility is preserved. */
.register .gform_wrapper input::placeholder {
    color: var(--tan) !important;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: var(--font-body) !important;
    font-size: 16px;
}
.register .gform_wrapper input:focus {
    border-bottom-color: var(--green) !important;
    outline: none !important;
}

/* Submit button — green, centered, uppercase (matches .btn--green) */
.register .gform_footer { display: flex !important; justify-content: center !important; padding: 62px 0 0 !important; margin: 0 !important; }
.register .gform_footer input[type="submit"],
.register .gform_wrapper .gform_footer button,
.register .gform_wrapper .gform_button {
    border: 1px solid var(--green) !important;
    background: var(--green) !important;
    color: var(--black) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    padding: 15px 30px !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer;
    transition: all 0.2s ease;
}
.register .gform_footer input[type="submit"]:hover,
.register .gform_wrapper .gform_footer button:hover,
.register .gform_wrapper .gform_button:hover {
    background: transparent !important;
    color: var(--green) !important;
}

/* ── MESSAGE PAGES (404 / Thank You) ─────────────────
   Standalone, full-viewport, on-brand (black + tan, like the footer). */
.message {
    min-height: 100vh;
    background: var(--black);
    color: var(--tan);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px var(--gutter);
}

.message__inner {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.message__logo {
    width: 160px;
    max-width: 50%;
    height: auto;
    margin-bottom: 80px;
}

.message__eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tan);
    opacity: 0.7;
}

.message__title {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.2;
    color: var(--tan);
}

.message__text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.5;
    color: var(--tan);
    max-width: 46ch;
}

.message .btn {
    margin-top: 14px;
}

/* ── ANIMATIONS ──────────────────────────────────────
   Hidden state only applies when JS is available (html.js), so content is
   never invisible if JS fails or is disabled. */
.js .animate-up {
    opacity: 0;
    translate: 0 40px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), translate 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .animate-up.in-view {
    opacity: 1;
    translate: 0 0;
}

.js .animate-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .animate-fade.in-view {
    opacity: 1;
}

/* Respect users who prefer reduced motion: show everything, no movement. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .animate-up,
    .js .animate-fade {
        opacity: 1 !important;
        translate: none !important;
        transition: none !important;
    }
}

/* ── ACCESSIBILITY ───────────────────────────────────
   Skip link — visually hidden until focused. */
.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 8px;
}

/* Visible keyboard focus for interactive elements. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.register .gform_footer input[type="submit"]:focus-visible,
.register .gform_wrapper .gform_footer button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --gutter: 32px;
    }

    .credits__row {
        flex-wrap: wrap;
    }

    .credits__item {
        flex: 1 1 45%;
    }
}



@media (max-width: 640px) {
    :root {
        --gutter: 20px;
    }

    

    .headline {
        padding: 60px var(--gutter) 80px;
    }

    .taglines {
        padding: 80px var(--gutter) 100px;
    }

    .credits__item {
        flex: 1 1 100%;
    }

    .register {
        padding: 80px var(--gutter);
    }

    .register__inner {
        gap: 56px;
    }

    .hero__sketch {
        width: 90%;
        height: 90%;
    }
}


@media (max-width: 640px) and (orientation: portrait) {
    .hero {
        padding-top: 60px;
        height: auto;
    }

    .hero__sketch {
        width: 100%;
        position: relative;
        transform: none;
        top: 0;
        left: auto;
    }
}