:root
{
  --zone: #0b1220;
  --space: #dfe5f0;
  --cool: #ffffff;
  --ink: #ffb300;
  --alt: #111111;
  --foot: #d99700;
  --deep: #070b16;
  --bold: #ffffff;
  --tile: color-mix(in srgb, var(--space) 6%, var(--zone));
  --body: color-mix(in srgb, var(--space) 3%, var(--zone));
  --line: color-mix(in srgb, var(--space) 18%, var(--zone));
  --brand: color-mix(in srgb, var(--space) 68%, var(--zone));
  --thin: 1160px;
  --band: 78ch;
  --round: 14px;
  --wide: 8px;
  --plain: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --field: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --edge: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --frame: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --grid: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}
*::before, *, *::after
{
  box-sizing: border-box;
}
body
{
  margin: 0;
  background: var(--zone);
  color: var(--space);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--field);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}
img
{
  max-width: 100%;
  height: auto;
  display: block;
}
a
{
  color: inherit;
}
.detail
{
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--deep);
  color: var(--bold);
}
.frame2_image, .case_bottom, .strip2_meta, .detail_dark, .ledge_first
{
  width: min(100% - 2rem, var(--thin));
  margin-inline: auto;
}
.detail_dark
{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 60px;
  padding-block: 0.5rem;
}
.leaf
{
  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;
}
.leaf img
{
  height: 32px;
  width: auto;
  object-fit: contain;
}
.record
{
  display: flex;
  gap: 0.15rem;
  margin-inline-end: auto;
  min-width: 0;
}
.record a
{
  padding: 0.4rem 0.7rem;
  border-radius: var(--wide);
  text-decoration: none;
  color: inherit;
  opacity: 0.82;
  white-space: nowrap;
  font-size: 0.92rem;
}
.record a:hover
{
  background: color-mix(in srgb, var(--bold) 14%, transparent);
  opacity: 1;
}
.record:empty
{
  display: none;
}
.record:empty + .detail_bottom
{
  margin-inline-start: auto;
}
.detail_bottom
{
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.stack
{
  display: none;
  position: relative;
  flex-shrink: 0;
}
.stack_meta
{
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--bold) 40%, transparent);
  border-radius: var(--wide);
}
.stack_meta::-webkit-details-marker
{
  display: none;
}
.stack_meta span, .stack_meta span::before, .stack_meta span::after
{
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.stack_meta span
{
  position: relative;
}
.stack_meta span::before
{
  position: absolute;
  top: -6px;
}
.stack_meta span::after
{
  position: absolute;
  top: 6px;
}
.stack_alt
{
  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(--deep);
  border: 1px solid color-mix(in srgb, var(--bold) 20%, transparent);
  border-radius: var(--round);
  box-shadow: var(--plain);
}
.stack_alt a
{
  padding: 0.6rem 0.7rem;
  border-radius: var(--wide);
  text-decoration: none;
  color: var(--bold);
}
.stack_alt a:hover
{
  background: color-mix(in srgb, var(--bold) 12%, transparent);
}
.stack_alt .niche
{
  margin-top: 0.4rem;
  color: var(--bold);
  border-color: color-mix(in srgb, var(--bold) 40%, transparent);
}
.detail .niche_side
{
  color: inherit;
  border-color: color-mix(in srgb, var(--bold) 45%, transparent);
}
.detail .niche_side:hover
{
  background: color-mix(in srgb, var(--bold) 14%, transparent);
}
.strip2
{
  background: color-mix(in srgb, var(--bold) 8%, var(--deep));
  border-top: 1px solid color-mix(in srgb, var(--bold) 12%, transparent);
  font-size: 0.9rem;
}
.strip2_meta
{
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip2_meta::-webkit-scrollbar
{
  display: none;
}
.strip2 a
{
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--bold);
  opacity: 0.8;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.strip2 a:hover
{
  opacity: 1;
  border-bottom-color: var(--ink);
}
.niche
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--card, transparent);
  border-radius: var(--wide);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  background: var(--ink);
  color: var(--alt);
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.niche:hover
{
  background: var(--foot);
}
.niche:active
{
  transform: translateY(1px);
}
.niche_side
{
  background: transparent;
  color: var(--cool);
  border-color: var(--line);
}
.niche_side:hover
{
  background: var(--tile);
}
.niche_copy
{
  padding: 0.9rem 1.8rem;
  font-size: var(--edge);
}
:focus-visible
{
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.lattice h2, .lattice h3, .weave, .arc h3, .arc h2, .case_soft
{
  color: var(--cool);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.weave
{
  font-size: var(--grid);
  margin: 0 0 1rem;
}
.case_soft
{
  font-size: var(--frame);
  margin: 0 0 1.25rem;
}
.arc h3, .lattice h3
{
  font-size: var(--edge);
  margin: 1.75rem 0 0.5rem;
}
.arc p, .lattice p
{
  margin: 0 0 1rem;
}
.lattice > :last-child, .arc > :last-child
{
  margin-bottom: 0;
}
.lattice a, .arc a
{
  color: color-mix(in srgb, var(--ink) 72%, var(--cool));
  text-underline-offset: 3px;
}
.loop
{
  display: block;
}
.case
{
  padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  scroll-margin-top: 72px;
}
.loop > .case:not(.ledge):nth-of-type(odd)
{
  background: var(--tile);
}
.arc
{
  max-width: var(--band);
}
.case_list .arc ul
{
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}
.case_list .arc ul > li
{
  position: relative;
  padding-inline-start: 1.9rem;
  padding-block: 0.15rem;
}
.case_list .arc 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(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.case_list .arc ol
{
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.case_list .arc ol > li
{
  counter-increment: step;
  position: relative;
  padding-inline-start: 2.6rem;
}
.case_list .arc 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(--ink);
  color: var(--alt);
  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(--line);
  border-inline-start: 3px solid var(--brand);
  border-radius: 0 var(--wide) var(--wide) 0;
  background: var(--tile);
  font-size: 0.95rem;
}
.note p
{
  margin: 0 0 0.6rem;
}
.note > :last-child
{
  margin-bottom: 0;
}
.note strong
{
  color: var(--cool);
}
.note--disclosure
{
  color: var(--brand);
  font-size: 0.88rem;
  background: transparent;
  border-inline-start-color: var(--line);
}
.note--warning
{
  border-inline-start-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 10%, var(--zone));
}
.note--takeaway
{
  font-variant-numeric: tabular-nums;
  border-inline-start-color: var(--cool);
}
.note--rg
{
  border: 1px solid color-mix(in srgb, var(--cool) 30%, var(--line));
  border-radius: var(--round);
  background: var(--body);
}
.note--rg a
{
  font-weight: 600;
}
.note--independent
{
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem 0 0;
}
.lattice blockquote, .arc blockquote
{
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--ink);
  border-radius: 0 var(--wide) var(--wide) 0;
  background: var(--tile);
  color: var(--brand);
  font-size: 0.95rem;
}
.lattice blockquote p, .arc blockquote p
{
  margin: 0 0 0.6rem;
}
.lattice blockquote > :last-child, .arc blockquote > :last-child
{
  margin-bottom: 0;
}
.arc blockquote strong, .lattice blockquote strong
{
  color: var(--cool);
}
.arc hr
{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
.arc table
{
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  background: var(--body);
  border: 1px solid var(--line);
  border-radius: var(--round);
  overflow: hidden;
}
.case_table .arc
{
  max-width: none;
  overflow-x: auto;
}
.arc td, .arc th
{
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  text-align: start;
  vertical-align: top;
}
.arc caption
{
  caption-side: top;
  text-align: start;
  padding: 0 0 0.6rem;
  font-weight: 700;
  color: var(--cool);
}
.arc thead th
{
  background: color-mix(in srgb, var(--ink) 16%, var(--tile));
  color: var(--cool);
  font-weight: 700;
  white-space: nowrap;
}
.arc tbody tr:last-child td
{
  border-bottom: 0;
}
.arc tbody tr:nth-child(even)
{
  background: color-mix(in srgb, var(--space) 3%, transparent);
}
.area
{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 2rem;
  align-items: start;
}
.area_plain
{
  border: 1px solid var(--line);
  border-radius: var(--round);
  box-shadow: var(--plain);
  width: 100%;
}
.ledge
{
  position: relative;
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
  background: var(--deep);
  isolation: isolate;
}
.ledge::before
{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--warm, none);
  background-size: cover;
  background-position: center;
}
.stratum_last
{
  margin-top: 1.25rem;
  text-align: center;
}
.stratum_last a
{
  color: var(--ink);
  font-weight: 600;
}
.ribbon
{
  text-align: center;
}
.ribbon_top
{
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.ribbon_figure
{
  max-width: 46ch;
  margin-inline: auto;
  color: var(--brand);
}
.ribbon_on
{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
@media (max-width: 700px) {
  .ledge::before
  {
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--size, var(--warm, none));
  }
}
.ledge_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;
}
.ledge .weave
{
  grid-area: title;
  color: #ffffff;
}
.ledge_narrow
{
  grid-area: text;
  color: #f2f4f8;
  max-width: 62ch;
}
.ledge .lattice
{
  margin-bottom: 1.5rem;
}
.ledge_icon
{
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}
.set
{
  grid-area: offer;
  background: var(--zone);
  border: 1px solid color-mix(in srgb, var(--ink) 40%, var(--line));
  border-radius: var(--round);
  box-shadow: var(--plain);
  overflow: hidden;
  align-self: start;
}
.set .niche
{
  width: 100%;
}
.set_outer
{
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--ink) 22%, var(--zone));
  color: var(--cool);
  border-bottom: 3px solid var(--ink);
}
.set_outer img
{
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.set_top
{
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  text-align: center;
}
.set_sub
{
  font-weight: 800;
  font-size: var(--edge);
  color: inherit;
  text-align: center;
}
.set_large
{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand);
  margin: 0;
}
.set_soft
{
  font-size: var(--frame);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cool);
  margin: 0;
  text-wrap: balance;
}
.set_view
{
  font-size: 0.8rem;
  color: var(--brand);
  margin: 0;
}
.hall
{
  padding-block: 1.5rem;
}
.chunk
{
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--body);
  padding: 0.5rem 1.1rem;
}
.chunk_meta
{
  cursor: pointer;
  font-weight: 700;
  color: var(--cool);
  padding-block: 0.6rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chunk_meta::-webkit-details-marker
{
  display: none;
}
.chunk_meta::before
{
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.chunk[open] .chunk_meta::before
{
  transform: rotate(-135deg);
}
.chunk_foot
{
  columns: 2;
  gap: 2rem;
  margin: 0 0 0.75rem;
  padding-inline-start: 1.2rem;
  font-size: 0.95rem;
}
.chunk_foot li
{
  break-inside: avoid;
  margin-bottom: 0.3rem;
}
.chunk_foot a
{
  color: var(--brand);
  text-underline-offset: 3px;
}
.chunk_foot a:hover
{
  color: var(--cool);
}
.trunk
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.door
{
  display: flex;
  flex-direction: column;
  background: var(--body);
  border: 1px solid var(--line);
  border-radius: var(--round);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.door:hover
{
  border-color: var(--ink);
  transform: translateY(-2px);
}
.door_copy
{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tile);
}
.door_copy img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.door_line
{
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem;
  margin-top: auto;
}
.door_top
{
  font-weight: 600;
  color: var(--cool);
  line-height: 1.3;
  margin: 0;
}
.door .niche
{
  width: 100%;
  padding-block: 0.5rem;
  font-size: 0.95rem;
}
.margin_light
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mesh
{
  background: var(--zone);
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: 1.1rem 1.2rem;
}
.mesh_off
{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.mesh_narrow
{
  font-weight: 700;
  color: var(--cool);
}
.mesh_meta
{
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.mesh_sub
{
  margin: 0;
  color: var(--brand);
}
.porch_stub
{
  display: grid;
  gap: 0.5rem;
  max-width: var(--band);
}
.porch_off
{
  border: 1px solid var(--line);
  border-radius: var(--wide);
  background: var(--body);
  padding: 0 1.1rem;
}
.porch_less
{
  cursor: pointer;
  font-weight: 600;
  color: var(--cool);
  padding-block: 0.9rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.porch_less::-webkit-details-marker
{
  display: none;
}
.porch_less::before
{
  content: "+";
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0;
}
.porch_off[open] .porch_less::before
{
  content: "−";
}
.porch_first
{
  color: var(--brand);
  padding-bottom: 1rem;
}
.porch_first > :first-child
{
  margin-top: 0;
}
.porch_first > :last-child
{
  margin-bottom: 0;
}
.crest
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: var(--round);
  background: color-mix(in srgb, var(--ink) 12%, var(--tile));
  border: 1px solid color-mix(in srgb, var(--ink) 35%, var(--line));
}
.crest_sub
{
  margin: 0;
  font-size: var(--edge);
  font-weight: 800;
  color: var(--cool);
  text-wrap: balance;
}
.crest_last
{
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--brand);
}
.frame2
{
  border-top: 1px solid var(--line);
  background: var(--tile);
  color: var(--brand);
  padding-block: 2rem 6rem;
}
.frame2_image
{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.frame2_light
{
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--cool);
}
.frame2_light img
{
  height: 32px;
  width: auto;
  object-fit: contain;
}
.frame2_figure
{
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.frame2_figure:empty
{
  display: none;
}
.frame2_figure a
{
  text-decoration: none;
}
.frame2_figure a:hover
{
  text-decoration: underline;
}
.frame2_large
{
  width: min(100% - 2rem, var(--thin));
  margin-inline: auto;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: grid;
  gap: 0.5rem;
}
.frame2_large p
{
  margin: 0;
}
.frame2_first
{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.circuit
{
  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;
}
.plate
{
  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: color-mix(in srgb, var(--ink) 14%, var(--deep));
  color: var(--bold);
  border-top: 1px solid color-mix(in srgb, var(--ink) 45%, transparent);
}
.plate_sub
{
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.plate_wide
{
  font-weight: 800;
  color: var(--bold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plate_side
{
  font-size: 0.75rem;
  opacity: 0.7;
}
.plate .niche
{
  margin-inline-start: auto;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .ledge_first
  {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "offer" "text";
    gap: 1.25rem;
  }
  .area
  {
    grid-template-columns: 1fr;
  }
  .area_plain
  {
    max-width: 260px;
    margin-inline: auto;
  }
}
@media (max-width: 700px) {
  .chunk_foot
  {
    columns: 1;
  }
  .trunk
  {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.75rem;
  }
}
@media (max-width: 640px) {
  .detail
  {
    position: static;
  }
  .detail_dark
  {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem;
  }
  .detail_dark
  {
    flex-wrap: nowrap;
  }
  .record, .strip2, .detail_bottom .niche_side
  {
    display: none;
  }
  .record + .detail_bottom
  {
    margin-inline-start: auto;
  }
  .stack
  {
    display: block;
    order: 3;
  }
  .detail_bottom
  {
    margin-inline-start: auto;
  }
  .detail_bottom .niche
  {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
  .case
  {
    padding-block: 1.75rem;
  }
  .crest, .set_top
  {
    padding: 1.15rem;
  }
  .crest .niche_copy, .ledge_narrow .niche_copy
  {
    width: 100%;
  }
  .plate_side
  {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before
  {
    transition: none !important;
  }
}
