:root
{
  --depth: #0b1220;
  --band: #dfe5f0;
  --dim: #ffffff;
  --brand: #ffb300;
  --lead: #111111;
  --cool: #d99700;
  --line: #070b16;
  --flat: #ffffff;
  --grid: color-mix(in srgb, var(--band) 6%, var(--depth));
  --bold: color-mix(in srgb, var(--band) 3%, var(--depth));
  --shell: color-mix(in srgb, var(--band) 18%, var(--depth));
  --wide: var(--band);
  --head: 1160px;
  --tile: 78ch;
  --alt: 14px;
  --space: 8px;
  --plain: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --warm: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --tone: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --size: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --ink: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a
{
  color: inherit
}

.aside
{
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--line);
  color: var(--flat)
}

.post-image, .roof-soft, .aside-narrow, .parcel-first, .patch-meta
{
  width: min(100% - 2rem, var(--head));
  margin-inline: auto
}

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

.sheet
{
  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
}

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

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

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

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

.promo:empty
{
  display: none
}

.promo:empty + .aside-stub
{
  margin-inline-start: auto
}

.aside-stub
{
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0
}

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

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

.field-first::-webkit-details-marker
{
  display: none
}

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

.field-first span
{
  position: relative
}

.field-first span::before
{
  position: absolute;
  top: -6px
}

.field-first span::after
{
  position: absolute;
  top: 6px
}

.field-bold
{
  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(--line);
  border: 1px solid color-mix(in srgb, var(--flat) 20%, transparent);
  border-radius: var(--alt);
  box-shadow: var(--plain)
}

.field-bold a
{
  padding: 0.6rem 0.7rem;
  border-radius: var(--space);
  text-decoration: none;
  color: var(--flat)
}

.field-bold a:hover
{
  background: color-mix(in srgb, var(--flat) 12%, transparent)
}

.field-bold .room
{
  margin-top: 0.4rem;
  color: var(--flat);
  border-color: color-mix(in srgb, var(--flat) 40%, transparent)
}

.aside .room-link
{
  color: inherit;
  border-color: color-mix(in srgb, var(--flat) 45%, transparent)
}

.aside .room-link:hover
{
  background: color-mix(in srgb, var(--flat) 14%, transparent)
}

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

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

.patch-meta::-webkit-scrollbar
{
  display: none
}

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

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

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

.room:hover
{
  background: var(--cool)
}

.room:active
{
  transform: translateY(1px)
}

.room-link
{
  background: transparent;
  color: var(--dim);
  border-color: var(--shell)
}

.room-link:hover
{
  background: var(--grid)
}

.room-side
{
  padding: 0.9rem 1.8rem;
  font-size: var(--tone)
}

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

.plank, .lattice h2, .lane h3, .roof-bold, .lattice h3, .lane h2
{
  color: var(--dim);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance
}

.plank
{
  font-size: var(--ink);
  margin: 0 0 1rem
}

.roof-bold
{
  font-size: var(--size);
  margin: 0 0 1.25rem
}

.lane h3, .lattice h3
{
  font-size: var(--tone);
  margin: 1.75rem 0 0.5rem
}

.lattice p, .lane p
{
  margin: 0 0 1rem
}

.lattice > :last-child, .lane > :last-child
{
  margin-bottom: 0
}

.lane a, .lattice a
{
  color: color-mix(in srgb, var(--brand) 72%, var(--dim));
  text-underline-offset: 3px
}

.plate
{
  display: block
}

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

.plate > .roof:not(.parcel):nth-of-type(odd)
{
  background: var(--grid)
}

.lattice
{
  max-width: var(--tile)
}

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

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

.roof-list .lattice 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(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg)
}

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

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

.roof-list .lattice 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(--brand);
  color: var(--lead);
  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(--shell);
  border-inline-start: 3px solid var(--wide);
  border-radius: 0 var(--space) var(--space) 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(--dim)
}

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

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

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

.note--rg
{
  border: 1px solid color-mix(in srgb, var(--dim) 30%, var(--shell));
  border-radius: var(--alt);
  background: var(--bold)
}

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

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

.lane blockquote, .lattice blockquote
{
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--brand);
  border-radius: 0 var(--space) var(--space) 0;
  background: var(--depth);
  color: var(--band);
  font-size: 0.95rem
}

.lattice blockquote p, .lane blockquote p
{
  margin: 0 0 0.6rem
}

.lane blockquote > :last-child, .lattice blockquote > :last-child
{
  margin-bottom: 0
}

.lattice blockquote strong, .lane blockquote strong
{
  color: var(--dim)
}

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

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

.roof-table .lattice
{
  max-width: none;
  overflow-x: auto
}

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

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

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

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

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

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

.porch-side
{
  border: 1px solid var(--shell);
  border-radius: var(--alt);
  box-shadow: var(--plain);
  width: 100%
}

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

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

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

.shell-meta a
{
  color: var(--brand);
  font-weight: 600
}

.chain
{
  text-align: center
}

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

.chain-narrow
{
  max-width: 46ch;
  margin-inline: auto;
  color: var(--wide)
}

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

@media (max-width: 700px) {
  .parcel::before
  {
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--flow, var(--frame, none))
  }

}
.parcel-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
}

.parcel .plank
{
  grid-area: title;
  color: #ffffff
}

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

.parcel .lane
{
  margin-bottom: 1.5rem
}

.parcel-soft
{
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75
}

.entry
{
  grid-area: offer;
  background: var(--depth);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--shell));
  border-radius: var(--alt);
  box-shadow: var(--plain);
  overflow: hidden;
  align-self: start
}

.entry .room
{
  width: 100%
}

.entry-view
{
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--brand) 12%, var(--depth));
  color: var(--dim);
  border-bottom: 3px solid var(--brand)
}

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

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

.entry-narrow
{
  font-weight: 800;
  font-size: var(--tone);
  color: inherit;
  text-align: center
}

.entry-light
{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--wide);
  margin: 0
}

.entry-lead
{
  font-size: var(--size);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dim);
  margin: 0;
  text-wrap: balance
}

.entry-large
{
  font-size: 0.8rem;
  color: var(--wide);
  margin: 0
}

.lot
{
  padding-block: 1.5rem
}

.wall
{
  border: 1px solid var(--shell);
  border-radius: var(--alt);
  background: var(--bold);
  padding: 0.5rem 1.1rem
}

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

.wall-shut::-webkit-details-marker
{
  display: none
}

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

.wall[open] .wall-shut::before
{
  transform: rotate(-135deg)
}

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

.wall-dark li
{
  break-inside: avoid;
  margin-bottom: 0.3rem
}

.wall-dark a
{
  color: var(--wide);
  text-underline-offset: 3px
}

.wall-dark a:hover
{
  color: var(--dim)
}

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

.grille
{
  display: flex;
  flex-direction: column;
  background: var(--bold);
  border: 1px solid var(--shell);
  border-radius: var(--alt);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease
}

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

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

.grille-bottom img
{
  width: 100%;
  height: 100%;
  object-fit: cover
}

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

.grille-large
{
  font-weight: 600;
  color: var(--dim);
  line-height: 1.3;
  margin: 0
}

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

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

.plane
{
  background: var(--depth);
  border: 1px solid var(--shell);
  border-radius: var(--alt);
  padding: 1.1rem 1.2rem
}

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

.plane-dark
{
  font-weight: 700;
  color: var(--dim)
}

.plane-off
{
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap
}

.plane-light
{
  margin: 0;
  color: var(--wide)
}

.shelf-side
{
  display: grid;
  gap: 0.5rem;
  max-width: var(--tile)
}

.shelf-copy
{
  border: 1px solid var(--shell);
  border-radius: var(--space);
  background: var(--bold);
  padding: 0 1.1rem
}

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

.shelf-link::-webkit-details-marker
{
  display: none
}

.shelf-link::before
{
  content: "+";
  color: var(--brand);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0
}

.shelf-copy[open] .shelf-link::before
{
  content: "−"
}

.shelf-image
{
  color: var(--wide);
  padding-bottom: 1rem
}

.shelf-image > :first-child
{
  margin-top: 0
}

.shelf-image > :last-child
{
  margin-bottom: 0
}

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

.part-copy
{
  margin: 0;
  font-size: var(--tone);
  font-weight: 800;
  color: var(--dim);
  text-wrap: balance
}

.part-off
{
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--wide)
}

.post
{
  border-top: 1px solid var(--shell);
  background: var(--depth);
  color: var(--band);
  padding-block: 2rem 6rem
}

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

.post-bottom
{
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--dim)
}

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

.post-light
{
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem
}

.post-light:empty
{
  display: none
}

.post-light a
{
  text-decoration: none
}

.post-light a:hover
{
  text-decoration: underline
}

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

.post-bold p
{
  margin: 0
}

.post-top
{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap
}

.bay
{
  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
}

.body2
{
  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(--line);
  color: var(--flat);
  border-top: 1px solid color-mix(in srgb, var(--brand) 45%, transparent)
}

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

.body2-light
{
  font-weight: 800;
  color: var(--flat);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.body2-bold
{
  font-size: 0.75rem;
  opacity: 0.7
}

.body2 .room
{
  margin-inline-start: auto;
  flex-shrink: 0
}

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

  .porch
  {
    grid-template-columns: 1fr
  }

  .porch-side
  {
    max-width: 260px;
    margin-inline: auto
  }

}
@media (max-width: 700px) {
  .wall-dark
  {
    columns: 1
  }

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

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

  .aside-narrow
  {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem
  }

  .aside-narrow
  {
    flex-wrap: nowrap
  }

  .promo, .patch, .aside-stub .room-link
  {
    display: none
  }

  .promo + .aside-stub
  {
    margin-inline-start: auto
  }

  .field
  {
    display: block;
    order: 3
  }

  .aside-stub
  {
    margin-inline-start: auto
  }

  .aside-stub .room
  {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem
  }

  .roof
  {
    padding-block: 1.75rem
  }

  .entry-flat, .part
  {
    padding: 1.15rem
  }

  .parcel-view .room-side, .part .room-side
  {
    width: 100%
  }

  .body2-bold
  {
    display: none
  }

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

}
