:root {
  --green: #174f3d;
  --green-soft: #1f604a;
  --deep: #08382d;
  --deep2: #062d25;
  --gold: #d8a52f;
  --purple: #6f2a8e;
  --purple2: #8a3daf;
  --cream: #fbfaf6;
  --ink: #183028;
  --muted: #66736d;
  --line: #e4e0d5;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0, 40, 30, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 45, 37, .985);
  border-bottom: 1px solid rgba(216, 165, 47, .35);
  color: #fff;
}
.head {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link { display: flex; align-items: center; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; }
.brand img {
  width: auto;
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .03em;
}
nav a {
  padding: 40px 0 34px;
  position: relative;
  white-space: nowrap;
}
nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.menu {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(3, 31, 25, .98) 0%, rgba(3, 31, 25, .86) 37%, rgba(3, 31, 25, .28) 67%, rgba(3, 31, 25, .8) 100%),
    var(--hero) center / cover no-repeat;
  color: #fff;
}
.hero-grid {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.05fr .8fr;
  gap: 34px;
  align-items: center;
  padding: 70px 0 44px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.03;
  margin: 0 0 22px;
  max-width: 700px;
}
.hero h1 span { display: block; color: var(--gold); }
.hero-grid > div > p {
  font-size: 18px;
  max-width: 630px;
  color: #f2f4f1;
}
.hero aside {
  margin-left: auto;
  width: min(100%, 380px);
  background: linear-gradient(145deg, rgba(7, 60, 47, .97), rgba(5, 42, 34, .97));
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero aside h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero aside b {
  display: block;
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
}
.hero aside em {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 20px;
}
.buttons, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--purple);
  color: #fff;
  padding: 12px 19px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn.gold, .button.gold { background: var(--gold); color: #132d25; }
.btn.outline, .button.secondary {
  background: transparent;
  border-color: var(--gold);
  color: inherit;
}

.trust {
  background: linear-gradient(90deg, var(--deep2), var(--deep));
  border-top: 1px solid rgba(216, 165, 47, .5);
}
.trustgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px 0;
}
.trustgrid span {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5px 12px;
  border-right: 1px solid rgba(216, 165, 47, .25);
  color: var(--gold);
  font-size: 22px;
}
.trustgrid span:last-child { border: 0; }
.trustgrid b { color: #fff; font-size: 13px; margin-top: 4px; }
.trustgrid small { color: #d6dfda; font-size: 11px; }

.section { padding: 44px 0; }
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}
.sectionhead h2 {
  font-family: Georgia, serif;
  font-size: 31px;
  margin: 0;
}
.sectionhead a { color: var(--purple); font-weight: 800; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 50, 38, .03);
}
.card > img { width: 100%; height: 178px; object-fit: cover; }
.card > div { min-width: 0; padding: 15px; }
.card h3 { margin: 7px 0; line-height: 1.25; overflow-wrap: anywhere; }
.card h3 a:hover { color: var(--purple); }
.card p { font-size: 14px; margin: 7px 0; color: #485a53; }
.tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 900;
  padding: 4px 7px;
  border-radius: 4px;
}
.tag.purple { background: #f0e4f5; color: var(--purple); }
.tag.gold { background: #fbf0ce; color: #6e4c00; }
.meta, small { color: var(--muted); font-size: 12px; }
.scoreline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.score { font-size: 23px; color: var(--purple); }
.pending { font-size: 13px; color: var(--purple); }

.empty, .notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  padding: 22px;
}
.notice a { color: var(--purple); font-weight: 800; }
.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 10px;
}
.callouts > a {
  background: linear-gradient(135deg, #17223c, #371849);
  color: #fff;
  border-radius: 13px;
  padding: 18px 22px;
  display: grid;
}
.callouts > a:nth-child(2) { background: linear-gradient(135deg, var(--deep2), var(--green)); }
.callouts strong { font-family: Georgia, serif; font-size: 20px; color: var(--gold); }
.callouts span { font-size: 13px; }

.pagehero {
  background: linear-gradient(135deg, var(--deep2), var(--green));
  color: #fff;
  padding: 45px 0;
}
.pagehero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}
.pagehero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  margin: 0;
}
.pagehero p { max-width: 760px; color: #e1ebe6; }
.pagehero img {
  width: 340px;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 900;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: stretch;
}
.filters input, .filters select, .searchbox input {
  min-width: 0;
  padding: 11px;
  border: 1px solid #d9d6cd;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.filters input { flex: 2 1 260px; }
.filters select { flex: 1 1 155px; }
.ranking-filters { margin-top: 20px; }

.reviewrow {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 120px;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
  align-items: center;
  overflow: hidden;
}
.reviewrow > img {
  width: 180px;
  height: 132px;
  object-fit: cover;
  border-radius: 8px;
}
.reviewrow-copy { min-width: 0; }
.reviewrow h2 { font-size: 20px; margin: 5px 0; overflow-wrap: anywhere; }
.reviewrow p { margin: 5px 0; }
.rowscore {
  width: 100%;
  min-height: 94px;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  background: #f7f1f9;
  border: 1px solid #e6d7ed;
  border-radius: 10px;
  color: var(--purple);
}
.rowscore b {
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1;
}
.rowscore span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #684774;
}

.ranklist { display: grid; gap: 10px; margin-top: 20px; }
.rankrow {
  min-width: 0;
  display: grid;
  grid-template-columns: 55px 90px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.rankrow .ranknum {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #183028;
}
.rankrow img { width: 90px; height: 60px; object-fit: cover; border-radius: 6px; }
.rankrow span { min-width: 0; display: grid; }
.rankrow strong { overflow-wrap: anywhere; }
.rankrow small { margin-top: 4px; }
.rankrow em {
  font-family: Georgia, serif;
  font-size: 27px;
  color: var(--purple);
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.reviewhead { background: #fff; border-bottom: 1px solid var(--line); padding: 38px 0; }
.reviewhead > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 30px;
  align-items: center;
}
.reviewhead h1 { font-family: Georgia, serif; font-size: 42px; margin: 9px 0; overflow-wrap: anywhere; }
.bigscore {
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  padding: 18px;
  background: var(--cream);
}
.bigscore b { display: block; font-size: 48px; color: var(--purple); }
.bigscore span { font-size: 12px; text-transform: uppercase; font-weight: 800; }

.reviewgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 26px;
}
.reviewgrid > * { min-width: 0; }
.reviewphoto { width: 100%; max-height: 570px; object-fit: cover; border-radius: 13px; }
.reviewgrid figure { margin: 0; }
.reviewgrid figcaption { font-size: 11px; color: var(--muted); margin-top: 7px; }
.quick, .sidecard, .article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.quick { margin: 18px 0; }
.quick h2, .sidecard h2 { margin-top: 0; font-size: 20px; }
.sidecard { margin-bottom: 16px; }
.sidecard > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  font-size: 13px;
}
.sidecard > div:last-of-type { border: 0; }
.sidecard strong { max-width: 58%; text-align: right; overflow-wrap: anywhere; }
.article { max-width: 900px; }
.article h2 { font-family: Georgia, serif; font-size: 29px; margin-top: 32px; }
.article h3 { font-size: 20px; margin-top: 25px; }
.article a { color: var(--purple); font-weight: 700; text-decoration: underline; }
.article li { margin: 8px 0; }

.score-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--deep);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.score-hero strong { font-size: 46px; color: var(--gold); }
.brand-quote { font-family: Georgia, serif; color: var(--purple); font-size: 24px; font-weight: 800; }
.weights, .score-scale { display: grid; gap: 8px; }
.weights > div, .score-scale > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f7f5ef;
  padding: 11px;
  border-radius: 6px;
}

.education-grid, .terpene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.education-grid article, .terpene-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}
.terpene-grid img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 7px;
}
.compound-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}
.compound-badge.purple { background: var(--purple); }
.compound-badge.green { background: var(--green); }

.searchbox { display: flex; gap: 8px; }
.searchbox input { flex: 1; }
.search-results { display: grid; gap: 10px; margin-top: 20px; }
.search-result {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}
.search-result strong { color: var(--purple); }

footer {
  background: var(--deep2);
  color: #dce6e1;
  margin-top: 48px;
  padding-top: 40px;
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 36px;
}
.foot .brand img { height: 122px; width: auto; }
.footlinks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.foot p { font-size: 13px; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 28px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #aebdb6;
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
details {
  background: #f8f6f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  margin: 9px 0;
}
summary { cursor: pointer; font-weight: 800; }

@media (max-width: 1100px) {
  .head { gap: 14px; }
  .brand img { height: 84px; }
  nav { gap: 13px; font-size: 11px; }
}

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .trustgrid { grid-template-columns: repeat(3, 1fr); }
  .education-grid, .terpene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--deep2);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  nav.open { display: flex; }
  nav a { padding: 10px; }
  nav a.active::after { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .head { min-height: 92px; }
  .brand img { height: 78px; }
  nav { top: 92px; }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0; }
  .hero aside { margin: 0; width: 100%; }
  .trustgrid { grid-template-columns: 1fr 1fr; }
  .trustgrid span { border-bottom: 1px solid rgba(216, 165, 47, .18); }
  .cards { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: 1fr; }
  .filters input, .filters select { flex: 1 1 calc(50% - 10px); font-size: 13px; }
  .filters input { flex-basis: 100%; }
  .reviewrow { grid-template-columns: 105px minmax(0, 1fr) 94px; gap: 12px; }
  .reviewrow > img { width: 105px; height: 105px; }
  .rowscore { min-height: 82px; }
  .rowscore b { font-size: 26px; }
  .reviewgrid { grid-template-columns: 1fr; }
  .reviewhead > .wrap { grid-template-columns: minmax(0, 1fr) 110px; }
  .reviewhead h1 { font-size: 31px; }
  .pagehero > .wrap { grid-template-columns: 1fr; }
  .pagehero img { width: 100%; }
  .education-grid, .terpene-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .copyright { display: grid; gap: 6px; }
  .rankrow { grid-template-columns: 42px 65px minmax(0, 1fr) 52px; }
  .rankrow img { width: 65px; }
}

@media (max-width: 560px) {
  .reviewrow { grid-template-columns: 1fr; }
  .reviewrow > img { width: 100%; height: 210px; }
  .rowscore { width: 132px; min-height: 74px; justify-self: start; }
  .rankrow { grid-template-columns: 42px 1fr 50px; }
  .rankrow img { display: none; }
}

@media (max-width: 480px) {
  .filters input, .filters select { flex-basis: 100%; }
  .trustgrid { grid-template-columns: 1fr; }
  .reviewhead > .wrap { grid-template-columns: 1fr; }
  .bigscore { width: 140px; }
  .hero h1 { font-size: 43px; }
  .brand img { height: 72px; }
  .foot .brand img { height: 105px; }
}
