/* Global Risks Fund - proposal 2026-09-22, option 4: single flow.
   Light ground and navy accent from the house Cool Serif system; one dark
   panel for the focus areas. Ibarra Real Nova throughout. The mark is the only image. */
:root{
  --ground:#F2F5F6; --surface:#FFFFFF;
  --ink:#16202A; --body:#2E3A46; --muted:#55606B; --hair:#D6DBDE;
  --navy:#17324F; --navy-deep:#0E1626; --tint:#E3E8EE;
  --dark:#0E1626; --dark-2:#141E2C; --on-dark:#EDF0F1; --on-dark-body:#C7D1DB; --on-dark-hair:#26344A;
  --nuclear:#5E8465; --bio:#AD7B21; --ai:#9A5248;
  --nuclear-d:#7C9E82; --bio-d:#C8912E; --ai-d:#A85E54;
  --serif:"Ibarra Real Nova",Georgia,serif;
  --sans:var(--serif);   /* one family throughout, per James 2026-09-22 */
  --frame:1160px; --gutter:24px; --head:68px;
  --ease:cubic-bezier(.23,1,.32,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body{min-height:100vh;display:flex;flex-direction:column;background:var(--ground);color:var(--body);
  font-family:var(--serif);font-size:1.25rem;line-height:1.6;-webkit-font-smoothing:antialiased}
main{flex:1}
.wrap{width:100%;max-width:var(--frame);margin:0 auto;padding:0 var(--gutter)}
a{color:inherit;text-decoration:underline;text-decoration-color:rgba(23,50,79,.35);text-underline-offset:.18em;
  text-decoration-thickness:1px;transition:text-decoration-color 150ms ease}
a:hover{text-decoration-color:currentColor}
a:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
strong{font-weight:600;color:var(--ink)}
h1,h2,h3{font-family:var(--serif);color:var(--ink)}

/* masthead: sticky, translucent */
.masthead{position:sticky;top:0;z-index:20;background:rgba(242,245,246,.86);backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--hair)}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:var(--head)}
.wordmark{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-size:1.3125rem;font-weight:600;
  color:var(--ink);text-decoration:none;white-space:nowrap}
.wordmark .mark{width:26px;height:26px;flex:none}
.wordmark .mark svg{display:block;width:100%;height:100%}
.masthead nav,footer nav{display:flex;gap:1.75rem}
.masthead nav a,footer nav a{font-size:1.0625rem;font-weight:600;color:var(--muted);text-decoration:none;white-space:nowrap;transition:color 150ms ease}
.masthead nav a:hover,.masthead nav a[aria-current="page"],footer nav a:hover{color:var(--ink)}

/* buttons */
.button{display:inline-block;font-family:var(--serif);font-size:1.0625rem;font-weight:600;letter-spacing:.01em;
  color:#fff;background:var(--navy);border:1px solid var(--navy);border-radius:999px;padding:13px 26px;
  text-decoration:none;transition:background 160ms ease,border-color 160ms ease,transform 160ms var(--ease),box-shadow 160ms ease}
.button:hover{background:var(--navy-deep);border-color:var(--navy-deep);box-shadow:0 6px 18px rgba(23,50,79,.18)}
.button:active{transform:scale(.97)}
.button.ghost{color:var(--on-dark);background:transparent;border-color:rgba(237,240,241,.75)}
.button.ghost:hover{background:rgba(237,240,241,.08);border-color:var(--on-dark);box-shadow:none}
.cta{margin-top:40px}

/* hero */
.hero{min-height:calc(100vh - var(--head));min-height:calc(100dvh - var(--head));display:flex;align-items:center;
  padding:56px 0 72px}
.hero-inner{text-align:center;display:flex;flex-direction:column;align-items:center}
.crest{width:112px;height:auto;margin-bottom:26px}
.crest svg{display:block;width:100%;height:auto}
.hero h1{font-size:clamp(2.25rem,4.7vw,4.25rem);font-weight:500;line-height:1.12;letter-spacing:-.018em;max-width:100%;text-wrap:balance}
.standfirst{font-size:1.1875rem;max-width:52ch;margin-top:24px;color:var(--body)}

/* focus: the dark panel, pinned. The section is three screens tall; the
   panel stays put while the reader scrolls, and the three areas crossfade
   in turn on one stage. No gap, no hijack: the page scrolls normally. */
.focus{position:relative;height:200vh;background:linear-gradient(180deg,var(--dark) 0%,var(--dark-2) 100%);
  color:var(--on-dark-body);scroll-margin-top:var(--head)}
.pin{position:sticky;top:var(--head);height:calc(100vh - var(--head));display:flex;flex-direction:column;justify-content:center}
.pin .focus-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:72px;align-items:start;padding-bottom:56px}
.focus h2{color:var(--on-dark);font-size:clamp(1.75rem,2.6vw,2.25rem);font-weight:500;letter-spacing:-.012em;margin-bottom:34px}
.focus-mark{width:150px;margin-bottom:30px}
.focus-mark svg{display:block;width:100%;height:auto}
.focus-mark [class^="s-"]{transition:opacity 480ms var(--ease);opacity:.22}
.focus[data-area="nuclear"] .s-nuclear,.focus[data-area="bio"] .s-bio,.focus[data-area="ai"] .s-ai{opacity:1}
.focus-names{display:flex;flex-direction:column;gap:12px}
.focus-names a{font-size:1.25rem;font-weight:500;color:var(--on-dark-body);opacity:.88;text-decoration:none;
  padding-left:14px;border-left:3px solid transparent;transition:opacity 300ms ease,border-color 300ms ease}
.focus-names a.on{opacity:1;color:var(--on-dark);font-weight:600}
.focus-names a[data-area="nuclear"].on{border-color:var(--nuclear-d)}
.focus-names a[data-area="bio"].on{border-color:var(--bio-d)}
.focus-names a[data-area="ai"].on{border-color:var(--ai-d)}
.focus-stage{position:relative;align-self:stretch;min-height:420px}
.area{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;
  opacity:0;pointer-events:none;transition:opacity 180ms ease}
.area.on{opacity:1;pointer-events:auto}
.focus.scrub .area.on{opacity:0}
.focus.scrub .area:first-child.on{opacity:1}
.area h3{color:var(--on-dark);font-size:2rem;font-weight:500;line-height:1.15;letter-spacing:-.012em;margin:2px 0 18px}
.area p{font-size:1.25rem;line-height:1.6;max-width:62ch}
.area p+p{margin-top:.85em}
.area .next{margin-top:30px}
.focus.flat .area .next{display:none}
.focus-next{position:absolute;left:50%;bottom:22px;margin-left:-20px;background:none;border:0;cursor:pointer;
  color:var(--on-dark);opacity:.9;animation:none}
.focus-next:hover{opacity:1}
/* without pinning (phones, reduced motion): the three areas simply follow one another */
.focus.flat{height:auto;padding:56px 0 48px}
.focus.flat .pin{position:static;height:auto}
.focus.flat .focus-grid{display:block;padding-bottom:0}
.focus.flat .focus-names{display:none}
.focus.flat .focus-stage{min-height:0}
.focus.flat .area{position:static;opacity:1;transform:none;filter:none;pointer-events:auto;padding-bottom:40px}
.focus.flat .area:last-child{padding-bottom:0}
.focus.flat .focus-mark [class^="s-"]{opacity:1}
.focus.flat .focus-next{display:none}

/* approach */
.approach{padding:88px 0 96px;scroll-margin-top:var(--head)}
.approach-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:72px;align-items:center}
.approach h2{font-size:clamp(1.75rem,2.6vw,2.25rem);font-weight:500;letter-spacing:-.012em;margin-bottom:30px}
.prose{max-width:60ch}
.prose p{font-size:1.3125rem;line-height:1.6}
.prose p+p{margin-top:.9em}
/* the three modes together, in the house tinted anchor panel, level with the first paragraph */
.approach-stage{background:var(--tint);border-left:2px solid var(--navy);
  padding:22px 30px 24px;display:flex;flex-direction:column;gap:14px}
.mode h3{font-size:1.375rem;font-weight:500;line-height:1.15;letter-spacing:-.01em;margin:0 0 6px}
.mode p{font-size:1.125rem;line-height:1.5;max-width:52ch}
/* the arrow: a quiet, repeating nudge downward */
@keyframes nudge{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
.down{display:inline-flex;width:40px;height:40px;color:var(--muted);text-decoration:none;
  align-items:center;justify-content:center;transition:color 200ms ease}
.down svg{width:26px;height:26px;animation:nudge 1.8s ease-in-out infinite}
.down:hover{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.down svg{animation:none}}

/* inner pages */
.inner{padding:52px 0 72px}
h1{font-size:2rem;font-weight:500;line-height:1.2;letter-spacing:-.012em;margin-bottom:26px}
.org h2{font-size:1.25rem;font-weight:600;margin-bottom:0}
.records{margin-top:14px;border-top:1px solid var(--hair);max-width:760px}
.records>div{display:grid;grid-template-columns:11rem minmax(0,1fr);column-gap:32px;padding:13px 0;border-bottom:1px solid var(--hair)}
.records dt{color:var(--muted);font-size:1.0625rem;padding-top:2px}
.records dd{color:var(--ink)}
.records.people{margin-top:0;max-width:600px}
.records.people>div{grid-template-columns:13rem minmax(0,1fr);padding:17px 0}
.records.people dt{color:var(--ink);font-size:1.125rem;font-weight:500;padding-top:0}
.records.people dd{color:var(--muted)}
.email{font-family:var(--serif);font-size:1.75rem;line-height:1.3;margin-bottom:8px}
.email a{color:var(--ink)}

/* footer */
footer{border-top:1px solid var(--hair);background:var(--ground)}
footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:22px var(--gutter) 26px;flex-wrap:wrap}
.wordmark.small{font-size:1.0625rem}
.wordmark.small .mark{width:20px;height:20px}
footer .copy{font-size:1rem;color:var(--muted)}

/* entrance: mark, then the statement word by word, then the button.
   Ease-out so the first frame already moves; blur bridges the fade so words
   arrive rather than switch on. Nothing scales from nothing. */
@keyframes rise{from{opacity:0;transform:translateY(14px);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes crest-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
/* the crest: a line arrives at a point, three lines leave it along the mark's
   strokes, and the strokes fill. All inside 0.9s; the words start at 0.75s. */
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes fade-out{to{opacity:0}}
@keyframes fill-in{from{opacity:0}to{opacity:1}}
.crest svg{overflow:visible}
.crest .c-in{fill:none;stroke:var(--muted);stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round}
.enter{animation:rise 1400ms var(--ease) both;animation-delay:480ms}
.enter-cta{animation:rise 900ms var(--ease) both;animation-delay:1150ms}
@media (prefers-reduced-motion:reduce){
  .crest .c-in{display:none}
  .enter,.enter-cta{animation:none}
}

/* reveal on scroll */
.reveal{opacity:0;transform:translateY(14px);transition:opacity 620ms var(--ease),transform 620ms var(--ease)}
.reveal.in{opacity:1;transform:none}
.areas .reveal:nth-child(2){transition-delay:80ms}
.areas .reveal:nth-child(3){transition-delay:160ms}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .button{transition:none}
}

@media (max-width:820px){
  .focus{height:auto!important}
  .focus .pin{position:static;height:auto}
  .focus-grid{display:block;padding-bottom:0}
  .focus-names,.focus-next,.area .next{display:none}
  .focus-stage{min-height:0}
  .area{position:static;opacity:1!important;transform:none!important;filter:none!important;pointer-events:auto!important;padding-bottom:36px}
  .focus-mark [class^="s-"]{opacity:1!important}
  .masthead .wrap{min-height:0;padding:12px var(--gutter);flex-direction:column;align-items:flex-start;gap:6px}
  .masthead nav{gap:1.1rem;flex-wrap:wrap}
  .masthead nav a{font-size:1rem}
  .hero{min-height:0;padding:56px 0 64px}
  .crest{width:80px;margin-bottom:26px}
  .hero h1{font-size:2.125rem;line-height:1.16}
  .focus.flat{padding:48px 0 40px}
  .focus-mark{width:96px;margin-bottom:22px}
  .area h3{font-size:1.75rem}
  .area p{font-size:1.125rem}
  .approach{padding:56px 0 60px}
  .approach-grid{grid-template-columns:1fr;gap:28px}
  .approach-stage{padding:22px 24px 26px;gap:18px}
  .mode p{font-size:1.125rem}
  .inner{padding:32px 0 44px}
  .records>div,.records.people>div{grid-template-columns:1fr;row-gap:8px}
  footer .wrap{flex-direction:column;align-items:flex-start;gap:.75rem}
}

/* Careers: three distinct blocks. The heading; the roles as weighted rows
   with an outlined button each; the general-interest invitation in the
   house tinted anchor panel, set apart by space. */
.careers-content{max-width:1000px}
.careers h1{margin-bottom:34px}
.careers h2{font-size:1.5rem;font-weight:500;line-height:1.3}
.openings{background:var(--surface);border:1px solid var(--hair);padding:26px 32px 24px}
.openings h2{font-size:1.75rem}
.openings-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--hair)}
.role-details{font-size:1.0625rem;color:var(--muted);margin:0}
.job-list{list-style:none;margin-top:0}
.job-list li{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid var(--hair)}
.job-list li:last-child{border-bottom:none}
.job-name a{font-family:var(--serif);font-size:1.5rem;font-weight:500;line-height:1.25;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.job-name a:hover{text-decoration:underline;text-decoration-color:var(--navy)}
.button.outline{color:var(--navy);background:transparent;border-color:rgba(23,50,79,.5)}
.button.outline:hover{background:rgba(23,50,79,.08);border-color:var(--navy);box-shadow:none}
.job-list .button{white-space:nowrap;flex:none;padding:10px 20px;font-size:1rem}
.application-note{font-size:1.0625rem;color:var(--muted);margin-top:10px;padding-top:14px;border-top:1px solid var(--hair)}
.general-interest{margin-top:40px;background:var(--tint);border-left:2px solid var(--navy);padding:30px 36px 32px;max-width:720px}
.general-interest>p{margin-top:10px;max-width:52ch}
.general-interest .button{margin-top:22px}
.email-fallback{font-size:1.0625rem;color:var(--muted);margin-top:14px}
.email-fallback a{color:var(--ink)}
footer nav{flex-wrap:wrap}
@media(max-width:600px){
  .job-list li{flex-direction:column;align-items:flex-start;gap:12px}
  .general-interest{padding:22px 24px 26px}
  .openings{padding:20px 20px 18px}
}

/* Careers readability: full-contrast supporting text and links. */
.careers .masthead nav a,.careers footer nav a,.careers footer .copy{color:var(--ink)}
