/* The site navigation. One bar, one panel that changes its contents as the pointer moves along the bar,
   and a full-screen sheet on a phone. Timings are the ones measured on the reference sites:
   panel fade 0.22s, panel settle 0.48s on cubic-bezier(0.16, 1, 0.3, 1), contents 0.36s.
   site/partials/header.html holds the links. nav.js builds the panel from them. */
.nv {
  --nv-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nv-ink: #1D1D1F; --nv-stone: #6E6E73; --nv-fog: #D2D2D7; --nv-paper: #F5F5F7; --nv-white: #FFFFFF;
  --nv-m: var(--m, clamp(18px, 4vw, 64px));
  /* What the bar sits on decides these five. The defaults are the paper tone. */
  --nv-bar: transparent; --nv-fg: var(--nv-ink); --nv-tint: rgba(29, 29, 31, 0.07); --nv-tint-menu: rgba(29, 29, 31, 0.07); --nv-cta: var(--nv-ink); --nv-cta-fg: #fff;
  --sq-focus: var(--nv-fg);
  position: fixed; inset: 0 0 auto 0; z-index: 200; color: var(--nv-fg);
  font-family: var(--sans, 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif);
  pointer-events: none; transition: opacity 0.35s, translate 0.45s var(--nv-ease);
}
/* A page names its first tone on <main data-nav-tone>, which holds before script runs and with script off.
   After that nav.js writes data-tone on the bar, from the section under it or from IRNav.tone(). */
body:has(main[data-nav-tone="photo"]) .nv:not([data-tone]), .nv[data-tone="photo"] { --nv-bar: var(--nv-white); }
body:has(main[data-nav-tone="dark"]) .nv:not([data-tone]), .nv[data-tone="dark"] { --nv-fg: #fff; --nv-tint: rgba(255, 255, 255, 0.16); --nv-tint-menu: rgba(255, 255, 255, 0.18); --nv-cta: #fff; --nv-cta-fg: var(--nv-ink); }
.nv.is-open { --nv-bar: var(--nv-white); --nv-fg: var(--nv-ink); --nv-tint: rgba(29, 29, 31, 0.07); --nv-tint-menu: rgba(29, 29, 31, 0.07); --nv-cta: var(--nv-ink); --nv-cta-fg: #fff; }
/* No surface in the menu has an edge, whatever the page's own stylesheet gives --line. */
.nv, .nv-sheet { --line: transparent; }
.nv.is-away { opacity: 0; translate: 0 -12px; }
.nv.is-away * { pointer-events: none !important; }
.nv a { color: inherit; text-decoration: none; }
/* Family only. A button's size and weight come from its own class, which a whole-font reset here would outrank. */
.nv button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.nv-bar { --sq-r: 16px; --sq-fill: var(--nv-bar); margin: clamp(8px, 1.2vw, 16px) calc(var(--nv-m) - 14px) 0; height: 54px; padding: 0 8px 0 14px;
  display: flex; align-items: center; gap: 10px; pointer-events: auto; transition: --sq-fill 0.3s, color 0.3s; }
/* The wordmark. Its R is a drawn letter with the horn for a leg, set to the proportions of the system sans, so the
   other letters use that face here and nowhere else. The drawing sits on the text baseline and scales with the type. */
.nv-brand { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin-right: auto; padding: 8px 0; white-space: nowrap; }
.nv-logo { display: inline-block; vertical-align: baseline; overflow: visible; }
.nv-items { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nv-item { --sq-r: 10px; --sq-fill: transparent; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: --sq-fill 0.2s; }
.nv-item svg { width: 9px; height: 6px; flex: none; opacity: 0.55; transition: rotate 0.36s var(--nv-ease), opacity 0.2s; }
/* The section you are in keeps the same soft fill a hovered item gets. */
.nv-item:hover, .nv-item[aria-expanded="true"], .nv-item[aria-current="page"], .nv-item.is-here { --sq-fill: var(--nv-tint); }
.nv-item[aria-expanded="true"] svg { rotate: 180deg; opacity: 1; }
.nv-brand:focus-visible, .nv-side a:focus-visible, .nv-foot a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nv-cta { --sq-r: 11px; --sq-fill: var(--nv-cta); color: var(--nv-cta-fg) !important; height: 38px; padding: 0 15px; display: flex; align-items: center; font-size: 14px; font-weight: 600; margin-left: 8px; white-space: nowrap; transition: --sq-fill 0.3s, color 0.3s, scale 0.4s cubic-bezier(0.5, 1.8, 0.3, 0.8); }
.nv-cta:hover { scale: 1.04; }
.nv-menu { --sq-r: 11px; --sq-fill: var(--nv-tint-menu); display: none; height: 38px; padding: 0 14px; font-size: 14px; font-weight: 600; align-items: center; gap: 9px; }
.nv-menu i { display: grid; gap: 4px; width: 14px; }
.nv-menu i::before, .nv-menu i::after { content: ''; height: 2px; background: currentColor; }

/* the panel */
.nv-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(29, 29, 31, 0.2); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; pointer-events: none; }
.nv.is-open .nv-scrim { opacity: 1; visibility: visible; transition-delay: 0s; pointer-events: auto; }
.nv-drop { position: absolute; left: 50%; top: calc(clamp(8px, 1.2vw, 16px) + 54px); translate: -50% 0; width: min(1080px, 100vw - 2 * var(--nv-m) + 28px); padding-top: 8px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.22s var(--nv-ease), visibility 0s 0.22s; }
.nv.is-open .nv-drop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.nv-panel { --sq-r: 26px; --sq-fill: var(--nv-white); --sq-shadow: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.07)) drop-shadow(0 22px 44px rgba(0, 0, 0, 0.18)); height: var(--nv-h, 380px);
  translate: 0 -10px; filter: var(--sq-shadow) blur(8px); transition: translate 0.48s var(--nv-ease), filter 0.32s var(--nv-ease), height 0.42s var(--nv-ease); }
.nv.is-open .nv-panel { translate: 0 0; filter: var(--sq-shadow); }
.nv-pane { position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr) minmax(0, 1.04fr); column-gap: 22px; padding: 22px 22px 0 14px; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.nv-pane.is-on { opacity: 1; visibility: visible; transition: opacity 0.36s var(--nv-ease) 0.06s, visibility 0s; }
.nv-pane.is-two { grid-template-columns: minmax(0, 2fr) minmax(0, 1.04fr); }
.nv-kicker { font: 500 12px/1.2 var(--mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); color: var(--nv-stone); padding: 2px 12px 10px; }
.nv-rows { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.nv-rows.is-split { grid-template-columns: 1fr 1fr; column-gap: 8px; }
.nv-row { --sq-r: 13px; --sq-fill: transparent; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 10px 12px 11px; transition: --sq-fill 0.2s;
  opacity: 0; translate: 0 10px; }
.nv-pane.is-on .nv-row { opacity: 1; translate: 0 0; transition: --sq-fill 0.2s, opacity 0.36s var(--nv-ease) calc(0.05s + var(--i, 0) * 0.035s), translate 0.48s var(--nv-ease) calc(0.05s + var(--i, 0) * 0.035s); }
.nv-row:hover, .nv-row:focus-visible, .nv-row.is-on { --sq-fill: var(--nv-paper); }
/* One small square in the step's own color. It is a fill, and the only place a step color appears in the menu. */
.nv-chip { --sq-r: 3px; --sq-fill: transparent; width: 11px; height: 11px; margin-top: 6px; }
.nv-chip[data-step="assess"] { --sq-fill: var(--marker, #FFCC00); }
.nv-chip[data-step="setup"] { --sq-fill: var(--signal, #0071E3); }
.nv-chip[data-step="train"] { --sq-fill: var(--ember, #FF5F1F); }
.nv-chip[data-step="build"] { --sq-fill: var(--dusk, #5E5CE6); }
.nv-chip[data-step="run"] { --sq-fill: var(--field, #30B15C); }
.nv-row b { display: block; font-size: 19px; font-weight: 500; line-height: 1.12; letter-spacing: -0.018em; }
.nv-row span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.3; color: var(--nv-stone); }
.nv-row em { font-style: normal; font-size: 16px; line-height: 1.3; opacity: 0; translate: -6px 0; transition: opacity 0.2s, translate 0.36s var(--nv-ease); }
.nv-row:hover em, .nv-row:focus-visible em, .nv-row.is-on em { opacity: 1; translate: 0 0; }
/* The page you are on is set in heavier type, in the panel and in the sheet. */
.nv-row[aria-current="page"] b, .nv-sheet a[aria-current="page"] b, .nv-side a[aria-current="page"] { font-weight: 600; }
.nv-side { display: grid; align-content: start; }
.nv-side ul { list-style: none; margin: 0; padding: 0 12px; display: grid; }
.nv-side.is-cols ul { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.nv-side li { border-top: 1px solid var(--nv-fog); }
.nv-side li a, .nv-side li p { display: block; padding: 9px 0; font-size: 15px; line-height: 1.25; }
.nv-side p b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.nv-side p span { color: var(--nv-stone); font-size: 14px; }
.nv-side a { transition: translate 0.36s var(--nv-ease); }
.nv-side a:hover { translate: 4px 0; }
.nv-fig { margin: 0; display: grid; align-content: start; gap: 9px; }
.nv-pic { --sq-r: 18px; position: relative; aspect-ratio: 5 / 4; background: var(--nv-paper); overflow: hidden; }
.nv-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.05; transition: opacity 0.45s var(--nv-ease), scale 0.9s var(--nv-ease); }
.nv-pic img.is-on { opacity: 1; scale: 1; }
.nv-fig figcaption { font: 400 12px/1.35 var(--mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); color: var(--nv-stone); min-height: 2.7em; padding: 0 2px; }
.nv-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 16px 0 0 8px; padding: 14px 4px 16px; border-top: 1px solid var(--nv-fog); font-size: 14px; line-height: 1.3; color: var(--nv-stone); }
.nv-foot a { color: var(--nv-ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nv-foot a i { font-style: normal; display: inline-block; transition: translate 0.36s var(--nv-ease); }
.nv-foot a:hover i { translate: 4px 0; }

/* The phone sheet. With script off the Menu button opens it as a popover. nav.js opens it as a modal dialog. */
.nv-sheet { --nv-ease: cubic-bezier(0.16, 1, 0.3, 1); position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #F5F5F7; color: #1D1D1F;
  font-family: var(--sans, 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif); overflow: hidden; }
.nv-sheet::backdrop { background: transparent; }
.nv-sheet:is([open], :popover-open) { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: nv-sheet-in 0.5s var(--nv-ease); }
@keyframes nv-sheet-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.nv-sheet a { color: inherit; text-decoration: none; }
.nv-sheet button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* The focus ring is ink, never the browser's blue. */
.nv-sheet :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nv-sheet-top { display: flex; justify-content: space-between; align-items: center; padding: max(10px, env(safe-area-inset-top)) 18px 6px; height: calc(62px + env(safe-area-inset-top)); }
.nv-sheet-top b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.nv-sheet-close { --sq-r: 12px; --sq-fill: rgba(29, 29, 31, 0.07); height: 44px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.nv-sheet-list { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 18px 18px; }
.nv-sheet-list > * { border-top: 1px solid #D2D2D7; opacity: 0; translate: 0 18px; animation: nv-rise 0.6s var(--nv-ease) forwards; animation-delay: calc(0.12s + var(--i, 0) * 0.045s); }
@keyframes nv-rise { to { opacity: 1; translate: 0 0; } }
.nv-sheet summary, .nv-sheet-list > a { display: flex; justify-content: space-between; align-items: center; min-height: 62px; padding: 8px 0; font-size: clamp(30px, 9vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; list-style: none; cursor: pointer; }
.nv-sheet summary::-webkit-details-marker { display: none; }
.nv-sheet summary i { position: relative; width: 18px; height: 18px; flex: none; }
.nv-sheet summary i::before, .nv-sheet summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: rotate 0.4s var(--nv-ease); }
.nv-sheet summary i::after { rotate: 90deg; }
.nv-sheet details[open] summary i::after { rotate: 0deg; }
.nv-sheet details ul { list-style: none; margin: 0; padding: 0 0 12px; display: grid; }
.nv-sheet details li a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; min-height: 48px; padding: 9px 0; }
.nv-sheet details li b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.nv-sheet details li span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.3; color: #6E6E73; }
.nv-sheet details li .nv-chip { margin-top: 6px; }
.nv-sheet-foot { padding: 12px 18px max(16px, env(safe-area-inset-bottom)); display: grid; gap: 10px; border-top: 1px solid #D2D2D7; background: #F5F5F7; }
.nv-sheet-foot a { --sq-r: 14px; --sq-fill: #1D1D1F; color: #fff; height: 56px; display: grid; place-items: center; font-size: 17px; font-weight: 600; }
.nv-sheet-foot small { font: 400 12px/1.35 var(--mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); color: #6E6E73; text-align: center; }

/* The bar collapses when its items cannot fit, which script decides by measuring. */
.nv.is-narrow .nv-items, .nv.is-narrow .nv-drop, .nv.is-narrow .nv-scrim { display: none; }
.nv.is-narrow .nv-menu { display: flex; }
.nv.is-narrow .nv-bar { margin-left: calc(var(--nv-m) - 12px); margin-right: calc(var(--nv-m) - 12px); padding: 0 8px 0 12px; height: 58px; }
.nv.is-narrow .nv-cta { margin-left: 0; }
.nv.is-narrow .nv-cta, .nv.is-narrow .nv-menu { height: 44px; }
@media (max-width: 359px) { .nv.is-narrow .nv-cta, .nv:not(.is-ready) .nv-cta { display: none; } }
@media (max-height: 520px) { .nv-drop { display: none; } }

/* On a phone or an upright tablet a page's picture is a band right under the bar, so there the bar is a white
   plate on any ground but the dark one. It is the same test the home page and the kit use for their tall layout. */
@media (max-width: 699px), (max-aspect-ratio: 41/50) {
  .nv { --nv-bar: var(--nv-white); }
  body:has(main[data-nav-tone="dark"]) .nv:not([data-tone]), .nv[data-tone="dark"]:not(.is-open) { --nv-bar: transparent; }
}

/* Until script has measured, a width stands in for the measurement, so a phone never paints the full row first. */
@media (max-width: 899px) {
  .nv:not(.is-ready) .nv-items { display: none; }
  .nv:not(.is-ready) .nv-menu { display: flex; }
  .nv:not(.is-ready) .nv-bar { margin-left: calc(var(--nv-m) - 12px); margin-right: calc(var(--nv-m) - 12px); padding: 0 8px 0 12px; height: 58px; }
  .nv:not(.is-ready) .nv-cta { margin-left: 0; }
  .nv:not(.is-ready) .nv-cta, .nv:not(.is-ready) .nv-menu { height: 44px; }
}
/* With script off the row stays a row of plain links and Menu is always there, because the sheet is the way to the
   pages under each item. */
@media (scripting: none) {
  .nv-menu { display: flex; }
  .nv-item svg { display: none; }
}
@media (scripting: none) and (max-width: 1023px) { .nv-items { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .nv, .nv *, .nv-sheet, .nv-sheet * { transition-duration: 0.01s !important; animation-duration: 0.01s !important; animation-delay: 0s !important; }
  .nv-panel { translate: none; filter: var(--sq-shadow); }
}

/* Once a page has scrolled, its words pass under the bar, so the bar is a solid plate: white on a light ground, ink on
   the dark one. nav.js adds is-lifted, and never on the home page, where the story drives the tone and nothing scrolls under. */
.nv.is-lifted { --nv-bar: var(--nv-white); }
.nv.is-lifted[data-tone="dark"]:not(.is-open) { --nv-bar: var(--nv-ink); }
