
/* --------------------------------------------------------------------------
   Slideshow player
   -------------------------------------------------------------------------- */

@layer components {
  /* Controls flow in one row under the image; the slide link wraps onto its
     own row whenever the player is too narrow for it. The rotation button
     comes first in the HTML (for keyboard order) but sits after the image. */
  .slideshow {
    --ctrl: 2.75rem;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.25rem;
    row-gap: 0.25rem;
    padding: var(--bezel) var(--bezel) calc(var(--bezel) * 0.75);
    border-radius: var(--radius-l);
  }

  @media (min-width: 48em) {
    .slideshow {
      column-gap: 0.375rem;
      padding-block-end: calc(var(--bezel) * 0.5);
    }
  }

  .slideshow__frame {
    order: -1;
    flex: 1 0 100%;
    position: relative;
    aspect-ratio: var(--slide-ratio);
    margin-block-end: 0.25rem;
    overflow: hidden;
    border-radius: calc(var(--radius-l) - var(--bezel));
    background: var(--pf-midnight-2);
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
  }

  .slideshow__frame.is-linked {
    cursor: pointer;
  }

  .slideshow__slides {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template: 100% / 100%;
  }

  /* Slides are stacked in one grid cell. The incoming slide fades in on top
     of the outgoing one, which stays fully visible underneath until the fade
     ends, so the background never flashes through. */
  .slideshow__slide {
    grid-area: 1 / 1;
    background: var(--pf-midnight-2);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--dur-slide) var(--ease-out),
      visibility 0s linear var(--dur-slide);
  }

  .slideshow__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-slide) var(--ease-out);
  }

  .slideshow__slide.is-leaving {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .slideshow__slide picture,
  .slideshow__slide img {
    inline-size: 100%;
    block-size: 100%;
  }

  /* "contain" never crops: a wrong-sized image is letterboxed instead of
     losing the text written on it. */
  .slideshow__slide img {
    object-fit: contain;
  }

  .slideshow__btn {
    display: inline-grid;
    flex: none;
    place-items: center;
    inline-size: var(--ctrl);
    block-size: var(--ctrl);
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--pf-paper);
    transition: background-color var(--dur-fast);
  }

  @media (hover: hover) {
    .slideshow__btn:hover {
      background: var(--pf-midnight-2);
    }
  }

  .slideshow__icon {
    inline-size: 1.5rem;
    block-size: 1.5rem;
  }

  .slideshow__icon--play,
  .slideshow[data-state="stopped"] .slideshow__icon--pause {
    display: none;
  }

  .slideshow[data-state="stopped"] .slideshow__icon--play {
    display: block;
  }

  /* Slide pickers: one short bar per slide. The current slide's bar is
     longer and fills with signal yellow as its time runs out. */
  .slideshow__tabs {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-inline-size: 0;
  }

  @media (min-width: 48em) {
    .slideshow__tabs {
      flex: 0 1 auto;
    }
  }

  .slideshow__tab {
    display: grid;
    flex: none;
    place-items: center;
    inline-size: 1.75rem;
    block-size: var(--ctrl);
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    transition: inline-size var(--dur-base) var(--ease-out);
  }

  .slideshow__tab.is-current {
    inline-size: 3.25rem;
  }

  .slideshow__bar {
    position: relative;
    display: block;
    overflow: hidden;
    inline-size: 1rem;
    block-size: 4px;
    border-radius: 2px;
    background: var(--pf-control-dark);
    transition:
      inline-size var(--dur-base) var(--ease-out),
      background-color var(--dur-fast);
  }

  .slideshow__tab.is-current .slideshow__bar {
    inline-size: 2.5rem;
  }

  /* Very small phones: slimmer pickers so all five keep a 24px target */
  @media (max-width: 23.75em) {
    .slideshow {
      column-gap: 0;
    }

    .slideshow__tab {
      inline-size: 1.5rem;
    }

    .slideshow__tab.is-current {
      inline-size: 2.5rem;
    }

    .slideshow__bar {
      inline-size: 0.875rem;
    }

    .slideshow__tab.is-current .slideshow__bar {
      inline-size: 1.875rem;
    }
  }

  @media (hover: hover) {
    .slideshow__tab:hover .slideshow__bar {
      background: var(--pf-on-dark-2);
    }
  }

  .slideshow__fill {
    position: absolute;
    inset: 0;
    background: var(--pf-signal);
    transform: scaleX(0);
    transform-origin: left center;
  }

  /* When the slideshow is stopped, the current bar is shown full */
  .slideshow[data-state="stopped"] .slideshow__tab.is-current .slideshow__fill {
    transform: none;
  }

  .slideshow__caption {
    display: inline-flex;
    flex: 1 0 100%;
    align-items: center;
    min-block-size: var(--ctrl);
    padding-inline: 0.75rem;
    color: var(--pf-paper);
    font-weight: 700;
    text-decoration-color: var(--pf-signal);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
  }

  @media (min-width: 48em) {
    .slideshow__caption {
      flex: 0 0 auto;
      margin-inline-start: auto;
      white-space: nowrap;
    }
  }

  @media (hover: hover) {
    .slideshow__caption:hover {
      color: var(--pf-paper);
      text-decoration-thickness: 3px;
    }
  }
}

/* --------------------------------------------------------------------------
   Forecast demo
   -------------------------------------------------------------------------- */

@layer components {
  .fc {
    --fc-actual: #8a90b4;
    --fc-forecast: var(--pf-signal);
    /* The likely range is a neutral wash, so the yellow forecast line stays
       the one thing that stands out */
    --fc-band: rgb(246 247 251 / 0.16);
    --fc-grid: var(--pf-rule-dark);
    --fc-axis: var(--pf-axis-dark);
    --fc-text: var(--pf-on-dark-3);

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-l);
  }

  .fc-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: var(--space-m) var(--space-xl);
  }

  .fc-label {
    display: block;
    margin-block-end: 0.5rem;
    color: var(--ink-muted);
    font-size: var(--step--1);
    font-weight: 700;
  }

  .fc-segmented__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .fc-option {
    position: relative;
    display: inline-flex;
  }

  .fc-option input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .fc-option span {
    display: inline-flex;
    align-items: center;
    min-block-size: 2.75rem;
    padding: 0.5rem 1.125rem;
    border: 2px solid var(--control);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    transition:
      background-color var(--dur-fast),
      border-color var(--dur-fast),
      color var(--dur-fast);
  }

  .fc-option input:checked + span {
    border-color: var(--pf-paper);
    background: var(--pf-paper);
    color: var(--pf-midnight);
  }

  .fc-option input:focus-visible + span {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }

  @media (hover: hover) {
    .fc-option:hover input:not(:checked) + span {
      border-color: var(--pf-on-dark-2);
    }
  }

  .fc-horizon {
    flex: 1 1 16rem;
    max-inline-size: 26rem;
  }

  .fc-horizon__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-s);
  }

  .fc-horizon__value {
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  /* Range slider (months ahead) */
  .fc-range {
    --fill: 50%;

    display: block;
    inline-size: 100%;
    block-size: 2.75rem;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }

  .fc-range:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 8px;
  }

  .fc-range::-webkit-slider-runnable-track {
    block-size: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--pf-paper) var(--fill), var(--pf-control-dark) var(--fill));
  }

  .fc-range::-webkit-slider-thumb {
    inline-size: 1.5rem;
    block-size: 1.5rem;
    margin-block-start: calc(3px - 0.75rem);
    border: 3px solid var(--pf-midnight);
    border-radius: 50%;
    background: var(--pf-paper);
    box-shadow: 0 0 0 2px var(--pf-paper);
    -webkit-appearance: none;
    appearance: none;
  }

  .fc-range::-moz-range-track {
    block-size: 6px;
    border-radius: 3px;
    background: var(--pf-control-dark);
  }

  .fc-range::-moz-range-progress {
    block-size: 6px;
    border-radius: 3px;
    background: var(--pf-paper);
  }

  .fc-range::-moz-range-thumb {
    inline-size: 1.125rem;
    block-size: 1.125rem;
    border: 3px solid var(--pf-midnight);
    border-radius: 50%;
    background: var(--pf-paper);
    box-shadow: 0 0 0 2px var(--pf-paper);
  }

  /* Readout: the one number this demo is about. Data figures stay in the
     text sans, never the display serif. */
  .fc-readout {
    display: grid;
    gap: 0.35rem;
  }

  .fc-readout__label {
    color: var(--ink-muted);
    font-weight: 700;
  }

  .fc-readout__value {
    color: var(--ink);
    font-size: clamp(3rem, 2.6rem + 1.8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .fc-readout__range {
    color: var(--ink-muted);
  }

  .fc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 0 0 var(--space-s);
    padding: 0;
    list-style: none;
    color: var(--ink-muted);
    font-size: var(--step--1);
  }

  .fc-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .fc-key {
    display: inline-block;
    flex: none;
    inline-size: 1.75rem;
    block-size: 0.875rem;
  }

  .fc-key--actual {
    background: linear-gradient(var(--fc-actual), var(--fc-actual)) center / 100% 2px no-repeat;
  }

  .fc-key--forecast {
    background: repeating-linear-gradient(to right, var(--fc-forecast) 0 7px, transparent 7px 11px) center / 100% 3px no-repeat;
  }

  .fc-key--band {
    border-radius: 3px;
    background: var(--fc-band);
  }

  /* The plot's size comes from aspect-ratio, never from the SVG inside it,
     so redrawing on resize can't loop. */
  .fc-plot {
    position: relative;
    aspect-ratio: 4 / 3;
    touch-action: pan-y;
  }

  @media (min-width: 37.5em) {
    .fc-plot {
      aspect-ratio: 16 / 9;
    }
  }

  @media (min-width: 56.25em) {
    .fc-plot {
      aspect-ratio: 5 / 2;
    }
  }

  /* The scrub input below has no pointer events, so it only gets focus
     from the keyboard; js/forecast.js adds .is-scrubbing while it does. */
  .fc-plot.is-scrubbing {
    outline: 3px solid var(--focus);
    outline-offset: 6px;
    border-radius: 6px;
  }

  .fc-svg {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    overflow: visible;
  }

  .fc-svg text {
    fill: var(--fc-text);
    font-family: var(--font-text);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }

  .fc-svg .fc-ytick {
    paint-order: stroke;
    stroke: var(--pf-midnight);
    stroke-width: 4px;
    stroke-linejoin: round;
  }

  .fc-svg .fc-grid {
    stroke: var(--fc-grid);
    stroke-width: 1;
    shape-rendering: crispEdges;
  }

  .fc-svg .fc-baseline {
    stroke: var(--fc-axis);
    stroke-width: 1;
    shape-rendering: crispEdges;
  }

  .fc-svg .fc-today {
    stroke: var(--fc-text);
    stroke-width: 1;
    shape-rendering: crispEdges;
  }

  .fc-svg .fc-today-label {
    fill: var(--ink-muted);
    font-weight: 700;
  }

  .fc-svg .fc-line-actual {
    fill: none;
    stroke: var(--fc-actual);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .fc-svg .fc-line-forecast {
    fill: none;
    stroke: var(--fc-forecast);
    stroke-width: 2.5;
    stroke-dasharray: 6 7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .fc-svg .fc-band {
    fill: var(--fc-band);
    stroke: none;
  }

  .fc-svg .fc-end-dot {
    fill: var(--fc-forecast);
    stroke: var(--pf-midnight);
    stroke-width: 2;
  }

  .fc-svg .fc-end-label {
    fill: var(--ink);
    font-size: 13px;
    font-weight: 700;
    paint-order: stroke;
    stroke: var(--pf-midnight);
    stroke-width: 4px;
    stroke-linejoin: round;
  }

  .fc-svg .fc-cross {
    stroke: var(--pf-on-dark-2);
    stroke-width: 1;
    shape-rendering: crispEdges;
  }

  .fc-svg .fc-dot-actual {
    fill: var(--fc-actual);
    stroke: var(--pf-midnight);
    stroke-width: 2;
  }

  .fc-svg .fc-dot-forecast {
    fill: var(--fc-forecast);
    stroke: var(--pf-midnight);
    stroke-width: 2;
  }

  /* Visually hidden range input laid over the plot: it gives keyboard and
     screen-reader users a way to step through the months. */
  .fc-scrub {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }

  .fc-tooltip {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 2;
    display: grid;
    gap: 0.2rem;
    min-inline-size: 11rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--pf-control-dark);
    border-radius: var(--radius-s);
    background: var(--pf-midnight-2);
    color: var(--pf-paper);
    font-size: var(--step--1);
    line-height: 1.35;
    pointer-events: none;
  }

  .fc-tooltip__month {
    color: var(--pf-on-dark-2);
    font-weight: 700;
  }

  .fc-tooltip__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .fc-tooltip__value {
    font-weight: 700;
  }

  .fc-tooltip__row .fc-key {
    inline-size: 1.25rem;
  }

  .fc-tooltip__range {
    color: var(--pf-on-dark-2);
  }

  .fc-note {
    max-inline-size: 75ch;
    margin-block-start: var(--space-s);
    color: var(--ink-muted);
    font-size: var(--step--1);
  }

  .fc-table {
    padding-block-start: var(--space-xs);
    border-block-start: 1px solid var(--rule);
  }

  .fc-table__summary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-block-size: 2.75rem;
    color: var(--ink);
    font-weight: 700;
  }

  .fc-table__summary::before {
    content: "";
    inline-size: 0.55rem;
    block-size: 0.55rem;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform var(--dur-base) var(--ease-out);
  }

  .fc-table[open] .fc-table__summary::before {
    transform: rotate(45deg);
  }

  .fc-table__scroll {
    max-block-size: 24rem;
    margin-block-start: var(--space-xs);
    overflow: auto;
    overscroll-behavior: contain;
  }

  /* Separate borders, so the sticky cells take their borders with them */
  .fc-table table {
    border-collapse: separate;
    border-spacing: 0;
    inline-size: 100%;
    font-size: var(--step--1);
    font-variant-numeric: tabular-nums;
  }

  .fc-table th,
  .fc-table td {
    padding: 0.55rem 0.9rem;
    border-block-end: 1px solid var(--rule);
    text-align: end;
    white-space: nowrap;
  }

  .fc-table th:first-child,
  .fc-table td:first-child {
    text-align: start;
  }

  /* On narrow screens the numbers scroll sideways under the month column */
  .fc-table th:first-child {
    position: sticky;
    inset-inline-start: 0;
    background: var(--pf-midnight);
  }

  .fc-table thead th {
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    background: var(--pf-midnight);
    color: var(--ink);
  }

  .fc-table thead th:first-child {
    z-index: 2;
  }

  .fc-table tbody th {
    color: var(--ink);
    font-weight: 400;
  }

  .fc-table td {
    color: var(--ink-muted);
  }

  .fc-table .is-forecast th,
  .fc-table .is-forecast td {
    color: var(--ink);
  }
}

/* --------------------------------------------------------------------------
   Page sections
   -------------------------------------------------------------------------- */

@layer sections {
  /* Hero ------------------------------------------------------------------ */
  .hero {
    --slide-ratio: 4 / 5;
    --bezel: 0.5rem;
    --controls-h: 5.75rem;
    --hero-gap: 0.75rem;

    padding-block: var(--hero-gap) var(--section-space);
  }

  @media (min-width: 37.5em) {
    .hero {
      --slide-ratio: 2 / 1;
      --bezel: 0.75rem;
    }
  }

  @media (min-width: 48em) {
    .hero {
      --controls-h: 3rem;
    }
  }

  /* Phones held sideways: the player gets narrow, so the slide link wraps
     onto a second row of controls */
  @media (min-width: 48em) and (max-height: 32em) {
    .hero {
      --controls-h: 5.75rem;
    }
  }

  .hero__inner {
    inline-size: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
  }

  .hero .slideshow {
    margin-inline: auto;
  }

  /* Keep the whole player (image + controls) inside the first screen on
     short laptop screens and phones held sideways. */
  @supports (block-size: 100svh) {
    .hero .slideshow {
      max-inline-size: max(20rem, (100svh - var(--header-h) - var(--hero-gap) - var(--controls-h) - 2 * var(--bezel) - 1rem) * var(--slide-ratio) + 2 * var(--bezel));
    }
  }

  .hero__intro {
    display: grid;
    gap: var(--space-m);
    padding-block-start: clamp(2.5rem, 1.75rem + 3.5vw, 5rem);
  }

  .hero__aside {
    display: grid;
    gap: var(--space-m);
  }

  /* On narrow screens the two buttons share the row, or each takes a full
     row once they wrap */
  .hero__aside .button {
    flex: 1 1 13rem;
  }

  @media (min-width: 37.5em) {
    .hero__aside .button {
      flex: 0 0 auto;
    }
  }

  @media (min-width: 56.25em) {
    .hero__intro {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
      align-items: end;
    }

    .hero__intro h1 {
      grid-column: 1 / span 7;
    }

    .hero__aside {
      grid-column: 8 / span 5;
    }
  }

  /* Services ---------------------------------------------------------------- */
  .services {
    padding-block-start: 0;
  }

  .service-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .service {
    display: grid;
    gap: var(--space-s);
    padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem);
    border-block-start: 1px solid var(--rule);
  }

  .service:has(+ .service--soon) {
    border-block-end: 1px solid var(--rule);
  }

  .service__title {
    font-size: var(--step-3);
  }

  .service__body {
    display: grid;
    gap: var(--space-s);
    align-content: start;
  }

  .service__body > p {
    color: var(--ink-muted);
  }

  .service__body > .service__promise {
    max-inline-size: 34ch;
    color: var(--ink);
    font-size: var(--step-2);
    line-height: 1.35;
  }

  .service__body .chips {
    margin-block: var(--space-2xs);
  }

  .service__fit-label {
    color: var(--ink);
    font-weight: 700;
  }

  .service__body > .service__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    font-weight: 700;
  }

  .service--soon {
    margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border: 2px dashed var(--control);
    border-radius: var(--radius-l);
  }

  @media (min-width: 56.25em) {
    .service {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
    }

    .service__title {
      grid-column: 1 / span 4;
    }

    .service__body {
      grid-column: 6 / span 7;
    }

    .service--soon .service__title {
      grid-column: 1 / span 5;
    }
  }

  /* Forecast band ----------------------------------------------------------- */
  .forecast .section-head {
    margin-block-end: clamp(2rem, 1.5rem + 2vw, 3rem);
  }

  .fc-noscript {
    padding: var(--space-m);
    border: 2px dashed var(--control);
    border-radius: var(--radius-m);
    color: var(--ink-muted);
  }

  .fc-cta {
    margin-block-start: var(--space-xl);
  }

  /* Process ------------------------------------------------------------------ */
  .steps {
    display: grid;
    gap: var(--space-l);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: var(--space-s);
    row-gap: 0.35rem;
  }

  .step__num {
    position: relative;
    z-index: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    inline-size: 3rem;
    block-size: 3rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: var(--step-1);
    font-weight: 700;
    line-height: 1;
  }

  .step__title {
    align-self: center;
    font-size: var(--step-2);
  }

  .step p {
    grid-column: 2;
    color: var(--ink-muted);
  }

  /* The line that connects the steps in order */
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    inset-block: 3rem calc(-1 * var(--space-l));
    inset-inline-start: calc(1.5rem - 1px);
    inline-size: 2px;
    background: var(--control);
  }

  @media (min-width: 56.25em) {
    .steps {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .step {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-s);
      align-content: start;
    }

    .step__num {
      grid-row: auto;
    }

    .step__title {
      align-self: start;
    }

    .step p {
      grid-column: auto;
    }

    .step:not(:last-child)::before {
      inset-block: calc(1.5rem - 1px) auto;
      inset-inline: 3rem calc(-1 * var(--space-l));
      inline-size: auto;
      block-size: 2px;
    }
  }

  /* Founders ----------------------------------------------------------------- */
  .founders__grid {
    display: grid;
    gap: var(--space-xl);
  }

  .founders__text {
    display: grid;
    align-content: start;
    gap: var(--space-s);
  }

  .founders__text p:last-child {
    font-weight: 700;
  }

  .people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .person {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    gap: 0.3rem;
  }

  .person__photo {
    inline-size: 100%;
    aspect-ratio: 4 / 5;
    margin-block-end: var(--space-xs);
    border-radius: var(--radius-l);
    background: var(--pf-paper);
    object-fit: cover;
  }

  .person__name {
    font-size: var(--step-2);
  }

  .person__role {
    color: var(--ink);
    font-weight: 700;
  }

  .person__bio {
    color: var(--ink-muted);
  }

  @media (min-width: 56.25em) {
    .founders__grid {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
      align-items: center;
    }

    .founders__text {
      grid-column: 1 / span 5;
    }

    .people {
      grid-column: 7 / span 6;
      gap: var(--space-l);
    }
  }

  /* FAQ ---------------------------------------------------------------------- */
  .faq__grid {
    display: grid;
    gap: var(--space-xl);
  }

  .faq__intro {
    display: grid;
    align-content: start;
    gap: var(--space-s);
  }

  .faq__intro p {
    color: var(--ink-muted);
  }

  .faq__list {
    border-block-start: 1px solid var(--rule);
  }

  .faq__item {
    border-block-end: 1px solid var(--rule);
  }

  .faq__question {
    position: relative;
    display: block;
    padding-block: 1.25rem;
    padding-inline-end: 3rem;
    color: var(--ink);
    font-size: var(--step-1);
    font-weight: 700;
    line-height: 1.4;
  }

  .faq__question::after {
    content: "";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 0.5rem;
    inline-size: 1.125rem;
    block-size: 1.125rem;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
    transform: translateY(-50%);
    transition: transform var(--dur-base) var(--ease-out);
  }

  .faq__item[open] .faq__question::after {
    transform: translateY(-50%) rotate(45deg);
  }

  @media (hover: hover) {
    .faq__question:hover {
      color: var(--link-hover);
    }
  }

  .faq__answer {
    padding-block-end: 1.5rem;
    padding-inline-end: 3rem;
    color: var(--ink-muted);
  }

  @media (min-width: 56.25em) {
    .faq__grid {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
    }

    .faq__intro {
      grid-column: 1 / span 4;
    }

    .faq__list {
      grid-column: 6 / span 7;
    }
  }
}

/* --------------------------------------------------------------------------
   Windows high-contrast / forced colours
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
  .slideshow__bar {
    background: GrayText;
    forced-color-adjust: none;
  }

  .slideshow__fill {
    background: Highlight;
    forced-color-adjust: none;
  }

  .fc-option input:checked + span {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }

  .fc-svg {
    forced-color-adjust: none;
  }

  .fc-svg text,
  .fc-svg .fc-today-label {
    fill: CanvasText;
    stroke: none;
  }

  .fc-svg .fc-ytick,
  .fc-svg .fc-end-label {
    fill: CanvasText;
    stroke: Canvas;
    paint-order: stroke;
  }

  .fc-svg .fc-grid,
  .fc-svg .fc-baseline,
  .fc-svg .fc-today,
  .fc-svg .fc-cross {
    stroke: GrayText;
  }

  .fc-svg .fc-line-actual {
    stroke: CanvasText;
  }

  .fc-svg .fc-line-forecast {
    stroke: Highlight;
  }

  .fc-svg .fc-band {
    fill: Highlight;
    fill-opacity: 0.25;
  }

  .fc-svg .fc-dot-actual,
  .fc-svg .fc-dot-forecast,
  .fc-svg .fc-end-dot {
    fill: Highlight;
    stroke: Canvas;
  }

  .fc-key--actual {
    background: linear-gradient(CanvasText, CanvasText) center / 100% 2px no-repeat;
    forced-color-adjust: none;
  }

  .fc-key--forecast {
    background: repeating-linear-gradient(to right, Highlight 0 7px, transparent 7px 11px) center / 100% 3px no-repeat;
    forced-color-adjust: none;
  }

  .fc-key--band {
    background: Highlight;
    opacity: 0.4;
    forced-color-adjust: none;
  }

  .fc-tooltip {
    border-color: CanvasText;
  }

  .step__num {
    border-color: CanvasText;
  }

  .step:not(:last-child)::before {
    background: CanvasText;
  }
}
