:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #202722;
  background: #f7f7f0;
  font-synthesis: none;
  --ink: #202722;
  --green: #244b39;
  --lime: #d5ed75;
  --line: #d4d8ce;
  --paper: #fffdf6;
  --botanical: #e5edc5;
  --apricot: #f3dac4;
  --lilac: #e5def1;
  --mint: #dcebe3;
  --ochre: #eee2b9;
  --plum: #4a385b;
  --clay: #794833;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #668c22;
  outline-offset: 4px;
}
a {
  color: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 4.5%;
  border-bottom: 1px solid var(--line);
  gap: 2rem;
}
.wordmark {
  text-decoration: none;
  font-size: 1.65rem;
  letter-spacing: -0.09rem;
  font-weight: 800;
  white-space: nowrap;
}
.brand-dot {
  font-size: 0.65rem;
  color: #578143;
  margin-left: 0.18rem;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.2rem;
}
nav {
  display: flex;
  gap: 1.7rem;
}
.nav {
  background: none;
  border: 0;
  padding: 0.6rem 0;
  color: #656d61;
  font-size: 0.85rem;
}
.nav.active {
  color: var(--ink);
  box-shadow: 0 2px var(--ink);
}
.edition,
.eyebrow,
.coverage > span,
footer > span {
  font-size: 0.65rem;
  letter-spacing: 0.12rem;
  font-weight: 700;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 0 4.5%;
}
.intro {
  padding: 3.8rem 0 2.8rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: #587439;
  border-radius: 50%;
}
h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 1.01;
  letter-spacing: -0.065em;
  margin: 1.5rem 0 2rem;
  font-weight: 500;
  max-width: 850px;
}
.intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.intro p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #626a5f;
  margin: 0;
}
.coverage {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.coverage > span {
  color: #687063;
}
.coverage strong {
  font-size: 0.85rem;
  font-weight: 500;
}
.status-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.73rem;
  color: #5d6658;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin: 2.8rem 0 1.6rem;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  margin: 0.65rem 0 0;
}
.search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #939d8e;
  max-width: 360px;
  width: 100%;
}
.search input {
  border: 0;
  background: none;
  padding: 0.8rem 0;
  width: 100%;
  font-size: 0.85rem;
}
.search span[aria-hidden] {
  font-size: 1.7rem;
}
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.filters > div {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  padding: 0.6rem 0.9rem;
  background: none;
  border-radius: 1.5rem;
  font-size: 0.72rem;
  color: #626a5f;
}
.chip.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
select {
  background: transparent;
  padding: 0.5rem 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  max-width: 180px;
}
.result-count {
  font-size: 0.7rem;
  color: #6c7466;
  margin: 1.5rem 0 0.8rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fffef8;
  border: 1px solid var(--line);
  min-height: 350px;
}
.card-head {
  padding: 1.7rem;
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #e9eddf;
  gap: 1rem;
}
.card:nth-child(3n + 2) .card-head {
  background: #ede7da;
}
.card:nth-child(3n) .card-head {
  background: #dde7e4;
}
.brand {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  word-break: break-word;
}
.arrow {
  font-size: 1.5rem;
}
.card-body {
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.meta {
  font-size: 0.64rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #61705b;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}
.card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin: 0.9rem 0 0.65rem;
}
.card h3 button {
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}
.card h3 button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #66705f;
  margin: 0 0 1.4rem;
}
.card-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e4db;
  font-size: 0.65rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #626b5a;
}
.empty {
  grid-column: 1/-1;
  padding: 3rem;
  border: 1px dashed var(--line);
  text-align: center;
  line-height: 1.8;
  color: #5f685c;
}
.section-note {
  color: #65705f;
  line-height: 1.7;
  max-width: 750px;
  font-size: 0.9rem;
}
.brief-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.brief-number {
  font-size: 2rem;
  letter-spacing: -0.06em;
  color: #89947b;
}
.brief-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}
.brief-item p {
  line-height: 1.65;
  font-size: 0.9rem;
  max-width: 800px;
}
.brief-item a {
  font-size: 0.8rem;
}
.outline {
  border: 1px solid var(--line);
  background: none;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
}
.source-row {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.source-row span {
  font-size: 0.8rem;
  color: #697362;
}
.method {
  margin: 2rem 0;
  padding: 1.7rem;
  background: #e9eddf;
  font-size: 0.85rem;
  line-height: 1.7;
}
.method h3 {
  margin-top: 0;
}
footer {
  max-width: 1440px;
  margin: 5rem auto 0;
  padding: 2rem 4.5%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
footer p {
  font-size: 0.8rem;
  color: #6c7466;
}
footer > span {
  font-size: 0.55rem;
  color: #6c7466;
}
dialog {
  border: 0;
  background: #f7f7f0;
  color: var(--ink);
  width: min(680px, 92vw);
  padding: 3rem;
  max-height: 85vh;
  box-shadow: 0 20px 100px #0003;
}
dialog::backdrop {
  background: #17271999;
}
.close {
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  border: 0;
  background: none;
  font-size: 2rem;
  color: var(--ink);
}
dialog h2 {
  line-height: 1.15;
  margin: 1.5rem 0;
}
dialog p {
  font-size: 0.95rem;
  line-height: 1.7;
}
dialog blockquote {
  border-left: 3px solid #91a474;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #5a6555;
  font-size: 0.9rem;
  line-height: 1.7;
}
dialog dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 0.8rem;
  line-height: 1.6;
  gap: 0.6rem;
}
dialog dt {
  color: #6b7563;
}
dialog dd {
  margin: 0;
}
dialog a {
  font-size: 0.85rem;
}
.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;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edition {
    display: none;
  }
  .coverage {
    display: none;
  }
  .filters {
    align-items: start;
  }
  .section-title {
    gap: 1rem;
  }
  .search {
    max-width: 280px;
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 600px) {
  header {
    padding: 1.2rem 5%;
    gap: 1rem;
  }
  .wordmark {
    font-size: 1.35rem;
  }
  nav {
    gap: 0.9rem;
  }
  .nav {
    font-size: 0.75rem;
  }
  main {
    padding: 0 5%;
  }
  .intro {
    padding: 2.5rem 0 2rem;
  }
  h1 {
    font-size: 3.8rem;
  }
  .intro p br {
    display: none;
  }
  .status-strip {
    flex-direction: column;
    gap: 0.5rem;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
  }
  .search {
    max-width: 100%;
  }
  .filters {
    flex-direction: column;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .card-head {
    min-height: 90px;
  }
  .card h3 {
    font-size: 1.3rem;
  }
  footer {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
    margin-top: 3rem;
  }
  dialog {
    padding: 2rem 1.5rem;
  }
  .brief-item {
    grid-template-columns: 35px 1fr;
  }
  .brief-number {
    font-size: 1.5rem;
  }
}

.research-label {
  color: var(--green, #294838);
  font-size: 0.76rem;
  font-weight: 600;
}
.research-block {
  border-block: 1px solid #d6d8cf;
  padding: 1.6rem 0;
  margin: 1.8rem 0;
}
.finding {
  margin: 1.3rem 0;
}
.finding h3 {
  margin-bottom: 0.45rem;
}
.finding p {
  margin-top: 0;
}
.finding a {
  font-size: 0.8rem;
}
.hypothesis {
  background: #edf0e5;
  padding: 1rem;
}
.research-block li {
  margin-block: 0.6rem;
  overflow-wrap: anywhere;
}

.story-types {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.lead-story {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  margin: 2.5rem 0 3rem;
  background: var(--green);
  color: #fffef8;
}
.lead-story .lead-brand {
  color: var(--lime);
  font-size: 0.8rem;
  margin-top: 2rem;
}
.lead-story h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.15;
}
.lead-story h2 button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.lead-story h2 button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.lead-story p {
  line-height: 1.7;
  font-size: 0.9rem;
}
.lead-story .outline {
  color: inherit;
  border-color: #ffffff60;
  margin-top: 0.8rem;
}
.lead-story aside {
  border-left: 1px solid #ffffff40;
  padding-left: 2rem;
}
.lead-story aside section {
  border-bottom: 1px solid #ffffff30;
  padding: 0.7rem 0;
}
.lead-story h3 {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.lead-story .section-note {
  color: #dce7d3;
  font-size: 0.75rem;
  display: block;
  margin-top: 1rem;
}
@media (max-width: 800px) {
  header {
    flex-wrap: wrap;
  }
  nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .lead-story {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
  .lead-story aside {
    border-left: 0;
    border-top: 1px solid #ffffff40;
    padding: 1.5rem 0 0;
  }
}

/* Campaign knowledge panel */
#detail {
  width: min(1100px, 94vw);
  max-width: 1100px;
  padding: 0;
  max-height: 92vh;
  border-radius: 12px;
}
#close-detail {
  z-index: 2;
}
.knowledge-heading {
  padding: 2.5rem 3rem 1.8rem;
}
.brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}
.brand-monogram {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.8rem;
}
#detail .panel-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.brand-identity div > span {
  font-size: 0.8rem;
  color: #647064;
}
#detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 900px;
  line-height: 1.15;
  margin: 1.4rem 0;
}
.panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.panel-chips span {
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  border-radius: 30px;
  font-size: 0.72rem;
}
.social-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--green);
  color: #fffef8;
}
.video-art {
  min-width: 0;
  background: #162e24;
}
.video-art a {
  display: grid;
  height: 100%;
  min-height: 300px;
  position: relative;
  place-items: center;
}
.video-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#detail .watch-pill {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--lime);
  color: var(--ink);
  border-radius: 30px;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.video-placeholder {
  font-size: 2rem;
  color: #fff;
}
.video-info {
  padding: 2rem;
  min-width: 0;
}
.video-info h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 1rem 0 0.6rem;
}
#detail .video-info p {
  font-size: 0.8rem;
}
.video-role {
  font-size: 0.72rem;
  color: #d6e2ca;
}
.video-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  border-top: 1px solid #ffffff40;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.video-metrics strong {
  display: block;
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.video-metrics span {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.4rem;
  color: #d6e2ca;
}
#detail .metric-date {
  font-size: 0.7rem;
  opacity: 0.75;
}
.social-empty {
  grid-column: 1 / -1;
  padding: 2rem 3rem;
}
.social-empty h3 {
  font-size: 2rem;
  margin: 0.8rem 0;
}
#detail .social-empty a {
  color: var(--lime);
}
.watch-link {
  display: block;
  padding: 0.5rem 0;
}
.video-selector {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  overflow-x: auto;
}
.video-selector button {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 0.75rem;
}
.video-selector button[aria-pressed="true"] {
  background: #e5edda;
  border-color: var(--green);
}
.video-selector img {
  width: 72px;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.video-selector span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.panel-navigation {
  display: flex;
  gap: 2rem;
  padding: 0 3rem;
  border-bottom: 1px solid var(--line);
}
.panel-navigation button {
  border: 0;
  background: none;
  padding: 1.2rem 0;
  color: #637263;
}
.panel-navigation button[aria-pressed="true"] {
  color: var(--green);
  box-shadow: inset 0 -3px var(--green);
  font-weight: 700;
}
.panel-body {
  padding: 1.5rem 3rem 2rem;
}
#detail .panel-intro {
  font-size: 1.1rem;
  line-height: 1.7;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
#detail .story-grid p {
  font-size: 0.85rem;
}
.panel-takeaway {
  border-left: 3px solid var(--green);
  padding: 1.3rem;
  background: #eaf0df;
}
.panel-takeaway p {
  margin-bottom: 0;
}
.panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 3rem;
}
#detail .panel-footer a,
.panel-footer button {
  font-size: 0.7rem;
}
.panel-footer button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .social-stage,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-heading,
  .panel-body,
  .social-empty {
    padding: 1.5rem;
  }
  .panel-navigation,
  .panel-footer {
    padding-inline: 1.5rem;
  }
  .video-selector {
    padding: 1rem;
  }
  .video-selector button {
    flex-direction: column;
    align-items: start;
  }
  .video-selector img {
    width: 100%;
  }
  .video-art a {
    min-height: 180px;
  }
  .video-info {
    padding: 1.5rem;
  }
}

.youtube-preview {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.preview-skeleton {
  position: absolute;
  inset: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  filter: blur(9px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}
.preview-screen {
  background: linear-gradient(135deg, #93a777, #102b21 65%);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.preview-screen span {
  font-size: 5rem;
  color: #d5ed75;
}
.preview-data {
  padding-top: 2rem;
}
.preview-data i {
  display: block;
  height: 20px;
  background: #d5ed75;
  margin: 1.5rem 0;
  border-radius: 8px;
}
.preview-data i:nth-child(2) {
  width: 60%;
}
.preview-data > div {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}
.preview-data b {
  display: block;
  height: 55px;
  width: 28%;
  background: #ecf1df;
  border-radius: 8px;
}
.preview-invitation {
  text-align: center;
  padding: 1.8rem 1.5rem 1rem;
  background: #15352570;
}
.preview-invitation .eyebrow {
  color: var(--lime);
}
.preview-invitation h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0.8rem 0;
}
#detail .preview-invitation > p {
  font-size: 0.9rem;
  max-width: 390px;
  margin: 0.8rem auto 1.3rem;
}
.preview-invitation button {
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 30px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
#detail .preview-invitation .preview-terms {
  font-size: 0.7rem;
  line-height: 1.7;
  color: #e0e8d8;
  margin-bottom: 0;
}
#detail .preview-terms a,
#detail .preview-direct a {
  color: inherit;
}
.preview-direct {
  background: #15352570;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  padding: 1rem 1.5rem 1.5rem;
}
#detail .preview-direct a {
  font-size: 0.72rem;
}

.social-stage[hidden] {
  display: none;
}
.video-art > button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.video-art iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}
#detail .external-video {
  font-size: 0.75rem;
  color: var(--lime);
}

/* Brand browsing is a compact index; expand only the campaigns of interest. */
.brand-search {
  display: block;
  max-width: 24rem;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  grid-auto-rows: minmax(7.25rem, auto);
}
.brand-card {
  border: 1px solid var(--line);
  background: #fffef8;
  border-radius: 0.6rem;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.brand-card:hover,
.brand-card:focus-visible {
  border-color: #809376;
  box-shadow: 0 0.3rem 1rem #173b2310;
}
.brand-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem;
  min-height: 7.25rem;
  height: 100%;
  box-sizing: border-box;
  border-radius: 0.6rem;
  cursor: pointer;
  list-style: none;
}
.brand-card:hover {
  background: #f0f2e8;
}
.brand-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.brand-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  background: #e9eddf;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 0.45rem;
  border: 1px solid #d5ddcb;
}
.brand-card:nth-child(3n + 2) .brand-avatar {
  background: #ece4d6;
  border-color: #e1d5c0;
}
.brand-card:nth-child(3n) .brand-avatar {
  background: #dfe9e5;
  border-color: #cbded6;
}
.brand-card-info {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.brand-card-info strong {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-card-info > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 2.8em;
}
.brand-card-info > span,
.brand-card-info small {
  font-size: clamp(0.7rem, 0.9vw, 0.78rem);
  color: #626a5f;
}
.brand-expand {
  margin-left: auto;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  transition: transform 0.18s;
}
.brand-campaigns {
  border-top: 1px solid var(--line);
  padding: 0 1rem;
}
.brand-campaigns button {
  display: block;
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}
.brand-campaigns button:last-child {
  border-bottom: 0;
}
.brand-campaigns button span {
  display: block;
  margin-bottom: 0.25rem;
  color: #626a5f;
  font-size: 0.68rem;
  text-transform: uppercase;
}
@media (max-width: 1100px) {
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}

#brands-view {
  padding-top: 0.5rem;
}
#brands-view .section-title {
  margin-bottom: 0.5rem;
}
#brands-view .section-note {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}
.brand-search {
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 0.2rem 0.9rem;
}
.brand-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #cbd8bc60;
}
.brand-search input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
}
.brand-campaigns button:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .brand-card,
  .brand-expand {
    transition: none;
  }
}

button.brand-card {
  text-align: left;
  color: inherit;
  font-family: inherit;
  width: 100%;
}
#brand-detail {
  padding: 0;
  width: min(42rem, calc(100vw - 2rem));
  height: min(46rem, 90dvh);
  max-height: 90dvh;
  border-radius: 0.75rem;
  overflow: hidden;
}
#brand-detail[open] {
  display: flex;
  flex-direction: column;
}
.brand-panel-header {
  position: relative;
  padding: 2rem 2rem 0;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}
#brand-panel-title {
  margin: 0.75rem 2rem 1rem 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  overflow-wrap: anywhere;
}
#brand-panel-count {
  font-size: 0.75rem;
  color: #626a5f;
}
#brand-panel-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 2rem;
  border-top: 0;
}
#brand-panel-list button {
  overflow-wrap: anywhere;
}
#brand-panel-list strong {
  display: block;
  font-weight: 600;
}
#brand-panel-list small {
  display: block;
  margin-top: 0.5rem;
  color: var(--green);
}
#brand-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  font-size: 0.8rem;
}
#brand-pagination button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  color: var(--green);
  border-radius: 0.3rem;
  cursor: pointer;
}
#brand-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 500px) {
  #brand-detail {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .brand-panel-header {
    padding: 1.25rem 1.25rem 0;
  }
  #brand-panel-list {
    padding: 0 1.25rem;
  }
  #brand-pagination {
    padding: 0.75rem 1.25rem;
  }
}

/* Editorial front page: the campaign is the focus, not collection machinery. */
.intro {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.intro-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 3rem;
}
.intro h1 {
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  margin: 1.1rem 0 0;
  letter-spacing: -0.055em;
}
.intro h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
}
.intro-layout p {
  max-width: 26rem;
  padding-bottom: 0.3rem;
  line-height: 1.7;
}
.lead-story {
  margin: 2rem 0 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
  gap: 0;
  grid-template-columns: 1.4fr 1fr;
  background: #fffef8;
}
.lead-story > div {
  padding: 2rem;
}
.lead-story h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  line-height: 1.12;
}
.lead-story aside {
  padding: 2rem;
  background: var(--green);
  color: #f7f7f0;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-story aside .eyebrow {
  color: var(--lime);
}
.lead-story aside h3 {
  color: #fffef8;
  font-size: 1.1rem;
}
.lead-story aside p {
  color: #e0e6db;
  line-height: 1.8;
  font-size: 0.95rem;
}
.lead-story .outline {
  border-radius: 2rem;
  padding: 0.85rem 1.2rem;
  background: var(--green);
  color: #fffef8;
}
#cards {
  gap: 0;
  border-top: 1px solid var(--line);
}
#cards .card {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
}
#cards .card:nth-child(3n) {
  border-right: 0;
}
#cards .card-body {
  padding: 1.5rem;
}
#cards .card h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.35;
  margin: 0.65rem 0;
}
#cards .card h3 a,
#cards .card h3 button {
  text-decoration: none;
}
#cards .card h3 a:hover,
#cards .card h3 button:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}
.feed-brand {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-top: 1rem;
}
#cards .card-body > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
}
#cards .card-foot {
  margin-top: auto;
  padding-top: 1.3rem;
  border: 0;
  gap: 0.5rem;
}
#cards .card-foot a,
#cards .card-foot button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}
.feed-filters {
  margin: 1rem 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}
.feed-filters > summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: #626a5f;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.feed-filters .filters {
  padding: 1rem 0 0.2rem;
}
#brands-view,
#playbooks-view {
  padding-top: 0.5rem;
}
@media (max-width: 900px) {
  #cards .card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  #cards .card:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 600px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lead-story {
    grid-template-columns: 1fr;
  }
  .lead-story > div,
  .lead-story aside {
    padding: 1.4rem;
  }
  #cards .card:nth-child(n) {
    border-right: 0;
  }
  #cards .card-body {
    padding: 1.5rem 0;
  }
  header {
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
    justify-content: space-between;
  }
}

/* Cream feature surface uses dark text; the evidence inset retains white. */
.lead-story > div {
  color: var(--ink);
}
.lead-story > div > .eyebrow,
.lead-story .lead-brand {
  color: var(--green);
}

.coverage-story {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.coverage-story h3 {
  margin: 0.5rem 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.4;
}
.coverage-story a {
  color: var(--green);
  text-decoration: none;
}
.coverage-story a:hover {
  text-decoration: underline;
}

.video-history {
  padding: 1.5rem;
  border: 1px solid var(--line, #d9ddd4);
  border-radius: 1rem;
  margin: 1.25rem 0;
  background: #f4f6ef;
}
.history-heading,
.history-scale,
.history-dates {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  color: #5a6559;
}
.history-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 1rem 0;
}
.history-tabs button {
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  background: transparent;
  border: 1px solid #ccd3c7;
  color: #294833;
  font-size: 0.8rem;
}
.history-tabs button[aria-pressed="true"] {
  background: #234d36;
  color: #fff;
  border-color: #234d36;
}
.history-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.5rem 0;
}
.history-chart path {
  stroke: #d6ddcf;
  fill: none;
  stroke-width: 1;
}
.history-chart circle {
  fill: #2f6546;
}
.history-start {
  font-size: 0.9rem;
  color: #5a6559;
  line-height: 1.6;
}
.history-values {
  margin-top: 1rem;
  font-size: 0.8rem;
}
.history-values summary {
  cursor: pointer;
}
.history-values table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}
.history-values th,
.history-values td {
  padding: 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid #d6ddcf;
}
.history-values td:last-child,
.history-values th:last-child {
  text-align: right;
}

.ui-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.watch-pill .ui-icon {
  width: 0.9em;
  margin-right: 0.35em;
}
.preview-screen .ui-icon {
  width: 2rem;
  height: 2rem;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card-foot a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
.feed-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.feed-pagination[hidden] {
  display: none;
}
.feed-pagination button,
.campaign-actions button {
  border: 1px solid #cdd3c7;
  border-radius: 2rem;
  padding: 0.55rem 1rem;
  background: transparent;
  color: inherit;
  font-size: 0.8rem;
}
.feed-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-discovery {
  margin: 2rem 0 4rem;
}
.activity-heading {
  padding: 0 0 1.5rem;
}
.activity-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
  margin: 0.6rem 0;
}
.activity-heading p {
  color: #626b60;
  max-width: 40rem;
  line-height: 1.6;
}
.activity-controls {
  border: 1px solid #d8ddd2;
  border-radius: 1rem;
  background: #f0f2e9;
  padding: 1rem;
}
.activity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.activity-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  padding: 0.7rem 0.95rem;
  color: #475445;
  background: transparent;
  font-size: clamp(0.78rem, 1vw, 0.875rem);
}
.activity-tab span {
  padding: 0.12rem 0.4rem;
  border-radius: 1rem;
  background: #dfe5d8;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.activity-tab[aria-pressed="true"] {
  background: #223b2c;
  color: #fff;
}
.activity-tab[aria-pressed="true"] span {
  background: #d7e9af;
  color: #223b2c;
}
.activity-tab:hover {
  border-color: #7d9274;
}
.activity-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  gap: 0.75rem;
}
.activity-searchbox {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  background: #fffef9;
  border: 1px solid #cbd3c3;
  border-radius: 0.6rem;
  min-width: 0;
}
.activity-searchbox > svg {
  flex-shrink: 0;
  width: 1.1rem;
  color: #667660;
}
.activity-searchbox input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.6rem 0;
  outline-offset: 2px;
}
.activity-searchbox button {
  border: 0;
  border-radius: 0.4rem;
  padding: 0.65rem 0.8rem;
  background: #e7eddc;
  color: #233c2c;
  font-size: 0.8rem;
}
.activity-creator-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #cbd3c3;
  border-radius: 0.6rem;
  background: #fffef9;
  min-width: 0;
}
.activity-creator-label > span {
  font-size: 0.75rem;
  color: #5d6b58;
}
.activity-creator-label select {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  color: #263c2b;
}
.activity-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  font-size: 0.85rem;
  color: #606c59;
}
.activity-results button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  color: #284b34;
  font-size: 0.8rem;
  padding: 0.5rem;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.community-card {
  border: 1px solid #d8ddd2;
  border-radius: 0.85rem;
  min-width: 0;
  background: #fffef9;
  overflow: hidden;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.community-card:hover {
  border-color: #a3b196;
  box-shadow: 0 6px 20px #223b2c0b;
}
.community-player {
  aspect-ratio: 16/9;
  position: relative;
  background: #242922;
  overflow: hidden;
}
.community-player img,
.community-player iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.community-player button {
  position: absolute;
  inset: auto 0.8rem 0.8rem auto;
  border-radius: 50%;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  background: #fffef9;
  color: #223b2c;
  border: 1px solid #ffffffa0;
  box-shadow: 0 2px 12px #0003;
}
.community-copy {
  padding: 1.05rem;
}
.activity-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.3rem;
  background: #edf1e4;
  color: #426038;
  padding: 0.35rem 0.5rem;
}
.community-copy .activity-author {
  color: #69715f;
  font-size: 0.78rem;
  margin: 1rem 0 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.community-copy h3 {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  min-height: 4.05em;
}
.community-copy h3 a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.community-copy h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.community-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e6e9e0;
}
.community-counts div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.community-counts strong {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.community-counts span {
  font-size: 0.7rem;
  color: #6c7564;
}
.community-copy summary {
  cursor: pointer;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #365638;
}
.community-copy blockquote {
  margin: 1rem 0;
  padding-left: 0.8rem;
  border-left: 2px solid #aabd94;
  font-size: 0.85rem;
  line-height: 1.5;
}
.community-copy cite {
  font-size: 0.75rem;
}
.activity-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 1000px) {
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .activity-filters {
    grid-template-columns: 1fr;
  }
  .activity-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }
  .activity-tab {
    flex-shrink: 0;
  }
  .activity-controls {
    padding: 0.75rem;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .activity-results {
    align-items: flex-start;
    padding: 1rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-card {
    transition: none;
  }
}
#trend-explorer {
  padding: 2rem 0;
}
.trend-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
  background: #edf1e5;
  padding: 1.2rem;
  border-radius: 0.85rem;
}
.trend-controls label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  flex: 1 1 9rem;
}
.trend-controls select {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.65rem;
  background: #fffef9;
  border: 1px solid #cbd3c3;
  border-radius: 0.4rem;
}
.trend-evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}
.trend-evidence article {
  padding: 1.2rem;
  border: 1px solid #d8ddd2;
  border-radius: 0.75rem;
}
.trend-evidence h3 button {
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  text-align: left;
  line-height: 1.4;
}
.trend-evidence details {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #526149;
}

.trend-refine {
  border-top: 1px solid #d4d9cc;
  border-bottom: 1px solid #d4d9cc;
}
.trend-refine > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 0.9rem;
  list-style: none;
  color: #30482e;
}
.trend-refine > summary::-webkit-details-marker {
  display: none;
}
.trend-refine[open] .trend-controls {
  margin-bottom: 1rem;
}
.trend-evidence article {
  background: #fffef9;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
}
.trend-story-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.trend-monogram {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #e7ebda;
  color: #345338;
  font-family: Georgia, serif;
  letter-spacing: -0.05em;
  font-size: 1rem;
}
.trend-story-brand small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: #7a806f;
  margin-top: 0.4rem;
  letter-spacing: 0;
}
.trend-evidence h3 {
  margin: 1.2rem 0;
}
.trend-evidence details {
  margin-top: auto;
  padding-top: 0.6rem;
}

/* Content leads; the established editorial identity frames the stories. */
.trend-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.trend-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.055em;
  margin: 0.5rem 0 0;
  line-height: 1.05;
}
.trend-heading h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #345338;
}
.trend-heading p {
  color: #64705c;
  font-size: 0.95rem;
  margin: 0;
}
.trend-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.3rem;
}
.trend-quick-filters button {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: transparent;
  color: var(--green);
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}
.trend-quick-filters button[aria-pressed="true"] {
  background: var(--green);
  color: #fffef9;
  border-color: var(--green);
}
.trend-evidence {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.trend-evidence .trend-story {
  padding: 1.5rem;
  border: 0;
  background: #e8edcc;
}
.trend-evidence .trend-story:nth-child(3n + 2) {
  background: #f2dfca;
}
.trend-evidence .trend-story:nth-child(3n) {
  background: #e6e0ef;
}
.trend-evidence .trend-story:nth-child(n + 4) {
  background: #fffef9;
  border: 1px solid var(--line);
}
.trend-story .trend-art {
  width: 2.6rem;
  height: 2.6rem;
  margin-left: auto;
  color: #345338;
  flex-shrink: 0;
}
.trend-story .trend-monogram {
  background: #fffef980;
  flex-shrink: 0;
}
.trend-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-size: 0.7rem;
  color: #4c6048;
  margin-top: 1.3rem;
}
.trend-evidence .trend-story h3 {
  margin: 0.65rem 0;
}
.trend-evidence .trend-story h3 button {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.trend-story-summary {
  color: #43503f;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0.3rem 0 1.4rem;
}
.trend-read {
  margin-top: auto;
  padding: 1rem 0 0;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--green);
  font-size: 0.8rem;
  text-align: left;
}
@media (max-width: 1050px) {
  .trend-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #trend-explorer {
    padding: 1.5rem 0;
  }
  .trend-heading {
    display: block;
  }
  .trend-heading p {
    margin-top: 0.8rem;
  }
  .trend-evidence {
    grid-template-columns: 1fr;
  }
}
.pattern-heading h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0.5rem 0;
  letter-spacing: -0.035em;
}
.pattern-heading p {
  font-size: 0.85rem;
  color: #64705c;
  max-width: 42rem;
  line-height: 1.5;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
  align-items: start;
}
.pattern-grid article {
  padding: 1.4rem;
  border-radius: 0.85rem;
  background: #e8edcc;
}
.pattern-grid article:nth-child(2) {
  background: #f2dfca;
}
.pattern-grid article:nth-child(3) {
  background: #e6e0ef;
}
.pattern-grid h4 {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin: 0.8rem 0;
  line-height: 1.15;
}
.pattern-grid p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #43503f;
}
.pattern-grid summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--green);
}
.pattern-grid details button {
  display: grid;
  gap: 0.3rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid #31462822;
  padding: 0.8rem 0;
  color: var(--green);
  font-size: 0.8rem;
  line-height: 1.4;
}
.pattern-grid details button:first-of-type {
  margin-top: 0.8rem;
}
.trend-feed-heading {
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}
@media (max-width: 800px) {
  .pattern-grid {
    grid-template-columns: 1fr;
  }
}

/* Section accents preserve one identity while giving each browsing mode character. */
#trends-view {
  --section-accent: var(--botanical);
  --section-ink: var(--green);
}
#discover-view {
  --section-accent: var(--apricot);
  --section-ink: var(--clay);
}
#activity-view {
  --section-accent: var(--lilac);
  --section-ink: var(--plum);
}
#brands-view {
  --section-accent: var(--mint);
  --section-ink: var(--green);
}
#playbooks-view {
  --section-accent: var(--ochre);
  --section-ink: #625025;
}
header {
  background: var(--paper);
  gap: 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
nav {
  gap: 0.4rem;
}
.nav {
  padding: 0.7rem 1rem;
  border-radius: 2rem;
}
.nav.active {
  box-shadow: none;
  background: var(--green);
  color: var(--paper);
}
.nav:hover:not(.active) {
  background: #e9ecdf;
  color: var(--green);
}
.section-title h2,
.activity-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
#brands-view .section-title,
#playbooks-view .section-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-top: 2rem;
}
#brands-view .section-title .eyebrow,
#playbooks-view .section-title .eyebrow,
.activity-heading .eyebrow {
  color: var(--section-ink);
}
.intro {
  padding: 1.6rem 0;
}
.intro h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.lead-story {
  border-radius: 1rem;
  border: 0;
  background: var(--apricot);
  margin: 1.5rem 0 2rem;
}
.lead-story h2 button {
  font-family: Georgia, serif;
  font-weight: 400;
}
#cards {
  gap: 1rem;
  border: 0;
}
#cards .card {
  border: 1px solid #dfd9ca;
  border-radius: 0.85rem;
  background: var(--paper);
  overflow: hidden;
}
#cards .card:nth-child(3n) {
  border-right: 1px solid #dfd9ca;
}
#cards .card h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
#cards .feed-brand {
  color: var(--clay);
}
#cards .meta {
  color: #71675c;
}
#cards .card-foot {
  border-top: 1px solid #e8e1d5;
  margin-top: 1rem;
}
#discover-view .chip.active {
  background: var(--clay);
  color: var(--paper);
  border-color: var(--clay);
}
.activity-controls {
  background: var(--lilac);
  border: 0;
  padding: 1.1rem;
}
.activity-tab {
  color: var(--plum);
}
.activity-tab[aria-pressed="true"] {
  background: var(--plum);
  color: var(--paper);
}
.activity-tab[aria-pressed="true"] span {
  background: #ffffff26;
  color: var(--paper);
}
.community-card {
  border-color: #dcd6e3;
  background: var(--paper);
}
.activity-badge {
  color: var(--plum);
  background: var(--lilac);
}
.community-copy h3 {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.35;
}
.brand-card {
  background: var(--paper);
  border-color: #cfded3;
  border-radius: 0.85rem;
}
.brand-card:hover {
  background: var(--mint);
  border-color: #729681;
}
.brand-avatar,
.brand-card:nth-child(3n + 2) .brand-avatar,
.brand-card:nth-child(3n) .brand-avatar {
  background: var(--mint);
  color: var(--green);
  border-color: #c6d8ce;
  border-radius: 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.brand-card-info strong {
  font-size: 1rem;
  letter-spacing: -0.025em;
}
.brand-expand {
  color: var(--green);
}
#playbooks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
#playbooks .brief-item {
  position: relative;
  display: block;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid #ded5ba;
  border-radius: 0.85rem;
}
#playbooks .brief-number {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
  color: #8c7743;
  margin-bottom: 1rem;
}
#playbooks .brief-item:nth-child(3n + 1) {
  background: var(--ochre);
  border-color: transparent;
}
#playbooks h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
#playbooks p {
  font-size: 0.9rem;
  line-height: 1.7;
}
#playbooks .outline {
  border-radius: 2rem;
  color: #625025;
  border-color: #b9a66f;
  background: transparent;
}
.trend-refine {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
  padding: 0 1rem;
}
.trend-quick-filters button {
  background: var(--paper);
}
.pattern-grid article {
  background: var(--botanical);
  border-radius: 1rem;
  padding: 1.5rem;
}
.pattern-grid article:nth-child(2) {
  background: var(--apricot);
}
.pattern-grid article:nth-child(3) {
  background: var(--lilac);
}
.pattern-grid .eyebrow {
  letter-spacing: 0.08em;
  color: #536047;
}
.pattern-grid h4 {
  font-weight: 400;
}
.pattern-grid details {
  border-top: 1px solid #31462826;
  padding-top: 1rem;
}
.trend-evidence .trend-story,
.trend-evidence .trend-story:nth-child(3n + 2),
.trend-evidence .trend-story:nth-child(3n) {
  background: var(--paper);
  border: 1px solid var(--line);
}
.trend-story .trend-monogram {
  background: var(--botanical);
  border-radius: 0.65rem;
}
.trend-story-tags span:first-child {
  background: #edf0e1;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
}
.trend-story-tags {
  align-items: center;
}
.trend-evidence .trend-story h3 button {
  font-weight: 400;
}
.trend-read {
  border-top: 1px solid #d4d8ce88;
}
@media (max-width: 700px) {
  header {
    gap: 0.8rem;
  }
  .nav {
    padding: 0.55rem 0.7rem;
  }
  #playbooks {
    grid-template-columns: 1fr;
  }
  .intro-layout {
    gap: 1rem;
  }
}

/* Shared reading rhythm keeps controls secondary to the stories. */
:is(#brands-view, #playbooks-view) .section-title h2,
.activity-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.section-note {
  line-height: 1.6;
  color: #596356;
}
#brands-view .section-note {
  margin-bottom: 1rem;
}
.brand-card-info small {
  color: #496650;
}
.activity-tab:not([aria-pressed="true"]) span {
  background: #d8cfe5;
  color: var(--plum);
}
.activity-searchbox,
.activity-creator-label {
  border-color: #cbbfd6;
  background: var(--paper);
}
.activity-searchbox > svg,
.activity-creator-label > span,
.activity-creator-label select {
  color: var(--plum);
}
.activity-searchbox button {
  background: var(--lilac);
  color: var(--plum);
}
.pattern-grid article {
  border: 1px solid #244b3910;
}
.pattern-grid p {
  margin-bottom: 1.15rem;
}
.pattern-grid summary {
  padding: 0.2rem 0;
  font-weight: 600;
}
.trend-read {
  min-height: 2.75rem;
}
.trend-story-brand strong,
.brand-card-info strong {
  overflow-wrap: anywhere;
}
:is(.trend-evidence, #cards, #playbooks) button:focus-visible,
.pattern-grid summary:focus-visible,
.trend-refine > summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 0.25rem;
}
@media (hover: hover) {
  .trend-read:hover,
  .pattern-grid details button:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
}
@media (max-width: 600px) {
  header {
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }
  nav {
    justify-content: flex-start;
    gap: 0.25rem;
  }
  .nav {
    min-height: 2.5rem;
  }
  #brands-view .section-title,
  #playbooks-view .section-title {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }
  .brand-search {
    max-width: none;
  }
  .brand-card {
    padding: 1rem;
    min-height: 6.5rem;
  }
  .brand-grid {
    grid-auto-rows: minmax(6.5rem, auto);
  }
  .pattern-grid article,
  #playbooks .brief-item {
    padding: 1.2rem;
  }
  .pattern-grid {
    gap: 0.75rem;
  }
  .activity-heading {
    padding-bottom: 0.7rem;
  }
  .social-discovery {
    margin-top: 1.5rem;
  }
}
#community-consent {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--plum);
  border-radius: 2rem;
  background: var(--plum);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
}
#brand-profile-summary {
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--mint);
  color: var(--green);
  font-size: 0.9rem;
  line-height: 1.65;
}
#brand-profile-summary p {
  margin: 0 0 0.7rem;
  max-width: 60ch;
}
#brand-profile-summary a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  text-underline-offset: 0.2em;
}
