/* House Sniper — the catalogue. A privately circulated register, drenched in claret,
   set in bone with one gilt hairline. See .impeccable/surfaces/ for the direction. */

/* Self-hosted, Latin subset (covers å ä ö and every glyph on the page). Both families are
   SIL Open Font License 1.1, downloaded from Google Fonts on 2026-09-20. Familjen Grotesk is
   one variable file serving 400 to 600; Faustina is a static roman and a static italic, 400. */
@font-face {
  font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/FamiljenGrotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Faustina"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/Faustina-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Faustina"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/Faustina-italic-latin.woff2") format("woff2");
}

:root {
  --claret: #4a1622;
  --claret-deep: #380f18;
  --claret-raised: #5a1e2b;
  --bone: #f3e8d9;
  --bone-soft: #d8c4ab;
  --bone-faint: #b8a188;
  --gilt: #c8a34a;

  --grotesk: "Familjen Grotesk", system-ui, sans-serif;
  --serif: "Faustina", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --measure: 34rem;
  --rule: 1px solid color-mix(in srgb, var(--bone-faint) 32%, transparent);
  --inset: clamp(1rem, 2vw, 1.5rem);  /* the lead card's and every row's text inset */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scrollbar-color: var(--gilt) var(--claret-deep);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--claret-deep); }
::-webkit-scrollbar-thumb { background: var(--gilt); border: 3px solid var(--claret-deep); }

::selection { background: var(--gilt); color: var(--claret-deep); }

body {
  margin: 0;
  background: var(--claret);
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  line-height: 1.62;
  overflow-x: hidden;
  /* The ground is not flat stock: the claret deepens toward the foot of the sheet. */
  background-image:
    radial-gradient(120% 70% at 12% 0%, color-mix(in srgb, var(--claret-raised) 60%, transparent), transparent 60%),
    linear-gradient(180deg, transparent 55%, var(--claret-deep));
  background-attachment: fixed;
}

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

a { color: inherit; }
p a, .entry__out a {
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--gilt) 70%, transparent);
  transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}
p a:hover, .entry__out a:hover { color: var(--gilt); text-decoration-color: var(--gilt); }

h1, h2, h3, dt, .wordmark, .edition, .num, .action {
  font-family: var(--grotesk);
}

.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* A thin en-space rule between inline facts, instead of a bullet glyph. */
.sep { display: inline-block; width: 1.75em; height: 1px; margin: 0 .55em; vertical-align: .28em;
  background: color-mix(in srgb, var(--bone-faint) 55%, transparent); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -100vw; top: 0; z-index: 10;
  display: flex; align-items: center; min-height: 44px;
  background: var(--claret-deep); color: var(--bone); padding: .75rem 1.15rem;
  font-family: var(--grotesk); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { left: max(var(--gutter), (100vw - 78rem) / 2 + var(--gutter)); top: .25rem; }
.skip:focus-visible { outline-offset: 2px; }

/* ---- Masthead ------------------------------------------------------------ */

.masthead {
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0;
  max-width: 78rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.1rem;
}
.cta {
  margin-left: auto; text-decoration: none;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--gilt); color: var(--claret-deep);
  font-family: var(--grotesk); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .75rem 1.15rem;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cta svg { width: .75rem; height: .75rem; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cta:hover { background: var(--bone); transform: translateY(-1px); }
.wordmark {
  margin: 0; font-size: .82rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--bone);
}
.edition {
  margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-faint);
}
/* The same 1px dash that joins product and place in the phone's running head and colophon. */
.edition::before {
  content: ""; display: inline-block; width: 1.75em; height: 1px; margin-right: 1.1em; vertical-align: .3em;
  background: color-mix(in srgb, var(--bone-faint) 55%, transparent);
}
/* The landing page's masthead sits tighter, so the whole lead card clears a laptop's fold. */
.masthead:has(.cta) { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.masthead:has(.cta)::after { margin-top: clamp(.9rem, 1.6vw, 1.1rem); }
.masthead::after {
  content: ""; flex: 1 0 100%; height: 1px; background: var(--gilt);
  margin-top: clamp(.9rem, 2vw, 1.4rem);
  animation: draw 1.4s var(--ease) both;
}

@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: translateY(1.4rem); filter: blur(7px); } to { transform: none; filter: none; } }

/* ---- Sections ------------------------------------------------------------ */

main > section {
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) 0;
  max-width: 78rem; margin-inline: auto;
}
main > section > h2 {
  margin: 0 0 1.25rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gilt);
}
main > section > :is(p, ol, ul, div) { margin-block: 0; }
main > section > * + * { margin-top: 1.5rem; }

@media (min-width: 62rem) {
  .catalogue, .struck, .keeper {
    display: grid; grid-template-columns: 13rem 1fr; column-gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
  .catalogue > h2, .struck > h2, .keeper > h2 {
    grid-column: 1; grid-row: 1; margin: 0; position: sticky; top: 2.5rem;
  }
  .catalogue > :not(h2), .struck > :not(h2), .keeper > :not(h2) { grid-column: 2; }
  main > section > * + * { margin-top: 0; }
  .catalogue > * + *, .struck > * + *, .keeper > * + * { margin-top: 1.5rem; }
  .catalogue > h2 + *, .struck > h2 + *, .keeper > h2 + * { margin-top: 0; }
  /* Each rail label sits on its section's first line: the lead card's first label, the log's
     first date line, the keeper's first line of text. */
  .catalogue > h2 { padding-top: calc(1.25rem + 1px); }
  .keeper > h2 { padding-top: .4rem; }
}

/* Proximity ladder: inside the header <= 2rem, header to list 4rem, lead card to its
   rows 1.5rem. The lead card is grouped with the list it belongs to, not the header. */
.front-matter + .catalogue { padding-top: 2.25rem; }
/* The landing page keeps one section rhythm, the colophon's margin included. */
.struck, .keeper { padding-top: clamp(3.5rem, 6vw, 5rem); }

/* ---- Front matter -------------------------------------------------------- */

.front-matter {
  padding-top: clamp(1.25rem, 2vw, 1.5rem);
  display: grid; gap: clamp(1.25rem, 2vw, 1.5rem);
  animation: settle 1s var(--ease) both;
}
/* On the sections' grid (owner, 2026-09-26): the headline and the deck take the content
   column the lead card and the rows start on, and the tally stands in the 13rem rail beside
   them, where each section below keeps its label, so the proof sits against its claim. */
@media (min-width: 62rem) {
  .front-matter {
    grid-template-columns: 13rem minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 5rem); align-items: start;
  }
  .front-matter h1, .front-matter__deck { grid-column: 2; }
  .front-matter .facts { grid-column: 1; grid-row: 1 / span 2; }
  /* The count's cap height on the headline's. */
  .facts__count { margin-top: .06em; }
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 1.05rem + 3.7vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 500;
  text-wrap: balance;
}

/* The tally: the count is the page's proof, so it is decisively larger than the headline,
   and the owner's sentence under it is read at the running-text size, as a sentence. */
.facts {
  margin: 0; display: flex; flex-direction: column; gap: .6rem;
  font-family: var(--serif); line-height: 1.5; color: var(--bone-soft);
}
.facts__count {
  font-size: clamp(3.75rem, 1.5rem + 5.2vw, 6rem); font-weight: 500; line-height: .82;
  letter-spacing: -.04em; color: var(--bone);
}
.facts__caption { max-width: 22rem; color: var(--bone); text-wrap: balance; }
/* On a phone the proof line reads at the deck's size, above it. */
@media (max-width: 61.999rem) { .facts__caption { max-width: var(--measure); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); } }
/* The why, read straight after the headline as its deck. */
.front-matter__deck {
  margin: 0; max-width: var(--measure); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height: 1.55; color: var(--bone-soft); text-wrap: pretty;
}
/* A wider measure on a wide screen: three lines, not four, so the lead card clears the fold. */
@media (min-width: 62rem) { .front-matter__deck { max-width: 42rem; } }
.keeper__body p, .colophon__beta { text-wrap: pretty; }

/* ---- Entries ------------------------------------------------------------- */

.entry { position: relative; }

/* The lead card of the list: the same leaf as its siblings, with the same 1px edge but in
   gilt all the way round, and a deeper ground. It is the list's first card, not a header. */
.entry--hero {
  background: color-mix(in srgb, var(--claret-deep) 55%, transparent);
  border: 1px solid var(--gilt);
  padding: 1.25rem var(--inset);
  animation: settle 1s var(--ease) .12s both;
  box-shadow: 0 1rem 2.25rem -1.5rem rgb(0 0 0 / .5);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.entry--hero:hover { background: color-mix(in srgb, var(--claret-deep) 70%, transparent); }

.entry__place {
  margin: 0; font-weight: 500; letter-spacing: -.028em; line-height: 1.06;
  text-wrap: balance;
}
.entry .entry__place { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.entry--hero .entry__place { font-size: clamp(2rem, 1.2rem + 2.3vw, 3rem); }

.entry__street { color: var(--bone); }
/* The brokerage's own one-line pitch, and the fee, floor and build year: the lead card only. */
.entry--hero .entry__headline {
  margin: .6rem 0 0; max-width: var(--measure); font-style: italic; color: var(--bone-soft);
}
.entry--hero .entry__more { margin-top: .3rem; font-size: .92rem; color: var(--bone-faint); }
.entry__shape { margin: .7rem 0 0; color: var(--bone-soft); overflow: hidden; }

/* Facts in one line, each separated by a dash that belongs to the item after it. The
   dash is clipped whenever its item wraps to the head of a new line, so a line never
   starts on a separator. The outer paragraph clips; the inner row is shifted left by
   exactly the space each item's dash occupies. */
.shape { --gap: 2.25rem; --dash: 1rem; display: flex; flex-wrap: wrap; row-gap: .1rem; margin-left: calc(var(--gap) * -1); }
@media (max-width: 47.999rem) { .shape { --gap: 1.75rem; --dash: .75rem; } }
/* On a phone the street takes its own line in the lead card and the sample's rows, so the
   facts under it wrap as a set instead of leaving the area alone on a line. */
@media (max-width: 47.999rem) { :is(.entry--hero, .ledger--live) .entry__street { flex-basis: 100%; } }
.shape__item { position: relative; margin-left: var(--gap); white-space: nowrap; }
.shape__item::before {
  content: ""; position: absolute; top: .78em; height: 1px; width: var(--dash);
  left: calc((var(--gap) - var(--dash)) / -2 - var(--dash));
  background: color-mix(in srgb, var(--bone-faint) 55%, transparent);
}

/* The lead card's foot: provenance and the out-link share one row under the hairline. */
.entry__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 2rem;
  margin-top: clamp(1rem, 2.2vw, 1.4rem); padding-top: .5rem; border-top: var(--rule);
}
.entry__meta { align-items: baseline; }
.entry__meta .entry__out { margin: 0 0 0 auto; }
.provenance { flex: 1 1 12rem; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1.85rem; overflow: hidden; }
.entry--hero .provenance { column-gap: 2.25rem; }
@media (max-width: 47.999rem) {
  .entry--hero .provenance { column-gap: 1.75rem; }
  .provenance div + div::before { left: calc((1.75rem - .75rem) / -2 - .75rem); width: .75rem; }
}
/* On a phone the provenance takes the foot row's whole width and the link its own line, so
   the link never splits the two dates. */
/* The provenance is one line at every width, and the link runs under it on the left. */
.entry--hero .provenance { flex-basis: 100%; }
.entry--hero .entry__meta .entry__out { margin: .25rem 0 0; }
/* From 48rem the lead card runs two columns: the entry, and a right column on the rows' end
   track (11.5rem) that holds when it was posted, its id, and the link, flush right. */
@media (min-width: 48rem) {
  .entry--hero { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; column-gap: 1.5rem; }
  .entry--hero .entry__meta {
    margin: 0; padding: 0; border: 0; flex-direction: column; flex-wrap: nowrap;
    align-items: flex-end; justify-content: space-between; text-align: right;
  }
  .entry--hero .provenance { flex: none; flex-direction: column; flex-wrap: nowrap; gap: .9rem; }
  .entry--hero .provenance div { flex-direction: column; align-items: flex-end; gap: .25rem; }
}
/* The lead photo (owner, 2026-09-26): the brokerage's own, full colour, inset in the plate's
   hairline, the claret-deep plate showing while it loads. On a phone a 3:2 frame heads the
   plate. From 48rem it takes the right two-fifths beside the entry, and the text sets the
   row's height: the image is absolute inside a cell that adds none. The right column then
   folds into a foot row under both, as it runs on a phone. */
.entry--hero .entry__photo {
  position: relative; display: block; aspect-ratio: 3 / 2; margin: 0 0 1.25rem;
  border: var(--rule); background: var(--claret-deep); overflow: hidden;
}
/* It bleeds to the plate's gilt edge: the card's own border frames it. On a phone it runs the
   plate's width under the label and the place, so the first screen names the home it shows. */
.entry--hero .entry__photo { margin: 1rem calc(var(--inset) * -1) 0; border: 0; aspect-ratio: 16 / 10; }
@media (max-width: 47.999rem) {
  .entry--hero { display: flex; flex-direction: column; }
  .entry--hero .entry__main { display: contents; }
  .entry--hero .entry__marking { order: 1; }
  .entry--hero .entry__place { order: 2; }
  .entry--hero .entry__headline { order: 3; }
  .entry--hero .entry__photo { order: 4; }
  .entry--hero .entry__shape { order: 5; }
  .entry--hero .entry__meta { order: 6; }
  .entry--hero .entry__photo + * { margin-top: 1rem; }
}
.entry--hero .entry__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 48rem) {
  .entry--hero:has(.entry__photo) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .entry--hero .entry__photo { grid-column: 2; grid-row: 1 / 3; aspect-ratio: auto; margin: -1.25rem calc(var(--inset) * -1) -1.25rem 0; }
  .entry--hero .entry__main { grid-column: 1; grid-row: 1; }
  .entry--hero .entry__meta { grid-column: -2; grid-row: 1; }
  .entry--hero:has(.entry__photo) .entry__meta {
    grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline;
    justify-content: flex-start; text-align: left;
    margin-top: clamp(.9rem, 1.6vw, 1.1rem); padding-top: .35rem; border-top: var(--rule);
  }
  .entry--hero:has(.entry__photo) .provenance { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: .2rem 2.25rem; }
  .entry--hero:has(.entry__photo) .provenance div { flex-direction: row; align-items: baseline; gap: .3em; }
}
/* One faint line (owner, 2026-09-26): "Inlagd 2026-09-26 — Objektsnummer 470773", the
   terms as words in the serif, not caps, the pairs parted by the facts' dash. */
.provenance div { display: flex; align-items: baseline; gap: .3em; position: relative; }
.provenance dt { font-family: var(--serif); font-size: .92rem; color: var(--bone-faint); }
.provenance dd { margin: 0; font-size: .92rem; color: var(--bone-soft); }
.provenance div + div::before {
  content: ""; position: absolute; top: .78em; left: calc((2.25rem - 1rem) / -2 - 1rem); width: 1rem; height: 1px;
  background: color-mix(in srgb, var(--bone-faint) 55%, transparent);
}
/* A Source's own id can be one long unbroken token (LF's is 21 characters), wider than a
   two-column mobile cell. Let the numeric values break rather than push the page sideways.
   Not the brokerage name: it fits its cell by a hair, and breaking it leaves a lone "g". */
.provenance dd.num { overflow-wrap: anywhere; }
/* The brokerage's own word is what holds the object back, so it leads the lead card in the
   only metal, paired with the brokerage that printed it, as every row below pairs them. */
/* The word, then the brokerage, on one baseline, as each row pairs them (owner, 2026-09-26:
   the Märkning and Mäklare captions are read by a screen reader only). */
.entry__marking { margin: 0 0 .6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; }
.entry__marking div { display: contents; }
.entry__marking dd { margin: 0; }
.entry__marking-house { font-family: var(--grotesk); font-size: 1rem; font-weight: 500; color: var(--bone-faint); }
.entry__marking-word {
  font-family: var(--grotesk); font-weight: 600; color: var(--gilt);
  font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem);
  letter-spacing: -.025em; line-height: 1;
}

.entry__out { margin: .35rem 0 0; font-size: .9rem; }
/* The lead card is wholly the link, so its out-link is the rows' arrow with its words. */
.entry--hero .entry__out a { gap: .6rem; font-family: var(--grotesk); text-decoration: none; min-height: 2rem; }
.entry--hero .entry__out svg { width: .8rem; height: .8rem; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.entry--hero:hover .entry__out a { color: var(--gilt); }
.entry--hero:hover .entry__out svg { transform: translateX(.35rem); }
.entry__out a {
  color: var(--bone-faint);
  display: inline-flex; align-items: center; min-height: 44px;
}

/* ---- The edition --------------------------------------------------------- */

.entries {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.7rem, 1.4vw, 1rem);
}
@media (min-width: 48rem) {
  .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Each entry is its own leaf: its own ground, its own edge, its own three zones.
   Separation comes from the plate, not from pushing the entries apart. */
.entries .entry {
  height: 100%;
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--claret-deep) 38%, transparent);
  border: var(--rule);
  padding: clamp(1.05rem, 2vw, 1.4rem);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.entries .entry:hover {
  border-color: color-mix(in srgb, var(--gilt) 50%, transparent);
  background: color-mix(in srgb, var(--claret-deep) 58%, transparent);
}

.entry__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .75rem; margin: 0 0 .9rem;
}
/* The brokerage's own word, set the way the hero sets it: as printed, in gilt, at a size
   that reads as the card's first line. */
.entry__mark {
  font-family: var(--grotesk); font-size: 1.2rem; font-weight: 600; line-height: 1.1;
  letter-spacing: -.015em; color: var(--gilt); text-wrap: balance;
}
.entries p.entry__street {
  display: block; margin: .4rem 0 0; font-size: 1.02rem; color: var(--bone);
}
.entries .entry__shape { margin: .4rem 0 0; font-size: .95rem; }

.entry__body { padding-bottom: 1rem; }
.entry__foot {
  margin-top: auto; padding-top: .35rem;
  border-top: var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.entry__broker {
  margin: 0; font-family: var(--grotesk); font-size: .875rem; font-weight: 500;
  letter-spacing: .005em; color: var(--bone-soft); text-wrap: balance;
}
.entry__foot .entry__out { margin: 0; text-align: right; font-size: .85rem; white-space: nowrap; }
/* The whole card is the link: the hover state below is only true if it is. The anchor
   keeps its own 44px box for the focus order, and its ::after covers the card. */
.entries .entry:has(.entry__out a) { cursor: pointer; }
.entry__foot .entry__out a::after, .entry--hero .entry__out a::after { content: ""; position: absolute; inset: 0; }
.entry__foot .entry__out a:focus-visible, .entry--hero .entry__out a:focus-visible { outline: none; }
.entry__foot .entry__out a:focus-visible::after, .entry--hero .entry__out a:focus-visible::after { outline: 2px solid var(--gilt); outline-offset: 3px; }
.entry--hero:has(.entry__out a) { cursor: pointer; }
.entries__empty { color: var(--bone-soft); font-style: italic; max-width: var(--measure); }

/* The sample's closing row: how much of the list this was, and the way to the rest. Ruled and
   hovered like the rows it closes, wholly the link, its arrow in the rows' arrow column. */
.catalogue__more {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 1.5rem; padding: .6rem var(--inset); cursor: pointer;
  border-block: 1px solid color-mix(in srgb, var(--gilt) 70%, transparent);
  font-size: .95rem; line-height: 1.5; color: var(--bone-soft);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.catalogue__more a, .action {
  display: inline-flex; align-items: center; gap: .85rem; min-height: 44px;
  font-family: var(--grotesk); font-size: clamp(1.15rem, 1rem + .45vw, 1.35rem); font-weight: 600;
  letter-spacing: -.015em; color: var(--bone); text-decoration: none; transition: color .35s var(--ease);
}
.catalogue__more svg, .action svg { width: .9rem; height: .9rem; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.catalogue__more a::after { content: ""; position: absolute; inset: 0; }
.catalogue__more a:focus-visible { outline: none; }
.catalogue__more a:focus-visible::after { outline: 2px solid var(--gilt); outline-offset: -2px; }
.catalogue__more:hover {
  border-color: color-mix(in srgb, var(--gilt) 85%, transparent);
  background: color-mix(in srgb, var(--claret-deep) 85%, transparent);
}
.catalogue__more:hover a, .action:hover { color: var(--gilt); }
.action:hover svg { transform: translateX(.35rem); }
.catalogue__more:hover svg { transform: translateX(.35rem); }
/* The operator's door: the quietest link on the page, underline in the label ink too. */
.quiet {
  display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem;
  color: var(--bone-faint); font-style: italic;
  text-decoration-color: color-mix(in srgb, var(--bone-faint) 55%, transparent);
}


/* ---- The ledger: the sample's rows and the already-published rows ----------- */

/* One row grammar for both lists: head (the brokerage's word or the date, over the
   brokerage that printed it) | place and facts | end (the out-link, or the reason). The
   head and end share a line over the place in a narrow column; three fixed columns once
   the list itself is wide enough. A container query, so the rail's width counts, and fixed
   tracks, so both lists line up column for column. */
.ledger { list-style: none; margin: 0; padding: 0; container-type: inline-size; }
.ledger__row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head end" "what what";
  align-items: baseline; gap: .1rem 1rem;
  padding: .9rem var(--inset); border-block: var(--rule);
}
/* Each row owns both bounding hairlines and overlaps the one before by 1px, so a hovered
   row can turn both its lines to gilt over its neighbours'. */
.ledger__row + .ledger__row { margin-top: -1px; }
.ledger__row p { margin: 0; }
.ledger__head { grid-area: head; display: flex; flex-direction: column; gap: .15rem; }
.ledger__what { grid-area: what; margin-top: .45rem; }
.ledger__end { grid-area: end; justify-self: end; text-align: right; }
@container (min-width: 44rem) {
  .ledger__row {
    grid-template-columns: 13.5rem minmax(0, 1fr) 11.5rem;
    grid-template-areas: "head what end";
    column-gap: 1.5rem; padding-block: 1rem;
  }
  .ledger__what { margin-top: 0; }
  .ledger--live .ledger__row { grid-template-columns: 13.5rem minmax(0, 1fr) 1rem; }
}
.ledger__place {
  margin: 0; font-size: 1.35rem; font-weight: 500; line-height: 1.15;
  letter-spacing: -.02em; text-wrap: balance;
}
@container (min-width: 44rem) { .ledger__place { font-size: 1.15rem; } }
.ledger .entry__shape { margin: .2rem 0 0; font-size: .92rem; }
.ledger__house, .ledger__date { font-family: var(--grotesk); font-size: .82rem; line-height: 1.35; color: var(--bone-faint); text-wrap: balance; }

/* Live: the brokerage's word leads in the only metal, and the row is wholly the link. */
.ledger__mark {
  font-family: var(--grotesk); font-size: .95rem; font-weight: 600; line-height: 1.2;
  letter-spacing: -.01em; color: var(--gilt);
}
.ledger--live .ledger__row { cursor: pointer; transition: background .35s var(--ease), border-color .35s var(--ease); }
.ledger--live .ledger__row:hover {
  z-index: 1; border-color: color-mix(in srgb, var(--gilt) 85%, transparent);
  background: color-mix(in srgb, var(--claret-deep) 85%, transparent);
}
.ledger__out { font-size: .85rem; }
.ledger__out a { color: var(--bone-faint); display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; }
.ledger__out svg { width: .9rem; height: .9rem; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.ledger--live .ledger__row:hover .ledger__out svg { transform: translateX(.35rem); }
/* Every column on the row's first baseline; the arrow sits on the place's line. */
.ledger--live .ledger__end { align-self: start; }
.ledger--live .ledger__out a { min-height: 0; min-width: 0; height: 1.4rem; }
.ledger--live .ledger__row:hover .ledger__out a { color: var(--gilt); text-decoration-color: var(--gilt); }
.ledger__out a::after { content: ""; position: absolute; inset: 0; }
.ledger__out a:focus-visible { outline: none; }
.ledger__out a:focus-visible::after { outline: 2px solid var(--gilt); outline-offset: -2px; }
.ledger + .catalogue__more { margin-top: -1px; }
.entry--hero + .ledger { margin-top: .5rem; }
/* A true register once the list is wide enough: place over street, then type, rooms and
   area in fixed columns, numbers flush right, so the sample reads down its columns. The
   shape line's own boxes step aside (display: contents) and its dashes go. A price, where a
   Source sets one, runs under the facts, flush right. */
@container (min-width: 54rem) {
  .ledger--live .ledger__what {
    display: grid; grid-template-columns: minmax(0, 1fr) 6.75rem 3.25rem 4.75rem;
    column-gap: 1.25rem; align-items: baseline;
  }
  .ledger--live .ledger__what :is(.entry__shape, .shape) { display: contents; }
  .ledger--live .ledger__what .shape__item { margin: 0; }
  .ledger--live .ledger__what .shape__item::before { display: none; }
  .ledger--live .ledger__place { grid-column: 1; grid-row: 1; }
  .ledger--live .entry__street { grid-column: 1; grid-row: 2; margin-top: .2rem; }
  .ledger--live .shape__type { grid-column: 2; grid-row: 1; }
  .ledger--live .shape__rooms { grid-column: 3; grid-row: 1; justify-self: end; }
  .ledger--live .shape__area { grid-column: 4; grid-row: 1; justify-self: end; }
  .ledger--live .shape__price { grid-column: 2 / -1; grid-row: 2; justify-self: end; margin-top: .2rem; }
  .ledger--live .ledger__what .entry__shape { font-size: .92rem; }
}

/* The lead card's own edge closes it; the list starts on its first row, not on a lone rule. */
.ledger--live .ledger__row:first-child:not(:hover) { border-top-color: transparent; }

/* Already published: no link and no metal, smaller type and the place and facts on one
   line (date over brokerage | place, facts | reason), so it reads as a log, never as stock
   still for sale. The reason is a sentence, not a tag, so it is set as text. The strings are
   the owner's. */
.struck .ledger__what { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.25rem; }
.struck .ledger__place { font-size: 1.05rem; font-weight: 400; color: var(--bone-faint); }
.struck .entry__shape { margin: 0; color: var(--bone-faint); }
@container (min-width: 44rem) {
  .struck .ledger__row { padding-block: .7rem; }
  .struck .ledger__place { font-size: 1rem; }
}
/* The log's rows carry no head of their own: each run is headed once by its date and
   brokerage, then place and facts | reason. On a narrow list the reason runs under the facts. */
.ledger__group {
  display: flex; align-items: baseline; padding: .7rem var(--inset) .55rem; border-top: var(--rule);
  font-family: var(--grotesk); font-size: .82rem; color: var(--bone-faint);
}
.ledger__row + .ledger__group { margin-top: 1.5rem; }
.ledger__group { flex-wrap: wrap; row-gap: .15rem; }
.ledger__group .sep { align-self: center; }
@container (max-width: 43.999rem) {
  .ledger__group .sep:has(+ .ledger__why) { display: none; }
  .ledger__group .ledger__why { flex-basis: 100%; }
}
.struck .ledger__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "what" "end"; }
.struck .ledger__what { margin-top: 0; }
.ledger__group + .ledger__row { border-top-color: transparent; }
.struck .ledger__end { justify-self: start; text-align: left; margin-top: .15rem; }
@container (min-width: 44rem) {
  .struck .ledger__row { grid-template-columns: minmax(0, 1fr) 15rem; grid-template-areas: "what end"; }
  .struck .ledger__end { justify-self: end; text-align: right; margin-top: 0; }
}
.ledger__why { font-family: var(--serif); font-size: .92rem; font-style: italic; line-height: 1.4; color: var(--bone-faint); }

/* ---- The keeper's margin -------------------------------------------------- */

.keeper__body { color: var(--bone-soft); }
.keeper__body p { margin: 0; max-width: var(--measure); }
.keeper__body p + p { margin-top: .9rem; }
.keeper__body .keeper__failed {
  border-left: 1px solid var(--gilt); padding-left: 1rem;
  color: var(--bone); font-style: italic; margin-bottom: 1.25rem;
}
.keeper__reads { list-style: none; margin: .75rem 0 0; padding: 0; border-top: var(--rule); max-width: var(--measure); }
@media (min-width: 62rem) {
  .keeper__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .keeper__body .keeper__failed { grid-column: 1 / -1; }
  .keeper__reads { margin-top: .45rem; max-width: none; }
}
.keeper__reads li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: var(--rule);
  font-family: var(--grotesk); font-size: .82rem;
}
.keeper__house { color: var(--bone-soft); }
.keeper__read { color: var(--bone-soft); font-variant-numeric: tabular-nums; }

/* ---- Colophon ------------------------------------------------------------ */

.colophon {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) 6rem;
  max-width: 78rem; margin-inline: auto;
  /* Inset by the gutter so the rule ends on the same edges as the masthead's. */
  background: linear-gradient(var(--gilt), var(--gilt)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
  display: grid; gap: .75rem 2rem;
}
@media (min-width: 62rem) {
  .colophon { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .colophon__foot { grid-column: 1 / -1; }
  /* Flush to the same right edge as the masthead action: the page opens and closes
     on the same move, at the same x. */
  .colophon__action { justify-self: end; }
}
/* The caveat is small print, not a statement: it sits in the foot row, set as the operator's link is. */
.colophon__beta { margin: 0; font-size: .92rem; font-style: italic; line-height: 1.5; color: var(--bone-faint); max-width: 40rem; }
.colophon__action { margin: 0; }
.colophon__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .25rem 2rem;
}
.colophon__mark {
  margin: 0; font-family: var(--grotesk); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bone-faint);
}
.colophon__admin { margin: 0; }

/* ---- The spine and the thumb index ---------------------------------------- */

.spine {
  position: fixed; z-index: 4; margin: 0;
  font-family: var(--grotesk); font-size: .68rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--bone-faint);
  pointer-events: none;
}

/* ---- The thumb index ------------------------------------------------------ */

.thumb-index {
  position: fixed; z-index: 5; text-decoration: none;
  background: var(--gilt); color: var(--claret-deep);
  font-family: var(--grotesk); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .72rem;
  display: flex; align-items: center; gap: .6rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.thumb-index svg { width: .75rem; height: .75rem; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thumb-index:hover { background: var(--bone); }

/* On a wide screen the masthead carries identity, so the running head is a phone device only. */
@media (min-width: 62rem) {
  .thumb-index, .spine { display: none; }
}
@media (max-width: 61.999rem) {
  .cta { display: none; }
  /* The running head carries identity on mobile; the masthead would only repeat it. */
  .masthead { display: none; }
  .front-matter { padding-top: clamp(1.75rem, 5vw, 2.5rem); }
  .spine {
    left: 0; right: 0; top: 0; height: 2.1rem;
    display: flex; align-items: center; gap: .5rem;
    padding-inline: var(--gutter); font-size: .6rem; letter-spacing: .24em;
    background: var(--claret-deep); border-bottom: 1px solid var(--gilt); color: var(--bone);
  }
  .spine__place { color: var(--bone-faint); }
  .spine .sep { width: 1.1em; margin: 0 .35em; }
  body { padding-top: 2.1rem; }
  .entries > li, .entry--hero, .ledger__row { scroll-margin-top: 3rem; }
  .thumb-index {
    left: 0; right: 0; bottom: 0; justify-content: center;
    padding: .95rem 1rem; box-shadow: 0 -.4rem 2rem -.5rem rgb(0 0 0 / .5);
  }
  .colophon { padding-bottom: 5.5rem; }
  /* The fixed bar already carries the action on every screen. */
  .colophon__action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}
