:root {
  --navy: var(--text-primary);
  --blue: var(--accent);
  --muted: var(--text-secondary);
  --line: #dce3ec;
  --pale: #f4f7fa;
  --display: var(--font-display);
  --body: var(--font-body);
  --mono: var(--font-mono);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); font: 16px/1.65 var(--body); background: #fff; -webkit-font-smoothing: antialiased; padding-top: 88px; }
button, input { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #6da5df; outline-offset: 3px; }
.wrap { width: min(1450px, calc(100% - 8vw)); margin: auto; }
.preview-banner { background: #dceaf6; color: #244d76; text-align: center; padding: .45rem 1rem; font-size: .82rem; font-weight: 700; }
.grid-bg { background-color: #f7f9fb; background-image: linear-gradient(90deg, rgba(27,56,90,.026) 1px, transparent 1px), linear-gradient(rgba(27,56,90,.026) 1px, transparent 1px); background-size: 130px 130px; }
.eyebrow { color: var(--blue); font: 400 .7rem/1.4 var(--mono); letter-spacing: .25em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.eyebrow::before { content: ''; width: 42px; height: 2px; background: var(--blue); }
.hero { min-height: 650px; display: flex; align-items: center; overflow: hidden; background-color: #f4f7fa; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); align-items: center; gap: 2rem; padding-top: 6rem; padding-bottom: 7rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; }
.hero h1 { font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 700; letter-spacing: -.02em; margin: 2rem 0 1.5rem; max-width: 900px; }
.hero h1 em { color: var(--accent-light); }
.hero-copy { max-width: 640px; color: var(--text-secondary); font-size: 1.05rem; font-weight: 300; line-height: 1.7; white-space: pre-line; }
.hero-action { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.button { display: inline-block; padding: .85rem 1.5rem; border-radius: 5px; background: var(--blue); color: white; font-weight: 700; text-align: center; text-decoration: none; border: 0; }
.button:hover { background: #214f7e; }
.muted { color: var(--muted); }
.brand-orb { aspect-ratio: 1; width: min(100%, 450px); margin: auto; background: url('/logo-cosigma-transparent.webp') center / contain no-repeat; opacity: .28; }
.roles { padding: 6rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h2, .why h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); margin: 1rem 0 2rem; }
.filters { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.filter-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-group button { background: #fff; border: 1px solid #ccd6e2; border-radius: 999px; color: #526077; padding: .4rem .9rem; cursor: pointer; font-size: .85rem; }
.filter-group button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2rem; min-height: 143px; border-bottom: 1px solid var(--line); }
.job-row h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin: 0 0 .7rem; }
.tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tags span { border: 1px solid #d0dbe7; border-radius: 4px; background: white; color: #35425b; font-size: .79rem; font-weight: 700; padding: .18rem .55rem; }
.tags span::before { content: ''; display: inline-block; background: var(--blue); width: 3px; height: 12px; margin-right: .45rem; vertical-align: -.1rem; }
.tags span:nth-child(2)::before { background: #57a0b1; }
.tags span:nth-child(3)::before { background: #a54686; }
.contract { color: #758197; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.role-link { border: 1px solid #ccd6e2; border-radius: 5px; padding: .55rem 1rem; text-decoration: none; color: #315b86; font-weight: 700; white-space: nowrap; }
.role-link:hover { background: #eaf1f8; }
.empty-state { margin: 2rem 0; padding: 2rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.why { padding: 7rem 0; background: #f4f7fa; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.why-card { border: 1px solid #e0e6ee; border-radius: 13px; padding: 2rem; min-height: 270px; }
.why-card small { color: var(--blue); font: 400 .8rem/1.2 var(--mono); letter-spacing: .15em; }
.why-card h3 { font-size: clamp(1.8rem, 2.3vw, 2.8rem); margin: 1.3rem 0 .8rem; }
.why-card p { color: #536075; margin: 0; }
.talent { background: #17233d; color: white; padding: 6rem 0; }
.talent-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 10vw, 9rem); align-items: center; }
.talent h2 { font-size: clamp(3rem, 4.5vw, 5rem); margin: 0 0 1rem; }
.talent h2 em { color: #7298c1; font-weight: 400; }
.talent p { color: #c2cbda; max-width: 620px; }
.talent-form { background: white; color: var(--navy); padding: 2rem; border-radius: 10px; }
.talent-form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .9rem; }
.talent-form input { display: block; width: 100%; padding: .75rem; border: 1px solid #cbd6e3; border-radius: 5px; margin: .25rem 0 1rem; }
.talent-form input:disabled { background: #f4f6f9; }
.talent-form button { width: 100%; opacity: .6; cursor: not-allowed; }
.privacy { border-top: 1px solid #384760; padding: 2rem 0; background: #121e34; color: #b5c2d5; }
.privacy summary { cursor: pointer; color: #8caed5; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer { background: #121e34; color: #9caac0; border-top: 1px solid #293950; padding: 2rem 0; font-size: .85rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 1rem; }
.detail-hero { padding: 4rem 0; min-height: 300px; background: #f4f7fa; }
.back { color: var(--blue); text-decoration: none; font-weight: 700; font-size: .9rem; }
.detail-hero h1 { font-size: clamp(4rem, 7vw, 7rem); margin: 1rem 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr); gap: clamp(2rem, 8vw, 8rem); padding-top: 4rem; padding-bottom: 6rem; }
.detail-content section { border-bottom: 1px solid var(--line); padding: 0 0 2rem; margin: 0 0 2rem; }
.detail-content h2 { font: 700 .8rem/1.4 var(--body); color: var(--blue); letter-spacing: .13em; text-transform: uppercase; }
.detail-content p, .detail-content li { color: #536075; font-size: 1.05rem; line-height: 1.8; }
.detail-content li { padding-left: .5rem; margin-bottom: .7rem; }
.detail-content li::marker { color: var(--blue); }
.apply-card { background: #edf3f8; border: 1px solid #d6e2ee; border-radius: 10px; padding: 2rem; height: fit-content; position: sticky; top: 6rem; }
.apply-card h2 { font: 700 1.2rem/1.3 var(--body); margin: 0 0 1rem; }
.apply-card p { color: #536075; }
.apply-card .button { display: block; margin: 1.5rem 0; }
.apply-card dl { border-top: 1px solid #d4deeb; padding-top: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; font-size: .9rem; }
.apply-card dt { color: #77849a; }
.apply-card dd { margin: 0; text-align: right; }
.closed { font-weight: 700; color: #88414d !important; }
@media (max-width: 900px) { .hero-grid, .talent-grid, .detail-grid { grid-template-columns: 1fr; } .brand-orb { display: none; } .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apply-card { position: static; } }
@media (max-width: 650px) { .wrap { width: calc(100% - 2rem); } .hero { min-height: auto; } .hero-grid { padding-top: 4rem; padding-bottom: 4rem; } .roles, .why, .talent { padding: 4rem 0; } .why-grid { grid-template-columns: 1fr; } .job-row { grid-template-columns: 1fr; gap: .7rem; padding: 1.6rem 0; } .contract { display: none; } .role-link { justify-self: start; } .footer .wrap { flex-direction: column; } }

@media (max-width: 1024px) { body { padding-top: 78.4px; } }
[hidden] { display: none !important; }

/* filter toolbox */
.filters { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(20, 40, 70, .04); }
.filters-head { display: flex; align-items: center; gap: 1rem; padding-bottom: .9rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.filters-title { font: 400 .7rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-right: auto; }
#filter-reset { background: none; border: 0; color: var(--blue); font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 0; }
.filter-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 1rem; padding: .55rem 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--line); }
.filter-label { font: 400 .7rem/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.filter-group button { border-radius: 8px; transition: background .15s, border-color .15s; }
.filter-group button:hover { border-color: var(--navy); }
@media (max-width: 650px) { .filters { padding: 1rem; } .filter-row { grid-template-columns: 1fr; gap: .4rem; } }

/* tighter vertical rhythm */
.hero { min-height: 0; }
.hero-grid { padding-top: 3rem; padding-bottom: 3rem; gap: 1.5rem; }
.hero h1 { font-size: clamp(2.52rem, 4.95vw, 4.5rem); margin: 1rem 0 1rem; }
.hero-action { margin-top: 1.5rem; }
.brand-orb { width: min(100%, 340px); }
.roles { padding: 3rem 0 3.5rem; }
.section-heading h2 { margin: .6rem 0 1.25rem; }
.job-row { min-height: 0; padding: 1.4rem 0; }
.job-row h3 { margin-bottom: .5rem; }
@media (max-width: 650px) { .hero-grid { padding-top: 2rem; padding-bottom: 2rem; } .roles { padding: 2rem 0; } }
