/* ==========================================================
   CoregenX: Career page (css/career-page.css)
   Version: 20261017 (owner feedback 17 Oct: banner + tight spacing)
   - Standard page banner with breadcrumbs at the top (same as contact.html)
   - Reduced top margin/padding on first sections (intro & apply)
   - One intro section (copy + one team photo) and the application form
   - Logo teal-green palette (#359fad -> #4cdaa0), no blue titles, no dot grids
   - Circles and lines as decoration; form steps joined by a flow line
   - Also styles career-application-received.html (.crt-*)
   - Mobile checked at 390 and 360; prefers-reduced-motion safe
   ========================================================== */

:root {
    --cr-ink: #343c55;
    --cr-body: #5e6371;
    --cr-muted: #80869a;
    --cr-theme-blue: #432d92;
    --cr-teal: #359fad;
    --cr-mint: #4cdaa0;
    --cr-teal-ink: #1d7a86;
    --cr-teal-soft: rgba(53, 159, 173, 0.1);
    --cr-mint-soft: rgba(76, 218, 160, 0.14);
    --cr-line: #dfe9e6;
    --cr-field: #fbfdfc;
    --cr-soft: #f1f9f6;
    --cr-error: #c21a52;
    --cr-navy: #1c1446;
    --cr-grad: linear-gradient(270deg, #4cdaa0 0%, #359fad 100%);
    --cr-grad-hover: linear-gradient(270deg, #3fcb93 0%, #2c8c99 100%);
    --cr-head: 'Jost', sans-serif;
    --cr-text: 'Open Sans', sans-serif;
    --cr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-page {
    font-family: var(--cr-text);
    font-size: 16px;
    line-height: 26px;
    color: var(--cr-body);
    background: #fff;
    overflow-x: clip;
}

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

.cr-wrap {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* Scroll reveal - progressive enhancement */
.cr-reveal {
    opacity: 1;
    transform: none;
}

html.cr-js .cr-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--cr-ease), transform 0.7s var(--cr-ease);
}

html.cr-js .cr-reveal.is-in {
    opacity: 1;
    transform: none;
}

.cr-delay-1 {
    transition-delay: 0.12s;
}

/* Breadcrumbs */
.cr-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-family: var(--cr-text);
    font-size: 13.5px;
    line-height: 1;
    color: var(--cr-muted);
}

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

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

.cr-crumbs__sep {
    color: #b5c2bf;
    font-size: 14px;
    user-select: none;
}

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

/* Eyebrow (site scale: 15px, wide tracking) */
.cr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--cr-head);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--cr-teal-ink);
}

.cr-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--cr-grad);
}

/* ─── Buttons ─── */
.cr-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 28px;
    overflow: hidden;
    border: 1.5px solid transparent;
    border-radius: 50px;
    font-family: var(--cr-head);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s var(--cr-ease), box-shadow 0.25s var(--cr-ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}

.cr-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.cr-btn--pink {
    background: linear-gradient(270deg, #f9758f 0%, #d9265f 100%);
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(217, 38, 95, 0.65);
}

.cr-btn--pink:hover,
.cr-btn--pink:focus-visible {
    background: linear-gradient(270deg, #f55f7d 0%, #c41e52 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(217, 38, 95, 0.75);
}

.cr-btn--green {
    background: var(--cr-grad);
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(35, 128, 140, 0.75);
}

.cr-btn--green:hover,
.cr-btn--green:focus-visible {
    background: var(--cr-grad-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(35, 128, 140, 0.85);
}

.cr-btn--line {
    border-color: rgba(53, 159, 173, 0.55);
    background: #fff;
    color: var(--cr-teal-ink);
}

.cr-btn--line:hover,
.cr-btn--line:focus-visible {
    border-color: var(--cr-teal);
    background: var(--cr-soft);
    color: var(--cr-teal-ink);
    transform: translateY(-2px);
}

.cr-btn:focus-visible {
    outline: 3px solid rgba(76, 218, 160, 0.5);
    outline-offset: 3px;
}

/* Occasional glint on the main CTA only */
.cr-btn--shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: cr-glint 6s ease-in-out 2s infinite;
    pointer-events: none;
}

@keyframes cr-glint {
    0%, 78% { left: -60%; }
    92%, 100% { left: 130%; }
}

/* ─── 1. Intro ─── */
.cr-intro {
    position: relative;
    padding: 36px 0 52px;
    background: #fff;
    overflow: hidden;
}

.cr-intro__arcs {
    position: absolute;
    top: -260px;
    left: -250px;
    width: 600px;
    height: 600px;
    fill: none;
    stroke: rgba(53, 159, 173, 0.13);
    stroke-width: 1.2;
    pointer-events: none;
}

.cr-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
}

.cr-intro h1 {
    text-wrap: balance;
    margin: 0 0 16px;
    font-family: var(--cr-head);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: var(--cr-ink);
}

.cr-intro__lead {
    max-width: 580px;
    margin: 0 0 22px;
    font-family: var(--cr-text);
    font-size: 17px;
    line-height: 28px;
    color: var(--cr-body);
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.cr-intro__where {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 7px 16px 7px 7px;
    border: 1px solid rgba(53, 159, 173, 0.25);
    border-radius: 50px;
    background: linear-gradient(90deg, var(--cr-mint-soft), rgba(255, 255, 255, 0));
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--cr-ink);
}

.cr-intro__where strong {
    font-weight: 600;
    color: var(--cr-teal-ink);
}

.cr-intro__pin {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cr-grad);
    color: #fff;
}

.cr-intro__pin svg {
    width: 16px;
    height: 16px;
}

.cr-intro__proof {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.cr-intro__proof li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cr-ink);
}

.cr-intro__proof li + li {
    padding-left: 24px;
    padding-right: 0;
    border-left: 1px solid var(--cr-line);
}

.cr-intro__proof-ico {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border: 1.5px solid rgba(53, 159, 173, 0.35);
    border-radius: 50%;
    color: var(--cr-teal-ink);
}

.cr-intro__proof-ico svg {
    width: 17px;
    height: 17px;
}

.cr-intro__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* One image, framed by a rotating ring and an offset outline */
.cr-intro__media {
    position: relative;
    margin: 0;
    padding: 22px 22px 22px 0;
}

.cr-intro__photo {
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 34px 70px -34px rgba(28, 20, 70, 0.45);
}

.cr-intro__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(200deg, rgba(76, 218, 160, 0.16) 0%, rgba(76, 218, 160, 0) 45%),
        linear-gradient(0deg, rgba(28, 20, 70, 0.28) 0%, rgba(28, 20, 70, 0) 38%);
    pointer-events: none;
}

.cr-intro__photo img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.2s var(--cr-ease);
}

.cr-intro__media:hover .cr-intro__photo img {
    transform: scale(1.03);
}

.cr-intro__outline {
    position: absolute;
    z-index: 1;
    left: -22px;
    right: 44px;
    top: 44px;
    bottom: 0;
    border: 1.5px solid rgba(53, 159, 173, 0.32);
    border-radius: 32px;
}

.cr-intro__ring {
    position: absolute;
    z-index: 1;
    top: -26px;
    right: -26px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4cdaa0, #359fad 45%, rgba(53, 159, 173, 0) 70%, #4cdaa0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    animation: cr-spin 16s linear infinite;
}

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

/* ─── 2. Application form ─── */
.cr-apply {
    position: relative;
    padding: 30px 0 46px;
    background: linear-gradient(180deg, var(--cr-soft) 0%, #f8fcfb 100%);
    overflow: hidden;
}

.cr-apply::before,
.cr-apply::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1.2px solid rgba(53, 159, 173, 0.14);
    pointer-events: none;
}

.cr-apply::before {
    width: 480px;
    height: 480px;
    right: -200px;
    bottom: -220px;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0), 0 0 0 71px rgba(53, 159, 173, 0.1);
}

.cr-apply::after {
    width: 240px;
    height: 240px;
    left: -110px;
    top: 100px;
}

.cr-apply__head {
    max-width: 760px;
    margin: 0 auto 20px;
    text-align: center;
}

.cr-apply__head .cr-eyebrow::after {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--cr-grad);
}

.cr-apply__head h2 {
    margin: 0 0 8px;
    font-family: var(--cr-head);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--cr-ink);
}

.cr-apply__head p:not(.cr-eyebrow) {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--cr-body);
}

.cr-form {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 26px 36px 20px;
    border: 1px solid #e1eeea;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 60px -36px rgba(28, 20, 70, 0.24);
}

.cr-form::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 36px;
    right: 36px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--cr-grad);
}

/* Steps joined by a flow line */
.cr-step {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 0 16px 48px;
    border: 0;
}

.cr-step::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 36px;
    bottom: 4px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(76, 218, 160, 0.9), rgba(53, 159, 173, 0.12));
}

.cr-step--last {
    padding-bottom: 4px;
}

.cr-step--last::before {
    display: none;
}

.cr-step__title {
    float: left;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    font-family: var(--cr-head);
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    color: var(--cr-ink);
}

.cr-step__title + * {
    clear: both;
}

.cr-step__num {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cr-grad);
    box-shadow: 0 0 0 4px rgba(76, 218, 160, 0.16);
    font-family: var(--cr-head);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.cr-opt {
    font-family: var(--cr-text);
    font-size: 12px;
    font-weight: 400;
    color: var(--cr-muted);
}

.cr-req {
    color: var(--cr-error);
}

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

.cr-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cr-fields--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.cr-field[hidden] {
    display: none;
}

.cr-field label {
    margin: 0 0 4px;
    font-family: var(--cr-text);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cr-ink);
}

.cr-field__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.cr-field__head-row label {
    margin-bottom: 0;
}

.cr-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--cr-text);
    font-size: 13px;
    font-weight: 600;
    color: var(--cr-teal-ink);
    cursor: pointer;
    user-select: none;
}

.cr-checkbox-inline input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-height: auto;
    accent-color: var(--cr-teal);
    cursor: pointer;
    margin: 0;
}

.cr-form input[type="text"],
.cr-form input[type="email"],
.cr-form input[type="tel"],
.cr-form input[type="url"],
.cr-form select,
.cr-form textarea {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 13px;
    border: 1.5px solid var(--cr-line);
    border-radius: 12px;
    background: var(--cr-field);
    font-family: var(--cr-text);
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--cr-ink);
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.cr-form input.is-fresher-locked {
    background: #f1f9f6;
    color: var(--cr-teal-ink);
    font-weight: 600;
}

.cr-form textarea {
    min-height: 80px;
    resize: vertical;
}

.cr-form input::placeholder,
.cr-form textarea::placeholder {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
}

.cr-form input:hover,
.cr-form select:hover,
.cr-form textarea:hover {
    border-color: #c9dcd7;
}

.cr-form input:focus,
.cr-form select:focus,
.cr-form textarea:focus {
    outline: none;
    border-color: var(--cr-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 218, 160, 0.18);
}

.cr-form.was-validated input:invalid,
.cr-form.was-validated select:invalid,
.cr-form.was-validated textarea:invalid {
    border-color: var(--cr-error);
    background: #fff8fa;
}

.cr-select {
    position: relative;
    display: block;
}

.cr-select::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--cr-teal-ink);
    border-bottom: 2px solid var(--cr-teal-ink);
    transform: rotate(45deg);
    pointer-events: none;
}

.cr-form select {
    padding-right: 40px;
    cursor: pointer;
}

.cr-form select:invalid,
.cr-form select option[value=""] {
    color: #a3a9b8;
}

.cr-form select option {
    color: var(--cr-ink);
}

/* Experience details slides in when the candidate is experienced */
.cr-field--exp.is-open {
    animation: cr-drop 0.4s var(--cr-ease);
}

@keyframes cr-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* CV and LinkedIn (both allowed, no "or" wording) */
.cr-fields--cv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.cr-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
    border: 1.5px dashed rgba(53, 159, 173, 0.5);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 218, 160, 0.07), rgba(53, 159, 173, 0.04));
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

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

.cr-upload:hover,
.cr-upload.is-drag {
    border-color: var(--cr-teal);
    background: var(--cr-mint-soft);
}

.cr-upload:focus-within {
    border-color: var(--cr-teal);
    box-shadow: 0 0 0 4px rgba(76, 218, 160, 0.18);
}

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

.cr-upload.is-error {
    border-color: var(--cr-error);
    background: #fff8fa;
}

.cr-upload__ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--cr-grad);
    color: #fff;
    transition: transform 0.3s var(--cr-ease);
}

.cr-upload:hover .cr-upload__ico {
    transform: translateY(-2px);
}

.cr-upload__ico svg {
    width: 18px;
    height: 18px;
}

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

.cr-upload__label {
    margin: 0;
    font-family: var(--cr-head);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--cr-teal-ink);
    cursor: pointer;
}

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

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

.cr-upload__file:empty {
    display: none;
}

.cr-upload.has-file .cr-upload__hint {
    display: none;
}

.cr-or {
    display: none !important;
}

.cr-input-ico {
    position: relative;
    display: block;
}

.cr-input-ico svg {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 17px;
    height: 17px;
    margin-top: -8.5px;
    color: var(--cr-teal-ink);
    pointer-events: none;
}

.cr-form .cr-input-ico input {
    min-height: 74px;
    padding-left: 44px;
}

.cr-field--linkedin label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cr-form__msg {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cr-error);
}

.cr-form__msg:empty {
    display: none;
}

/* Submit row */
.cr-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 18px;
    padding: 22px 0 0 58px;
    border-top: 1px solid #edf3f1;
}

.cr-btn--submit {
    min-width: 236px;
    min-height: 52px;
    border: 0;
}

.cr-btn--submit:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.cr-form__legal {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cr-muted);
}

.cr-form__legal a {
    color: var(--cr-teal-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#career-recaptcha-holder {
    height: 0;
}

/* The legal line above stands in for the reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ─── Application received page (career-application-received.html) ─── */
.crt-page {
    position: relative;
    padding: 48px 0 72px;
    background: linear-gradient(180deg, var(--cr-soft) 0%, #fff 100%);
    overflow: hidden;
}

.crt-page .cr-intro__arcs {
    top: auto;
    bottom: -300px;
    left: auto;
    right: -260px;
}

.crt-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

.crt-main {
    padding: 38px 40px 34px;
    border: 1px solid #e1eeea;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px -24px rgba(28, 20, 70, 0.18);
}

.crt-check {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--cr-grad);
    box-shadow: 0 0 0 8px rgba(76, 218, 160, 0.15);
    color: #fff;
}

.crt-check svg {
    width: 28px;
    height: 28px;
}

.crt-check path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: crt-tick 0.6s 0.25s var(--cr-ease) forwards;
}

@keyframes crt-tick {
    to { stroke-dashoffset: 0; }
}

.crt-main h1 {
    margin: 0 0 12px;
    font-family: var(--cr-head);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--cr-ink);
}

.crt-main p {
    margin: 0 0 14px;
    font-family: var(--cr-text);
    font-size: 16px;
    line-height: 26px;
    color: var(--cr-body);
    text-align: justify;
    text-justify: inter-word;
}

.crt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* Follow card & Instagram grid on application received page */
.ty-follow {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid #e1eeea;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 24px 60px -24px rgba(28, 20, 70, 0.18);
}

.ty-follow::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--cr-grad);
}

.ty-follow__title {
    margin: 0 0 14px;
    font-family: var(--cr-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cr-ink);
}

.ty-socials {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.ty-soc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px 8px;
    border: 1px solid var(--cr-line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ty-soc img,
.ty-soc__ico {
    display: block;
    width: 24px;
    height: 24px;
}

.ty-soc__ico {
    background-color: var(--cr-navy);
    -webkit-mask: var(--ty-ico) center / contain no-repeat;
    mask: var(--ty-ico) center / contain no-repeat;
    transition: background-color .2s ease;
}

.ty-soc--fb { --ty-ico: url("../images/social/facebook.svg"); }
.ty-soc--in { --ty-ico: url("../images/social/linkedin.svg"); }
.ty-soc--yt { --ty-ico: url("../images/social/youtube.svg"); }
.ty-soc--pin { --ty-ico: url("../images/social/pinterest.svg"); }

.ty-soc span {
    font-family: var(--cr-head);
    font-size: 12px;
    font-weight: 500;
    color: var(--cr-ink);
    line-height: 1.2;
}

.ty-soc:hover,
.ty-soc:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(53, 159, 173, .55);
    box-shadow: 0 10px 20px -8px rgba(53, 159, 173, .35);
    text-decoration: none;
}

.ty-soc:hover .ty-soc__ico,
.ty-soc:focus-visible .ty-soc__ico {
    background-color: var(--cr-teal);
}

/* Instagram card */
.ty-insta {
    border: 1px solid var(--cr-line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.ty-insta__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--cr-line);
}

.ty-insta__logo {
    flex: none;
    width: 34px;
    height: 34px;
}

.ty-insta__id {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ty-insta__name {
    font-family: var(--cr-head);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--cr-ink);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ty-insta__name:hover {
    color: var(--cr-teal-ink);
    text-decoration: none;
}

.ty-insta__sub {
    font-size: 12px;
    line-height: 1.3;
    color: var(--cr-muted);
}

.ty-insta__pause {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--cr-line);
    background: #fff;
    color: var(--cr-teal-ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.ty-insta__pause[hidden] {
    display: none;
}

.ty-insta__pause svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.ty-insta__pause .ty-ico-play,
.ty-insta__pause[aria-pressed="true"] .ty-ico-pause {
    display: none;
}

.ty-insta__pause[aria-pressed="true"] .ty-ico-play {
    display: block;
}

.ty-insta__follow {
    flex: none;
    padding: 7px 16px;
    border-radius: 8px;
    background: linear-gradient(270deg, #359fad 0%, #4cdaa0 100%);
    color: #fff;
    font-family: var(--cr-head);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    transition: box-shadow .2s ease;
}

.ty-insta__follow:hover,
.ty-insta__follow:focus-visible {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(53, 159, 173, .35);
}

.ty-insta__viewport {
    --ty-gap: 3px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 6 / 5;
    background: #f8f6ff;
}

.ty-insta__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ty-gap);
    will-change: transform;
}

.ty-post {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(150deg, #f1fbf7 0%, #e6f4f6 100%);
}

.ty-post:nth-child(3n+2) {
    background: linear-gradient(150deg, #fdf0f4 0%, #f6f1ff 100%);
}

.ty-post__link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.ty-post__link img {
    width: 22px;
    height: 22px;
    opacity: .75;
    animation: tyPulse 1.6s ease-in-out infinite;
}

.ty-post.is-loaded .ty-post__link img {
    animation: none;
}

@keyframes tyPulse {
    0%, 100% { transform: scale(1); opacity: .55; }
    50% { transform: scale(1.12); opacity: .9; }
}

.ty-post iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 326px;
    height: 640px;
    border: 0;
    background: transparent;
    transform-origin: 0 0;
    opacity: 0;
    transition: opacity .6s ease;
}

.ty-post.is-loaded iframe {
    opacity: 1;
}

/* ─── Responsive ─── */
@media (max-width: 1199px) {
    .cr-intro__grid {
        gap: 44px;
    }

    .cr-intro h1 {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .cr-intro {
        padding: 48px 0 56px;
    }

    .cr-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cr-intro__copy {
        max-width: 680px;
    }

    .cr-intro__media {
        max-width: 620px;
    }

    .cr-intro h1 {
        font-size: 34px;
    }

    .cr-apply {
        padding: 52px 0 64px;
    }

    .cr-form {
        padding: 34px 32px 30px;
    }

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

    .crt-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cr-fields--cv {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cr-or {
        position: relative;
        width: 100%;
        height: 20px;
        margin: 0;
        border: 0;
        background: none;
    }

    .cr-or::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: var(--cr-line);
    }

    .cr-or span {
        position: relative;
        padding: 0 12px;
        background: #fff;
    }

    .cr-form .cr-input-ico input {
        min-height: 52px;
    }
}

@media (max-width: 575px) {
    .cr-wrap {
        width: calc(100% - 32px);
    }

    .cr-intro {
        padding: 36px 0 44px;
    }

    .cr-intro__arcs {
        top: -320px;
        left: -330px;
    }

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

    .cr-crumbs {
        font-size: 12.5px;
        margin-bottom: 12px;
    }

    .cr-intro h1 {
        font-size: 28px;
        line-height: 1.24;
    }

    .cr-intro__lead {
        font-size: 14px;
        line-height: 1.68;
    }

    .cr-intro__where {
        display: flex;
        align-items: flex-start;
        padding: 8px 14px 8px 8px;
        border-radius: 18px;
        font-size: 13px;
    }

    .cr-intro__where > span:last-child {
        padding-top: 5px;
    }

    .cr-intro__proof {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .cr-intro__proof li {
        gap: 10px;
        padding-right: 0;
        font-size: 13.5px;
    }

    .cr-intro__proof li + li {
        padding-left: 0;
        border-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--cr-line);
    }

    .cr-intro__proof-ico {
        width: 32px;
        height: 32px;
    }

    .cr-intro__cta {
        flex-direction: column;
        gap: 12px;
    }

    .cr-intro__cta .cr-btn {
        width: 100%;
    }

    .cr-intro__media {
        padding: 10px 10px 10px 0;
    }

    .cr-intro__outline {
        left: -6px;
        right: 18px;
        top: 20px;
        border-radius: 22px;
    }

    .cr-intro__photo {
        border-radius: 20px;
    }

    .cr-intro__ring {
        width: 84px;
        height: 84px;
        top: -10px;
        right: -10px;
    }

    .cr-page {
        font-size: 15px;
        line-height: 24px;
    }

    .cr-intro h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .cr-intro__lead {
        font-size: 15px;
        line-height: 24px;
    }

    .cr-apply {
        padding: 24px 0 36px;
    }

    .cr-apply::before,
    .cr-apply::after {
        display: none;
    }

    .cr-apply__head {
        margin-bottom: 18px;
    }

    .cr-apply__head h2 {
        font-size: 24px;
    }

    .cr-apply__head p:not(.cr-eyebrow) {
        font-size: 14px;
    }

    .cr-form {
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .cr-form::before {
        left: 20px;
        right: 20px;
    }

    .cr-step {
        padding: 0 0 16px;
    }

    .cr-step::before {
        display: none;
    }

    .cr-step__title {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px 10px;
        margin-bottom: 10px;
        font-size: 17px;
        line-height: 1.3;
    }

    .cr-step__num {
        position: static;
        width: 28px;
        height: 28px;
        font-size: 13.5px;
        box-shadow: 0 0 0 4px rgba(76, 218, 160, 0.14);
    }

    .cr-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cr-form__foot {
        padding-left: 0;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cr-btn--submit {
        width: 100%;
        min-width: 0;
    }

    .crt-page {
        padding: 28px 0 40px;
    }

    .crt-main {
        padding: 24px 18px 22px;
    }

    .crt-main h1 {
        font-size: 26px;
    }

    .crt-main p {
        font-size: 15px;
        line-height: 24px;
    }

    .crt-actions .cr-btn {
        flex: 1 1 100%;
    }

    .ty-follow {
        padding: 18px 14px;
    }

    .ty-soc {
        padding: 8px 2px 6px;
    }

    .ty-soc span {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cr-btn,
    .cr-intro__photo img,
    .cr-upload__ico,
    .crt-timer__bar {
        transition: none;
    }

    .cr-btn--shine::after,
    .cr-intro__ring,
    .cr-field--exp.is-open {
        animation: none;
    }

    .cr-btn--shine::after {
        display: none;
    }

    .crt-check path {
        animation: none;
        stroke-dashoffset: 0;
    }

    .cr-btn:hover,
    .cr-btn:focus-visible,
    .cr-intro__media:hover .cr-intro__photo img,
    .cr-upload:hover .cr-upload__ico {
        transform: none;
    }
}

/* ─── Owner batch 2 (2026-10-20): same fields, less height ─── */
.cr-form {
    padding: 22px 32px 16px;
}

.cr-step {
    padding-bottom: 10px;
}

.cr-step--last {
    padding-bottom: 2px;
}

.cr-step__title {
    margin-bottom: 6px;
}

.cr-fields {
    gap: 8px 14px;
}

.cr-field label {
    margin-bottom: 3px;
    font-size: 13px;
}

.cr-field__head-row {
    margin-bottom: 3px;
}

.cr-field__head-row label {
    margin-bottom: 0;
}

.cr-form input[type="text"],
.cr-form input[type="email"],
.cr-form input[type="tel"],
.cr-form input[type="url"],
.cr-form select {
    height: 40px;
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.cr-form textarea {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.cr-form input::placeholder,
.cr-form textarea::placeholder {
    font-size: 13.5px;
}

.cr-fields--cv {
    gap: 14px;
}

.cr-upload {
    min-height: 50px;
    padding: 6px 12px;
}

.cr-upload__ico {
    width: 34px;
    height: 34px;
}

.cr-form .cr-input-ico input {
    height: 50px;
    min-height: 50px;
}

.cr-form__foot {
    margin-top: 10px;
    padding-top: 14px;
}

.cr-btn--submit {
    min-height: 48px;
}

@media (max-width: 991px) {
    .cr-apply {
        padding: 40px 0 50px;
    }

    .cr-form {
        padding: 26px 26px 20px;
    }
}

@media (max-width: 767px) {
    .cr-fields--cv {
        gap: 8px;
    }

    .cr-form .cr-input-ico input {
        height: 42px;
        min-height: 42px;
    }
}

@media (max-width: 575px) {
    .cr-apply {
        padding: 24px 0 36px;
    }

    .cr-form {
        padding: 20px 16px 16px;
    }

    .cr-step {
        padding-bottom: 12px;
    }
}

/* Application-received page: LinkedIn side card + countdown ring (restored; the 18 Oct career redesign dropped these rules) */
.crt-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: linear-gradient(160deg, #3bb39f 0%, #23808c 55%, #17666f 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.crt-side::before,
.crt-side::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1.2px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.crt-side::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -120px;
}

.crt-side::after {
    width: 200px;
    height: 200px;
    bottom: -90px;
    left: -70px;
}

.crt-timer {
    position: relative;
    width: 132px;
    height: 132px;
    margin-bottom: 20px;
}

.crt-timer svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.crt-timer circle {
    fill: none;
    stroke-width: 6;
}

.crt-timer__track {
    stroke: rgba(255, 255, 255, 0.16);
}

.crt-timer__bar {
    stroke: #4cdaa0;
    stroke-linecap: round;
    stroke-dasharray: 339.3;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.crt-timer__in {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.crt-timer__logo {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: #1d7a86;
}

.crt-timer__logo svg {
    width: 22px;
    height: 22px;
    transform: none;
}

.crt-timer__num {
    margin-top: 6px;
    font-family: var(--cr-head);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.crt-side h2 {
    margin: 0 0 8px;
    font-family: var(--cr-head);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

.crt-side p {
    max-width: 290px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.crt-side .cr-btn--light {
    background: #fff;
    color: #1d7a86;
}

.crt-side .cr-btn--light:hover,
.crt-side .cr-btn--light:focus-visible {
    background: #f1f9f6;
    color: #1d7a86;
    transform: translateY(-2px);
}

.crt-stay {
    margin-top: 12px;
    padding: 4px 6px;
    border: 0;
    background: none;
    font-family: var(--cr-text);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.crt-stay:hover,
.crt-stay:focus-visible {
    color: #fff;
}

.crt-stay[hidden] {
    display: none;
}

.crt-side {
    border-radius: 22px;
    align-self: stretch;
}

@media (max-width: 767px) {
    .crt-side {
        padding: 32px 22px;
    }
}
