/* A clearer hierarchy and comfortable reading on small screens. */
:root { --muted:#555e56; --lime:#ffd84a; }
html { scroll-padding-top:110px; }
[hidden] { display:none !important; }
.header-shell { position:sticky; top:0; z-index:10; background:rgba(255,253,247,.96); backdrop-filter:blur(18px); border-bottom:1px solid #17171410; }
.header { max-width:1244px; padding-block:18px; }
nav { gap:28px; }
nav>a { position:relative; padding-block:10px; }
nav>a[aria-current="location"] { color:var(--blue); }
nav>a[aria-current="location"]::after { content:''; position:absolute; height:3px; width:18px; border-radius:3px; background:var(--blue); left:0; bottom:0; }
.reading-progress { height:2px; position:absolute; bottom:-1px; inset-inline:0; overflow:hidden; }
.reading-progress span { display:block; height:100%; width:100%; transform:scaleX(0); transform-origin:left; background:var(--blue); }
.hero { padding-top:58px; padding-bottom:68px; gap:54px; }
.hero .eyebrow { font-size:10px; letter-spacing:1.5px; margin-bottom:14px; }
.role-name { font-size:16px; line-height:1.4; gap:10px 12px; margin-bottom:26px; }
.location { padding:4px 10px; }
h1 { font-size:clamp(58px,5.8vw,78px); line-height:1.04; letter-spacing:-4.6px; margin-bottom:32px; }
.hero-description { font-size:17px; line-height:1.65; max-width:405px; }
.hero-actions { gap:24px; }
.hero-actions .btn { gap:24px; }
.hero-footnote { font-size:12px; margin-top:18px; }
.text-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; }
.photo-card { transform:rotate(-1.6deg); padding:12px 12px 20px; box-shadow:0 14px 36px #15212112; }
.photo-card img { height:auto; aspect-ratio:1.52; object-position:center 28%; }
.photo-card figcaption { padding:20px 10px 0; gap:9px; }
.photo-card .handwritten { font-size:30px; }
.hero-art { padding-top:35px; padding-bottom:33px; }
.hero-art::before { inset:28px 0 24px 13px; transform:rotate(3deg); }
.top-note { top:-11px; left:5px; font-size:25px; transform:rotate(-4deg); }
.draw-arrow { right:-5px; top:-5px; width:63px; height:63px; }
.photo-tag { font-size:9px; letter-spacing:.6px; bottom:0; }
.ribbon { border-color:#17171425; }
.ribbon>div { min-height:50px; letter-spacing:1.2px; }
.section { padding-block:84px; }
h2 { font-size:clamp(36px,3.8vw,50px); letter-spacing:-2px; line-height:1.14; }
.about { gap:80px; }
.about-text { font-size:16px; line-height:1.75; }
.about-text .lead { font-size:21px; line-height:1.55; }
.about-note { max-width:300px; line-height:1.2; }
.people-tags span { font-size:12px; }
.role-intro { font-size:16px; line-height:1.7; }
.section-heading { gap:80px; margin-bottom:38px; }
.role-explorer { background:var(--cream); color:var(--ink); border-radius:18px; overflow:hidden; }
.role-tabs { background:#1735c4; border:0; padding:8px 8px 0; gap:5px; }
.role-tabs button { flex:1; min-width:0; padding:16px 20px; font-size:15px; }
.role-tabs button span { font-size:11px; }
.role-tabs [aria-selected=true] { background:var(--cream); }
.role-panel { min-height:320px; padding:36px; border-radius:0; align-items:start; align-content:start; }
.panel-kicker .handwritten { font-size:32px; }
.duties h3 { font-size:22px; }
.duties p { font-size:16px; line-height:1.65; }
.duty-number { font-size:11px; }
.role-controls { border-top:1px solid var(--line); padding:9px 28px; display:flex; align-items:center; justify-content:space-between; gap:15px; }
.role-controls .tab-hint { margin:0; color:var(--muted); font-size:12px; }
.all-roles { min-height:44px; display:inline-flex; align-items:center; gap:14px; background:none; color:var(--blue); padding:8px; font-size:12px; font-weight:700; }
.all-roles:hover { text-decoration:underline; text-underline-offset:4px; }
.role-explorer.all-visible .role-panel { min-height:0; border-bottom:1px solid var(--line); }
.role-explorer.all-visible .role-panel:last-of-type { border-bottom:0; }
.fit { gap:85px; }
.fit-intro>p:not(.eyebrow) { font-size:16px; line-height:1.7; max-width:350px; }
.fit-list h3 { font-size:19px; line-height:1.3; }
.fit-list p { font-size:15px; line-height:1.7; }
.fit-list li { padding-block:25px; }
.fit-icon { width:39px; height:39px; border-radius:11px; }
.quiet-note { transform:rotate(-1.5deg); padding:30px; }
.quiet-note>span:last-of-type { font-size:13px; line-height:1.6; max-width:265px; }
.growth-heading { margin-bottom:38px; }
.gain { padding:36px; }
.gain p { font-size:16px; line-height:1.75; }
.gain h3 { font-size:34px; }
.gain-top .small-label { font-size:10px; }
.gain-chips span { font-size:12px; }
.questions { gap:70px; }
summary { font-size:16px; min-height:44px; }
details p { font-size:15px; line-height:1.75; }
details a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; }
.closing { padding-block:60px; }
.closing h2 { font-size:58px; }
.closing>p:not(.eyebrow) { font-size:16px; }
.closing>.tiny { font-size:12px; }
.closing-star { font-size:80px; }
.direct-email { display:inline-flex; align-items:center; min-height:44px; margin-top:8px; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.footer { padding-block:40px; }
.footer>a:not(.brand) { min-height:44px; display:inline-flex; align-items:center; font-size:12px; }
.copyright { font-size:11px; }
.application-steps { padding:0; margin:0; list-style:none; display:flex; align-items:center; gap:18px; }
.application-steps li { display:flex; align-items:center; gap:7px; font-size:11px; color:var(--muted); }
.application-steps li>span { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; border:1px solid #c7ccbe; font-size:10px; }
.application-steps [aria-current=step] { font-weight:700; color:var(--blue); }
.application-steps [aria-current=step]>span { color:white; background:var(--blue); border-color:var(--blue); }
.dialog-header { padding:14px 25px; }
.close-button { min-width:44px; width:44px; height:44px; flex-shrink:0; background:transparent; }
.close-button:hover { background:#e8e9e0; }
.dialog-content { padding:26px 30px 30px; }
.dialog-intro { font-size:14px; line-height:1.65; margin-bottom:22px; }
.required-note { font-size:11px; color:var(--muted); margin-bottom:18px; }
form label { font-size:13px; margin-bottom:20px; }
input,textarea { font-weight:400; font-size:16px; min-height:49px; border-color:#bbc1b2; padding:12px 14px; }
form>.field-hint { font-weight:400; font-size:12px; color:var(--muted); margin:-13px 0 20px; }
form label>.optional { font-size:11px; }
.privacy-note { font-size:12px; }
#email-preview { font-size:14px; line-height:1.75; max-height:320px; }
.review-meta { grid-template-columns:65px 1fr; font-size:12px; }
.review-actions button { min-height:44px; font-size:12px; padding-inline:8px; }
.review-actions { gap:10px; }
#copy-status { min-height:18px; }
@media(max-width:1050px) and (min-width:761px) {
  .hero { gap:35px; }
  h1 { font-size:61px; letter-spacing:-3.5px; }
  .role-name { font-size:14px; }
  .hero-actions { gap:12px; }
  .hero-actions .btn { font-size:12px; gap:18px; padding-inline:17px; }
  .hero-actions .text-link { font-size:12px; }
  .about,.section-heading,.fit,.questions { gap:44px; }
  .role-panel { grid-template-columns:.6fr 1.5fr; gap:30px; }
}
@media(max-width:760px) {
  html { scroll-padding-top:94px; }
  .header { padding:14px 20px; }
  .header-shell { backdrop-filter:blur(12px); }
  .header .btn-small { min-height:44px; font-size:12px; gap:19px; }
  .hero { padding-top:29px; padding-bottom:40px; gap:35px; }
  .hero .eyebrow { font-size:9px; letter-spacing:1.1px; margin-bottom:10px; }
  .role-name { font-size:15px; line-height:1.4; margin-bottom:23px; gap:7px 10px; }
  .role-name>span:first-child { max-width:270px; }
  .location { font-size:11px; }
  h1 { font-size:clamp(42px,11vw,66px); letter-spacing:-2.8px; line-height:1.04; margin-bottom:29px; }
  .highlight svg { bottom:-12px; height:16px; }
  .hero-description { font-size:16px; line-height:1.6; max-width:100%; margin-bottom:22px; }
  .hero-actions { align-items:center; gap:8px 20px; }
  .hero-actions .btn { font-size:13px; gap:18px; padding:14px 17px; }
  .hero-actions .text-link { font-size:12px; }
  .hero-footnote { font-size:11px; margin-top:11px; }
  .hero-art { padding-top:29px; padding-bottom:26px; margin:6px 5px 0; }
  .hero-art::before { inset:25px 1px 24px 12px; }
  .photo-card { padding:8px 8px 16px; }
  .photo-card img { aspect-ratio:1.65; }
  .photo-card figcaption { padding:15px 9px 0; gap:5px; }
  .photo-card .handwritten { font-size:27px; }
  .photo-card .small-label { font-size:9px; }
  .top-note { font-size:22px; top:-7px; }
  .draw-arrow { width:49px; height:49px; right:-3px; top:-3px; }
  .photo-tag { font-size:8px; bottom:-1px; }
  .ribbon>div { flex-wrap:wrap; display:grid; grid-template-columns:1fr 1fr; gap:9px 20px; padding-block:14px; font-size:9px; letter-spacing:1.1px; white-space:normal; }
  .ribbon b { display:none; }
  .section { padding-block:58px; }
  h2 { font-size:36px; letter-spacing:-1.5px; line-height:1.15; }
  .eyebrow { font-size:10px; letter-spacing:1.25px; }
  .about { gap:28px; }
  .about h2 { margin-bottom:16px; }
  .about-note { font-size:23px; margin-top:13px; max-width:290px; }
  .about-text,.about-text .lead { font-size:16px; line-height:1.75; }
  .about-text .lead { font-weight:700; }
  .people-tags { gap:7px; margin-top:21px; }
  .people-tags span { font-size:12px; padding:6px 12px; }
  .section-heading { gap:22px; margin-bottom:27px; }
  .section-heading h2 { font-size:39px; }
  .role-intro { font-size:15px; line-height:1.7; }
  .role-explorer { border-radius:13px; }
  .role-tabs { padding:6px 6px 0; gap:0; }
  .role-tabs button { padding:14px 7px; font-size:13px; border-radius:8px 8px 0 0; }
  .role-tabs button span { display:none; }
  .role-panel { padding:25px 22px; gap:27px; min-height:480px; }
  .panel-kicker { gap:16px; }
  .panel-kicker svg { width:42px; height:42px; flex-shrink:0; }
  .panel-kicker .handwritten { font-size:26px; line-height:1.1; }
  .duties article { gap:12px; }
  .duties h3 { font-size:19px; line-height:1.25; }
  .duties p { font-size:15px; line-height:1.7; }
  .duty-number { font-size:10px; padding-top:5px; }
  .role-controls { padding:8px 13px; flex-wrap:wrap; gap:0 10px; }
  .role-controls .tab-hint { font-size:11px; }
  .all-roles { font-size:11px; gap:8px; padding-inline:3px; margin-left:auto; }
  .fit { gap:34px; }
  .fit-intro>p:not(.eyebrow) { font-size:16px; margin-top:17px; max-width:none; }
  .quiet-note { margin-top:28px; padding:25px 27px; }
  .quiet-note p { font-size:29px; }
  .quiet-note>span:last-of-type { font-size:13px; max-width:260px; }
  .fit-list h3 { font-size:18px; }
  .fit-list p { font-size:15px; line-height:1.7; }
  .fit-list li { padding-block:22px; gap:15px; }
  .fit-icon { width:34px; height:34px; font-size:22px; }
  .growth-heading { margin-bottom:28px; }
  .growth-heading h2 { font-size:35px; line-height:1.17; }
  .gain { padding:27px; }
  .gain h3 { font-size:31px; }
  .gain p { font-size:15px; line-height:1.75; }
  .gain-top .small-label { font-size:9px; letter-spacing:.7px; }
  .gain-chips { gap:6px; }
  .gain-chips span { font-size:11px; padding:5px 9px; }
  .questions { gap:26px; }
  summary { font-size:15px; line-height:1.5; }
  details p { font-size:15px; line-height:1.7; }
  .closing { padding:48px 22px; }
  .closing .eyebrow { font-size:9px; max-width:235px; }
  .closing h2 { font-size:40px; }
  .closing>p:not(.eyebrow) { font-size:15px; }
  .closing>.tiny { font-size:11px; }
  .closing-star { font-size:30px; right:12px; top:12px; }
  .direct-email { font-size:13px; }
  .footer { padding-block:32px 112px; }
  .footer>.brand { font-size:18px; }
  .footer>a:not(.brand) { font-size:12px; }
  .copyright { font-size:10px; }
  .mobile-apply { padding-top:10px; padding-bottom:calc(10px + env(safe-area-inset-bottom)); }
  .mobile-apply strong { font-size:11px; }
  .mobile-apply>div>span { font-size:10px; margin-top:2px; }
  .mobile-apply .btn { min-height:46px; font-size:12px; gap:16px; }
  dialog { width:calc(100% - 20px); max-height:94dvh; }
  .dialog-header { padding:10px 15px; }
  .application-steps { gap:12px; }
  .application-steps li { font-size:10px; gap:5px; }
  .application-steps li>span { width:22px; height:22px; font-size:10px; }
  .dialog-content { padding:24px 22px; }
  .dialog-content h2 { font-size:30px; }
  .dialog-intro { font-size:14px; }
  .dialog-content label { font-size:13px; }
  input,textarea { font-size:16px; }
  .privacy-note { font-size:12px; }
  .form-submit { font-size:13px; }
  .review-meta { grid-template-columns:52px 1fr; font-size:11px; }
  #email-preview { font-size:13px; max-height:280px; }
  .review-actions button { font-size:12px; }
}
@media(max-width:360px) {
  .role-name { font-size:14px; }
  .hero-actions { column-gap:15px; }
  .hero-actions .btn { width:100%; }
  .hero-actions .text-link { min-height:38px; }
  .hero-footnote { margin-top:6px; }
  .role-panel { padding:24px 18px; min-height:550px; }
  .role-controls { flex-direction:column; align-items:flex-start; padding:12px 18px 5px; }
  .all-roles { margin-left:0; }
  .mobile-apply { padding-inline:14px; }
  .mobile-apply strong { max-width:176px; font-size:10px; }
  .mobile-apply>div>span { font-size:9px; }
  .application-steps { gap:8px; }
  .application-steps li { font-size:9px; }
  .application-steps li>span { width:19px; height:19px; }
  .dialog-content { padding:22px 18px; }
  .review-actions button { font-size:11px; padding-inline:0; }
}
@media print {
  .header-shell { position:static; }
  .reading-progress,.role-controls,.application-steps { display:none; }
  .role-explorer { overflow:visible; }
  .role-panel[hidden] { display:grid !important; }
}

/* Reassure new applicants that the role includes training and guidance. */
.training-note { grid-column:1 / -1; display:flex; align-items:flex-start; gap:22px; padding:28px 32px; background:#e9edfd; border:1px solid #3154e822; border-radius:16px; margin-top:-44px; }
.training-icon { display:grid; place-items:center; flex-shrink:0; width:42px; height:42px; border-radius:50%; background:var(--blue); color:white; font-size:27px; line-height:1; }
.training-note h3 { color:var(--blue); font-size:24px; letter-spacing:-.7px; line-height:1.25; margin-bottom:10px; }
.training-note p { max-width:850px; font-size:16px; line-height:1.75; }
@media(max-width:760px) { .training-note { margin-top:0; padding:24px 22px; gap:13px; } .training-icon { width:30px; height:30px; font-size:21px; } .training-note h3 { font-size:21px; letter-spacing:-.5px; } .training-note p { font-size:15px; } }

/* The Travelling Table: original mark, B612/Caveat and canonical pixel artwork. */
:root { --blue:#3154e8; --ink:#171714; --cream:#fffdf7; --lime:#ffd84a; --coral:#ff684e; --mint:#dff5e8; }
.brand { gap:12px; font-size:18px; line-height:1.25; letter-spacing:-.7px; flex-shrink:0; }
.brand-logo { display:block; width:32px; height:auto; flex-shrink:0; mix-blend-mode:multiply; }
.brand-name { max-width:220px; }
.footer>.brand { font-size:15px; }
.footer .brand-logo { width:29px; }
.brand-icon { display:block; flex-shrink:0; width:48px; height:48px; object-fit:contain; image-rendering:pixelated; }
/* The earth is displayed from its original artboard with a CSS sprite window. */
.brand-earth { background-image:url(/images/brand/canonical-heart-earth-icons.png); background-repeat:no-repeat; background-size:720% 900%; background-position:49.4623656% 24.6666667%; mix-blend-mode:multiply; }
.ribbon>div { gap:20px; }
.panel-kicker>.brand-icon { width:64px; height:64px; }
.fit-list li { display:block; }
.training-note { background:var(--mint); border-color:#17171418; }
@media(max-width:1050px) and (min-width:761px) {
 .brand { font-size:16px; gap:10px; }
 .brand-name { max-width:170px; }
 nav { gap:22px; }
 .footer { flex-wrap:wrap; }
}
@media(max-width:760px) {
 .header { gap:12px; }
 .header .brand { font-size:12px; letter-spacing:-.3px; gap:9px; min-width:0; flex-shrink:1; }
 .header .brand-name { max-width:133px; }
 .header .brand-logo { width:26px; }
 .header nav { flex-shrink:0; }
 .header .btn-small { gap:12px; padding-inline:14px; }
 .footer>.brand { font-size:14px; }
 .footer .brand-name { max-width:175px; }
 .panel-kicker>.brand-icon { width:42px; height:42px; }
 .gain-top>.brand-icon { width:40px; height:40px; }
}

/* Document attachment and direct application delivery. */
input[type=file] { padding:10px; font-size:12px; width:100%; background:#fff; }
input[type=file]::file-selector-button { font:inherit; font-weight:700; padding:9px 12px; margin-right:10px; color:var(--blue); border:0; border-radius:5px; background:#e9edfd; cursor:pointer; }
.document-selection { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:-5px 0 20px; overflow-wrap:anywhere; }
.document-selection button { background:none; color:var(--blue); font-size:12px; min-height:44px; padding:0; text-decoration:underline; }
.application-summary { margin:22px 0; padding:0; }
.application-summary dt { font-size:11px; color:var(--muted); margin-top:15px; }
.application-summary dd { margin:3px 0 15px; font-size:15px; white-space:pre-wrap; overflow-wrap:anywhere; }
.review-recipient { padding-bottom:18px; border-bottom:1px solid var(--line); font-size:13px; }
.form-error { margin:16px 0 0; color:#922c1c; font-size:14px; line-height:1.6; }
.application-reference { overflow-wrap:anywhere; margin:12px 0 20px; color:var(--muted); }
.form-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
button:disabled { cursor:wait; opacity:.65; transform:none; }
#application-success p { font-size:15px; line-height:1.7; }
#application-success .tiny { font-size:11px; }
