/* fated.org/hire — page-specific styles. Built on /css/style.css tokens. */

/* ── Hero ─────────────────────────────────────────────────────────────── */
/* This is a content page, not a splash — top-align instead of centering in a
   full-viewport hero (which left a large gap above the badge). */
.hire-hero {
    min-height: auto;
    justify-content: flex-start;
    padding: 100px 28px 56px;
}
/* Match the hero block to the rest of the page content width. */
.hire-hero .hero-content { max-width: 1184px; width: 100%; }
.hire-hero .hero-stats   { max-width: none; }

.hire-title {
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: none;
    margin-inline: auto;
    margin-bottom: 20px;
}

.hire-cred {
    margin: 14px auto 0;
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    color: var(--text-dim);
    max-width: 70ch;
    line-height: 1.6;
}

.hire-positioning {
    margin: 14px auto 0;
    max-width: 62ch;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dim);
}
.hire-positioning-strong {
    color: var(--text);
    font-weight: 600;
}

.hire-lede {
    max-width: none;
    width: 100%;
    /* trailing margin = slight gap before the CTA buttons */
    margin: 1.6rem auto 2.25rem;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.7;
}

.hire-lede strong { color: var(--text); }

.hire-lede a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}

.hire-lede a:hover { border-bottom-color: var(--cyan); }

.stat-plus {
    color: var(--cyan);
    font-weight: 600;
    font-size: 1.4rem;
    margin-left: 1px;
}

/* ── The Stack ────────────────────────────────────────────────────────── */
.hire-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* ── Shared transport stack widget ────────────────────────────────────── */
.hire-transport {
    position: relative;
    background:
        linear-gradient(180deg, var(--cyan-dim), transparent 55%),
        var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 38px);
    margin-bottom: 28px;
    overflow: hidden;
}
/* animated accent rail along the top edge */
.hire-transport::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    background-size: 200% 100%;
    animation: htf-rail 6s linear infinite;
}
@keyframes htf-rail {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

.hire-transport-head { max-width: 760px; margin-bottom: 26px; }
.hire-transport-tag {
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
}
.hire-transport-head h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    margin: 10px 0 8px;
    color: var(--text);
    line-height: 1.2;
}
.hire-transport-head h3 strong {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hire-transport-head p { color: var(--text-dim); line-height: 1.6; margin: 0; }
.hire-transport-head p strong { color: var(--text); }

/* the request path, left → right */
.hire-transport-flow {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}
.htf-node {
    position: relative;
    flex: 1 1 150px;
    min-width: 140px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .25s ease, transform .25s ease;
}
.htf-node:hover { transform: translateY(-3px); border-color: var(--cyan-glow); }
/* connector arrow between adjacent nodes */
.htf-node:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: .9rem;
    z-index: 1;
}
.htf-name { font-weight: 600; color: var(--text); font-size: .98rem; }
.htf-sub {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--text-dim);
    line-height: 1.35;
}
/* the post-quantum hop is the headline — highlight it with a gradient border + pulse */
.htf-node-pqc {
    border-color: transparent;
    background:
        linear-gradient(var(--bg2), var(--bg2)) padding-box,
        linear-gradient(135deg, var(--cyan), var(--purple)) border-box;
    animation: htf-pqc-pulse 2.8s ease-in-out infinite;
}
.htf-node-pqc .htf-sub { color: var(--cyan); }
@keyframes htf-pqc-pulse {
    0%, 100% { box-shadow: 0 0 18px -6px var(--cyan-glow); }
    50%      { box-shadow: 0 0 26px -4px var(--purple-dim); }
}

/* capability chips */
.hire-transport-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.htf-chip {
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--text-dim);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 13px;
}
.htf-chip-pqc {
    color: var(--text);
    border-color: var(--cyan-glow);
    background: linear-gradient(90deg, var(--cyan-dim), var(--purple-dim));
}

/* narrow screens: stack the flow vertically, arrows point down */
@media (max-width: 720px) {
    .hire-transport-flow { flex-direction: column; }
    .htf-node:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -14px;
        transform: translateX(50%);
    }
}

.hire-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: border-color .3s ease, transform .3s ease;
}

.hire-card:hover { border-color: var(--cyan-glow); }

.hire-card h3 {
    font-size: 1.35rem;
    margin: 0 0 4px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hire-card-tag {
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 14px;
}

.hire-card > p { color: var(--text-dim); line-height: 1.6; margin: 0 0 16px; }

.hire-feature-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hire-feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.5;
}

.hire-feature-list li::before {
    content: "◈";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-size: .7rem;
    top: .28em;
}

.hire-feature-list li strong { color: var(--text); font-weight: 600; }

.hire-card-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 6px;
}

/* ── Strengths ────────────────────────────────────────────────────────── */
.hire-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.hire-skill {
    background: var(--glass);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform .25s ease, border-color .25s ease;
}

.hire-skill:hover { transform: translateY(-4px); border-left-color: var(--purple); }

.hire-skill h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--text); }
.hire-skill p  { margin: 0; color: var(--text-dim); font-size: .92rem; line-height: 1.55; }

/* ── Experience ───────────────────────────────────────────────────────── */
.hire-xp {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hire-xp-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    position: relative;
}

.hire-xp-item::before {
    content: "";
    position: absolute;
    left: 0; top: 18px; bottom: 18px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.hire-xp-role { font-size: 1.12rem; font-weight: 600; color: var(--text); }

.hire-xp-org {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--cyan);
    margin: 2px 0 10px;
}

.hire-xp-item p { margin: 0; color: var(--text-dim); line-height: 1.6; font-size: .94rem; }

/* ── Why this matters ─────────────────────────────────────────────────── */
.hire-why-section { padding-top: 40px; padding-bottom: 40px; }
.hire-why {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-dim);
}
.hire-why strong {
    color: var(--text);
    font-weight: 600;
}

/* ── Selected Findings ────────────────────────────────────────────────── */
.section-header p.findings-thesis {
    max-width: 800px;
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
    line-height: 1.5;
    color: var(--text-dim);
}
.findings-thesis strong { color: var(--text); font-weight: 600; }
.hire-findings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.finding {
    background: var(--glass);
    border: 1px solid var(--border);
    border-top: 3px solid var(--cyan);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.finding:hover { transform: translateY(-4px); border-top-color: var(--purple); }
.finding-stat {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}
.finding h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--text); }
.finding p  { margin: 0 0 16px; color: var(--text-dim); font-size: 0.94rem; line-height: 1.6; }
.finding-link {
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.finding-link:hover { border-bottom-color: var(--cyan); }

/* ── Roles I Fit ──────────────────────────────────────────────────────── */
.hire-roles {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 960px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hire-roles li {
    background: var(--glass);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: 10px;
    padding: 12px 18px;
    color: var(--text);
    font-size: 0.92rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.hire-roles li:hover {
    border-left-color: var(--purple);
    transform: translateY(-3px);
}

/* ── Ways to Work Together ────────────────────────────────────────────── */
.hire-lane-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.hire-lane {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    overflow: hidden;
}

.hire-lane-mid { border-color: var(--purple-dim); }

.hire-lane-num {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--border);
    display: block;
    margin-bottom: 14px;
}

.hire-lane h3 { font-size: 1.4rem; margin: 0 0 10px; color: var(--text); }
.hire-lane > p { color: var(--text-dim); line-height: 1.6; margin: 0 0 18px; font-size: .95rem; }

.hire-lane-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hire-lane-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.5;
}

.hire-lane-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cyan);
}

/* ── Contact CTA band ─────────────────────────────────────────────────── */
.hire-cta-band {
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px) 30px;
}

.hire-cta-band h2 { margin: 0 0 10px; }

.hire-cta-band > p {
    color: var(--text-dim);
    margin: 0 auto 28px;
    max-width: 48ch;
    line-height: 1.6;
}

.hire-cta-band .hero-ctas { justify-content: center; }

@media (max-width: 600px) {
    .hire-card, .hire-lane { padding: 24px; }
}
