:root {
  --ink: #142b35;
  --muted: #5d6a70;
  --paper: #fbf8f2;
  --paper-2: #f4efe4;
  --white: #fffdf8;
  --stone: #e7dfd2;
  --line: rgba(20, 43, 53, 0.14);
  --line-soft: rgba(20, 43, 53, 0.08);
  --river: #2f7f78;
  --river-dark: #174a5a;
  --roof: #8a2d3b;
  --gold: #c69a38;
  --blue: #245b8f;
  --green: #3f7c51;
  --content: 1160px;
  --gutter: clamp(18px, 4vw, 42px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(20, 43, 53, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #fffdf8 0%, #fbf8f2 44%, #efe8dc 100%);
  color: var(--ink);
}

a { color: var(--river-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(132px, 180px) 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px max(var(--gutter), calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; width: min(170px, 52vw); }
.brand img { display: block; width: 100%; height: auto; }

.px-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.px-nav a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  border-radius: 6px 6px 0 0;
  color: var(--muted);
  text-decoration: none;
}

.px-nav a b {
  color: inherit;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.px-nav a span {
  color: inherit;
  font-size: 10.5px;
  font-weight: 650;
  opacity: 0.75;
  white-space: nowrap;
}

.px-nav a:hover,
.px-nav a.on {
  color: var(--ink);
  background: rgba(20, 43, 53, 0.045);
}

.px-nav a:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.signal-strip a:focus-visible,
.daily-board a:focus-visible,
.price-sample a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(138, 45, 59, 0.22);
  border-radius: 6px;
  background: rgba(138, 45, 59, 0.07);
  color: var(--roof);
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
}

main {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100vh - 72px));
  padding: clamp(34px, 6vh, 64px) var(--gutter) 34px;
}

.portal-hero {
  min-height: min(760px, calc(100vh - 72px));
  padding-bottom: 42px;
}

.px-radar,
.prague-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.px-radar {
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.map-lines {
  position: absolute;
  inset: -10% -6%;
  width: 112%;
  height: 118%;
}

.vltava {
  fill: none;
  stroke: rgba(47, 127, 120, 0.25);
  stroke-width: 24;
}

.tram {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
  opacity: 0.075;
}

.tram.red { stroke: var(--roof); }
.tram.teal { stroke: var(--river-dark); }
.tram.gold { stroke: var(--gold); }

.bridges path {
  stroke: rgba(20, 43, 53, 0.1);
  stroke-width: 12;
  stroke-linecap: round;
}

.signal {
  position: absolute;
  color: rgba(20, 43, 53, 0.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.signal::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 8px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 15px solid rgba(20, 43, 53, 0.35);
  transform: rotate(-24deg);
}

.s1 { left: 12%; top: 30%; }
.s2 { left: 48%; top: 18%; }
.s3 { right: 13%; top: 31%; }
.s4 { right: 20%; bottom: 23%; }

.spire {
  position: absolute;
  width: 54px;
  height: 132px;
  border-radius: 24px 24px 0 0;
  background: rgba(20, 43, 53, 0.045);
  transform: skewX(-14deg);
}

.spire::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -48px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 50px solid rgba(138, 45, 59, 0.08);
}

.sp1 { left: 7%; bottom: 4%; height: 190px; }
.sp2 { left: 35%; bottom: -2%; height: 150px; }
.sp3 { right: 6%; bottom: 8%; height: 220px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  max-width: var(--content);
  margin: 0 auto;
}

.intro {
  position: relative;
  max-width: 690px;
}

.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22px -30px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.74) 68%, transparent);
  pointer-events: none;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--river-dark);
  font-size: 12.5px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  width: min(350px, 100%);
  max-height: 88px;
  margin: 0 0 24px;
  object-fit: contain;
  object-position: left center;
}

h1,
.front-desk h2,
.proof-board h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.52;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 620px);
  margin-top: 22px;
  border: 1px solid rgba(20, 43, 53, 0.18);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 36px rgba(20, 43, 53, 0.08);
  overflow: hidden;
}

.home-search input,
.home-search button {
  min-height: 48px;
  border: 0;
  font: inherit;
}

.home-search input {
  min-width: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.home-search input::placeholder { color: rgba(93, 106, 112, 0.76); }

.home-search button {
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.home-search button:hover { background: var(--river-dark); }

.search-note {
  max-width: 600px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.launch-row {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: baseline;
  margin-top: 24px;
  padding: 9px 12px;
  border: 1px solid rgba(20, 43, 53, 0.12);
  border-left: 4px solid var(--gold);
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.launch-row strong {
  color: var(--ink);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.primary-action {
  background: var(--ink);
  color: var(--white);
}

.primary-action:hover {
  background: var(--river-dark);
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(20, 43, 53, 0.16);
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
}

.secondary-action:hover {
  border-color: var(--river);
  background: rgba(47, 127, 120, 0.08);
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.languages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 32px;
  border: 1px solid rgba(20, 43, 53, 0.16);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.languages span:nth-child(1) { border-color: rgba(138, 45, 59, 0.44); }
.languages span:nth-child(2) { border-color: rgba(47, 127, 120, 0.42); }
.languages span:nth-child(3) { border-color: rgba(198, 154, 56, 0.56); }

.daily-board {
  margin-top: clamp(14px, 3vh, 38px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 20px 50px rgba(20, 43, 53, 0.11);
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(20, 43, 53, 0.035), rgba(47, 127, 120, 0.07));
}

.board-head .panel-kicker { margin: 0; }
.board-head time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.focus-story {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(198, 154, 56, 0.12), rgba(255, 253, 248, 0.88) 44%),
    rgba(255, 253, 248, 0.9);
}

.focus-story p {
  margin: 0 0 9px;
  color: var(--roof);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-story h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.06;
}

.focus-story h2 a {
  color: var(--ink);
  text-decoration: none;
}

.focus-story h2 a:hover {
  color: var(--river-dark);
  text-decoration: underline;
}

.focus-story span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
}

.pulse-line {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
}

.pulse-line:last-child { border-bottom: 0; }
.pulse-line:hover { background: rgba(20, 43, 53, 0.035); }

.pulse-line span {
  align-self: start;
  padding-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-line b {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.pulse-line.civic span { color: var(--river-dark); }
.pulse-line.business span { color: var(--roof); }
.pulse-line.price span { color: var(--blue); }

.project-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: -1px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
}

.project-stats div {
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.project-stats div:last-child { border-right: 0; }

.project-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1;
  color: var(--ink);
}

.project-stats span,
.project-stats em {
  display: block;
  margin-top: 7px;
}

.project-stats span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.project-stats em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
}

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
}

.signal-strip a {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.signal-strip a:last-child { border-right: 0; }
.signal-strip a:hover { background: rgba(47, 127, 120, 0.07); }

.signal-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.15;
}

.signal-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.35;
}

.front-desk,
.proof-board,
.notice,
.city-map-section,
.portal-grid,
.collections-block,
.editorial-grid,
.people-block,
.drafts-block {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 34px auto 0;
  padding: 0 var(--gutter);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head.compact {
  align-items: baseline;
  margin-bottom: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.section-head.compact h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.section-head > a,
.section-head.compact a {
  color: var(--river-dark);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.section-head > a:hover,
.section-head.compact a:hover {
  text-decoration: underline;
}

.city-map-section {
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.city-map-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    radial-gradient(circle at 52% 42%, rgba(47, 127, 120, 0.12), transparent 34%),
    linear-gradient(128deg, transparent 0 18%, rgba(138, 45, 59, 0.12) 18.4% 20%, transparent 20.4% 100%),
    linear-gradient(26deg, transparent 0 42%, rgba(36, 91, 143, 0.12) 42.4% 44%, transparent 44.4% 100%),
    linear-gradient(90deg, rgba(20, 43, 53, 0.055) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 228, 0.92));
}

.city-map-frame::before {
  content: "";
  position: absolute;
  left: 48%;
  top: -14%;
  width: 82px;
  height: 128%;
  border-radius: 999px;
  background: rgba(47, 127, 120, 0.15);
  transform: rotate(12deg);
}

.map-copy {
  position: absolute;
  left: 22px;
  top: 22px;
  width: min(330px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid rgba(20, 43, 53, 0.12);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.88);
}

.map-copy strong,
.map-copy span {
  display: block;
}

.map-copy strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.12;
}

.map-copy span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}

.map-pin {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 9px 11px;
  border: 1px solid rgba(20, 43, 53, 0.16);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 30px rgba(20, 43, 53, 0.09);
}

.map-pin b {
  color: var(--ink);
  font-size: 13px;
}

.map-pin span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.p1 { right: 15%; top: 23%; border-left-color: var(--roof); }
.p2 { left: 38%; top: 55%; border-left-color: var(--river); }
.p3 { right: 29%; bottom: 17%; border-left-color: var(--gold); }
.p4 { right: 7%; bottom: 32%; border-left-color: var(--blue); }

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 16px;
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.section-card,
.collections-block article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.86);
}

.chronicle-list,
.focus-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chronicle-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.chronicle-list li:last-child,
.focus-list li:last-child { border-bottom: 0; }

.chronicle-list li.is-current {
  background: rgba(198, 154, 56, 0.08);
}

.chronicle-list time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.chronicle-list a,
.focus-list a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.36;
  text-decoration: none;
}

.chronicle-list a:hover,
.focus-list a:hover {
  color: var(--river-dark);
  text-decoration: underline;
}

.chronicle-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.focus-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--roof);
  font-size: 12px;
  font-weight: 950;
}

.focus-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}

.focus-list li > b {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.collections-block {
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.collections-block article {
  min-height: 246px;
  padding: 18px;
}

.collections-block article p {
  margin: 0 0 22px;
  color: var(--river-dark);
  font-size: 11.5px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collections-block h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.12;
}

.collections-block article span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.48;
}

.collections-block article a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 16px;
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.research-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.research-item:last-child { border-bottom: 0; }

.research-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(36, 91, 143, 0.22);
  border-radius: 7px;
  background: rgba(36, 91, 143, 0.08);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.research-mark.route {
  border-color: rgba(138, 45, 59, 0.2);
  background: rgba(138, 45, 59, 0.08);
  color: var(--roof);
}

.research-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-item h3,
.people-grid h3,
.draft-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.12;
}

.research-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.research-item h3 a:hover { color: var(--river-dark); text-decoration: underline; }

.research-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.updated-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.updated-list li {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.updated-list li:last-child { border-bottom: 0; }

.updated-list a,
.source-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.updated-list a:hover,
.source-link:hover {
  color: var(--river-dark);
  text-decoration: underline;
}

.updated-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.people-block,
.drafts-block {
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.people-grid article,
.draft-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.86);
}

.people-grid article {
  min-height: 178px;
  padding: 18px;
}

.people-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.48;
}

.people-grid span,
.draft-grid span,
.draft-grid b {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.35;
}

.people-grid span {
  color: var(--river-dark);
}

.draft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.draft-grid article {
  padding: 18px;
  border-left: 5px solid rgba(198, 154, 56, 0.7);
}

.draft-grid b {
  color: var(--roof);
}

.draft-grid span {
  color: var(--muted);
}

.source-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
}

.front-desk {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.section-copy h2,
.proof-board h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.section-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.desk-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.8);
}

.desk-card p {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.desk-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.16;
}

.desk-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.proof-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: 16px;
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.news-sample,
.price-sample,
.notice {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.86);
}

.news-sample,
.price-sample {
  padding: 22px;
}

.news-sample ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.news-sample li {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-soft);
}

.news-sample li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-sample a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
  text-decoration: none;
}

.news-sample a:hover {
  color: var(--river-dark);
  text-decoration: underline;
}

.price-sample {
  background:
    linear-gradient(135deg, rgba(36, 91, 143, 0.08), rgba(255, 253, 248, 0.9) 45%),
    rgba(255, 253, 248, 0.92);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.price-row strong {
  color: var(--ink);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.price-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}

.price-sample a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.notice {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--content);
  margin-bottom: 56px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
}

.notice strong { color: var(--roof); }
.notice a {
  color: var(--river-dark);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px max(var(--gutter), calc((100% - var(--content)) / 2));
  border-top: 1px solid var(--line);
  background: rgba(20, 43, 53, 0.96);
  color: rgba(255, 253, 248, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.engine-note {
  color: rgba(255, 253, 248, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.engine-note strong {
  color: #5fa0dd;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: auto 1fr; }
  .status-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .hero {
    min-height: auto;
    padding-top: 30px;
  }
  .hero-grid,
  .front-desk,
  .proof-board,
  .portal-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .signal-strip,
  .desk-grid,
  .project-stats,
  .collection-grid,
  .people-grid,
  .draft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-stats div:nth-child(2) { border-right: 0; }
  .project-stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand { width: min(142px, 58vw); }
  .px-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .px-nav a { padding: 6px 9px; }
  .px-nav a span { display: none; }
  .status-pill {
    margin-left: auto;
    min-height: 31px;
    font-size: 12px;
  }
  .hero-logo {
    width: min(252px, 84%);
    max-height: 62px;
    margin-bottom: 18px;
  }
  .intro::before {
    inset: -14px 0;
    background: rgba(255, 253, 248, 0.72);
  }
  h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.08;
  }
  .lead {
    max-width: 100%;
    font-size: 17px;
  }
  .home-search { grid-template-columns: 1fr; }
  .home-search button { min-height: 44px; }
  .launch-row { grid-template-columns: 1fr; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    white-space: normal;
  }
  .languages span { width: calc((100% - 24px) / 4); }
  .daily-board { margin-top: 12px; }
  .pulse-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .signal-strip,
  .desk-grid,
  .project-stats,
  .collection-grid,
  .people-grid,
  .draft-grid {
    grid-template-columns: 1fr;
  }
  .project-stats div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .project-stats div:last-child { border-bottom: 0; }
  .signal-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .signal-strip a:last-child { border-bottom: 0; }
  .section-head {
    display: grid;
    align-items: start;
  }
  .section-head > a,
  .section-head.compact a {
    white-space: normal;
  }
  .city-map-frame { min-height: 430px; }
  .map-copy {
    left: 14px;
    top: 14px;
    width: calc(100% - 28px);
  }
  .map-pin { min-width: 0; max-width: 138px; }
  .p1 { right: 12px; top: 190px; }
  .p2 { left: 18px; top: 250px; }
  .p3 { right: 24px; bottom: 22px; }
  .p4 { left: 28px; bottom: 86px; }
  .chronicle-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .focus-list li {
    grid-template-columns: 28px 1fr;
  }
  .focus-list li > b {
    grid-column: 2;
  }
  .research-item {
    grid-template-columns: 1fr;
  }
  .research-mark {
    width: 54px;
    height: 54px;
    font-size: 23px;
  }
  .desk-card { min-height: 0; }
  footer { flex-direction: column; }
}
