/* =============================================================
   propertyfinder.de — site.css

   Editorial system: warm paper, deep navy, one brass accent.
   Serif for anything carrying an idea, sans for anything carrying
   a number. Sections alternate paper / navy / tinted paper so the
   page reads as chapters.

   The page surface is titles, numbers, icons and pictures. Running
   prose lives in .sheet dialogs — present in the DOM for crawlers,
   off the screen until asked for.
   ============================================================= */

/* ---------------------------------------------------- 1. Tokens */

:root {
  --ink:          #0C1722;
  --ink-2:        #132434;
  --ink-soft:     #2C3D4A;
  --ink-mute:     #5D6B77;
  --ink-faint:    #8A96A0;

  --paper:        #F7F4EE;
  --paper-2:      #F0EBE1;
  --paper-3:      #E5DED1;

  --brass:        #9C7029;
  --brass-mid:    #B98F45;
  --brass-soft:   #D8B879;

  --bg:           var(--paper);
  --fg:           var(--ink);
  --fg-soft:      var(--ink-soft);
  --fg-mute:      var(--ink-mute);
  --rule:         rgba(12, 23, 34, .13);
  --rule-strong:  rgba(12, 23, 34, .26);
  --surface:      #FFFFFF;
  --surface-2:    var(--paper-2);

  /* Buttons invert in dark mode while --ink keeps meaning "the dark band". */
  --btn-bg:       var(--ink);
  --btn-fg:       var(--paper);
  --btn-hover-fg: #FFFFFF;

  --serif: 'Spectral', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shell:        1180px;
  --shell-narrow: 720px;
  --gutter:       clamp(1.15rem, 4vw, 3rem);
  --radius:       3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #080F17;
    --ink:         #101D28;
    --ink-2:       #16242F;
    --paper:       #EDE8DE;
    --paper-2:     #0D1721;
    --paper-3:     #16242F;

    --fg:          #EDE8DE;
    --fg-soft:     #C2CBD3;
    --fg-mute:     #8D9AA5;
    --rule:        rgba(237, 232, 222, .13);
    --rule-strong: rgba(237, 232, 222, .27);
    --surface:     #101C27;
    --surface-2:   #0D1721;

    --brass:       #D8B879;
    --brass-mid:   #C9A465;

    --btn-bg:       #EDE8DE;
    --btn-fg:       #0A131C;
    --btn-hover-fg: #0A131C;
  }
}

/* ---------------------------------------------------- 2. Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body.is-locked, body.is-navopen { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

.icon { flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .75rem 1.25rem; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------- 3. Layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: clamp(3.25rem, 8vw, 6.5rem); }
.section--tint { background: var(--paper-2); }
.section--head { padding-bottom: clamp(2.5rem, 6vw, 4rem); }

.section--dark {
  background: var(--ink);
  color: var(--paper);
  --fg: var(--paper);
  --fg-soft: #C7CFD6;
  --fg-mute: #8F9BA5;
  --rule: rgba(247, 244, 238, .14);
  --rule-strong: rgba(247, 244, 238, .3);
  --surface: rgba(247, 244, 238, .045);
  --brass: var(--brass-soft);
}

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -.015em;
  margin-block: .45rem .6rem;
}
.section__title--sm { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 1.75rem; }

/* Section ledes are one short line. Anything longer belongs in a sheet. */
.section__lede {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--fg-soft);
  max-width: 34em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--brass);
}

.fineprint {
  margin-top: 2rem;
  font-size: .78rem; line-height: 1.6; color: var(--fg-mute);
  max-width: 46rem;
}
.empty { color: var(--fg-mute); font-size: .95rem; }

/* Grid hairlines: 1px gap plus a 1px outset shadow per cell. Painting the
   container instead leaves a block of colour where the last row is short. */
.statbar > .stat,
.citygrid > .citycard,
.tiles > .tile,
.steps > .step { box-shadow: 0 0 0 1px var(--rule); }

/* ---------------------------------------------------- 4. Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--btn-hover-fg); }
.btn--sm { padding: .55rem 1rem; font-size: .8rem; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--brass); border-color: var(--brass); }

.section--dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn:hover { background: var(--brass-soft); border-color: var(--brass-soft); color: var(--ink); }

/* The "read more" affordance — small, quiet, everywhere. */
.more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: auto; padding: .45rem 0 0;
  background: none; border: 0;
  font-size: .78rem; font-weight: 500; letter-spacing: .02em;
  color: var(--brass);
  transition: opacity .16s ease;
}
.more:hover { opacity: .7; }
.more span { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.iconbtn {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--fg-mute); text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.iconbtn:hover { color: var(--brass); border-color: var(--brass); }
.iconbtn--quiet { border-color: transparent; width: 1.7rem; height: 1.7rem; }

/* ---------------------------------------------------- 5. Masthead */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }

.wordmark { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.wordmark__mark { width: 1.75rem; color: var(--brass); flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark__name { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.wordmark__tld { color: var(--brass); }
.wordmark__tag {
  font-size: .55rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 500; white-space: nowrap;
}

.masthead__nav { display: flex; gap: clamp(.8rem, 1.8vw, 1.6rem); margin-left: auto; font-size: .82rem; }
.masthead__nav a {
  text-decoration: none; color: var(--fg-soft); padding-block: .3rem;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.masthead__nav a:hover,
.masthead__nav a[aria-current] { color: var(--fg); border-bottom-color: var(--brass); }

.masthead__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.masthead__nav + .masthead__actions { margin-left: 0; }

.lang {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .6rem;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font-size: .7rem; letter-spacing: .08em; font-weight: 600;
  color: var(--fg-soft); text-decoration: none;
  transition: color .16s ease, border-color .16s ease;
}
.lang:hover { color: var(--brass); border-color: var(--brass); }

.burger {
  display: none; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  color: var(--fg);
}

.mobilenav { border-top: 1px solid var(--rule); background: var(--bg); }
.mobilenav__inner { display: flex; flex-direction: column; gap: .15rem; padding-block: .75rem 1.1rem; }
.mobilenav a {
  padding: .7rem .2rem; text-decoration: none; font-size: .95rem;
  border-bottom: 1px solid var(--rule);
}
.mobilenav a:last-child { border-bottom: 0; margin-top: .6rem; }
.mobilenav .btn { border-bottom: 0; }

@media (max-width: 900px) {
  .masthead__nav { display: none; }
  .masthead__cta { display: none; }
  .burger { display: grid; }
  .masthead__actions { margin-left: auto; }
}
@media (min-width: 901px) { .mobilenav { display: none; } }

@media (max-width: 420px) {
  .wordmark__tag { display: none; }
  .wordmark__name { font-size: .98rem; }
}

/* ---------------------------------------------------- 6. Hero */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.hero__field {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 68%);
}
.hero__inner { position: relative; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 300; letter-spacing: -.025em; line-height: 1.06;
  max-width: 20ch;
  margin-block: .8rem 1.1rem;
}
.hero__lede {
  font-size: clamp(.98rem, 1.4vw, 1.14rem);
  color: var(--fg-soft); max-width: 40rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }

.statbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.stat { background: var(--bg); padding: 1.15rem 1.15rem 1.25rem; }
.stat__value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -.02em; color: var(--brass); line-height: 1;
}
.stat__label { margin-top: .5rem; font-size: .78rem; font-weight: 500; color: var(--fg-soft); }

/* ---------------------------------------------------- 7. Map */

.maptabs {
  display: inline-flex; gap: 1px; margin-bottom: 2rem;
  background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden;
}
.maptab {
  background: transparent; border: 0; padding: .62rem 1.05rem;
  font-size: .78rem; font-weight: 500; color: var(--fg-mute);
  transition: background .16s ease, color .16s ease;
}
.maptab.is-active { background: var(--brass); color: var(--ink); }

.mapgrid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
@media (max-width: 880px) { .mapgrid { grid-template-columns: 1fr; } }

.mapgrid__map { margin: 0; }
.mapcanvas { max-width: 27rem; margin-inline: auto; }
.mapcanvas svg { width: 100%; height: auto; overflow: visible; }

.map__state {
  fill: rgba(247, 244, 238, .07);
  stroke: rgba(247, 244, 238, .22);
  stroke-width: .8;
  transition: fill .2s ease;
}
.map__state.is-lit { fill: rgba(216, 184, 121, .16); }

.map__marker { cursor: pointer; }
.map__dot { fill: var(--brass-soft); stroke: var(--ink); stroke-width: 1.5; transition: fill .18s ease; }
.map__marker[data-tier='b'] .map__dot { fill: rgba(247, 244, 238, .55); }
.map__halo { fill: var(--brass-soft); opacity: 0; transition: opacity .2s ease; }
.map__marker:hover .map__halo, .map__marker.is-active .map__halo { opacity: .2; }
.map__marker:hover .map__dot, .map__marker.is-active .map__dot { fill: #fff; }

.map__label {
  font-family: var(--sans); font-size: 15px; font-weight: 500; fill: var(--paper);
  paint-order: stroke; stroke: var(--ink); stroke-width: 3.5px; stroke-linejoin: round;
  pointer-events: none;
}
.map__marker[data-tier='b'] .map__label { font-size: 13px; fill: #9FAAB4; }
.map__label--w { text-anchor: end; }

.map__taxlabel {
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  text-anchor: middle; pointer-events: none;
}

.mapgrid__panel { min-height: 18rem; }
.mapcard__figure { margin: 0 0 1.1rem; border-radius: var(--radius); overflow: hidden; }
.mapcard__name { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.mapcard__tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--brass); font-size: 1.02rem; margin-top: .25rem;
}
.mapcard__figures {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin-top: 1.25rem; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.mapcard__figures > div { background: var(--ink); padding: .75rem .85rem; }
.mapcard__figures dt {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
}
.mapcard__figures dd { font-family: var(--serif); font-size: 1.12rem; margin-top: .15rem; }

.taxcard__rate {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1; color: var(--brass); letter-spacing: -.03em;
}
.taxcard__name { font-family: var(--serif); font-size: 1.4rem; margin-top: .4rem; }
.taxcard__sub { font-size: .8rem; color: var(--fg-mute); margin-top: .15rem; }
.taxcard__example {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  font-size: .9rem; color: var(--fg-soft); line-height: 1.6;
}

.maplegend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  font-size: .76rem; color: var(--fg-mute);
}
.maplegend__key { display: inline-flex; align-items: center; gap: .45rem; }
.maplegend__swatch { width: .55rem; height: .55rem; border-radius: 50%; background: var(--brass-soft); }
.maplegend__swatch--b { background: rgba(247, 244, 238, .5); width: .4rem; height: .4rem; }
.maplegend__scale { display: inline-flex; align-items: center; gap: .5rem; }
.maplegend__ramp {
  width: 6rem; height: .45rem;
  background: linear-gradient(90deg, rgba(216, 184, 121, .22), rgba(216, 184, 121, .92));
}

/* ---------------------------------------------------- 8. City cards */

.citygrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 1px;
}
.citygrid--rising { grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); }

.citycard {
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: background .2s ease;
}
.citycard:hover { background: var(--surface); }

.citycard__figure { margin: 0; overflow: hidden; background: var(--paper-3); }
.citycard__figure img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.citycard:hover .citycard__figure img { transform: scale(1.03); }

.citycard__body {
  display: flex; flex-direction: column; flex: 1;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}
.citycard__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.citycard__name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.02em; }
.citycard__state {
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600; text-align: right;
}
.citycard__tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--brass); margin-top: .35rem; font-size: .96rem; line-height: 1.35;
}

.citycard__figures {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem .9rem;
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rule);
}
.citycard__figures dt {
  font-size: .6rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
}
.citycard__figures dd {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: -.01em; margin-top: .05rem;
}

.rising { margin-top: clamp(3rem, 6vw, 4.5rem); }
.rising__title { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.015em; }
.rising__lede { margin-top: .4rem; margin-bottom: 1.5rem; color: var(--fg-mute); font-size: .9rem; }

/* ---------------------------------------------------- 9. Directory */

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: .45rem .8rem; font-size: .76rem; font-weight: 500; color: var(--fg-soft);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--brass); color: var(--brass); }
.chip.is-active { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }

.dirgroup + .dirgroup { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.dirgroup[hidden] { display: none; }

.dirgroup__head {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: .7rem; border-bottom: 1px solid var(--rule-strong);
}
.dirgroup__icon { display: grid; place-items: center; color: var(--brass); }
.dirgroup__title { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.015em; }
.dirgroup__count {
  margin-left: auto; font-size: .7rem; color: var(--fg-mute); font-variant-numeric: tabular-nums;
}
.dirgroup__lede { margin-top: .7rem; font-size: .85rem; color: var(--fg-mute); }

.tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1px;
  margin-top: 1.25rem;
}
.tile {
  display: flex; align-items: center; gap: .85rem;
  background: var(--bg); padding: 1rem 1.1rem;
  transition: background .18s ease;
}
.tile:hover { background: var(--surface); }
.tile__mark {
  flex: none; width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  background: var(--ink); color: var(--brass-soft);
  font-family: var(--serif); font-size: .85rem; font-weight: 500;
  border-radius: var(--radius);
}
.tile__body { min-width: 0; flex: 1; }
.tile__name { font-family: var(--serif); font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.tile__meta {
  font-size: .62rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600; margin-top: .2rem;
}
.tile__actions { display: flex; gap: .3rem; flex: none; }

/* ---------------------------------------------------- 10. Steps */

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1px;
  counter-reset: step;
}
.step {
  display: flex; flex-direction: column;
  background: var(--ink); padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.step__icon { color: var(--brass-soft); margin-bottom: .9rem; }
.step__num {
  font-family: var(--serif); font-size: .8rem; letter-spacing: .1em;
  color: var(--brass-soft); opacity: .7;
}
.step__title {
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: -.01em;
  margin-top: .3rem; margin-bottom: .75rem;
}

/* ---------------------------------------------------- 11. Sheets */

dialog.sheet {
  width: min(38rem, calc(100vw - 2rem));
  max-height: min(80vh, 46rem);
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
}
dialog.sheet::backdrop { background: rgba(8, 15, 23, .62); backdrop-filter: blur(3px); }

.sheet__inner { display: flex; flex-direction: column; max-height: inherit; }
.sheet__head {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.35rem 1.5rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.sheet__title {
  font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.7rem);
  letter-spacing: -.02em; flex: 1;
}
.sheet__close {
  flex: none; display: grid; place-items: center;
  width: 2rem; height: 2rem; margin: -.25rem -.4rem 0 0;
  background: none; border: 0; color: var(--fg-mute); border-radius: var(--radius);
}
.sheet__close:hover { color: var(--fg); }

.sheet__body { padding: 1.25rem 1.5rem 1.6rem; overflow-y: auto; }
.sheet__body p { font-size: .94rem; line-height: 1.7; color: var(--fg-soft); }
.sheet__body p + p { margin-top: .9rem; }
.sheet__body .btn { margin-top: 1.25rem; }

.sheet__kicker {
  font-size: .64rem !important; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--brass) !important; margin-bottom: .7rem;
}
.sheet__host { font-size: .74rem !important; color: var(--fg-mute) !important; margin-top: .6rem; }

.sheet__note {
  margin-top: 1.25rem; padding: .95rem 1.1rem;
  background: var(--surface-2); border-left: 2px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0;
}
.sheet__note b {
  display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .3rem;
}
.sheet__note p { font-size: .86rem !important; }

.sheet__figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1px;
  margin-top: 1.35rem; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.sheet__figures > div { background: var(--bg); padding: .7rem .8rem; }
.sheet__figures dt {
  font-size: .6rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
}
.sheet__figures dd { font-family: var(--serif); font-size: 1.05rem; margin-top: .1rem; }

/* ---------------------------------------------------- 12. Calculator */

.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

.calc__controls, .calc__result { background: var(--bg); padding: clamp(1.35rem, 3vw, 2.15rem); }
.calc__result { background: var(--surface-2); }

.field + .field { margin-top: 1.35rem; }
.field__label {
  display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--fg-mute); margin-bottom: .45rem;
}
.field__money {
  display: flex; align-items: baseline; gap: .4rem;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: .3rem;
}
.field__money span { font-family: var(--serif); font-size: 1.4rem; color: var(--fg-mute); }
.field__money input {
  flex: 1; min-width: 0; border: 0; background: none; padding: 0;
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.95rem);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.field__money input:focus { outline: none; }
.field__money:focus-within { border-bottom-color: var(--brass); }
.field__money--suffix input { flex: 0 1 4.5ch; }
.field__money input::-webkit-outer-spin-button,
.field__money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__money input[type='number'] { -moz-appearance: textfield; appearance: textfield; }

input[type='range'] { width: 100%; margin-top: .85rem; accent-color: var(--brass); }

select, .enquiry input[type='text'], .enquiry input[type='email'], .enquiry textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  padding: .65rem .8rem; font-size: .88rem;
}
select:focus, .enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--brass); }
.enquiry textarea { resize: vertical; font-family: inherit; }

.breakdown { border-top: 1px solid var(--rule); }
.breakdown__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--rule);
}
.breakdown__label { font-size: .85rem; color: var(--fg-soft); }
.breakdown__pct {
  font-size: .68rem; color: var(--fg-mute); font-variant-numeric: tabular-nums; margin-left: .4rem;
}
.breakdown__value {
  font-family: var(--serif); font-size: 1.02rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.breakdown__row--sum { border-bottom-width: 0; padding-top: 1rem; }
.breakdown__row--sum .breakdown__label { font-weight: 600; color: var(--fg); }
.breakdown__row--sum .breakdown__value { font-size: 1.25rem; color: var(--brass); }

.breakdown__total { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 2px solid var(--rule-strong); }
.breakdown__total .breakdown__label {
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--fg-mute);
}
.breakdown__total .breakdown__value {
  display: block; font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -.025em; margin-top: .2rem;
}

.bar { display: flex; height: .5rem; margin-top: 1.25rem; overflow: hidden; background: var(--rule); }
.bar__seg { height: 100%; }
.bar__seg:nth-child(1) { background: var(--brass); }
.bar__seg:nth-child(2) { background: var(--brass-mid); }
.bar__seg:nth-child(3) { background: var(--brass-soft); }
.bar__seg:nth-child(4) { background: var(--ink-faint); }

/* ---------------------------------------------------- 13. Enquiry */

.enquiry__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 1.1rem; }
.enquiry__row + .enquiry__row, .enquiry__row + .field { margin-top: 1.1rem; }
.enquiry__row .field + .field { margin-top: 0; }
.enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.enquiry__status { font-size: .84rem; color: var(--fg-mute); }
.enquiry__status[data-state='ok'] { color: var(--brass); }
.enquiry__status[data-state='error'] { color: #B4472F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------- 14. Articles */

.postgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.post { background: var(--bg); }
.post__link { display: block; text-decoration: none; color: inherit; }
.post__figure { margin: 0 0 .9rem; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.post__figure img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.post__link:hover .post__figure img { transform: scale(1.03); }
.post__meta {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
}
.post__title {
  font-family: var(--serif); font-size: 1.28rem; letter-spacing: -.015em;
  margin-top: .4rem; line-height: 1.22;
}
.post__link:hover .post__title { color: var(--brass); }
.post__summary { margin-top: .5rem; font-size: .88rem; color: var(--fg-mute); line-height: 1.55; }

.article { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.backlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  color: var(--brass); text-decoration: none; margin-bottom: 1.75rem;
}
.backlink .icon { transform: rotate(180deg); }
.article__meta {
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
}
.article__title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 300; letter-spacing: -.025em; line-height: 1.08; margin-top: .6rem;
}
.article__summary {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300; color: var(--fg-soft); margin-top: .9rem;
}
.article__hero {
  margin: clamp(2rem, 4vw, 3rem) 0; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gutter);
}
.article__hero img { width: 100%; border-radius: var(--radius); }

.takeaways {
  margin-bottom: 2.25rem; padding: 1.25rem 1.4rem;
  background: var(--surface-2); border-left: 2px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.takeaways li {
  position: relative; padding-left: 1.2rem; font-size: .92rem; line-height: 1.6; color: var(--fg-soft);
}
.takeaways li + li { margin-top: .55rem; }
.takeaways li::before { content: '—'; position: absolute; left: 0; color: var(--brass); }

.prose__section + .prose__section { margin-top: 2.25rem; }
.prose h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: -.015em; margin-bottom: .75rem;
}
.prose p { font-size: 1rem; line-height: 1.75; color: var(--fg-soft); }
.prose p + p { margin-top: 1rem; }

.article__sources {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-strong);
}
.article__sources h2 {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--brass); margin-bottom: .75rem;
}
.article__sources li { font-size: .88rem; }
.article__sources li + li { margin-top: .3rem; }

/* ---------------------------------------------------- 15. Colophon */

.colophon {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  --rule: rgba(247, 244, 238, .14);
}
.colophon__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.colophon__title {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--brass-soft); margin-bottom: .9rem;
}
.colophon__body { font-size: .82rem; line-height: 1.65; color: #B4BEC6; max-width: 32rem; }
.colophon__body--sm { margin-top: 1.1rem; font-size: .76rem; }
.colophon__links { display: flex; flex-direction: column; gap: .45rem; }
.colophon__links a { font-size: .84rem; color: #D6DDE3; text-decoration: none; }
.colophon__links a:hover { color: var(--brass-soft); }

.colophon__fine {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .72rem; line-height: 1.55; color: #8896A1;
}
.colophon__fine p:first-child { max-width: 52rem; }

/* ---------------------------------------------------- 16. Legal pages */

.doc { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.doc h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 2.7rem); letter-spacing: -.02em; margin-bottom: 1.25rem; }
.doc h2 { font-family: var(--serif); font-size: 1.28rem; letter-spacing: -.01em; margin-top: 2.25rem; margin-bottom: .6rem; }
.doc p, .doc li { font-size: .93rem; line-height: 1.7; color: var(--fg-soft); }
.doc p + p { margin-top: .9rem; }
.doc ul { margin-top: .7rem; display: flex; flex-direction: column; gap: .35rem; }
.doc li { padding-left: 1.1rem; position: relative; }
.doc li::before { content: '—'; position: absolute; left: 0; color: var(--brass); }
.doc .todo {
  background: var(--surface-2); border-left: 2px solid var(--brass);
  padding: 1rem 1.2rem; font-size: .85rem; color: var(--fg-mute); margin-top: 1rem;
}
.doc__note {
  margin-top: .9rem; font-size: .85rem; color: var(--fg-mute);
  padding-left: 1.2rem; border-left: 1px solid var(--rule-strong);
}
.doc__rule { border: 0; border-top: 1px solid var(--rule-strong); margin-block: 2.75rem 0; }
.doc code {
  font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 2px;
}

/* ---------------------------------------------------- 17. 404 */

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost__code {
  font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 10rem);
  line-height: 1; letter-spacing: -.04em; color: var(--brass);
}
.lost__title { font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2rem); margin-top: .4rem; }
.lost__body { color: var(--fg-mute); margin-top: .9rem; max-width: 30rem; }
.lost .btn { margin-top: 1.75rem; }

/* ---------------------------------------------------- Stance strip */

/* The "we don't sell" statement. Deliberately the quietest section on the page
   visually and the loudest in meaning — it sits on tinted ground between the
   hero and the map, where it is unavoidable but not shouty. */
.section--stance {
  background: var(--paper-2);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-block: 1px solid var(--rule);
}

.section__head--center { margin-inline: auto; text-align: center; }

.stance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 58rem;
  margin-inline: auto;
}

.stance__card { text-align: center; }

.stance__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--brass);
  margin-bottom: .9rem;
}

.stance__title {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -.01em;
}

.stance__line {
  margin-top: .35rem;
  font-size: .86rem;
  color: var(--fg-mute);
  line-height: 1.5;
}

.stance__more { display: flex; justify-content: center; margin-top: 2.25rem; }
