seahaven-site/assets/css/careers.css
Adam Moussa ff66171782
Some checks are pending
Deploy / deploy (push) Waiting to run
feat(careers): render openings from the Paychex job feed (#67)
Load listings at build time so Learn more goes to each Paychex posting, and rebuild on weekday mornings so new roles appear without a code change.
2026-09-24 21:17:17 +00:00

157 lines
4.1 KiB
CSS

/* ── Careers listing (extracted from inline <style>; consolidate shared rules into main.css) ── */
/* ── Careers Intro ── */
.careers-intro { background: var(--surface); }
.careers-intro .label { margin-bottom: 0.75rem; }
.careers-intro h2 { margin-bottom: 1.25rem; }
.careers-intro p {
color: var(--text-muted);
font-size: 1rem;
line-height: 1.75;
max-width: 680px;
}
/* ── Careers Hero (override) ── */
.careers-hero {
background: linear-gradient(rgba(26,24,20,0.7), rgba(26,24,20,0.75)),
url('/assets/images/team-at-work.webp') center/cover no-repeat;
padding: 160px 0 80px;
}
/* ── Why Work Here ── */
.why-section { background: var(--surface); }
.why-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: clamp(1.5rem, 3vw, 2rem);
}
.why-card {
padding: clamp(1.5rem, 3vw, 2rem);
background: var(--body-bg);
border-radius: 3px;
border-top: 3px solid var(--rose);
}
.why-card h3 {
font-family: var(--font-display);
font-size: 1.125rem;
line-height: 1.3;
margin-bottom: 0.625rem;
}
.why-card p {
font-size: 0.875rem;
color: var(--text-muted);
line-height: 1.7;
}
/* ── Open Positions ── */
.positions-section { background: var(--warm-gray); }
.positions-section h2 {
margin-bottom: clamp(2rem, 4vw, 3rem);
}
.job-card {
position: relative;
background: var(--surface);
border-left: 4px solid var(--rose);
border-radius: 3px;
padding: clamp(1.5rem, 3vw, 2.5rem);
margin-bottom: 1.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
transition: box-shadow 0.2s, transform 0.2s;
cursor: pointer;
}
.job-card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transform: translateY(-2px);
}
.job-card h3 {
font-family: var(--font-display);
font-size: 1.5rem;
line-height: 1.2;
margin-bottom: 0.75rem;
}
.job-meta {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 1rem;
align-items: center;
}
.job-badge {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.04em;
padding: 0.25rem 0.75rem;
border-radius: 2px;
background: var(--rose-tint);
color: var(--rose);
}
.job-meta-item {
font-size: 0.875rem;
color: var(--text-muted);
}
.job-salary {
font-family: var(--font-display);
font-size: 1.125rem;
color: var(--text);
margin-bottom: 0.75rem;
}
.positions-empty {
color: var(--text-muted);
font-size: 1rem;
line-height: 1.7;
max-width: 680px;
}
.positions-empty a {
color: var(--rose);
font-weight: 600;
}
.job-link {
display: inline-flex;
align-items: center;
gap: 0.375rem;
font-size: 0.875rem;
font-weight: 600;
color: var(--rose);
transition: color 0.15s;
}
.job-link::after {
content: '';
position: absolute;
inset: 0;
}
.job-link:hover { color: var(--rose-dark); }
/* ── CTA Section ── */
.cta-section {
background: var(--ink);
text-align: center;
padding: clamp(4rem, 8vw, 6rem) 0;
}
.cta-section h2 {
font-family: var(--font-display);
font-size: clamp(1.75rem, 3.5vw, 2.75rem);
line-height: 1.15;
color: #fff;
margin-bottom: 1rem;
}
.cta-section p {
font-size: 1rem;
color: rgba(255,255,255,0.55);
line-height: 1.75;
max-width: 540px;
margin: 0 auto 2rem;
}
/* ── Responsive (page-specific) ── */
@media (max-width: 1024px) {
.why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
.job-meta { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
.footer-bottom { flex-direction: column; align-items: flex-start; }
}