/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/fraunces-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --ink: #11243a;
  --ink-2: #33475c;
  --muted: #5d6b7a;
  --line: #e3ded4;
  --bg: #faf8f4;
  --tint: #f1ede4;
  --card: #ffffff;
  --accent: #b5582a;
  --accent-2: #e0a15e;
  --dark: #0e1e30;
  --dark-2: #172b42;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17,36,58,.05), 0 8px 24px rgba(17,36,58,.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .975rem; border: 1.5px solid var(--ink); transition: transform .15s, background .15s, color .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: auto; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65em; text-decoration: none; font-weight: 600; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 .85rem/1 var(--serif); letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--accent); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__toggle span + span { margin-top: 7px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px clamp(18px,4vw,32px) 20px; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(224,161,94,.22), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: .6em; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6e; box-shadow: 0 0 0 4px rgba(47,158,110,.18); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font: 500 2rem/1 var(--serif); color: var(--ink); margin-bottom: .35rem; }
.hero__facts span { font-size: .875rem; color: var(--muted); line-height: 1.4; }

.hero__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(17,36,58,.35); }
.hero__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--accent-2); border-radius: 24px; z-index: -1; }
.badge { position: absolute; left: -24px; bottom: 28px; background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; max-width: 230px; }
.badge__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.badge__value { font-size: .9rem; font-weight: 600; line-height: 1.35; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; width: min(78%, 360px); }
  .badge { left: -12px; }
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--card); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2.75rem; padding-block: 22px; font: 500 1.15rem/1.2 var(--serif); color: var(--ink-2); }
.strip__label { font: 600 .75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #e9eef4; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow--light { color: var(--accent-2); }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: clamp(32px, 5vw, 56px); max-width: 20em; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.about__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); position: sticky; top: 110px; }
.prose { font-size: 1.1rem; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--accent); font: italic 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.4 var(--serif); color: var(--ink); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__head h2 { position: static; } }

/* Cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.card--audience { display: flex; flex-direction: column; }
.card--audience h3 { font: 500 1.6rem/1.2 var(--serif); margin: 1.2rem 0 .75rem; }
.card--audience > p { color: var(--ink-2); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.card__icon svg { width: 26px; height: 26px; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-2); font-size: .98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: rgba(181,88,42,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5582a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Focus */
.focus { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.focus__item { background: var(--dark); padding: 32px 26px; transition: background .2s; }
.focus__item:hover { background: var(--dark-2); }
.focus__item svg { width: 32px; height: 32px; color: var(--accent-2); margin-bottom: 1.25rem; }
.focus__item h3 { color: #fff; margin-bottom: .6rem; }
.focus__item p { color: #a9b6c4; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.steps__n { font: 500 .95rem/1 var(--serif); color: var(--accent); }
.steps h3 { margin: .7rem 0 .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Jobs ---------- */
.jobs__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.jobs__head .section__title { margin-bottom: 0; }
.search { position: relative; display: block; width: min(100%, 340px); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; font: inherit; font-size: .95rem; padding: .75em 1em .75em 2.6em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: .875rem; font-weight: 500; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.jobs { display: grid; gap: 16px; }
.jobs__loading { color: var(--muted); }
.job { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.job__summary { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 24px clamp(20px, 3vw, 32px); cursor: pointer; list-style: none; }
.job__summary::-webkit-details-marker { display: none; }
.job__title { font: 500 1.4rem/1.25 var(--serif); }
.job__company { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: .8rem; font-size: .875rem; color: var(--ink-2); }
.job__meta span { display: inline-flex; align-items: center; gap: .35em; }
.job__meta svg { width: 15px; height: 15px; color: var(--accent); }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .9rem; }
.tag { font-size: .78rem; font-weight: 600; padding: .25em .7em; border-radius: 6px; background: var(--tint); color: var(--ink-2); }
.job__toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s, background .2s; }
.job__toggle svg { width: 18px; height: 18px; }
.job[open] .job__toggle { transform: rotate(45deg); background: var(--tint); }
.job__body { padding: 0 clamp(20px, 3vw, 32px) 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding-top: 24px; }
.job__body h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .7rem; }
.job__body ul { margin: 0 0 1.5rem; padding-left: 1.1rem; color: var(--ink-2); }
.job__body li { margin-bottom: .35rem; }
.job__desc { color: var(--ink-2); white-space: pre-line; margin-bottom: 1.5rem; }
.job__aside { background: var(--bg); border-radius: 12px; padding: 20px; align-self: start; }
.job__aside dl { margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.job__aside dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.job__aside dd { margin: 0; font-weight: 500; }
.job__aside .btn { width: 100%; justify-content: center; }
.job__ref { font-size: .8rem; color: var(--muted); margin-top: .75rem; text-align: center; }
@media (max-width: 760px) { .job__body { grid-template-columns: 1fr; } .job__title { font-size: 1.2rem; } }

.empty { background: var(--card); border: 1.5px dashed #cfc7b8; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); text-align: center; }
.empty h3 { font: 500 1.5rem/1.25 var(--serif); margin-bottom: .6rem; }
.empty p { color: var(--muted); max-width: 34em; margin-inline: auto; }
.empty .btn { margin-top: 1.25rem; }

/* ---------- Experience ---------- */
.exp { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.exp .section__title { margin-bottom: 1rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 2rem 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-2); }
.timeline__item--now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(181,88,42,.15); }
.timeline__date { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.timeline__item h3 { margin: .3rem 0 .15rem; font-size: 1.15rem; }
.timeline__org { color: var(--muted); }
@media (max-width: 860px) { .exp { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--dark) 0%, #1b3654 100%); color: #e9eef4; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1.2rem; }
.contact__lead { color: #b8c5d3; font-size: 1.15rem; }
.contact__cards { display: grid; gap: 12px; }
.contact__card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; font-weight: 500; transition: background .2s, transform .2s; overflow-wrap: anywhere; }
a.contact__card:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact__card svg { width: 26px; height: 26px; flex: none; color: var(--accent-2); }
.contact__card small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #93a3b5; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #8796a8; font-size: .875rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.footer nav { display: flex; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Simple pages ---------- */
.page { padding-block: clamp(48px, 8vw, 96px); }
.page .prose { max-width: 44em; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.5rem; }
.page h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
.page .prose ul { padding-left: 1.2rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Language switch ---------- */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: var(--card); }
.lang span { padding: .3em .7em; border-radius: 999px; color: var(--muted); }
.lang span[aria-current="true"] { background: var(--ink); color: #fff; }
.lang:hover span:not([aria-current]) { color: var(--accent); }
.nav__links a.lang { padding: 3px; border-bottom: 1px solid var(--line); color: inherit; }
@media (max-width: 860px) { .nav__links a.lang { align-self: flex-start; margin-top: 16px; padding: 3px; border: 1px solid var(--line); } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(17,36,58,.05), 0 16px 36px rgba(17,36,58,.1); }
.post-card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font: 500 1.35rem/1.25 var(--serif); margin: .35rem 0 .6rem; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { color: var(--ink-2); font-size: .97rem; margin-bottom: 1.2rem; }
.post-meta { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.blog h1 { max-width: 18em; }
.blog__lead { margin-bottom: clamp(32px, 5vw, 56px); }
.nav__links a[aria-current="page"] { color: var(--accent); }

.post { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.post__wrap { max-width: 860px; }
.post__back { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 2rem; }
.post__back:hover { color: var(--accent); }
.post__head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .6rem 0 1rem; }
.post__lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--ink-2); }
.post__author { display: flex; align-items: center; gap: 12px; margin-top: 1.5rem; }
.post__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.post__author span { display: flex; flex-direction: column; line-height: 1.3; }
.post__author small { color: var(--muted); font-size: .85rem; }
.post__hero { margin: clamp(28px, 4vw, 44px) 0; }
.post__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(17,36,58,.35); }
.post__body { max-width: 680px; margin-inline: auto; font-size: 1.125rem; line-height: 1.75; }
.post__body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.4rem 0 1rem; color: var(--ink); }
.post__body ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.post__body ul li { padding: .55em 0 .55em 1rem; border-left: 2px solid var(--line); margin-bottom: .4em; }
.post__body a { color: var(--accent); }
.post__foot { max-width: 680px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.post__foot .job__tags { margin: 0; }
.post__foot .link-arrow { margin: 0; }
.post__cta { max-width: 680px; margin: 3rem auto 0; background: var(--dark); color: #e9eef4; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.post__cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: #fff; margin-bottom: .6rem; }
.post__cta p { color: #b8c5d3; }
.post__cta .hero__cta { margin-top: 1.5rem; }
.post__cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.post__cta .btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.post__cta .btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.post__cta .btn--light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
@media (max-width: 1000px) and (min-width: 861px) { .nav__links { gap: 1.1rem; } }
.draft-badge { display: inline-block; background: var(--accent); color: #fff; border-radius: 4px; padding: .1em .5em; margin-right: .4em; font-size: .72rem; letter-spacing: .06em; }
.job__aside .job__pdf { margin-top: 10px; background: var(--card); }
.job__aside .job__pdf svg { width: 18px; height: 18px; }
.job__aside .job__pdf:hover { background: var(--ink); color: #fff; }
.job__badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(181,88,42,.1); border-radius: 4px; padding: .2em .6em; margin-bottom: .55rem; }
.job__aside .job__pdf.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.jobs__more { display: flex; justify-content: center; margin-top: 12px; }

/* ---------- Job pages ---------- */
.jobpage__wrap { max-width: 1040px; }
.job--page .jobpage__head { padding: 28px clamp(20px, 3vw, 36px) 26px; }
.job--page h1.job__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.job__aside .job__share { display: flex; justify-content: center; margin-top: 1rem; font-size: .9rem; }
.joblist__item { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; padding: 24px clamp(20px, 3vw, 32px); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.joblist__item:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(17,36,58,.05), 0 14px 32px rgba(17,36,58,.1); }
.joblist__item:hover .job__title { color: var(--accent); }
.joblist__item .link-arrow { margin: 0; white-space: nowrap; }
.joblist__summary { color: var(--ink-2); font-size: .95rem; margin: .8rem 0 0; max-width: 46em; }
@media (max-width: 640px) { .joblist__item { grid-template-columns: 1fr; } }
.page .joblist__item .job__title { margin: 0; font-size: 1.4rem; }
