/* Reading rhythm and mobile navigation for the expanded editorial edition. */
:root {
  --work-blue: #233d42;
  --work-blue-light: #dce7e5;
  --cream: #fcfaf5;
  --display: Georgia, "Times New Roman", serif;
}
html { scrollbar-gutter: stable; }
html, body { min-width: 0; }
header { position: sticky; top: 0; }
a, button, summary { touch-action: manipulation; }
img { height: auto; }
[hidden] { display: none !important; }
.brand img, .footgrid img { height: auto; }
.menutoggle, .callmobile { display: none; }
.kicker {
  color: var(--red); font-size: .9rem; line-height: 1.5; font-weight: 600;
  margin: 0 0 .85rem; letter-spacing: .01em;
}
.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem;
  padding-block: .55rem; color: var(--muted); font-size: .8rem;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.contentsbar { border-block-end: 1px solid var(--line); background: var(--paper); }
.contentsinner { display: flex; align-items: baseline; gap: 2rem; padding-block: .8rem; }
.contentsinner>span { color: var(--muted); font-size: .82rem; flex-shrink: 0; }
.contentslinks { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.6rem; }
.contentslinks a { padding-block: .34rem; font-weight: 500; font-size: .84rem; }
.contentslinks a:hover, .talentlink:hover { text-decoration: underline; text-underline-offset: .28em; }
.hero .eyebrow, .internationalpanel .eyebrow {
  letter-spacing: .045em; text-transform: none; font-size: .9rem;
}
.hero .herocopy h1 { letter-spacing: -.059em; }
.hero .herocopy h1 em { color: #fff4df; }
.fieldsection { background: #f1ede5; }
.fieldtitle, .regiongrid, .founderspread, .talentgrid, .faqgrid, .employergrid {
  display: grid; gap: clamp(2rem,5vw,5.5rem); grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
}
.fieldtitle { align-items: end; margin-bottom: clamp(1.6rem,3vw,3.2rem); }
.fieldtitle h2 { max-width: 19ch; }
.fieldtitle>p { max-width: 40ch; }
.fieldspread {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  background: var(--cream);
}
.fieldspread figure, .founderspread figure { margin: 0; position: relative; }
.fieldspread figure { display: flex; flex-direction: column; min-height: 100%; }
.fieldspread figure img {
  width: 100%; flex: 1 1 0; min-height: 290px; height: 0; object-fit: cover; object-position: 55% 50%;
}
.fieldspread figcaption {
  padding: .65rem 1.2rem; color: #e8e9e4; font-size: .74rem;
  line-height: 1.6; background: var(--work-blue);
}
.fieldnotes { padding: clamp(1.7rem,3.2vw,3.6rem); }
.fieldnotes h3 { font-size: clamp(1.8rem,2.5vw,2.6rem); max-width: 22ch; }
.fieldnotes h3+p { margin-top: .75rem; }
.fieldnotes dl { margin-block: 1.5rem; }
.fieldnotes dt {
  margin: 1.1rem 0 .3rem; font-weight: 600; color: var(--work-blue); font-size: .92rem;
}
.fieldnotes dd { margin: 0; font-size: .95rem; color: var(--muted); }
.regiongrid { align-items: start; }
.regionintro h2 { max-width: 14ch; }
.regionintro>p:not(.kicker), .founderspread p:not(.kicker), .talentgrid p:not(.kicker) { margin-top: 1rem; }
.regionphoto {
  margin-top: 1.7rem; width: 100%; aspect-ratio: 2.55; height: auto;
  object-fit: cover; object-position: center 57%;
}
.directory { background: #e7eeeb; padding: clamp(1.3rem,3vw,3rem); }
.directory h3 { color: var(--work-blue); }
.regioncontrol { display: grid; gap: .35rem; font-size: .83rem; font-weight: 500; margin-top: 1rem; }
.regioncontrol select { background-color: #f8fbf8; border-color: #9baea7; min-height: 44px; }
.matchcount { font-size: .81rem; color: #4a605a; padding: 1rem 0 .4rem; }
.directory ul { padding: 0; margin: 0; list-style: none; }
.directory li { border-top: 1px solid #acbdb6; }
.directory li a {
  display: flex; flex-direction: column; justify-content: center;
  padding: .7rem .15rem; line-height: 1.47; min-height: 54px;
}
.directory li span { font-weight: 500; }
.directory li small { font-size: .8rem; color: #4d625b; }
.directory li a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.method { border-bottom: 1px solid var(--line); }
.founderspread { align-items: center; }
.founderspread figure { max-height: 430px; overflow: hidden; }
.founderspread img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.founderspread h2 { max-width: 14ch; }
.founderspread .credentials { color: var(--red); font-size: .92rem; font-weight: 500; }
.founderspread .textlink { margin-top: 1.25rem; }
.talentsection { background: var(--work-blue); color: #fffaf1; }
.talentgrid { align-items: center; }
.talentgrid .kicker { color: #bcd8cc; }
.talentgrid p { color: #e2ede7; }
.talentgrid h2 { max-width: 16ch; }
.talentgrid img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.talentlink { padding: .65rem 0; color: #f9eedb; min-height: 44px; text-decoration: underline; text-underline-offset: .3em; font-size: .91rem; }
.faqgrid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.faqsteps summary { font-size: clamp(1.18rem,1.65vw,1.5rem); }
.faqsteps .plus { flex: 0 0 15px; }
.faqsteps p { padding-left: 0; }
.employergrid { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }
.employergrid aside p:not(.kicker) { margin-top: 1.3rem; }
.employergrid form { margin-top: 0; }
.employergrid .actions { margin-top: 1rem; }
.secondarybtn {
  background: transparent; border: 1px solid #a69889; padding: .8rem 1rem;
  min-height: 48px; color: var(--ink); font-size: .9rem; border-radius: 3px;
}
.secondarybtn:hover { background: #fffdf7; }
#sheetcopy { margin-top: 1rem; }
@media (min-width: 681px) and (max-width: 1000px) {
  .navinner { gap: 1rem; }
  #mainnav { gap: clamp(.65rem,1.6vw,1.2rem); }
  #mainnav a { font-size: .83rem; }
  #mainnav .navcta { padding-inline: .85rem; }
  .brand { width: 140px; }
  .contentsinner { flex-wrap: wrap; gap: .35rem 1rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  header { z-index: 20; }
  .navinner { height: 65px; gap: .6rem; }
  .brand { width: clamp(116px,33vw,148px); margin-right: auto; }
  .callmobile {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 .55rem; font-size: .87rem; font-weight: 500; color: var(--red);
  }
  .menutoggle { display: block; }
  .menutoggle summary {
    display: inline-flex; align-items: center; gap: .45rem; justify-content: center;
    border: 1px solid #cfc5b8; padding: .6rem .72rem; min-height: 44px; border-radius: 3px;
    font: 500 .88rem/1.3 Poppins,sans-serif;
  }
  .menutoggle svg { width: 19px; height: 19px; }
  .menutoggle[open] summary { color: white; background: var(--work-blue); border-color: var(--work-blue); }
  #mainnav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
    gap: .15rem; align-items: stretch; padding: .75rem var(--gutter) 1rem;
    max-height: calc(100dvh - 65px); overflow-y: auto; background: var(--paper);
    box-shadow: 0 14px 25px #1f262220;
  }
  .menutoggle[open]+#mainnav { display: flex; }
  #mainnav a { display: flex; align-items: center; padding: .65rem 0; min-height: 45px; font-size: 1rem; }
  #mainnav a.navcta { justify-content: center; align-self: stretch; margin-top: .3rem; }
  .hero { --photo-height: clamp(235px, 56vw, 350px); background: #191d1e; }
  .hero .heromedia { height: var(--photo-height); }
  .hero .heromedia img { object-position: 64% 51%; }
  .hero .shade { background: linear-gradient(to bottom, transparent calc(var(--photo-height) - 66px), #191d1e var(--photo-height)); }
  .herowrap { min-height: 490px; padding-top: calc(var(--photo-height) + .3rem); padding-bottom: 5.2rem; }
  .hero .herocopy h1 { line-height: 1.04; font-size: clamp(2.65rem,9.6vw,4.45rem); }
  .herocopy p { max-width: 38ch; }
  .hero .slidebar { bottom: .85rem; }
  .hero .slidebar button { width: 44px; height: 44px; }
  .hero .actions { gap: .55rem; }
  .proofgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-block: .75rem; }
  .proofgrid>a { border: 0; padding: 0; min-height: 44px; }
  .proofgrid>a:last-child { display: none; }
  .contentsinner { display: block; padding-block: 1rem; }
  .contentsinner>span { font-size: .8rem; font-weight: 600; color: var(--ink); }
  .contentslinks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .05rem 1rem; margin-top: .4rem; }
  .contentslinks a { display: flex; align-items: center; min-height: 44px; padding: .3rem 0; font-size: .87rem; border-bottom: 1px solid var(--line); }
  .fieldtitle, .fieldspread, .regiongrid, .founderspread, .talentgrid, .faqgrid, .employergrid {
    grid-template-columns: minmax(0,1fr); gap: 1.45rem;
  }
  .fieldspread { gap: 0; }
  .fieldspread figure { min-height: auto; }
  .fieldspread figure img { flex: none; min-height: 0; height: auto; aspect-ratio: 1.75; }
  .fieldnotes { padding: 1.45rem; }
  .fieldtitle>p { max-width: none; }
  .regionphoto { aspect-ratio: 2.4; margin-top: 1.2rem; }
  .founderspread figure { order: 2; }
  .founderspread img,.talentgrid img { aspect-ratio: 2; }
  .talentgrid .actions { flex-direction: column; align-items: start; }
  .kicker { font-size: .84rem; margin-bottom: .55rem; }
  .eyebrow { font-size: .75rem; }
  .stepnum { font-size: .84rem; }
  .linklist li a, .textlink, .footgrid a, .footbase a { min-height: 44px; align-content: center; }
  .textlink { min-height: 44px; display: inline-flex; align-items: center; }
  .footgrid a,.footbase a { display: flex; align-items: center; margin: 0; }
  .breadcrumbs .wrap { gap: .2rem .4rem; align-items: center; padding-block: .15rem; line-height: 1.5; }
  .breadcrumbs .wrap>a { display: inline-flex; align-items: center; min-height: 44px; }
  .breadcrumbs span:last-child { overflow-wrap: anywhere; }
  .innerlead h1, .fieldtitle h2, .regionintro h2, .founderspread h2, .talentgrid h2 { overflow-wrap: break-word; }
  .sectiontop, .cardgrid, .contactgrid, .pictured .leadgrid, .columns, .intgrid { min-width: 0; }
  .columns, .contactgrid, .pictured .leadgrid, .intgrid { grid-template-columns: minmax(0,1fr); }
  .fieldrow { grid-template-columns: minmax(0,1fr); gap: 0; }
  .footgrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#slideplayback[data-playing="true"] svg:last-child,
#slideplayback[data-playing="false"] svg:first-child { display: none; }
.slidebar button, .slidecount { flex-shrink: 0; }
@media (max-width: 520px) {
  .hero .slidebar { max-width: calc(100% - 2 * var(--gutter)); gap: .35rem; }
  .slidebar .slideline { display: none; }
  .slidecount { margin-inline: .2rem; white-space: nowrap; }
  #slidecaption { min-width: 0; line-height: 1.25; }
}
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .herocopy h1 br { display: none; }
  .herocopy h1 em::before { content: " "; }
  .actions { gap: .55rem; }
  .hero .actions a { padding-inline: .75rem; }
  .slidebar { gap: .3rem; }
  .proofgrid svg { width: 21px; height: 21px; }
}
/* The thin brand-colour rule records reading progress on browsers that support scroll timelines. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    header::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
      background: var(--red); transform-origin: left; pointer-events: none;
      animation: page-reading linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes page-reading { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
