:root {
  --ink: #0b3b4f;
  --ink-soft: #3f6474;
  --lagoon: #0e7c86;
  --lagoon-deep: #0a5b63;
  --foam: #eaf6f4;
  --buoy: #ffc83d;
  --amber: #e89a00;
  --line: #bfdcdd;
  --paper: #ffffff;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--lagoon-deep); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand strong { font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand strong span { color: var(--lagoon); }
.brand small { font-size: .74rem; color: var(--ink-soft); }
.site-nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a.button { color: #fff; }
.site-nav a.button:hover { color: #fff; }
.site-nav a:hover { color: var(--lagoon); }
.lang-switch { font-size: .85rem; font-weight: 600; border: 1px solid var(--line); padding: .3rem .65rem; border-radius: 999px; }
.button { display: inline-flex; align-items: center; gap: .5rem; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: .85rem 1.35rem; border-radius: 10px; border: 0; font: 700 1rem var(--font); cursor: pointer; }
.button:hover { background: var(--lagoon-deep); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button.secondary:hover { background: var(--foam); }
.site-nav .button { padding: .55rem 1rem; font-size: .92rem; }
@media (max-width: 860px) {
  .site-nav a:not(.button):not(.lang-switch) { display: none; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--foam), #fff 85%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-kicker { font-weight: 600; color: var(--lagoon-deep); margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 1.25rem; text-wrap: balance; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Process map: the one memorable element */
.process-map { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -40px rgb(11 59 79 / .45); }
.process-map figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .6rem; }
.process-map svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.pm-lane { fill: var(--foam); }
.pm-lane-label { font-size: 15px; font-weight: 700; fill: var(--ink-soft); }
.pm-node rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.pm-node text { font-size: 15px; font-weight: 600; fill: var(--ink); }
.pm-flow { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.pm-manual { stroke: #c2410c; stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; opacity: .55; }
.pm-manual-label { font-size: 14px; fill: #b23a0a; font-style: italic; }
.pm-auto { stroke: var(--amber); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
.pm-auto-label rect { fill: var(--ink); }
.pm-auto-label text { font: 500 13px var(--mono); fill: #fff; }
.pm-auto-label { opacity: 0; animation: appear .4s 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .pm-auto { animation: none; stroke-dashoffset: 0; }
  .pm-auto-label { animation: none; opacity: 1; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
section.tint { background: var(--foam); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 .9rem; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 .4rem; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.point { border-top: 2px solid var(--ink); padding-top: 1rem; }
.point p { margin: 0; color: var(--ink-soft); }

/* Old way vs our way */
.contrast { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.contrast > div { padding: clamp(20px, 3vw, 32px); }
.contrast > div + div { background: var(--ink); color: #fff; }
.contrast h3 { margin-bottom: 1rem; }
.contrast ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.contrast > div:first-child li { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgb(194 65 12 / .5); }
.contrast > div + div li::marker { color: var(--buoy); }
@media (max-width: 700px) { .contrast { grid-template-columns: 1fr; } }

/* 90-day path: a real sequence, so it is numbered */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: stage; }
.path li { position: relative; padding: 2.4rem clamp(16px, 2.5vw, 28px) 0 0; border-top: 3px solid var(--line); }
.path li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 5px var(--foam); }
.path li:last-child::before { background: var(--buoy); }
.path .label { font-weight: 700; color: var(--lagoon-deep); font-size: .95rem; }
.path p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .path { grid-template-columns: 1fr; gap: 2rem; } }

/* Roles as rows */
.roles { border-top: 1px solid var(--line); }
.role-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 1.5rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.role-row:hover h3 { color: var(--lagoon); }
.role-row .tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.tag { font-size: .8rem; font-weight: 600; background: var(--foam); color: var(--lagoon-deep); padding: .15rem .55rem; border-radius: 999px; }
.role-row p { margin: 0; color: var(--ink-soft); }
.role-row .go { font-weight: 700; white-space: nowrap; color: var(--ink); }
@media (max-width: 820px) { .role-row { grid-template-columns: 1fr; gap: .5rem; } }

/* Hiring steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: .9rem; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--lagoon); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: .7rem 0 0; max-width: 46rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe6ea; max-width: 40rem; }
.cta-band .button { background: var(--buoy); color: var(--ink); }
.cta-band .button.secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* Role page */
.role-hero { padding: clamp(40px, 6vw, 72px) 0 24px; background: var(--foam); }
.role-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; margin: .5rem 0 1rem; }
.crumbs { font-size: .9rem; }
.crumbs a { color: var(--ink-soft); }
.role-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.role-body ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.role-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.role-aside { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; background: #fff; }
.role-aside dl { margin: 0 0 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; font-size: .95rem; }
.role-aside dt { color: var(--ink-soft); }
.role-aside dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .role-body { grid-template-columns: 1fr; } .role-aside { position: static; } }

/* Apply form */
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }
form.apply { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; }
.field small { color: var(--ink-soft); font-size: .86rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lagoon); outline: none; box-shadow: 0 0 0 3px rgb(14 124 134 / .18); }
.field textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -5000px; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.notice.ok { background: #e3f6ec; color: #0f5132; }
.notice.err { background: #fdecea; color: #8a1c12; }
.alt-contact { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.alt-contact a { display: block; font-weight: 700; margin-top: .6rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .92rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--ink); }
