/* Building Land — site styles. Tokens first; everything below reads them. */
/* Inter (SIL OFL 1.1, assets/fonts/OFL.txt) — variable weight, self-hosted, two subsets */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Brand — the website logo's teal (logo.webp); no bright green in the UI */
  --ink: #0f2e36;          /* deep teal-navy: text, dark bands */
  --ink-soft: #4b5f64;     /* secondary text */
  --brand: #176f84;        /* wordmark teal — links, buttons, accents */
  --brand-light: #8fc3cc;  /* accents on dark bands only */
  --paper: #f6f8f8;        /* page background (cool neutral) */
  --plot: #e3eff1;         /* highlighted parcel fill */
  --line: #d5dfe1;         /* hairlines, neighbour parcels */
  --white: #fff;

  --font: "Inter", system-ui, sans-serif;
  --text-sm: .875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);

  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2.5rem; --sp-5: 4rem; --sp-6: 6rem;
  --radius: 6px;
  --frame: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--text-base)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--sp-2); letter-spacing: -.01em; }
h1 { font-size: var(--text-2xl); font-weight: 800; }
h2 { font-size: var(--text-xl); font-weight: 800; }
h3 { font-size: var(--text-lg); font-weight: 700; }
p { margin: 0 0 var(--sp-2); }

.wrap { max-width: var(--frame); margin: 0 auto; padding: 0 var(--sp-3); }
.prose { max-width: 40em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--sp-2); top: var(--sp-2); background: var(--white); padding: var(--sp-1) var(--sp-2); z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px;
  padding: .7em 1.3em; border-radius: var(--radius); border: 2px solid var(--brand);
  font: 700 var(--text-base)/1.2 var(--font); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--white); }

/* Header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: var(--sp-3); min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand .m { height: 34px; width: auto; }
.brand .w { height: 17px; width: auto; }
.nav { display: flex; gap: var(--sp-3); margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); }
.nav a:hover { color: var(--brand); text-decoration: underline; }
.top .btn { min-height: 40px; padding: .45em 1em; font-size: var(--text-sm); }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: 0; } }

/* Phone/tablet menu: a <details> disclosure, works without JS (JS only closes it after an in-page jump) */
.mnav { display: none; margin-left: auto; position: relative; }
@media (max-width: 860px) { .mnav { display: block; } }
.mnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5em; min-height: 44px;
  padding: 0 .9em; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: var(--text-sm); color: var(--ink); background: var(--white); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::before { content: ""; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.mnav[open] summary { border-color: var(--brand); color: var(--brand); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 15rem; display: grid; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(15, 46, 54, .14); padding: .4rem 0; z-index: 20; }
.mnav nav a { padding: .8em 1.1em; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav nav a:hover, .mnav nav a:focus-visible { background: var(--plot); color: var(--brand); }
@media (max-width: 480px) { .top .btn { display: none; } } /* the hero carries the same CTA */

/* Hero */
.hero { padding: var(--sp-5) 0 var(--sp-6); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp-5); align-items: center; }
.hero .lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 var(--sp-3); }
.hero .fee { font-size: var(--text-sm); color: var(--ink-soft); border-left: 3px solid var(--brand); padding-left: var(--sp-2); max-width: 30em; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); } }

/* The cadastral map — the one bold element */
.map { width: 100%; height: auto; }
.map .street { fill: var(--white); }
.map .parcel { fill: none; stroke: #b9c8cb; stroke-width: 1.5; }
.map .target { fill: var(--plot); stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; }
.map .dim { stroke: var(--ink-soft); stroke-width: 1; }
.map text { font: 600 12px var(--font); fill: var(--ink-soft); }
.map .area { font-size: 15px; font-weight: 800; fill: var(--brand); }
/* One 5.5s cycle, repeated: draw the parcel, fill it, raise the mark, show the area,
   hold ~1.5s, fade out, start again. Over 5s of auto-motion → a pause control is
   required (WCAG 2.2.2): .map-toggle, wired by the inline script in index.html. */
@media (prefers-reduced-motion: no-preference) {
  .map .target { stroke-dasharray: 760; animation: m-target 5.5s ease-out infinite; }
  .map .rise { transform-box: fill-box; animation: m-rise 5.5s ease-out infinite; }
  .map .area { animation: m-area 5.5s ease-out infinite; }
  .map.paused .target, .map.paused .rise, .map.paused .area { animation-play-state: paused; }
}
@keyframes m-target {
  0%       { stroke-dashoffset: 760; fill-opacity: 0; opacity: 1; }
  25%      { stroke-dashoffset: 0;   fill-opacity: 0; }
  33%, 77% { stroke-dashoffset: 0;   fill-opacity: 1; opacity: 1; }
  87%, 100% { stroke-dashoffset: 0;  fill-opacity: 1; opacity: 0; }
}
@keyframes m-rise {
  0%, 30%  { opacity: 0; transform: translateY(14px); }
  45%, 77% { opacity: 1; transform: none; }
  87%, 100% { opacity: 0; transform: none; }
}
@keyframes m-area {
  0%, 40%  { opacity: 0; }
  50%, 77% { opacity: 1; }
  87%, 100% { opacity: 0; }
}
.hero-art { display: grid; gap: var(--sp-1); }
.hero-art .map-toggle { justify-self: end; }
.map-toggle { background: none; border: 0; padding: .4em .2em; min-height: 24px; cursor: pointer;
  font: 600 var(--text-sm) var(--font); color: var(--ink-soft); text-decoration: underline; }
.map-toggle:hover { color: var(--brand); }

/* Fee band */
.fee-band { background: var(--ink); color: var(--white); padding: var(--sp-5) 0; }
.fee-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.fee-band h2 { font-size: var(--text-2xl); }
.fee-band p { color: #c9dade; font-size: var(--text-lg); }
@media (max-width: 860px) { .fee-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
section { scroll-margin-top: 80px; }
.sec { padding: var(--sp-6) 0; }
.sec-head { margin-bottom: var(--sp-4); }
.sec-head p { color: var(--ink-soft); }

/* Steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: var(--sp-2); }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-size: var(--text-xl); color: var(--brand); margin-bottom: var(--sp-1); }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Builders */
/* Builders: the second audience gets its own brand-teal band */
.builders { background: var(--brand); color: var(--white); }
.builders .prose p, .builders ul { color: #e3f1f3; }
.builders ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.builders li { padding-left: 1.6em; position: relative; }
.builders li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8em; height: .8em;
  border: 2px solid var(--white); border-radius: 2px; transform: rotate(-5deg); }
.btn-light { background: var(--white); color: var(--brand); border-color: var(--white); }
.btn-light:hover { background: var(--plot); border-color: var(--plot); }
.builders :focus-visible { outline-color: var(--white); }
.builders .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-4); align-items: center; }
.builders ul { margin: 0; }
@media (max-width: 860px) { .builders .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--sp-3) 2rem var(--sp-3) 0; font-weight: 700; font-size: var(--text-lg); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); max-width: 44em; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-5); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }
form { display: grid; gap: var(--sp-3); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); }
legend { font-weight: 700; margin-bottom: var(--sp-1); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3); }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr); } }
label { display: grid; gap: .35rem; font-weight: 600; font-size: var(--text-sm); }
.choice { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--text-base); font-weight: 500; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7em .8em; min-height: 48px; }
input:focus, textarea:focus { border-color: var(--brand); }
.choice input { min-height: auto; width: 1.15rem; height: 1.15rem; margin-top: .25em; flex: none; accent-color: var(--brand); }
.hint { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.reach { list-style: none; padding: 0; margin: 0 0 var(--sp-3); display: grid; gap: var(--sp-2); }
.reach a { font-weight: 700; text-decoration: none; }
.reach a:hover { text-decoration: underline; }
.reach small { display: block; color: var(--ink-soft); font-size: var(--text-sm); }
.apps { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.apps a { border: 1.5px solid var(--line); border-radius: 999px; padding: .4em .9em; text-decoration: none; font-weight: 600; font-size: var(--text-sm); background: var(--white); }
.apps a:hover { border-color: var(--brand); }

/* Footer */
.foot { background: var(--ink); color: #b7c8cc; padding: var(--sp-4) 0; font-size: var(--text-sm); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); justify-content: space-between; }
.foot a { color: var(--white); }

/* Subpages: legal texts, thank-you, errors, 404 */
.page { padding: var(--sp-5) var(--sp-3) var(--sp-6); }
.page > * { max-width: 44em; }
.page h1 { font-size: var(--text-xl); }
.page h2 { font-size: var(--text-lg); margin-top: var(--sp-4); }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .4em; }
.page .meta { color: var(--ink-soft); font-size: var(--text-sm); }
.notice { list-style: none; padding: var(--sp-2) var(--sp-3) !important; border-left: 3px solid var(--brand); background: var(--white); }
/* Short pages: keep the footer at the bottom of the viewport */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }

/* Articles */
.page .lead { font-size: var(--text-lg); color: var(--ink-soft); }
.articles { list-style: none; padding: 0 !important; }
.articles li { border-top: 1px solid var(--line); padding: var(--sp-3) 0; margin: 0; }
.articles a { font-weight: 700; font-size: var(--text-lg); }
.articles p { color: var(--ink-soft); margin: .4em 0 0; }
.page h3, .art-body h3 { font-size: var(--text-base); margin: var(--sp-3) 0 .3em; }
/* Numbered source references: [1] in the text, "Източници" list at the end */
.page a.fn, .art-body a.fn { font-size: .75em; vertical-align: super; line-height: 1; padding: 0 .15em; text-decoration: none; }
.page .sources, .art-body .sources { padding-left: 1.4em; font-size: var(--text-sm); color: var(--ink-soft); }
.page .sources li, .art-body .sources li { scroll-margin-top: 80px; }
.page .sources li:target, .art-body .sources li:target { color: var(--ink); }
.cta-box { margin-top: var(--sp-5); padding: var(--sp-4); background: var(--ink); color: var(--white); border-radius: var(--radius); }
.cta-box h2 { margin-top: 0; }
.cta-box p { color: #c9dade; }
.cta-box .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-box .btn-primary:hover { background: var(--plot); }

/* Landing: a short block of article links */
.reads { background: var(--white); border-block: 1px solid var(--line); padding: var(--sp-5) 0; }
.reads-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-3); }
.reads-head h2 { margin: 0; }
.reads-head a { font-weight: 700; }
.reads-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.reads-list li { border-top: 2px solid var(--line); padding-top: var(--sp-2); }
.reads-list a { font-weight: 700; font-size: var(--text-lg); }
.reads-list p { color: var(--ink-soft); margin: .4em 0 0; }
@media (max-width: 700px) { .reads-list { grid-template-columns: minmax(0, 1fr); } }

.nowrap { white-space: nowrap; }

/* "Why us": a tinted band carrying the hero's cadastral motif as a faint pattern */
.why { background-color: var(--plot);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'%3E%3Cpath d='M0 40 L90 32 L96 110 L4 118 Z M96 110 L180 104 L184 190 L100 196 Z M180 20 L240 24 M120 0 L126 60 L232 52' fill='none' stroke='%23c6dfe3' stroke-width='1.2'/%3E%3C/svg%3E");
  border-block: 1px solid var(--line); }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.why-grid li { background: var(--white); border-radius: var(--radius); padding: var(--sp-3); border-top: 3px solid var(--brand); }
.why-grid .ico { width: 36px; height: 36px; fill: none; stroke: var(--brand); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--sp-2); }
.why-grid p { color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact: the closing dark band (bookends the "Плащате само ако…" band) */
.contact { background: var(--ink); color: var(--white); }
.contact h2, .contact h3 { color: var(--white); }
.contact .prose, .contact .hint, .contact .reach small { color: #c3d6da; }
.contact label, .contact legend { color: var(--white); }
.contact input:not([type=radio]):not([type=checkbox]), .contact textarea { border-color: transparent; }
.contact input:focus, .contact textarea:focus { border-color: var(--brand-light); }
.contact .choice input { accent-color: var(--brand-light); }
.contact a { color: #9fd3dc; }
.contact .reach li { color: #e3eef0; }
.contact .apps a { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.contact .apps a:hover { border-color: var(--white); }
.contact :focus-visible { outline-color: var(--white); }
.foot { background: #0a2228; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Phones: 6rem above and below every section stacked into ~200px of blank between two sections */
@media (max-width: 560px) {
  .sec { padding: var(--sp-5) 0; }
  .fee-band { padding: var(--sp-4) 0; }
  .hero { padding: var(--sp-4) 0 var(--sp-5); }
}

/* ── Articles ─────────────────────────────────────────────────────────────── */
/* Header band: same tint and cadastral pattern as "why us", so articles read as part of the site */
.art-head { background-color: var(--plot); background-image: inherit; border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0 var(--sp-5); }
.art-head { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'%3E%3Cpath d='M0 40 L90 32 L96 110 L4 118 Z M96 110 L180 104 L184 190 L100 196 Z M180 20 L240 24 M120 0 L126 60 L232 52' fill='none' stroke='%23c6dfe3' stroke-width='1.2'/%3E%3C/svg%3E"); }
.art-head h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); max-width: 22em; margin-bottom: var(--sp-2); }
.art-head .lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 38em; margin: 0; }
.crumbs { font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: var(--sp-3); }
.crumbs a { color: var(--brand); font-weight: 600; }
.art-meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; font-size: var(--text-sm); color: var(--ink-soft); margin: 0 0 var(--sp-3); }
.art-meta span + span::before { content: ""; display: inline-block; width: .35em; height: .35em; margin-right: 1.2em;
  vertical-align: middle; background: var(--brand); transform: rotate(45deg); }

/* Body + contents: two columns on wide screens, contents first and folded on phones */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); padding-top: var(--sp-4); padding-bottom: var(--sp-5); }
@media (min-width: 1000px) {
  .art-layout { grid-template-columns: 15rem minmax(0, 42em); gap: var(--sp-5); justify-content: start; }
  .toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}
.toc details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: var(--sp-2) var(--sp-3); }
.toc summary { cursor: pointer; font-weight: 700; font-size: var(--text-sm); color: var(--ink); min-height: 24px; }
.toc ol { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: .55em; counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 1.6em minmax(0, 1fr); font-size: var(--text-sm); line-height: 1.4; }
.toc li::before { content: counter(t); color: var(--brand); font-weight: 700; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* Reading typography */
.art-body { font-size: 1.125rem; line-height: 1.75; }
.art-body > * { max-width: 42em; }
.art-body h2 { font-size: var(--text-xl); line-height: 1.25; margin: var(--sp-5) 0 var(--sp-2); padding-top: var(--sp-3);
  border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.art-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.art-body ul, .art-body ol:not(.sources) { padding-left: 1.4em; }
.art-body ul { list-style: none; padding-left: 1.5em; }
.art-body ul > li { position: relative; margin-bottom: .5em; }
.art-body ul > li::before { content: ""; position: absolute; left: -1.25em; top: .68em; width: .45em; height: .45em;
  background: var(--brand); transform: rotate(-5deg); }
.art-body strong { color: var(--ink); }
.art-body .sources { margin-top: var(--sp-2); padding: var(--sp-3) var(--sp-3) var(--sp-3) 2.6em; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.55; }
.art-body .sources li { margin-bottom: .6em; }
.art-body .meta { font-size: var(--text-sm); color: var(--ink-soft); }
.art-body a { overflow-wrap: anywhere; }

/* "Read more" and the index: cards */
.related { padding-bottom: var(--sp-4); }
.related > h2 { font-size: var(--text-xl); margin-bottom: var(--sp-3); }
.art-list { padding-top: var(--sp-4); padding-bottom: var(--sp-6); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--sp-3); }
.card a { display: flex; flex-direction: column; height: 100%; padding: var(--sp-3); background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.card a:hover { border-top-color: var(--brand); }
.card a:hover .card-title { color: var(--brand); }
.card-title { font-size: var(--text-lg); line-height: 1.3; margin: 0 0 var(--sp-1); }
.card p { color: var(--ink-soft); margin: 0 0 var(--sp-2); flex: 1; }
.card-meta { font-size: var(--text-sm); color: var(--brand); font-weight: 600; }
.art-cta { padding-bottom: var(--sp-6); }
.art-cta .cta-box { margin-top: 0; }
@media (max-width: 560px) { .art-head .lead { font-size: 1.0625rem; } .art-head { padding: var(--sp-3) 0 var(--sp-4); } }

/* Landing: four article cards read best as 2 x 2 (auto-fill left a lone card on wide screens) */
.reads .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .reads .cards { grid-template-columns: minmax(0, 1fr); } }

/* Header must never overlap: with a large browser zoom/text size the brand did not shrink and the
   phone menu covered "Building Land" (owner's phone, 2026-10-13). The brand now yields space. */
.top .wrap { gap: var(--sp-2); }
.brand { min-width: 0; flex: 0 1 auto; overflow: hidden; }
.brand img { min-width: 0; flex: 0 1 auto; }
.brand .w { height: auto; width: 112px; max-width: 100%; }
.mnav, .top .btn { flex: none; }
@media (max-width: 400px) {
  .brand .m { height: 28px; }
  .brand .w { width: 92px; }
  .mnav summary { padding: 0 .65em; }
}
