/* Careers — PDF layout; header chrome matches home/about */

.header-shell {
    width: min(1480px, 94vw);
    margin-inline: auto;
}

.page-careers .site-header {
    height: 96px;
}

@media (min-width: 992px) {
    .page-careers .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
    }
}

.page-careers .header-logo-img {
    height: 32px;
    width: auto;
}

.page-careers .header-nav {
    justify-content: center;
    padding-right: 0;
    gap: 2.6rem;
}

.page-careers .header-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    font-weight: 400;
    text-transform: none;
    border-bottom-width: 1px;
}

.page-careers .header-nav a.is-active {
    border-bottom-color: var(--sage);
}

.page-careers .header-tel-box {
    min-width: 8rem;
    height: 36px;
    font-size: 0.74rem;
}

.page-careers .header-box-btn {
    display: none;
}

.page-careers .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.page-careers .menu-toggle:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.page-careers .menu-toggle span {
    display: block;
    width: 14px;
    height: 1.5px;
    margin: 0;
    background: #fff;
    flex-shrink: 0;
}

.page-careers .header-actions {
    gap: 0.85rem;
}

:root {
    --cr-cream: #ddd5c8;
    --cr-rule: #c9bfa8;
}

/* —— 01 Hero —— */
.cr-hero {
    background: #0a0a0a;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 4.5rem) 0 5rem;
    text-align: left;
}

.cr-hero-inner {
    text-align: left;
}

.cr-hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: #fff;
}

.cr-hero-title .accent {
    color: var(--sage);
}

.cr-hero-rule {
    display: block;
    width: 4.5rem;
    height: 1px;
    margin: 1.75rem 0 1.5rem;
    background: var(--cr-rule);
}

.cr-hero-lead {
    margin: 0;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

/* —— 02 Join Our Team (form) —— */
.cr-form-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 5.5rem 0;
    overflow: hidden;
}

.cr-form-bg {
    position: absolute;
    inset: 0;
}

.cr-form-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.42);
}

.cr-form-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.28) 55%, rgba(8, 8, 8, 0.35) 100%);
}

.cr-form-wrap {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    margin-inline: auto;
    text-align: left;
}

.cr-form-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--sage);
    text-align: left;
}

.cr-form-rule {
    display: block;
    width: 3.25rem;
    height: 1px;
    margin: 0 0 2rem;
    background: var(--cr-rule);
}

.cr-form {
    display: grid;
    gap: 1.1rem;
}

.cr-form-row {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 768px) {
    .cr-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.cr-field {
    border: 1px solid rgba(221, 213, 200, 0.55);
    background: transparent;
    padding: 0.7rem 1rem 0.85rem;
    min-height: 3.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cr-field--file {
    cursor: pointer;
    position: relative;
}

.cr-field--message {
    min-height: 9.5rem;
    justify-content: flex-start;
    padding-top: 0.85rem;
}

.cr-field label,
.cr-field > span:first-of-type {
    display: block;
    margin: 0 0 0.15rem;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(242, 239, 232, 0.72);
    pointer-events: none;
}

.cr-field input,
.cr-field textarea {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    box-shadow: none;
}

.cr-field textarea {
    min-height: 7rem;
    resize: vertical;
}

.cr-field input::placeholder,
.cr-field textarea::placeholder {
    color: transparent;
}

.cr-field:focus-within {
    border-color: rgba(143, 168, 140, 0.85);
}

.cr-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.cr-file-name {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-file-name.is-empty {
    display: none;
}

.cr-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: var(--sage);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
}
.cr-submit:hover {
    background: #9bb598;
    color: #fff;
}
.cr-submit:disabled,
.cr-submit.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}
.cr-submit-spin {
    display: none;
    width: 1.05rem;
    height: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cr-spin 0.7s linear infinite;
}
.cr-submit.is-loading .cr-submit-spin {
    display: inline-block;
}
@keyframes cr-spin {
    to { transform: rotate(360deg); }
}

.cr-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.15);
    color: #f8d7da;
    font-size: 0.9rem;
}
.cr-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}
.cr-alert--success {
    border-color: rgba(143, 168, 140, 0.55);
    background: rgba(143, 168, 140, 0.18);
    color: #e8f0e6;
}

/* Bottom-left toast */
.cr-toast {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: min(22rem, calc(100vw - 2.5rem));
    padding: 0.95rem 1rem;
    border: 1px solid rgba(143, 168, 140, 0.55);
    border-radius: 10px;
    background: rgba(16, 20, 16, 0.94);
    color: #e8f0e6;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cr-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cr-toast-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--sage);
    margin-top: 0.05rem;
}
.cr-toast-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.cr-toast-text {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.45;
}
.cr-toast-close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.cr-toast-close:hover {
    color: #fff;
}

/* —— 03 Brand band —— */
.cr-brand {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: 5.5rem 0;
    overflow: hidden;
}

.cr-brand-bg {
    position: absolute;
    inset: 0;
}

.cr-brand-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: brightness(0.72);
}

.cr-brand-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 12, 8, 0.55) 0%, rgba(20, 12, 8, 0.2) 48%, rgba(20, 12, 8, 0.08) 100%);
}

.cr-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 26rem;
    padding-right: 2.5rem;
    text-align: left;
}

/* Sage + frame: vertical full content height; horizontal under mark extends past it */
.cr-brand-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cr-brand-frame::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: var(--sage);
}

.cr-brand-mark {
    position: relative;
    z-index: 1;
    padding: 0 0 1.15rem;
    margin-bottom: 1.25rem;
}

.cr-brand-mark::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    right: -2.75rem;
    bottom: 0;
    height: 1px;
    background: var(--sage);
}

.cr-brand-name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    color: #fff;
}

.cr-brand-sub {
    margin: 0.45rem 0 0;
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
}

.cr-brand-body {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .cr-hero {
        min-height: 70vh;
        padding: calc(var(--header-h) + 3rem) 0 3.5rem;
    }

    .cr-form-section,
    .cr-brand {
        min-height: 0;
        padding: 4rem 0;
    }

    .cr-form-wrap {
        width: 100%;
    }
}
