.fit-atlas {
  --fit-ink: #211e31;
  --fit-muted: #7a7689;
  --fit-purple: #7154bd;
  --fit-gutter: 100px;
  box-sizing: border-box;
  width: min(1240px, calc(100% - clamp(40px, 10vw, 152px)));
  margin: 0 auto;
  color: var(--fit-ink);
  scroll-margin-top: 98px;
}
.fit-atlas *, .fit-atlas *::after, .fit-atlas *::before { box-sizing: border-box; }
.fit-controls { margin-bottom: 48px; }
.fit-search {
  display: flex; align-items: center; gap: 18px; width: 100%; min-height: 68px;
  padding: 0 24px; border: 1px solid #e4e0e6; border-radius: 20px;
  background: #fff; color: #a4a0ad;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.fit-search:focus-within { border-color: #a894ce; box-shadow: 0 0 0 3px #7154bd0a; }
.fit-search svg { flex: none; }
.fit-search input {
  min-width: 0; width: 100%; border: 0; outline: 0; padding: 18px 0;
  background: transparent; color: var(--fit-ink); font: 400 18px/1.4 var(--sans, sans-serif);
}
.fit-search input::placeholder { color: #8b8698; opacity: 1; }
.fit-filters {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px;
}
.fit-filters button {
  flex: none; padding: 10px 20px; border: 1px solid #e5e0e8; border-radius: 100px;
  background: transparent; color: #625c70; font: 400 15px/1.4 var(--sans, sans-serif);
  cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.fit-filters button:hover { color: var(--fit-ink); border-color: #c6bdd6; background: #fff; }
.fit-filters button[aria-pressed="true"] { color: #fff; background: #272033; border-color: #272033; }
.fit-filters button:focus-visible, .fit-point:focus-visible, .fit-dialog :focus-visible, .fit-chart-scroll:focus-visible { outline: 2px solid var(--fit-purple); outline-offset: 4px; }
.fit-figure { display: grid; grid-template-columns: var(--fit-gutter) minmax(0,1fr); align-items: stretch; }
.fit-range-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; padding: 19px 21px 19px 0; }
.fit-range-side span, .fit-range-base span { font-size: 13px; font-weight: 400; color: var(--fit-muted); line-height: 1.45; letter-spacing: 0; }
.fit-range-side strong {
  position: absolute; top: 50%; left: 17px; transform: translate(-50%,-50%) rotate(-90deg);
  white-space: nowrap; font-size: 15px; font-weight: 450; color: #5f586e; letter-spacing: 0;
}
.fit-plane {
  position: relative; isolation: isolate; height: clamp(460px, 37vw, 520px);
  border: 1px solid #d9cdec; border-radius: 24px; background: #fff;
  box-shadow: 0 4px 22px #30213b02;
}
.fit-cross { position: absolute; pointer-events: none; z-index: -1; }
.fit-cross-y { left: 50%; top: 0; bottom: 0; border-left: 1px dashed #e2d9ee; }
.fit-cross-x { top: 50%; left: 0; right: 0; border-top: 1px dashed #e2d9ee; }
.fit-point {
  position: absolute; left: var(--fit-x); bottom: var(--fit-y); transform: translate(-50%,50%);
  display: inline-flex; width: max-content; max-width: 130px; min-height: 44px; min-width: 44px; padding: 2px 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 7px; border-radius: 8px;
  font-family: var(--sans, sans-serif); color: #514b5d; font-weight: 400; text-decoration: none;
}
.fit-point[hidden], .fit-dialog article[hidden] { display: none; }
.fit-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid #ded5e9; box-shadow: 0 2px 4px #2116290a;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fit-mark img, .fit-entry-brand img { display: block; width: 26px; height: 26px; object-fit: contain; border-radius: 4px; }
.fit-label { white-space: nowrap; font: 400 13px/1.2 var(--sans, sans-serif); letter-spacing: 0; }
.fit-point-featured .fit-mark {
  width: 64px; height: 64px; border: 1.5px solid #9773d0; background: #f7f3ff;
  box-shadow: 0 0 0 7px #eee7f7;
}
.fit-point-featured .fit-mark img { width: 37px; height: 37px; }
.fit-point-featured .fit-label { margin-top: 3px; font-size: 15px; font-weight: 550; color: #62438e; }
.fit-point:hover, .fit-point:focus-visible { color: var(--fit-purple); z-index: 2; }
.fit-point:hover .fit-mark, .fit-point:focus-visible .fit-mark { transform: translateY(-2px); border-color: #a28ac3; box-shadow: 0 4px 12px #4d366d19; }
.fit-range-base { grid-column: 2; display: grid; align-items: baseline; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 19px; }
.fit-range-base strong { font-size: 15px; font-weight: 450; color: #5f586e; letter-spacing: 0; }
.fit-range-base span:last-child { text-align: right; }
.fit-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); margin: 0; padding: 20px; color: var(--fit-muted); background: #fff; text-align: center; font-size: 16px; }
.fit-empty button { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--fit-purple); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fit-announcer { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
.fit-dialog {
  position: fixed; inset: 0; margin: auto; padding: clamp(28px, 4vw, 50px);
  width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto;
  border: 0; border-radius: 18px; color: var(--fit-ink); background: #fffdf9; box-shadow: 0 20px 100px #211b3238;
}
.fit-dialog[open] { display: block; animation: fit-appear .2s ease-out; }
.fit-dialog::backdrop { background: rgb(29 24 39 / 35%); }
.fit-close { display: grid; place-content: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #514d55; background: transparent; cursor: pointer; font: 300 27px/1 var(--sans); }
.fit-close:hover { background: #f0ede8; }
.fit-entry-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 550; }
.fit-dialog h2 { font-family: var(--serif); font-weight: 400; margin: 26px 0 12px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -.045em; }
.fit-dialog article > p { margin: 0; font-size: 17px; line-height: 1.58; color: #57545b; }
.fit-entry-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.fit-entry-actions a { font-size: 15px; }
.fit-next { color: white; background: var(--fit-ink); border-radius: 7px; padding: 11px 15px; text-decoration: none; }
.fit-source { color: var(--fit-purple); text-decoration: underline; text-underline-offset: .2em; }
@keyframes fit-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .fit-atlas { --fit-gutter: 80px; }
  .fit-range-side { padding-right: 14px; }
  .fit-range-side strong { left: 12px; font-size: 14px; }
  .fit-label { font-size: 12px; }
  .fit-mark { width: 38px; height: 38px; }
  .fit-mark img { width: 23px; height: 23px; }
  .fit-point-featured .fit-mark { width: 56px; height: 56px; }
  .fit-point-featured .fit-mark img { width: 33px; height: 33px; }
}
@media (max-width: 740px) {
  .fit-atlas { width: calc(100% - 36px); --fit-gutter: 78px; }
  .fit-controls { margin-bottom: 30px; }
  .fit-search { min-height: 58px; border-radius: 16px; padding-inline: 17px; gap: 12px; }
  .fit-search input { font-size: 16px; padding-block: 15px; }
  .fit-filters { gap: 8px; margin-top: 15px; flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 9px; scrollbar-width: thin; scrollbar-color: #d2c8df transparent; }
  .fit-filters button { padding: 8px 15px; font-size: 14px; }
  .fit-chart-scroll { overflow-x: auto; padding: 5px 3px 12px; scrollbar-width: thin; scrollbar-color: #d2c8df transparent; }
  .fit-figure { min-width: 650px; }
  .fit-plane { height: 480px; border-radius: 20px; }
  .fit-range-side span, .fit-range-base span { font-size: 12px; }
  .fit-range-base { gap: 8px; }
  .fit-range-base strong { font-size: 13px; }
  .fit-range-side strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .fit-atlas *, .fit-atlas *::before, .fit-atlas *::after { animation: none !important; transition: none !important; } }
.fit-directory {
  width: min(1240px, calc(100% - clamp(40px, 10vw, 152px)));
  margin: clamp(46px, 5vw, 68px) auto clamp(60px, 7vw, 104px);
}
.fit-directory h2 {
  margin: 0 0 clamp(26px, 3vw, 45px);
  max-width: 21ch;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(38px, 4.1vw, 54px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}
.fit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.fit-cards > li { min-width: 0; }
.fit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(350px, 25vw, 376px);
  height: 100%;
  padding: clamp(26px, 2.4vw, 36px);
  background: #fff;
  border: 1px solid #e7e2ee;
  border-radius: 26px;
  text-decoration: none;
  color: #252521;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fit-card-brand {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f6f4f9;
}
.fit-card-brand img {
  display: block;
  flex: none;
  width: 33px;
  height: 33px;
  object-fit: contain;
  border-radius: 6px;
}
.fit-card h3 {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.4vw, 33px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.fit-card p {
  margin: 12px 0 25px;
  font-size: 18px;
  line-height: 1.46;
  color: #53544e;
  text-wrap: pretty;
}
.fit-card-category {
  margin-top: auto;
  padding: 5px 11px;
  border-radius: 100px;
  color: #56554f;
  background: #f3f2ee;
  font-size: 14px;
  line-height: 1.18;
}
@media (hover: hover) {
  .fit-card:hover {
    border-color: #c3b9d7;
    box-shadow: 0 6px 21px rgb(51 39 68 / 7%);
    transform: translateY(-2px);
  }
}
.fit-card:focus-visible { outline: 3px solid #7657aa; outline-offset: 3px; }
@media (max-width: 960px) {
  .fit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fit-directory { width: calc(100% - 36px); }
  .fit-cards { grid-template-columns: 1fr; gap: 14px; }
  .fit-card { min-height: 290px; padding: 25px; border-radius: 24px; }
  .fit-card-brand { width: 49px; height: 49px; }
  .fit-card-brand img { width: 29px; height: 29px; }
  .fit-card h3 { margin-top: 19px; }
  .fit-card p { margin: 10px 0 20px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .fit-card { transition: none; }
  .fit-card:hover { transform: none; }
}
