/* Public site art direction: architectural archive workbench */
.site-body {
  --paper: #f2efe7;
  --paper-deep: #e9e4da;
  --ink: #151a18;
  --ink-soft: #3f4642;
  --muted: #727970;
  --line: #d8d2c7;
  --line-strong: #b9b2a6;
  --accent: #d95a2f;
  --accent-strong: #b9431d;
  --accent-soft: #faece5;
  --danger: #c62d20;
  --surface: #fbf9f4;
  --font-sans: "SF Pro Text", "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 26, 24, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-body button,
.site-body input { font: inherit; }

.site-body button { cursor: pointer; }

.site-body .is-hidden { display: none !important; }

.site-body .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;
}

.site-body .search-view { min-height: 100vh; }

/* Hero */
.site-body .atlas-hero {
  position: relative;
  display: grid;
  height: clamp(470px, 58svh, 600px);
  min-height: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: height 520ms cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0 clamp(22px, 5vw, 84px);
  color: #f3efe6;
  background: #111614;
  isolation: isolate;
}

.site-body .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.site-body .hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 22, 20, 0.58), rgba(17, 22, 20, 0.76)),
    radial-gradient(circle at 50% 45%, rgba(17, 22, 20, 0.2), rgba(17, 22, 20, 0.76) 75%);
}

.site-body .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.035);
  animation: hero-image-arrive 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-body .site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid rgba(241, 235, 224, 0.16);
  transition: min-height 420ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-rise 650ms 80ms ease-out both;
}

.site-body .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-body .site-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(241, 235, 224, 0.3);
  color: #f3efe6;
}

.site-body .site-mark svg { width: 23px; height: 23px; }

.site-body .site-brand-copy {
  display: grid;
  gap: 0;
}

.site-body .site-brand-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.site-body .site-brand-copy span {
  color: rgba(241, 235, 224, 0.48);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-body .site-header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(241, 235, 224, 0.54);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-body .site-header-meta .data-count {
  color: rgba(241, 235, 224, 0.72);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-body .site-header-meta .header-rule {
  width: 36px;
  height: 1px;
  background: rgba(241, 235, 224, 0.22);
}

 .site-body .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(900px, 100%);
  align-self: center;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: clamp(42px, 7vh, 66px) 0 clamp(38px, 6vh, 52px);
  text-align: center;
  transition: padding 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

 .site-body .hero-kicker {
  margin: 0 0 12px;
  color: rgba(241, 235, 224, 0.58);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  max-height: 34px;
  overflow: hidden;
  text-transform: uppercase;
  transition: max-height 360ms ease, margin 360ms ease, opacity 240ms ease, transform 360ms ease;
  animation: hero-rise 650ms 120ms ease-out both;
}

 .site-body .atlas-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f3efe6;
  font-family: var(--font-sans);
  font-size: clamp(31px, 3.4vw, 47px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.18;
  text-wrap: balance;
  transition: font-size 440ms cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 440ms ease;
  animation: hero-rise 700ms 170ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-body .atlas-hero h1 span {
  display: block;
  color: rgba(243, 239, 230, 0.82);
  font-size: 0.88em;
  font-weight: 520;
}

 .site-body .hero-copy {
  max-width: 520px;
  margin: 15px 0 0;
  color: rgba(241, 235, 224, 0.7);
  max-height: 72px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.65;
  transition: max-height 360ms ease, margin 360ms ease, opacity 240ms ease, transform 360ms ease;
  animation: hero-rise 650ms 230ms ease-out both;
}

 .site-body .hero-search {
  width: min(820px, 100%);
  margin: 27px auto 0;
  transition: margin 440ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-rise 700ms 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-body .search-bar {
  display: grid;
  min-height: 66px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: rgba(249, 246, 238, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transition: min-height 420ms cubic-bezier(0.22, 1, 0.36, 1), padding 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-body .search-glyph {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #7a7e77;
}

.site-body .search-glyph svg { width: 21px; height: 21px; }

 .site-body .search-bar input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  appearance: none;
}

.site-body .search-bar input:focus {
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
}

.site-body .search-bar input::placeholder { color: #8c8e88; }

.site-body .search-bar:focus-within {
  border-color: rgba(217, 90, 47, 0.8);
  box-shadow: 0 0 0 4px rgba(217, 90, 47, 0.14), 0 24px 70px rgba(0, 0, 0, 0.24);
}

 .site-body .search-button {
  min-width: 122px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: #fffaf5;
  background: var(--accent);
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  transition: height 420ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-body .search-button:hover {
  border-color: #f3efe6;
  color: #151a18;
  background: #f3efe6;
  transform: none;
}

 .site-body .search-steps {
  display: flex;
  max-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  transition: max-height 360ms ease, margin 360ms ease, opacity 240ms ease, transform 360ms ease;
  animation: hero-rise 650ms 390ms ease-out both;
}

.site-body .search-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(241, 235, 224, 0.64);
}

.site-body .search-steps li + li {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(241, 235, 224, 0.18);
}

.site-body .search-steps span {
  color: #f4b297;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.site-body .search-steps strong {
  font-size: 10.5px;
  font-weight: 500;
}

/* Results workspace */
.site-body .results-section {
  padding: 34px clamp(18px, 4vw, 64px) 10px;
  background:
    linear-gradient(90deg, rgba(21, 26, 24, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 100%;
  scroll-margin-top: 20px;
}

.site-body .workspace-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

 .site-body .results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 14px;
  padding: 16px 0 15px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

 .site-body .results-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

 .site-body .results-count {
  max-width: 340px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.site-body .results-table {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-body .results-table-head,
.site-body .result-row {
  display: grid;
  grid-template-columns: 132px minmax(280px, 1fr) minmax(180px, 0.42fr) 150px;
  gap: 24px;
  align-items: center;
}

.site-body .results-table-head {
  min-height: 42px;
  padding: 0 8px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: #777d76;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-body .results-table-head span:last-child { text-align: right; }

.site-body .results-list { display: grid; }

 .site-body .result-row {
  min-height: 78px;
  padding: 13px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  transition: background 180ms ease, transform 180ms ease;
  animation: result-row-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-body .result-row + .result-row { border-top: 0; }

.site-body .result-row:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(4px);
}

.site-body .cell-code {
  color: #1e2421;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.site-body .cell-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 520;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-body .cell-meta { min-width: 0; }

.site-body .region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: #686f69;
  background: transparent;
  font-size: 10.5px;
  line-height: 1.45;
}

.site-body .region-pill::before {
  flex: 0 0 auto;
  width: 3px;
  height: 14px;
  content: "";
  background: var(--accent);
}

.site-body .download-link {
  position: relative;
  display: inline-flex;
  min-width: 132px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: end;
  padding: 0 15px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: #fffaf5;
  background: var(--accent);
  box-shadow: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-body .download-link::after {
  content: "↓";
  font-size: 14px;
  line-height: 1;
  transition: transform 160ms ease;
}

.site-body .download-link:hover {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.site-body .download-link:hover::after { transform: translateY(2px); }

.site-body .loading-state {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-body .spinner {
  width: 18px;
  height: 18px;
  border-color: #d6d0c5;
  border-top-color: var(--accent);
}

.site-body .empty-state {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 54px 8px 58px;
  text-align: left;
}

.site-body .empty-state strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.site-body .empty-state p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.site-body .request-submit-button {
  min-height: 36px;
  justify-self: start;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.site-body .request-submit-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: transparent;
}

.site-body .request-submit-message {
  min-height: 16px;
  font-size: 10.5px;
}

.site-body .request-submit-message.is-success { color: #436c55; }
.site-body .request-submit-message.is-error { color: var(--danger); }

.site-body .load-more-wrap {
  justify-content: flex-start;
  margin: 22px 0 0;
  padding-left: 8px;
}

.site-body .load-more-wrap .secondary-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

/* Footer */
.site-body .disclaimer {
  display: grid;
  width: min(1240px, calc(100% - 36px));
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  margin: clamp(54px, 7vw, 90px) auto 0;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  color: #7b817a;
  font-size: 10.5px;
  line-height: 1.8;
}

.site-body .footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.site-body .footer-mark {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}

.site-body .disclaimer p { margin: 0; }
.site-body .disclaimer strong { color: #5d635d; }
.site-body .fee-highlight { color: #bd2f21; }

/* Shared controls and overlays */
.site-body .primary-button,
.site-body .secondary-button,
.site-body .ghost-button {
  border-radius: 2px;
  font-family: var(--font-sans);
}

.site-body .primary-button {
  border-color: var(--accent);
  color: #fffaf5;
  background: var(--accent);
  box-shadow: none;
}

.site-body .primary-button:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.site-body .secondary-button {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.site-body .secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.site-body .modal {
  padding: 18px;
  background: rgba(10, 14, 12, 0.72);
  backdrop-filter: blur(12px);
}

.site-body .modal-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 3px;
  background: #fbf9f4;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.site-body .section-kicker {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.site-body .modal-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.site-body .payment-price strong { color: var(--accent); }
.site-body .payment-disclaimer { border-radius: 2px; }

.site-body .download-status {
  top: 20px;
  width: min(560px, calc(100% - 24px));
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: #f3efe6;
  background: rgba(17, 22, 20, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.site-body .download-status-label { color: #f3efe6; }
.site-body .download-status-name,
.site-body .download-status-meta,
.site-body .download-guidance { color: rgba(243, 239, 230, 0.62); }
.site-body .download-percent { color: #f4b297; }
.site-body .download-progress { background: rgba(255, 255, 255, 0.12); }
.site-body .download-progress-bar { background: var(--accent); }
.site-body .download-status-close { color: rgba(255, 255, 255, 0.62); }
 .site-body .download-status.is-complete { border-color: rgba(129, 193, 153, 0.5); }
.site-body .download-status.is-error { border-color: rgba(244, 121, 99, 0.6); }

.site-body .download-status-action {
  min-height: 32px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid rgba(244, 178, 151, 0.55);
  border-radius: 2px;
  color: #f4b297;
  background: transparent;
  font-size: 10.5px;
}

.site-body .download-status-action:hover {
  border-color: #f4b297;
  background: rgba(244, 178, 151, 0.08);
}

.site-body :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-arrive {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.035); }
}

@keyframes result-row-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-body .atlas-hero { height: 520px; }
  .site-body .hero-content { width: min(700px, 100%); }
  .site-body .results-table-head,
  .site-body .result-row { grid-template-columns: 112px minmax(220px, 1fr) minmax(150px, 0.42fr) 132px; gap: 16px; }
  .site-body .download-link { min-width: 118px; }
}

@media (max-width: 720px) {
  .site-body { background-size: 48px 100%; }
  .site-body .atlas-hero {
    height: clamp(390px, 52svh, 450px);
    min-height: 0;
    padding: 0 18px;
  }
  .site-body .hero-media img { object-position: 68% center; }
  .site-body .hero-media::after {
    background:
      linear-gradient(180deg, rgba(17, 22, 20, 0.48), rgba(17, 22, 20, 0.82)),
      radial-gradient(circle at 55% 45%, rgba(17, 22, 20, 0.08), rgba(17, 22, 20, 0.72) 80%);
  }
  .site-body .site-header { min-height: 70px; gap: 12px; }
  .site-body .site-mark { width: 34px; height: 34px; }
  .site-body .site-brand-copy strong { font-size: 12.5px; letter-spacing: 0.04em; }
  .site-body .site-brand-copy span { font-size: 8px; }
  .site-body .site-header-meta { gap: 0; }
  .site-body .site-header-meta .header-rule,
  .site-body .site-header-meta .edition { display: none; }
  .site-body .site-header-meta .data-count { display: inline-block; max-width: 130px; font-size: 9.5px; line-height: 1.4; text-align: right; }
  .site-body .hero-content { align-self: center; padding: 38px 0 34px; }
  .site-body .hero-kicker { margin-bottom: 9px; font-size: 8.5px; line-height: 1.6; }
  .site-body .atlas-hero h1 { font-size: clamp(27px, 8vw, 34px); line-height: 1.22; }
  .site-body .atlas-hero h1 span { font-size: 0.86em; }
  .site-body .hero-copy { max-width: 330px; margin-top: 11px; font-size: 12px; }
  .site-body .hero-search { margin-top: 21px; }
  .site-body .search-bar {
    min-height: 0;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px 12px;
    padding: 15px 14px 14px;
    border-radius: 3px;
  }
  .site-body .search-bar input { height: 44px; font-size: 16px; }
  .site-body .search-button { grid-column: 1 / -1; width: 100%; height: 46px; }
  .site-body .search-steps {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }
  .site-body .search-steps li {
    justify-content: center;
    gap: 5px;
    min-width: 0;
  }
  .site-body .search-steps li + li {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .site-body .search-steps strong { font-size: 9.5px; white-space: nowrap; }
  .site-body .search-steps span { font-size: 8px; }

  .site-body .results-section { padding: 24px 14px 4px; background-size: 48px 100%; }
  .site-body .results-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 10px; padding: 14px 0 13px; }
  .site-body .results-heading h2 { font-size: 23px; }
  .site-body .results-count { max-width: none; text-align: left; font-size: 10.5px; }
  .site-body .results-table-head { display: none; }
  .site-body .results-list { border-top: 1px solid var(--line-strong); }
  .site-body .result-row {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "code download"
      "name name"
      "meta meta";
    gap: 7px 12px;
    min-height: 0;
    padding: 17px 2px 18px;
    background: transparent;
  }
  .site-body .result-row:hover { background: transparent; transform: none; }
  .site-body .cell-code { grid-area: code; align-self: center; font-size: 11px; }
  .site-body .cell-name { grid-area: name; font-size: 12.5px; line-height: 1.55; }
  .site-body .cell-meta { grid-area: meta; margin-top: 2px; }
  .site-body .region-pill { font-size: 9.5px; }
  .site-body .download-link { grid-area: download; min-width: 100px; min-height: 34px; padding: 0 11px; font-size: 10.5px; }
  .site-body .empty-state { padding: 42px 2px 48px; }
  .site-body .load-more-wrap { padding-left: 2px; }
  .site-body .disclaimer { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 12px; margin-top: 50px; padding-bottom: 28px; }
  .site-body .modal-card { padding: 23px 20px; }
  .site-body .modal-card h2 { font-size: 28px; }
  .site-body .download-status { top: 10px; width: calc(100% - 16px); padding: 13px 14px; }
}

@media (max-width: 420px) {
  .site-body .site-brand-copy span { display: none; }
  .site-body .site-header-meta .data-count { max-width: 112px; }
  .site-body .atlas-hero h1 { font-size: 27px; }
  .site-body .download-link { min-width: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-body *,
  .site-body *::before,
  .site-body *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Query mode: collapse the hero into a search-results header */
  .site-body .search-view.has-query .atlas-hero {
  height: 260px;
  min-height: 0;
}

.site-body .search-view.has-query .site-header {
  min-height: 64px;
}

 .site-body .search-view.has-query .hero-content {
  padding: 16px 0 20px;
}

 .site-body .search-view.has-query .hero-kicker,
.site-body .search-view.has-query .hero-copy,
.site-body .search-view.has-query .search-steps {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.site-body .search-view.has-query .atlas-hero h1 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 650;
  line-height: 1.15;
}

.site-body .search-view.has-query .hero-search {
  margin-top: 14px;
}

.site-body .search-view.has-query .search-bar {
  min-height: 58px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.site-body .search-view.has-query .search-bar input {
  height: 46px;
}

.site-body .search-view.has-query .search-button {
  height: 44px;
}

.site-body .search-view.has-query .results-section {
  padding-top: 18px;
}

/* Download arrow */
.site-body .download-link::after {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf5;
  background: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

/* Full-screen, single-purpose download page */
.site-body .download-status {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  width: auto;
  max-width: none;
  height: auto;
  place-items: center;
  padding: 18px;
  border: 0;
  border-radius: 0;
  color: #f3efe6;
  background: rgba(8, 12, 10, 0.8);
  box-shadow: none;
  transform: none;
  backdrop-filter: blur(12px);
}

.site-body .download-status-card {
  width: min(580px, 100%);
  padding: 26px;
  border: 1px solid rgba(241, 235, 224, 0.18);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  background: #151b18;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
}

.site-body .download-status-head {
  align-items: flex-start;
  gap: 14px;
}

.site-body .download-status-label {
  color: #f3efe6;
  font-size: 14px;
  font-weight: 650;
}

.site-body .download-status-name {
  margin-top: 4px;
  color: rgba(243, 239, 230, 0.64);
  font-size: 12px;
  line-height: 1.5;
}

.site-body .download-percent {
  color: #f4b297;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.site-body .download-status-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(243, 239, 230, 0.72);
  background: rgba(255, 255, 255, 0.07);
  font-size: 22px;
}

.site-body .download-progress {
  height: 9px;
  margin-top: 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.site-body .download-progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, #c94d26, #f28b5d);
}

.site-body .download-status-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 9px;
  color: rgba(243, 239, 230, 0.58);
  font-size: 10.5px;
}

.site-body .download-status-meta span:nth-child(2) { text-align: center; }
.site-body .download-status-meta span:last-child { text-align: right; }

.site-body .download-guidance {
  margin: 18px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(241, 235, 224, 0.1);
  border-radius: 3px;
  color: rgba(243, 239, 230, 0.7);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  line-height: 1.65;
}

.site-body .download-status.is-complete {
  border-color: rgba(241, 235, 224, 0.18);
  border-top-color: #7cbc96;
}

.site-body .download-status.is-complete .download-guidance {
  border-color: rgba(124, 188, 150, 0.3);
  color: #bfe3cc;
  background: rgba(89, 148, 112, 0.12);
  font-size: 13.5px;
  font-weight: 600;
}

.site-body .download-status.is-error {
  border-color: rgba(241, 235, 224, 0.18);
  border-top-color: #e46a50;
}

.site-body .download-status.is-error .download-guidance {
  color: #ffc0b3;
}

.site-body .download-status-action {
  min-height: 40px;
  margin-top: 14px;
  padding: 0 15px;
  font-size: 11px;
}

@media (max-width: 720px) {
  .site-body .search-view.has-query .site-header {
    min-height: 58px;
  }

  .site-body .search-view.has-query .atlas-hero {
    height: 212px;
  }

  .site-body .search-view.has-query .hero-content {
    padding: 12px 0 16px;
  }

  .site-body .search-view.has-query .atlas-hero h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .site-body .search-view.has-query .hero-search {
    margin-top: 11px;
  }

  .site-body .search-view.has-query .search-bar {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    padding: 7px 8px 7px 13px;
  }

  .site-body .search-view.has-query .search-button {
    grid-column: auto;
    width: auto;
    min-width: 78px;
    height: 42px;
    padding: 0 15px;
  }

  .site-body .search-view.has-query .results-section {
    padding-top: 12px;
  }

  .site-body .download-status {
    padding: 10px;
  }

  .site-body .download-status-card {
    padding: 20px 17px;
  }

  .site-body .download-percent {
    font-size: 29px;
  }

  .site-body .download-status-meta {
    font-size: 9.5px;
  }

  .site-body .download-guidance {
    margin-top: 15px;
    font-size: 11.5px;
  }
}

.site-body .search-bar input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.site-body .download-link {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .site-body .download-link { min-width: 118px; }
}

@media (max-width: 420px) {
  .site-body .download-link { min-width: 110px; }
}

.site-body .download-link {
  border-radius: 12px;
}

.site-body .download-link::after {
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .site-body .download-link {
    min-height: 38px;
  }
}


/* Custom rounded download icon */
.site-body .download-link::after {
  content: "";
  background-color: rgba(255, 255, 255, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5v12m0 0 5-5m-5 5-5-5' fill='none' stroke='%23fffaf5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
}

/* Overlay motion */
.site-body .modal,
.site-body .download-status,
.site-body .download-celebration {
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.site-body .modal.is-open,
.site-body .download-status.is-open,
.site-body .download-celebration.is-open {
  opacity: 1;
  visibility: visible;
}

.site-body .modal.is-closing,
.site-body .download-status.is-closing,
.site-body .download-celebration.is-closing {
  opacity: 0;
}

.site-body .modal .modal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-body .modal.is-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-body .modal.is-closing .modal-card {
  opacity: 0;
  transform: translateY(8px) scale(0.99);
}

.site-body .download-status-card {
  opacity: 0;
  transform: translateY(16px) scale(0.975);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-body .download-status.is-open .download-status-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-body .download-status.is-closing .download-status-card {
  opacity: 0;
  transform: translateY(8px) scale(0.99);
}

.site-body .download-status-action {
  width: 100%;
  min-height: 44px;
  white-space: normal;
  font-size: 11.5px;
  line-height: 1.35;
}

.site-body .download-status.is-error .download-status-action {
  color: #fff5f0;
  background: #c64e2c;
  border-color: #c64e2c;
}

.site-body .download-status.is-error .download-status-action:hover {
  background: #aa3c1d;
  border-color: #aa3c1d;
}

@media (prefers-reduced-motion: reduce) {
  .site-body .modal,
  .site-body .download-status,
  .site-body .download-celebration,
  .site-body .modal .modal-card,
  .site-body .download-status-card {
    transition-duration: 0.01ms !important;
  }
}
