/* Record First. OnePrime Capital homepage direction.
   White ground, one committed blue, Libre Franklin (the Franklin Gothic line
   of American financial print). The picture is the record itself. */

:root {
  --blue: #1308e1;
  --blue-deep: #0d05b3;
  --ink: #0c0c14;
  --text: #2a2c3a;
  --muted: #565a6b;
  --cell: #e6e9f4;
  --edge: #b3b8d3;
  --line: #d5d8e6;
  --pool: #e3e7ff;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pad: clamp(20px, 4.4vw, 64px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-color: var(--edge) transparent;
}

body {
  margin: 0;
  font-family: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--blue); color: #fff; }
.record ::selection { background: #fff; color: var(--blue); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.record :focus-visible { outline-color: #fff; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--pad); top: -80px; z-index: 20;
  padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { flex: none; }

/* ---------- Navigation ---------- */

.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); padding: 0 var(--pad);
}
.brand { display: block; line-height: 0; }
.brand img { height: 30px; width: auto; filter: brightness(0); }

.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.brand) {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: color 150ms var(--ease-out);
}
.nav a[aria-current="page"] { font-weight: 680; }
.nav a.portal {
  min-height: 40px; padding: 0 14px; border-radius: 6px; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.brand):not(.portal):hover { color: var(--blue); }
  .nav a.portal:hover { background: var(--ink); color: #fff; }
}

.menu-btn {
  display: none; align-items: center; height: 44px; padding: 0 14px;
  border: 0; border-radius: 6px; background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
}

@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav nav {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding: 4px var(--pad) 20px; background: #fff;
    box-shadow: 0 18px 30px -18px rgba(12, 12, 20, 0.35);
    display: none;
  }
  .nav.is-open nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a:not(.brand) { width: 100%; min-height: 52px; font-size: 17px; }
  .nav a.portal { box-shadow: none; padding: 0; justify-content: space-between; }
}

/* ---------- Buttons shared by both scenes ---------- */

.filters, .sorts { display: inline-flex; flex-wrap: wrap; gap: 8px; }

.f, .s {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 13px; border: 0; border-radius: 6px;
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), transform 140ms var(--ease-out);
}
.f:active, .s:active { transform: scale(0.97); }
.f[aria-pressed="true"], .s[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.f-n { font-variant-numeric: tabular-nums; opacity: 0.62; }
@media (hover: hover) and (pointer: fine) {
  .f[aria-pressed="false"]:hover, .s[aria-pressed="false"]:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
}
@media (pointer: coarse) { .f, .s { height: 44px; } }

.sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.sw-all { background: linear-gradient(90deg, #c3c8e0 50%, #fff 50%); box-shadow: inset 0 0 0 1.5px #9399bb; }
.sw-listing { background: #c3c8e0; }
.sw-ma { background: #fff; box-shadow: inset 0 0 0 1.5px #9399bb; }

/* ---------- Scene 1. The record by year ---------- */

.hero {
  display: flex;
  min-height: calc(100dvh - var(--nav-h));
  padding: 4px var(--pad) 36px;
  background:
    radial-gradient(62% 58% at 40% 100%, var(--pool) 0%, rgba(227, 231, 255, 0) 72%),
    #fff;
}

.stage { flex: 1; min-width: 0; padding-bottom: 8px; }

.lead {
  margin: 14px 0 20px;
  /* Sized so the last two words, tied together, always fit on one line. */
  font-size: clamp(27px, calc((100vw - 2 * var(--pad)) / 10.7), 54px);
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 690;
  text-wrap: balance;
}

.legend { margin-top: 24px; }
.about p { margin: 0 0 18px; max-width: 54ch; font-size: 16px; line-height: 1.52; color: var(--text); text-wrap: pretty; }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px; border-radius: 6px;
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 620; text-decoration: none;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out);
}
.cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .cta:hover { background: var(--blue-deep); } }

/* Year rows on phones and tablets. The same record, read top to bottom. */
.yr {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: start; gap: 12px;
  padding: 12px 0; border-top: 1.5px solid var(--ink);
}
.yr:first-of-type { margin-top: 22px; }
.yr.is-empty { border-top-color: var(--edge); min-height: 46px; }
.yr-label {
  margin: 0; font-size: 22px; line-height: 1.1; font-weight: 760; letter-spacing: -0.03em;
  color: var(--blue); font-variant-numeric: tabular-nums;
}
.yr.is-empty .yr-label { color: #a9aed3; }
.yr-count { display: none; }

.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.stack li { width: calc((100% - 16px) / 3); }
@media (min-width: 640px) { .stack li { width: calc((100% - 40px) / 6); } }

.tile {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; padding: 0; border: 0; border-radius: 5px; overflow: hidden;
  background: var(--cell); cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), transform 150ms var(--ease-out), opacity 180ms var(--ease-out);
}
/* The intro waits for the first painted frame, so a page loaded in a hidden
   tab never sits with an empty chart. After 3.2 seconds it shows regardless. */
html.js:not(.go):not(.done) .tile { opacity: 0; }
html.js.go:not(.done) .tile {
  animation: land 420ms var(--ease-out) backwards;
  animation-delay: calc(var(--i) * 28ms + 120ms);
}
.tile[data-kind="ma"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--edge); }
.tile img {
  width: 72%; height: 46%; object-fit: contain; pointer-events: none;
  transform: scale(var(--s, 1));
  filter: brightness(0); opacity: 0.86;
  transition: opacity 150ms var(--ease-out);
}
.tile:active { transform: scale(0.97); }
.tile[aria-pressed="true"] { background: var(--blue); box-shadow: none; }
.tile[aria-pressed="true"] img { filter: brightness(0) invert(1); opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .tile[aria-pressed="false"]:hover {
    background: #fff; transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(19, 8, 225, 0.5), 0 1px 3px rgba(12, 12, 20, 0.14);
  }
  .tile[aria-pressed="false"]:hover img { filter: none; opacity: 1; }
}

body[data-filter="listing"] .tile[data-kind="ma"],
body[data-filter="ma"] .tile[data-kind="listing"] { opacity: 0.16; }

@keyframes land {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}

/* The selected company. A bar that rides the bottom of the screen on phones. */
.detail {
  position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5;
  margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 36px -14px rgba(12, 12, 20, 0.42), 0 1px 3px rgba(12, 12, 20, 0.14);
}
.detail-in {
  transition: opacity 160ms var(--ease-out), filter 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.detail-in.is-swapping { opacity: 0; filter: blur(5px); transform: translateY(4px); }
.detail-name { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 690; letter-spacing: -0.015em; }
.detail dl { display: flex; flex-wrap: wrap; margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.detail dl div { display: inline-flex; }
.detail dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.detail dd { margin: 0; font-variant-numeric: tabular-nums; }
.detail dl div + div dd::before { content: "\00a0\00b7\00a0"; }

/* The poster layout. Years stand as columns and the text sits in the open sky. */
@media (min-width: 1100px) {
  .hero { min-height: calc(max(100dvh, 740px) - var(--nav-h)); }
  .stage {
    display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr);
    column-gap: clamp(8px, 0.9vw, 14px); padding-bottom: 0;
    /* The headline runs the full width on one line, so its size follows the page width. */
    --lead: min(calc((100vw - 2 * var(--pad)) / 24.8), 62px);
    --tile: clamp(36px, calc((max(100dvh, 740px) - var(--nav-h) - 40px - 116px - var(--lead) * 1.1 - 26px) / 9 - 8px), 80px);
  }
  .lead {
    grid-column: 1 / -1; grid-row: 1;
    margin: 6px 0 20px; white-space: nowrap;
    font-size: var(--lead);
  }
  .side { grid-column: 5 / span 3; grid-row: 2; align-self: start; z-index: 1; margin-top: 14px; }
  /* The legend stands in the two years with no exits, the way a chart legend
     takes the empty part of the plot. */
  .legend {
    grid-column: 5 / span 2; grid-row: 2; align-self: end; z-index: 1;
    margin: 0 0 calc(clamp(22px, 2.3vw, 34px) + 44px);
  }
  .legend .filters { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .legend .f { min-width: 188px; justify-content: flex-start; }
  .legend .f-n { margin-left: auto; padding-left: 12px; }
  .about p { font-size: clamp(14.5px, min(1.16vw, 2vh), 17px); max-width: 46ch; }

  .yr {
    grid-column: var(--col); grid-row: 2; align-self: end;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; min-height: 0;
  }
  .yr:first-of-type { margin-top: 0; }
  .yr-count {
    display: block; order: 1; height: 18px; margin: 0 0 8px;
    font-size: 14px; line-height: 18px; font-weight: 680; font-variant-numeric: tabular-nums; color: var(--ink);
  }
  .stack { order: 2; flex-direction: column-reverse; flex-wrap: nowrap; }
  .stack li { width: 100%; }
  .tile { height: var(--tile); }
  .yr-label {
    order: 3; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--ink);
    font-size: clamp(22px, 2.3vw, 34px); line-height: 1;
  }
  .yr.is-empty .yr-label { border-top-color: var(--edge); }

  .detail {
    grid-column: 8 / span 2; grid-row: 2; align-self: start; z-index: 1;
    position: static; margin: 14px 0 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
  }
  .detail-name { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; letter-spacing: -0.026em; margin-bottom: 12px; }
  .detail dl { display: grid; gap: 5px; margin: 0; font-size: 15px; color: var(--ink); }
  .detail dl div { display: grid; grid-template-columns: 78px minmax(0, 1fr); }
  .detail dt { position: static; width: auto; height: auto; clip-path: none; color: var(--muted); }
  .detail dd { font-weight: 620; }
  .detail dl div + div dd::before { content: none; }
}

/* ---------- Scene 2. The full record, as text ---------- */

.record {
  padding: clamp(64px, 9vw, 132px) var(--pad) clamp(48px, 6vw, 92px);
  background:
    radial-gradient(58% 46% at 88% 0%, #2f25ff 0%, rgba(47, 37, 255, 0) 72%),
    var(--blue);
  color: #fff;
}
.record-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px 40px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.record h2 {
  margin: 0; font-size: clamp(40px, 6.4vw, 94px); line-height: 1.1; letter-spacing: -0.036em; font-weight: 720;
}
.controls { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.record .f, .record .s { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.46); }
.record .f[aria-pressed="true"], .record .s[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: none; }
.record .sw { display: none; }
@media (hover: hover) and (pointer: fine) {
  .record .f[aria-pressed="false"]:hover, .record .s[aria-pressed="false"]:hover { box-shadow: inset 0 0 0 1.5px #fff; }
}

.recs { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 5.4vw, 96px); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) {
  .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(12, auto); grid-auto-flow: column; }
}

.rec {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name exit" "date exit";
  align-items: baseline; column-gap: 16px; row-gap: 2px;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.28);
  transition: opacity 180ms var(--ease-out);
}
.rec-date { grid-area: date; font-size: 14px; color: rgba(255, 255, 255, 0.8); font-variant-numeric: tabular-nums; }
.rec-name { grid-area: name; font-size: clamp(22px, 2.15vw, 31px); line-height: 1.12; font-weight: 650; letter-spacing: -0.022em; }
.rec-exit { grid-area: exit; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-size: 14px; }
.x-type { color: rgba(255, 255, 255, 0.8); }
.x-tk { font-size: 15px; font-weight: 720; letter-spacing: 0.16em; margin-right: -0.16em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.x-by { font-size: 15px; font-weight: 660; }

@media (min-width: 640px) {
  .rec { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "date name exit"; padding: 16px 0; }
  .rec-exit { flex-direction: row; align-items: baseline; gap: 10px; }
}

body[data-filter="listing"] .rec[data-kind="ma"],
body[data-filter="ma"] .rec[data-kind="listing"] { opacity: 0.3; }

.note { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 82ch; font-size: 13.5px; line-height: 1.58; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }

/* ---------- Scene 3. Areas of Investment: a list that drives a panel ---------- */

.areas {
  padding: clamp(64px, 9vw, 128px) var(--pad) clamp(56px, 8vw, 112px);
  background: radial-gradient(46% 52% at 100% 0%, #eceeff 0%, rgba(236, 238, 255, 0) 72%), #fff;
}
.areas h2, .who h2 {
  margin: 0; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.1; letter-spacing: -0.034em; font-weight: 720;
  text-wrap: balance;
}
.areas-head { display: grid; gap: 20px 48px; margin-bottom: clamp(28px, 4vw, 56px); }
.areas-intro p { margin: 0 0 20px; max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--text); text-wrap: pretty; }

.sectors { list-style: none; margin: 0; padding: 0; }
.sector { border-top: 1px solid var(--line); }
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 64px; padding: 12px 0; border: 0; background: none; color: #6f7389;
  font-family: inherit; font-size: clamp(21px, 2.2vw, 30px); font-weight: 640; letter-spacing: -0.022em; line-height: 1.15;
  text-align: left; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: color 150ms var(--ease-out);
}
.sector-btn .ico {
  color: var(--blue); opacity: 0; transform: translateX(-6px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.sector.is-on .sector-btn { color: var(--ink); }
.sector.is-on .sector-btn .ico { opacity: 1; transform: none; }
.sector-desc { margin: 0 0 18px; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--text); text-wrap: pretty; }
/* With the script running, a phone shows one description at a time under its row. */
html.js .sector:not(.is-on) .sector-desc { display: none; }
.sector-panel { display: none; }

@media (min-width: 900px) {
  .areas-head { grid-template-columns: max-content minmax(0, 1fr); align-items: end; }
  .areas h2 { white-space: nowrap; }
  .areas-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: stretch; }
  html.js .sector .sector-desc { display: none; }
  html.js .sector-panel {
    display: flex; align-items: flex-end; padding: clamp(28px, 3.4vw, 48px); border-radius: 12px;
    background: radial-gradient(90% 90% at 100% 0%, #cfd6ff 0%, rgba(207, 214, 255, 0) 70%), var(--cell);
  }
  .sector-panel-in {
    margin: 0; max-width: 17em;
    font-size: clamp(26px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 650; color: var(--ink);
    text-wrap: balance;
    transition: opacity 160ms var(--ease-out), filter 160ms var(--ease-out), transform 160ms var(--ease-out);
  }
  .sector-panel-in.is-swapping { opacity: 0; filter: blur(5px); transform: translateY(4px); }
}

/* ---------- Scene 4. Who we are and Unique Approach: a fixed panel, statements scroll past ---------- */

.who { padding: clamp(56px, 8vw, 120px) var(--pad) clamp(64px, 9vw, 128px); }
.who-panel { display: none; }
.who h2 { margin-bottom: clamp(20px, 3vw, 40px); }
.who-group + .who-group { margin-top: clamp(56px, 8vw, 112px); }

.st { padding: clamp(20px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); }
.st h3 {
  margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 680; letter-spacing: -0.022em;
  text-wrap: balance; transition: color 200ms var(--ease-out);
}
.st p { margin: 0; max-width: 58ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--text); text-wrap: pretty; transition: color 200ms var(--ease-out); }
.st h3 + .st-foot, .st p + .st-foot { margin-top: 10px; }
.st .st-foot { font-size: 14.5px; color: var(--muted); }
.st-n { margin-right: 12px; color: var(--blue); font-weight: 640; font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .who {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start;
  }
  html.js .who-panel {
    display: flex; align-items: flex-end;
    position: sticky; top: 12vh; height: 76vh; min-height: 400px; max-height: 720px;
    padding: clamp(24px, 3vw, 40px); border-radius: 12px;
    background: radial-gradient(80% 70% at 0% 100%, #cfd6ff 0%, rgba(207, 214, 255, 0) 72%), var(--cell);
  }
  .who-panel-in { transition: opacity 160ms var(--ease-out), filter 160ms var(--ease-out), transform 160ms var(--ease-out); }
  .who-panel-in.is-swapping { opacity: 0; filter: blur(5px); transform: translateY(4px); }
  .who-big {
    margin: 0; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; color: var(--ink);
    text-wrap: balance;
  }
  .who-panel.is-fact .who-big {
    font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.04em; font-weight: 760; color: var(--blue); white-space: nowrap;
  }
  .who-foot { margin: 12px 0 0; max-width: 44ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
  .who-foot:empty { display: none; }

  /* The statement crossing the middle of the screen is dark. The rest wait in gray. */
  html.js .st { min-height: 34vh; }
  html.js .st:not(.is-on) h3, html.js .st:not(.is-on) p, html.js .st:not(.is-on) .st-n { color: #6f7389; }
}

/* ---------- Closing ---------- */

.close {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
  padding: clamp(64px, 9vw, 128px) var(--pad);
  background: radial-gradient(60% 90% at 100% 100%, rgba(19, 8, 225, 0.6) 0%, rgba(19, 8, 225, 0) 72%), var(--ink);
  color: #fff;
}
.close h2 { margin: 0; font-size: clamp(44px, 7vw, 96px); line-height: 1.1; letter-spacing: -0.036em; font-weight: 720; }
.close-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.close-mail {
  font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; color: #fff; overflow-wrap: anywhere;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.cta-light { background: #fff; color: var(--ink); }
.close :focus-visible { outline-color: #fff; }
.close ::selection { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .sector:not(.is-on) .sector-btn:hover { color: var(--ink); }
  .cta-light:hover { background: var(--pool); }
}

/* ---------- Footer ---------- */

.foot {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px 48px;
  padding: 40px var(--pad) calc(40px + env(safe-area-inset-bottom));
}
.foot-logo { height: 28px; width: auto; filter: brightness(0); }
.foot-legal p { margin: 0 0 6px; max-width: 72ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- Reduced motion keeps the change and drops the movement ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .tile { animation: none !important; opacity: 1; }
  .tile, .f, .s, .cta, .detail-in, .rec { transition-duration: 1ms; }
  .tile, .f, .s, .cta { transform: none !important; }
  .detail-in.is-swapping { filter: none; transform: none; }
  .sector-btn, .sector-btn .ico, .sector-panel-in, .who-panel-in, .st h3, .st p { transition-duration: 1ms; }
  .sector-btn .ico { transform: none; }
  .sector-panel-in.is-swapping, .who-panel-in.is-swapping { filter: none; transform: none; }
}
