:root {
    --bg: #f6f8f5;
    --surface: #ffffff;
    --surface-soft: #edf6f3;
    --ink: #18211d;
    --muted: #5b6862;
    --line: #d9e2dd;
    --primary: #0f766e;
    --primary-dark: #0b5c55;
    --accent: #e05335;
    --accent-soft: #fff0eb;
    --warning: #b7791f;
    --success: #147d4f;
    --danger: #c73434;
    --shadow: 0 24px 70px rgba(24, 33, 29, 0.14);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 12px clamp(18px, 5vw, 56px);
    color: #ffffff;
    background: rgba(15, 24, 21, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 140px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ffffff;
}

.header-cta {
    padding: 10px 16px;
    color: #ffffff;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: min(760px, calc(100svh - 42px));
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
}

.hero-cover {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 22, 18, 0.94) 0%, rgba(9, 22, 18, 0.78) 42%, rgba(9, 22, 18, 0.34) 100%),
        linear-gradient(0deg, rgba(246, 248, 245, 0.08), rgba(246, 248, 245, 0));
}

.hero-content {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: 72px 0 88px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero h1 {
    max-width: 770px;
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 16px 32px rgba(224, 83, 53, 0.24);
}

.btn-primary:hover {
    background: #c9472e;
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary {
    color: var(--primary-dark);
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 14px;
    max-width: 520px;
    margin: 42px 0 0;
}

.hero-stats div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.hero-stats dt {
    font-size: 1.5rem;
    font-weight: 900;
}

.hero-stats dd {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.quick-strip {
    color: #ffffff;
    background: var(--primary-dark);
}

.quick-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(var(--container), 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
}

.quick-strip span {
    display: grid;
    place-items: center;
    min-height: 68px;
    padding: 14px;
    text-align: center;
    background: var(--primary-dark);
    font-weight: 800;
}

.section {
    padding: clamp(56px, 8vw, 92px) 0;
}

.section-inner {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.section-intro {
    padding: 34px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
}

.intro-grid h2,
.section-heading h2,
.apply-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.apply-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.section-heading.compact {
    display: block;
    max-width: 680px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.job-card,
.benefit-item,
.application-form,
.apply-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(24, 33, 29, 0.06);
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.job-card-header {
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-dark), #29443f);
}

.job-card-header h3 {
    margin: 8px 0 0;
    font-size: 1.42rem;
    line-height: 1.2;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    color: #113b35;
    background: #dcf5ef;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.job-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.job-meta {
    display: grid;
    gap: 10px;
    margin: 0;
}

.job-meta div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.job-meta dt {
    color: var(--muted);
}

.job-meta dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.job-card p {
    margin: 0;
    color: var(--muted);
}

.job-section-title {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--ink);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.job-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.94rem;
}

.job-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--success);
    content: "✓";
    font-weight: 900;
}

.job-shifts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.job-shifts span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 9px;
    color: var(--primary-dark);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.job-card .btn {
    width: 100%;
    margin-top: auto;
}

.section-muted {
    background: var(--surface-soft);
    border-block: 1px solid var(--line);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.benefit-item {
    padding: 22px;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: var(--primary);
    border-radius: var(--radius);
    font-weight: 900;
}

.benefit-item h3 {
    margin: 18px 0 8px;
    font-size: 1.08rem;
}

.benefit-item p {
    margin: 0;
    color: var(--muted);
}

.shifts-section {
    background: #ffffff;
}

.shift-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shift-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.shift-card span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shift-card strong {
    font-size: 1.35rem;
    line-height: 1.15;
}

.shift-card p {
    margin: 0;
    color: var(--muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-item {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.process-item span {
    color: var(--accent);
    font-weight: 900;
}

.process-item h3 {
    margin: 16px 0 8px;
    font-size: 1.12rem;
}

.process-item p {
    margin: 0;
    color: var(--muted);
}

.application-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 20px;
    align-items: start;
}

.apply-panel {
    position: sticky;
    top: 94px;
    padding: 26px;
}

.selected-job {
    display: grid;
    gap: 4px;
    margin-top: 24px;
    padding: 18px;
    background: var(--accent-soft);
    border: 1px solid #ffd4c8;
    border-radius: var(--radius);
}

.selected-label {
    color: #9a3b26;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selected-job small {
    color: var(--muted);
}

.contact-strip {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    color: var(--primary-dark);
    font-weight: 800;
}

.contact-strip span {
    display: block;
}

.application-form {
    overflow: hidden;
    padding: 0;
}

.form-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(20px, 4vw, 28px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(125, 79, 18, 0.92), rgba(15, 118, 110, 0.94)),
        #0f766e;
}

.form-card-header h3 {
    margin: 4px 0 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.1;
}

.form-eyebrow,
.form-location {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.form-location {
    flex: 0 0 auto;
    padding: 9px 11px;
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.form-body {
    display: grid;
    gap: 22px;
    padding: clamp(20px, 4vw, 30px);
}

.form-section {
    min-width: 0;
    margin: 0;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.form-section legend {
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-row {
    margin-bottom: 18px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.form-row label > span,
.checkbox-row b {
    color: var(--danger);
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid #cfd9d3;
    border-radius: var(--radius);
    outline: 0;
    transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #aebfba;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.is-invalid {
    border-color: var(--danger);
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(199, 52, 52, 0.08);
}

.field-error {
    margin: 6px 0 0;
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 700;
}

.field-error:empty {
    display: none;
}

.field-hint {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.field-hint span {
    color: var(--primary-dark);
    font-weight: 900;
}

.field-hint span.is-complete {
    color: var(--success);
}

.privacy-block {
    padding-top: 2px;
}

.checkbox-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 14px;
    color: var(--ink);
    background: #f8fbfa;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 700;
}

.checkbox-row input {
    width: 20px;
    min-height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.form-status {
    margin: 0 0 12px;
    padding: 12px 14px;
    color: var(--muted);
    background: #eef7f4;
    border: 1px solid #d5e8e1;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-status:empty {
    display: none;
}

.form-status.is-success {
    color: #0b5f3b;
    background: #e9f8ef;
    border-color: #c5ead4;
}

.form-status.is-error {
    color: #9b1c1c;
    background: #fff2f2;
    border-color: #ffd0d0;
}

.form-status.is-info {
    color: var(--primary-dark);
}

.form-actions {
    padding: 18px clamp(20px, 4vw, 30px) clamp(20px, 4vw, 30px);
    background: linear-gradient(180deg, #f8fbfa, #ffffff);
    border-top: 1px solid var(--line);
}

.btn-submit {
    width: 100%;
    color: #ffffff;
    min-height: 54px;
    background: linear-gradient(135deg, var(--primary), #0b5c55);
    box-shadow: 0 14px 26px rgba(15, 118, 110, 0.18);
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.btn-submit[disabled] {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.is-loading .btn-spinner {
    display: inline-block;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: none;
    max-width: min(420px, calc(100vw - 36px));
    padding: 16px 18px;
    color: #ffffff;
    background: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 800;
}

.toast.show {
    display: block;
    animation: toastIn 0.22s ease;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* Login Prompt Overlay */
.login-prompt-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lp-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 28px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: toastIn 0.25s ease;
}

.lp-icon {
    margin-bottom: 18px;
    line-height: 0;
}

.lp-title {
    font-size: 20px;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 12px;
    line-height: 1.3;
}

.lp-body {
    font-size: 14px;
    color: #606770;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lp-btn {
    display: block;
    width: 100%;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.18s, opacity 0.18s;
}

.lp-btn-primary {
    background: #1877f2;
    color: #fff;
    margin-bottom: 12px;
}

.lp-btn-primary:hover {
    background: #166fe5;
}

.lp-btn-secondary {
    background: transparent;
    color: #606770;
    border: 1px solid #dddfe2;
}

.lp-btn-secondary:hover {
    background: #f0f2f5;
}

@keyframes toastIn {
    from { opacity: 0; transform: scale(0.94) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px clamp(18px, 5vw, 56px);
    color: rgba(255, 255, 255, 0.74);
    background: #111815;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    color: #ffffff;
}

.site-footer a {
    color: #ffffff;
    font-weight: 800;
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    gap: 30px;
}

.faq-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.faq-list p {
    margin: 10px 0 0;
    color: var(--muted);
}

.skeleton-card {
    min-height: 390px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #edf2ef 25%, #f8fbf9 50%, #edf2ef 75%);
    background-size: 260% 100%;
    animation: shimmer 1.2s infinite;
}

.success-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(125, 79, 18, 0.1)),
        var(--bg);
}

.success-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.success-card {
    width: min(100%, 620px);
    padding: clamp(24px, 6vw, 46px);
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-logo {
    width: min(210px, 70vw);
    height: auto;
    margin-bottom: 24px;
    border-radius: 6px;
}

.success-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    color: #ffffff;
    background: var(--success);
    border-radius: 999px;
    font-size: 1.9rem;
    font-weight: 900;
}

.success-card h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.05;
}

.success-card p:not(.section-kicker) {
    margin: 16px auto 0;
    max-width: 520px;
    color: var(--muted);
}

.success-code {
    margin: 22px auto 0;
    padding: 12px 14px;
    color: var(--primary-dark);
    background: #eef7f4;
    border: 1px solid #d5e8e1;
    border-radius: var(--radius);
    font-weight: 900;
}

.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* Admin dashboard */
.admin-body {
    min-height: 100vh;
    background: #f3f6f4;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(16px, 4vw, 42px);
    color: #ffffff;
    background: #111815;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header-actions,
.admin-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-weight: 900;
}

.admin-main {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.admin-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 5vw, 44px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(17, 24, 21, 0.94)),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80") center / cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
}

.admin-hero p:not(.section-kicker) {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.metric-card,
.admin-panel,
.candidate-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(24, 33, 29, 0.06);
}

.metric-card {
    display: grid;
    gap: 4px;
    padding: 18px;
}

.metric-card span {
    color: var(--muted);
    font-weight: 800;
}

.metric-card strong {
    font-size: 2.2rem;
    line-height: 1;
}

.metric-card small {
    color: var(--muted);
}

.metric-card.danger strong {
    color: var(--danger);
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.admin-panel {
    overflow: hidden;
}

.panel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.panel-heading.stacked {
    display: block;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1.5rem;
}

.panel-heading p:not(.section-kicker) {
    margin: 8px 0 0;
    color: var(--muted);
}

.filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.65fr) minmax(160px, 0.65fr);
    gap: 10px;
    width: min(780px, 100%);
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    background: #f8faf8;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small,
.candidate-card small {
    color: var(--muted);
}

.admin-table a {
    color: var(--primary-dark);
    font-weight: 800;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.row-actions button {
    min-height: 34px;
    padding: 6px 10px;
    color: var(--primary-dark);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.status-new {
    color: #92400e;
    background: #fff7d6;
}

.status-contacted {
    color: #075985;
    background: #e0f2fe;
}

.status-interview {
    color: #6d28d9;
    background: #ede9fe;
}

.status-hired {
    color: #166534;
    background: #dcfce7;
}

.status-rejected {
    color: #991b1b;
    background: #fee2e2;
}

.candidate-cards {
    display: none;
    gap: 12px;
    padding: 14px;
}

.candidate-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.candidate-card > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.candidate-card p {
    margin: 0;
    color: var(--muted);
}

.empty-state,
.empty-note {
    display: grid;
    gap: 4px;
    padding: 26px;
    color: var(--muted);
    text-align: center;
}

.empty-state strong {
    color: var(--ink);
    font-size: 1.1rem;
}

.notification-list {
    display: grid;
    gap: 12px;
    max-height: 720px;
    overflow: auto;
    padding: 16px;
}

.notification-item {
    padding: 14px;
    background: #f8faf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.notification-item p {
    margin: 6px 0;
    color: var(--muted);
}

.notification-item small {
    color: var(--muted);
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 18px;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 21, 0.64);
}

.admin-modal-panel {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: min(860px, calc(100vh - 36px));
    overflow: auto;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-modal-panel header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.admin-modal-panel h2 {
    margin: 0;
    font-size: 1.7rem;
}

.icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--ink);
    background: #f1f5f2;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.6rem;
}

.detail-content {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-item,
.detail-block {
    padding: 14px;
    background: #f8faf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.detail-item span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-item strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.detail-item a {
    color: var(--primary-dark);
}

.detail-block h3 {
    margin: 0 0 8px;
}

.detail-block p {
    margin: 0;
    color: var(--muted);
}

.detail-actions {
    display: flex;
    gap: 10px;
}

.detail-actions select {
    flex: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    to {
        background-position: -260% 0;
    }
}

/* Login Page */
.login-section {
    min-height: calc(100vh - 72px - 80px);
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(125, 79, 18, 0.04)),
        var(--bg);
}

.login-section-inner {
    width: 100%;
    display: grid;
    place-items: center;
}

.login-card {
    width: min(460px, calc(100% - 32px));
    padding: clamp(28px, 6vw, 44px) clamp(24px, 5vw, 36px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login-brand img {
    width: 160px;
    height: auto;
}

.login-title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.1;
    text-align: center;
}

.login-desc {
    margin: 8px 0 24px;
    color: var(--muted);
    text-align: center;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
    font-size: 0.88rem;
}

.login-field input {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.18s;
}

.login-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.login-field input.is-invalid {
    border-color: var(--danger);
    background: #fffafa;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--ink);
}

.eye-icon {
    width: 18px;
    height: 18px;
}

.login-status {
    margin: 0;
    padding: 11px 13px;
    border-radius: var(--radius);
    font-weight: 800;
    min-height: 0;
}

.login-status:empty {
    display: none;
}

.login-status.status-loading {
    color: var(--primary-dark);
    background: #eef7f4;
    border: 1px solid #d5e8e1;
}

.login-status.status-success {
    color: #0b5f3b;
    background: #e9f8ef;
    border: 1px solid #c5ead4;
}

.login-status.status-error {
    color: #9b1c1c;
    background: #fff2f2;
    border: 1px solid #ffd0d0;
}

.login-btn {
    width: 100%;
    min-height: 52px;
}

.login-back {
    display: block;
    margin-top: 20px;
    color: var(--primary-dark);
    font-weight: 800;
    text-align: center;
}

.login-back:hover {
    color: var(--accent);
}

/* Login Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    place-items: center;
    background: rgba(17, 24, 21, 0.68);
    backdrop-filter: blur(6px);
}

.modal-overlay.show {
    display: grid;
}

.modal-box {
    position: relative;
    width: min(480px, calc(100vw - 32px));
    padding: clamp(26px, 5vw, 38px) clamp(22px, 5vw, 34px);
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--ink);
    background: var(--surface-soft);
}

.modal-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.modal-logo {
    width: 160px;
    height: auto;
}

.modal-eyebrow {
    margin: 0 0 4px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.modal-title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.1;
}

.modal-desc {
    margin: 8px 0 22px;
    color: var(--muted);
}

.modal-field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.modal-field label {
    font-weight: 900;
    font-size: 0.88rem;
}

.modal-field input {
    width: 100%;
    padding: 12px 14px;
    color: var(--ink);
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.18s;
}

.modal-field input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-field input.is-invalid {
    border-color: var(--danger);
}

.modal-password-wrap {
    position: relative;
}

.modal-password-wrap input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--ink);
}

.eye-icon {
    width: 18px;
    height: 18px;
}

.modal-error {
    margin: 0;
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 18px;
}

.modal-status {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: var(--radius);
    font-weight: 800;
    min-height: 42px;
}

.modal-status:empty {
    display: none;
}

.modal-status.is-error {
    color: #9b1c1c;
    background: #fff2f2;
    border: 1px solid #ffd0d0;
}

.modal-status.is-info {
    color: var(--primary-dark);
    background: #eef7f4;
    border: 1px solid #d5e8e1;
}

.modal-submit-btn {
    width: 100%;
    min-height: 50px;
}

@media (max-width: 980px) {
    .site-header {
        min-height: 66px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 720px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(9, 22, 18, 0.94), rgba(9, 22, 18, 0.62));
    }

    .intro-grid,
    .section-heading,
    .application-grid {
        grid-template-columns: 1fr;
    }

    .jobs-grid,
    .benefits-grid,
    .shift-grid,
    .process-grid,
    .quick-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apply-panel {
        position: static;
    }

    .faq-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notifications-panel {
        order: -1;
    }
}

@media (max-width: 640px) {
    .site-header {
        justify-content: center;
        min-height: 64px;
        padding: 8px 16px;
    }

    .header-cta {
        display: none;
    }

    .brand-logo {
        width: 132px;
        height: 48px;
    }

    .hero {
        display: block;
        min-height: 0;
    }

    .hero-media {
        background-position: 58% center;
        transform: none;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(9, 22, 18, 0.96) 0%, rgba(9, 22, 18, 0.8) 48%, rgba(9, 22, 18, 0.68) 100%),
            linear-gradient(0deg, rgba(15, 118, 110, 0.16), rgba(15, 118, 110, 0));
    }

    .hero-content {
        width: min(100% - 32px, 440px);
        max-width: none;
        padding: 46px 0 36px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 10vw, 3.05rem);
        line-height: 1.02;
        text-wrap: balance;
        overflow-wrap: break-word;
    }

    .hero-lead {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        overflow-wrap: break-word;
    }

    .eyebrow,
    .section-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.035em;
        line-height: 1.45;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions,
    .hero-stats {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        max-width: 100%;
        margin-top: 22px;
    }

    .hero-stats div {
        min-width: 0;
        padding: 12px 10px;
    }

    .hero-stats dt {
        font-size: 1.28rem;
    }

    .hero-stats dd {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .section-inner {
        width: min(100% - 32px, var(--container));
    }

    .jobs-grid,
    .benefits-grid,
    .shift-grid,
    .process-grid,
    .quick-strip-inner,
    .two-columns,
    .detail-grid,
    .filter-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .job-card-header,
    .job-card-body,
    .benefit-item,
    .apply-panel {
        padding: 18px;
    }

    .application-form {
        padding: 0;
    }

    .form-card-header {
        display: grid;
        align-items: start;
        padding: 18px;
    }

    .form-location {
        justify-self: start;
    }

    .form-body {
        gap: 18px;
        padding: 18px;
    }

    .form-actions {
        padding: 16px 18px 18px;
    }

    .site-footer {
        display: grid;
        padding: 22px 14px;
    }

    .admin-header {
        align-items: start;
        flex-direction: column;
        padding: 12px 14px;
    }

    .admin-header-actions {
        width: 100%;
    }

    .admin-header-actions .btn {
        flex: 1;
    }

    .admin-main {
        width: min(100% - 20px, 1380px);
        padding-top: 16px;
    }

    .admin-hero {
        display: grid;
        padding: 22px;
    }

    .admin-hero-actions .btn {
        flex: 1;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .panel-heading {
        display: grid;
        padding: 16px;
    }

    .table-wrap {
        display: none;
    }

    .candidate-cards {
        display: grid;
    }

    .candidate-card > div:first-child,
    .detail-actions {
        align-items: start;
        flex-direction: column;
    }

    .detail-actions .btn {
        width: 100%;
    }
}