/* The home page, as the design proposal of November 2026 lays it out: a full-width
 * navy hero with the network drawn behind it and the four figures in it, a light
 * section that rises over the hero, and a navy band with the newest resources.
 * Only the home page loads this file.
 *
 * Colours on the two navy bands are fixed, not themed: the bands are navy in both
 * themes. Each pairing used for text was measured against its band:
 *   #EDF1F9 on #181D2F 15.4:1, #EDF1F9 on #181D2F 9.5:1,
 *   #D3DAE4 on #45596F 5.2:1, #EDF1F9 on #596A7D 4.8:1.
 * The light section takes the site's own tokens, so it follows the dark theme. */
:root {
  --home-ice: #DCE4F3;
  --home-card: var(--light-accent);
  --home-card-hover: #E4EAF5;
  /* An inactive dot is part of a control, so it needs 3:1 on the card: #748392 on
   * #EDF1F9 is 3.43:1, and hsl(227 18% 52%) on the dark card is 3.62:1. */
  --home-dot: #748392;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --home-ice: hsl(227 30% 17%);
    --home-card-hover: hsl(227 26% 20%);
    --home-dot: hsl(227 18% 52%);
  }
}
:root[data-theme="dark"] {
  --home-ice: hsl(227 30% 17%);
  --home-card-hover: hsl(227 26% 20%);
  --home-dot: hsl(227 18% 52%);
}

/* The page body runs edge to edge; each band centres its own contents. */
main.home-main { max-width: none; padding: 0; }
/* :where() so this beats the site-wide section margin and nothing else. */
:where(.home) section { margin: 0; }
.home h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  max-width: none;
}
.home h3 { font-weight: 400; margin: 0; }
.home-hero-inner,
.home-light > *,
.home-dark > * {
  width: min(100% - 2 * var(--gutter), var(--max) - 2 * var(--gutter));
  margin-inline: auto;
}
.home-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .95rem;
  color: var(--ink);
}
.home-more svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .home-more svg { transition: transform .3s; }
  a:hover > .home-more svg, a.home-more:hover svg { transform: translateX(4px); }
}

/* ---------------------------------------------------------------- hero */

.home-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  background: linear-gradient(180deg, #05070D 0%, #0E1220 45%, #181D2F 100%);
  color: #EDF1F9;
}
/* Where the whole hero fits in the window, it holds still and the light section
 * rises over it. Where it does not fit, it scrolls like any section, so the
 * figures at its foot are never covered before they are seen. */
@media (min-width: 1000px) and (min-height: 860px) {
  .home-hero { position: sticky; top: 0; height: 100vh; }
}
.home-network { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-hero-inner { position: relative; padding: 7.5rem 0 calc(3rem + 48px); }
.home-hero h1 {
  color: #EDF1F9;
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.25rem);
  line-height: 1.08;
  max-width: 55rem;
  margin: 0;
}
.home-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}
.home-lead > p:first-child { margin: 0; max-width: 37.5rem; font-size: 1.125rem; line-height: 1.6; color: #EDF1F9; }
.home-lead .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.home-hero :focus-visible { outline-color: #FF9C86; }
/* #FF9C86 measured 2.74:1 at the top of the band's gradient; white is above 6:1 there. */
.home-dark :focus-visible { outline-color: #fff; }
.home-figures {
  list-style: none;
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 1000px) { .home-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.home-figures li {
  padding: 1.6rem 1.25rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(160deg, rgb(237 241 249 / .09), rgb(237 241 249 / .03));
  -webkit-backdrop-filter: blur(22px) saturate(140%);
          backdrop-filter: blur(22px) saturate(140%);
}
.home-figures b {
  display: block;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem);
  line-height: 1.1;
  color: #EDF1F9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.home-figures .home-figure-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; margin: 0;
}
.home-figures span:not(.home-figure-text) { display: block; margin-top: .6rem; font-size: .875rem; line-height: 1.45; color: #EDF1F9; }

/* The hero's words rise into place as the page opens. The animation starts from
 * almost nothing rather than nothing, so the heading still counts as painted for
 * the browser's loading measures, and only runs where the script will run. */
@media (prefers-reduced-motion: no-preference) {
  .js .home-rise { animation: home-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .home-lead.home-rise { animation-delay: .12s; }
  .js .home-figures.home-rise { animation-delay: .24s; }
}
/* Motion only, never opacity: the hero has to be readable even where the
 * animation never runs (a background tab, a link preview, a screenshot). */
@keyframes home-rise { from { transform: translateY(14px); } }

/* ---------------------------------------------------------------- light section */

.home-light {
  position: relative;
  z-index: 1;
  margin-top: -48px;
  border-radius: 48px 48px 0 0;
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0 calc(clamp(5rem, 4rem + 3vw, 7.5rem) + 48px);
  background: linear-gradient(180deg, var(--home-ice) 0, var(--white) min(40rem, 60%));
}
.home-intro h2 { max-width: 54rem; color: var(--ink); }
.home-intro p { max-width: 46rem; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1.0625rem; }
.home-intro p + p { margin-top: .75rem; }

.home-logos { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.home-logos .marquee { align-self: stretch; margin-top: 0; }
.marquee.clients, .marquee.clients .marquee-track { gap: 4rem; }
.marquee.clients .marquee-track { animation: home-marquee 60s linear infinite; }
.marquee.clients img { height: 56px; width: 56px; max-height: none; object-fit: contain; }
@keyframes home-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 4rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee.clients .marquee-track { animation: none; }
}

.home-section { margin-top: clamp(5rem, 4rem + 3vw, 8rem); }
.home-section h2 { color: var(--ink); }

/* Product families: four cards, the icon and the name on one line. Two by two
 * from 640px: four in a row left each blurb about 230px wide. */
.home-families { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .home-families { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-family {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--home-card);
  color: var(--ink);
}
.home-family:hover { background: var(--home-card-hover); text-decoration: none; }
.home-family-head { display: flex; align-items: center; gap: .9rem; }
.home-family-head img { width: 44px; height: 44px; object-fit: contain; flex: none; filter: var(--icon-filter, none); }
.home-family h3 { font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.home-family p { margin: 0; flex: 1; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* FNA works with: the heading on the left, the five sectors as rows on the right. */
.home-works { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .home-works { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; } }
.home-works-intro p { margin: 1.25rem 0 1.5rem; color: var(--ink-soft); font-size: 1rem; }
.home-sectors { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.home-sectors a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  align-items: center;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  border-radius: 20px;
  background: var(--home-card);
  color: var(--ink);
}
@media (min-width: 640px) {
  .home-sectors a { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem; padding-left: 1.75rem; }
}
.home-sectors a:hover { background: var(--home-card-hover); text-decoration: none; }
.home-sector-name { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.3; }
.home-sector-text { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.home-sectors svg {
  position: absolute; right: 1.5rem; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .home-sectors svg { transition: transform .25s; }
  .home-sectors a:hover svg { transform: translateX(4px); }
}

/* Recognition: two photographs, offset, beside the quotation card; the awards below. */
.home-recognition > h2 { text-align: center; margin-inline: auto; max-width: 40rem; }
.home-gallery { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; margin-top: 3rem; }
@media (min-width: 1000px) { .home-gallery { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; } }
.home-photos { display: grid; gap: 1.25rem; }
.home-photos figure { position: relative; margin: 0; width: 88%; border-radius: 20px; overflow: hidden; background: var(--home-ice); }
.home-photos figure:nth-child(2) { justify-self: end; }
.home-photos img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.home-photos figure:first-child img { object-position: 62% 50%; }
/* The caption sits under the photograph in Exo, with no box (design review,
 * 23 November 2026). The photograph keeps the rounded corners. */
.home-photos figure { border-radius: 0; overflow: visible; background: none; }
.home-photos img { border-radius: 20px; background: var(--home-ice); }
.home-photos figcaption {
  margin-top: .75rem;
  font: 400 .9375rem/1.45 var(--font-head); color: var(--ink-soft);
}
@media (max-width: 640px) { .home-photos figure { width: 100%; } }

.home-quotes {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 2.75rem 2rem;
  border-radius: 24px;
  background: var(--home-card);
}
.home-quote-mark { width: 40px; height: 30px; fill: var(--accent); flex: none; }
.home-quote-slides { display: grid; gap: 2rem; margin-top: 1.4rem; flex: 1; }
.home-quote { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.home-quote blockquote { margin: 0; padding: 0; border: 0; }
.home-quote blockquote p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
}
.home-quote figcaption { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.home-quote figcaption b { display: block; font-weight: 700; }
.home-quote figcaption span { display: block; }
/* Without the script every quotation is shown, one under the next. With it, one
 * is shown at a time in the same place, and the card keeps the height of the
 * longest so the controls do not move. */
.home-quotes:not(.is-enhanced) .home-quote + .home-quote { padding-top: 2rem; border-top: 1px solid var(--line); }
.home-quotes.is-enhanced .home-quote { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.home-quotes.is-enhanced .home-quote.is-active { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .home-quotes.is-enhanced .home-quote { transition: opacity .5s ease, visibility 0s linear .5s; }
  .home-quotes.is-enhanced .home-quote.is-active { transition: opacity .5s ease, visibility 0s; }
}
.home-quote-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.home-quote-dots { display: flex; gap: .25rem; }
/* Each dot is a 24px target with the dot drawn inside it. */
.home-quote-dots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.home-quote-dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--home-dot);
}
.home-quote-dots button[aria-pressed="true"] { width: 36px; }
.home-quote-dots button[aria-pressed="true"]::before { width: 28px; background: var(--ink); }
.home-quote-arrows { display: flex; gap: .6rem; }
.home-quote-arrows button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
}
.home-quote-arrows button:hover { border-color: var(--ink-soft); }
.home-quote-arrows svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.home-recognition .marquee.awards { margin-top: 1rem; }

/* ---------------------------------------------------------------- navy band */

.home-dark {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  border-radius: 48px 48px 0 0;
  padding: clamp(4rem, 3rem + 3vw, 6rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
  background: linear-gradient(180deg, #596A7D 0%, #45596F 30%, #33485F 60%, #181D2F 100%);
  color: #EDF1F9;
}
.home-dark h2 { color: #EDF1F9; }
.home-dark .home-more { color: #EDF1F9; }
.home-dark-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 1.5rem; }

.home-resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .home-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d d"; }
  .home-resource-large { grid-area: a; }
  .home-resource-small:nth-child(2) { grid-area: b; }
  .home-resource-small:nth-child(3) { grid-area: c; }
  .home-resource-wide { grid-area: d; }
}
@media (min-width: 1000px) {
  .home-resources { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "a a b c" "a a d d"; }
}
.home-resource { margin: 0; min-width: 0; }
.home-resource-link { position: relative; display: flex; flex-direction: column; height: 100%; color: #EDF1F9; }
.home-resource-link:hover { text-decoration: none; }
.home-resource-link > * { position: relative; }
.home-resource-link::before {
  content: ""; position: absolute; inset: -12px; border-radius: 26px;
  background: rgb(237 241 249 / .08); opacity: 0;
}
.home-resource-link:hover::before, .home-resource-link:focus-visible::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .home-resource-link::before { transition: opacity .3s ease; }
}
.home-resource-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: rgb(237 241 249 / .08); }
.home-resource-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-resource-panel {
  display: flex; align-items: flex-end; height: 100%; padding: 1.25rem;
  font-family: var(--font-head); font-size: 1.4rem; line-height: 1.2; color: #EDF1F9;
  /* Semibold makes it large text, which needs 3:1; regular at 22px needed 4.5:1 and had about 4.2. */
  font-weight: 600;
}
.home-chip {
  position: absolute; left: .75rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .65rem; border-radius: 999px;
  background: #F4F6FA; color: #181D2F;
  font-family: var(--font-head); font-size: .75rem; line-height: 1.3;
}
.home-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ED4021; }
.home-resource-thumb:has(.home-resource-panel) .home-chip { top: .75rem; bottom: auto; }
.home-resource-body { display: flex; flex-direction: column; gap: .4rem; padding-top: 1rem; }
.home-resource-date { font-size: .8125rem; color: #D3DAE4; }
.home-resource h3 { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.35; color: #EDF1F9; }
.home-resource-large h3 { font-size: clamp(1.25rem, 1rem + .6vw, 1.5rem); }
.home-resource p { margin: 0; font-size: .95rem; line-height: 1.6; color: #D3DAE4; }
.home-resource-large .home-resource-thumb { aspect-ratio: 16 / 8; }
@media (min-width: 640px) {
  .home-resource-wide .home-resource-link { flex-direction: row; gap: 1.25rem; }
  .home-resource-wide .home-resource-thumb { flex: 0 0 42%; }
  .home-resource-wide .home-resource-body { padding-top: .25rem; }
}

.home-news {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 2rem + 2vw, 4rem);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: 20px;
  background: #45596F;
}
.home-news h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); color: #EDF1F9; }
.home-news p { margin: .6rem 0 0; color: #D3DAE4; font-size: .95rem; }

/* The footer follows the navy band without a seam. */
.home-main + footer.site { margin-top: 0; }

/* ---------------------------------------------------------------- cards rise in
 * home.js adds the class to a card below the fold, and only where the visitor has
 * not asked for less motion. Without the script no card is ever hidden. */
/* The same rule for cards: they move into place but are never invisible, so a
 * full-page screenshot or a printed page shows them. */
.home-waiting { transform: translateY(20px); }
@media (prefers-reduced-motion: no-preference) {
  .home-intro, .home-family, .home-sectors li, .home-gallery, .home-resource, .home-news {
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  }
}

@media (max-width: 640px) {
  .home-hero-inner { padding-top: 6rem; }
  /* "$358 trillion" stays on one line in a half-width card at 375px. */
  .home-figures li { padding: 1.25rem .75rem; }
  .home-figures b { font-size: 1.45rem; }
}
@media (max-width: 400px) {
  .home-figures b { font-size: 1.2rem; }
  .home-lead { flex-direction: column; align-items: flex-start; }
  .home-quotes { padding: 2rem 1.5rem 1.5rem; }
  .home-light, .home-dark { border-radius: 32px 32px 0 0; }
}

/* "Our products" in the hero scrolls to the family cards on this page. */
@media (prefers-reduced-motion: no-preference) {
  html:has(.home-main) { scroll-behavior: smooth; }
}

/* Grid, type and spacing from Saiesha's design review, 23 November 2026, as in
 * site.css: H1 48 to 56px, H2 32 to 36px, sections 80px apart. */
.home h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 500; }
.home h2 { font-size: clamp(1.75rem, 1.4rem + .9vw, 2.25rem); }
.home-section { margin-top: var(--section-gap); }
.home-light { padding-top: var(--section-gap); }
.home-dark { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.home-intro p { max-width: var(--text); }

/* Both tickers, client logos and awards, move on their own and stop while the
 * pointer is over them or a link inside has focus. The pause buttons are gone
 * (design review, 23 November 2026). */
.marquee.clients:hover .marquee-track,
.marquee.clients:focus-within .marquee-track { animation-play-state: paused; }
.home-recognition .marquee.awards { margin-top: 3.5rem; }

/* A resource without a picture: its text in a glassy #45596F box with rounded
   corners, the label at the top (design review, 24 November 2026). */
.home-resource-text .home-resource-link {
  justify-content: flex-start; gap: 14px; padding: 24px 26px; border-radius: 20px;
  background: rgb(69 89 111 / .72); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgb(237 241 249 / .1); transition: background .3s ease;
}
.home-resource-text .home-resource-link::before { display: none; }
.home-resource-text .home-resource-link:hover { background: rgb(69 89 111 / .9); }
.home-resource-text .home-chip { position: static; align-self: flex-start; }
.home-resource-text .home-resource-body { padding-top: 0; }
@media (min-width: 640px) {
  .home-resource-wide.home-resource-text .home-resource-link { flex-direction: column; }
}
/* The lead resource, the one with a picture, sits in the same box as the
   others: the picture inset at the top, the text lined up with the other
   boxes' text (Saiesha, 30 November 2026). */
.home-resource-large:not(.home-resource-text) .home-resource-link {
  padding: 16px 16px 26px; border-radius: 20px;
  background: rgb(69 89 111 / .72); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgb(237 241 249 / .1); transition: background .3s ease;
}
.home-resource-large:not(.home-resource-text) .home-resource-link:hover { background: rgb(69 89 111 / .9); }
.home-resource-large:not(.home-resource-text) .home-resource-body { padding-left: 10px; padding-right: 10px; }

/* The figures shrink with their boxes so none runs past its box's edge
   (design review, 24 November 2026). */
.home-figures li { container-type: inline-size; min-width: 0; }
.home-figures b { font-size: min(clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem), 12.5cqi); }
@media (max-width: 640px) { .home-figures b { font-size: min(1.45rem, 12.5cqi); } }

/* The broadcast in Commentary, broadcasts and papers: no thumbnail, drawn as
   the broadcasts page draws an episode (design review, 24 November 2026). */
.home-episode .home-chip::before { background: var(--series) !important; }
.home-episode h3 { display: flex; align-items: center; gap: .9rem; }
.home-episode .num { font: 400 2.6rem/1 var(--font-head); color: var(--series); padding-right: .9rem; border-right: 1px solid var(--series); flex: none; }
.home-episode .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.home-episode-who { display: block; margin-top: .6rem; font-size: .9375rem; color: rgb(237 241 249 / .75); }
.home-episode .home-resource-date { margin-top: .5rem; }

/* Pause controls for the moving strips (accessibility review, 24 November 2026). */
.home-pause { display: block; margin: .75rem auto 0; min-height: 36px; padding: .35rem 1rem; font: 400 .8125rem var(--font-head); border-radius: 999px; background: rgb(24 29 47 / .06); border: 1px solid rgb(24 29 47 / .12); color: var(--ink); }
.home-pause[hidden] { display: none; }
.home-dark .home-pause { background: rgb(237 241 249 / .08); border-color: rgb(237 241 249 / .2); color: #EDF1F9; }
[data-quote-pause] svg path { fill: none; stroke: currentColor; stroke-width: 2; }
[data-quote-pause][aria-pressed="true"] svg path { fill: currentColor; stroke: none; }

/* The logo and award strips' pause control as a small round icon at the strip's
   right end, as the quotations' is, in place of a text pill (25 November 2026). */
.home-pause.marquee-control { display: grid; place-items: center; width: 36px; height: 36px; min-height: 0; padding: 0; margin: .5rem 0 0 auto;
  border-radius: 50%; background: transparent; border: 1px solid rgb(24 29 47 / .18); color: var(--ink); opacity: .65; transition: opacity .2s, border-color .2s; }
.home-pause.marquee-control:hover, .home-pause.marquee-control:focus-visible { opacity: 1; border-color: rgb(24 29 47 / .45); }
.home-pause.marquee-control:focus-visible { outline: 2px solid #C23924; outline-offset: 2px; }
.home-pause.marquee-control svg { width: 14px; height: 14px; }
.home-pause.marquee-control svg path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.home-pause.marquee-control[aria-pressed="true"] svg path { fill: currentColor; stroke-width: 1.5; }
.home-dark .home-pause.marquee-control { border-color: rgb(237 241 249 / .3); color: #EDF1F9; }
.home-dark .home-pause.marquee-control:hover { border-color: rgb(237 241 249 / .6); }
.home-pause.marquee-control[hidden] { display: none; }

/* The quotations cross-fade when a dot or arrow is pressed (Saiesha, 26 November
   2026). The page's scroll fade (content-fade-out in site.css) set its own
   opacity on each quotation, which overrode the fade between them, so a press
   switched instantly. The quotation box itself takes no scroll fade; the slides
   fade into each other over 0.6 seconds, and quickly for a visitor who asks for
   less motion. */
main .home-quotes .home-quote { animation: none !important; }
.home-quotes.is-enhanced .home-quote { transition: opacity .6s ease, visibility 0s linear .6s; }
.home-quotes.is-enhanced .home-quote.is-active { transition: opacity .6s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) {
  .home-quotes.is-enhanced .home-quote { transition: opacity .2s linear, visibility 0s linear .2s; }
  .home-quotes.is-enhanced .home-quote.is-active { transition: opacity .2s linear, visibility 0s; }
}

/* Home page, Saiesha's review of 26 November 2026. */
/* The positioning heading on its own, centred. */
.home .home-intro, .home .home-intro h2 { text-align: center !important; }
.home .home-intro h2 { max-width: 60rem; margin-left: auto !important; margin-right: auto !important; }
/* Larger award logos. */
.home-recognition .marquee.awards .marquee-track { gap: 3.5rem; }
.home-recognition .marquee.awards img { height: 128px; max-height: none; width: auto; }
/* The FNA Insider sign-up without a box. */
.home-news { background: none; border-radius: 0; padding-left: 0; padding-right: 0; }

/* ---------------------------------------------------------------- hero to light fade
 * One smooth fade from the dark hero to the light section, in place of the
 * rounded edge (Saiesha's brief, fna-home-hero-fade.md, 26 November 2026).
 * The hero stays pinned while the light section scrolls up over it; the top of
 * the light section is transparent, so the hero shows through, then a slate arc
 * blends into ice and settles on #F4F6FA. No background-color on .home-light:
 * it would fill the transparent top and hide the hero. */
/* The box grows with its content (Kimmo's review, 27 November 2026): with a
   fixed height the heading and the figures were cut off on phones, 944px of
   content in a 760px box at 375x667. Where the hero is taller than the window,
   home.js pins it only once its foot is in view. */
.home-hero { position: sticky; top: 0; height: auto; min-height: 100svh; z-index: 0; }
@media (min-width: 1000px) { .home-hero { min-height: max(100vh, 760px); } }
.home-light {
  --fh: clamp(1100px, 105vw, 1500px);  /* fade height: scales with the width */
  z-index: 2;
  margin-top: -6vh;                    /* the fade overlaps the foot of the hero */
  /* First heading on the light part, never the arc: the image turns light at a
     third of its height, so the space is at least that, whatever the window. */
  padding-top: max(min(48vh, 440px), calc(var(--fh) * .33)) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, transparent 0, transparent calc(var(--fh) - 360px), #F4F6FA var(--fh))
      top center / 100% var(--fh) no-repeat,
    url("/assets/generated/fade.93ff8d011981-640w.webp") top center / 100% var(--fh) no-repeat,
    linear-gradient(180deg, transparent 0, transparent calc(var(--fh) - 2px), #F4F6FA calc(var(--fh) - 2px));
}
@media (max-width: 900px) {
  .home-light { margin-top: 0; }       /* no overlap on phones: every figure stays visible */
}

/* Client logos on the home page: the client's name appears under a logo when
 * the pointer is over it (Saiesha, 26 November 2026). The strip pauses on
 * hover already, so the name holds still to be read. Room is left under the
 * logos so the name is not cut off by the strip's edge. */
.marquee.clients { padding-bottom: 2.25rem; }
.marquee.clients li[data-name] { position: relative; }
.marquee.clients li[data-name]::after {
  content: attr(data-name);
  position: absolute; left: 50%; top: calc(100% + .5rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font: 500 .8125rem/1.2 var(--font-head);
  color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.marquee.clients li[data-name]:hover::after { opacity: 1; }
/* On a touch screen there is no hover, so the names show all the time
   (Kimmo's review, 27 November 2026). Screen readers read each logo's alt text. */
@media (hover: none) { .marquee.clients li[data-name]::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .marquee.clients li[data-name]::after { transition: none; }
}
