/* Shared styles for the role pages. The first half is copied from the <style> block of index.html; keep the two in step. */
:root {
  --blue: #0b4bb3;
  --blue-deep: #083a8c;
  --yellow: #ffc700;
  --ink: #101828;
  --ink-soft: #3b4658;
  --on-blue-soft: #d6e2f8;
  --line: #d5dbe6;
  --paper: #ffffff;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Lexend, system-ui, sans-serif; font-weight: 300; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
::selection { background: var(--yellow); color: var(--ink); }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.close a:focus-visible { outline-color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
ul, ol { list-style: none; }
.wrap { padding-inline: var(--gutter); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-weight: 400; font-size: 0.95rem; }
.top nav a { text-decoration: none; padding-block: 12px; }
.top nav a:hover { text-decoration: underline; }
.top nav .hide-s { display: none; }
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 500; text-decoration: none; padding: 13px 22px; border-radius: 6px; transition: background 0.15s ease-out; }
.btn:hover { background: var(--blue-deep); }
.btn.on-blue { background: var(--yellow); color: var(--ink); }
.btn.on-blue:hover { background: #ffd53d; }
.top nav a.btn { padding: 11px 20px; color: #fff; }
.top nav a.btn:hover { text-decoration: none; }

/* Close */
/* index.html puts this padding on an inner .say beside a photo; role pages have no photo here, so the block carries it. */
.close { background: var(--yellow); padding: clamp(56px, 10vw, 130px) var(--gutter); display: grid; gap: 22px; justify-items: start; }
.close h2 { font-size: clamp(2.2rem, 7vw, 5rem); max-width: 14ch; }
.close p { max-width: 44ch; font-weight: 400; }
.close .btn { background: var(--ink); padding: 16px 28px; font-size: 1.05rem; }
.close .btn:hover { background: #000; }
footer { padding: 26px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.92rem; color: var(--ink-soft); }
footer a { padding-block: 10px; }

@media (min-width: 720px) {
  .top nav .hide-s { display: inline; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Role pages */
.brand { min-height: 44px; }
footer a { display: inline-block; padding-block: 12px; }
.role-open { padding: clamp(12px, 3vw, 36px) var(--gutter) clamp(36px, 5vw, 64px); }
.back { display: inline-block; font-weight: 400; font-size: 0.95rem; padding-block: 12px; }
.role-open h1 { margin-top: clamp(12px, 2.5vw, 28px); font-size: clamp(2.4rem, 7.6vw, 4.5rem); color: var(--blue); max-width: 16ch; overflow-wrap: break-word; }
.role-facts { margin-top: clamp(24px, 4vw, 44px); border-top: 2px solid var(--ink); }
.role-facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.role-facts dt { color: var(--ink-soft); font-size: 0.95rem; font-weight: 400; }
.role-facts dd { font-weight: 400; max-width: 62ch; }
.role-facts .pay { font-weight: 500; font-variant-numeric: tabular-nums; }
.role-open .btn { margin-top: 28px; }

.band { height: 46vw; max-height: 520px; }

.role-body { padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 9vw, 120px); }
.role-body > * { max-width: 68ch; }
.role-body > * + * { margin-top: 1em; }
.role-body .lede { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.45; letter-spacing: -0.01em; max-width: 34ch; }
.role-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-top: clamp(44px, 6vw, 72px); }
.role-body h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.015em; margin-top: 32px; }
.role-body h2 + *, .role-body h3 + * { margin-top: 14px; }
.role-body h2 + h3 { margin-top: 22px; }
.role-body strong { font-weight: 500; }
.role-body ul { list-style: disc; padding-left: 1.2em; }
.role-body li + li { margin-top: 0.55em; }
.role-body li::marker { color: var(--ink-soft); }

@media (min-width: 720px) {
  .role-facts div { grid-template-columns: 11rem 1fr; gap: 32px; align-items: baseline; }
}
