:root {
  --thin: #0b1220;
  --frame: #dfe5f0;
  --tone: #ffffff;
  --alt: #ffb300;
  --round: #111111;
  --lead: #d99700;
  --warm: #070b16;
  --ink: #ffffff;
  --grid: color-mix(in srgb, var(--frame) 6%, var(--thin));
  --size: color-mix(in srgb, var(--frame) 3%, var(--thin));
  --main: color-mix(in srgb, var(--frame) 18%, var(--thin));
  --deep: var(--frame);
  --lift: 1160px;
  --core: 78ch;
  --body: 14px;
  --cool: 8px;
  --stroke: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --wide: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --card: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --soft: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --shell: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

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

body {
  margin: 0;
  background: var(--thin);
  color: var(--frame);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--wide);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.window {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--warm);
  color: var(--ink);
}

.rack-wide, .entry-open, .window-wide, .track-first, .lattice-bottom {
  width: min(100% - 2rem, var(--lift));
  margin-inline: auto;
}

.window-wide {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 60px;
  padding-block: 0.5rem;
}

.bundle {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.bundle img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.caption {
  display: flex;
  gap: 0.15rem;
  margin-inline-end: auto;
  min-width: 0;
}

.caption a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--cool);
  text-decoration: none;
  color: inherit;
  opacity: 0.82;
  white-space: nowrap;
  font-size: 0.92rem;
}

.caption a:hover {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  opacity: 1;
}

.caption:empty {
  display: none;
}

.caption:empty + .window-dark {
  margin-inline-start: auto;
}

.window-dark {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.article {
  display: none;
  position: relative;
  flex-shrink: 0;
}

.article-outer {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-radius: var(--cool);
}

.article-outer::-webkit-details-marker {
  display: none;
}

.article-outer span::after, .article-outer span::before, .article-outer span {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.article-outer span {
  position: relative;
}

.article-outer span::before {
  position: absolute;
  top: -6px;
}

.article-outer span::after {
  position: absolute;
  top: 6px;
}

.article-first {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 25;
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--warm);
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: var(--body);
  box-shadow: var(--stroke);
}

.article-first a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--cool);
  text-decoration: none;
  color: var(--ink);
}

.article-first a:hover {
  background: color-mix(in srgb, var(--ink) 12%, transparent);
}

.article-first .plot {
  margin-top: 0.4rem;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 40%, transparent);
}

.window .plot--sub {
  color: inherit;
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.window .plot--sub:hover {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}

.lattice {
  background: color-mix(in srgb, var(--ink) 8%, var(--warm));
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.9rem;
}

.lattice-bottom {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.lattice-bottom::-webkit-scrollbar {
  display: none;
}

.lattice a {
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.8;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.lattice a:hover {
  opacity: 1;
  border-bottom-color: var(--alt);
}

.plot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--brand, transparent);
  border-radius: var(--cool);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  background: var(--alt);
  color: var(--round);
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.plot:hover {
  background: var(--lead);
}

.plot:active {
  transform: translateY(1px);
}

.plot--sub {
  background: transparent;
  color: var(--tone);
  border-color: var(--main);
}

.plot--sub:hover {
  background: var(--grid);
}

.plot--icon {
  padding: 0.9rem 1.8rem;
  font-size: var(--card);
}

:focus-visible {
  outline: 2px solid var(--alt);
  outline-offset: 2px;
}

.entry-bottom, .binder h3, .binder h2, .matrix, .lot h3, .lot h2 {
  color: var(--tone);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.matrix {
  font-size: var(--shell);
  margin: 0 0 1rem;
}

.entry-bottom {
  font-size: var(--soft);
  margin: 0 0 1.25rem;
}

.lot h3, .binder h3 {
  font-size: var(--card);
  margin: 1.75rem 0 0.5rem;
}

.lot p, .binder p {
  margin: 0 0 1rem;
}

.binder > :last-child, .lot > :last-child {
  margin-bottom: 0;
}

.lot a, .binder a {
  color: color-mix(in srgb, var(--alt) 72%, var(--tone));
  text-underline-offset: 3px;
}

.plate {
  display: block;
}

.entry {
  padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  scroll-margin-top: 72px;
}

.plate > .entry:not(.track):nth-of-type(odd) {
  background: var(--grid);
}

.lot {
  max-width: var(--core);
}

.entry--list .lot ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}

.entry--list .lot ul > li {
  position: relative;
  padding-inline-start: 1.9rem;
  padding-block: 0.15rem;
}

.entry--list .lot ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 0.4rem;
  border-inline-start: 2px solid var(--alt);
  border-bottom: 2px solid var(--alt);
  transform: rotate(-45deg);
}

.entry--list .lot ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.entry--list .lot ol > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 2.6rem;
}

.entry--list .lot ol > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--alt);
  color: var(--round);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--main);
  border-inline-start: 3px solid var(--deep);
  border-radius: 0 var(--cool) var(--cool) 0;
  background: var(--grid);
  font-size: 0.95rem;
}

.note p {
  margin: 0 0 0.6rem;
}

.note > :last-child {
  margin-bottom: 0;
}

.note strong {
  color: var(--tone);
}

.note--disclosure {
  color: var(--deep);
  font-size: 0.88rem;
  background: transparent;
  border-inline-start-color: var(--main);
}

.note--warning {
  border-inline-start-color: var(--alt);
  background: color-mix(in srgb, var(--alt) 10%, var(--thin));
}

.note--takeaway {
  font-variant-numeric: tabular-nums;
  border-inline-start-color: var(--tone);
}

.note--rg {
  border: 1px solid color-mix(in srgb, var(--tone) 30%, var(--main));
  border-radius: var(--body);
  background: var(--size);
}

.note--rg a {
  font-weight: 600;
}

.note--independent {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--deep);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--main);
  border-radius: 0;
  padding: 1rem 0 0;
}

.binder blockquote, .lot blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--alt);
  border-radius: 0 var(--cool) var(--cool) 0;
  background: var(--thin);
  color: var(--frame);
  font-size: 0.95rem;
}

.binder blockquote p, .lot blockquote p {
  margin: 0 0 0.6rem;
}

.lot blockquote > :last-child, .binder blockquote > :last-child {
  margin-bottom: 0;
}

.lot blockquote strong, .binder blockquote strong {
  color: var(--tone);
}

.lot hr {
  border: 0;
  border-top: 1px solid var(--main);
  margin: 2rem 0;
}

.lot table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  background: var(--size);
  border: 1px solid var(--main);
  border-radius: var(--body);
  overflow: hidden;
}

.entry--table .lot {
  max-width: none;
  overflow-x: auto;
}

.lot th, .lot td {
  border-bottom: 1px solid var(--main);
  padding: 0.7rem 0.9rem;
  text-align: start;
  vertical-align: top;
}

.lot caption {
  caption-side: top;
  text-align: start;
  padding: 0 0 0.6rem;
  font-weight: 700;
  color: var(--tone);
}

.lot thead th {
  background: color-mix(in srgb, var(--alt) 16%, var(--grid));
  color: var(--frame);
  font-weight: 700;
  white-space: nowrap;
}

.lot tbody tr:last-child td {
  border-bottom: 0;
}

.lot tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--frame) 3%, transparent);
}

.figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 2rem;
  align-items: start;
}

.figure-shut {
  border: 1px solid var(--main);
  border-radius: var(--body);
  box-shadow: var(--stroke);
  width: 100%;
}

.track {
  position: relative;
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
  background: var(--warm);
  isolation: isolate;
}

.track::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--field, none);
  background-size: cover;
  background-position: center;
}

.bridge-top {
  margin-top: 1.25rem;
  text-align: center;
}

.bridge-top a {
  color: var(--alt);
  font-weight: 600;
}

.arc {
  text-align: center;
}

.arc-outer {
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  font-weight: 800;
  color: var(--alt);
  margin-bottom: 0.5rem;
}

.arc-edge {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--deep);
}

.arc-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 700px) {
  .track::before {
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--foot, var(--field, none));
  }

}
.track-first {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
  grid-template-areas: "title offer" "text offer";
  align-content: start;
  gap: 0 2rem;
}

.track .matrix {
  grid-area: title;
  color: #ffffff;
}

.track-bottom {
  grid-area: text;
  color: #f2f4f8;
  max-width: 62ch;
}

.track .binder {
  margin-bottom: 1.5rem;
}

.track-off {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer2 {
  grid-area: offer;
  background: var(--thin);
  border: 1px solid color-mix(in srgb, var(--alt) 40%, var(--main));
  border-radius: var(--body);
  box-shadow: var(--stroke);
  overflow: hidden;
  align-self: start;
}

.footer2 .plot {
  width: 100%;
}

.footer2-meta {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--alt) 12%, var(--thin));
  color: var(--tone);
  border-bottom: 3px solid var(--alt);
}

.footer2-meta img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer2-stub {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  text-align: center;
}

.footer2-line {
  font-weight: 800;
  font-size: var(--card);
  color: inherit;
  text-align: center;
}

.footer2-lead {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--deep);
  margin: 0;
}

.footer2-small {
  font-size: var(--soft);
  font-weight: 800;
  line-height: 1.15;
  color: var(--tone);
  margin: 0;
  text-wrap: balance;
}

.footer2-first {
  font-size: 0.8rem;
  color: var(--deep);
  margin: 0;
}

.teaser {
  padding-block: 1.5rem;
}

.group {
  border: 1px solid var(--main);
  border-radius: var(--body);
  background: var(--size);
  padding: 0.5rem 1.1rem;
}

.group-wide {
  cursor: pointer;
  font-weight: 700;
  color: var(--tone);
  padding-block: 0.6rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.group-wide::-webkit-details-marker {
  display: none;
}

.group-wide::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 2px solid var(--alt);
  border-bottom: 2px solid var(--alt);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.group[open] .group-wide::before {
  transform: rotate(-135deg);
}

.group-soft {
  columns: 2;
  gap: 2rem;
  margin: 0 0 0.75rem;
  padding-inline-start: 1.2rem;
  font-size: 0.95rem;
}

.group-soft li {
  break-inside: avoid;
  margin-bottom: 0.3rem;
}

.group-soft a {
  color: var(--deep);
  text-underline-offset: 3px;
}

.group-soft a:hover {
  color: var(--tone);
}

.cabinet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sheet {
  display: flex;
  flex-direction: column;
  background: var(--size);
  border: 1px solid var(--main);
  border-radius: var(--body);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.sheet:hover {
  border-color: var(--alt);
  transform: translateY(-2px);
}

.sheet-large {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grid);
}

.sheet-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-bold {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem;
  margin-top: auto;
}

.sheet-flat {
  font-weight: 600;
  color: var(--tone);
  line-height: 1.3;
  margin: 0;
}

.sheet .plot {
  width: 100%;
  padding-block: 0.5rem;
  font-size: 0.95rem;
}

.slot-dark {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zone2 {
  background: var(--thin);
  border: 1px solid var(--main);
  border-radius: var(--body);
  padding: 1.1rem 1.2rem;
}

.zone2-open {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.zone2-flat {
  font-weight: 700;
  color: var(--tone);
}

.zone2-info {
  color: var(--alt);
  font-weight: 700;
  white-space: nowrap;
}

.zone2-image {
  margin: 0;
  color: var(--deep);
}

.canvas-off {
  display: grid;
  gap: 0.5rem;
  max-width: var(--core);
}

.canvas-shut {
  border: 1px solid var(--main);
  border-radius: var(--cool);
  background: var(--size);
  padding: 0 1.1rem;
}

.canvas-large {
  cursor: pointer;
  font-weight: 600;
  color: var(--tone);
  padding-block: 0.9rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.canvas-large::-webkit-details-marker {
  display: none;
}

.canvas-large::before {
  content: "+";
  color: var(--alt);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0;
}

.canvas-shut[open] .canvas-large::before {
  content: "−";
}

.canvas-bold {
  color: var(--deep);
  padding-bottom: 1rem;
}

.canvas-bold > :first-child {
  margin-top: 0;
}

.canvas-bold > :last-child {
  margin-bottom: 0;
}

.column {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: var(--body);
  background: color-mix(in srgb, var(--alt) 12%, var(--grid));
  border: 1px solid color-mix(in srgb, var(--alt) 35%, var(--main));
}

.column-dark {
  margin: 0;
  font-size: var(--card);
  font-weight: 800;
  color: var(--tone);
  text-wrap: balance;
}

.column-view {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--deep);
}

.rack {
  border-top: 1px solid var(--main);
  background: var(--thin);
  color: var(--frame);
  padding-block: 2rem 6rem;
}

.rack-wide {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--main);
}

.rack-info {
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--tone);
}

.rack-info img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.rack-bold {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.rack-bold:empty {
  display: none;
}

.rack-bold a {
  text-decoration: none;
}

.rack-bold a:hover {
  text-decoration: underline;
}

.rack-less {
  width: min(100% - 2rem, var(--lift));
  margin-inline: auto;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: grid;
  gap: 0.5rem;
}

.rack-less p {
  margin: 0;
}

.rack-alt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.parcel {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.78rem;
}

.path {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--warm);
  color: var(--ink);
  border-top: 1px solid color-mix(in srgb, var(--alt) 45%, transparent);
}

.path-image {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.path-lead {
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.path-first {
  font-size: 0.75rem;
  opacity: 0.7;
}

.path .plot {
  margin-inline-start: auto;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .track-first {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "offer" "text";
    gap: 1.25rem;
  }

  .figure {
    grid-template-columns: 1fr;
  }

  .figure-shut {
    max-width: 260px;
    margin-inline: auto;
  }

}
@media (max-width: 700px) {
  .group-soft {
    columns: 1;
  }

  .cabinet {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.75rem;
  }

}
@media (max-width: 640px) {
  .window {
    position: static;
  }

  .window-wide {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem;
  }

  .window-wide {
    flex-wrap: nowrap;
  }

  .lattice, .window-dark .plot--sub, .caption {
    display: none;
  }

  .caption + .window-dark {
    margin-inline-start: auto;
  }

  .article {
    display: block;
    order: 3;
  }

  .window-dark {
    margin-inline-start: auto;
  }

  .window-dark .plot {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .entry {
    padding-block: 1.75rem;
  }

  .column, .footer2-stub {
    padding: 1.15rem;
  }

  .track-bottom .plot--icon, .column .plot--icon {
    width: 100%;
  }

  .path-first {
    display: none;
  }

}
@media (prefers-reduced-motion: reduce) {
  *::before, * {
    transition: none !important;
  }

}
