/* =========================================================
   DEARDEN2007 — SHARE YOUR STORY
========================================================= */

:root {
    --story-red: #df252b;
    --story-red-dark: #8d0d12;

    --story-blue: #3d7df5;
    --story-blue-dark: #173e99;

    --story-panel: #11161d;
    --story-panel-dark: #090c10;
    --story-line: #303a48;

    --story-text: #f5f7fa;
    --story-muted: #b0bac6;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


.story-page {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 100px;
}


.story-eyebrow {
    display: inline-block;

    color: #78aaff;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================================================
   FLASH ALERTS
========================================================= */

.story-alerts {
    position: fixed;

    top: 22px;
    right: 22px;

    z-index: 1000;

    width: min(440px, calc(100% - 44px));
}


.story-alert {
    display: grid;

    grid-template-columns: 36px 1fr 34px;

    align-items: center;

    gap: 13px;

    margin-bottom: 12px;
    padding: 15px;

    color: white;

    background: #17202b;

    border: 1px solid #415166;
    border-radius: 12px;

    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}


.story-alert-icon {
    display: grid;
    place-items: center;

    width: 35px;
    height: 35px;

    font-weight: 900;

    background: #3168c5;

    border-radius: 50%;
}


.story-alert p {
    margin: 0;

    line-height: 1.5;
}


.story-alert-close {
    color: white;

    font-size: 25px;

    cursor: pointer;

    background: transparent;
    border: 0;
}


.story-alert-success {
    border-left: 4px solid #48c98a;
}


.story-alert-success .story-alert-icon {
    background: #217c53;
}


.story-alert-error {
    border-left: 4px solid #ff555c;
}


.story-alert-error .story-alert-icon {
    background: #9d1e23;
}


/* =========================================================
   HERO
========================================================= */

.story-hero {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    align-items: center;

    gap: clamp(50px, 8vw, 115px);

    min-height: 680px;

    padding: clamp(50px, 7vw, 95px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(61, 125, 245, 0.25),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 82%,
            rgba(223, 37, 43, 0.2),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0a0d12,
            #030405
        );

    border: 1px solid #344050;
    border-radius: 30px;

    box-shadow:
        0 35px 95px rgba(0, 0, 0, 0.55);
}


.story-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    pointer-events: none;
}


.story-hero > * {
    position: relative;
    z-index: 2;
}


.story-hero h1 {
    margin: 22px 0 25px;

    color: white;

    font-size: clamp(54px, 7vw, 96px);

    line-height: 0.95;

    letter-spacing: -4px;
}


.story-hero h1 strong {
    display: block;

    color: var(--story-red);

    text-shadow:
        0 0 34px rgba(223, 37, 43, 0.28);
}


.story-hero-copy > p {
    max-width: 800px;

    color: #c5ccd5;

    font-size: clamp(17px, 1.6vw, 22px);

    line-height: 1.75;
}


.story-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


.story-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 14px 24px;

    color: white;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 0.7px;

    border-radius: 11px;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.story-button:hover {
    color: white;

    transform: translateY(-3px);
}


.story-button-red {
    background:
        linear-gradient(
            135deg,
            #f03a40,
            var(--story-red-dark)
        );

    border: 1px solid #ff666b;

    box-shadow:
        0 12px 30px rgba(223, 37, 43, 0.25);
}


.story-button-blue {
    background:
        linear-gradient(
            135deg,
            #4a8bff,
            var(--story-blue-dark)
        );

    border: 1px solid #7dacff;

    box-shadow:
        0 12px 30px rgba(61, 125, 245, 0.25);
}


.story-trust-row {
    display: flex;
    flex-wrap: wrap;

    gap: 11px 22px;

    margin-top: 30px;

    color: #9fa9b6;

    font-size: 13px;
    font-weight: 700;
}


.story-trust-row i {
    margin-right: 6px;

    color: #78aaff;
}


.story-hero-visual {
    position: relative;

    display: grid;
    place-items: center;

    min-height: 470px;
}


.story-hero-visual > img {
    position: relative;
    z-index: 2;

    display: block;

    width: min(390px, 78%);

    border-radius: 50%;

    box-shadow:
        0 0 0 1px #48576c,
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 0 55px rgba(61, 125, 245, 0.22);
}


.story-logo-glow {
    position: absolute;

    width: min(470px, 92%);
    aspect-ratio: 1;

    background:
        radial-gradient(
            circle,
            rgba(61, 125, 245, 0.27),
            transparent 56%
        ),
        conic-gradient(
            from 30deg,
            rgba(223, 37, 43, 0.7),
            rgba(61, 125, 245, 0.65),
            rgba(223, 37, 43, 0.7)
        );

    border-radius: 50%;

    filter: blur(22px);

    opacity: 0.55;
}


.story-hero-note {
    position: absolute;

    right: 0;
    bottom: 25px;

    z-index: 3;

    width: min(320px, 83%);

    padding: 18px 20px;

    background: rgba(11, 15, 21, 0.94);

    border: 1px solid #445268;
    border-left: 4px solid var(--story-red);

    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.48);
}


.story-hero-note span {
    display: block;

    color: #ff787d;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


.story-hero-note strong {
    display: block;

    margin-top: 7px;

    color: white;

    font-size: 18px;

    line-height: 1.4;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.story-section-heading {
    max-width: 880px;

    margin: 0 auto 42px;

    text-align: center;
}


.story-section-heading h2 {
    margin: 12px 0;

    color: white;

    font-size: clamp(37px, 5vw, 58px);

    line-height: 1.08;
}


.story-section-heading p {
    margin: 0;

    color: var(--story-muted);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   REASON CARDS
========================================================= */

.story-reasons {
    padding-top: 100px;
}


.story-reason-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.story-reason-card {
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #141a22,
            #0b0e12
        );

    border: 1px solid var(--story-line);
    border-radius: 18px;

    transition: 0.25s ease;
}


.story-reason-card:hover {
    transform: translateY(-7px);

    border-color: #5376aa;

    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.45);
}


.story-reason-icon {
    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    margin-bottom: 23px;

    color: white;

    font-size: 23px;

    border-radius: 50%;
}


.story-icon-blue {
    background:
        linear-gradient(
            145deg,
            #4a8cff,
            #153b91
        );

    box-shadow:
        0 0 24px rgba(61, 125, 245, 0.23);
}


.story-icon-red {
    background:
        linear-gradient(
            145deg,
            #ef3d43,
            #8c0e13
        );

    box-shadow:
        0 0 24px rgba(223, 37, 43, 0.23);
}


.story-reason-card h3 {
    margin: 0 0 13px;

    color: white;

    font-size: 23px;
}


.story-reason-card p {
    margin: 0;

    color: #aeb7c3;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   MAIN FORM AREA
========================================================= */

.story-main-grid {
    display: grid;

    grid-template-columns:
        minmax(320px, 0.78fr)
        minmax(0, 1.22fr);

    gap: 38px;

    align-items: start;

    margin-top: 100px;

    scroll-margin-top: 25px;
}


.story-information,
.story-form-card {
    padding: clamp(34px, 5vw, 55px);

    background:
        linear-gradient(
            145deg,
            #131922,
            #090c10
        );

    border: 1px solid var(--story-line);
    border-radius: 23px;

    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.36);
}


.story-information {
    position: sticky;

    top: 24px;
}


.story-information > h2 {
    margin: 13px 0 18px;

    color: white;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.08;
}


.story-information > p {
    color: #b8c1cc;

    font-size: 17px;

    line-height: 1.75;
}


.story-process {
    display: grid;

    gap: 17px;

    margin: 35px 0;
}


.story-process article {
    display: grid;

    grid-template-columns:
        49px 1fr;

    gap: 15px;

    align-items: start;

    padding: 18px 0;

    border-top: 1px solid #2c3542;
}


.story-process article > span {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    color: #9dc0ff;

    font-size: 12px;
    font-weight: 900;

    background: #11213a;

    border: 1px solid #31558c;
    border-radius: 50%;
}


.story-process h3 {
    margin: 2px 0 5px;

    color: white;

    font-size: 17px;
}


.story-process p {
    margin: 0;

    color: #9fa9b6;

    font-size: 14px;

    line-height: 1.6;
}


.story-privacy-card,
.story-safety-card {
    display: grid;

    grid-template-columns:
        43px 1fr;

    gap: 14px;

    padding: 19px;

    border-radius: 13px;
}


.story-privacy-card {
    background: #0e1725;

    border: 1px solid #304d77;
}


.story-privacy-card > i {
    color: #72a4fc;

    font-size: 25px;
}


.story-privacy-card small {
    display: block;

    color: #83adf7;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.story-privacy-card p {
    margin: 7px 0 0;

    color: #bdc8d6;

    font-size: 13px;

    line-height: 1.6;
}


.story-safety-card {
    margin-top: 20px;

    background: #1c1011;

    border: 1px solid #563034;
}


.story-safety-card > i {
    color: #ff6f75;

    font-size: 25px;
}


.story-safety-card h3 {
    margin: 0 0 7px;

    color: white;

    font-size: 16px;
}


.story-safety-card p {
    margin: 0;

    color: #c6aaad;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.story-form-heading {
    padding-bottom: 25px;

    border-bottom: 1px solid #2d3642;
}


.story-form-heading h2 {
    margin: 10px 0;

    color: white;

    font-size: clamp(39px, 5vw, 58px);

    line-height: 1.08;
}


.story-form-heading p {
    margin: 0;

    color: #aab4c1;
}


.story-form-heading strong,
.story-field > span strong {
    color: #ff656b;
}


#storySubmissionForm {
    display: grid;

    gap: 22px;

    margin-top: 30px;
}


.story-field {
    display: grid;

    gap: 8px;
}


.story-field > span {
    color: #eef1f5;

    font-size: 14px;
    font-weight: 850;
}


.story-field > span em {
    color: #7f8997;

    font-style: normal;
    font-weight: 600;
}


.story-field input,
.story-field select,
.story-field textarea {
    width: 100%;

    color: white;

    font: inherit;

    background: #080b0f;

    border: 1px solid #3a4554;
    border-radius: 10px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.story-field input,
.story-field select {
    min-height: 53px;

    padding: 12px 14px;
}


.story-field textarea {
    min-height: 330px;

    padding: 16px;

    resize: vertical;

    line-height: 1.7;
}


.story-field input:focus,
.story-field select:focus,
.story-field textarea:focus {
    background: #0d1117;

    border-color: #67a0ff;

    box-shadow:
        0 0 0 4px rgba(61, 125, 245, 0.13);
}


.story-field.is-invalid input,
.story-field.is-invalid select,
.story-field.is-invalid textarea {
    border-color: #ff595f;

    box-shadow:
        0 0 0 4px rgba(223, 37, 43, 0.11);
}


.story-field small {
    color: #7f8997;

    font-size: 11px;

    line-height: 1.5;
}


.story-field-meta {
    display: flex;

    justify-content: space-between;

    gap: 18px;
}


#titleCounter,
#storyCounter {
    flex: none;

    color: #98b8ed;

    font-weight: 800;
}


.story-field-error {
    display: none;

    color: #ff7c81 !important;

    font-weight: 750;
}


.story-field.is-invalid .story-field-error {
    display: block;
}


/* Checkbox cards */

.story-choice {
    display: grid;

    grid-template-columns:
        22px 1fr;

    gap: 13px;

    align-items: start;

    padding: 18px;

    cursor: pointer;

    background: #0d1117;

    border: 1px solid #343e4c;
    border-radius: 11px;

    transition: 0.2s ease;
}


.story-choice:hover {
    border-color: #5075aa;

    background: #111824;
}


.story-choice input {
    width: 19px;
    height: 19px;

    margin-top: 2px;

    accent-color: var(--story-blue);
}


.story-choice strong,
.story-choice small {
    display: block;
}


.story-choice strong {
    color: white;

    font-size: 14px;
}


.story-choice small {
    margin-top: 5px;

    color: #8e99a7;

    font-size: 12px;

    line-height: 1.5;
}


.story-submit-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 58px;

    color: white;

    font: inherit;

    font-size: 15px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #ef3a40,
            #941015
        );

    border: 1px solid #ff656b;
    border-radius: 11px;

    box-shadow:
        0 14px 35px rgba(223, 37, 43, 0.23);

    transition: 0.22s ease;
}


.story-submit-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 19px 45px rgba(223, 37, 43, 0.32);
}


.story-submit-button:disabled {
    cursor: wait;

    opacity: 0.68;

    transform: none;
}


.story-form-note {
    margin: 0;

    color: #8994a2;

    text-align: center;

    font-size: 11px;
}


.story-form-note i {
    margin-right: 5px;

    color: #6fa2fa;
}


/* =========================================================
   QUOTE
========================================================= */

.story-quote {
    position: relative;

    margin-top: 100px;

    padding: clamp(45px, 7vw, 80px);

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(61, 125, 245, 0.18),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #0d1420,
            #16090b
        );

    border: 1px solid #3c4654;
    border-radius: 25px;
}


.story-quote-mark {
    position: absolute;

    top: -35px;
    left: 30px;

    color: rgba(255, 255, 255, 0.07);

    font-family: Georgia, serif;

    font-size: 210px;

    line-height: 1;
}


.story-quote blockquote {
    position: relative;

    max-width: 1050px;

    margin: 0 auto;

    color: white;

    font-family: Georgia, serif;

    font-size: clamp(28px, 4vw, 48px);
    font-style: italic;

    line-height: 1.45;
}


.story-quote p {
    margin: 25px 0 0;

    color: #87b3ff;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================================
   FINAL CTA
========================================================= */

.story-final-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    margin-top: 100px;

    padding: clamp(42px, 6vw, 75px);

    background:
        linear-gradient(
            110deg,
            rgba(19, 57, 132, 0.94),
            rgba(10, 14, 22, 0.97) 48%,
            rgba(105, 12, 17, 0.92)
        );

    border: 1px solid #4d5d73;
    border-radius: 27px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.42);
}


.story-final-cta h2 {
    margin: 14px 0;

    color: white;

    font-size: clamp(37px, 4.5vw, 62px);

    line-height: 1.06;
}


.story-final-cta h2 strong {
    display: block;

    color: #ff656b;
}


.story-final-cta p {
    max-width: 880px;

    margin: 0;

    color: #d0d6de;

    font-size: 18px;

    line-height: 1.75;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1150px) {

    .story-reason-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 1000px) {

    .story-hero {
        grid-template-columns: 1fr;
    }


    .story-hero-visual {
        min-height: 430px;
    }


    .story-main-grid {
        grid-template-columns: 1fr;
    }


    .story-information {
        position: static;
    }


    .story-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 700px) {

    .story-page {
        width: min(100% - 28px, 1500px);

        padding-top: 22px;
    }


    .story-hero {
        padding: 43px 23px;
    }


    .story-hero h1 {
        letter-spacing: -2px;
    }


    .story-reason-grid {
        grid-template-columns: 1fr;
    }


    .story-field-meta {
        flex-direction: column;

        gap: 5px;
    }


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

}