/* ==========================================================
   CoregenX: Internship page (css/internship-page.css)
   Loads after the shared theme/header/footer CSS and only styles this page.
   Owner, 17 Oct: one intro section + the application form, nothing else.
   1. Intro: copy on the left; photo on a teal-green disc with the internship tracks card
   2. Apply: violet panel (what you get, what happens next) + grouped form card
   Theme palette only (teal-green lead, pink CTA, navy, violet). No blue, no dot grids.
   Jost headings, Open Sans text. Motion only runs without prefers-reduced-motion.
   Version: 20261017
   ========================================================== */

.in-page {
    --in-ink: #343c55;
    --in-body: #5e6371;
    --in-muted: #868b9b;
    --in-line: #e3e4ee;
    --in-soft: #f8f6ff;
    --in-violet: #432d92;
    --in-navy: #1c1446;
    --in-teal: #359fad;
    --in-teal-dk: #24808c;
    --in-mint: #4cdaa0;
    --in-pink: #d9265f;
    --in-green: linear-gradient(270deg, #359fad, #4cdaa0);
    --in-pinkg: linear-gradient(135deg, #f9758f, #d9265f);
    --in-ease: cubic-bezier(.2, .7, .2, 1);
    --in-gutter: clamp(16px, 4vw, 40px);
    --in-cycle: 3.2s;
    font-family: "Open Sans", sans-serif;
    color: var(--in-body);
    overflow-x: clip;
}

.in-page *,
.in-page *::before,
.in-page *::after {
    box-sizing: border-box;
}

.in-wrap {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 2 * var(--in-gutter)));
    margin: 0 auto;
}

.in-page h1,
.in-page h2 {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    color: var(--in-ink);
    letter-spacing: 0;
    text-transform: none;
}

.in-page p {
    margin: 0;
}

.in-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.in-ic {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.in-logo {
    width: 14px;
    height: 14px;
    flex: none;
}

/* Buttons */
.in-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--in-ease), box-shadow .25s ease;
}

.in-btn .in-ic {
    transition: transform .25s var(--in-ease);
}

.in-btn:hover .in-ic {
    transform: translateX(3px);
}

.in-btn--pink {
    background: var(--in-pinkg);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(217, 38, 95, .7);
}

.in-btn--pink:hover,
.in-btn--pink:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -14px rgba(217, 38, 95, .75);
}

.in-btn:focus-visible {
    outline: 3px solid rgba(53, 159, 173, .55);
    outline-offset: 3px;
}

.in-btn:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

/* ---------- 1. Intro ---------- */

.in-hero {
    position: relative;
    padding: clamp(22px, 3.2vw, 36px) 0 clamp(36px, 4.8vw, 54px);
    overflow: hidden;
    background:
        radial-gradient(560px 440px at 80% 50%, rgba(76, 218, 160, .13), transparent 70%),
        radial-gradient(520px 380px at 2% 0%, rgba(67, 45, 146, .06), transparent 70%),
        #fff;
}

.in-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.in-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 26px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--in-muted);
}

.in-crumbs a {
    color: var(--in-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.in-crumbs a:hover,
.in-crumbs a:focus-visible {
    color: var(--in-teal-dk);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.in-crumbs .in-ic {
    width: 14px;
    height: 14px;
    color: #b9bccb;
}

.in-crumbs [aria-current="page"] {
    font-weight: 600;
    color: var(--in-teal-dk);
}

.in-eyebrow {
    margin: 0 0 14px !important;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--in-teal-dk);
}

.in-hero__title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
}

.in-hero__title span {
    background: var(--in-green);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.in-lead {
    max-width: 520px;
    margin: 0 0 30px !important;
    font-size: 15.5px;
    line-height: 26px;
    color: var(--in-body);
    text-align: justify;
}

.in-lead strong {
    font-weight: 600;
    color: var(--in-ink);
}

/* Hero points: sets of two */
.in-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 12px 32px;
    margin: -12px 0 30px;
    padding: 0;
    list-style: none;
}

.in-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--in-ink);
}

.in-points .in-ic {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(76, 218, 160, .18);
    color: var(--in-teal-dk);
    stroke-width: 2.6;
}

.in-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.in-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--in-ink);
}

.in-hero__note .in-ic {
    width: 18px;
    height: 18px;
    color: var(--in-teal);
}

/* Visual: photo on a teal-green disc, a thin orbit ring, the tracks card in front */
.in-hero__visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding: 56px 0 40px;
}

.in-hero__stage {
    position: relative;
    width: 54%;
    margin: 0 12% 0 auto;
}

.in-hero__disc,
.in-hero__orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    translate: -50% -50%;
    pointer-events: none;
}

.in-hero__disc {
    width: 132%;
    background: var(--in-green);
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .14);
}

.in-hero__orbit {
    width: 156%;
    border: 1.5px solid rgba(67, 45, 146, .14);
}

.in-hero__orbit i {
    position: absolute;
    left: 50%;
    top: -7px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--in-pinkg);
    box-shadow: 0 6px 14px -4px rgba(217, 38, 95, .6);
}

.in-hero__photo {
    position: relative;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 24px;
    background: #eef0f4;
    box-shadow: 0 30px 60px -28px rgba(28, 20, 70, .5);
    aspect-ratio: 424 / 580;
}

.in-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Tracks card */
.in-track {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 286px;
    padding: 14px 10px 10px;
    border: 1px solid rgba(227, 228, 238, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 26px 50px -24px rgba(28, 20, 70, .4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.in-track__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px 8px !important;
    font-family: "Jost", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--in-teal-dk);
}

.in-track__head .in-ic {
    width: 16px;
    height: 16px;
}

.in-track__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.in-track__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    overflow: hidden;
    border-radius: 12px;
    transition: background-color .45s ease, box-shadow .45s ease;
}

.in-track__row.is-on {
    background: #fff;
    box-shadow: 0 12px 26px -16px rgba(28, 20, 70, .4), inset 0 0 0 1px rgba(76, 218, 160, .5);
}

.in-track__ic {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 11px;
    background: rgba(53, 159, 173, .1);
    color: var(--in-teal-dk);
    transition: background .45s ease, color .45s ease;
}

.in-track__ic .in-ic {
    width: 17px;
    height: 17px;
}

.in-track__row.is-on .in-track__ic {
    background: var(--in-green);
    color: #fff;
}

.in-track__txt {
    min-width: 0;
}

.in-track__txt b {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--in-ink);
}

.in-track__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--in-body);
    opacity: .72;
    transition: opacity .45s ease;
}

.in-track__row.is-on .in-track__tools {
    opacity: 1;
}

.in-track__tools > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.in-track__tools .in-ic--tool {
    width: 13px;
    height: 13px;
    color: var(--in-teal-dk);
}

/* Progress line on the highlighted track while the card moves on by itself */
.in-track.is-auto .in-track__row.is-on::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--in-green);
    transform-origin: left center;
    animation: in-fill var(--in-cycle) linear both;
}

@keyframes in-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ---------- 2. Apply: violet panel + grouped form ---------- */

.in-apply {
    position: relative;
    padding: clamp(38px, 4.8vw, 60px) 0 clamp(44px, 5.6vw, 70px);
    background: var(--in-soft);
    scroll-margin-top: 80px;
}

.in-applygrid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 60px -36px rgba(28, 20, 70, .35), 0 0 0 1px rgba(67, 45, 146, .05);
}

/* Violet panel */
.in-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 34px 40px 32px;
    overflow: hidden;
    background:
        radial-gradient(440px 320px at 0% 0%, rgba(76, 218, 160, .16), transparent 70%),
        var(--in-violet);
    color: rgba(255, 255, 255, .82);
    isolation: isolate;
}

.in-panel__ring,
.in-panel__line {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.in-panel__ring {
    right: -120px;
    top: -120px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .035), 0 0 0 84px rgba(255, 255, 255, .02);
}

.in-panel__ring--2 {
    right: auto;
    top: auto;
    left: -96px;
    bottom: -132px;
    width: 250px;
    height: 250px;
    border-color: rgba(76, 218, 160, .38);
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .03);
}

.in-panel__line {
    right: -40px;
    bottom: 150px;
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(76, 218, 160, .5));
    transform: rotate(-32deg);
}

.in-page .in-panel h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
    color: #fff;
}

.in-panel__label {
    margin: 0 0 16px !important;
    font-family: "Jost", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #8ff0c6;
}

.in-gets,
.in-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.in-gets {
    display: grid;
    gap: 18px;
}

.in-gets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.in-gets b,
.in-steps b {
    display: block;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

.in-gets b {
    font-size: 16px;
}

.in-gets__desc,
.in-steps__desc {
    display: block;
    margin-top: 2px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .72);
}

.in-gets__desc {
    font-size: 13.5px;
}

.in-gets__ic {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    background: var(--in-green);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(76, 218, 160, .6);
}

.in-next {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.in-steps {
    position: relative;
    display: grid;
    gap: 16px;
}

.in-steps::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(180deg, #4cdaa0, rgba(255, 255, 255, .16));
    transform-origin: center top;
}

.in-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.in-steps b {
    font-size: 15px;
}

.in-steps__desc {
    font-size: 13px;
}

.in-steps__n {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border: 2px solid #4cdaa0;
    border-radius: 50%;
    background: var(--in-violet);
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.in-steps li:first-child .in-steps__n {
    border-color: transparent;
    background: var(--in-green);
    box-shadow: 0 0 0 5px rgba(76, 218, 160, .18);
}

/* Form card */
.in-formcard {
    padding: 28px 36px 26px;
}

.in-form {
    display: grid;
    gap: 16px;
}

.in-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.in-group__title {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 0 7px;
    border-bottom: 1px solid var(--in-line);
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--in-ink);
}

.in-group__ic {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 8px;
    background: rgba(53, 159, 173, .12);
    color: var(--in-teal-dk);
}

.in-group__ic .in-ic {
    width: 16px;
    height: 16px;
}

.in-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.in-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

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

.in-field label {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--in-ink);
}

.in-req {
    font-weight: 400;
    color: rgba(217, 38, 95, .75);
}

.in-input {
    position: relative;
}

.in-input .in-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    margin-top: -8.5px;
    color: #a3a7b5;
    pointer-events: none;
    transition: color .2s ease;
}

.in-input:focus-within .in-ic {
    color: var(--in-teal);
}

.in-input input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px 0 42px;
    border: 1px solid var(--in-line);
    border-radius: 12px;
    background: #fbfbfe;
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px;
    color: var(--in-ink);
    box-shadow: none;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.in-input input::placeholder {
    font-size: 13.5px;
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}

.in-input input:hover {
    border-color: #cfd1e0;
}

.in-input input:focus {
    border-color: #4cdaa0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 218, 160, .2);
}

/* "How did you hear" select, same look as the text inputs */
.in-input--select select {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 40px 0 42px;
    border: 1px solid var(--in-line);
    border-radius: 12px;
    background: #fbfbfe;
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px;
    color: var(--in-ink);
    box-shadow: none;
    outline: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.in-input--select select:invalid,
.in-input--select select:has(option[value=""]:checked) {
    color: #94a3b8;
}

.in-input--select select:hover {
    border-color: #cfd1e0;
}

.in-input--select select:focus {
    border-color: #4cdaa0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 218, 160, .2);
}

.in-input--select .in-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    fill: none;
    stroke: #a3a7b5;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.in-form.was-checked .in-input input:invalid {
    border-color: rgba(217, 38, 95, .6);
    box-shadow: 0 0 0 4px rgba(217, 38, 95, .07);
}

/* Area of interest: quick picks that fill the field */
.in-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.in-picks[hidden] {
    display: none;
}

.in-pick {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--in-line);
    border-radius: 999px;
    background: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--in-body);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s var(--in-ease);
}

.in-pick:hover {
    border-color: rgba(53, 159, 173, .55);
    color: var(--in-teal-dk);
}

.in-pick:focus-visible {
    outline: 3px solid rgba(53, 159, 173, .45);
    outline-offset: 2px;
}

.in-pick[aria-pressed="true"] {
    border-color: #4cdaa0;
    background: rgba(76, 218, 160, .14);
    color: #1d6a74;
}

.in-pick[aria-pressed="true"]::before {
    content: "";
    width: 5px;
    height: 9px;
    margin: -3px 1px 0 0;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#intern-recaptcha-holder {
    position: absolute;
    height: 0;
    margin: 0;
}

.in-form__foot {
    display: grid;
    gap: 12px;
}

.in-submit {
    width: 100%;
}

.in-form__note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--in-muted);
    text-align: center;
}

.in-form__note a {
    color: var(--in-teal-dk);
    text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .in-formcard {
        padding: 26px 30px 24px;
    }

    .in-panel {
        padding: 40px 32px 36px;
    }
}

@media (max-width: 991px) {
    .in-hero {
        padding: 22px 0 40px;
    }

    .in-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .in-hero__copy {
        max-width: 620px;
    }

    .in-hero__visual {
        max-width: 470px;
        margin: 0 auto;
    }

    .in-hero__title {
        font-size: 30px;
    }

    .in-apply {
        padding: 34px 0 48px;
    }

    .in-applygrid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .in-panel {
        gap: 24px;
        padding: 32px 28px;
    }

    .in-gets {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .in-gets li {
        flex-direction: column;
        gap: 10px;
    }

    .in-next {
        padding-top: 22px;
    }

    .in-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .in-steps::before {
        left: calc(100% / 6);
        right: calc(100% / 6);
        top: 15px;
        bottom: auto;
        width: auto;
        height: 2px;
        background: linear-gradient(90deg, #4cdaa0, rgba(255, 255, 255, .16));
        transform-origin: left center;
    }

    .in-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .in-panel__line {
        display: none;
    }
}

@media (max-width: 767px) {
    .in-hero {
        padding: 16px 0 32px;
    }

    .in-hero__inner {
        gap: 26px;
    }

    .in-eyebrow {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .in-hero__title {
        font-size: 26px;
        line-height: 1.22;
    }

    .in-lead {
        margin-bottom: 24px !important;
        font-size: 15px;
        line-height: 25px;
    }

    .in-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        margin: -8px 0 24px;
    }

    .in-points li {
        align-items: flex-start;
        gap: 8px;
        font-size: 14px;
        line-height: 20px;
    }

    .in-points .in-ic {
        width: 20px;
        height: 20px;
    }

    .in-hero__cta {
        gap: 14px;
    }

    .in-hero__visual {
        max-width: 340px;
        padding: 16px 0 0;
    }

    .in-hero__stage {
        width: 60%;
        margin: 0 auto;
    }

    .in-track {
        position: relative;
        width: min(300px, 100%);
        margin: -56px auto 0;
    }

    .in-apply {
        padding: 26px 0 38px;
    }

    .in-applygrid {
        border-radius: 18px;
    }

    /* Compact violet band above the form */
    .in-panel {
        gap: 18px;
        padding: 24px 18px 22px;
    }

    .in-page .in-panel h2 {
        font-size: 21px;
    }

    .in-panel__label {
        margin-bottom: 12px !important;
        font-size: 11.5px;
        letter-spacing: 2px;
    }

    .in-panel__ring {
        right: -150px;
        top: -170px;
    }

    .in-gets {
        gap: 8px;
    }

    .in-gets li {
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .in-gets__ic {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .in-gets__ic .in-ic {
        width: 16px;
        height: 16px;
    }

    .in-gets b {
        font-size: 13px;
        line-height: 1.25;
    }

    .in-gets__desc,
    .in-steps__desc {
        display: none;
    }

    .in-next {
        padding-top: 18px;
    }

    .in-steps__n {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .in-steps::before {
        top: 15px;
    }

    .in-steps b {
        font-size: 14px;
    }

    .in-formcard {
        padding: 24px 18px 24px;
    }

    .in-form {
        gap: 16px;
    }

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

    .in-input input {
        font-size: 16px;
    }

    .in-pick {
        min-height: 36px;
        padding: 0 13px;
    }
}

@media (max-width: 374px) {
    .in-hero__title {
        font-size: 24px;
    }

    .in-panel {
        padding-left: 14px;
        padding-right: 14px;
    }

    .in-gets b {
        font-size: 12.5px;
    }

    .in-formcard {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* ---------- Motion (skipped under prefers-reduced-motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
    .in-js .in-page [data-in-rv] {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .6s var(--in-ease), transform .6s var(--in-ease);
        transition-delay: calc(var(--i, 0) * 80ms);
    }

    .in-js .in-page [data-in-rv].is-in {
        opacity: 1;
        transform: none;
    }

    .in-hero__disc {
        animation: in-float 9s ease-in-out infinite;
    }

    .in-hero__orbit {
        animation: in-spin 38s linear infinite;
    }

    /* The timeline line draws in when the panel appears */
    .in-js .in-panel .in-steps::before {
        transform: scaleY(0);
        transition: transform 1s .35s var(--in-ease);
    }

    .in-js .in-panel.is-in .in-steps::before {
        transform: none;
    }

    /* A soft glint now and then on the intro CTA only */
    .in-hero__cta .in-btn--pink::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -60%;
        width: 40%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
        transform: skewX(-18deg);
        animation: in-glint 6.5s 2s ease-in-out infinite;
        pointer-events: none;
    }

    .in-pick:active {
        transform: scale(.96);
    }

    @keyframes in-float {
        50% { transform: translateY(-10px) scale(1.02); }
    }

    @keyframes in-spin {
        to { transform: rotate(360deg); }
    }

    @keyframes in-glint {
        0%, 70% { left: -60%; }
        85%, 100% { left: 130%; }
    }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 991px) {
    .in-js .in-panel .in-steps::before {
        transform: scaleX(0);
    }
}

.in-source-other {
    margin-top: 10px;
}

.in-source-other[hidden] {
    display: none;
}

/* ---------- J12 (owner mobile review, 2026-10-21) ---------- */

/* "How did you hear" is required: the same error style as the text fields after a submit attempt */
.in-form.was-checked .in-input--select select:invalid {
    border-color: rgba(217, 38, 95, .6);
    box-shadow: 0 0 0 4px rgba(217, 38, 95, .07);
}

/* Resume upload (required; PDF, DOC or DOCX up to 5 MB, checked again in internship.php) */
.in-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 9px 14px;
    border: 1.5px dashed rgba(53, 159, 173, .5);
    border-radius: 12px;
    background: #fbfbfe;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.in-upload input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.in-upload:hover {
    border-color: var(--in-teal);
    background: rgba(76, 218, 160, .06);
}

.in-upload:focus-within {
    border-color: #4cdaa0;
    box-shadow: 0 0 0 4px rgba(76, 218, 160, .2);
}

.in-upload.has-file {
    border-style: solid;
    border-color: var(--in-mint);
    background: rgba(76, 218, 160, .08);
}

.in-upload.is-error,
.in-form.was-checked .in-upload:has(input:invalid) {
    border-color: rgba(217, 38, 95, .6);
    box-shadow: 0 0 0 4px rgba(217, 38, 95, .07);
}

.in-upload__ic {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: rgba(53, 159, 173, .12);
    color: var(--in-teal-dk);
}

.in-upload__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.in-upload__cta {
    font-family: "Jost", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--in-ink);
}

.in-upload__hint {
    font-size: 12px;
    line-height: 1.35;
    color: var(--in-muted);
}

.in-upload__file {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--in-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.in-upload__file:empty,
.in-upload.has-file .in-upload__hint {
    display: none;
}

.in-upload.is-error .in-upload__file {
    color: var(--in-pink);
}

/* Phones: the title on one line (size follows the column) and the four points as aligned cards */
@media (max-width: 640px) {
    .in-hero__title {
        white-space: nowrap;
        font-size: 6vw;
    }

    @supports (font-size: 1cqi) {
        .in-hero__copy {
            container-type: inline-size;
        }

        .in-hero__title {
            font-size: min(26px, 6.6cqi);
        }
    }

    .in-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 8px;
    }

    .in-points li {
        align-items: center;
        gap: 7px;
        padding: 8px;
        border: 1px solid #e9eaf2;
        border-radius: 12px;
        background: #fff;
        font-size: 13.5px;
        line-height: 18px;
        text-wrap: balance;
    }

    .in-points .in-ic {
        width: 20px;
        height: 20px;
    }
}
