/* Direction: property brochure — sand paper, stone cards, one terracotta accent, tall condensed display */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f2ebdf;
  --surface: #fffdf9;
  --surface-2: #e8dfd0;
  --border: #d8cdba;
  --border-strong: #b1a89e;
  --ink: #221c15;
  --muted: #6c6153;
  --accent: #b4542c;
  --accent-hover: #994725;
  --accent-ink: #ffffff;
  --accent-text: #9b4523;
  --accent-strong: #8b3b1d;
  --accent-soft: #f3ddd0;
  --accent-border: #d6a78e;
  --success: #3f6b4a;
  --success-ink: #ffffff;
  --success-soft: #dddccd;
  --success-strong: #3a6244;
  --warning: #8d6a1b;
  --warning-ink: #ffffff;
  --warning-soft: #e6dcc7;
  --warning-strong: #785a17;
  --danger: #a33d27;
  --danger-ink: #ffffff;
  --danger-soft: #e9d6c9;
  --danger-strong: #a33d27;
  --chart-1: #b4542c;
  --chart-2: #92850b;
  --chart-3: #166e4c;
  --chart-4: #1c91b0;
  --chart-5: #514da4;
  --chart-6: #c268a3;

  --font-display: "Archivo Narrow", "Oswald", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.01em;
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-input: 4px;
  --card-pad: 1.25rem;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05);
  --x-on-photo: #ffffff;
  --x-deep: #28201a;
  --x-deep-ink: #f6efe4;
  --x-rule: #c9bba4;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #120904;
  --surface: #2a221d;
  --surface-2: #1e1511;
  --border: #332b27;
  --border-strong: #59534f;
  --ink: #f2ebdf;
  --muted: #989187;
  --accent: #b4542c;
  --accent-hover: #bf6e4c;
  --accent-ink: #ffffff;
  --accent-text: #c57b5b;
  --accent-strong: #c57b5b;
  --accent-soft: #361a0d;
  --accent-border: #5b2b16;
  --success: #3f6b4a;
  --success-ink: #ffffff;
  --success-soft: #1c1f13;
  --success-strong: #75957c;
  --warning: #8d6a1b;
  --warning-ink: #ffffff;
  --warning-soft: #2d1e09;
  --warning-strong: #a68b4d;
  --danger: #a33d27;
  --danger-ink: #ffffff;
  --danger-soft: #32140c;
  --danger-strong: #bd7464;
  --chart-1: #b4542c;
  --chart-2: #a09100;
  --chart-3: #1a9768;
  --chart-4: #0698ba;
  --chart-5: #7474cf;
  --chart-6: #c268a3;
}

/* Lintel — paper grid, slide-in pages, lifting unit tiles, filling rent bar */

body {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.016) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
}

@keyframes lintel-page-in {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

main {
  animation: lintel-page-in 0.42s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.tile {
  transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.tile:hover,
.tile:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.13);
}

.rentbar-fill {
  width: 0;
  transition: width 1.15s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.photo-scrim {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.04));
}

.eyebrow {
  font-size: 0.7rem;
  line-height: 1.1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* rent roll — one dot per unit per month */
.rolldot {
  display: inline-block;
  height: 0.85rem;
  width: 0.85rem;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

button.rolldot {
  cursor: pointer;
}

button.rolldot:hover,
button.rolldot:focus-visible {
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

html.reduced-motion .rolldot,
html.reduced-motion main,
html.reduced-motion .tile,
html.reduced-motion .rentbar-fill {
  animation: none;
  transition: none;
}
