.glossary-hero {
  min-height: 690px;
  background:
    linear-gradient(90deg, rgba(7,16,22,.96), rgba(7,16,22,.68)),
    radial-gradient(circle at 78% 36%, rgba(197,129,69,.2), transparent 35%),
    linear-gradient(135deg, #071016, #17303a);
}
.glossary-hero h1 { max-width: 980px; }
.glossary-hero .subtitle { max-width: 880px; }
.glossary-intro { border-bottom: 1px solid rgba(23,25,24,.12); }

.glossary-browser {
  padding: 100px clamp(24px, 7vw, 110px) 118px;
  background: #071016;
}
.browser-heading {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
}
.browser-heading .section-label { color: #c58145; }
.browser-heading h2,
.sources-panel h2 {
  margin: 18px 0 0;
  font: 400 clamp(42px, 5vw, 72px)/1.03 Georgia, serif;
  letter-spacing: -.035em;
}
.browser-heading > p {
  max-width: 610px;
  margin: 0;
  color: rgba(236,231,220,.64);
  font: 18px/1.7 Georgia, serif;
}
.glossary-tools {
  margin-top: 58px;
  padding: 24px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(236,231,220,.18);
  background: rgba(255,255,255,.025);
}
.search-field {
  min-width: min(470px, 48vw);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(236,231,220,.36);
}
.search-field input {
  width: 100%;
  padding: 14px 6px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ece7dc;
  font: 18px/1.2 Georgia, serif;
}
.search-field input::placeholder { color: rgba(236,231,220,.42); }
.search-field:focus-within { border-color: #dda56e; }
.search-field > span:last-child { color: #c58145; font-size: 26px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(236,231,220,.18);
  background: transparent;
  color: rgba(236,231,220,.7);
  cursor: pointer;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.filter:hover, .filter:focus-visible { border-color: #c58145; color: #ece7dc; }
.filter.is-active { border-color: #c58145; background: #c58145; color: #071016; }
.result-count {
  margin: 34px 0 18px;
  color: rgba(236,231,220,.48);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(236,231,220,.18);
  border-left: 1px solid rgba(236,231,220,.18);
}
.term-card {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(236,231,220,.18);
  border-bottom: 1px solid rgba(236,231,220,.18);
  background: rgba(255,255,255,.012);
}
.term-card[hidden] { display: none; }
.term-meta { display: flex; justify-content: space-between; gap: 18px; color: #c58145; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.term-meta span:last-child { color: rgba(236,231,220,.42); text-align: right; }
.term-card h3 { margin: 55px 0 18px; font: 400 clamp(33px, 3vw, 47px)/1 Georgia, serif; letter-spacing: -.025em; }
.term-card p { margin: 0; color: rgba(236,231,220,.62); font: 16px/1.65 Georgia, serif; }
.term-card p + p { margin-top: 15px; }
.term-card .term-definition { color: #ece7dc; font-size: 19px; }
.term-card .term-status { margin-top: auto; padding-top: 30px; color: #dda56e; font: 700 8px/1.4 Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.no-results { padding: 70px 20px; color: rgba(236,231,220,.64); text-align: center; font: 20px/1.6 Georgia, serif; }

.sources-panel {
  padding: 100px clamp(24px, 9vw, 150px);
  display: grid;
  grid-template-columns: .42fr 1.15fr;
  gap: clamp(42px, 9vw, 135px);
  background: #ece7dc;
  color: #171918;
}
.sources-panel .section-label { color: #8b5c35; }
.sources-panel h2 { max-width: 800px; margin-top: 0; }
.sources-panel p { max-width: 760px; margin: 28px 0 0; color: #4e514e; font: 19px/1.75 Georgia, serif; }
.source-links { max-width: 820px; margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(23,25,24,.18); }
.source-links li { border-bottom: 1px solid rgba(23,25,24,.18); }
.source-links a { padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font: 16px/1.45 Georgia, serif; }
.source-links a:hover { color: #8b5c35; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glossary-tools { align-items: stretch; flex-direction: column; }
  .search-field { min-width: 0; width: 100%; }
  .filter-list { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .glossary-hero { min-height: 620px; }
  .browser-heading, .sources-panel { grid-template-columns: 1fr; }
  .glossary-browser, .sources-panel { padding-top: 72px; padding-bottom: 78px; }
  .browser-heading h2, .sources-panel h2 { font-size: 44px; }
  .term-grid { grid-template-columns: 1fr; }
  .term-card { min-height: 335px; padding: 30px 26px; }
  .term-card h3 { margin-top: 46px; }
  .glossary-tools { margin-top: 42px; padding: 18px; }
}
