/* Ghana First — warm editorial refinements and new conversation sections. */
:root {
  --green: #103b2e;
  --green-dark: #082a20;
  --gold: #d8b46a;
  --cream: #faf7f0;
  --ink: #20342b;
  --muted: #627065;
  --line: #e2e3d7;
  --sage: #e8eddf;
  --gold-pale: #f1e5c7;
  --gold-dark: #866324;
}

/* Palette normalization */
body {
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

.topbar {
  background: linear-gradient(100deg, var(--green-dark), var(--green));
  color: #e8eee7;
}

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand-name,
.eyebrow,
.text-link,
.desktop-nav a.active,
.desktop-nav a:hover,
.focus-label,
.focus-inner a,
.category-label,
.read-link,
.about-values h3,
.contact-details a,
.footer-main nav a:hover {
  color: var(--green);
}

.brand-name > .brand-period {
  color: var(--gold-dark);
}

.brand-tagline,
.edition-note,
.story-meta,
.story-card > p,
.content-note,
.about-copy > p,
.about-values p,
.contact-inner p:not(.eyebrow),
.footer-main > p,
.footer-bottom,
.footer-bottom button,
.focus-inner p,
.dialog p {
  color: var(--muted);
}

.button-gold,
.hero-actions .button-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.button-gold:hover,
.hero-actions .button-gold:hover {
  background: #e3c17a;
  color: var(--green-dark);
}

.button-green {
  background: var(--green);
}

.button-green:hover {
  background: var(--green-dark);
}

.text-link {
  transition: color .2s ease, gap .2s ease;
}

.text-link:hover {
  color: var(--gold-dark);
}

.text-link:hover .icon,
.prompt-button:hover .icon {
  transform: translateX(3px);
}

.text-link .icon,
.prompt-button .icon {
  transition: transform .2s ease;
}

.icon-button:hover {
  background: var(--sage);
}

.focus-strip {
  background: var(--sage);
  border-bottom-color: var(--line);
}

.hero,
.community-section {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
}

.community-section {
  color: #fff;
}

.hero .hero-eyebrow,
.community-copy h2 em {
  color: var(--gold);
}

.flag-stripe span:nth-child(2) {
  background: var(--gold);
}

.community-card {
  background: var(--cream);
}

.contact-section {
  background: var(--sage);
  border-top-color: var(--line);
}

.site-footer {
  background: var(--cream);
}

/* Shared section rhythm */
.explore-section,
.participate-section {
  padding-top: 84px;
  padding-bottom: 88px;
}

.explore-section .section-header,
.voices-section .section-header,
.participate-intro {
  margin-bottom: 38px;
}

.section-intro {
  max-width: 320px;
  margin: 0 0 5px auto;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* Explore Ghana */
.explore-layout {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.48fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: start;
}

.explore-selector {
  padding-top: 3px;
}

.explore-note {
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.5;
  text-transform: uppercase;
}

.explore-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.explore-tab {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 86px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  transition: color .2s ease, background .2s ease, padding .2s ease;
}

.explore-tab:hover,
.explore-tab[aria-selected="true"] {
  padding-left: 13px;
  padding-right: 8px;
  color: var(--green);
  background: var(--gold-pale);
}

.explore-tab[aria-selected="true"] {
  box-shadow: inset 3px 0 var(--gold);
}

.explore-tab .tab-number {
  align-self: start;
  padding-top: 2px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.explore-tab > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.explore-tab strong {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.explore-tab small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.explore-tab .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-dark);
  transition: transform .2s ease;
}

.explore-tab:hover .icon,
.explore-tab[aria-selected="true"] .icon {
  transform: translateX(3px);
}

.explore-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(235px, .84fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  animation: refinement-fade-in .35s ease both;
}

.explore-photo {
  margin: 0;
}

.explore-photo img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(.84) contrast(.98);
}

.explore-photo figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .25px;
}

.explore-photo figcaption .icon {
  width: 13px;
  height: 13px;
  color: var(--gold-dark);
}

.explore-panel-copy {
  min-width: 0;
}

.explore-panel-copy .eyebrow {
  margin-bottom: 13px;
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 1.8px;
}

.explore-panel-copy h3 {
  margin-bottom: 17px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -.45px;
  line-height: 1.08;
}

.explore-panel-copy > p:not(.eyebrow) {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.explore-panel-copy .text-link {
  font-size: 11px;
}

/* Voices */
.voices-section {
  padding: 82px 0 88px;
  background: var(--sage);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voices-section .section-header h2 {
  color: var(--green);
}

.voices-layout {
  display: grid;
  grid-template-columns: minmax(240px, .73fr) minmax(0, 1.27fr);
  gap: clamp(50px, 9vw, 125px);
  align-items: start;
}

.voices-lead {
  max-width: 380px;
}

.voices-lead .eyebrow {
  margin-bottom: 15px;
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 1.8px;
}

.voices-lead h3 {
  margin-bottom: 19px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -.5px;
  line-height: 1.07;
}

.voices-lead > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.voices-lead .text-link {
  font-size: 11px;
}

.voice-prompts {
  border-top: 1px solid #cbd3c3;
}

.voice-prompt {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 44px;
  gap: 17px;
  align-items: start;
  min-height: 128px;
  padding: 23px 0 22px;
  border-bottom: 1px solid #cbd3c3;
}

.prompt-index {
  padding-top: 2px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.voice-prompt .eyebrow {
  margin-bottom: 6px;
  color: var(--gold-dark);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.voice-prompt h3 {
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.voice-prompt div > p:not(.eyebrow) {
  max-width: 530px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.prompt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b9c4b4;
  border-radius: 50%;
  color: var(--green);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.prompt-button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-dark);
}

.prompt-button .icon {
  width: 17px;
  height: 17px;
}

/* Participation and FAQ */
.participate-section {
  padding-top: 86px;
}

.participate-intro {
  max-width: 690px;
}

.participate-intro .eyebrow {
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 1.8px;
}

.participate-intro h2 {
  margin-bottom: 15px;
  color: var(--green);
  font-size: 47px;
}

.participate-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.participate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(285px, .88fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.contribution-paths {
  border-top: 1px solid var(--line);
}

.contribution-path {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 19px;
  padding: 24px 0 25px;
  border-bottom: 1px solid var(--line);
}

.path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
}

.path-icon .icon {
  width: 16px;
  height: 16px;
}

.contribution-path h3 {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.contribution-path p {
  max-width: 540px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.contribution-path .text-link {
  font-size: 10px;
}

.faq-block {
  border-top: 2px solid var(--green);
}

.faq-block > h3 {
  padding: 18px 0 14px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 0;
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

.faq-item summary .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-dark);
  transition: transform .2s ease;
}

.faq-item[open] summary {
  color: var(--gold-dark);
}

.faq-item[open] summary .icon {
  transform: rotate(90deg);
}

.faq-item > p {
  max-width: 520px;
  padding: 0 30px 18px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.faq-item a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep newly added controls comfortably tappable. */
.explore-tab,
.prompt-button,
.faq-item summary,
.contribution-path .text-link {
  min-height: 44px;
}

@keyframes refinement-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Existing desktop navigation labels fit the shorter six-link navigation. */
@media (max-width: 1150px) {
  .desktop-nav {
    gap: 16px;
  }

  .header-follow {
    display: none;
  }

  .explore-layout,
  .voices-layout,
  .participate-layout {
    gap: 42px;
  }

  .explore-panel {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .explore-section,
  .participate-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .voices-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .section-intro {
    max-width: 280px;
  }

  .explore-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .explore-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
    gap: 10px;
  }

  .explore-tab,
  .explore-tab:hover,
  .explore-tab[aria-selected="true"] {
    grid-template-columns: 25px minmax(0, 1fr);
    min-height: 100%;
    padding: 13px 12px;
    border: 1px solid var(--line);
    box-shadow: none;
  }

  .explore-tab .icon {
    display: none;
  }

  .explore-tab[aria-selected="true"] {
    border-color: var(--gold);
    box-shadow: inset 0 3px var(--gold);
  }

  .explore-panel {
    grid-template-columns: minmax(0, 1.12fr) minmax(210px, .88fr);
  }

  .voices-layout,
  .participate-layout {
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 38px;
  }

  .voices-lead h3 {
    font-size: 34px;
  }

  .participate-intro h2 {
    font-size: 42px;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 14px;
  }

  .topbar {
    background: var(--green-dark);
  }

  .explore-section,
  .participate-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .voices-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .explore-section .section-header,
  .voices-section .section-header,
  .participate-intro {
    margin-bottom: 27px;
  }

  .section-intro {
    max-width: 340px;
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  .explore-layout {
    gap: 27px;
  }

  .explore-note {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .explore-tabs {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .explore-tabs::-webkit-scrollbar {
    display: none;
  }

  .explore-tab,
  .explore-tab:hover,
  .explore-tab[aria-selected="true"] {
    display: block;
    flex: 0 0 174px;
    min-height: 84px;
    padding: 11px 12px;
  }

  .explore-tab .tab-number {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    font-size: 9px;
  }

  .explore-tab strong {
    display: block;
    font-size: 11px;
    line-height: 1.35;
  }

  .explore-tab small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.4;
  }

  .explore-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .explore-photo img {
    aspect-ratio: 1.65;
  }

  .explore-photo figcaption {
    margin-top: 9px;
    font-size: 9px;
  }

  .explore-panel-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .explore-panel-copy h3 {
    margin-bottom: 13px;
    font-size: 32px;
  }

  .explore-panel-copy > p:not(.eyebrow) {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.8;
  }

  .voices-layout,
  .participate-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .voices-lead {
    max-width: 370px;
  }

  .voices-lead .eyebrow {
    margin-bottom: 11px;
    font-size: 8px;
  }

  .voices-lead h3 {
    margin-bottom: 14px;
    font-size: 36px;
  }

  .voices-lead > p:not(.eyebrow) {
    margin-bottom: 19px;
    font-size: 12px;
    line-height: 1.8;
  }

  .voice-prompt {
    grid-template-columns: 28px minmax(0, 1fr) 44px;
    gap: 10px;
    min-height: 0;
    padding: 20px 0;
  }

  .voice-prompt h3 {
    font-size: 23px;
  }

  .voice-prompt div > p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.7;
  }

  .prompt-button {
    width: 44px;
    height: 44px;
  }

  .participate-intro h2 {
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.06;
  }

  .participate-intro > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.8;
  }

  .contribution-path {
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0 21px;
  }

  .path-icon {
    width: 32px;
    height: 32px;
  }

  .contribution-path h3 {
    font-size: 14px;
  }

  .contribution-path p,
  .faq-item > p {
    font-size: 11px;
    line-height: 1.75;
  }

  .faq-block > h3 {
    padding-top: 16px;
    font-size: 26px;
  }

  .faq-item summary {
    min-height: 54px;
    font-size: 11px;
  }

  .faq-item > p {
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-panel {
    animation: none;
  }
}
