:root {
    --trem419-navy: #071e33;
    --trem419-blue: #0b67a3;
    --trem419-sky: #21a9e1;
    --trem419-ink: #132235;
    --trem419-muted: #5e6c7c;
    --trem419-border: #d9e2ea;
    --trem419-soft: #f3f7fa;
    --trem419-white: #fff;
    --trem419-error: #b42318;
    --trem419-success: #137a4a;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--trem419-soft);
}

body.trem419-applications-page {
    min-width: 320px;
    margin: 0;
    color: var(--trem419-ink);
    background:
        radial-gradient(circle at 95% 0, rgb(33 169 225 / 16%), transparent 30rem),
        linear-gradient(180deg, #edf5fa 0, #f8fafc 34rem, #f3f7fa 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.trem419-shell {
    width: min(100% - 36px, 940px);
    margin: 0 auto;
    padding: 50px 0 54px;
}

.trem419-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.trem419-brand {
    display: block;
    width: min(100%, 640px);
    margin: 0 auto;
    text-decoration: none;
}

.trem419-logo {
    display: block;
    width: 100%;
    height: auto;
}

.trem419-intro {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.trem419-eyebrow,
.trem419-step {
    margin: 0 0 12px;
    color: var(--trem419-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.trem419-intro h1,
.trem419-success h1 {
    margin: 0;
    color: var(--trem419-navy);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.trem419-lead {
    max-width: 760px;
    margin: 24px auto 0;
    color: #3c5064;
    font-size: clamp(19px, 2.4vw, 23px);
    line-height: 1.55;
}

.trem419-award {
    max-width: 690px;
    margin: 20px auto 0;
    color: #40586c;
    font-size: 16px;
    font-weight: 650;
}

.trem419-callout {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 20px;
    border: 1px solid #bdd7e7;
    border-radius: 999px;
    color: #24465c;
    background: rgb(255 255 255 / 74%);
    font-size: 15px;
}

.trem419-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
    text-align: left;
}

.trem419-highlights > div {
    padding: 18px;
    border: 1px solid #d3e1ea;
    border-radius: 12px;
    background: rgb(255 255 255 / 78%);
}

.trem419-highlights strong,
.trem419-highlights span {
    display: block;
}

.trem419-highlights strong {
    margin-bottom: 6px;
    color: var(--trem419-navy);
    font-size: 15px;
}

.trem419-highlights span {
    color: #506477;
    font-size: 14px;
    line-height: 1.5;
}

.trem419-card {
    overflow: hidden;
    border: 1px solid var(--trem419-border);
    border-radius: 22px;
    background: var(--trem419-white);
    box-shadow: 0 24px 70px rgb(16 43 66 / 10%);
}

.trem419-card-heading {
    padding: 44px 50px 38px;
    border-bottom: 1px solid var(--trem419-border);
}

.trem419-card-heading h2 {
    margin: 0;
    color: var(--trem419-navy);
    font-size: 34px;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.trem419-card-heading p:last-child {
    max-width: 700px;
    margin: 12px 0 0;
    color: var(--trem419-muted);
}

.trem419-errors {
    margin: 30px 50px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--trem419-error);
    border-radius: 6px;
    color: #76251f;
    background: #fff3f2;
}

.trem419-errors p {
    margin: 4px 0 0;
}

.trem419-errors ul {
    margin: 8px 0 0 20px;
}

.trem419-errors a {
    color: inherit;
    font-weight: 650;
}

.trem419-form {
    padding: 8px 50px 50px;
}

.trem419-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 36px 0;
    border: 0;
    border-bottom: 1px solid var(--trem419-border);
}

.trem419-card[aria-labelledby="photographer-application-form-title"] .trem419-form fieldset {
    margin-bottom: 18px;
}

.trem419-form legend {
    width: 100%;
    margin-bottom: 22px;
    color: var(--trem419-navy);
    font-size: 21px;
    font-weight: 800;
}

.trem419-grid {
    display: grid;
    gap: 20px;
}

.trem419-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trem419-field {
    margin-bottom: 22px;
}

.trem419-field-note {
    margin: -10px 0 20px;
    color: var(--trem419-muted);
    font-size: 14px;
}

.trem419-grid .trem419-field {
    margin-bottom: 0;
}

.trem419-field label:not(.trem419-check),
.trem419-label {
    display: block;
    margin-bottom: 8px;
    color: #203448;
    font-size: 15px;
    font-weight: 750;
}

.trem419-field label > span[aria-hidden="true"],
.trem419-label > span {
    color: var(--trem419-error);
}

.trem419-field input[type="text"],
.trem419-field input[type="email"],
.trem419-field input[type="tel"],
.trem419-field input[type="url"],
.trem419-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #aebdca;
    border-radius: 8px;
    color: var(--trem419-ink);
    background: #fff;
    font: inherit;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.trem419-field textarea {
    min-height: 148px;
    resize: vertical;
}

.trem419-field input:focus,
.trem419-field textarea:focus {
    border-color: var(--trem419-blue);
    outline: 0;
    box-shadow: 0 0 0 4px rgb(11 103 163 / 14%);
}

.trem419-field.has-error input,
.trem419-field.has-error textarea {
    border-color: var(--trem419-error);
}

.trem419-field-error {
    margin: 7px 0 0;
    color: var(--trem419-error);
    font-size: 14px;
    font-weight: 650;
}

.trem419-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.trem419-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--trem419-border);
    border-radius: 8px;
    color: #32475a;
    background: #fbfcfd;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.35;
}

.trem419-check:hover {
    border-color: #91b3ca;
    background: #f5fafd;
}

.trem419-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--trem419-blue);
}

.trem419-check-large {
    padding: 15px 16px;
    font-size: 16px;
}

.trem419-confirmations {
    padding-bottom: 20px !important;
    border-bottom: 0 !important;
}

.trem419-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 12px;
}

.trem419-submit-row button {
    min-height: 54px;
    padding: 13px 26px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--trem419-blue);
    box-shadow: 0 8px 20px rgb(11 103 163 / 20%);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.trem419-submit-row button:hover {
    background: #075883;
    box-shadow: 0 10px 24px rgb(11 103 163 / 28%);
    transform: translateY(-1px);
}

.trem419-submit-row button:focus {
    outline: 3px solid rgb(33 169 225 / 42%);
    outline-offset: 3px;
}

.trem419-submit-row p {
    margin: 0;
    color: var(--trem419-muted);
    font-size: 14px;
}

.trem419-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.trem419-success {
    max-width: 720px;
    margin: 12vh auto;
    padding: 64px;
    text-align: center;
}

.trem419-success-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--trem419-success);
    font-size: 28px;
    font-weight: 900;
}

.trem419-success h1 {
    font-size: clamp(34px, 5vw, 50px);
}

.trem419-success p:not(.trem419-eyebrow) {
    color: var(--trem419-muted);
    font-size: 18px;
}

.trem419-footer {
    max-width: 760px;
    margin: 32px auto 0;
    color: #4c5d6e;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.trem419-footer p {
    margin: 8px 0;
}

@media (max-width: 700px) {
    .trem419-shell {
        width: min(100% - 22px, 940px);
        padding-top: 30px;
    }

    .trem419-header {
        margin-bottom: 28px;
    }

    .trem419-brand {
        width: min(calc(100vw - 16px), 520px);
    }

    .trem419-callout {
        border-radius: 12px;
    }

    .trem419-card {
        border-radius: 14px;
    }

    .trem419-card-heading,
    .trem419-form {
        padding-right: 22px;
        padding-left: 22px;
    }

    .trem419-errors {
        margin-right: 22px;
        margin-left: 22px;
    }

    .trem419-grid-2,
    .trem419-check-grid,
    .trem419-highlights {
        grid-template-columns: 1fr;
    }

    .trem419-submit-row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .trem419-submit-row button {
        width: 100%;
    }

    .trem419-success {
        margin: 6vh auto;
        padding: 42px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Videographer production selector uses the recovered form field treatment. */
.trem419-video-form select{display:block;width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--trem419-border);border-radius:8px;background:#fff;color:var(--trem419-ink);font:inherit}.trem419-video-form select:focus-visible{outline:3px solid var(--trem419-sky);outline-offset:2px}
