.interview-shell {
    display: grid;
    grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
    min-height: calc(100vh - 76px);
}

.progress-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 100px) clamp(32px, 5vw, 88px);
    color: var(--white);
    background:
        radial-gradient(circle at 10% 80%, rgba(32, 201, 215, 0.2), transparent 35%),
        linear-gradient(145deg, var(--navy-800), var(--navy-950) 78%);
}

.progress-panel::after {
    position: absolute;
    right: -110px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(72, 219, 228, 0.18);
    border-radius: 50%;
    content: "";
}

.eyebrow,
.question-number {
    margin: 0 0 16px;
    color: var(--cyan-400);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.progress-panel h1,
.interview-step h2,
.role-branch h3 {
    font-family: var(--font-display);
    font-weight: 400;
}

.progress-panel h1 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(2.8rem, 5.4vw, 5.8rem);
    line-height: 0.95;
}

.progress-intro {
    max-width: 500px;
    margin: 28px 0 46px;
    color: #c7cce2;
    font-size: 1rem;
    line-height: 1.7;
}

.progress-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #b9c0dc;
    font-size: 0.78rem;
}

.progress-track {
    height: 5px;
    margin: 12px 0 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
}

.progress-track span {
    display: block;
    width: 12.5%;
    height: 100%;
    background: var(--cyan-400);
    border-radius: inherit;
    transition: width 240ms ease;
}

.step-list {
    display: grid;
    gap: 12px;
    max-width: 380px;
    margin: 0;
    padding: 0;
    color: #8f97bc;
    list-style: none;
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 36px;
    font-size: 0.9rem;
    transition: color 160ms ease, transform 160ms ease;
}

.step-list span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    font-size: 0.73rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.step-list li.is-current,
.step-list li.is-complete {
    color: var(--white);
}

.step-list li.is-current {
    transform: translateX(6px);
}

.step-list li.is-current span,
.step-list li.is-complete span {
    color: var(--navy-950);
    background: var(--cyan-400);
    border-color: var(--cyan-400);
}

.interview-card {
    padding: clamp(24px, 4vw, 60px) clamp(22px, 7vw, 110px) 48px;
    background:
        linear-gradient(rgba(67, 84, 223, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 84, 223, 0.035) 1px, transparent 1px),
        var(--lavender-50);
    background-size: 28px 28px;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 44px;
    color: var(--muted);
    font-size: 0.78rem;
}

.account-nudge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 860px;
    margin: -20px auto 24px;
    padding: 18px 20px;
    color: var(--navy-950);
    background: #ecfcfd;
    border: 1px solid rgba(32, 201, 215, 0.42);
    border-radius: 18px;
}

.account-nudge > div:first-child {
    display: grid;
    gap: 4px;
}

.account-nudge span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.account-nudge a {
    flex: 0 0 auto;
    color: var(--navy-950);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.account-nudge-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-nudge .account-nudge-secondary {
    color: var(--muted);
}

.interview-form {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(67, 84, 223, 0.09);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.interview-step[hidden],
.role-branch[hidden] {
    display: none;
}

.interview-step h2 {
    max-width: 760px;
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(2.2rem, 4.2vw, 4.4rem);
    line-height: 1.03;
}

.question-help {
    max-width: 680px;
    margin: 22px 0 38px;
    color: var(--muted);
    line-height: 1.7;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.role-option {
    position: relative;
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    cursor: pointer;
    background: var(--lavender-50);
    border: 1px solid var(--lavender-200);
    border-radius: var(--radius-md);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.role-option:hover {
    border-color: var(--cyan-500);
    transform: translateY(-3px);
}

.role-option:has(input:checked) {
    background: #effdfe;
    border-color: var(--cyan-500);
    box-shadow: 0 12px 30px rgba(32, 201, 215, 0.12);
}

.role-option input {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 18px;
    height: 18px;
    accent-color: var(--cyan-500);
}

.role-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 30px;
    place-items: center;
    color: var(--blue-600);
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(27, 36, 90, 0.08);
}

.role-option strong {
    margin-bottom: 8px;
    color: var(--navy-950);
}

.role-option small {
    color: var(--muted);
    line-height: 1.55;
}

.secondary-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 22px;
    border: 1px solid var(--lavender-200);
    border-radius: var(--radius-md);
}

.secondary-skills legend {
    padding: 0 8px;
    color: var(--navy-950);
    font-weight: 600;
}

.secondary-skills label,
.check-row,
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.secondary-skills input,
.check-row input,
.consent-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--cyan-500);
}

.field-grid {
    display: grid;
    gap: 22px;
}

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

.field-wide {
    grid-column: 1 / -1;
}

.field {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--navy-950);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--ink);
    font-weight: 400;
    background: var(--white);
    border: 1px solid #d7daeb;
    border-radius: var(--radius-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
    min-height: 104px;
    resize: vertical;
    line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--cyan-500);
    box-shadow: var(--focus-ring);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa0b6;
}

.role-branch h3 {
    margin: 0 0 26px;
    color: var(--blue-600);
    font-size: 2.2rem;
}

.empty-role-state,
.coming-soon-card,
.review-card {
    padding: 28px;
    color: var(--navy-950);
    background: var(--lavender-100);
    border: 1px solid var(--lavender-200);
    border-radius: var(--radius-md);
}

.empty-role-state p,
.coming-soon-card p,
.review-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.coming-soon-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    place-items: center;
    color: var(--navy-950);
    font-size: 1.6rem;
    background: var(--cyan-400);
    border-radius: 14px;
}

.consent-row {
    margin: 26px 0;
    padding: 22px;
    color: var(--ink);
    line-height: 1.6;
    border: 1px solid var(--lavender-200);
    border-radius: var(--radius-md);
}

.form-message {
    margin-top: 22px;
    padding: 14px 16px;
    color: var(--danger);
    background: #fff1f3;
    border-radius: var(--radius-sm);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--lavender-200);
}

.button {
    min-height: 50px;
    padding: 13px 24px;
    cursor: pointer;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--navy-950);
    background: var(--cyan-400);
    box-shadow: 0 10px 28px rgba(32, 201, 215, 0.23);
}

.button-secondary {
    color: var(--navy-900);
    background: transparent;
    border-color: var(--lavender-200);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.button-submit {
    width: 100%;
}

.portfolio-progress,
.portfolio-item,
.upload-heading {
    display: flex;
    align-items: center;
}

.portfolio-progress {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    color: var(--navy);
    background: color-mix(in srgb, var(--cyan) 12%, var(--white));
}

.portfolio-progress span {
    color: var(--ink-muted);
    font-size: 0.84rem;
}

.portfolio-list {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-item {
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.portfolio-item > div {
    display: grid;
    flex: 1;
    gap: 2px;
}

.portfolio-item small {
    color: var(--ink-muted);
}

.portfolio-type {
    min-width: 62px;
    padding: 6px 8px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--lavender);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.text-button {
    border: 0;
    color: #9d2949;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.portfolio-uploader {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 30px);
    border: 1px dashed color-mix(in srgb, var(--navy) 30%, transparent);
    border-radius: 22px;
    background: var(--surface-soft);
}

.upload-heading {
    gap: 14px;
}

.upload-heading > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: var(--navy);
    background: var(--cyan);
    font-size: 1.4rem;
}

.upload-heading p,
.upload-status {
    margin: 4px 0 0;
    color: var(--ink-muted);
}

.upload-status:empty {
    display: none;
}

.confirmation-shell {
    display: grid;
    min-height: calc(100vh - 78px);
    padding: clamp(32px, 7vw, 90px) 20px;
    place-items: center;
    background:
        radial-gradient(circle at 15% 10%, rgba(32, 201, 215, 0.18), transparent 28%),
        var(--navy);
}

.confirmation-card {
    width: min(700px, 100%);
    padding: clamp(32px, 6vw, 66px);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 30px 80px rgba(2, 15, 48, 0.28);
}

.confirmation-card h1 {
    margin: 10px 0 18px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 400;
    line-height: 0.92;
}

.confirmation-card > p:not(.eyebrow) {
    color: var(--ink-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.confirmation-mark {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: var(--cyan);
    font-size: 1.6rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .interview-shell {
        grid-template-columns: 1fr;
    }

    .progress-panel {
        padding: 44px clamp(22px, 6vw, 56px);
    }

    .progress-panel h1 {
        font-size: clamp(2.8rem, 10vw, 5rem);
    }

    .progress-intro {
        margin-bottom: 28px;
    }

    .step-list {
        display: none;
    }

    .interview-card {
        padding: 26px clamp(16px, 5vw, 44px) 44px;
    }

    .card-topline {
        margin-bottom: 24px;
    }
}

@media (max-width: 680px) {
    .site-header {
        min-height: 64px;
        padding-inline: 18px;
    }

    .header-label,
    .card-topline span:last-child {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    .account-nudge {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 0;
    }

    .interview-shell {
        min-height: calc(100vh - 64px);
    }

    .progress-panel {
        padding: 34px 22px 32px;
    }

    .progress-panel h1 {
        font-size: 3rem;
    }

    .progress-intro {
        margin: 20px 0 24px;
        font-size: 0.92rem;
    }

    .progress-summary {
        display: grid;
        gap: 5px;
    }

    .interview-card {
        padding: 16px 12px 34px;
    }

    .interview-form {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .interview-step h2 {
        font-size: 2.45rem;
    }

    .question-help {
        margin: 18px 0 30px;
    }

    .role-grid,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .role-option {
        min-height: 160px;
    }

    .role-icon {
        margin-bottom: 18px;
    }

    .field-wide {
        grid-column: auto;
    }

    .step-actions {
        position: static;
        margin-inline: 0;
        padding: 0;
        background: transparent;
    }

    .button {
        flex: 1;
    }
}
